import type { CustomComponentMetaSchema, SetterComponent } from '@mo-fang/types';
import { ReactRenderer } from '../react';
import type { RendererInterface, RuntimeInterface } from '../types';
export declare class Runtime implements RuntimeInterface {
    version: string | undefined;
    renderers: Array<RendererInterface>;
    /**
     * 自定义组件数据
     */
    customComponents: Array<{
        meta: CustomComponentMetaSchema;
        component?: SetterComponent['component'];
    }>;
    constructor();
    /**
     * 注册组件
     */
    registerComponent: (meta: CustomComponentMetaSchema, component?: SetterComponent['component']) => void;
    /**
     * 创建一个渲染器
     */
    createRenderer: (uuid: string) => ReactRenderer;
    /**
     * 清理卸载的渲染器
     *
     * @param disposed
     */
    disposeRenderer: (disposed: RendererInterface) => void;
}
//# sourceMappingURL=runtime.d.ts.map