/**
 * KubeBlocks Cloud Internal API
 * The Internal API is using for interaction of ApeCloud platform microservices.
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * 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 { HttpBody } from '../models';
/**
 * EnvironmentApi - axios parameter creator
 * @export
 */
export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Delete Environment
     * @param {string} environmentName name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEnvironment: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary Get environment kubeconfig
     * @param {string} environmentName name of the Environment
     * @param {string} [orgName] name of the Org
     * @param {string} [uid] the uid of the impersonating user
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getEnvironmentKubeconfigInternal: (environmentName: string, orgName?: string, uid?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * EnvironmentApi - functional programming interface
 * @export
 */
export declare const EnvironmentApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Delete Environment
     * @param {string} environmentName name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEnvironment(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     *
     * @summary Get environment kubeconfig
     * @param {string} environmentName name of the Environment
     * @param {string} [orgName] name of the Org
     * @param {string} [uid] the uid of the impersonating user
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getEnvironmentKubeconfigInternal(environmentName: string, orgName?: string, uid?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HttpBody>>;
};
/**
 * EnvironmentApi - factory interface
 * @export
 */
export declare const EnvironmentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Delete Environment
     * @param {EnvironmentApiDeleteEnvironmentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteEnvironment(requestParameters: EnvironmentApiDeleteEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary Get environment kubeconfig
     * @param {EnvironmentApiGetEnvironmentKubeconfigInternalRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getEnvironmentKubeconfigInternal(requestParameters: EnvironmentApiGetEnvironmentKubeconfigInternalRequest, options?: RawAxiosRequestConfig): AxiosPromise<HttpBody>;
};
/**
 * EnvironmentApi - interface
 * @export
 * @interface EnvironmentApi
 */
export interface EnvironmentApiInterface {
    /**
     *
     * @summary Delete Environment
     * @param {EnvironmentApiDeleteEnvironmentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EnvironmentApiInterface
     */
    deleteEnvironment(requestParameters: EnvironmentApiDeleteEnvironmentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary Get environment kubeconfig
     * @param {EnvironmentApiGetEnvironmentKubeconfigInternalRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EnvironmentApiInterface
     */
    getEnvironmentKubeconfigInternal(requestParameters: EnvironmentApiGetEnvironmentKubeconfigInternalRequest, options?: RawAxiosRequestConfig): AxiosPromise<HttpBody>;
}
/**
 * Request parameters for deleteEnvironment operation in EnvironmentApi.
 * @export
 * @interface EnvironmentApiDeleteEnvironmentRequest
 */
export interface EnvironmentApiDeleteEnvironmentRequest {
    /**
     * name of the environment
     * @type {string}
     * @memberof EnvironmentApiDeleteEnvironment
     */
    readonly environmentName: string;
}
/**
 * Request parameters for getEnvironmentKubeconfigInternal operation in EnvironmentApi.
 * @export
 * @interface EnvironmentApiGetEnvironmentKubeconfigInternalRequest
 */
export interface EnvironmentApiGetEnvironmentKubeconfigInternalRequest {
    /**
     * name of the Environment
     * @type {string}
     * @memberof EnvironmentApiGetEnvironmentKubeconfigInternal
     */
    readonly environmentName: string;
    /**
     * name of the Org
     * @type {string}
     * @memberof EnvironmentApiGetEnvironmentKubeconfigInternal
     */
    readonly orgName?: string;
    /**
     * the uid of the impersonating user
     * @type {string}
     * @memberof EnvironmentApiGetEnvironmentKubeconfigInternal
     */
    readonly uid?: string;
}
/**
 * EnvironmentApi - object-oriented interface
 * @export
 * @class EnvironmentApi
 * @extends {BaseAPI}
 */
export declare class EnvironmentApi extends BaseAPI implements EnvironmentApiInterface {
    /**
     *
     * @summary Delete Environment
     * @param {EnvironmentApiDeleteEnvironmentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EnvironmentApi
     */
    deleteEnvironment(requestParameters: EnvironmentApiDeleteEnvironmentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     *
     * @summary Get environment kubeconfig
     * @param {EnvironmentApiGetEnvironmentKubeconfigInternalRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof EnvironmentApi
     */
    getEnvironmentKubeconfigInternal(requestParameters: EnvironmentApiGetEnvironmentKubeconfigInternalRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HttpBody, any, {}>>;
}
//# sourceMappingURL=environment-api.d.ts.map