UNPKG

react-gnome

Version:

## Getting Started

207 lines (206 loc) 6.16 kB
/// <reference types="node" /> import type fspt from "node:fs/promises"; declare namespace fspromises { const constants: { UV_FS_SYMLINK_DIR: number; UV_FS_SYMLINK_JUNCTION: number; O_RDONLY: number; O_WRONLY: number; O_RDWR: number; UV_DIRENT_UNKNOWN: number; UV_DIRENT_FILE: number; UV_DIRENT_DIR: number; UV_DIRENT_LINK: number; UV_DIRENT_FIFO: number; UV_DIRENT_SOCKET: number; UV_DIRENT_CHAR: number; UV_DIRENT_BLOCK: number; S_IFMT: number; S_IFREG: number; S_IFDIR: number; S_IFCHR: number; S_IFBLK: number; S_IFIFO: number; S_IFLNK: number; S_IFSOCK: number; O_CREAT: number; O_EXCL: number; UV_FS_O_FILEMAP: number; O_NOCTTY: number; O_TRUNC: number; O_APPEND: number; O_DIRECTORY: number; O_NOATIME: number; O_NOFOLLOW: number; O_SYNC: number; O_DSYNC: number; O_DIRECT: number; O_NONBLOCK: number; S_IRWXU: number; S_IRUSR: number; S_IWUSR: number; S_IXUSR: number; S_IRWXG: number; S_IRGRP: number; S_IWGRP: number; S_IXGRP: number; S_IRWXO: number; S_IROTH: number; S_IWOTH: number; S_IXOTH: number; F_OK: number; R_OK: number; W_OK: number; X_OK: number; UV_FS_COPYFILE_EXCL: number; COPYFILE_EXCL: number; UV_FS_COPYFILE_FICLONE: number; COPYFILE_FICLONE: number; UV_FS_COPYFILE_FICLONE_FORCE: number; COPYFILE_FICLONE_FORCE: number; }; const access: typeof fspt.access; const writeFile: typeof fspt.writeFile; const appendFile: typeof fspt.appendFile; const readFile: typeof fspt.readFile; const mkdir: typeof fspt.mkdir; const rename: typeof fspt.rename; const copyFile: typeof fspt.copyFile; const unlink: typeof fspt.unlink; const rmdir: typeof fspt.rm; const rm: typeof fspt.rm; const chmod: typeof fspt.chmod; const chown: typeof fspt.chown; const lchmod: typeof fspt.chmod; const lchown: typeof fspt.chown; const readdir: typeof fspt.readdir; const readlink: typeof fspt.readlink; const stat: typeof fspt.stat; const lstat: typeof fspt.lstat; const symlink: typeof fspt.symlink; const realpath: typeof fspt.realpath; const cp: typeof fspt.copyFile; const link: typeof fspt.symlink; const open: typeof fspt.open; class Stats { dev: number; ino: number; mode: number; nlink: number; uid: number; gid: number; rdev: number; size: number; blksize: number; blocks: number; atimeMs: number; mtimeMs: number; ctimeMs: number; birthtimeMs: number; atime: Date; mtime: Date; ctime: Date; birthtime: Date; isFile(): boolean; isDirectory(): boolean; isBlockDevice(): boolean; isCharacterDevice(): boolean; isSymbolicLink(): boolean; isFIFO(): boolean; isSocket(): boolean; } class Dirent { name: string; isFile(): boolean; isDirectory(): boolean; isBlockDevice(): boolean; isCharacterDevice(): boolean; isSymbolicLink(): boolean; isFIFO(): boolean; isSocket(): boolean; } } export default fspromises; export declare const constants: { UV_FS_SYMLINK_DIR: number; UV_FS_SYMLINK_JUNCTION: number; O_RDONLY: number; O_WRONLY: number; O_RDWR: number; UV_DIRENT_UNKNOWN: number; UV_DIRENT_FILE: number; UV_DIRENT_DIR: number; UV_DIRENT_LINK: number; UV_DIRENT_FIFO: number; UV_DIRENT_SOCKET: number; UV_DIRENT_CHAR: number; UV_DIRENT_BLOCK: number; S_IFMT: number; S_IFREG: number; S_IFDIR: number; S_IFCHR: number; S_IFBLK: number; S_IFIFO: number; S_IFLNK: number; S_IFSOCK: number; O_CREAT: number; O_EXCL: number; UV_FS_O_FILEMAP: number; O_NOCTTY: number; O_TRUNC: number; O_APPEND: number; O_DIRECTORY: number; O_NOATIME: number; O_NOFOLLOW: number; O_SYNC: number; O_DSYNC: number; O_DIRECT: number; O_NONBLOCK: number; S_IRWXU: number; S_IRUSR: number; S_IWUSR: number; S_IXUSR: number; S_IRWXG: number; S_IRGRP: number; S_IWGRP: number; S_IXGRP: number; S_IRWXO: number; S_IROTH: number; S_IWOTH: number; S_IXOTH: number; F_OK: number; R_OK: number; W_OK: number; X_OK: number; UV_FS_COPYFILE_EXCL: number; COPYFILE_EXCL: number; UV_FS_COPYFILE_FICLONE: number; COPYFILE_FICLONE: number; UV_FS_COPYFILE_FICLONE_FORCE: number; COPYFILE_FICLONE_FORCE: number; }; export declare const access: typeof fspt.access; export declare const appendFile: typeof fspt.appendFile; export declare const chmod: typeof fspt.chmod; export declare const chown: typeof fspt.chown; export declare const copyFile: typeof fspt.copyFile; export declare const cp: typeof fspt.copyFile; export declare const lchmod: typeof fspt.chmod; export declare const lchown: typeof fspt.chown; export declare const link: typeof fspt.symlink; export declare const lstat: typeof fspt.lstat; export declare const mkdir: typeof fspt.mkdir; export declare const open: typeof fspt.open; export declare const readdir: typeof fspt.readdir; export declare const readFile: typeof fspt.readFile; export declare const readlink: typeof fspt.readlink; export declare const realpath: typeof fspt.realpath; export declare const rename: typeof fspt.rename; export declare const rm: typeof fspt.rm; export declare const rmdir: typeof fspt.rm; export declare const stat: typeof fspt.stat; export declare const symlink: typeof fspt.symlink; export declare const unlink: typeof fspt.unlink; export declare const writeFile: typeof fspt.writeFile; export declare const Dirent: typeof fspromises.Dirent; export declare const Stats: typeof fspromises.Stats;