export declare function checkFileType(file: File, accepts: string[]): boolean; export declare function checkImgType(file: File): boolean; export declare function isImgTypeByName(name: string): boolean; export declare function getBase64WithFile(file: File): Promise<{ result: string; file: File; }>;