/** * Load user-provided sim stubs from the `sim/` directory. * * Each `sim/.stub.ts` file is a JS/TS module that directly implements * the corresponding `native:*` native module. The source is read as text, * TypeScript types are stripped, and the result is registered as a virtual * module in the QuickJS runtime (replacing the native C module). * * Stubs run inside QuickJS, not in Node.js. They should export the same * interface as the native module they replace. * * Returns a map of native:* module name → source string. */ export declare function loadSimStubs(projectDir: string): Record; //# sourceMappingURL=loadSimStubs.d.ts.map