/**
 * Admin API
 * The Admin API is used to manage the ApeCloud platform.
 *
 * The version of the OpenAPI document: 1.0.0
 * Contact: support@apecloud.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import { type RequestArgs, BaseAPI } from '../base';
import type { Account } from '../models';
import type { AccountListItem } from '../models';
/**
 * MongodbApi - axios parameter creator
 * @export
 */
export declare const MongodbApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * create an account in mongodb
     * @summary Create mongodb account
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the Cluster
     * @param {Account} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createMongoDBAccount: (orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * delete an account in mongodb
     * @summary Delete mongodb account
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the Cluster
     * @param {string} accountName name of the Cluster
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteMongoDBAccount: (orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * list accounts in mongodb
     * @summary List mongodb accounts
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the Cluster
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listMongoDBAccounts: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * MongodbApi - functional programming interface
 * @export
 */
export declare const MongodbApiFp: (configuration?: Configuration) => {
    /**
     * create an account in mongodb
     * @summary Create mongodb account
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the Cluster
     * @param {Account} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createMongoDBAccount(orgName: string, clusterName: string, body: Account, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
    /**
     * delete an account in mongodb
     * @summary Delete mongodb account
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the Cluster
     * @param {string} accountName name of the Cluster
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteMongoDBAccount(orgName: string, clusterName: string, accountName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     * list accounts in mongodb
     * @summary List mongodb accounts
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the Cluster
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listMongoDBAccounts(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AccountListItem>>>;
};
/**
 * MongodbApi - factory interface
 * @export
 */
export declare const MongodbApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * create an account in mongodb
     * @summary Create mongodb account
     * @param {MongodbApiCreateMongoDBAccountRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createMongoDBAccount(requestParameters: MongodbApiCreateMongoDBAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
    /**
     * delete an account in mongodb
     * @summary Delete mongodb account
     * @param {MongodbApiDeleteMongoDBAccountRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteMongoDBAccount(requestParameters: MongodbApiDeleteMongoDBAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * list accounts in mongodb
     * @summary List mongodb accounts
     * @param {MongodbApiListMongoDBAccountsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listMongoDBAccounts(requestParameters: MongodbApiListMongoDBAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
};
/**
 * MongodbApi - interface
 * @export
 * @interface MongodbApi
 */
export interface MongodbApiInterface {
    /**
     * create an account in mongodb
     * @summary Create mongodb account
     * @param {MongodbApiCreateMongoDBAccountRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof MongodbApiInterface
     */
    createMongoDBAccount(requestParameters: MongodbApiCreateMongoDBAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
    /**
     * delete an account in mongodb
     * @summary Delete mongodb account
     * @param {MongodbApiDeleteMongoDBAccountRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof MongodbApiInterface
     */
    deleteMongoDBAccount(requestParameters: MongodbApiDeleteMongoDBAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * list accounts in mongodb
     * @summary List mongodb accounts
     * @param {MongodbApiListMongoDBAccountsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof MongodbApiInterface
     */
    listMongoDBAccounts(requestParameters: MongodbApiListMongoDBAccountsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AccountListItem>>;
}
/**
 * Request parameters for createMongoDBAccount operation in MongodbApi.
 * @export
 * @interface MongodbApiCreateMongoDBAccountRequest
 */
export interface MongodbApiCreateMongoDBAccountRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof MongodbApiCreateMongoDBAccount
     */
    readonly orgName: string;
    /**
     * name of the Cluster
     * @type {string}
     * @memberof MongodbApiCreateMongoDBAccount
     */
    readonly clusterName: string;
    /**
     *
     * @type {Account}
     * @memberof MongodbApiCreateMongoDBAccount
     */
    readonly body: Account;
}
/**
 * Request parameters for deleteMongoDBAccount operation in MongodbApi.
 * @export
 * @interface MongodbApiDeleteMongoDBAccountRequest
 */
export interface MongodbApiDeleteMongoDBAccountRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof MongodbApiDeleteMongoDBAccount
     */
    readonly orgName: string;
    /**
     * name of the Cluster
     * @type {string}
     * @memberof MongodbApiDeleteMongoDBAccount
     */
    readonly clusterName: string;
    /**
     * name of the Cluster
     * @type {string}
     * @memberof MongodbApiDeleteMongoDBAccount
     */
    readonly accountName: string;
}
/**
 * Request parameters for listMongoDBAccounts operation in MongodbApi.
 * @export
 * @interface MongodbApiListMongoDBAccountsRequest
 */
export interface MongodbApiListMongoDBAccountsRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof MongodbApiListMongoDBAccounts
     */
    readonly orgName: string;
    /**
     * name of the Cluster
     * @type {string}
     * @memberof MongodbApiListMongoDBAccounts
     */
    readonly clusterName: string;
}
/**
 * MongodbApi - object-oriented interface
 * @export
 * @class MongodbApi
 * @extends {BaseAPI}
 */
export declare class MongodbApi extends BaseAPI implements MongodbApiInterface {
    /**
     * create an account in mongodb
     * @summary Create mongodb account
     * @param {MongodbApiCreateMongoDBAccountRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof MongodbApi
     */
    createMongoDBAccount(requestParameters: MongodbApiCreateMongoDBAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any, {}>>;
    /**
     * delete an account in mongodb
     * @summary Delete mongodb account
     * @param {MongodbApiDeleteMongoDBAccountRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof MongodbApi
     */
    deleteMongoDBAccount(requestParameters: MongodbApiDeleteMongoDBAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     * list accounts in mongodb
     * @summary List mongodb accounts
     * @param {MongodbApiListMongoDBAccountsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof MongodbApi
     */
    listMongoDBAccounts(requestParameters: MongodbApiListMongoDBAccountsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountListItem[], any, {}>>;
}
//# sourceMappingURL=mongodb-api.d.ts.map