/**
 * @description: base64 to blob
 */
export declare function dataURLtoBlob(base64Buf: string): Blob;
/**
 * img url to base64
 * @param url
 */
export declare function urlToBase64(url: string, mineType?: string): Promise<string>;
/**
 * File转Base64
 * @param file
 */
export declare function fileToBase64(file: Blob): Promise<unknown>;
/**
 * Base64转File
 * @param dataURL   {String}  base64
 * @param fileName	{String}  文件名
 * @param mimeType	{String}  [可选]文件类型，默认为base64中的类型
 * @returns {File}
 */
export declare function base64ToFile(dataURL: string, fileName: string, mimeType?: null): File;
/**
 * Blob转File
 * @param blob     {Blob}   blob
 * @param fileName {String} 文件名
 * @param mimeType {String} 文件类型
 * @return {File}
 */
export declare function blobToFile(blob: Blob, fileName: string, mimeType?: string): File;
