/**
 * KubeBlocks Cloud API
 * KubeBlocks Cloud API is a RESTful API for managing KubeBlocks Cloud resources.  The API is organized around REST.  Our API has predictable resource-oriented URLs, accepts `JSON-encoded` request bodies, returns `JSON-encoded` responses, and uses standard HTTP response codes, authentication, and verbs.  We use standard HTTP authentication and provide API keys to identify who you are. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth.
 *
 * 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 { TlsCert } from '../models';
import type { TlsRequest } from '../models';
/**
 * TlsApi - axios parameter creator
 * @export
 */
export declare const TlsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Get cluster TLS certificate
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the cluster
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getTLSCertificate: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary Enable or disable cluster TLS
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the cluster
     * @param {TlsRequest} body Enable TLS or not
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    tlsSwitcher: (orgName: string, clusterName: string, body: TlsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * TlsApi - functional programming interface
 * @export
 */
export declare const TlsApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Get cluster TLS certificate
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the cluster
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getTLSCertificate(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<TlsCert>>>;
    /**
     *
     * @summary Enable or disable cluster TLS
     * @param {string} orgName name of the Org
     * @param {string} clusterName name of the cluster
     * @param {TlsRequest} body Enable TLS or not
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    tlsSwitcher(orgName: string, clusterName: string, body: TlsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
};
/**
 * TlsApi - factory interface
 * @export
 */
export declare const TlsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Get cluster TLS certificate
     * @param {TlsApiGetTLSCertificateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getTLSCertificate(requestParameters: TlsApiGetTLSCertificateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TlsCert>>;
    /**
     *
     * @summary Enable or disable cluster TLS
     * @param {TlsApiTlsSwitcherRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    tlsSwitcher(requestParameters: TlsApiTlsSwitcherRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
};
/**
 * TlsApi - interface
 * @export
 * @interface TlsApi
 */
export interface TlsApiInterface {
    /**
     *
     * @summary Get cluster TLS certificate
     * @param {TlsApiGetTLSCertificateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TlsApiInterface
     */
    getTLSCertificate(requestParameters: TlsApiGetTLSCertificateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<TlsCert>>;
    /**
     *
     * @summary Enable or disable cluster TLS
     * @param {TlsApiTlsSwitcherRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TlsApiInterface
     */
    tlsSwitcher(requestParameters: TlsApiTlsSwitcherRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
}
/**
 * Request parameters for getTLSCertificate operation in TlsApi.
 * @export
 * @interface TlsApiGetTLSCertificateRequest
 */
export interface TlsApiGetTLSCertificateRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof TlsApiGetTLSCertificate
     */
    readonly orgName: string;
    /**
     * name of the cluster
     * @type {string}
     * @memberof TlsApiGetTLSCertificate
     */
    readonly clusterName: string;
}
/**
 * Request parameters for tlsSwitcher operation in TlsApi.
 * @export
 * @interface TlsApiTlsSwitcherRequest
 */
export interface TlsApiTlsSwitcherRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof TlsApiTlsSwitcher
     */
    readonly orgName: string;
    /**
     * name of the cluster
     * @type {string}
     * @memberof TlsApiTlsSwitcher
     */
    readonly clusterName: string;
    /**
     * Enable TLS or not
     * @type {TlsRequest}
     * @memberof TlsApiTlsSwitcher
     */
    readonly body: TlsRequest;
}
/**
 * TlsApi - object-oriented interface
 * @export
 * @class TlsApi
 * @extends {BaseAPI}
 */
export declare class TlsApi extends BaseAPI implements TlsApiInterface {
    /**
     *
     * @summary Get cluster TLS certificate
     * @param {TlsApiGetTLSCertificateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TlsApi
     */
    getTLSCertificate(requestParameters: TlsApiGetTLSCertificateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlsCert[], any, {}>>;
    /**
     *
     * @summary Enable or disable cluster TLS
     * @param {TlsApiTlsSwitcherRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof TlsApi
     */
    tlsSwitcher(requestParameters: TlsApiTlsSwitcherRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
}
//# sourceMappingURL=tls-api.d.ts.map