import * as i0 from "@angular/core"; export declare class LocalStoragService { private memoryStore; private readonly useLocalStorage; private _prefix; get prefix(): string; set prefix(prefix: string); constructor(); /** * Gets an item. * @param key Key to identify the item * @returns The item (if any) retrieved by the key */ getItem(key: string): string | null; /** * Stores an item * @param key Key to identify the item * @param data Data to store */ setItem(key: string, data: string): void; /** Removes all currently stored items. */ clear(): void; /** * Removes a single item. * @param key Key to identify the item */ removeItem(key: string): void; /** * Is any item currently stored under `key`? * @param key Key identifying item to check * @returns True if key retrieves an item, false otherwise */ hasItem(key: string): boolean; private storageAvailable; getLocal(key: string): any; setLocal(key: string, value: any): void; removeLocal(key: string): void; removeAllLocals(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }