/**
 * Function loads a file from the given URL and returns
 * it as a File.
 *
 * @param urlString
 * @param fileName
 * @returns File
 */
export declare function dataURLToFile(urlString: string, fileName: string): File;
/**
 * Function takes a file and returns it as a base64 variant of the
 * file.
 *
 * @param File
 * @returns Promise<any> base64 file representation
 */
export declare function getBase64FromFile(file: File): Promise<any>;
/**
 * Function returns the file type of the given file.
 *
 * @param file File
 * @returns string file extension
 */
export declare function getFileExtensionFromFile(file: File): string;
/**
 * Function verifies whether a given file extension is
 * a supported image file type for the image compression.
 * Supported types are jpeg, jpg and png.
 *
 * @param fileExtension
 * @returns Boolean
 */
export declare function isImageFile(fileExtension: string): Boolean;
