import type { CacheConfig, ResponseFormat } from "../types/driver"; export declare class ResponseCache { private store; private config; private maxSize; private cleanupTimer; constructor(config?: CacheConfig); get enabled(): boolean; buildKey(method: string, url: string, payload?: Record): string; get(key: string): ResponseFormat | null; set(key: string, data: ResponseFormat): void; shouldCache(method: string): boolean; clear(): void; size(): number; /** Remove all expired entries */ private evictExpired; /** Stop the periodic cleanup timer */ destroy(): void; }