import { ElementSketchGroup } from '../type';

interface EditorActive {
    type: 'editor' | 'element';
    id: string;
    fromPage?: boolean;
}
export interface EditorContext {
    active?: EditorActive;
    lockActive?: boolean;
    elementGroups?: ElementSketchGroup[];
    dragElementType?: string;
    insertingElement?: string;
    showOutline?: boolean;
    showGlobalVariable?: boolean;
    showGlobalStyleVar?: boolean;
    showGlobalClassName?: boolean;
    showEventFlow?: boolean;
    setActive: (v?: EditorActive) => void;
    setLock: (lockActive?: boolean) => void;
    setDragElementType: (dragElementType?: string) => void;
    setInsertingElement: (inserting?: string) => void;
    setShowOutline: React.Dispatch<React.SetStateAction<boolean>>;
    setShowGlobalVariable: React.Dispatch<React.SetStateAction<boolean>>;
    setShowGlobalStyleVar: React.Dispatch<React.SetStateAction<boolean>>;
    setShowGlobalClassName: React.Dispatch<React.SetStateAction<boolean>>;
    setShowEventFlow: React.Dispatch<React.SetStateAction<boolean>>;
}
export declare const editorContext: import('react').Context<EditorContext>;
export {};
