import { IMedia } from "./types"; export declare const filterFilesByMaxSize: ({ files, maxSize, }: { files: FileList; maxSize: number; }) => any; export declare function getFileType(file: IMedia.FileData): string; export declare function compressImage({ file, ratio, maxImageSize, }: { file: File; ratio?: number; maxImageSize?: number; }): Promise; export declare function getFileExtension(filePath: string): string; export declare function getFileMetaData(file: File, filePath?: string): { url: string; name: string; type: string; size: number; path: string; extension: string; file: File; }; export declare function checkIsMobile(): boolean; export declare function isFile(file: unknown): file is File; export declare const handleA11yKeyDown: (callback: () => void) => (event: React.KeyboardEvent) => void;