/**
 * Webitel API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 24.04.0
 * Contact: support@webitel.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 { AxiosPromise, AxiosInstance } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { ApiLoginResponse } from '../api';
import { ApiUserinfo } from '../api';
/**
 * AuthApi - axios parameter creator
 * @export
 */
export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     *
     * @summary Signup new domain with superior access token
     * @param {string} [domain] domain name
     * @param {string} [username] username
     * @param {string} [password] user password
     * @param {Array<string>} [scope] scope request control
     * @param {string} [certificate] license/certificate
     * @param {boolean} [mobile] OPTIONAL. Mobile device /login request ?
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    signup: (domain?: string, username?: string, password?: string, scope?: Array<string>, certificate?: string, mobile?: boolean, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    userInfo: (accessToken?: string, options?: any) => Promise<RequestArgs>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    userInfo2: (accessToken?: string, options?: any) => Promise<RequestArgs>;
};
/**
 * AuthApi - functional programming interface
 * @export
 */
export declare const AuthApiFp: (configuration?: Configuration) => {
    /**
     *
     * @summary Signup new domain with superior access token
     * @param {string} [domain] domain name
     * @param {string} [username] username
     * @param {string} [password] user password
     * @param {Array<string>} [scope] scope request control
     * @param {string} [certificate] license/certificate
     * @param {boolean} [mobile] OPTIONAL. Mobile device /login request ?
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    signup(domain?: string, username?: string, password?: string, scope?: Array<string>, certificate?: string, mobile?: boolean, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiLoginResponse>>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    userInfo(accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiUserinfo>>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    userInfo2(accessToken?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApiUserinfo>>;
};
/**
 * AuthApi - factory interface
 * @export
 */
export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     *
     * @summary Signup new domain with superior access token
     * @param {string} [domain] domain name
     * @param {string} [username] username
     * @param {string} [password] user password
     * @param {Array<string>} [scope] scope request control
     * @param {string} [certificate] license/certificate
     * @param {boolean} [mobile] OPTIONAL. Mobile device /login request ?
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    signup(domain?: string, username?: string, password?: string, scope?: Array<string>, certificate?: string, mobile?: boolean, options?: any): AxiosPromise<ApiLoginResponse>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    userInfo(accessToken?: string, options?: any): AxiosPromise<ApiUserinfo>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     */
    userInfo2(accessToken?: string, options?: any): AxiosPromise<ApiUserinfo>;
};
/**
 * AuthApi - object-oriented interface
 * @export
 * @class AuthApi
 * @extends {BaseAPI}
 */
export declare class AuthApi extends BaseAPI {
    /**
     *
     * @summary Signup new domain with superior access token
     * @param {string} [domain] domain name
     * @param {string} [username] username
     * @param {string} [password] user password
     * @param {Array<string>} [scope] scope request control
     * @param {string} [certificate] license/certificate
     * @param {boolean} [mobile] OPTIONAL. Mobile device /login request ?
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AuthApi
     */
    signup(domain?: string, username?: string, password?: string, scope?: Array<string>, certificate?: string, mobile?: boolean, options?: any): Promise<import("axios").AxiosResponse<ApiLoginResponse, any, {}>>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AuthApi
     */
    userInfo(accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<ApiUserinfo, any, {}>>;
    /**
     *
     * @summary The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
     * @param {string} [accessToken] string id_token &#x3D; 2;
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof AuthApi
     */
    userInfo2(accessToken?: string, options?: any): Promise<import("axios").AxiosResponse<ApiUserinfo, any, {}>>;
}
//# sourceMappingURL=auth-api.d.ts.map