import * as i0 from "@angular/core"; export declare class StorageService { 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; /** * Gets all items from the storage. * * @returns All items stored */ getItems(): { [key: string]: any; }; /** * 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; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }