/**
 * Embedding Cache
 *
 * Stores pre-computed embeddings in SQLite to avoid re-embedding on every recall.
 * Self-migrating: creates the table on first use.
 */
/**
 * Get a cached embedding for a memory ID.
 * Returns null if not cached or DB unavailable.
 */
export declare function getCachedEmbedding(memoryId: number): Float32Array | null;
/**
 * Store a computed embedding in the cache.
 */
export declare function setCachedEmbedding(memoryId: number, embedding: Float32Array): void;
/**
 * Get embedding from cache, or compute + store if missing.
 * Returns null if both cache and computation fail.
 */
export declare function getOrComputeEmbedding(memoryId: number, text: string): Promise<Float32Array | null>;
