import { Guard } from './Guard'; import { IAuthenticatable } from '../interfaces/IAuthenticatable'; export declare class PassportGuard extends Guard { protected getSessionKey(): string; hasUser(): boolean; hasUser(user: T): boolean; /** * Get the currently authenticated user. */ retrieveUser(): Promise; /** * Save the user to request. * * @param {IAuthenticatable} user * @param {boolean} remember */ attachUser(user: T, remember: boolean): Promise; /** * Remove the user and out of request. * * @param {IAuthenticatable} user */ detachUser(user: T): Promise; }