import {Observable} from "lstream"; export interface StorageUpdateEvent { path: string; timestamp: number } export interface Storage extends Observable { set(path: string, content: string): Promise; get(path: string): Promise; remove(path: string): Promise; list(path: string): Promise; exists(path: string): Promise; }