import * as fs from 'fs'; export { createReadStream, createWriteStream, watch, watchFile, unwatchFile, Stats, FSWatcher, ReadStream, WriteStream, F_OK, R_OK, W_OK, X_OK } from 'fs'; export declare function access(path: string, mode?: number | string): Promise; export declare function appendFile(file: string | number, data: any, options?: { encoding?: 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8'; mode?: number | string; flag?: 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+'; }): Promise; export declare function chmod(path: string, mode: number | string): Promise; export declare function chown(path: string, uid: number, gid: number): Promise; export declare function close(fd: number): Promise; export declare function fchmod(fd: number, mode: number | string): Promise; export declare function fchown(fd: number, uid: number, gid: number): Promise; export declare function fstat(fd: number): Promise; export declare function ftruncate(fd: number, len?: number): Promise; export declare function futimes(fd: number, atime: Date | number, mtime: Date | number): Promise; export declare function fsync(fd: number): Promise; export declare function lchmod(path: string, mode: number | string): Promise; export declare function lchown(path: string, uid: number, gid: number): Promise; export declare function link(srcpath: string, dstpath: string): Promise; export declare function lstat(path: string): Promise; export declare function mkdir(path: string, mode?: number | string): Promise; export declare function mkdtemp(path: string): Promise; export declare function open(path: string, flags: 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+', mode?: number | string): Promise; export declare function read(fd: number, buffer: Buffer, offset: number, length: number, position: number): Promise<{ bytesRead: number; buffer: Buffer; }>; export declare function readdir(path: string): Promise; export declare function readFile(file: string | number, options?: { encoding?: 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8'; flag?: 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+'; } | 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8' | 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+'): Promise; export declare function readlink(path: string): Promise; export declare function realpath(path: string, cache?: { [path: string]: string; }): Promise; export declare function rename(oldPath: string, newPath: string): Promise; export declare function rmdir(path: string): Promise; export declare function stat(path: string): Promise; export declare function symlink(srcpath: string, dstpath: string, type?: string): Promise; export declare function truncate(path: string, len?: number): Promise; export declare function unlink(path: string): Promise; export declare function utimes(path: string, atime: Date | number, mtime: Date | number): Promise; export declare function write(fd: number, buffer: Buffer, offset: number, length: number, position?: number): Promise<{ written: number; buffer: Buffer; }>; export declare function write(fd: number, data: any, offset?: number, encoding?: 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8'): Promise<{ written: number; buffer: Buffer; }>; export declare function writeFile(file: string | number, data: string | any, options?: { encoding?: 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8'; flag?: 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+'; mode?: number | string; } | 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8' | 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+'): Promise; export declare function readTextFile(file: string | number, encoding?: 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8', flags?: 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+'): Promise; export declare function writeTextFile(file: string | number, data: string, encoding?: 'ascii' | 'base64' | 'binary' | 'hex' | 'ucs2' | 'utf16le' | 'utf8', flags?: 'r' | 'r+' | 'rs' | 'rs+' | 'w' | 'wx' | 'w+' | 'wx+' | 'a' | 'ax' | 'a+' | 'ax+', mode?: number | string): Promise; export declare function createDirectory(path: string, mode?: number | string): Promise; export { createDirectory as mkdirp }; declare function del(path: string): Promise; export { del as delete }; export { del as rimraf }; export declare function exists(path: string): Promise;