import type { MemoryVolume } from "../memory-volume"; import type { StatResult } from "./types"; export declare class NodepodFS { private _vol; constructor(_vol: MemoryVolume); writeFile(path: string, data: string | Uint8Array): Promise; readFile(path: string, encoding?: "utf-8" | "utf8"): Promise; readFile(path: string): Promise; mkdir(path: string, opts?: { recursive?: boolean; }): Promise; readdir(path: string): Promise; exists(path: string): Promise; stat(path: string): Promise; unlink(path: string): Promise; rmdir(path: string, opts?: { recursive?: boolean; }): Promise; rename(from: string, to: string): Promise; watch(path: string, optionsOrCb?: { recursive?: boolean; } | ((event: string, filename: string | null) => void), cb?: (event: string, filename: string | null) => void): { close(): void; }; get volume(): MemoryVolume; private _removeRecursive; }