import type { WasmWorker } from "./worker-client.js"; export * from "./index.js"; /** Read `url` from disk (or fetch it when it is http(s)). */ export declare function nodeLoader(url: string | URL): Promise; /** * Wire the Node environment for worker offload: the `node:worker_threads` * factory plus a reset hook so the browser loader/fetch default (installed by * another entry in-process, e.g. the smoke test importing `browser.js` for * its API check) never leaks into a Node auto-load. A bundler keeps this * entire block in the Node chunk: `optimize()` only reaches it lazily. */ export declare function installNodeEnvironment(): void; /** Adapt `node:worker_threads` for the environment-agnostic worker API. */ export declare function nodeWorkerFactory(): WasmWorker; //# sourceMappingURL=node.d.ts.map