export declare const checkFileExtension: (file: File, extensions?: string[]) => Promise;