import type { ChunkId, DocumentId, KnowledgeBaseId, TenantId } from '../types/ids/index.js'; import type { Chunk, RAGOperationOptions, VectorSearchResult, VectorStore, VectorStoreQuery } from '../types/rag/index.js'; export declare class InMemoryVectorStore implements VectorStore { private chunks; upsert(chunks: Chunk[], options?: RAGOperationOptions): Promise; search(query: VectorStoreQuery, options?: RAGOperationOptions): Promise; delete(chunkIds: ChunkId[]): Promise; deleteByDocument(documentId: DocumentId): Promise; deleteByKnowledgeBase(knowledgeBaseId: KnowledgeBaseId, tenantId: TenantId): Promise; } export declare function cosineSimilarity(a: number[], b: number[]): number; //# sourceMappingURL=vector-store.d.ts.map