import type { ParsedOfficeFile } from '../preview'; import { type OfficeDocumentSession } from '../session'; import type { OfficeFileViewerParseSession } from './internalTypes'; import type { OfficeParseOptions, OfficeParseSession } from './types'; /** 解析前通过可选的实例级注册表选择外部插件;未配置时返回 undefined。 */ export declare function resolveOfficePlugin(file: File, options: OfficeParseOptions, signal?: AbortSignal): Promise; createSource?: import("../../..").OfficeSourceFactory | undefined; dispose?(runtime: import("../../..").OfficeDocumentRuntime): void | Promise; }> | undefined>; /** 创建单文件解析会话,统一管理运行时、进度、取消和结果资源。 */ export declare function createOfficeParseSession(file: File, options?: OfficeParseOptions): OfficeParseSession; /** 创建仅供 OfficeFileViewer 使用的渐进解析会话。 */ export declare function createOfficeFileViewerParseSession(file: File, options?: OfficeParseOptions, documentSession?: OfficeDocumentSession): OfficeFileViewerParseSession;