type DownloadSource = { type: 'url'; url: string; } | { type: 'content'; content: string; }; export declare const downloadFile: (source: DownloadSource, fileName: string) => void; /** @deprecated Use `downloadFile({ type: 'content', content }, fileName)` instead */ export declare const handleFileDownload: (fileContent: string, fileName: string) => void; /** @deprecated Use `downloadFile({ type: 'url', url }, fileName)` instead */ export declare const handleURLDownload: (url: string, fileName: string) => void; export {};