import { type MetadataFilter } from "../retrieval/filter.js"; import type { IndexMetadata, StoredChunk, VectorStoreProviderConfig } from "../types.js"; import type { IndexedChunk, VectorSearchHit, VectorStore } from "./base.js"; export declare class LanceDbVectorStore implements VectorStore { readonly namespace: string; private readonly storeDir; private readonly dbPath; private readonly metadataPath; private cachedCount; private db; constructor(storeDir: string, namespace: string); static create(config: VectorStoreProviderConfig, namespace: string): Promise; private ensureDb; load(): Promise; reset(): Promise; add(chunks: StoredChunk[]): Promise; search(embedding: number[], topK: number, filter?: MetadataFilter): Promise; count(): number; listChunks(): Promise; saveIndexMetadata(metadata: IndexMetadata): Promise; readIndexMetadata(): Promise; } /** SQL predicate for a chunk filter; fields are the flat columns written by add(). */ export declare function lanceWhere(filter: MetadataFilter): string;