/**
 * 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 { AlertRule } from '../models';
import type { AlertRuleList } from '../models';
import type { RestoreOrgAlertRuleToDefault200Response } from '../models';
/**
 * AlertRuleApi - axios parameter creator
 * @export
 */
export declare const AlertRuleApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Create alert rule
     * @param {string} orgName name of the Org
     * @param {AlertRule} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createAlertRule: (orgName: string, body: AlertRule, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary Delete alert rule
     * @param {string} orgName name of the Org
     * @param {string} alertName id of the alert rules
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteAlertRule: (orgName: string, alertName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @param {string} orgName name of the Org
     * @param {string} alertName name of the alert
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getAlertRule: (orgName: string, alertName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary List alert rules
     * @param {string} orgName name of the Org
     * @param {boolean} [disabled] disabled status
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listAlertRules: (orgName: string, disabled?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Restores the alert rule configuration for a specific organization to the system default settings.
     * @summary Restore organization\'s alert rule configuration to defaults
     * @param {string} orgName The name of the organization.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    restoreOrgAlertRuleToDefault: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary Update alert rule
     * @param {string} orgName name of the Org
     * @param {string} alertName id of the alert rules
     * @param {AlertRule} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateAlertRule: (orgName: string, alertName: string, body: AlertRule, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * AlertRuleApi - functional programming interface
 * @export
 */
export declare const AlertRuleApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Create alert rule
     * @param {string} orgName name of the Org
     * @param {AlertRule} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createAlertRule(orgName: string, body: AlertRule, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRule>>;
    /**
     *
     * @summary Delete alert rule
     * @param {string} orgName name of the Org
     * @param {string} alertName id of the alert rules
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteAlertRule(orgName: string, alertName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
    /**
     *
     * @param {string} orgName name of the Org
     * @param {string} alertName name of the alert
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getAlertRule(orgName: string, alertName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRule>>;
    /**
     *
     * @summary List alert rules
     * @param {string} orgName name of the Org
     * @param {boolean} [disabled] disabled status
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listAlertRules(orgName: string, disabled?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRuleList>>;
    /**
     * Restores the alert rule configuration for a specific organization to the system default settings.
     * @summary Restore organization\'s alert rule configuration to defaults
     * @param {string} orgName The name of the organization.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    restoreOrgAlertRuleToDefault(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RestoreOrgAlertRuleToDefault200Response>>;
    /**
     *
     * @summary Update alert rule
     * @param {string} orgName name of the Org
     * @param {string} alertName id of the alert rules
     * @param {AlertRule} body
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateAlertRule(orgName: string, alertName: string, body: AlertRule, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AlertRule>>;
};
/**
 * AlertRuleApi - factory interface
 * @export
 */
export declare const AlertRuleApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Create alert rule
     * @param {AlertRuleApiCreateAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createAlertRule(requestParameters: AlertRuleApiCreateAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
    /**
     *
     * @summary Delete alert rule
     * @param {AlertRuleApiDeleteAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteAlertRule(requestParameters: AlertRuleApiDeleteAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
    /**
     *
     * @param {AlertRuleApiGetAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getAlertRule(requestParameters: AlertRuleApiGetAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
    /**
     *
     * @summary List alert rules
     * @param {AlertRuleApiListAlertRulesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listAlertRules(requestParameters: AlertRuleApiListAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
    /**
     * Restores the alert rule configuration for a specific organization to the system default settings.
     * @summary Restore organization\'s alert rule configuration to defaults
     * @param {AlertRuleApiRestoreOrgAlertRuleToDefaultRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    restoreOrgAlertRuleToDefault(requestParameters: AlertRuleApiRestoreOrgAlertRuleToDefaultRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreOrgAlertRuleToDefault200Response>;
    /**
     *
     * @summary Update alert rule
     * @param {AlertRuleApiUpdateAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateAlertRule(requestParameters: AlertRuleApiUpdateAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
};
/**
 * AlertRuleApi - interface
 * @export
 * @interface AlertRuleApi
 */
export interface AlertRuleApiInterface {
    /**
     *
     * @summary Create alert rule
     * @param {AlertRuleApiCreateAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApiInterface
     */
    createAlertRule(requestParameters: AlertRuleApiCreateAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
    /**
     *
     * @summary Delete alert rule
     * @param {AlertRuleApiDeleteAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApiInterface
     */
    deleteAlertRule(requestParameters: AlertRuleApiDeleteAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>;
    /**
     *
     * @param {AlertRuleApiGetAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApiInterface
     */
    getAlertRule(requestParameters: AlertRuleApiGetAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
    /**
     *
     * @summary List alert rules
     * @param {AlertRuleApiListAlertRulesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApiInterface
     */
    listAlertRules(requestParameters: AlertRuleApiListAlertRulesRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRuleList>;
    /**
     * Restores the alert rule configuration for a specific organization to the system default settings.
     * @summary Restore organization\'s alert rule configuration to defaults
     * @param {AlertRuleApiRestoreOrgAlertRuleToDefaultRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApiInterface
     */
    restoreOrgAlertRuleToDefault(requestParameters: AlertRuleApiRestoreOrgAlertRuleToDefaultRequest, options?: RawAxiosRequestConfig): AxiosPromise<RestoreOrgAlertRuleToDefault200Response>;
    /**
     *
     * @summary Update alert rule
     * @param {AlertRuleApiUpdateAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApiInterface
     */
    updateAlertRule(requestParameters: AlertRuleApiUpdateAlertRuleRequest, options?: RawAxiosRequestConfig): AxiosPromise<AlertRule>;
}
/**
 * Request parameters for createAlertRule operation in AlertRuleApi.
 * @export
 * @interface AlertRuleApiCreateAlertRuleRequest
 */
export interface AlertRuleApiCreateAlertRuleRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertRuleApiCreateAlertRule
     */
    readonly orgName: string;
    /**
     *
     * @type {AlertRule}
     * @memberof AlertRuleApiCreateAlertRule
     */
    readonly body: AlertRule;
}
/**
 * Request parameters for deleteAlertRule operation in AlertRuleApi.
 * @export
 * @interface AlertRuleApiDeleteAlertRuleRequest
 */
export interface AlertRuleApiDeleteAlertRuleRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertRuleApiDeleteAlertRule
     */
    readonly orgName: string;
    /**
     * id of the alert rules
     * @type {string}
     * @memberof AlertRuleApiDeleteAlertRule
     */
    readonly alertName: string;
}
/**
 * Request parameters for getAlertRule operation in AlertRuleApi.
 * @export
 * @interface AlertRuleApiGetAlertRuleRequest
 */
export interface AlertRuleApiGetAlertRuleRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertRuleApiGetAlertRule
     */
    readonly orgName: string;
    /**
     * name of the alert
     * @type {string}
     * @memberof AlertRuleApiGetAlertRule
     */
    readonly alertName: string;
}
/**
 * Request parameters for listAlertRules operation in AlertRuleApi.
 * @export
 * @interface AlertRuleApiListAlertRulesRequest
 */
export interface AlertRuleApiListAlertRulesRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertRuleApiListAlertRules
     */
    readonly orgName: string;
    /**
     * disabled status
     * @type {boolean}
     * @memberof AlertRuleApiListAlertRules
     */
    readonly disabled?: boolean;
}
/**
 * Request parameters for restoreOrgAlertRuleToDefault operation in AlertRuleApi.
 * @export
 * @interface AlertRuleApiRestoreOrgAlertRuleToDefaultRequest
 */
export interface AlertRuleApiRestoreOrgAlertRuleToDefaultRequest {
    /**
     * The name of the organization.
     * @type {string}
     * @memberof AlertRuleApiRestoreOrgAlertRuleToDefault
     */
    readonly orgName: string;
}
/**
 * Request parameters for updateAlertRule operation in AlertRuleApi.
 * @export
 * @interface AlertRuleApiUpdateAlertRuleRequest
 */
export interface AlertRuleApiUpdateAlertRuleRequest {
    /**
     * name of the Org
     * @type {string}
     * @memberof AlertRuleApiUpdateAlertRule
     */
    readonly orgName: string;
    /**
     * id of the alert rules
     * @type {string}
     * @memberof AlertRuleApiUpdateAlertRule
     */
    readonly alertName: string;
    /**
     *
     * @type {AlertRule}
     * @memberof AlertRuleApiUpdateAlertRule
     */
    readonly body: AlertRule;
}
/**
 * AlertRuleApi - object-oriented interface
 * @export
 * @class AlertRuleApi
 * @extends {BaseAPI}
 */
export declare class AlertRuleApi extends BaseAPI implements AlertRuleApiInterface {
    /**
     *
     * @summary Create alert rule
     * @param {AlertRuleApiCreateAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApi
     */
    createAlertRule(requestParameters: AlertRuleApiCreateAlertRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRule, any, {}>>;
    /**
     *
     * @summary Delete alert rule
     * @param {AlertRuleApiDeleteAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApi
     */
    deleteAlertRule(requestParameters: AlertRuleApiDeleteAlertRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
    /**
     *
     * @param {AlertRuleApiGetAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApi
     */
    getAlertRule(requestParameters: AlertRuleApiGetAlertRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRule, any, {}>>;
    /**
     *
     * @summary List alert rules
     * @param {AlertRuleApiListAlertRulesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApi
     */
    listAlertRules(requestParameters: AlertRuleApiListAlertRulesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRuleList, any, {}>>;
    /**
     * Restores the alert rule configuration for a specific organization to the system default settings.
     * @summary Restore organization\'s alert rule configuration to defaults
     * @param {AlertRuleApiRestoreOrgAlertRuleToDefaultRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApi
     */
    restoreOrgAlertRuleToDefault(requestParameters: AlertRuleApiRestoreOrgAlertRuleToDefaultRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RestoreOrgAlertRuleToDefault200Response, any, {}>>;
    /**
     *
     * @summary Update alert rule
     * @param {AlertRuleApiUpdateAlertRuleRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AlertRuleApi
     */
    updateAlertRule(requestParameters: AlertRuleApiUpdateAlertRuleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AlertRule, any, {}>>;
}
//# sourceMappingURL=alert-rule-api.d.ts.map