/** Defines which methods must be supported by a replacement filesystem */ export interface FileSystem { ensureDir ( path ) : Promise < void > ; writeFile ( file , data , options ? ) : Promise < void > ; readFile ( file , encoding ) : Promise < string > ; pathExists ( path ) : Promise < boolean > ; }