import type { SpotlightMemoryEntry } from "@inupedia/spotlight-protocol"; import { type EmbeddingProvider } from "./embeddingProvider.js"; import type { SemanticLookupOptions, SemanticWriteResult } from "./memoryStoreTypes.js"; export interface MilvusSemanticMemoryStoreOptions { projectId: string; tenantId?: string; embeddingProvider?: EmbeddingProvider | null; } export declare function isMilvusEmbeddingReady(): boolean; export declare function validateMilvusEmbedding(embedding: number[] | null | undefined, dim?: number): boolean; /** L1 semantic recall in Milvus (Spotlight 独立 DB / collection,与 Yuxi kb_* 隔离). */ export declare class MilvusSemanticMemoryStore { private readonly projectId; private readonly tenantId; private readonly embeddingProvider; private readonly embeddingDim; private collectionReady; constructor(options: MilvusSemanticMemoryStoreOptions); static isAvailable(): boolean; private ensureCollection; private initCollection; put(entry: SpotlightMemoryEntry, embedding: number[]): Promise; putWithOptionalEmbedding(entry: SpotlightMemoryEntry): Promise; findSimilar(projectId: string, questionNorm: string, limit?: number, options?: SemanticLookupOptions): Promise>; private scoreMilvusHits; private findSimilarLexical; touch(entryId: string): Promise; listEntries(limit?: number): Promise; deleteEntry(entryId: string): Promise; deleteAll(projectId: string): Promise; count(projectId?: string): Promise; } //# sourceMappingURL=milvusSemanticStore.d.ts.map