import { Guard } from './Guard'; import { IAuthenticatable } from '../interfaces/IAuthenticatable'; export declare type JwtGuardOptions = { secret: string; expireInMinute: number; encrypt: boolean; encryptPassword: string; encryptAlgorithm: string; encryptedPrefix: string; }; export declare class JwtGuard extends Guard { protected options: JwtGuardOptions; protected initialize(): void; protected getToken(): string; protected encryptToken(token: string): string; protected decryptToken(input: string): string; hasUser(): boolean; hasUser(user: T): boolean; retrieveUser(): Promise; attachUser(user: T, remember: boolean): Promise; detachUser(user: T): Promise; }