import { FileDownloadInfo, FileState, FileStatus } from './internal/model'; export declare const download: (url: string, options: { filename: string; ext: string; }, headers?: any) => Promise; export declare const abort: (id: string) => Promise<{ success: boolean; }>; export declare const state: (id: string) => Promise; export declare const retry: (id: string) => Promise<{ id: string; status: FileStatus; }>;