/** * This will add the necessary query param to the url * to make the browser download the file instead of opening it. * * You can also override the name of the file by passing the name param. */ export declare function getDownloadUrl(url: string, name?: string): string; /** * This will format the file size to a human-readable format. * * @example 1024 => 1 KB */ export declare function formatFileSize(bytes?: number): string; //# sourceMappingURL=index.d.ts.map