import { createFsRequire } from 'fs-require'; import { type IUnionFs } from 'unionfs'; /** * Creates a hybrid require function that combines fs-require (for in-memory files) * with Node's native require (for bare specifiers from project node_modules). * * This solves the issue where fs-require cannot resolve bare specifiers like * `@anansi/core/server` from workspace node_modules when they're not in the * memfs bundle. * * @param ufs - The unionfs instance (disk first, then memfs) * @param projectRoot - Optional project root directory. Defaults to process.cwd() * @returns A require function that tries memfs first, then falls back to project node_modules */ export declare function createHybridRequire(ufs: IUnionFs, projectRoot?: string): ReturnType; //# sourceMappingURL=createHybridRequire.d.ts.map