import { type CacheMessage } from "../../utils/index"; export declare function extractSystemPrompt(messages: CacheMessage[]): string | null; export declare function generateConfigHash(systemPrompt: string | null, tools?: unknown): string; export declare function generateCacheKey(messages: CacheMessage[]): string; export declare function getCacheFilePath(modelId: string, configHash: string, cacheKey: string): Promise; export declare function findMatchingCache(modelId: string, configHash: string, currentHistory: CacheMessage[]): Promise<{ cacheKey: string; cachePath: string; } | null>; export declare function getCurrentCacheInfo(modelId: string, configHash: string, currentHistory: CacheMessage[]): Promise<{ cacheKey: string; cachePath: string; }>; export declare function renameCacheFile(oldPath: string, newPath: string): Promise; export declare function deleteCache(options: { all: true; } | { kvCacheKey: string; modelId?: string; }): Promise; //# sourceMappingURL=kv-cache-utils.d.ts.map