/// import { S3, S3Config } from './types'; export * from './types'; import { s3 } from './s3'; export { s3 }; export declare const fs: { s3(args: S3Config): S3; exists: (path: string) => Promise; path: import("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("@platform/fs/lib/size").IFileSizeStringOptions | undefined): string; file(path: string): Promise; dir(path: string): Promise<{ path: string; bytes: number; files: import("@platform/fs/lib/size").IFileSize[]; toString(options?: import("@platform/fs/lib/size").IFileSizeStringOptions | undefined): string; }>; }; stream: typeof import("@platform/fs/lib/stream/stream"); glob: typeof import("@platform/fs/lib/glob/glob"); sort: typeof import("@platform/fs/lib/sort/sort"); file: { loadAndParse: typeof import("@platform/fs/lib/file/util").loadAndParse; loadAndParseSync: typeof import("@platform/fs/lib/file/util").loadAndParseSync; stringifyAndSave: typeof import("@platform/fs/lib/file/util").stringifyAndSave; stringifyAndSaveSync: typeof import("@platform/fs/lib/file/util").stringifyAndSaveSync; }; ancestor: typeof import("@platform/fs/lib/ancestor").ancestor; merge: typeof import("@platform/fs/lib/merge").merge; match: typeof import("@platform/fs/lib/match").match; is: typeof import("@platform/fs/lib/is/is"); env: typeof import("@platform/fs/lib/env/env"); zip: typeof import("@platform/fs/lib/zip").zip; unzip: typeof import("@platform/fs/lib/zip").unzip; copy(src: string, dest: string, options?: import("fs-extra").CopyOptions | undefined): Promise; copy(src: string, dest: string, callback: (err: Error) => void): void; copy(src: string, dest: string, options: import("fs-extra").CopyOptions, callback: (err: Error) => void): void; copySync(src: string, dest: string, options?: import("fs-extra").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?: import("fs-extra").MoveOptions | undefined): Promise; move(src: string, dest: string, callback: (err: Error) => void): void; move(src: string, dest: string, options: import("fs-extra").MoveOptions, callback: (err: Error) => void): void; moveSync(src: string, dest: string, options?: import("fs-extra").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: import("fs-extra").SymlinkType): Promise; createSymlink(src: string, dest: string, type: import("fs-extra").SymlinkType, callback?: ((err: Error) => void) | undefined): void; createSymlinkSync(src: string, dest: string, type: import("fs-extra").SymlinkType): void; ensureDir(path: string, options?: number | import("fs-extra").EnsureOptions | undefined): Promise; ensureDir(path: string, options?: number | import("fs-extra").EnsureOptions | undefined, callback?: ((err: Error) => void) | undefined): void; ensureDirSync(path: string, options?: number | import("fs-extra").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 | import("fs-extra").WriteFileOptions | undefined): Promise; outputFile(file: string, data: any, callback: (err: Error) => void): void; outputFile(file: string, data: any, options: string | import("fs-extra").WriteFileOptions, callback: (err: Error) => void): void; outputFileSync(file: string, data: any, options?: string | import("fs-extra").WriteFileOptions | undefined): void; readJson(file: string, options?: import("fs-extra").ReadOptions | undefined): Promise; readJson(file: string, callback: (err: Error, jsonObject: any) => void): void; readJson(file: string, options: import("fs-extra").ReadOptions, callback: (err: Error, jsonObject: any) => void): void; readJSON(file: string, options?: import("fs-extra").ReadOptions | undefined): Promise; readJSON(file: string, callback: (err: Error, jsonObject: any) => void): void; readJSON(file: string, options: import("fs-extra").ReadOptions, callback: (err: Error, jsonObject: any) => void): void; readJsonSync(file: string, options?: import("fs-extra").ReadOptions | undefined): any; readJSONSync(file: string, options?: import("fs-extra").ReadOptions | undefined): any; remove(dir: string): Promise; remove(dir: string, callback: (err: Error) => void): void; removeSync(dir: string): void; outputJSON(file: string, data: any, options?: import("fs-extra").WriteOptions | undefined): Promise; outputJSON(file: string, data: any, options: import("fs-extra").WriteOptions, callback: (err: Error) => void): void; outputJSON(file: string, data: any, callback: (err: Error) => void): void; outputJson(file: string, data: any, options?: import("fs-extra").WriteOptions | undefined): Promise; outputJson(file: string, data: any, options: import("fs-extra").WriteOptions, callback: (err: Error) => void): void; outputJson(file: string, data: any, callback: (err: Error) => void): void; outputJsonSync(file: string, data: any, options?: import("fs-extra").WriteOptions | undefined): void; outputJSONSync(file: string, data: any, options?: import("fs-extra").WriteOptions | undefined): void; writeJSON(file: string, object: any, options?: import("fs-extra").WriteOptions | undefined): Promise; writeJSON(file: string, object: any, callback: (err: Error) => void): void; writeJSON(file: string, object: any, options: import("fs-extra").WriteOptions, callback: (err: Error) => void): void; writeJson(file: string, object: any, options?: import("fs-extra").WriteOptions | undefined): Promise; writeJson(file: string, object: any, callback: (err: Error) => void): void; writeJson(file: string, object: any, options: import("fs-extra").WriteOptions, callback: (err: Error) => void): void; writeJsonSync(file: string, object: any, options?: import("fs-extra").WriteOptions | undefined): void; writeJSONSync(file: string, object: any, options?: import("fs-extra").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?: "file" | "dir" | "junction" | undefined): Promise; ensureSymlink(src: string, dest: string, type: import("fs-extra").SymlinkType, callback: (err: Error) => void): void; ensureSymlink(src: string, dest: string, callback: (err: Error) => void): void; ensureSymlinkSync(src: string, dest: string, type?: "file" | "dir" | "junction" | 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: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; access(path: import("fs").PathLike, mode: number, callback: (err: NodeJS.ErrnoException) => void): void; access(path: import("fs").PathLike, mode?: number | undefined): Promise; appendFile(file: string | number | Buffer | import("url").URL, data: any, options: { encoding?: string | undefined; mode?: string | number | undefined; flag?: string | undefined; }, callback: (err: NodeJS.ErrnoException) => void): void; appendFile(file: string | number | Buffer | import("url").URL, data: any, callback: (err: NodeJS.ErrnoException) => void): void; appendFile(file: string | number | Buffer | import("url").URL, data: any, options?: { encoding?: string | undefined; mode?: string | number | undefined; flag?: string | undefined; } | undefined): Promise; chmod(path: import("fs").PathLike, mode: string | number, callback: (err: NodeJS.ErrnoException) => void): void; chmod(path: import("fs").PathLike, mode: string | number): Promise; chown(path: import("fs").PathLike, uid: number, gid: number): Promise; chown(path: import("fs").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: string | number, callback: (err: NodeJS.ErrnoException) => void): void; fchmod(fd: number, mode: string | number): 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: import("fs").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: import("fs").PathLike, uid: number, gid: number, callback: (err: NodeJS.ErrnoException) => void): void; lchown(path: import("fs").PathLike, uid: number, gid: number): Promise; link(existingPath: import("fs").PathLike, newPath: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; link(existingPath: import("fs").PathLike, newPath: import("fs").PathLike): Promise; lstat(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException, stats: import("fs").Stats) => any): void; lstat(path: import("fs").PathLike): Promise; mkdir(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; mkdir(path: import("fs").PathLike, options: string | number | import("fs").MakeDirectoryOptions | null, callback: (err: NodeJS.ErrnoException) => void): void; mkdir(path: import("fs").PathLike): Promise; open(path: import("fs").PathLike, flags: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; open(path: import("fs").PathLike, flags: string | number, mode: string | number, callback: (err: NodeJS.ErrnoException, fd: number) => void): void; open(path: import("fs").PathLike, flags: string | number, mode?: string | number | null | undefined): Promise; opendir(path: string, cb: (err: NodeJS.ErrnoException | null, dir: import("fs").Dir) => void): void; opendir(path: string, options: import("fs").OpenDirOptions, cb: (err: NodeJS.ErrnoException | null, dir: import("fs").Dir) => void): void; opendir(path: string, options?: import("fs").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: string | number | Buffer | import("url").URL, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; readFile(file: string | number | Buffer | import("url").URL, encoding: string, callback: (err: NodeJS.ErrnoException, data: string) => void): void; readFile(file: string | number | Buffer | import("url").URL, options: { flag?: string | undefined; } | { encoding: string; flag?: string | undefined; }, callback: (err: NodeJS.ErrnoException, data: Buffer) => void): void; readFile(file: string | number | Buffer | import("url").URL, options: { flag?: string | undefined; } | { encoding: string; flag?: string | undefined; }): Promise; readFile(file: string | number | Buffer | import("url").URL, encoding: string): Promise; readFile(file: string | number | Buffer | import("url").URL): Promise; readdir(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException, files: string[]) => void): void; readdir(path: import("fs").PathLike, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | { encoding: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | null; withFileTypes?: false | undefined; } | null | undefined): Promise; readdir(path: import("fs").PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false | undefined; }): Promise; readdir(path: import("fs").PathLike, options?: { encoding?: string | null | undefined; withFileTypes?: false | undefined; } | undefined): Promise; readdir(path: import("fs").PathLike, options: { encoding?: string | null | undefined; withFileTypes: true; }): Promise; readlink(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException, linkString: string) => any): void; readlink(path: import("fs").PathLike): Promise; realpath(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; realpath(path: import("fs").PathLike, cache: { [path: string]: string; }, callback: (err: NodeJS.ErrnoException, resolvedPath: string) => any): void; realpath(path: import("fs").PathLike, cache?: { [path: string]: string; } | undefined): Promise; rename(oldPath: import("fs").PathLike, newPath: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; rename(oldPath: import("fs").PathLike, newPath: import("fs").PathLike): Promise; rmdir(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; rmdir(path: import("fs").PathLike): Promise; stat(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException, stats: import("fs").Stats) => any): void; stat(path: import("fs").PathLike): Promise; symlink(target: import("fs").PathLike, path: import("fs").PathLike, type: "file" | "dir" | "junction" | undefined, callback: (err: NodeJS.ErrnoException) => void): void; symlink(target: import("fs").PathLike, path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; symlink(target: import("fs").PathLike, path: import("fs").PathLike, type?: "file" | "dir" | "junction" | undefined): Promise; truncate(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; truncate(path: import("fs").PathLike, len: number, callback: (err: NodeJS.ErrnoException) => void): void; truncate(path: import("fs").PathLike, len?: number | undefined): Promise; unlink(path: import("fs").PathLike, callback: (err: NodeJS.ErrnoException) => void): void; unlink(path: import("fs").PathLike): Promise; utimes(path: import("fs").PathLike, atime: number, mtime: number, callback: (err: NodeJS.ErrnoException) => void): void; utimes(path: import("fs").PathLike, atime: Date, mtime: Date, callback: (err: NodeJS.ErrnoException) => void): void; utimes(path: import("fs").PathLike, atime: number, mtime: number): Promise; utimes(path: import("fs").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: string | number | Buffer | import("url").URL, data: any, callback: (err: NodeJS.ErrnoException) => void): void; writeFile(file: string | number | Buffer | import("url").URL, data: any, options?: string | import("fs-extra").WriteFileOptions | undefined): Promise; writeFile(file: string | number | Buffer | import("url").URL, data: any, options: string | import("fs-extra").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 import("fs-extra").ensureLink; createLinkSync: typeof import("fs-extra").ensureLinkSync; emptydir: typeof import("fs-extra").emptyDir; emptydirSync: typeof import("fs-extra").emptyDirSync; renameSync(oldPath: import("fs").PathLike, newPath: import("fs").PathLike): void; truncateSync(path: import("fs").PathLike, len?: number | null | undefined): void; ftruncateSync(fd: number, len?: number | null | undefined): void; chownSync(path: import("fs").PathLike, uid: number, gid: number): void; fchownSync(fd: number, uid: number, gid: number): void; lchownSync(path: import("fs").PathLike, uid: number, gid: number): void; lutimes: typeof import("fs").lutimes; lutimesSync(path: import("fs").PathLike, atime: string | number | Date, mtime: string | number | Date): void; chmodSync(path: import("fs").PathLike, mode: string | number): void; fchmodSync(fd: number, mode: string | number): void; lchmod: typeof import("fs").lchmod; lchmodSync(path: import("fs").PathLike, mode: string | number): void; statSync(path: import("fs").PathLike, options: import("fs").BigIntOptions): import("fs").BigIntStats; statSync(path: import("fs").PathLike, options: import("fs").StatOptions): import("fs").Stats | import("fs").BigIntStats; statSync(path: import("fs").PathLike): import("fs").Stats; fstatSync(fd: number): import("fs").Stats; lstatSync(path: import("fs").PathLike): import("fs").Stats; linkSync(existingPath: import("fs").PathLike, newPath: import("fs").PathLike): void; symlinkSync(target: import("fs").PathLike, path: import("fs").PathLike, type?: "file" | "dir" | "junction" | null | undefined): void; readlinkSync(path: import("fs").PathLike, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | import("fs").BaseEncodingOptions | null | undefined): string; readlinkSync(path: import("fs").PathLike, options: import("fs").BufferEncodingOption): Buffer; readlinkSync(path: import("fs").PathLike, options?: string | import("fs").BaseEncodingOptions | null | undefined): string | Buffer; realpathSync: typeof import("fs").realpathSync; unlinkSync(path: import("fs").PathLike): void; rmdirSync(path: import("fs").PathLike, options?: import("fs").RmDirOptions | undefined): void; rm: typeof import("fs").rm; rmSync(path: import("fs").PathLike, options?: import("fs").RmOptions | undefined): void; mkdirSync(path: import("fs").PathLike, options: import("fs").MakeDirectoryOptions & { recursive: true; }): string; mkdirSync(path: import("fs").PathLike, options?: string | number | (import("fs").MakeDirectoryOptions & { recursive?: false | undefined; }) | null | undefined): void; mkdirSync(path: import("fs").PathLike, options?: string | number | import("fs").MakeDirectoryOptions | null | undefined): string | undefined; mkdtempSync(prefix: string, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | import("fs").BaseEncodingOptions | null | undefined): string; mkdtempSync(prefix: string, options: import("fs").BufferEncodingOption): Buffer; mkdtempSync(prefix: string, options?: string | import("fs").BaseEncodingOptions | null | undefined): string | Buffer; readdirSync(path: import("fs").PathLike, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | { encoding: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | null; withFileTypes?: false | undefined; } | null | undefined): string[]; readdirSync(path: import("fs").PathLike, options: "buffer" | { encoding: "buffer"; withFileTypes?: false | undefined; }): Buffer[]; readdirSync(path: import("fs").PathLike, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (import("fs").BaseEncodingOptions & { withFileTypes?: false | undefined; }) | null | undefined): string[] | Buffer[]; readdirSync(path: import("fs").PathLike, options: import("fs").BaseEncodingOptions & { withFileTypes: true; }): import("fs").Dirent[]; closeSync(fd: number): void; openSync(path: import("fs").PathLike, flags: string | number, mode?: string | number | null | undefined): number; utimesSync(path: import("fs").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?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | null | undefined): number; readSync(fd: number, buffer: NodeJS.ArrayBufferView, offset: number, length: number, position: number | null): number; readSync(fd: number, buffer: NodeJS.ArrayBufferView, opts?: import("fs").ReadSyncOptions | undefined): number; readFileSync(path: string | number | Buffer | import("url").URL, options?: { encoding?: null | undefined; flag?: string | undefined; } | null | undefined): Buffer; readFileSync(path: string | number | Buffer | import("url").URL, options: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | { encoding: BufferEncoding; flag?: string | undefined; }): string; readFileSync(path: string | number | Buffer | import("url").URL, options?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | (import("fs").BaseEncodingOptions & { flag?: string | undefined; }) | null | undefined): string | Buffer; writeFileSync(path: string | number | Buffer | import("url").URL, data: string | Uint8Array | Uint8ClampedArray | Uint16Array | Uint32Array | Int8Array | Int16Array | Int32Array | Float32Array | Float64Array | DataView, options?: string | (import("fs").BaseEncodingOptions & { mode?: string | number | undefined; flag?: string | undefined; }) | null | undefined): void; appendFileSync(file: string | number | Buffer | import("url").URL, data: string | Uint8Array, options?: string | (import("fs").BaseEncodingOptions & { mode?: string | number | undefined; flag?: string | undefined; }) | null | undefined): void; watchFile(filename: import("fs").PathLike, options: { persistent?: boolean | undefined; interval?: number | undefined; } | undefined, listener: (curr: import("fs").Stats, prev: import("fs").Stats) => void): void; watchFile(filename: import("fs").PathLike, listener: (curr: import("fs").Stats, prev: import("fs").Stats) => void): void; unwatchFile(filename: import("fs").PathLike, listener?: ((curr: import("fs").Stats, prev: import("fs").Stats) => void) | undefined): void; watch(filename: import("fs").PathLike, options: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | { encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | null | undefined; persistent?: boolean | undefined; recursive?: boolean | undefined; } | null | undefined, listener?: ((event: string, filename: string) => void) | undefined): import("fs").FSWatcher; watch(filename: import("fs").PathLike, options: "buffer" | { encoding: "buffer"; persistent?: boolean | undefined; recursive?: boolean | undefined; }, listener?: ((event: string, filename: Buffer) => void) | undefined): import("fs").FSWatcher; watch(filename: import("fs").PathLike, options: string | { encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | null | undefined; persistent?: boolean | undefined; recursive?: boolean | undefined; } | null, listener?: ((event: string, filename: string | Buffer) => void) | undefined): import("fs").FSWatcher; watch(filename: import("fs").PathLike, listener?: ((event: string, filename: string) => any) | undefined): import("fs").FSWatcher; existsSync(path: import("fs").PathLike): boolean; accessSync(path: import("fs").PathLike, mode?: number | undefined): void; createReadStream(path: import("fs").PathLike, options?: string | { flags?: string | undefined; encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined; fd?: number | undefined; mode?: number | undefined; autoClose?: boolean | undefined; emitClose?: boolean | undefined; start?: number | undefined; end?: number | undefined; highWaterMark?: number | undefined; } | undefined): import("fs").ReadStream; createWriteStream(path: import("fs").PathLike, options?: string | { flags?: string | undefined; encoding?: "ascii" | "utf8" | "utf-8" | "utf16le" | "ucs2" | "ucs-2" | "base64" | "latin1" | "binary" | "hex" | undefined; fd?: number | undefined; mode?: number | undefined; autoClose?: boolean | undefined; emitClose?: boolean | undefined; start?: number | undefined; highWaterMark?: number | undefined; } | undefined): import("fs").WriteStream; fdatasyncSync(fd: number): void; copyFileSync(src: import("fs").PathLike, dest: import("fs").PathLike, flags?: number | undefined): void; writevSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number | undefined): number; readv: typeof import("fs").readv; readvSync(fd: number, buffers: readonly NodeJS.ArrayBufferView[], position?: number | undefined): number; opendirSync(path: string, options?: import("fs").OpenDirOptions | undefined): import("fs").Dir; promises: typeof import("fs/promises"); Stats: typeof import("fs").Stats; Dirent: typeof import("fs").Dirent; Dir: typeof import("fs").Dir; ReadStream: typeof import("fs").ReadStream; WriteStream: typeof import("fs").WriteStream; constants: typeof import("fs").constants; BigIntStats: typeof import("fs").BigIntStats; };