import type { DragAndDrop } from '@worldprinter/lowcode-layout';
import type { AssetPackage, CPageDataType } from '@worldprinter/lowcode-model';
import type { RenderInstance } from '@worldprinter/lowcode-render';
/**
 * TODO 注释 CSS 导入替换其他方式
 * import '@worldprinter/lowcode-layout/dist/style.css';
 */
import type { CPlugin } from '../../core/pluginManager';
import { Designer } from './view';
export declare const DesignerPlugin: CPlugin;
export type DesignerExports = {
    reload: (params?: {
        assets?: AssetPackage[];
    }) => void;
    getInstance: () => Designer;
    getDnd: () => DragAndDrop;
    selectNode: (nodeId: string) => void;
    getSelectedNodeId: () => string | undefined;
    updatePage: (page: CPageDataType) => void;
    getComponentInstances: (id: string) => RenderInstance[];
    getDynamicComponentInstances: (id: string) => RenderInstance;
};
