import * as session from 'express-session'; export declare class MemSessionStore extends session.Store { private readonly sessionMap; constructor(ttl: number, maxCapacity?: number); all: (callback: (error: any, values: any) => void) => void; clear: (callback?: (err?: any) => void) => void; destroy: (sessionId: string, callback?: (error?: any) => void) => void; get: (sessionId: string, callback: (error: any, session: any) => void) => void; length: (callback: (error: any, length: number) => void) => void; set: (sessionId: string, session: any, callback?: (error?: any) => void) => void; touch: (sessionId: string, session: any, callback?: (error?: any) => any) => void; }