import EventEmitter from 'eventemitter3'; import { Queue } from './queue'; import { AssetStorage } from './storage'; export declare class Downloader extends EventEmitter { private storage; private queue; private basePath; constructor(storage: AssetStorage, queue: Queue, basePath?: string); setBasePath(path: string): void; download(): Promise; downloadItem(path: string): Promise; }