import EventEmitter from 'eventemitter3'; export declare class AssetManager extends EventEmitter { private name; private basePath; private downloader; private queue; private storage; private manifest; constructor(name: string, basePath: string); init(): Promise; setManifest(path: string): Promise; enqueue(path: string): void; download(): Promise; downloadFromManifest(key: string): Promise; downloadFile(path: string): Promise; setBasePath(path: string): void; clearCache(): void; }