import {Observable} from "lstream"; export interface StorageUpdateEvent { path: string; timestamp: number } export interface Repository extends Observable { set(path: string, content: string): Promise; get(path: string): Promise; remove(path: string): Promise; list(path: string): Promise<{ name: string, path: string, type: string}[]>; exists(path: string): Promise; }