/**
 * KubeBlocks Cloud Internal API
 * The Internal API is using for interaction of ApeCloud platform microservices.
 *
 * The version of the OpenAPI document: 1.0.0
 *
 *
 * 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 { GrafanaDatasource } from '../models';
import type { GrafanaDatasourceCreate } from '../models';
/**
 * DatasourceApi - axios parameter creator
 * @export
 */
export declare const DatasourceApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * Create a new datasource configuration for Grafana
     * @summary Create a new Grafana datasource
     * @param {GrafanaDatasourceCreate} grafanaDatasourceCreate
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    grafanaDataSourceCreate: (grafanaDatasourceCreate: GrafanaDatasourceCreate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Update a new datasource configuration for Grafana
     * @summary Update a new Grafana datasource
     * @param {string} environmentID id of the Environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    grafanaDataSourceUpdate: (environmentID: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * DatasourceApi - functional programming interface
 * @export
 */
export declare const DatasourceApiFp: (configuration?: Configuration) => {
    /**
     * Create a new datasource configuration for Grafana
     * @summary Create a new Grafana datasource
     * @param {GrafanaDatasourceCreate} grafanaDatasourceCreate
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    grafanaDataSourceCreate(grafanaDatasourceCreate: GrafanaDatasourceCreate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GrafanaDatasource>>;
    /**
     * Update a new datasource configuration for Grafana
     * @summary Update a new Grafana datasource
     * @param {string} environmentID id of the Environment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    grafanaDataSourceUpdate(environmentID: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GrafanaDatasource>>;
};
/**
 * DatasourceApi - factory interface
 * @export
 */
export declare const DatasourceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * Create a new datasource configuration for Grafana
     * @summary Create a new Grafana datasource
     * @param {DatasourceApiGrafanaDataSourceCreateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    grafanaDataSourceCreate(requestParameters: DatasourceApiGrafanaDataSourceCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GrafanaDatasource>;
    /**
     * Update a new datasource configuration for Grafana
     * @summary Update a new Grafana datasource
     * @param {DatasourceApiGrafanaDataSourceUpdateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    grafanaDataSourceUpdate(requestParameters: DatasourceApiGrafanaDataSourceUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GrafanaDatasource>;
};
/**
 * DatasourceApi - interface
 * @export
 * @interface DatasourceApi
 */
export interface DatasourceApiInterface {
    /**
     * Create a new datasource configuration for Grafana
     * @summary Create a new Grafana datasource
     * @param {DatasourceApiGrafanaDataSourceCreateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DatasourceApiInterface
     */
    grafanaDataSourceCreate(requestParameters: DatasourceApiGrafanaDataSourceCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GrafanaDatasource>;
    /**
     * Update a new datasource configuration for Grafana
     * @summary Update a new Grafana datasource
     * @param {DatasourceApiGrafanaDataSourceUpdateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DatasourceApiInterface
     */
    grafanaDataSourceUpdate(requestParameters: DatasourceApiGrafanaDataSourceUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<GrafanaDatasource>;
}
/**
 * Request parameters for grafanaDataSourceCreate operation in DatasourceApi.
 * @export
 * @interface DatasourceApiGrafanaDataSourceCreateRequest
 */
export interface DatasourceApiGrafanaDataSourceCreateRequest {
    /**
     *
     * @type {GrafanaDatasourceCreate}
     * @memberof DatasourceApiGrafanaDataSourceCreate
     */
    readonly grafanaDatasourceCreate: GrafanaDatasourceCreate;
}
/**
 * Request parameters for grafanaDataSourceUpdate operation in DatasourceApi.
 * @export
 * @interface DatasourceApiGrafanaDataSourceUpdateRequest
 */
export interface DatasourceApiGrafanaDataSourceUpdateRequest {
    /**
     * id of the Environment
     * @type {string}
     * @memberof DatasourceApiGrafanaDataSourceUpdate
     */
    readonly environmentID: string;
}
/**
 * DatasourceApi - object-oriented interface
 * @export
 * @class DatasourceApi
 * @extends {BaseAPI}
 */
export declare class DatasourceApi extends BaseAPI implements DatasourceApiInterface {
    /**
     * Create a new datasource configuration for Grafana
     * @summary Create a new Grafana datasource
     * @param {DatasourceApiGrafanaDataSourceCreateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DatasourceApi
     */
    grafanaDataSourceCreate(requestParameters: DatasourceApiGrafanaDataSourceCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GrafanaDatasource, any, {}>>;
    /**
     * Update a new datasource configuration for Grafana
     * @summary Update a new Grafana datasource
     * @param {DatasourceApiGrafanaDataSourceUpdateRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DatasourceApi
     */
    grafanaDataSourceUpdate(requestParameters: DatasourceApiGrafanaDataSourceUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GrafanaDatasource, any, {}>>;
}
//# sourceMappingURL=datasource-api.d.ts.map