/** * 模型路径统一构建工具 */ export interface ModelPathOptions { modelPath: string; modelType: "detection" | "recognition" | "layout" | "table" | "formula" | "barcode"; modelName: string; language?: string; extension: ".json" | ".onnx"; } /** * 构建统一的模型路径 * @param options 路径构建选项 * @returns 完整的模型路径 */ export declare function buildModelPath(options: ModelPathOptions): string; /** * 构建 Wasm 路径(用于 ONNX Runtime 等需要 Wasm 的库) */ export declare function buildWasmPath(modelPath: string, wasmFile: string): string;