export default class Passport { private host; private merchantId; constructor(props: { host: string; merchantId: string; }); 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(secretInfo: { key: string; secret: string; }): Promise; postRequest(signData: { uri: any; body: any; sign?: any; }): Promise; private defaulutHeader; }