import { HttpBaseClient } from '../HttpClient'; import { Constructor, FetchOptions, HttpUserBaseReq, HttpUserCreateReq, HttpUserRoleReq, HttpUserUpdatePasswordReq, HttpBaseResponse } from '../types'; /** * * @param {Constructor} Base - The base class to be extended. * @returns {class} - The extended class with additional methods for collection management. * * @method createUser - Creates a new user in Milvus. * @method updateUserPassword - Updates the password of a user. * @method dropUser - Deletes a user from Milvus. * @method describeUser - Retrieves the description of a specific user. * @method listUsers - Lists all users in the Milvus cluster. * @method grantRole - Grants a role to a user. * @method revokeRole - Revokes a role from a user. */ export declare function User>(Base: T): { new (...args: any[]): { readonly userPrefix: string; createUser(params: HttpUserCreateReq, options?: FetchOptions): Promise>; updateUserPassword(params: HttpUserUpdatePasswordReq, options?: FetchOptions): Promise>; dropUser(param: HttpUserBaseReq, options?: FetchOptions): Promise>; describeUser(param: HttpUserBaseReq, options?: FetchOptions): Promise>; listUsers(options?: FetchOptions): Promise>; grantRoleToUser(params: HttpUserRoleReq, options?: FetchOptions): Promise>; revokeRoleFromUser(params: HttpUserRoleReq, 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;