import type { Resource } from "webappwiz/disposable"; import type { Fs, MkdirOptions, RmOptions, StatResult, WatchOptions } from "./fs.js"; export declare class NodeFs implements Fs { exists(path: string): Promise; mkdir(path: string, opts?: MkdirOptions): Promise; read(path: string): Promise; write(path: string, data: string): Promise; append(path: string, data: string): Promise; readBytes(path: string): Promise; writeBytes(path: string, data: Uint8Array): Promise; rename(from: string, to: string): Promise; readdir(path: string): Promise; chmod(path: string, mode: number): Promise; stat(path: string): Promise; rm(path: string, opts?: RmOptions): Promise; isSymlink(path: string): Promise; watch(path: string, onChange: (changed: string) => void, opts?: WatchOptions): Resource; }