import { h as SessionStore, R as RedisSessionConfig, b as SessionData, i as SessionStats } from '../ZeroDBSessionStore-BQisM5nM.js'; export { B as BaseSessionConfig, C as CreateSessionOptions, E as ExpirationStrategy, d as InMemorySessionConfig, I as InMemorySessionStore, L as ListSessionsOptions, j as RefreshSessionOptions, a as Session, c as SessionConfig, f as SessionEvent, k as SessionEventPayload, S as SessionManager, g as StorageBackend, U as UpdateSessionOptions, e as ZeroDBSessionConfig, Z as ZeroDBSessionStore } from '../ZeroDBSessionStore-BQisM5nM.js'; /** * Redis session store implementation * Provides persistent, distributed session storage using Redis */ /** * Redis session store with automatic expiration */ declare class RedisSessionStore implements SessionStore { private redis; private keyPrefix; private userIndexPrefix; constructor(config: Omit); /** * Get the full Redis key for a session */ private getSessionKey; /** * Get the user index key */ private getUserIndexKey; /** * Get a session by ID */ get(sessionId: string): Promise; /** * Set/update a session */ set(sessionId: string, data: SessionData): Promise; /** * Delete a session */ delete(sessionId: string): Promise; /** * Check if a session exists */ exists(sessionId: string): Promise; /** * Get all sessions for a user */ getByUserId(userId: string): Promise>; /** * Delete all sessions for a user */ deleteByUserId(userId: string): Promise; /** * Get all session IDs */ getAllSessionIds(): Promise; /** * Remove expired sessions * Note: Redis handles expiration automatically, so this is a no-op */ cleanup(): Promise; /** * Get session statistics */ getStats(): Promise; /** * Acquire a lock for a session using Redis SET NX */ acquireLock(sessionId: string, timeout: number): Promise; /** * Release a lock for a session */ releaseLock(sessionId: string): Promise; /** * Close the Redis connection */ close(): Promise; } export { RedisSessionConfig, RedisSessionStore, SessionData, SessionStats, SessionStore };