import fs from "fs" ; /** Provides a wrapper interface for file system operations. */ interface IFileSystemWrapper { param path returns lstatAsync ( path ) : Promise < fs . Stats > ; param path rmdirAsync ( path ) : Promise < void > ; param path unlinkAsync ( path ) : Promise < void > ; param oldPath param newPath renameAsync ( oldPath , newPath ) : Promise < void > ; param path param mode mkdirAsync ( path , mode ? ) : Promise < void > ; param arg1 param arg2 copyAsync ( arg1 , arg2 ) : Promise < void > ; param path param data param options writeFileAsync ( path , data , options ? ) : Promise < void > ; param path param mode accessAsync ( path , mode ? ) : Promise < void > ; param path param options returns readdirAsync ( path , options ? ) : Promise < string [ ] > ; } export default IFileSystemWrapper ;