import { HttpService } from '@nestjs/common';
import { EnvironmentService } from '../common_services/config/envService';
import { IdentitySignUpInputDto, ChangePasswordInputDto, IdentityLoginInputDto, IdentityDto, CheckAccessTokenInputDto, PhoneRegistrationDto } from '../identity/dtos/identityDto';
import { SmsService } from './smsService';
import JwtValidator from './utils/jwt/jwtValidator';
export declare class Auth0Service {
    private readonly envService;
    private readonly http;
    private readonly smsService;
    private readonly jwtValidator;
    contentType: string;
    auth0ConnectionType: string;
    constructor(envService: EnvironmentService, http: HttpService, smsService: SmsService, jwtValidator: JwtValidator);
    private getAdminToken;
    checkAccessToken(input: CheckAccessTokenInputDto): Promise<{
        code: number;
        errorMessage: string;
    }>;
    createUser(input: IdentitySignUpInputDto): Promise<boolean>;
    private getUserToken;
    getIdentity(input: IdentityLoginInputDto | CheckAccessTokenInputDto): Promise<IdentityDto>;
    private setNewPassword;
    changePassword(input: ChangePasswordInputDto): Promise<boolean>;
    private triggerForgotPasswordFlow;
    forgotPassword(email: string): Promise<boolean>;
    phoneRegister(phone: string): Promise<PhoneRegistrationDto>;
    revokeRefreshToken(refreshToken: string): Promise<import("rxjs").Observable<import("axios").AxiosResponse<any>>>;
}
