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