import type { Workspace } from '@struktoai/mirage-core/workspace/workspace/workspace'; /** * Monkey-patch Node's `fs` module so that paths under any mirage mount * route through the workspace. Paths NOT under a mount fall through to * the real native fs. CJS-friendly; for ESM code you still need to use * `ws.fs.*` directly since ESM bindings are frozen. * * Returns a `restore()` function that undoes the patch. */ export declare function patchNodeFs(ws: Workspace): () => void; //# sourceMappingURL=fs_monkey.d.ts.map