/** * 模型路径构建 */ export type ModelType = "detection" | "recognition" | "table" | "layout" | "formula" | "barcode"; export interface ModelPathSpec { base: string; type: ModelType; name: string; ext: ".json" | ".onnx"; language?: string; } export declare function buildModelPath(spec: ModelPathSpec): string;