export declare const IMAGE_EXTENSIONS: Set; export declare const PDF_EXTENSIONS: Set; export declare const TEXT_EXTENSIONS: Set; export declare function isImageFile(filePath: string): boolean; export declare function isPdfFile(filePath: string): boolean; export declare function isTextFile(filePath: string): boolean; export interface OllamaGenerateResponse { model: string; response: string; done: boolean; error?: string; } export interface NativeOcrResponse { markdown_result?: string; md_results?: string; error?: string; } export interface OcrRequestOptions { timeoutMs?: number; retries?: number; } export interface PdfOcrOptions extends OcrRequestOptions { continueOnPageError?: boolean; renderPdf?: (pdfPath: string) => Promise>; } export declare function callGlmOcrBase64(base64Image: string, prompt: string, ollamaHost: string, model: string, opts?: OcrRequestOptions): Promise; export declare function callGlmOcr(imagePath: string, prompt: string, ollamaHost: string, model: string, opts?: OcrRequestOptions): Promise; export declare function processPdfOllama(pdfPath: string, prompt: string, ollamaHost: string, model: string, opts?: PdfOcrOptions): Promise; export declare function processNative(absFilePath: string, nativeHost: string, opts?: OcrRequestOptions): Promise; //# sourceMappingURL=ocr.d.ts.map