import ChangePassword from './interface/changePassword'; import KYCProfile from './interface/kycProfile'; import RequestResetPassword from './interface/requestResetPassword'; import ResetPassword from './interface/resetPassword'; import Session from './interface/session'; import User from './interface/user'; export declare const TFARequireCode = 1110; export declare class Account { static getInstance(): Account; private static instance; private host; private merchantId; private sessionManager; config(config: { host: string; merchantId: string; }): void; getCaptcha(): Promise<{ captchaId: any; captchaURL: string; }>; requestRegister(request: { regionCode: string; mobile: string; captchaId: string; captchaCode: string; email: string; }): Promise; register(register: { name?: string; code: string; password: string; token: string; }): Promise; requestLoginSMS(request: { regionCode: string; mobile: string; captchaId: string; captchaCode: string; }): Promise; mobileLogin(login: { token: string; mobileCode: string; }): Promise; login(login: { regionCode?: string; mobile?: string; email?: string; password: string; }): Promise; loginWithTFA(login: { tfaToken: string; code: string; }): Promise; getUserDetail(): Promise; getKYCProfile(): Promise; updateKYCProfile(profile: KYCProfile): Promise; createKYCProfile(profile: KYCProfile): Promise; requestEnableTFA(): Promise; turnOnTFA(valiadte: { code: string; }): Promise; turnOffTFA(valiadte: { code: string; }): Promise; logout(): Promise; changePassword(changePassword: ChangePassword): Promise; requestResetPassword(requestResetPassword: RequestResetPassword): Promise; resetPassword(resetPassword: ResetPassword): Promise; sendRequest(request: { method: string; url: string; body?: any; }): Promise; isLogin(): boolean; removeSession(): void; getSession(): Promise; getSyncSession(): Session | null; getSyncUser(): User | null; getUser(): Promise; private defaulutHeader; private postRequest; }