export default function useDownload(): {
    downloadFile: (url: string, name?: string) => Promise<void>;
};
