//#region src/wasm-module-error.d.ts /** The compiled WebAssembly module an edge entry was missing. */ type EdgeWasmArtifact = 'engine' | 'cedar'; /** * Thrown when an edge entry has to instantiate its WebAssembly before the host * registered the compiled `WebAssembly.Module`. The edge glue has no URL * fallback (`rust/scripts/lib/remove-wasm-url-fallback.mjs` removes it at * build time): bundlers copy the wasm into every bundle for that fallback, and * it fails on Cloudflare Workers anyway. A host catches this like any other * evaluator failure and fails closed. */ declare class WasmModuleNotRegisteredError extends Error { readonly code: "wasm_module_not_registered"; readonly artifact: EdgeWasmArtifact; /** `register` names where the module goes, e.g. `initEngine()`. */ constructor(artifact: EdgeWasmArtifact, register: string); } //#endregion export { WasmModuleNotRegisteredError as n, EdgeWasmArtifact as t }; //# sourceMappingURL=wasm-module-error-DKPUG3DV.d.ts.map