import { PageContentWithNavigation } from "../models/index.js";
import { ConfigInput, ItemConfig } from "./types/index.js";
export interface EditorState {
    height?: number;
    deviceWidth?: string;
    zoom: number;
    manipulateOverlayMode: 'insert' | 'reorder' | false;
    selectedBlock: number[] | null;
    initialized: boolean;
    isPreviewMode: boolean;
    content: PageContentWithNavigation;
    blocks: Array<ItemConfig>;
    subBlocks: Array<ItemConfig>;
    global: Array<ConfigInput>;
    preInsertBlockType: string | null;
    preReorderBlockPath: number[] | null;
}
export declare const initialStore: EditorState;
export declare const createPCEditorStore: (overrideInitialState?: Partial<EditorState> | undefined) => import("zustand").UseBoundStore<Omit<Omit<Omit<import("zustand").StoreApi<EditorState>, "subscribe"> & {
    subscribe: {
        (listener: (selectedState: EditorState, previousSelectedState: EditorState) => void): () => void;
        <U>(selector: (state: EditorState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
            equalityFn?: ((a: U, b: U) => boolean) | undefined;
            fireImmediately?: boolean;
        } | undefined): () => void;
    };
}, "setState"> & {
    setState<A extends string | {
        type: string;
    }>(partial: EditorState | Partial<EditorState> | ((state: EditorState) => EditorState | Partial<EditorState>), replace?: boolean | undefined, action?: A | undefined): void;
}, "persist"> & {
    persist: {
        setOptions: (options: Partial<import("zustand/middleware").PersistOptions<EditorState, EditorState>>) => void;
        clearStorage: () => void;
        rehydrate: () => Promise<void> | void;
        hasHydrated: () => boolean;
        onHydrate: (fn: (state: EditorState) => void) => () => void;
        onFinishHydration: (fn: (state: EditorState) => void) => () => void;
        getOptions: () => Partial<import("zustand/middleware").PersistOptions<EditorState, EditorState>>;
    };
}>;
