import { SetOptions, Store } from './store'; export declare class MemoryStoreError extends Error { constructor(message: string); } /** A RedisStore that is backed JavaScript memory. */ export declare class MemoryStore implements Store { #private; constructor(); del(key: string): Promise; llen(key: string): Promise; lset(key: string, index: number, value: string): Promise; lindex(key: string, index: number): Promise; rpush(key: string, value: string): Promise; lpush(key: string, value: string): Promise; rpop(key: string): Promise; lpop(key: string): Promise; lrange(key: string, start: number, end: number): Promise; get(key: string): Promise; keys(pattern: string): Promise; exists(key: string): Promise; expire(key: string, seconds: number): Promise; set(key: string, value: string, options?: SetOptions): Promise; disconnect(): void; /** Creates a singleton instance of a memory store */ static Singleton(): Store; /** Creates a new in memory redis store */ static Create(): Store; }