import type { EmbedKeyv } from './types.js'; /** Compute cache key: sha256hex(text):model */ export declare function embed_cache_key(text: string, model: string): string; /** Configure the embed cache. Call this once during initialization. */ export declare function configure_embed_cache(opts: { max_size?: number; keyv?: EmbedKeyv; }): void; /** Look up a cached vector. Returns undefined on cache miss. */ export declare function embed_cache_get(text: string, model: string): Promise; /** Store a vector in the cache. Evicts oldest entry if at max_size (in-memory only). */ export declare function embed_cache_set(text: string, model: string, vector: number[]): Promise; /** Test helper — resets all state to defaults */ export declare function reset_embed_cache_for_test(): void; //# sourceMappingURL=embed_cache.d.ts.map