import { Config, DownloadOptions } from './types'; export declare class CacheEntry { source: string; options: DownloadOptions | undefined; downloadPromise: Promise | undefined; pathResolved: boolean; noCache: boolean | undefined; maxAge: number | undefined; constructor(source: string, options: DownloadOptions | undefined, noCache?: boolean, maxAge?: number); getPath(): Promise; private download; } export default class CacheManager { static defaultConfig: Config; static config: Config; get config(): Config; set config(newConfig: Config); static entries: { [uri: string]: CacheEntry; }; static get(source: string, options: DownloadOptions | undefined, noCache?: boolean, maxAge?: number): CacheEntry; static clearCache(): Promise; static removeCacheEntry(entry: string): Promise; static getCacheSize(): Promise; static isImageCached(entry: string): Promise; static prefetch(source: string | string[], options?: DownloadOptions): void; static prefetchBlob(source: string, options?: DownloadOptions): Promise; static pruneCache(): Promise; } //# sourceMappingURL=CacheManager.d.ts.map