///
import type { Editor } from 'grapesjs';
import type { CommonStudioLayoutConfigProps } from './types';
import type { StudioLayoutCustomConfig } from './types/StudioCustomSchema';
interface CustomLayoutRenderFnProps {
editor?: Editor;
addEl: (el: HTMLElement) => void;
removeEl: (el: HTMLElement) => void;
}
type CustomLayoutRenderFn = (props: CustomLayoutRenderFnProps) => undefined | string | HTMLElement | (() => void);
export interface CustomLayoutComponentBaseProps {
editor: Editor;
}
export interface StudioLayoutCustomConfigProps extends CommonStudioLayoutConfigProps, StudioLayoutCustomConfig> {
}
export interface StudioCustomLayoutProps extends Omit {
component?: React.ComponentType;
componentProps?: Omit;
style?: React.CSSProperties;
render?: CustomLayoutRenderFn;
}
export declare const StudioCustomLayout: import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
declare const _default: import("react").MemoExoticComponent & import("react").RefAttributes, "ref"> & import("react").RefAttributes>>;
export default _default;