/// /// import { Writable, Readable } from 'stream'; import * as fs from 'fs'; declare type FSMethods = 'renameSync' | 'ftruncateSync' | 'truncateSync' | 'chownSync' | 'fchownSync' | 'lchownSync' | 'chmodSync' | 'fchmodSync' | 'lchmodSync' | 'statSync' | 'lstatSync' | 'fstatSync' | 'linkSync' | 'symlinkSync' | 'readlinkSync' | 'realpathSync' | 'unlinkSync' | 'rmdirSync' | 'mkdirSync' | 'readdirSync' | 'closeSync' | 'openSync' | 'utimesSync' | 'futimesSync' | 'fsyncSync' | 'writeSync' | 'readSync' | 'readFileSync' | 'writeFileSync' | 'appendFileSync' | 'existsSync' | 'accessSync' | 'createReadStream' | 'createWriteStream' | 'watchFile' | 'unwatchFile' | 'watch' | 'rename' | 'ftruncate' | 'truncate' | 'chown' | 'fchown' | 'lchown' | 'chmod' | 'fchmod' | 'lchmod' | 'stat' | 'lstat' | 'fstat' | 'link' | 'symlink' | 'readlink' | 'realpath' | 'unlink' | 'rmdir' | 'mkdir' | 'readdir' | 'close' | 'open' | 'utimes' | 'futimes' | 'fsync' | 'write' | 'read' | 'readFile' | 'writeFile' | 'appendFile' | 'exists' | 'access'; declare type FS = Pick; export interface IFS extends FS { WriteStream: typeof Writable | (new (...args: any[]) => Writable); ReadStream: typeof Readable | (new (...args: any[]) => Readable); } export {};