import type { Authenticatable } from './contracts.js'; /** Fired by the guard before credentials are checked. */ export declare class Attempting { readonly credentials: Record; readonly remember: boolean; constructor(credentials: Record, remember?: boolean); } /** Fired after credentials match a user, before the session is established. */ export declare class Validated { readonly user: Authenticatable; constructor(user: Authenticatable); } /** Fired when a user is logged in and the session is established. `remember` * reflects whether a persistent "remember me" cookie was issued. */ export declare class Login { readonly user: Authenticatable; readonly remember: boolean; constructor(user: Authenticatable, remember?: boolean); } /** Fired when a credential check fails. `user` is the matched user when the * password was wrong, or `null` when no account matched the credentials. */ export declare class Failed { readonly credentials: Record; readonly user: Authenticatable | null; constructor(credentials: Record, user?: Authenticatable | null); } /** Fired when a user is logged out. `user` is the previously-authenticated * user, or `null` when none could be resolved from the session. */ export declare class Logout { readonly user: Authenticatable | null; constructor(user: Authenticatable | null); } /** Fired after a new account is created via the auth controller's sign-up. */ export declare class Registered { readonly user: Authenticatable; constructor(user: Authenticatable); } /** Fired after a password reset completes successfully. */ export declare class PasswordReset { readonly user: Authenticatable; constructor(user: Authenticatable); } //# sourceMappingURL=events.d.ts.map