export type OutputFormat = 'image/png' | 'image/jpeg' | 'image/webp'; export declare const EXT: Record; export declare function readDimensions(file: File): Promise<{ width: number; height: number; }>; export declare function renderToBlob(file: File, width: number, height: number, format: OutputFormat, quality: number, useQuality: boolean): Promise; export declare function formatBytes(bytes: number): string;