/**
 * 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 { PostgresqlLockAnalysis } from '../models';
import type { PostgresqlSession } from '../models';
/**
 * DiagnosticsApi - axios parameter creator
 * @export
 */
export declare const DiagnosticsApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * Get one PostgreSQL session basic diagnostics record by backend pid.
     * @summary Get PostgreSQL session basic diagnostics
     * @param {string} orgName Organization name
     * @param {string} clusterName Cluster name
     * @param {number} pid PostgreSQL backend process id.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getDiagnosticsPostgresqlSession: (orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
     * @summary Get PostgreSQL session lock analysis
     * @param {string} orgName Organization name
     * @param {string} clusterName Cluster name
     * @param {number} pid PostgreSQL backend process id.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getDiagnosticsPostgresqlSessionLockAnalysis: (orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * DiagnosticsApi - functional programming interface
 * @export
 */
export declare const DiagnosticsApiFp: (configuration?: Configuration) => {
    /**
     * Get one PostgreSQL session basic diagnostics record by backend pid.
     * @summary Get PostgreSQL session basic diagnostics
     * @param {string} orgName Organization name
     * @param {string} clusterName Cluster name
     * @param {number} pid PostgreSQL backend process id.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getDiagnosticsPostgresqlSession(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlSession>>;
    /**
     * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
     * @summary Get PostgreSQL session lock analysis
     * @param {string} orgName Organization name
     * @param {string} clusterName Cluster name
     * @param {number} pid PostgreSQL backend process id.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getDiagnosticsPostgresqlSessionLockAnalysis(orgName: string, clusterName: string, pid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostgresqlLockAnalysis>>;
};
/**
 * DiagnosticsApi - factory interface
 * @export
 */
export declare const DiagnosticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * Get one PostgreSQL session basic diagnostics record by backend pid.
     * @summary Get PostgreSQL session basic diagnostics
     * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession>;
    /**
     * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
     * @summary Get PostgreSQL session lock analysis
     * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis>;
};
/**
 * DiagnosticsApi - interface
 * @export
 * @interface DiagnosticsApi
 */
export interface DiagnosticsApiInterface {
    /**
     * Get one PostgreSQL session basic diagnostics record by backend pid.
     * @summary Get PostgreSQL session basic diagnostics
     * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DiagnosticsApiInterface
     */
    getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlSession>;
    /**
     * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
     * @summary Get PostgreSQL session lock analysis
     * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DiagnosticsApiInterface
     */
    getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostgresqlLockAnalysis>;
}
/**
 * Request parameters for getDiagnosticsPostgresqlSession operation in DiagnosticsApi.
 * @export
 * @interface DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest
 */
export interface DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest {
    /**
     * Organization name
     * @type {string}
     * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSession
     */
    readonly orgName: string;
    /**
     * Cluster name
     * @type {string}
     * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSession
     */
    readonly clusterName: string;
    /**
     * PostgreSQL backend process id.
     * @type {number}
     * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSession
     */
    readonly pid: number;
}
/**
 * Request parameters for getDiagnosticsPostgresqlSessionLockAnalysis operation in DiagnosticsApi.
 * @export
 * @interface DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest
 */
export interface DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest {
    /**
     * Organization name
     * @type {string}
     * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysis
     */
    readonly orgName: string;
    /**
     * Cluster name
     * @type {string}
     * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysis
     */
    readonly clusterName: string;
    /**
     * PostgreSQL backend process id.
     * @type {number}
     * @memberof DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysis
     */
    readonly pid: number;
}
/**
 * DiagnosticsApi - object-oriented interface
 * @export
 * @class DiagnosticsApi
 * @extends {BaseAPI}
 */
export declare class DiagnosticsApi extends BaseAPI implements DiagnosticsApiInterface {
    /**
     * Get one PostgreSQL session basic diagnostics record by backend pid.
     * @summary Get PostgreSQL session basic diagnostics
     * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DiagnosticsApi
     */
    getDiagnosticsPostgresqlSession(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostgresqlSession, any, {}>>;
    /**
     * Get read-only lock analysis for one PostgreSQL backend pid from the current DMS PostgreSQL lock snapshot.
     * @summary Get PostgreSQL session lock analysis
     * @param {DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof DiagnosticsApi
     */
    getDiagnosticsPostgresqlSessionLockAnalysis(requestParameters: DiagnosticsApiGetDiagnosticsPostgresqlSessionLockAnalysisRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PostgresqlLockAnalysis, any, {}>>;
}
//# sourceMappingURL=diagnostics-api.d.ts.map