import { HttpBaseClient } from '../HttpClient'; import { Constructor, HttpVectorGetReq, HttpVectorInsertReq, HttpVectorInsertResponse, HttpVectorQueryReq, HttpVectorQueryResponse, HttpVectorSearchReq, HttpVectorDeleteReq, HttpVectorSearchResponse, HttpBaseResponse, FetchOptions, HttpVectorUpsertResponse, HttpVectorHybridSearchReq } from '../types'; /** * Vector is a mixin function that extends the functionality of a base class. * It provides methods to interact with vectors in a Milvus cluster. * * @param {Constructor} Base - The base class to be extended. * @returns {class} - The extended class with additional methods for vector management. * * @method get - Retrieves a specific vector from Milvus. * @method insert - Inserts a new vector into Milvus. * @method upsert - Inserts a new vector into Milvus, or updates it if it already exists. * @method query - Queries for vectors in Milvus. * @method search - Searches for vectors in Milvus. * @method delete - Deletes a specific vector from Milvus. */ export declare function Vector>(Base: T): { new (...args: any[]): { readonly vectorPrefix: string; get(params: HttpVectorGetReq, options?: FetchOptions): Promise; insert(data: HttpVectorInsertReq, options?: FetchOptions): Promise; upsert(data: HttpVectorInsertReq, options?: FetchOptions): Promise; query(data: HttpVectorQueryReq, options?: FetchOptions): Promise; search(data: HttpVectorSearchReq, options?: FetchOptions): Promise; hybridSearch(data: HttpVectorHybridSearchReq, options?: FetchOptions): Promise; delete(data: HttpVectorDeleteReq, options?: FetchOptions): Promise; config: import("../types").HttpClientConfig; readonly baseURL: string; readonly authorization: string; readonly database: string; readonly timeout: number; readonly headers: { Authorization: string; Accept: string; ContentType: string; 'Accept-Type-Allow-Int64': string; }; readonly fetch: ((input: any, init?: any) => Promise) | typeof fetch; POST(url: string, data?: Record, options?: FetchOptions | undefined): Promise; GET(url: string, params?: Record, options?: FetchOptions | undefined): Promise; }; } & T;