import { CompressReturnType, ValidationResult } from './types';
declare class ImageUtils {
    static validate(file: File, maxFileSize: number, allowedMimeTypes: string[]): Promise<ValidationResult>;
    private static getMimeType;
    static compress(file: File, options?: {
        maxWidth?: number;
        quality?: number;
        format?: CompressReturnType;
    }): Promise<string | Blob>;
    static readFileAsDataURL(file: File): Promise<string>;
    static blobToBase64: (blob: Blob) => Promise<string>;
    static blobToFormData: (blob: Blob, fileName: string, mimeType: string) => FormData;
    static base64ToBlob: (base64: string, mimeType: string) => Blob;
    private static loadImage;
    private static getScaledDimensions;
}
export default ImageUtils;
//# sourceMappingURL=index.d.ts.map