import { ErrorMessages } from './types'; export declare const errors: ErrorMessages; export declare enum AuthenticateErrors { /** * Will throw if mfa token validation failed. */ InvalidMfaToken = "InvalidMfaToken", /** * Mfa factor is not registered on the server */ FactorNotFound = "FactorNotFound", /** * Will throw if authenticator is not active. */ AuthenticatorNotActive = "AuthenticatorNotActive", /** * Will throw if factor failed to verify the current login attempt. */ AuthenticationFailed = "AuthenticationFailed" } export declare enum ChallengeErrors { /** * Will throw if mfa token validation failed. */ InvalidMfaToken = "InvalidMfaToken", /** * Will throw if authenticator id validation failed. */ InvalidAuthenticatorId = "InvalidAuthenticatorId", /** * Will throw if authenticator is not found. */ AuthenticatorNotFound = "AuthenticatorNotFound", /** * Mfa factor is not registered on the server */ FactorNotFound = "FactorNotFound" } export declare enum AssociateError { /** * Mfa factor is not registered on the server */ FactorNotFound = "FactorNotFound" } export declare enum AssociateByMfaTokenError { /** * Will throw if mfa token validation failed. */ InvalidMfaToken = "InvalidMfaToken", /** * Mfa factor is not registered on the server */ FactorNotFound = "FactorNotFound" } export declare enum FindUserAuthenticatorsByMfaTokenError { /** * Will throw if mfa token validation failed. */ InvalidMfaToken = "InvalidMfaToken" }