import type { Redis } from 'ioredis'; import type { SessionStore } from '../../contracts/SessionStore.js'; /** * Redis-backed session store with TTL aligned to session lifetime. */ export declare class RedisStore implements SessionStore { private readonly redis; private readonly prefix; private ttlSeconds; /** * @param redis - Shared Redis connection. * @param prefix - Key prefix. * @param lifetimeMinutes - Session lifetime used as TTL. */ constructor(redis: Redis, prefix: string, lifetimeMinutes: number); /** * @inheritdoc */ open(_savePath: string, _sessionName: string): Promise; /** * @inheritdoc */ close(): Promise; /** * @inheritdoc */ read(sessionId: string): Promise; /** * @inheritdoc */ write(sessionId: string, data: string): Promise; /** * @inheritdoc */ destroy(sessionId: string): Promise; /** * @inheritdoc */ gc(_maxLifetime: number): Promise; private key; } //# sourceMappingURL=RedisStore.d.ts.map