import { IError } from '../../common/types'; /** * Only to valid username and password authorization */ export declare class InstanceOfCognito { static PasswordAttemptsExceeded(error: IError): boolean; static IncorrectUsernameOrPassword(error: IError): boolean; static UserNotFoundException(error: IError): boolean; static UserNotConfirmedException(error: IError): boolean; static TooManyRequestsException(error: IError): boolean; static PasswordResetRequiredException(error: IError): boolean; static InternalErrorException(error: IError): boolean; static PolicyAccessDeniedException(error: IError): boolean; }