import { default as React } from 'react';
import { TWidgetVisible, Workbench } from './component/Workbench';
import { PluginManager } from './core/pluginManager';
import { Emitter } from '../node_modules/mitt';
import { AssetPackage, CMaterialType, CNode, CPage, CPageDataType, CRootNode } from '@chamn/model';
import { ComponentsType } from '@chamn/render';
import { AssetsPackageListManager } from './core/assetPackagesListManage';
import { EngineProps } from './type';
export declare class Engine extends React.Component<EngineProps> {
    static version: string;
    currentSelectNode: CNode | CRootNode | null;
    pluginManager: PluginManager;
    workbenchRef: React.RefObject<Workbench>;
    pageSchema: CPageDataType | undefined;
    pageModel: CPage;
    material: CMaterialType[] | undefined;
    emitter: Emitter<any>;
    assetsPackageListManager: AssetsPackageListManager;
    workbenchConfig?: EngineProps['workbenchConfig'];
    _oldHiddenWidgetConfig: {
        hiddenTopBar: boolean | undefined;
        hiddenLeftPanel: boolean | undefined;
        hiddenRightPanel: boolean | undefined;
    } | undefined;
    constructor(props: EngineProps);
    updateCurrentSelectNode(node: CNode | CRootNode | null): void;
    componentDidMount(): Promise<void>;
    getActiveNode(): CNode | CRootNode | null;
    updatePage: (page: CPageDataType) => void;
    updateMaterials: (materials: CMaterialType[], assetPackagesList: AssetPackage[], options?: {
        formatComponents?: (componentMap: ComponentsType) => ComponentsType;
    }) => Promise<void>;
    refresh: () => Promise<void>;
    getWorkbench: () => Workbench | null;
    /** return i18n object */
    getI18n(): import('./i18n/index').CustomI18n;
    /** 进入预览模式 */
    preview(): Promise<void>;
    existPreview(): Promise<void>;
    hiddenWidget(config: Partial<TWidgetVisible>): void;
    render(): import("react/jsx-runtime").JSX.Element;
}
export * as plugins from './plugins';
export * from './plugins';
export * from './component';
export * from '@chamn/layout';
export * from './material/innerMaterial';
export * from './component/CustomSchemaForm/components/Setters/type';
export * from './utils/index';
/** 注册自定义 setter */
export { registerCustomSetter } from './component/CustomSchemaForm/components/Form';
export * from './type';
export * from './core/pluginManager';
export * from './core/assetPackagesListManage';
