/// /// /// /// import * as fs from 'fs'; import { FileHandle } from 'fs/promises'; import { Stream } from 'stream'; export declare const nodeWriteFileAsync: typeof fs.promises.writeFile; export declare const readFileAsync: typeof fs.promises.readFile; export declare const statAsync: typeof fs.promises.stat; export declare const readdirAsync: typeof fs.promises.readdir; export declare function readTextFileAsync(path: string): Promise; export declare function mkdirp(path: string): Promise; export declare function writeFileAsync(path: fs.PathLike | FileHandle, data: string | NodeJS.ArrayBufferView | Iterable | AsyncIterable | Stream): Promise; export declare function statOrNullAsync(path: string): Promise; export declare function pathExists(path: string): Promise; export declare function fileExists(path: string): Promise; export declare function dirExists(path: string): Promise; export declare function subPaths(dir: string): Promise; export interface PathInfo { path: string; isFile: boolean; } export declare function subPathsWithType(dir: string): Promise; export declare function subDirs(dir: string): Promise; export declare function subFiles(dir: string): Promise;