export declare abstract class YtdlCore_Cache { abstract get(key: any): Promise; abstract set(key: any, value: any, options?: any): Promise; abstract has(key: string): Promise; abstract delete(key: string): Promise; abstract disable(): void; abstract initialization(): void; } export declare class CacheWithMap implements YtdlCore_Cache { private ttl; private cache; isDisabled: boolean; constructor(ttl?: number); get(key: string): Promise; set(key: string, value: any, { ttl }?: { ttl: number; }): Promise; has(key: string): Promise; delete(key: string): Promise; disable(): void; initialization(): void; }