/**
 * 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 { EnvironmentResourceStats } from '../models';
import type { InstanceResourceStatsList } from '../models';
import type { NodeResourceStatsList } from '../models';
/**
 * ResourceStatsApi - axios parameter creator
 * @export
 */
export declare const ResourceStatsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * Triggers an immediate collection of resource statistics for the specified environment.
     * @summary Collect resource statistics of environment
     * @param {string} environmentName The name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    collectResourceStats: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of environment
     * @param {string} environmentName The name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getResourceStats: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Returns aggregated resource statistics for the specified node.
     * @summary Get resource statistics of instances
     * @param {string} environmentName The name of the environment
     * @param {string} nodeName The name of the node
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listInstancesResourceStats: (environmentName: string, nodeName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of nodes
     * @param {string} environmentName The name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listNodesResourceStats: (environmentName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * ResourceStatsApi - functional programming interface
 * @export
 */
export declare const ResourceStatsApiFp: (configuration?: Configuration) => {
    /**
     * Triggers an immediate collection of resource statistics for the specified environment.
     * @summary Collect resource statistics of environment
     * @param {string} environmentName The name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    collectResourceStats(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of environment
     * @param {string} environmentName The name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getResourceStats(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentResourceStats>>;
    /**
     * Returns aggregated resource statistics for the specified node.
     * @summary Get resource statistics of instances
     * @param {string} environmentName The name of the environment
     * @param {string} nodeName The name of the node
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listInstancesResourceStats(environmentName: string, nodeName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InstanceResourceStatsList>>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of nodes
     * @param {string} environmentName The name of the environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listNodesResourceStats(environmentName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NodeResourceStatsList>>;
};
/**
 * ResourceStatsApi - factory interface
 * @export
 */
export declare const ResourceStatsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * Triggers an immediate collection of resource statistics for the specified environment.
     * @summary Collect resource statistics of environment
     * @param {ResourceStatsApiCollectResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    collectResourceStats(requestParameters: ResourceStatsApiCollectResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of environment
     * @param {ResourceStatsApiGetResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getResourceStats(requestParameters: ResourceStatsApiGetResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentResourceStats>;
    /**
     * Returns aggregated resource statistics for the specified node.
     * @summary Get resource statistics of instances
     * @param {ResourceStatsApiListInstancesResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listInstancesResourceStats(requestParameters: ResourceStatsApiListInstancesResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstanceResourceStatsList>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of nodes
     * @param {ResourceStatsApiListNodesResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listNodesResourceStats(requestParameters: ResourceStatsApiListNodesResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<NodeResourceStatsList>;
};
/**
 * ResourceStatsApi - interface
 * @export
 * @interface ResourceStatsApi
 */
export interface ResourceStatsApiInterface {
    /**
     * Triggers an immediate collection of resource statistics for the specified environment.
     * @summary Collect resource statistics of environment
     * @param {ResourceStatsApiCollectResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApiInterface
     */
    collectResourceStats(requestParameters: ResourceStatsApiCollectResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of environment
     * @param {ResourceStatsApiGetResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApiInterface
     */
    getResourceStats(requestParameters: ResourceStatsApiGetResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EnvironmentResourceStats>;
    /**
     * Returns aggregated resource statistics for the specified node.
     * @summary Get resource statistics of instances
     * @param {ResourceStatsApiListInstancesResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApiInterface
     */
    listInstancesResourceStats(requestParameters: ResourceStatsApiListInstancesResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InstanceResourceStatsList>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of nodes
     * @param {ResourceStatsApiListNodesResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApiInterface
     */
    listNodesResourceStats(requestParameters: ResourceStatsApiListNodesResourceStatsRequest, options?: RawAxiosRequestConfig): AxiosPromise<NodeResourceStatsList>;
}
/**
 * Request parameters for collectResourceStats operation in ResourceStatsApi.
 * @export
 * @interface ResourceStatsApiCollectResourceStatsRequest
 */
export interface ResourceStatsApiCollectResourceStatsRequest {
    /**
     * The name of the environment
     * @type {string}
     * @memberof ResourceStatsApiCollectResourceStats
     */
    readonly environmentName: string;
}
/**
 * Request parameters for getResourceStats operation in ResourceStatsApi.
 * @export
 * @interface ResourceStatsApiGetResourceStatsRequest
 */
export interface ResourceStatsApiGetResourceStatsRequest {
    /**
     * The name of the environment
     * @type {string}
     * @memberof ResourceStatsApiGetResourceStats
     */
    readonly environmentName: string;
}
/**
 * Request parameters for listInstancesResourceStats operation in ResourceStatsApi.
 * @export
 * @interface ResourceStatsApiListInstancesResourceStatsRequest
 */
export interface ResourceStatsApiListInstancesResourceStatsRequest {
    /**
     * The name of the environment
     * @type {string}
     * @memberof ResourceStatsApiListInstancesResourceStats
     */
    readonly environmentName: string;
    /**
     * The name of the node
     * @type {string}
     * @memberof ResourceStatsApiListInstancesResourceStats
     */
    readonly nodeName: string;
}
/**
 * Request parameters for listNodesResourceStats operation in ResourceStatsApi.
 * @export
 * @interface ResourceStatsApiListNodesResourceStatsRequest
 */
export interface ResourceStatsApiListNodesResourceStatsRequest {
    /**
     * The name of the environment
     * @type {string}
     * @memberof ResourceStatsApiListNodesResourceStats
     */
    readonly environmentName: string;
}
/**
 * ResourceStatsApi - object-oriented interface
 * @export
 * @class ResourceStatsApi
 * @extends {BaseAPI}
 */
export declare class ResourceStatsApi extends BaseAPI implements ResourceStatsApiInterface {
    /**
     * Triggers an immediate collection of resource statistics for the specified environment.
     * @summary Collect resource statistics of environment
     * @param {ResourceStatsApiCollectResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApi
     */
    collectResourceStats(requestParameters: ResourceStatsApiCollectResourceStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of environment
     * @param {ResourceStatsApiGetResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApi
     */
    getResourceStats(requestParameters: ResourceStatsApiGetResourceStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentResourceStats, any, {}>>;
    /**
     * Returns aggregated resource statistics for the specified node.
     * @summary Get resource statistics of instances
     * @param {ResourceStatsApiListInstancesResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApi
     */
    listInstancesResourceStats(requestParameters: ResourceStatsApiListInstancesResourceStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InstanceResourceStatsList, any, {}>>;
    /**
     * Returns aggregated resource statistics for the specified environment within an organization.
     * @summary Get resource statistics of nodes
     * @param {ResourceStatsApiListNodesResourceStatsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof ResourceStatsApi
     */
    listNodesResourceStats(requestParameters: ResourceStatsApiListNodesResourceStatsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<NodeResourceStatsList, any, {}>>;
}
//# sourceMappingURL=resource-stats-api.d.ts.map