import type { MemFsEditor, MemFsEditorFile } from '../index.js'; export type MemFsEditorFileDump = { contents: string | null; state?: string; stateCleared?: string; }; export default function (this: MemFsEditor, cwd?: string, filter?: string | ((file: EditorFile, cwd: string) => boolean)): { [k: string]: MemFsEditorFileDump; };