import { Doc } from '../../../core';
import { DocInfo } from '../../types';
import { DocModel } from '../../../core/model';
import { IDocPayload, IDocProps, Execute } from './useDocumentFactory';
export interface InitializedDocument {
    doc: Doc;
    docInfo: DocInfo;
}
/** 从 Doc 实例提取响应式页面快照（与 layout 同步，供 docInfo ref 驱动 Vue） */
export declare function snapshotDocInfo(docInst?: Doc): DocInfo;
export declare function initializeDocumentEngine(props: IDocProps, payload: IDocPayload, result: Execute): Promise<InitializedDocument>;
/**
 * 设计态导入 docx：替换模型并完成子模型 scope、设计默认值、交互与未保存基线等收尾。
 */
export declare function finalizeDesignModelImport(doc: Doc, docModel: DocModel): Promise<void>;
