import { PropsWithChildren } from 'react';
import GrapesJS from 'grapesjs';
export interface GrapesjsReactProps {
    id: HTMLElement['id'];
    onInit?(editor?: GrapesJS.Editor): void;
    onDestroy?(): void;
}
export declare function GrapesjsReact(props: PropsWithChildren<GrapesjsReactProps> & Parameters<typeof GrapesJS.init>[0]): JSX.Element;
export default GrapesjsReact;
