import { Exception, UnauthorizedException } from '@rxstack/exceptions'; import { TokenInterface } from '@rxstack/core'; export declare class AuthenticationException extends UnauthorizedException { token: TokenInterface; constructor(message?: string); } export declare class BadCredentialsException extends AuthenticationException { constructor(message?: string); } export declare class UserNotFoundException extends AuthenticationException { readonly username: string; constructor(username: string); } export declare class ProviderNotFoundException extends UnauthorizedException { constructor(message?: string); } export declare class JWTEncodeFailureException extends Exception { prevMessage?: string; constructor(message: string, prevMessage?: string); } export declare class JWTDecodeFailureException extends Exception { prevMessage?: string; constructor(message: string, prevMessage?: string); }