import { DownloaderBase, DownloadEventData, DownloadOptions, StatusCode } from './downloader.common'; export { DownloadEventData, DownloadOptions, StatusCode, DownloadEventError, ProgressEventData } from './downloader.common'; export const PROGRESS_EVENT = 'progress'; export const STATUS_EVENT = 'status'; export declare class Downloader extends DownloaderBase { constructor(); public static init(): void; public static setTimeout(timeout: number): void; createDownload(options: DownloadOptions): string; getStatus(id: string): StatusCode; start(id: string, progress?: Function): Promise; resume(id: string): void; cancel(id: string): void; pause(id: string): void; getPath(id: string): string; }