/// import { Readable } from 'stream'; export interface Filesystem { read(filePath: string): Promise; write(filePath: string, readStream: any): Promise; append(filePath: string, readStream: any): Promise; isFile(filePath: string): Promise; isDirectory(filePath: string): Promise; exists(filePath: string): Promise; delete(filePath: string): Promise; deleteDirectory(filePath: string): Promise; url(filePath: string): Promise; mime(filePath: string): Promise; extension(filePath: string): Promise; }