import type { Editor, ObjectAny } from 'grapesjs';
import { Dispatch, SetStateAction } from 'react';
import type { WithEditorEvents } from './types';
import { StudioLayouts } from './types/index';
export declare const STUDIO_CMP_MAP: Omit<Record<StudioLayouts, React.FC<any>>, 'custom'>;
export declare const getStudioComponents: (children: any) => (import("react/jsx-runtime").JSX.Element | null)[];
export declare const useEditorEvents: <T extends ObjectAny>(props: {
    localState: T;
    editor?: Editor | undefined;
    setLocalState: Dispatch<SetStateAction<T>>;
    editorEvents: Record<string, (props: {
        fromEvent: ObjectAny;
    } & import("./types").WithEditorState<T>) => void> | undefined;
}) => void;
