import type Project from "./index";
import { HostSpec, Point } from 'vitis-lowcode-types';
export default class Host implements HostSpec {
    frameDocument?: Document | null;
    frameWindow?: Window | null;
    readonly project: Project;
    private renderer;
    constructor(project: Project);
    onAssetUpdated: (additionalPackageNames: string[]) => Promise<void>;
    mountContentFrame: (frame: HTMLIFrameElement | null) => Promise<void>;
    private setupEvent;
    private getNodeByDOMElem;
    private getSimulatorComponentAssets;
    /**
     * 注册组件包自带的设置器
     */
    private registerComponentSetters;
    /**
     * 收集低代码组件的实现
     * @param assetBundles
     */
    private collectComponentImpl;
    private createSimulator;
    getClosestNodeByLocation: (point: Point) => import("../node").default<import("vitis-lowcode-types").NodeSchema>;
    getNodeRect: (nodeId: string) => DOMRect;
    rerender: () => Promise<void>;
}
