import type { MemFsEditor } from '../index.ts'; type JSONReplacer = ((this: unknown, key: string, value: unknown) => unknown) | (number | string)[] | null; export default function extendJSON(this: MemFsEditor, ...[filepath, contents, replacer, space]: [ filepath: string, contents: Record, replacer?: JSONReplacer, space?: string | number ]): void; export {};