import { type Entity } from '@cortex/core'; /** * Canonical text representation of an entity for embedding. Used by both the ingest * pipeline (when storing vectors) and the backfill, so stored vectors and query * vectors live in the same embedding space. */ export declare function entityEmbeddingText(e: Pick): string; export interface VectorSearchResult { entityId: string; distance: number; text: string; } export interface VectorStoreOptions { dbPath?: string; dimensions?: number; } export declare class VectorStore { private db; private table; private dbPath; private dimensions; constructor(options?: VectorStoreOptions); initialize(): Promise; private ensureTable; addVectors(records: Array<{ entityId: string; vector: Float32Array; text: string; }>): Promise; search(queryVector: Float32Array, limit?: number): Promise; deleteByEntityId(entityId: string): Promise; count(): Promise; } //# sourceMappingURL=vector-store.d.ts.map