import type { SpotlightMemoryEntry } from "@inupedia/spotlight-protocol"; import type { PackMemoryPaths } from "./paths.js"; import type { SemanticLookupOptions, SemanticWriteResult } from "./memoryStoreTypes.js"; import { type EmbeddingProvider } from "./embeddingProvider.js"; export interface SemanticMemoryStoreOptions { paths: PackMemoryPaths; embeddingProvider?: EmbeddingProvider | null; } /** L1 semantic cache backed by SQLite; BM25/bigram fallback, optional embeddings. */ export declare class SemanticMemoryStore { private readonly db; private readonly embeddingProvider; constructor(options: SemanticMemoryStoreOptions); put(entry: SpotlightMemoryEntry, embedding?: number[] | null): void; putWithOptionalEmbedding(entry: SpotlightMemoryEntry): Promise; findSimilar(projectId: string, questionNorm: string, limit?: number, options?: SemanticLookupOptions): Promise>; touch(entryId: string): void; listEntries(limit?: number): Promise; deleteEntry(entryId: string): Promise; deleteAll(projectId: string): Promise; count(projectId?: string): Promise; } //# sourceMappingURL=semanticStore.d.ts.map