///
/**
* @returns mime type
* @prop fileNameOrIdLength: you can pass a string or a number, if you enter a string it will be the file name, if you enter a number it will generate a unique ID
*/
export declare const storeFileLocally: (dataurl: string, fileNameOrIdLength: string | number, filelocation?: string) => Promise;
export declare const deleteFile: (filename: string, filelocation?: string) => Promise;
/**
Parses a data URL and returns an object with the binary data and the file extension.
@param {string} file - The data URL
@returns {{ binaryString: Buffer, ext: string }} - An object with the binary data and the file extension
*/
export declare const parseDataUrl: (file: string) => {
binaryString: Buffer;
ext: any;
};