/**
 * 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 { Key } from '../models';
import type { KeyList } from '../models';
/**
 * KeyApi - axios parameter creator
 * @export
 */
export declare const KeyApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * Store a new key in the system.
     * @summary Create a new key
     * @param {Key} [key]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createKey: (key?: Key, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary Delete a specific key
     * @param {string} keyName the name of key
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteKey: (keyName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary get an existing key
     * @param {string} keyName the name of key
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getKey: (keyName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary List Keys
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listKeys: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary Update an existing key
     * @param {string} keyName the name of key
     * @param {Key} key
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateKey: (keyName: string, key: Key, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * KeyApi - functional programming interface
 * @export
 */
export declare const KeyApiFp: (configuration?: Configuration) => {
    /**
     * Store a new key in the system.
     * @summary Create a new key
     * @param {Key} [key]
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createKey(key?: Key, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Key>>;
    /**
     *
     * @summary Delete a specific key
     * @param {string} keyName the name of key
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteKey(keyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     *
     * @summary get an existing key
     * @param {string} keyName the name of key
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getKey(keyName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Key>>;
    /**
     *
     * @summary List Keys
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listKeys(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<KeyList>>;
    /**
     *
     * @summary Update an existing key
     * @param {string} keyName the name of key
     * @param {Key} key
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateKey(keyName: string, key: Key, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Key>>;
};
/**
 * KeyApi - factory interface
 * @export
 */
export declare const KeyApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * Store a new key in the system.
     * @summary Create a new key
     * @param {KeyApiCreateKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createKey(requestParameters?: KeyApiCreateKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Key>;
    /**
     *
     * @summary Delete a specific key
     * @param {KeyApiDeleteKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteKey(requestParameters: KeyApiDeleteKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary get an existing key
     * @param {KeyApiGetKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getKey(requestParameters: KeyApiGetKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Key>;
    /**
     *
     * @summary List Keys
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listKeys(options?: RawAxiosRequestConfig): AxiosPromise<KeyList>;
    /**
     *
     * @summary Update an existing key
     * @param {KeyApiUpdateKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    updateKey(requestParameters: KeyApiUpdateKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Key>;
};
/**
 * KeyApi - interface
 * @export
 * @interface KeyApi
 */
export interface KeyApiInterface {
    /**
     * Store a new key in the system.
     * @summary Create a new key
     * @param {KeyApiCreateKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApiInterface
     */
    createKey(requestParameters?: KeyApiCreateKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Key>;
    /**
     *
     * @summary Delete a specific key
     * @param {KeyApiDeleteKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApiInterface
     */
    deleteKey(requestParameters: KeyApiDeleteKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary get an existing key
     * @param {KeyApiGetKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApiInterface
     */
    getKey(requestParameters: KeyApiGetKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Key>;
    /**
     *
     * @summary List Keys
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApiInterface
     */
    listKeys(options?: RawAxiosRequestConfig): AxiosPromise<KeyList>;
    /**
     *
     * @summary Update an existing key
     * @param {KeyApiUpdateKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApiInterface
     */
    updateKey(requestParameters: KeyApiUpdateKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<Key>;
}
/**
 * Request parameters for createKey operation in KeyApi.
 * @export
 * @interface KeyApiCreateKeyRequest
 */
export interface KeyApiCreateKeyRequest {
    /**
     *
     * @type {Key}
     * @memberof KeyApiCreateKey
     */
    readonly key?: Key;
}
/**
 * Request parameters for deleteKey operation in KeyApi.
 * @export
 * @interface KeyApiDeleteKeyRequest
 */
export interface KeyApiDeleteKeyRequest {
    /**
     * the name of key
     * @type {string}
     * @memberof KeyApiDeleteKey
     */
    readonly keyName: string;
}
/**
 * Request parameters for getKey operation in KeyApi.
 * @export
 * @interface KeyApiGetKeyRequest
 */
export interface KeyApiGetKeyRequest {
    /**
     * the name of key
     * @type {string}
     * @memberof KeyApiGetKey
     */
    readonly keyName: string;
}
/**
 * Request parameters for updateKey operation in KeyApi.
 * @export
 * @interface KeyApiUpdateKeyRequest
 */
export interface KeyApiUpdateKeyRequest {
    /**
     * the name of key
     * @type {string}
     * @memberof KeyApiUpdateKey
     */
    readonly keyName: string;
    /**
     *
     * @type {Key}
     * @memberof KeyApiUpdateKey
     */
    readonly key: Key;
}
/**
 * KeyApi - object-oriented interface
 * @export
 * @class KeyApi
 * @extends {BaseAPI}
 */
export declare class KeyApi extends BaseAPI implements KeyApiInterface {
    /**
     * Store a new key in the system.
     * @summary Create a new key
     * @param {KeyApiCreateKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApi
     */
    createKey(requestParameters?: KeyApiCreateKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Key, any, {}>>;
    /**
     *
     * @summary Delete a specific key
     * @param {KeyApiDeleteKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApi
     */
    deleteKey(requestParameters: KeyApiDeleteKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     *
     * @summary get an existing key
     * @param {KeyApiGetKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApi
     */
    getKey(requestParameters: KeyApiGetKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Key, any, {}>>;
    /**
     *
     * @summary List Keys
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApi
     */
    listKeys(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<KeyList, any, {}>>;
    /**
     *
     * @summary Update an existing key
     * @param {KeyApiUpdateKeyRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof KeyApi
     */
    updateKey(requestParameters: KeyApiUpdateKeyRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Key, any, {}>>;
}
//# sourceMappingURL=key-api.d.ts.map