/// import * as fsextra from 'fs-extra'; import * as path from 'path'; import { is } from './is'; import { merge } from './merge'; import { unzip, zip } from './zip'; import { ancestor } from './ancestor'; import { match } from './match'; import { env } from './env'; import { stream } from './stream'; import { sort } from './sort'; export declare const fs: { exists: (path: string) => Promise; path: path.PlatformPath; join: (...paths: string[]) => string; resolve: (...pathSegments: string[]) => string; dirname: (p: string) => string; basename: (p: string, ext?: string | undefined) => string; extname: (p: string) => string; size: { toString(input: number | Buffer, options?: import("./size").IFileSizeStringOptions | undefined): string; file(path: string): Promise; dir(path: string): Promise<{ path: string; bytes: number; files: import("./size").IFileSize[]; toString(options?: import("./size").IFileSizeStringOptions | undefined): string; }>; }; stream: typeof stream; glob: { find(pattern: string, input?: import("./glob/Glob").GlobFindFilter | import("./glob/Glob").GlobFindOptions | undefined): Promise; remove(pattern: string, options?: import("./glob/Glob").GlobFindFilter | import("./glob/Glob").GlobFindOptions | undefined): Promise; }; sort: typeof sort; file: { loadAndParse: typeof import("./file/util").loadAndParse; loadAndParseSync: typeof import("./file/util").loadAndParseSync; stringifyAndSave: typeof import("./file/util").stringifyAndSave; stringifyAndSaveSync: typeof import("./file/util").stringifyAndSaveSync; }; ancestor: typeof ancestor; merge: typeof merge; match: typeof match; is: typeof is; env: typeof env; zip: typeof zip; unzip: typeof unzip; copy(src: string, dest: string, options?: fsextra.CopyOptions | undefined): Promise; copy(src: string, dest: string, callback: (err: Error) => void): void; copy(src: string, dest: string, options: fsextra.CopyOptions, callback: (err: Error) => void): void; copySync(src: string, dest: string, options?: fsextra.CopyOptionsSync | undefined): void; copyFile(src: string, dest: string, flags?: number | undefined): Promise; copyFile(src: string, dest: string, callback: (err: Error) => void): void; copyFile(src: string, dest: string, flags: number, callback: (err: Error) => void): void; move(src: string, dest: string, options?: fsextra.MoveOptions | undefined): Promise; move(src: string, dest: string, callback: (err: Error) => void): void; move(src: string, dest: string, options: fsextra.MoveOptions, callback: (err: Error) => void): void; moveSync(src: string, dest: string, options?: fsextra.MoveOptions | undefined): void; createFile(file: string): Promise; createFile(file: string, callback: (err: Error) => void): void; createFileSync(file: string): void; createSymlink(src: string, dest: string, type: fsextra.SymlinkType): Promise; createSymlink(src: string, dest: string, type: fsextra.SymlinkType, callback?: ((err: Error) => void) | undefined): void; createSymlinkSync(src: string, dest: string, type: fsextra.SymlinkType): void; ensureDir(path: string, options?: number | fsextra.EnsureOptions | undefined): Promise; ensureDir(path: string, callback?: ((err: Error) => void) | undefined): void; ensureDir(path: string, options?: number | fsextra.EnsureOptions | undefined, callback?: ((err: Error) => void) | undefined): void; ensureDirSync(path: string, options?: number | fsextra.EnsureOptions | undefined): void; mkdirs(dir: string): Promise; mkdirs(dir: string, callback: (err: Error) => void): void; mkdirp(dir: string): Promise; mkdirp(dir: string, callback: (err: Error) => void): void; mkdirsSync(dir: string): void; mkdirpSync(dir: string): void; outputFile(file: string, data: any, options?: string | fsextra.WriteFileOptions | undefined): Promise; outputFile(file: string, data: any, callback: (err: Error) => void): void; outputFile(file: string, data: any, options: string | fsextra.WriteFileOptions, callback: (err: Error) => void): void; outputFileSync(file: string, data: any, options?: string | fsextra.WriteFileOptions | undefined): void; readJson(file: string, options?: fsextra.ReadOptions | undefined): Promise; readJson(file: string, callback: (err: Error, jsonObject: any) => void): void; readJson(file: string, options: fsextra.ReadOptions, callback: (err: Error, jsonObject: any) => void): void; readJSON(file: string, options?: fsextra.ReadOptions | undefined): Promise; readJSON(file: string, callback: (err: Error, jsonObject: any) => void): void; readJSON(file: string, options: fsextra.ReadOptions, callback: (err: Error, jsonObject: any) => void): void; readJsonSync(file: string, options?: fsextra.ReadOptions | undefined): any; readJSONSync(file: string, options?: fsextra.ReadOptions | undefined): any; remove(dir: string, callback: (err: Error) => void): void; remove(dir: string, callback?: ((err: Error) => void) | undefined): Promise; removeSync(dir: string): void; outputJSON(file: string, data: any, options?: fsextra.WriteOptions | undefined): Promise; outputJSON(file: string, data: any, options: fsextra.WriteOptions, callback: (err: Error) => void): void; outputJSON(file: string, data: any, callback: (err: Error) => void): void; outputJson(file: string, data: any, options?: fsextra.WriteOptions | undefined): Promise; outputJson(file: string, data: any, options: fsextra.WriteOptions, callback: (err: Error) => void): void; outputJson(file: string, data: any, callback: (err: Error) => void): void; outputJsonSync(file: string, data: any, options?: fsextra.WriteOptions | undefined): void; outputJSONSync(file: string, data: any, options?: fsextra.WriteOptions | undefined): void; writeJSON(file: string, object: any, options?: fsextra.WriteOptions | undefined): Promise; writeJSON(file: string, object: any, callback: (err: Error) => void): void; writeJSON(file: string, object: any, options: fsextra.WriteOptions, callback: (err: Error) => void): void; writeJson(file: string, object: any, options?: fsextra.WriteOptions | undefined): Promise; writeJson(file: string, object: any, callback: (err: Error) => void): void; writeJson(file: string, object: any, options: fsextra.WriteOptions, callback: (err: Error) => void): void; writeJsonSync(file: string, object: any, options?: fsextra.WriteOptions | undefined): void; writeJSONSync(file: string, object: any, options?: fsextra.WriteOptions | undefined): void; ensureFile(path: string): Promise; ensureFile(path: string, callback: (err: Error) => void): void; ensureFileSync(path: string): void; ensureLink(src: string, dest: string): Promise; ensureLink(src: string, dest: string, callback: (err: Error) => void): void; ensureLinkSync(src: string, dest: string): void; ensureSymlink(src: string, dest: string, type?: fsextra.SymlinkType | undefined): Promise; ensureSymlink(src: string, dest: string, type: fsextra.SymlinkType, callback: (err: Error) => void): void; ensureSymlink(src: string, dest: string, callback: (err: Error) => void): void; ensureSymlinkSync(src: string, dest: string, type?: fsextra.SymlinkType | undefined): void; emptyDir(path: string): Promise; emptyDir(path: string, callback: (err: Error) => void): void; emptyDirSync(path: string): void; pathExists(path: string): Promise; pathExists(path: string, callback: (err: Error, exists: boolean) => void): void; pathExistsSync(path: string): boolean; access(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; access(path: fsextra.PathLike, mode: number, callback: (err: NodeJS.ErrnoException) => void): void; access(path: fsextra.PathLike, mode?: number | undefined): Promise; appendFile(file: number | fsextra.PathLike, data: any, options: { encoding?: string | undefined; mode?: string | number | undefined; flag?: string | undefined; }, callback: (err: NodeJS.ErrnoException) => void): void; appendFile(file: number | fsextra.PathLike, data: any, callback: (err: NodeJS.ErrnoException) => void): void; appendFile(file: number | fsextra.PathLike, data: any, options?: { encoding?: string | undefined; mode?: string | number | undefined; flag?: string | undefined; } | undefined): Promise; chmod(path: fsextra.PathLike, mode: fsextra.Mode, callback: (err: NodeJS.ErrnoException) => void): void; chmod(path: fsextra.PathLike, mode: fsextra.Mode): Promise; chown(path: fsextra.PathLike, uid: number, gid: number): Promise; chown(path: fsextra.PathLike, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void; close(fd: number, callback: (err: NodeJS.ErrnoException) => void): void; close(fd: number): Promise; fchmod(fd: number, mode: fsextra.Mode, callback: (err: NodeJS.ErrnoException) => void): void; fchmod(fd: number, mode: fsextra.Mode): Promise; fchown(fd: number, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void; fchown(fd: number, uid: number, gid: number): Promise; fdatasync(fd: number, callback: () => void): void; fdatasync(fd: number): Promise; fstat(fd: number, callback: (err: NodeJS.ErrnoException, stats: fsextra.Stats) => any): void; fstat(fd: number): Promise; fsync(fd: number, callback: (err: NodeJS.ErrnoException) => void): void; fsync(fd: number): Promise; ftruncate(fd: number, callback: (err: NodeJS.ErrnoException) => void): void; ftruncate(fd: number, len: number, callback: (err: NodeJS.ErrnoException) => void): void; ftruncate(fd: number, len?: number | undefined): Promise; futimes(fd: number, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException) => void): void; futimes(fd: number, atime: Date, mtime: Date, callback: (err: NodeJS.ErrnoException) => void): void; futimes(fd: number, atime: number, mtime: number): Promise; futimes(fd: number, atime: Date, mtime: Date): Promise; lchown(path: fsextra.PathLike, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void; lchown(path: fsextra.PathLike, uid: number, gid: number): Promise; link(existingPath: fsextra.PathLike, newPath: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; link(existingPath: fsextra.PathLike, newPath: fsextra.PathLike): Promise; lstat(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException, stats: fsextra.Stats) => any): void; lstat(path: fsextra.PathLike): Promise; mkdir(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; mkdir(path: fsextra.PathLike, options: fsextra.Mode | fsextra.MakeDirectoryOptions | null, callback: (err: NodeJS.ErrnoException) => void): void; mkdir(path: fsextra.PathLike, options?: fsextra.Mode | fsextra.MakeDirectoryOptions | null | undefined): Promise; mkdirSync(path: fsextra.PathLike, options?: fsextra.Mode | fsextra.MakeDirectoryOptions | null | undefined): void; open(path: fsextra.PathLike, flags: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; open(path: fsextra.PathLike, flags: string | number, mode: fsextra.Mode, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; open(path: fsextra.PathLike, flags: string | number, mode?: fsextra.Mode | null | undefined): Promise; opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: fsextra.Dir) => void): void; opendir(path: string, options: fsextra.OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: fsextra.Dir) => void): void; opendir(path: string, options?: fsextra.OpenDirOptions | undefined): Promise; read(fd: number, buffer: TBuffer, offset: number, length: number, position: number | null, callback: (err: NodeJS.ErrnoException, bytesRead: number, buffer: TBuffer) => void): void; read(fd: number, buffer: TBuffer_1, offset: number, length: number, position: number | null): Promise<{ bytesRead: number; buffer: TBuffer_1; }>; readFile(file: number | fsextra.PathLike, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; readFile(file: number | fsextra.PathLike, encoding: string, callback: (err: NodeJS.ErrnoException, data: string) => void): void; readFile(file: number | fsextra.PathLike, options: { flag?: string | undefined; } | { encoding: string; flag?: string | undefined; }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; readFile(file: number | fsextra.PathLike, options: { flag?: string | undefined; } | { encoding: string; flag?: string | undefined; }): Promise; readFile(file: number | fsextra.PathLike, encoding: string): Promise; readFile(file: number | fsextra.PathLike): Promise; readdir(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException, files: string[]) => void): void; readdir(path: fsextra.PathLike, options?: BufferEncoding | { encoding: BufferEncoding | null; withFileTypes?: false | undefined; } | null | undefined): Promise; readdir(path: fsextra.PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false | undefined; }): Promise; readdir(path: fsextra.PathLike, options?: { encoding?: string | null | undefined; withFileTypes?: false | undefined; } | undefined): Promise; readdir(path: fsextra.PathLike, options: { encoding?: string | null | undefined; withFileTypes: true; }): Promise; readlink(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException, linkString: string) => any): void; readlink(path: fsextra.PathLike): Promise; realpath: typeof fsextra.realpath; rename(oldPath: fsextra.PathLike, newPath: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; rename(oldPath: fsextra.PathLike, newPath: fsextra.PathLike): Promise; rmdir(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; rmdir(path: fsextra.PathLike): Promise; stat(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException, stats: fsextra.Stats) => any): void; stat(path: fsextra.PathLike): Promise; symlink(target: fsextra.PathLike, path: fsextra.PathLike, type: fsextra.SymlinkType | undefined, callback: (err: NodeJS.ErrnoException) => void): void; symlink(target: fsextra.PathLike, path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; symlink(target: fsextra.PathLike, path: fsextra.PathLike, type?: fsextra.SymlinkType | undefined): Promise; truncate(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; truncate(path: fsextra.PathLike, len: number, callback: (err: NodeJS.ErrnoException) => void): void; truncate(path: fsextra.PathLike, len?: number | undefined): Promise; unlink(path: fsextra.PathLike, callback: (err: NodeJS.ErrnoException) => void): void; unlink(path: fsextra.PathLike): Promise; utimes(path: fsextra.PathLike, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException) => void): void; utimes(path: fsextra.PathLike, atime: Date, mtime: Date, callback: (err: NodeJS.ErrnoException) => void): void; utimes(path: fsextra.PathLike, atime: number, mtime: number): Promise; utimes(path: fsextra.PathLike, atime: Date, mtime: Date): Promise; write(fd: number, buffer: TBuffer_2, offset: number, length: number, position: number | null, callback: (err: NodeJS.ErrnoException, written: number, buffer: TBuffer_2) => void): void; write(fd: number, buffer: TBuffer_3, offset: number, length: number, callback: (err: NodeJS.ErrnoException, written: number, buffer: TBuffer_3) => void): void; write(fd: number, data: any, callback: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; write(fd: number, data: any, offset: number, callback: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; write(fd: number, data: any, offset: number, encoding: string, callback: (err: NodeJS.ErrnoException, written: number, str: string) => void): void; write(fd: number, buffer: TBuffer_4, offset?: number | undefined, length?: number | undefined, position?: number | null | undefined): Promise<{ bytesWritten: number; buffer: TBuffer_4; }>; write(fd: number, data: any, offset?: number | undefined, encoding?: string | undefined): Promise<{ bytesWritten: number; buffer: string; }>; writeFile(file: number | fsextra.PathLike, data: any, callback: (err: NodeJS.ErrnoException) => void): void; writeFile(file: number | fsextra.PathLike, data: any, options?: string | fsextra.WriteFileOptions | undefined): Promise; writeFile(file: number | fsextra.PathLike, data: any, options: string | fsextra.WriteFileOptions, callback: (err: NodeJS.ErrnoException) => void): void; writev(fd: number, buffers: NodeJS.ArrayBufferView[], position: number, cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void): void; writev(fd: number, buffers: NodeJS.ArrayBufferView[], cb: (err: NodeJS.ErrnoException | null, bytesWritten: number, buffers: NodeJS.ArrayBufferView[]) => void): void; writev(fd: number, buffers: NodeJS.ArrayBufferView[], position?: number | undefined): Promise; mkdtemp(prefix: string): Promise; mkdtemp(prefix: string, callback: (err: NodeJS.ErrnoException, folder: string) => void): void; createLink: typeof fsextra.ensureLink; createLinkSync: typeof fsextra.ensureLinkSync; emptydir: typeof fsextra.emptyDir; emptydirSync: typeof fsextra.emptyDirSync; renameSync(oldPath: fsextra.PathLike, newPath: fsextra.PathLike): void; truncateSync(path: fsextra.PathLike, len?: number | null | undefined): void; ftruncateSync(fd: number, len?: number | null | undefined): void; chownSync(path: fsextra.PathLike, uid: number, gid: number): void; fchownSync(fd: number, uid: number, gid: number): void; lchownSync(path: fsextra.PathLike, uid: number, gid: number): void; lutimes: typeof fsextra.lutimes; lutimesSync(path: fsextra.PathLike, atime: string | number | Date, mtime: string | number | Date): void; chmodSync(path: fsextra.PathLike, mode: import("fs").Mode): void; fchmodSync(fd: number, mode: import("fs").Mode): void; lchmod: typeof fsextra.lchmod; lchmodSync(path: fsextra.PathLike, mode: import("fs").Mode): void; statSync(path: fsextra.PathLike, options?: (fsextra.StatOptions & { bigint?: false | undefined; }) | undefined): fsextra.Stats; statSync(path: fsextra.PathLike, options: fsextra.StatOptions & { bigint: true; }): fsextra.BigIntStats; statSync(path: fsextra.PathLike, options?: fsextra.StatOptions | undefined): fsextra.Stats | fsextra.BigIntStats; fstatSync(fd: number, options?: (fsextra.StatOptions & { bigint?: false | undefined; }) | undefined): fsextra.Stats; fstatSync(fd: number, options: fsextra.StatOptions & { bigint: true; }): fsextra.BigIntStats; fstatSync(fd: number, options?: fsextra.StatOptions | undefined): fsextra.Stats | fsextra.BigIntStats; lstatSync(path: fsextra.PathLike, options?: (fsextra.StatOptions & { bigint?: false | undefined; }) | undefined): fsextra.Stats; lstatSync(path: fsextra.PathLike, options: fsextra.StatOptions & { bigint: true; }): fsextra.BigIntStats; lstatSync(path: fsextra.PathLike, options?: fsextra.StatOptions | undefined): fsextra.Stats | fsextra.BigIntStats; linkSync(existingPath: fsextra.PathLike, newPath: fsextra.PathLike): void; symlinkSync(target: fsextra.PathLike, path: fsextra.PathLike, type?: import("fs").symlink.Type | null | undefined): void; readlinkSync(path: fsextra.PathLike, options?: BufferEncoding | fsextra.BaseEncodingOptions | null | undefined): string; readlinkSync(path: fsextra.PathLike, options: fsextra.BufferEncodingOption): Buffer; readlinkSync(path: fsextra.PathLike, options?: string | fsextra.BaseEncodingOptions | null | undefined): string | Buffer; realpathSync: typeof fsextra.realpathSync; unlinkSync(path: fsextra.PathLike): void; rmdirSync(path: fsextra.PathLike, options?: fsextra.RmDirOptions | undefined): void; rm: typeof fsextra.rm; rmSync(path: fsextra.PathLike, options?: fsextra.RmOptions | undefined): void; mkdtempSync(prefix: string, options?: BufferEncoding | fsextra.BaseEncodingOptions | null | undefined): string; mkdtempSync(prefix: string, options: fsextra.BufferEncodingOption): Buffer; mkdtempSync(prefix: string, options?: string | fsextra.BaseEncodingOptions | null | undefined): string | Buffer; readdirSync(path: fsextra.PathLike, options?: BufferEncoding | { encoding: BufferEncoding | null; withFileTypes?: false | undefined; } | null | undefined): string[]; readdirSync(path: fsextra.PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false | undefined; }): Buffer[]; readdirSync(path: fsextra.PathLike, options?: BufferEncoding | (fsextra.BaseEncodingOptions & { withFileTypes?: false | undefined; }) | null | undefined): string[] | Buffer[]; readdirSync(path: fsextra.PathLike, options: fsextra.BaseEncodingOptions & { withFileTypes: true; }): fsextra.Dirent[]; closeSync(fd: number): void; openSync(path: fsextra.PathLike, flags: fsextra.OpenMode, mode?: import("fs").Mode | null | undefined): number; utimesSync(path: fsextra.PathLike, atime: string | number | Date, mtime: string | number | Date): void; futimesSync(fd: number, atime: string | number | Date, mtime: string | number | Date): void; fsyncSync(fd: number): void; writeSync(fd: number, buffer: NodeJS.ArrayBufferView, offset?: number | null | undefined, length?: number | null | undefined, position?: number | null | undefined): number; writeSync(fd: number, string: string, position?: number | null | undefined, encoding?: BufferEncoding | null | undefined): number; readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: number | null): number; readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: fsextra.ReadSyncOptions | undefined): number; readFileSync(path: number | fsextra.PathLike, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer; readFileSync(path: number | fsextra.PathLike, options: { encoding: BufferEncoding; flag?: string | undefined; } | BufferEncoding): string; readFileSync(path: number | fsextra.PathLike, options?: BufferEncoding | (fsextra.BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer; writeFileSync(path: number | fsextra.PathLike, data: string | NodeJS.ArrayBufferView, options?: import("fs").WriteFileOptions | undefined): void; appendFileSync(file: number | fsextra.PathLike, data: string | Uint8Array, options?: import("fs").WriteFileOptions | undefined): void; watchFile(filename: fsextra.PathLike, options: { persistent?: boolean | undefined; interval?: number | undefined; } | undefined, listener: (curr: fsextra.Stats, prev: fsextra.Stats) => void): void; watchFile(filename: fsextra.PathLike, listener: (curr: fsextra.Stats, prev: fsextra.Stats) => void): void; unwatchFile(filename: fsextra.PathLike, listener?: ((curr: fsextra.Stats, prev: fsextra.Stats) => void) | undefined): void; watch(filename: fsextra.PathLike, options: BufferEncoding | { encoding?: BufferEncoding | null | undefined; persistent?: boolean | undefined; recursive?: boolean | undefined; } | null | undefined, listener?: ((event: "rename" | "change", filename: string) => void) | undefined): fsextra.FSWatcher; watch(filename: fsextra.PathLike, options: "buffer" | { encoding: "buffer"; persistent?: boolean | undefined; recursive?: boolean | undefined; }, listener?: ((event: "rename" | "change", filename: Buffer) => void) | undefined): fsextra.FSWatcher; watch(filename: fsextra.PathLike, options: string | { encoding?: BufferEncoding | null | undefined; persistent?: boolean | undefined; recursive?: boolean | undefined; } | null, listener?: ((event: "rename" | "change", filename: string | Buffer) => void) | undefined): fsextra.FSWatcher; watch(filename: fsextra.PathLike, listener?: ((event: "rename" | "change", filename: string) => any) | undefined): fsextra.FSWatcher; existsSync(path: fsextra.PathLike): boolean; accessSync(path: fsextra.PathLike, mode?: number | undefined): void; createReadStream(path: fsextra.PathLike, options?: string | { flags?: string | undefined; encoding?: BufferEncoding | undefined; fd?: number | undefined; mode?: number | undefined; autoClose?: boolean | undefined; emitClose?: boolean | undefined; start?: number | undefined; end?: number | undefined; highWaterMark?: number | undefined; } | undefined): fsextra.ReadStream; createWriteStream(path: fsextra.PathLike, options?: string | { flags?: string | undefined; encoding?: BufferEncoding | undefined; fd?: number | undefined; mode?: number | undefined; autoClose?: boolean | undefined; emitClose?: boolean | undefined; start?: number | undefined; highWaterMark?: number | undefined; } | undefined): fsextra.WriteStream; fdatasyncSync(fd: number): void; copyFileSync(src: fsextra.PathLike, dest: fsextra.PathLike, flags?: number | undefined): void; writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number | undefined): number; readv: typeof fsextra.readv; readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number | undefined): number; opendirSync(path: string, options?: fsextra.OpenDirOptions | undefined): fsextra.Dir; promises: typeof fsextra.promises; Stats: typeof fsextra.Stats; Dirent: typeof fsextra.Dirent; Dir: typeof fsextra.Dir; ReadStream: typeof fsextra.ReadStream; WriteStream: typeof fsextra.WriteStream; constants: typeof fsextra.constants; BigIntStats: typeof fsextra.BigIntStats; };