export declare const handleImageCompression: (originalFile: File, filename?: string) => Promise<File>;
/**
 * Compresses image files (JPEG, PNG, WebP, BMP) for receipt/invoice upload.
 * PDF and other types (e.g. HEIC) are passed through unchanged.
 * Reduces size for faster upload and lighter rendering, similar to WhatsApp.
 */
export declare const compressImageForReceipt: (originalFile: File, originalName: string) => Promise<File>;
/**
 * Compress receipt/invoice files before upload: images are resized and compressed,
 * PDFs are re-rendered at lower quality. Unsupported types (e.g. HEIC) are left as-is.
 * Heavy libs (pdf-lib, pdfjs-dist) are loaded via dynamic import on first PDF upload.
 * Files are processed in parallel for better performance with multi-file uploads.
 */
export declare function compressReceiptFiles(fileDetails: Blob[], fileNames: string[]): Promise<{
    blobs: Blob[];
    names: string[];
}>;
