/**
 * 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 { DisasterRecoveryClusterList } from '../models';
import type { DisasterRecoveryCreate } from '../models';
import type { DisasterRecoveryTask } from '../models';
/**
 * DisasterRecoveryApi - axios parameter creator
 * @export
 */
export declare const DisasterRecoveryApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * Create a new disaster recovery instance for a database cluster.
     * @summary Create a new disaster recovery instance
     * @param {string} parentClusterID The ID of the parent database cluster
     * @param {string} orgName name of the org
     * @param {DisasterRecoveryCreate} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createDisasterRecovery: (parentClusterID: string, orgName: string, body: DisasterRecoveryCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieve a list of disaster recovery instances for a specific database cluster.
     * @summary List Disaster Recovery instances under the main cluster
     * @param {string} parentClusterID The ID of the parent database cluster
     * @param {string} orgName name of the org
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listDisasterRecovery: (parentClusterID: string, orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * DisasterRecoveryApi - functional programming interface
 * @export
 */
export declare const DisasterRecoveryApiFp: (configuration?: Configuration) => {
    /**
     * Create a new disaster recovery instance for a database cluster.
     * @summary Create a new disaster recovery instance
     * @param {string} parentClusterID The ID of the parent database cluster
     * @param {string} orgName name of the org
     * @param {DisasterRecoveryCreate} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createDisasterRecovery(parentClusterID: string, orgName: string, body: DisasterRecoveryCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisasterRecoveryTask>>;
    /**
     * Retrieve a list of disaster recovery instances for a specific database cluster.
     * @summary List Disaster Recovery instances under the main cluster
     * @param {string} parentClusterID The ID of the parent database cluster
     * @param {string} orgName name of the org
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listDisasterRecovery(parentClusterID: string, orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DisasterRecoveryClusterList>>;
};
/**
 * DisasterRecoveryApi - factory interface
 * @export
 */
export declare const DisasterRecoveryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * Create a new disaster recovery instance for a database cluster.
     * @summary Create a new disaster recovery instance
     * @param {DisasterRecoveryApiCreateDisasterRecoveryRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createDisasterRecovery(requestParameters: DisasterRecoveryApiCreateDisasterRecoveryRequest, options?: RawAxiosRequestConfig): AxiosPromise<DisasterRecoveryTask>;
    /**
     * Retrieve a list of disaster recovery instances for a specific database cluster.
     * @summary List Disaster Recovery instances under the main cluster
     * @param {DisasterRecoveryApiListDisasterRecoveryRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listDisasterRecovery(requestParameters: DisasterRecoveryApiListDisasterRecoveryRequest, options?: RawAxiosRequestConfig): AxiosPromise<DisasterRecoveryClusterList>;
};
/**
 * DisasterRecoveryApi - interface
 * @export
 * @interface DisasterRecoveryApi
 */
export interface DisasterRecoveryApiInterface {
    /**
     * Create a new disaster recovery instance for a database cluster.
     * @summary Create a new disaster recovery instance
     * @param {DisasterRecoveryApiCreateDisasterRecoveryRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DisasterRecoveryApiInterface
     */
    createDisasterRecovery(requestParameters: DisasterRecoveryApiCreateDisasterRecoveryRequest, options?: RawAxiosRequestConfig): AxiosPromise<DisasterRecoveryTask>;
    /**
     * Retrieve a list of disaster recovery instances for a specific database cluster.
     * @summary List Disaster Recovery instances under the main cluster
     * @param {DisasterRecoveryApiListDisasterRecoveryRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DisasterRecoveryApiInterface
     */
    listDisasterRecovery(requestParameters: DisasterRecoveryApiListDisasterRecoveryRequest, options?: RawAxiosRequestConfig): AxiosPromise<DisasterRecoveryClusterList>;
}
/**
 * Request parameters for createDisasterRecovery operation in DisasterRecoveryApi.
 * @export
 * @interface DisasterRecoveryApiCreateDisasterRecoveryRequest
 */
export interface DisasterRecoveryApiCreateDisasterRecoveryRequest {
    /**
     * The ID of the parent database cluster
     * @type {string}
     * @memberof DisasterRecoveryApiCreateDisasterRecovery
     */
    readonly parentClusterID: string;
    /**
     * name of the org
     * @type {string}
     * @memberof DisasterRecoveryApiCreateDisasterRecovery
     */
    readonly orgName: string;
    /**
     *
     * @type {DisasterRecoveryCreate}
     * @memberof DisasterRecoveryApiCreateDisasterRecovery
     */
    readonly body: DisasterRecoveryCreate;
}
/**
 * Request parameters for listDisasterRecovery operation in DisasterRecoveryApi.
 * @export
 * @interface DisasterRecoveryApiListDisasterRecoveryRequest
 */
export interface DisasterRecoveryApiListDisasterRecoveryRequest {
    /**
     * The ID of the parent database cluster
     * @type {string}
     * @memberof DisasterRecoveryApiListDisasterRecovery
     */
    readonly parentClusterID: string;
    /**
     * name of the org
     * @type {string}
     * @memberof DisasterRecoveryApiListDisasterRecovery
     */
    readonly orgName: string;
}
/**
 * DisasterRecoveryApi - object-oriented interface
 * @export
 * @class DisasterRecoveryApi
 * @extends {BaseAPI}
 */
export declare class DisasterRecoveryApi extends BaseAPI implements DisasterRecoveryApiInterface {
    /**
     * Create a new disaster recovery instance for a database cluster.
     * @summary Create a new disaster recovery instance
     * @param {DisasterRecoveryApiCreateDisasterRecoveryRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DisasterRecoveryApi
     */
    createDisasterRecovery(requestParameters: DisasterRecoveryApiCreateDisasterRecoveryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DisasterRecoveryTask, any, {}>>;
    /**
     * Retrieve a list of disaster recovery instances for a specific database cluster.
     * @summary List Disaster Recovery instances under the main cluster
     * @param {DisasterRecoveryApiListDisasterRecoveryRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DisasterRecoveryApi
     */
    listDisasterRecovery(requestParameters: DisasterRecoveryApiListDisasterRecoveryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DisasterRecoveryClusterList, any, {}>>;
}
//# sourceMappingURL=disaster-recovery-api.d.ts.map