import { LayoutNode } from '../../view/base';
import { Doc } from '../../view/Doc';
/** 只读查询 API */
export interface QueryAPI {
    getWidgetByModelId(modelId: string): LayoutNode | undefined;
}
/** 布局相关受控API */
export interface LayoutAPI {
}
/** 综合服务对象 */
export interface EngineServices {
    query: QueryAPI;
    layout: LayoutAPI;
}
/** 对外受控的 Doc 基础能力 */
export interface PublicDoc {
    readonly id: string;
    readonly docInstance: Doc;
}
/** 最终对外类型 */
export type EnginePublic = PublicDoc & {
    services: EngineServices;
};
export interface DocInfo {
    pages: Doc['pages'];
    widgetMetaIds: string[];
    updateTick: number;
}
