export interface StorageFacade { /** * Returns the value of the provided key from the storage * @param key Key of the value to retrieve * @return The value associated to the provided key or undefined if not found. */ getItem(key: string): Promise; /** * Set an item in the storage for the given key * @param key Key of the value to set * @param valueToStore */ setItem(key: string, valueToStore: T): Promise; /** * Removes the item with the given key from the storage. * @param key The key of the item to remove. */ removeItem(key: string): Promise; }