Variable promisesConst

promises: {
    chmod: ((path: PathLike, mode: Mode) => Promise<void>);
    lstat: ((path: PathLike) => Promise<Stats>);
    mkdir: ((path: PathLike, options?: null | Mode | MakeDirectoryOptions & {
        recursive?: null | boolean;
    }) => Promise<undefined | string>);
    readdir: ((path: PathLike) => Promise<Dirent[]>);
    rename: ((oldPath: PathLike, newPath: PathLike) => Promise<void>);
    rm: ((path: PathLike, options: RmOptions) => Promise<void>);
    rmdir: ((path: PathLike) => Promise<void>);
    stat: ((path: PathLike) => Promise<Stats>);
    unlink: ((path: PathLike) => Promise<void>);
} = ...