export declare class LocalStorage { private readonly _key; private readonly _parser; constructor(_key: string, _parser?: (storedValue: string) => T); set(item: T | null): void; get(): T | null; private get available(); }