import { AsyncComponentLoader } from 'vue'; type TComponentConfigSimple = (mode: string) => AsyncComponentLoader; interface IComponentConfig { component: TComponentConfigSimple; layout?: boolean; page?: boolean; } type TComponentConfig = IComponentConfig | TComponentConfigSimple; type TComponentsConfig = Record; export interface IDRenderConfig { components: TComponentsConfig; plugins: TComponentsConfig[]; } /** * 贯穿整个数据渲染的单例对象 */ export declare class DRender { static instance: DRender | null; constructor(); defaultComponentConfig: {}; componentDictionary: {}; layoutTypeList: string[]; pageTypeList: string[]; init(): void; setConfig(renderConfig?: IDRenderConfig): void; setCustomComponents(customComponentsConfig: TComponentsConfig): void; getComponent(type: string, append?: string): any; isLayoutType(type: string): boolean; isPageType(type: string): boolean; } export declare const defineDRenderConfig: (val: IDRenderConfig) => IDRenderConfig; type TComponentsPlugin = Record; export declare const insertConfig: (plugin: TComponentsConfig, componentPlugin: TComponentsPlugin, componentMode: string) => TComponentsConfig; export {};