import session from 'express-session'; import { Request } from 'express'; export declare class Session { private readonly req; readonly session: session.SessionData; constructor(req: Request); has(key: string): boolean; get(key: string, defaultValue?: T): T | undefined; set(key: string, value: T): void; flash(key: string, msg: any): number; getFlash(key: string): string[]; reflash(key: string): string[]; destroy(): Promise; }