/**
 * 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 { OutageRecord } from '../models';
/**
 * SLAApi - axios parameter creator
 * @export
 */
export declare const SLAApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * Check SLA config in a environment
     * @summary Check SLA config in env
     * @param {string} environmentName name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    checkSLAConfigInEnv: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Batch create or update cluster outage record
     * @summary Batch create or update cluster outage record
     * @param {string} environmentName name of the environment
     * @param {Array<OutageRecord>} outageRecord
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createOrUpdateClusterOutages: (environmentName: string, outageRecord: Array<OutageRecord>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * List outage record for environments
     * @summary List outage record for environments
     * @param {string} [environmentName] name of the environment, if not specified, return all environments
     * @param {string} [orgName] name of the organization
     * @param {string} [clusterID] id of the cluster
     * @param {boolean} [activeOnly] whether to return only active outage records
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listEnvironmentOutageRecord: (environmentName?: string, orgName?: string, clusterID?: string, activeOnly?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * SLAApi - functional programming interface
 * @export
 */
export declare const SLAApiFp: (configuration?: Configuration) => {
    /**
     * Check SLA config in a environment
     * @summary Check SLA config in env
     * @param {string} environmentName name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    checkSLAConfigInEnv(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
    /**
     * Batch create or update cluster outage record
     * @summary Batch create or update cluster outage record
     * @param {string} environmentName name of the environment
     * @param {Array<OutageRecord>} outageRecord
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createOrUpdateClusterOutages(environmentName: string, outageRecord: Array<OutageRecord>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OutageRecord>>>;
    /**
     * List outage record for environments
     * @summary List outage record for environments
     * @param {string} [environmentName] name of the environment, if not specified, return all environments
     * @param {string} [orgName] name of the organization
     * @param {string} [clusterID] id of the cluster
     * @param {boolean} [activeOnly] whether to return only active outage records
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listEnvironmentOutageRecord(environmentName?: string, orgName?: string, clusterID?: string, activeOnly?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<OutageRecord>>>;
};
/**
 * SLAApi - factory interface
 * @export
 */
export declare const SLAApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * Check SLA config in a environment
     * @summary Check SLA config in env
     * @param {SLAApiCheckSLAConfigInEnvRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    checkSLAConfigInEnv(requestParameters: SLAApiCheckSLAConfigInEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
    /**
     * Batch create or update cluster outage record
     * @summary Batch create or update cluster outage record
     * @param {SLAApiCreateOrUpdateClusterOutagesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createOrUpdateClusterOutages(requestParameters: SLAApiCreateOrUpdateClusterOutagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutageRecord>>;
    /**
     * List outage record for environments
     * @summary List outage record for environments
     * @param {SLAApiListEnvironmentOutageRecordRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listEnvironmentOutageRecord(requestParameters?: SLAApiListEnvironmentOutageRecordRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutageRecord>>;
};
/**
 * SLAApi - interface
 * @export
 * @interface SLAApi
 */
export interface SLAApiInterface {
    /**
     * Check SLA config in a environment
     * @summary Check SLA config in env
     * @param {SLAApiCheckSLAConfigInEnvRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SLAApiInterface
     */
    checkSLAConfigInEnv(requestParameters: SLAApiCheckSLAConfigInEnvRequest, options?: RawAxiosRequestConfig): AxiosPromise<boolean>;
    /**
     * Batch create or update cluster outage record
     * @summary Batch create or update cluster outage record
     * @param {SLAApiCreateOrUpdateClusterOutagesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SLAApiInterface
     */
    createOrUpdateClusterOutages(requestParameters: SLAApiCreateOrUpdateClusterOutagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutageRecord>>;
    /**
     * List outage record for environments
     * @summary List outage record for environments
     * @param {SLAApiListEnvironmentOutageRecordRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SLAApiInterface
     */
    listEnvironmentOutageRecord(requestParameters?: SLAApiListEnvironmentOutageRecordRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<OutageRecord>>;
}
/**
 * Request parameters for checkSLAConfigInEnv operation in SLAApi.
 * @export
 * @interface SLAApiCheckSLAConfigInEnvRequest
 */
export interface SLAApiCheckSLAConfigInEnvRequest {
    /**
     * name of the environment
     * @type {string}
     * @memberof SLAApiCheckSLAConfigInEnv
     */
    readonly environmentName: string;
}
/**
 * Request parameters for createOrUpdateClusterOutages operation in SLAApi.
 * @export
 * @interface SLAApiCreateOrUpdateClusterOutagesRequest
 */
export interface SLAApiCreateOrUpdateClusterOutagesRequest {
    /**
     * name of the environment
     * @type {string}
     * @memberof SLAApiCreateOrUpdateClusterOutages
     */
    readonly environmentName: string;
    /**
     *
     * @type {Array<OutageRecord>}
     * @memberof SLAApiCreateOrUpdateClusterOutages
     */
    readonly outageRecord: Array<OutageRecord>;
}
/**
 * Request parameters for listEnvironmentOutageRecord operation in SLAApi.
 * @export
 * @interface SLAApiListEnvironmentOutageRecordRequest
 */
export interface SLAApiListEnvironmentOutageRecordRequest {
    /**
     * name of the environment, if not specified, return all environments
     * @type {string}
     * @memberof SLAApiListEnvironmentOutageRecord
     */
    readonly environmentName?: string;
    /**
     * name of the organization
     * @type {string}
     * @memberof SLAApiListEnvironmentOutageRecord
     */
    readonly orgName?: string;
    /**
     * id of the cluster
     * @type {string}
     * @memberof SLAApiListEnvironmentOutageRecord
     */
    readonly clusterID?: string;
    /**
     * whether to return only active outage records
     * @type {boolean}
     * @memberof SLAApiListEnvironmentOutageRecord
     */
    readonly activeOnly?: boolean;
}
/**
 * SLAApi - object-oriented interface
 * @export
 * @class SLAApi
 * @extends {BaseAPI}
 */
export declare class SLAApi extends BaseAPI implements SLAApiInterface {
    /**
     * Check SLA config in a environment
     * @summary Check SLA config in env
     * @param {SLAApiCheckSLAConfigInEnvRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SLAApi
     */
    checkSLAConfigInEnv(requestParameters: SLAApiCheckSLAConfigInEnvRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any, {}>>;
    /**
     * Batch create or update cluster outage record
     * @summary Batch create or update cluster outage record
     * @param {SLAApiCreateOrUpdateClusterOutagesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SLAApi
     */
    createOrUpdateClusterOutages(requestParameters: SLAApiCreateOrUpdateClusterOutagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OutageRecord[], any, {}>>;
    /**
     * List outage record for environments
     * @summary List outage record for environments
     * @param {SLAApiListEnvironmentOutageRecordRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof SLAApi
     */
    listEnvironmentOutageRecord(requestParameters?: SLAApiListEnvironmentOutageRecordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OutageRecord[], any, {}>>;
}
//# sourceMappingURL=slaapi.d.ts.map