import { type ReadStream, type WriteStream } from "../types/io.js"; /** * Interface for the subset of Node.js `fs` module used by Tinky. */ export interface Fs { existsSync(path: string): boolean; readFileSync(path: string, encoding: "utf8"): string; } export declare const process: { stdout?: WriteStream; stderr?: WriteStream; stdin?: ReadStream; env?: Record; exit?: (code?: number) => void; on?: (event: string, listener: (...args: unknown[]) => void) => void; platform?: string; cwd?: () => string; } | undefined; export declare const fs: Fs;