import { type PathLike, type WriteFileOptions } from 'node:fs'; /** * Filesystem wrapper to allow for easier testing and isolation of side effects. * All core logic and commands should use these instead of direct node:fs calls. */ export declare const fs: { existsSync: (path: PathLike) => boolean; readFileSync: (path: PathLike, options?: { encoding?: BufferEncoding; flag?: string; } | BufferEncoding) => string | Buffer; writeFileSync: (path: PathLike, data: string | Uint8Array, options?: WriteFileOptions) => void; mkdirSync: (path: PathLike, options?: { recursive?: boolean; mode?: number; }) => string | undefined; readdirSync: (path: PathLike, options?: { recursive?: boolean; }) => string[]; unlinkSync: (path: PathLike) => void; rmSync: (path: PathLike, options?: { recursive?: boolean; force?: boolean; }) => void; statSync: (path: PathLike) => import("fs").Stats; fstatSync: (fd: number) => import("fs").Stats; renameSync: (oldPath: PathLike, newPath: PathLike) => void; }; //# sourceMappingURL=fs.d.ts.map