/** * All accepted forms of WASM input for init functions. * * - `string` , gzip+base64 embedded blob (from `/embedded` subpath) * - `URL` , streaming-compiled from `fetch(url)` * - `ArrayBuffer` , raw WASM bytes, compiled inline * - `Uint8Array` , raw WASM bytes, compiled inline * - `WebAssembly.Module` , pre-compiled module (Cloudflare Workers, edge runtimes) * - `Response` , streaming-compiled from an in-flight fetch * - `PromiseLike` , any thenable resolving to another `WasmSource`; nesting * is resolved recursively (max depth 3). */ export type WasmSource = string | URL | ArrayBuffer | Uint8Array | WebAssembly.Module | Response | PromiseLike;