import { SessionStore } from '../interfaces/session-store.interface'; import { NestAuthSession } from '../entities/session.entity'; import { NestAuthUser } from '../../user/entities/user.entity'; import { NestAuthUserAccess } from '../../user/entities/user-access.entity'; import { NestAuthPlatformAccess } from '../../user/entities/platform-access.entity'; export declare const SESSION_STORE = "SESSION_STORE"; export declare const SESSION_REPOSITORY = "SESSION_REPOSITORY"; export declare class SessionManagerService { private readonly store; constructor(store: SessionStore); private get options(); private get maxSessionsPerUser(); private get slidingExpiration(); createSession(payload: { userId: string; refreshToken?: string; data?: any; userAgent?: string; deviceName?: string; ipAddress?: string; }): Promise; private shouldTouchSession; private getTouchIntervalMs; getSession(sessionId: string): Promise; getUserSessions(userId: string): Promise; getActiveSessions(userId: string): Promise; updateSession(sessionId: string, updates: Partial): Promise; revokeSession(sessionId: string, reason?: 'logout' | 'expired' | 'admin' | 'security' | 'password_change'): Promise; deleteSession(sessionId: string, reason?: 'logout' | 'expired' | 'admin' | 'security' | 'password_change'): Promise; revokeAllUserSessions(userId: string): Promise; revokeOtherSessions(userId: string, currentSessionId: string): Promise; cleanupExpiredSessions(): Promise; touchSession(sessionId: string): Promise; rotateSession(sessionId: string): Promise; validateSession(sessionId: string): Promise; hasReachedMaxSessions(userId: string): Promise; private enforceMaxSessions; private calculateExpiration; private isExpired; createSessionFromUser(user: NestAuthUser, userAccess: NestAuthUserAccess, extraData?: { isMfaVerified?: boolean; tenantId?: string | null; isPlatformAccess?: boolean; platformAccess?: NestAuthPlatformAccess; }): Promise; refreshSession(session: NestAuthSession): Promise; getCurrentSessions(userId: string): Promise; } //# sourceMappingURL=session-manager.service.d.ts.map