import type { SessionInfo, SessionState, SessionCreationOptions } from './types.js'; import type { pino } from 'pino'; export declare class SessionStateManager { private readonly logger; private sessions; private userSessions; constructor(logger: pino.Logger); createSession(sessionId: string, userId: string, connectionId: string, options?: SessionCreationOptions): Promise; updateSession(sessionId: string, updates: Partial): SessionInfo | null; addConnection(sessionId: string, connectionId: string): boolean; removeConnection(sessionId: string, connectionId: string): boolean; removeSession(sessionId: string): Promise; getSession(sessionId: string): SessionInfo | undefined; getAllSessions(): SessionInfo[]; getUserSessions(userId: string): SessionInfo[]; transitionState(sessionId: string, newState: SessionState): boolean; getSessionCountByState(): Record; markExpiringSessions(timeout: number): string[]; private addUserSession; private removeUserSession; } //# sourceMappingURL=state-manager.d.ts.map