import fs from 'fs'; import type { MemFsEditor, MemFsEditorFile } from '../index.js'; import type { Store } from 'mem-fs'; type CompareFile = { contents: null | Buffer; stat?: { mode?: number; } | null; }; export declare const isMemFsEditorFileEqual: (a: CompareFile, b: CompareFile) => boolean | null; export declare function writeInternal(store: Store, file: EditorFile): void; export default function write(this: MemFsEditor, filepath: string, contents: string | Buffer, stat?: fs.Stats): string; export {};