export declare function registerAccountWithEmail(params: RegisterAccountWithEmailParams): Promise; export declare function getRegisterEmailValidateCode(params: GetEmailValidateCodeParams): Promise; export declare function loginWithEmail(params: LoginWithEmailParams): Promise; export declare function getEmailValidateCode(params: GetEmailValidateCodeParams): Promise; export declare function resetEmailPassword(params: ResetEmailPasswordParams): Promise; export declare function logout(): Promise; export declare function getCurrentUser(): Promise; export declare function cancelAccount(): Promise; export declare function touristRegisterAndLogin(params: TouristRegisterAndLoginParams): Promise; export declare function touristBindWithUserName(params: TouristBindWithUserNameParams): Promise; export declare function sendVerifyCodeWithUserName(params: SendVerifyCodeWithUsername): any; export declare function registerAccountWithUid(params: RegisterAccountWithUidParams): Promise; export declare function loginWithUid(params: LoginWithUidParams): Promise; export declare function loginOrRegisterWithUid(params: LoginOrRegisterWithUidParams): Promise; export declare function loginWithPhonePassword(params: LoginWithPhonePasswordParams): Promise; export declare type LoginWithPhonePasswordParams = { countryCode: string; phoneNumber: string; password: string; }; export declare type LoginWithUidParams = { countryCode: string; uid: string; password: string; }; export declare type LoginOrRegisterWithUidParams = { countryCode: string; uid: string; password: string; isCreateHome: boolean; }; export declare type RegisterAccountWithUidParams = { countryCode: string; uid: string; password: string; }; export declare type SendVerifyCodeWithUsername = { countryCode: string; userName: string; region: string; type: number; }; export declare type TouristRegisterAndLoginParams = { countryCode: string; nickName: string; }; export declare type TouristBindWithUserNameParams = { countryCode: string; userName: string; verifyCode: string; password: string; }; export declare type User = { email: string; username: string; sid: string; timezoneId: string; uid: string; userType: number; headPic: string; mobile: string; nickName: string; phoneCode: string; }; export declare type RegisterAccountWithEmailParams = { countryCode: string; email: string; validateCode: string; password: string; }; export declare type GetEmailValidateCodeParams = { countryCode: string; email: string; }; export declare type LoginWithEmailParams = { email: string; password: string; countryCode: string; }; export declare type ResetEmailPasswordParams = { email: string; countryCode: string; validateCode: string; newPassword: string; };