/**
 * 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 { Storage } from '../models';
/**
 * StorageApi - axios parameter creator
 * @export
 */
export declare const StorageApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Get a storage
     * @param {string} environmentName name of the environment
     * @param {string} storageName name of the storage
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getStorage: (environmentName: string, storageName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary List storages
     * @param {string} environmentName name of the environment
     * @param {string} [name] the search key to search storage\&#39;s name
     * @param {string} [key] key to search storage\&#39;s tag
     * @param {string} [value] value to search storage\&#39;s tag
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listStorages: (environmentName: string, name?: string, key?: string, value?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * StorageApi - functional programming interface
 * @export
 */
export declare const StorageApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Get a storage
     * @param {string} environmentName name of the environment
     * @param {string} storageName name of the storage
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getStorage(environmentName: string, storageName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Storage>>;
    /**
     *
     * @summary List storages
     * @param {string} environmentName name of the environment
     * @param {string} [name] the search key to search storage\&#39;s name
     * @param {string} [key] key to search storage\&#39;s tag
     * @param {string} [value] value to search storage\&#39;s tag
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listStorages(environmentName: string, name?: string, key?: string, value?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Storage>>>;
};
/**
 * StorageApi - factory interface
 * @export
 */
export declare const StorageApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Get a storage
     * @param {StorageApiGetStorageRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getStorage(requestParameters: StorageApiGetStorageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Storage>;
    /**
     *
     * @summary List storages
     * @param {StorageApiListStoragesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listStorages(requestParameters: StorageApiListStoragesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Storage>>;
};
/**
 * StorageApi - interface
 * @export
 * @interface StorageApi
 */
export interface StorageApiInterface {
    /**
     *
     * @summary Get a storage
     * @param {StorageApiGetStorageRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StorageApiInterface
     */
    getStorage(requestParameters: StorageApiGetStorageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Storage>;
    /**
     *
     * @summary List storages
     * @param {StorageApiListStoragesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StorageApiInterface
     */
    listStorages(requestParameters: StorageApiListStoragesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Storage>>;
}
/**
 * Request parameters for getStorage operation in StorageApi.
 * @export
 * @interface StorageApiGetStorageRequest
 */
export interface StorageApiGetStorageRequest {
    /**
     * name of the environment
     * @type {string}
     * @memberof StorageApiGetStorage
     */
    readonly environmentName: string;
    /**
     * name of the storage
     * @type {string}
     * @memberof StorageApiGetStorage
     */
    readonly storageName: string;
}
/**
 * Request parameters for listStorages operation in StorageApi.
 * @export
 * @interface StorageApiListStoragesRequest
 */
export interface StorageApiListStoragesRequest {
    /**
     * name of the environment
     * @type {string}
     * @memberof StorageApiListStorages
     */
    readonly environmentName: string;
    /**
     * the search key to search storage\&#39;s name
     * @type {string}
     * @memberof StorageApiListStorages
     */
    readonly name?: string;
    /**
     * key to search storage\&#39;s tag
     * @type {string}
     * @memberof StorageApiListStorages
     */
    readonly key?: string;
    /**
     * value to search storage\&#39;s tag
     * @type {string}
     * @memberof StorageApiListStorages
     */
    readonly value?: string;
}
/**
 * StorageApi - object-oriented interface
 * @export
 * @class StorageApi
 * @extends {BaseAPI}
 */
export declare class StorageApi extends BaseAPI implements StorageApiInterface {
    /**
     *
     * @summary Get a storage
     * @param {StorageApiGetStorageRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StorageApi
     */
    getStorage(requestParameters: StorageApiGetStorageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Storage, any, {}>>;
    /**
     *
     * @summary List storages
     * @param {StorageApiListStoragesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StorageApi
     */
    listStorages(requestParameters: StorageApiListStoragesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Storage[], any, {}>>;
}
//# sourceMappingURL=storage-api.d.ts.map