import { SessionStore } from "./session"; type RedisClientV4 = { connect(): Promise; get(key: string): Promise; set(key: string, value: string, options?: { EX?: number; }): Promise; del(key: string): Promise; keys(pattern: string): Promise; disconnect(): Promise; }; export declare class RedisSessionStore implements SessionStore { private readonly client; private readonly prefix; constructor(client: RedisClientV4, options?: { prefix?: string; ttlSeconds?: number; }); private key; get(id: string): Record | undefined; getAsync(id: string): Promise | undefined>; set(id: string, data: Record): void; setAsync(id: string, data: Record, ttlSeconds?: number): Promise; destroy(id: string): void; destroyAsync(id: string): Promise; destroyAll(): void; destroyAllAsync(): Promise; regenerate(oldId: string, data: Record): string; regenerateAsync(oldId: string, newId: string, data: Record): Promise; sweepAsync(): Promise; } export declare function connectRedisSessionStore(url: string, options?: { prefix?: string; ttlSeconds?: number; }): Promise; export {}; //# sourceMappingURL=redis-session.d.ts.map