import type { ZodSchema } from 'zod'; export type AiCacheKey = { promptKind: string; inputsDigest: string; provider: string; model: string; }; export type AiCacheEntry = { promptKind: string; inputsDigest: string; provider: string; model: string; createdAt: string; content: T; }; export declare function readAiCache(options: { cacheDir: string; key: AiCacheKey; schema: ZodSchema; }): Promise; export declare function writeAiCache(options: { cacheDir: string; key: AiCacheKey; content: T; }): Promise;