import { Store } from "./store"; import { ConfigData } from "../types/session"; declare class RedisStore implements Store { private _redisClient; private REDIS_CLIENT_OPTS; constructor(config: ConfigData); create(key: string, data: any): Promise<{ sessionId: string; }>; update: (id: string, newData: any) => Promise<{ sessionId: string; }>; createH(hash: string, key: string, data: any): Promise<{ hash: string; sessionId: string; }>; getAll(hash: string): Promise<{ [x: string]: string; }>; getByIdH(hash: string, id: string): Promise; getById(id: string): Promise; delete(key: string): Promise; deleteH(hash: string, key: string): Promise; deleteAll(hash: string): Promise; } export default RedisStore;