import type { FormatEnum } from 'sharp'; export declare enum ImageFormat { AVIF = "avif", WEBP = "webp", JPEG = "jpeg", PNG = "png", SVG = "svg", GIF = "gif", UNKNOWN = "unknown" } export declare function formatToMimeType(format: ImageFormat): string | undefined; export declare function mimeTypeToFormat(mimeType: string): ImageFormat; export declare function formatToExtension(format: ImageFormat): string; export declare function extensionToFormat(ext: string): ImageFormat; export declare function fileNameToFormat(fileName: string): ImageFormat; export declare function sharpFormatToImageFormat(format?: keyof FormatEnum): ImageFormat;