/** * A key-value store that persists data using local storage. */ export default class LocalStoreContext { private context; private contextNamespace; constructor(contextName: string); /** * Set a value in local storage. * @param key The key to store the value under. * @param value The value to store. */ set(key: string, value: string | number | boolean, valueType: 'string' | 'number' | 'boolean'): void; get(key: string): string | number | boolean; remove(key: string): void; length(): number; clear(): void; private rehydrateContext; private persistContext; }