import type { DimpleLayoutCanvas, DimpleLayoutEditorOptions } from '../type';
export declare const useEditor: (hookOptions?: {
    onToJSON?: (data: any) => any;
    onFromJSON?: (data: any) => any;
}) => {
    init: (options: DimpleLayoutEditorOptions) => Promise<void>;
    rootContainerEl: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
    containerEl: import("vue").Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
    canvas: import("vue").Ref<DimpleLayoutCanvas | null | undefined, DimpleLayoutCanvas | null | undefined>;
};
