import type { OAuthAuthDetails } from "./types"; /** * Returns a cached auth snapshot when available, favoring unexpired tokens. */ export declare function resolveCachedAuth(auth: OAuthAuthDetails): OAuthAuthDetails; /** * Stores the latest auth snapshot keyed by refresh token. */ export declare function storeCachedAuth(auth: OAuthAuthDetails): void; /** * Clears cached auth globally or for a specific refresh token. */ export declare function clearCachedAuth(refresh?: string): void; /** * Caches a thinking signature for a given session and text. * Used for Claude models that require signed thinking blocks in multi-turn conversations. */ export declare function cacheSignature(sessionId: string, text: string, signature: string): void; /** * Retrieves a cached signature for a given session and text. * Returns undefined if not found or expired. */ export declare function getCachedSignature(sessionId: string, text: string): string | undefined; /** * Clears signature cache for a specific session or all sessions. */ export declare function clearSignatureCache(sessionId?: string): void; //# sourceMappingURL=cache.d.ts.map