/** * Saves a Blob as a file in the user's browser. * This function is only available in browsers that support the Blob API. * @param blob * @param fileName * */ declare function saveBlob(blob: Blob, fileName: string): void; /** * Triggers downloading a file from a given URL. * @param url * @param fileName */ declare function downloadFile(url: string, fileName: string): void; /** * Converts a File object to a Base64 string. * @param file The File object to convert. * @return A Promise that resolves to the Base64 string representation of the file. */ declare function convertFileToBase64(file: File): Promise; export { convertFileToBase64, downloadFile, saveBlob };