import { OCRResult } from '../types'; /** * OCR Engine using Tesseract.js */ export declare class OCREngine { private worker; private initialized; /** * Initialize the OCR engine with specified languages */ initialize(languages: string[]): Promise; /** * Recognize text from image * @param imageBuffer Image buffer, URI string, or base64 string */ recognize(imageBuffer: Buffer | string | any): Promise; /** * Detect the primary language in the text */ private detectLanguage; /** * Terminate the OCR worker */ terminate(): Promise; /** * Check if engine is initialized */ isInitialized(): boolean; } //# sourceMappingURL=engine.d.ts.map