/**
 * 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 { CreatePgExtensionResp } from '../models';
import type { PgCreateExtensionOpt } from '../models';
import type { PgExtension } from '../models';
/**
 * PostgresqlApi - axios parameter creator
 * @export
 */
export declare const PostgresqlApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * create PostgreSQL extension
     * @summary create PostgreSQL extension
     * @param {string} orgName Organization name
     * @param {string} clusterName name of the cluster
     * @param {PgCreateExtensionOpt} pgCreateExtensionOpt
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createPGExtension: (orgName: string, clusterName: string, pgCreateExtensionOpt: PgCreateExtensionOpt, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * drop PostgreSQL extension
     * @summary drop PostgreSQL extension
     * @param {string} orgName Organization name
     * @param {string} clusterName name of the cluster
     * @param {string} extensionName The name of the PostgreSQL extension to uninstall.
     * @param {string} database The database where the extension is installed.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    dropPGExtension: (orgName: string, clusterName: string, extensionName: string, database: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * List PostgreSQL extensions
     * @summary List PostgreSQL extensions
     * @param {string} orgName Organization name
     * @param {string} clusterName name of the cluster
     * @param {string} [status] extension status, if set to &#x60;installed&#x60;, only installed extensions will be returned. If not specified, all available extensions will be returned.
     * @param {string} [database] database name. This parameter is only used when status is installed; if not specified, all databases installed extensions will be returned.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listPGExtensions: (orgName: string, clusterName: string, status?: string, database?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * PostgresqlApi - functional programming interface
 * @export
 */
export declare const PostgresqlApiFp: (configuration?: Configuration) => {
    /**
     * create PostgreSQL extension
     * @summary create PostgreSQL extension
     * @param {string} orgName Organization name
     * @param {string} clusterName name of the cluster
     * @param {PgCreateExtensionOpt} pgCreateExtensionOpt
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createPGExtension(orgName: string, clusterName: string, pgCreateExtensionOpt: PgCreateExtensionOpt, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePgExtensionResp>>;
    /**
     * drop PostgreSQL extension
     * @summary drop PostgreSQL extension
     * @param {string} orgName Organization name
     * @param {string} clusterName name of the cluster
     * @param {string} extensionName The name of the PostgreSQL extension to uninstall.
     * @param {string} database The database where the extension is installed.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    dropPGExtension(orgName: string, clusterName: string, extensionName: string, database: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     * List PostgreSQL extensions
     * @summary List PostgreSQL extensions
     * @param {string} orgName Organization name
     * @param {string} clusterName name of the cluster
     * @param {string} [status] extension status, if set to &#x60;installed&#x60;, only installed extensions will be returned. If not specified, all available extensions will be returned.
     * @param {string} [database] database name. This parameter is only used when status is installed; if not specified, all databases installed extensions will be returned.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listPGExtensions(orgName: string, clusterName: string, status?: string, database?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<PgExtension>>>;
};
/**
 * PostgresqlApi - factory interface
 * @export
 */
export declare const PostgresqlApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * create PostgreSQL extension
     * @summary create PostgreSQL extension
     * @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createPGExtension(requestParameters: PostgresqlApiCreatePGExtensionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePgExtensionResp>;
    /**
     * drop PostgreSQL extension
     * @summary drop PostgreSQL extension
     * @param {PostgresqlApiDropPGExtensionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    dropPGExtension(requestParameters: PostgresqlApiDropPGExtensionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * List PostgreSQL extensions
     * @summary List PostgreSQL extensions
     * @param {PostgresqlApiListPGExtensionsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listPGExtensions(requestParameters: PostgresqlApiListPGExtensionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PgExtension>>;
};
/**
 * PostgresqlApi - interface
 * @export
 * @interface PostgresqlApi
 */
export interface PostgresqlApiInterface {
    /**
     * create PostgreSQL extension
     * @summary create PostgreSQL extension
     * @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof PostgresqlApiInterface
     */
    createPGExtension(requestParameters: PostgresqlApiCreatePGExtensionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreatePgExtensionResp>;
    /**
     * drop PostgreSQL extension
     * @summary drop PostgreSQL extension
     * @param {PostgresqlApiDropPGExtensionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof PostgresqlApiInterface
     */
    dropPGExtension(requestParameters: PostgresqlApiDropPGExtensionRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * List PostgreSQL extensions
     * @summary List PostgreSQL extensions
     * @param {PostgresqlApiListPGExtensionsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof PostgresqlApiInterface
     */
    listPGExtensions(requestParameters: PostgresqlApiListPGExtensionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<PgExtension>>;
}
/**
 * Request parameters for createPGExtension operation in PostgresqlApi.
 * @export
 * @interface PostgresqlApiCreatePGExtensionRequest
 */
export interface PostgresqlApiCreatePGExtensionRequest {
    /**
     * Organization name
     * @type {string}
     * @memberof PostgresqlApiCreatePGExtension
     */
    readonly orgName: string;
    /**
     * name of the cluster
     * @type {string}
     * @memberof PostgresqlApiCreatePGExtension
     */
    readonly clusterName: string;
    /**
     *
     * @type {PgCreateExtensionOpt}
     * @memberof PostgresqlApiCreatePGExtension
     */
    readonly pgCreateExtensionOpt: PgCreateExtensionOpt;
}
/**
 * Request parameters for dropPGExtension operation in PostgresqlApi.
 * @export
 * @interface PostgresqlApiDropPGExtensionRequest
 */
export interface PostgresqlApiDropPGExtensionRequest {
    /**
     * Organization name
     * @type {string}
     * @memberof PostgresqlApiDropPGExtension
     */
    readonly orgName: string;
    /**
     * name of the cluster
     * @type {string}
     * @memberof PostgresqlApiDropPGExtension
     */
    readonly clusterName: string;
    /**
     * The name of the PostgreSQL extension to uninstall.
     * @type {string}
     * @memberof PostgresqlApiDropPGExtension
     */
    readonly extensionName: string;
    /**
     * The database where the extension is installed.
     * @type {string}
     * @memberof PostgresqlApiDropPGExtension
     */
    readonly database: string;
}
/**
 * Request parameters for listPGExtensions operation in PostgresqlApi.
 * @export
 * @interface PostgresqlApiListPGExtensionsRequest
 */
export interface PostgresqlApiListPGExtensionsRequest {
    /**
     * Organization name
     * @type {string}
     * @memberof PostgresqlApiListPGExtensions
     */
    readonly orgName: string;
    /**
     * name of the cluster
     * @type {string}
     * @memberof PostgresqlApiListPGExtensions
     */
    readonly clusterName: string;
    /**
     * extension status, if set to &#x60;installed&#x60;, only installed extensions will be returned. If not specified, all available extensions will be returned.
     * @type {string}
     * @memberof PostgresqlApiListPGExtensions
     */
    readonly status?: string;
    /**
     * database name. This parameter is only used when status is installed; if not specified, all databases installed extensions will be returned.
     * @type {string}
     * @memberof PostgresqlApiListPGExtensions
     */
    readonly database?: string;
}
/**
 * PostgresqlApi - object-oriented interface
 * @export
 * @class PostgresqlApi
 * @extends {BaseAPI}
 */
export declare class PostgresqlApi extends BaseAPI implements PostgresqlApiInterface {
    /**
     * create PostgreSQL extension
     * @summary create PostgreSQL extension
     * @param {PostgresqlApiCreatePGExtensionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof PostgresqlApi
     */
    createPGExtension(requestParameters: PostgresqlApiCreatePGExtensionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePgExtensionResp, any, {}>>;
    /**
     * drop PostgreSQL extension
     * @summary drop PostgreSQL extension
     * @param {PostgresqlApiDropPGExtensionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof PostgresqlApi
     */
    dropPGExtension(requestParameters: PostgresqlApiDropPGExtensionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     * List PostgreSQL extensions
     * @summary List PostgreSQL extensions
     * @param {PostgresqlApiListPGExtensionsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof PostgresqlApi
     */
    listPGExtensions(requestParameters: PostgresqlApiListPGExtensionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PgExtension[], any, {}>>;
}
//# sourceMappingURL=postgresql-api.d.ts.map