import { SessionRecord } from "../../config/Interfaces/Auth/auth.interface"; /** * In-memory-only session store for the Control Server. Sessions never touch disk * and are lost on process restart by design - this is the literal "store the * session on server in memory only" requirement. */ declare class SessionStore { private static instance; private readonly sessions; private sweepIntervalHandle; static getInstance(): SessionStore; createSession(username: string, role: string, mustChangePassword: boolean): SessionRecord; getSession(sid: string): SessionRecord | null; touchSession(sid: string): void; updateSessionMustChangePassword(sid: string, mustChangePassword: boolean): void; revokeSession(sid: string): void; revokeSessionsForUser(username: string): void; countActiveSessions(): number; startCleanupSweep(): void; stopCleanupSweep(): void; } declare const _default: SessionStore; export default _default;