import { DownloadableFile } from '../types';
export type DownloadedFile = DownloadableFile & {
    progress: number;
    downloaded: boolean;
    blob?: Blob;
    promise: Promise<DownloadedFile>;
};
export declare function useFileDownloader(): {
    startDownload: (fileOrFiles: DownloadableFile | DownloadableFile[], filename?: string) => void;
    getProgressOf: (fileOrFiles: DownloadableFile | DownloadableFile[]) => {
        progress: number;
        isDownloading: boolean;
        tooltip: string;
        progressComponent: () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
            [key: string]: any;
        }>;
        indicatorComponent: object | (() => import('vue').VNode);
    };
    getSource: (file: DownloadableFile) => string;
};
