import { HttpBaseClient } from '../HttpClient'; import { Constructor, FetchOptions, HttpBaseReq, HttpBaseResponse, HttpIndexCreateReq, HttpIndexBaseReq, HttpIndexDescribeResponse } from '../types'; /** * * @param {Constructor} Base - The base class to be extended. * @returns {class} - The extended class with additional methods for collection management. * *@method createIndex - Creates an index. *@method dropIndex - Deletes an index. *@method describeIndex - Describes an index. *@method listIndexes - Lists all indexes. */ export declare function MilvusIndex>(Base: T): { new (...args: any[]): { readonly indexPrefix: string; createIndex(params: HttpIndexCreateReq, options?: FetchOptions): Promise>; dropIndex(params: HttpIndexBaseReq, options?: FetchOptions): Promise>; describeIndex(params: HttpIndexBaseReq, options?: FetchOptions): Promise; listIndexes(params: HttpBaseReq, 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;