import { RegisterResult, Status, CodeDeliveryResult, LoginSuccessResult, LoginNextStepResult, AttributesHash } from './sdk/types'; export declare namespace Auth { function register(username: string, password: string, attributes?: AttributesHash): Promise; function registerConfirmation(username: string, confirmationCode: string): Promise; function registerResendCode(username: string): Promise; function login(username: string, password: string): Promise; function loginMfa(username: string, mfaCode: string, loginSession: string): Promise; function loginNewPasswordRequired(username: string, newPassword: string, loginSession: string): Promise; function logout(refreshToken: string): Promise; function refreshSession(refreshToken: string): Promise; function passwordForgot(username: string): Promise; function passwordReset(username: string, passwordResetCode: string, newPassword: string): Promise; function passwordChange(refreshToken: string, oldPassword: string, newPassword: string): Promise; function profile(refreshToken: string): Promise; function profileEdit(refreshToken: string, attributes: AttributesHash): Promise; function profileEditPhoneNumber(refreshToken: string, phoneNumber: string): Promise; function profileEditAttributeConfirmation(refreshToken: string, attribute: string, confirmationCode: string): Promise; }