import { create } from 'zustand';

type GoldenLayoutState = {
  layoutConfig: any | null;
  setLayoutConfig: (config: any) => void;
};

export const useGoldenLayoutStore = create<GoldenLayoutState>((set) => ({
  layoutConfig: null,
  setLayoutConfig: (config) => set({ layoutConfig: config }),
}));
