import { EditModeItem, EditorProps, ViewModeItem } from "../../../types/index.js";
export declare const useEditorState: ({ customSchema, onChange, providerProps, transformContent, deviceEmulationSettings, theme: editorTheme, ...rest }: EditorProps) => {
    context: {
        constructorProps: {
            content: import("../../../../index.js").PageContent;
            custom: import("../../../../index.js").CustomConfig | undefined;
        };
        providerProps: {
            isMobile: boolean;
            theme: import("../../../../index.js").Theme;
            blocks?: Array<import("../../../../constructor-items.js").BlockData>;
        };
        deviceEmulationSettings: import("../../../index.js").DeviceEmulationSettings | undefined;
        theme: import("../../../../index.js").Theme | undefined;
    };
    viewMode: ViewModeItem;
    editMode: EditModeItem;
    constructorTheme: import("../../../../index.js").Theme;
    onThemeUpdate: (newTheme: import("../../../../index.js").Theme) => void;
    onViewModeUpdate: (newViewMode: ViewModeItem) => void;
    onEditModeUpdate: (newEditMode: EditModeItem) => void;
    isCodeEditMode: boolean;
    isDesktopViewMode: boolean;
    content: import("../../../../index.js").PageContent;
    schema: import("json-schema").JSONSchema4;
    onContentUpdate: (newContent: import("../../../../index.js").PageContent) => void;
    code: string;
    codeValidator: import("../../../hooks/useCodeValidator.js").CodeValidator;
    codeFullscreeModeOn: boolean;
    onCodeFullscreeModeOnUpdate: (newCodeFullscreeModeOn: boolean) => void;
    activeBlockIndex: number;
    onSelect: (index: number) => void;
    isCodeOnlyMode: boolean;
    errorBoundaryState: number;
    outgoingProps: {
        content: import("../../../../index.js").PageContent;
        custom: import("../../../../index.js").CustomConfig | undefined;
        extensions: import("../../../../containers/PageConstructor/PageConstructor.js").PageConstructorExtension<{}, {}, {}>[];
        viewMode: ViewModeItem;
    };
    onAdd: (block: import("../../../../index.js").Block) => void;
    isFormEditMode: boolean;
};
