/** * Resize an image to fit within maxWidth x maxHeight while preserving aspect ratio. */ export declare function resizeImage(dataUrl: string, maxWidth?: number, maxHeight?: number, quality?: number, format?: string): Promise; /** * Rotate an image by the given degrees (90, 180, 270). */ export declare function rotateImage(dataUrl: string, degrees: number, format?: string, quality?: number): Promise; /** * Flip an image horizontally or vertically. */ export declare function flipImage(dataUrl: string, direction: 'horizontal' | 'vertical', format?: string, quality?: number): Promise; /** * Crop an image to the specified rectangle. */ export declare function cropImage(dataUrl: string, x: number, y: number, width: number, height: number, format?: string, quality?: number): Promise; /** * Adjust brightness of an image (-100 to 100). */ export declare function adjustBrightness(dataUrl: string, amount: number, format?: string, quality?: number): Promise; /** * Adjust contrast of an image (-100 to 100). */ export declare function adjustContrast(dataUrl: string, amount: number, format?: string, quality?: number): Promise; /** * Convert a data URL to a Blob. */ export declare function dataUrlToBlob(dataUrl: string): Blob; /** * Convert a File/Blob to a data URL. */ export declare function fileToDataUrl(file: File | Blob): Promise; //# sourceMappingURL=image-utils.d.ts.map