/** * Image Domain - Utility Functions */ import { ImageFormat, ImageOrientation, ImageDimensions, ImageCropArea } from "../entities/ImageTypes"; export declare class ImageUtils { static getOrientation(width: number, height: number): ImageOrientation; static getAspectRatio(width: number, height: number): number; static fitToSize(width: number, height: number, maxWidth: number, maxHeight: number): ImageDimensions; static getThumbnailSize(width: number, height: number, thumbnailSize?: number): ImageDimensions; static isValidImageUri(uri: string): boolean; static getFormatFromUri(uri: string): ImageFormat | null; static getExtensionFromFormat(format: ImageFormat): string; static getSquareCrop(width: number, height: number): ImageCropArea; static formatFileSize(bytes: number): string; static needsCompression(bytes: number, maxSizeMB?: number): boolean; }