import { ChannelOptions } from '@grpc/grpc-js'; import { BaseVectorStore, BaseNode, Metadata, MetadataFilters, VectorStoreQuery, VectorStoreQueryResult } from '@vectorstores/core'; import { MilvusClient, ClientConfig, DeleteReq } from '@zilliz/milvus2-sdk-node'; declare class MilvusVectorStore extends BaseVectorStore { storesText: boolean; isEmbeddingQuery?: boolean; private flatMetadata; private milvusClient; private collectionInitialized; private collectionName; private idKey; private contentKey; private metadataKey; private embeddingKey; constructor(init?: Partial<{ milvusClient: MilvusClient; }> & { params?: { configOrAddress: ClientConfig | string; ssl?: boolean; username?: string; password?: string; channelOptions?: ChannelOptions; }; collection?: string; idKey?: string; contentKey?: string; metadataKey?: string; embeddingKey?: string; }); client(): MilvusClient; private createCollection; private ensureCollection; add(nodes: BaseNode[]): Promise; /** * Deletes all nodes from the collection that belong to the given document. * @param refDocId Reference document ID - all nodes with this ref_doc_id will be deleted. * @param deleteOptions Additional delete options. */ delete(refDocId: string, deleteOptions?: Omit): Promise; toMilvusFilter(filters?: MetadataFilters): string | undefined; query(query: VectorStoreQuery, _options?: object): Promise; persist(): Promise; exists(refDocId: string): Promise; } export { MilvusVectorStore };