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 QdrantVectorStore implements VectorStore { readonly namespace: string; private readonly url; private readonly apiKey?; private readonly collectionName; /** * True when `indexName` is set: several namespaces may then live in one * collection, so every operation must be scoped to this namespace instead * of touching the whole collection. */ private readonly shared; private readonly metadataId; private cachedCount; constructor(config: VectorStoreProviderConfig, namespace: string); private get namespaceFilter(); private get headers(); load(): Promise; reset(): Promise; private ensureCollection; add(chunks: StoredChunk[]): Promise; search(embedding: number[], topK: number, filter?: MetadataFilter): Promise; count(): number; listChunks(): Promise; saveIndexMetadata(metadata: IndexMetadata): Promise; readIndexMetadata(): Promise; } /** Qdrant payload conditions for a chunk filter; chunk metadata lives under `metadata`. */ export declare function qdrantConditions(filter: MetadataFilter): object[];