/**
 * 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 { AvailableClusterListInner } from '../models';
import type { RelatedClusterListItem } from '../models';
/**
 * RelationApi - axios parameter creator
 * @export
 */
export declare const RelationApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary create a relation between the clusters in the organization
     * @param {string} orgName
     * @param {string} clusterName
     * @param {string} target
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createRelation: (orgName: string, clusterName: string, target: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary delete a existed relation between the clusters in the organization
     * @param {string} orgName
     * @param {string} clusterName
     * @param {string} target
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteRelation: (orgName: string, clusterName: string, target: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary list the available clusters for the organization to create the a relation
     * @param {string} orgName
     * @param {string} clusterName
     * @param {string} targetType
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listAvailableClustersForRelation: (orgName: string, clusterName: string, targetType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     *
     * @summary list the clusters that have built a relation to the specified cluster
     * @param {string} orgName
     * @param {string} clusterName
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listRelatedClusters: (orgName: string, clusterName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * RelationApi - functional programming interface
 * @export
 */
export declare const RelationApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary create a relation between the clusters in the organization
     * @param {string} orgName
     * @param {string} clusterName
     * @param {string} target
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createRelation(orgName: string, clusterName: string, target: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     *
     * @summary delete a existed relation between the clusters in the organization
     * @param {string} orgName
     * @param {string} clusterName
     * @param {string} target
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteRelation(orgName: string, clusterName: string, target: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     *
     * @summary list the available clusters for the organization to create the a relation
     * @param {string} orgName
     * @param {string} clusterName
     * @param {string} targetType
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listAvailableClustersForRelation(orgName: string, clusterName: string, targetType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<AvailableClusterListInner>>>;
    /**
     *
     * @summary list the clusters that have built a relation to the specified cluster
     * @param {string} orgName
     * @param {string} clusterName
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listRelatedClusters(orgName: string, clusterName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RelatedClusterListItem>>>;
};
/**
 * RelationApi - factory interface
 * @export
 */
export declare const RelationApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary create a relation between the clusters in the organization
     * @param {RelationApiCreateRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    createRelation(requestParameters: RelationApiCreateRelationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary delete a existed relation between the clusters in the organization
     * @param {RelationApiDeleteRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    deleteRelation(requestParameters: RelationApiDeleteRelationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary list the available clusters for the organization to create the a relation
     * @param {RelationApiListAvailableClustersForRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listAvailableClustersForRelation(requestParameters: RelationApiListAvailableClustersForRelationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AvailableClusterListInner>>;
    /**
     *
     * @summary list the clusters that have built a relation to the specified cluster
     * @param {RelationApiListRelatedClustersRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    listRelatedClusters(requestParameters: RelationApiListRelatedClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<RelatedClusterListItem>>;
};
/**
 * RelationApi - interface
 * @export
 * @interface RelationApi
 */
export interface RelationApiInterface {
    /**
     *
     * @summary create a relation between the clusters in the organization
     * @param {RelationApiCreateRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApiInterface
     */
    createRelation(requestParameters: RelationApiCreateRelationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary delete a existed relation between the clusters in the organization
     * @param {RelationApiDeleteRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApiInterface
     */
    deleteRelation(requestParameters: RelationApiDeleteRelationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     *
     * @summary list the available clusters for the organization to create the a relation
     * @param {RelationApiListAvailableClustersForRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApiInterface
     */
    listAvailableClustersForRelation(requestParameters: RelationApiListAvailableClustersForRelationRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<AvailableClusterListInner>>;
    /**
     *
     * @summary list the clusters that have built a relation to the specified cluster
     * @param {RelationApiListRelatedClustersRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApiInterface
     */
    listRelatedClusters(requestParameters: RelationApiListRelatedClustersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<RelatedClusterListItem>>;
}
/**
 * Request parameters for createRelation operation in RelationApi.
 * @export
 * @interface RelationApiCreateRelationRequest
 */
export interface RelationApiCreateRelationRequest {
    /**
     *
     * @type {string}
     * @memberof RelationApiCreateRelation
     */
    readonly orgName: string;
    /**
     *
     * @type {string}
     * @memberof RelationApiCreateRelation
     */
    readonly clusterName: string;
    /**
     *
     * @type {string}
     * @memberof RelationApiCreateRelation
     */
    readonly target: string;
}
/**
 * Request parameters for deleteRelation operation in RelationApi.
 * @export
 * @interface RelationApiDeleteRelationRequest
 */
export interface RelationApiDeleteRelationRequest {
    /**
     *
     * @type {string}
     * @memberof RelationApiDeleteRelation
     */
    readonly orgName: string;
    /**
     *
     * @type {string}
     * @memberof RelationApiDeleteRelation
     */
    readonly clusterName: string;
    /**
     *
     * @type {string}
     * @memberof RelationApiDeleteRelation
     */
    readonly target: string;
}
/**
 * Request parameters for listAvailableClustersForRelation operation in RelationApi.
 * @export
 * @interface RelationApiListAvailableClustersForRelationRequest
 */
export interface RelationApiListAvailableClustersForRelationRequest {
    /**
     *
     * @type {string}
     * @memberof RelationApiListAvailableClustersForRelation
     */
    readonly orgName: string;
    /**
     *
     * @type {string}
     * @memberof RelationApiListAvailableClustersForRelation
     */
    readonly clusterName: string;
    /**
     *
     * @type {string}
     * @memberof RelationApiListAvailableClustersForRelation
     */
    readonly targetType: string;
}
/**
 * Request parameters for listRelatedClusters operation in RelationApi.
 * @export
 * @interface RelationApiListRelatedClustersRequest
 */
export interface RelationApiListRelatedClustersRequest {
    /**
     *
     * @type {string}
     * @memberof RelationApiListRelatedClusters
     */
    readonly orgName: string;
    /**
     *
     * @type {string}
     * @memberof RelationApiListRelatedClusters
     */
    readonly clusterName: string;
}
/**
 * RelationApi - object-oriented interface
 * @export
 * @class RelationApi
 * @extends {BaseAPI}
 */
export declare class RelationApi extends BaseAPI implements RelationApiInterface {
    /**
     *
     * @summary create a relation between the clusters in the organization
     * @param {RelationApiCreateRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApi
     */
    createRelation(requestParameters: RelationApiCreateRelationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     *
     * @summary delete a existed relation between the clusters in the organization
     * @param {RelationApiDeleteRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApi
     */
    deleteRelation(requestParameters: RelationApiDeleteRelationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     *
     * @summary list the available clusters for the organization to create the a relation
     * @param {RelationApiListAvailableClustersForRelationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApi
     */
    listAvailableClustersForRelation(requestParameters: RelationApiListAvailableClustersForRelationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AvailableClusterListInner[], any, {}>>;
    /**
     *
     * @summary list the clusters that have built a relation to the specified cluster
     * @param {RelationApiListRelatedClustersRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof RelationApi
     */
    listRelatedClusters(requestParameters: RelationApiListRelatedClustersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RelatedClusterListItem[], any, {}>>;
}
//# sourceMappingURL=relation-api.d.ts.map