import { PreprocessingOptions } from '../types'; /** * Enhances image quality for better OCR results */ export declare class ImageEnhancer { /** * Preprocess image for OCR * @param imagePath Path to image file or Buffer (or URI in React Native) * @param options Preprocessing options * @returns Processed image buffer (or original input in React Native) */ enhance(imagePath: string | Buffer, options?: PreprocessingOptions): Promise; /** * Auto-rotate image based on EXIF orientation */ autoRotate(imagePath: string | Buffer): Promise; /** * Detect and correct perspective distortion * Note: Basic implementation - advanced perspective correction would require * additional libraries or native processing */ correctPerspective(imagePath: string | Buffer): Promise; } //# sourceMappingURL=imageEnhancer.d.ts.map