import { BaseSessionRepository } from './base-session.repository'; import { NestAuthSession } from '../entities/session.entity'; import { SessionPayload } from '../../core/interfaces/token-payload.interface'; export interface RedisSessionStoreOptions { keyPrefix?: string; ttlSeconds?: number; } export declare class RedisSessionStore extends BaseSessionRepository { private readonly keyPrefix; private readonly userSessionsPrefix; private readonly defaultTtlSeconds?; private readonly redis; constructor(redisClient: any, options?: RedisSessionStoreOptions); private normalizePrefix; private getSessionKey; private getUserSessionsKey; private getTtlSeconds; private serializeSessionPartial; create(session: SessionPayload): Promise; findById(sessionId: string): Promise; findByUserId(userId: string): Promise; findActiveByUserId(userId: string): Promise; update(sessionId: string, updates: Partial): Promise; delete(sessionId: string): Promise; deleteByUserId(userId: string): Promise; deleteExpired(): Promise; countActiveByUserId(userId: string): Promise; updateLastActive(sessionId: string): Promise; healthCheck(): Promise; } export { RedisSessionStore as RedisSessionRepository }; //# sourceMappingURL=redis-session.repository.d.ts.map