export declare class ImageValidator { private static readonly SUPPORTED_MIME_TYPES; private static readonly SUPPORTED_EXTENSIONS; static validateMimeType(mimeType: string): void; static validateExtension(filename: string): void; static validateFileSize(buffer: Buffer, maxSizeInBytes?: number): void; static validateFile(buffer: Buffer, filename: string, mimeType?: string, maxSizeInBytes?: number): void; private static getFileExtension; }