export declare class LocalStorage<T> {
    readonly key: string;
    private storage;
    constructor(key: string);
    /**
     * localstorage is not available in SSR, so get it only at time of use
     */
    getStorage(): Storage | null;
    get(): T | undefined;
    set(value: T): void;
    clear(): void;
}
