export interface Store { get(key: string): Promise; set(key: string, value: string | null): Promise; } export declare class StoreObj { private readonly store; private readonly key; private readonly defaultValue; constructor(store: Store, key: string, defaultValue: T); get(): Promise; set(value: T): Promise; } export declare class LocalStore implements Store { private readonly store; constructor(); get(key: string): Promise; set(key: string, value: string | null): Promise; } export declare class WindowLocalStorage implements Store { static isAvailable(): boolean; constructor(); get(key: string): Promise; set(key: string, value: string | null): Promise; } export declare class MemoryStore implements Store { private store; constructor(); get(key: string): Promise; set(key: string, value: string | null): Promise; }