import { type Dirent, type WriteFileOptions } from 'node:fs'; export type EntryInfo = { path: string; fullPath: string; basename: string; dirent: Dirent; }; export type JSONFileOptions = WriteFileOptions & { spaces?: number | string; replacer?: (this: any, key: string, value: any) => any; };