import { IAutoload } from 'najs-binding'; import { Guard } from './Guard'; import { IAuthenticatable } from '../interfaces/IAuthenticatable'; export declare class SessionGuard extends Guard implements IAutoload { static className: string; getClassName(): string; protected getSessionKey(): string; hasUser(): boolean; hasUser(user: T): boolean; retrieveUser(): Promise; attachUser(user: T, remember: boolean): Promise; detachUser(user: T): Promise; }