/// import { EditableComponentProps } from '../components/EditableComponent'; export declare const EditorContext: import("react").Context<{ componentMappings?: { [key: string]: import("react").ComponentType; } | undefined; content?: any; isEditor?: boolean | undefined; renderArea?: ((props: T) => React.ReactElement) | undefined; renderComponent?: ((props: T_1) => React.ReactElement) | undefined; templateAnnotations?: Record | undefined; }>; export declare const useEditor: () => { componentMappings?: { [key: string]: import("react").ComponentType; } | undefined; content?: any; isEditor?: boolean | undefined; renderArea?: ((props: T) => React.ReactElement) | undefined; renderComponent?: ((props: T_1) => React.ReactElement) | undefined; templateAnnotations?: Record | undefined; };