import type { ChatMessage, ConnectorResult } from "./types.js"; export declare const DEFAULT_CACHE_DIR: string; export declare class ResponseCache { private readonly opts; constructor(opts: { cacheDir: string; maxAgeDays: number; }); private cacheKey; private entryPath; private isExpired; get(model: string, messages: ChatMessage[]): Promise; set(model: string, messages: ChatMessage[], result: ConnectorResult): Promise; }