import { IBaseSpace } from '../../models';
export type ISpaceState = {
    spaces: IBaseSpace[];
};
export type SpaceState = ISpaceState & {
    updateSpaces: (spaces: IBaseSpace[]) => void;
};
export declare const spaceStore: import("zustand").StoreApi<SpaceState>;
export declare function useSpaceStore(): SpaceState;
export declare function useSpaceStore<T>(selector: (state: SpaceState) => T): T;
export default useSpaceStore;
