/** * Initiates a file download from a given Blob or File in modern browsers. * Automatically handles Safari compatibility and revokes the object URL after use. * * @param {Blob | File} data - The binary data to download. * @param {DownloadOptions} [options] - Optional configuration for the download. * @param {string} [options.name=""] - Suggested filename for the downloaded file. * @param {number} [options.timeout=500] - Delay before revoking the object URL (in milliseconds). * @returns {Promise} Resolves after the object URL is revoked; rejects if data is invalid. */ export declare const download: (data: downloadData, { name, timeout, }?: DownloadOptions) => Promise; export declare type downloadData = Blob | File; export declare type DownloadOptions = { name?: string; timeout?: number; }; export { }