import type { RDAPResponse } from '../../shared/types'; import type { CacheOptions } from '../../shared/types/options'; export interface ICache { get(key: string): Promise; set(key: string, value: RDAPResponse, ttl?: number): Promise; delete(key: string): Promise; clear(): Promise; has(key: string): Promise; size(): Promise; } export declare class CacheManager implements ICache { private cache; private readonly ttl; private readonly enabled; constructor(options?: CacheOptions); get(key: string): Promise; set(key: string, value: RDAPResponse, ttl?: number): Promise; delete(key: string): Promise; clear(): Promise; has(key: string): Promise; size(): Promise; getStats(): Promise<{ size: number; enabled: boolean; ttl: number; }>; } //# sourceMappingURL=CacheManager.d.ts.map