export declare function registerAccountWithEmail(params: RegisterAccountWithEmailParams): Promise; export declare function getRegisterEmailValidateCode(params: GetEmailValidateCodeParams): Promise; export declare function sendVerifyCodeWithUserName(params: SendVerifyCodeWithUserNameParams): Promise; export declare function loginWithEmail(params: LoginWithEmailParams): Promise; export declare function getEmailValidateCode(params: GetEmailValidateCodeParams): Promise; export declare function getResetValidateCode(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 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 SendVerifyCodeWithUserNameParams = { countryCode: string; email: string; region: string; type: 1 | 2 | 3; }; export declare type LoginWithEmailParams = { email: string; password: string; countryCode: string; }; export declare type ResetEmailPasswordParams = { email: string; countryCode: string; validateCode: string; newPassword: string; };