webslm 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -159,6 +159,29 @@ export class WasmModel {
159
159
  const ret = wasm.wasmmodel_applyAdapter(this.__wbg_ptr, ptr0, ptr1, len1);
160
160
  return ret;
161
161
  }
162
+ /**
163
+ * Answers a conversation with images or videos in the default
164
+ * session; see [`WasmSession::chat_with_media`].
165
+ * @param {string} messages_json
166
+ * @param {string} options_json
167
+ * @param {string} media_json
168
+ * @param {Uint8Array} media_data
169
+ * @param {Function} on_delta
170
+ * @param {Function | null} [on_prefill]
171
+ * @returns {Promise<any>}
172
+ */
173
+ chatWithMedia(messages_json, options_json, media_json, media_data, on_delta, on_prefill) {
174
+ const ptr0 = passStringToWasm0(messages_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
175
+ const len0 = WASM_VECTOR_LEN;
176
+ const ptr1 = passStringToWasm0(options_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
177
+ const len1 = WASM_VECTOR_LEN;
178
+ const ptr2 = passStringToWasm0(media_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
179
+ const len2 = WASM_VECTOR_LEN;
180
+ const ptr3 = passArray8ToWasm0(media_data, wasm.__wbindgen_malloc);
181
+ const len3 = WASM_VECTOR_LEN;
182
+ const ret = wasm.wasmmodel_chatWithMedia(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, on_delta, isLikeNone(on_prefill) ? 0 : addToExternrefTable0(on_prefill));
183
+ return ret;
184
+ }
162
185
  /**
163
186
  * Answers a conversation in the default session; see
164
187
  * [`WasmSession::chat`].
@@ -246,7 +269,9 @@ export class WasmModel {
246
269
  * `{ format?: "q8" | "q4" | "q4_0" | "f32" | "f16" | "bf16",
247
270
  * contextLength?: number, deterministic?: boolean,
248
271
  * activations?: "quantized" | "f32", device?: "cpu" | "webgpu" | "auto",
249
- * adapterScale?: number, adapterMode?: "unmerged" | "merged" }`.
272
+ * adapterScale?: number, adapterMode?: "unmerged" | "merged",
273
+ * vision?: boolean }` (`vision: false` skips the vision encoder of a
274
+ * vision-language checkpoint).
250
275
  *
251
276
  * `device` defaults to `"cpu"`. `"auto"` picks WebGPU when an adapter
252
277
  * is available and the model has more than
@@ -396,6 +421,34 @@ export class WasmSession {
396
421
  }
397
422
  return ret[0] >>> 0;
398
423
  }
424
+ /**
425
+ * Answers a conversation whose messages hold image or video parts
426
+ * (`{"type": "image"}`, `{"type": "video"}`), with a vision-language
427
+ * model. `media_json` describes the images and videos, one per part in
428
+ * order, and `media_data` holds their RGBA pixels back to back (see
429
+ * `webslm_bindings::media`); the `media` generation option sets the
430
+ * video sampling (`maxFrames`, `fps`) and processor settings. Same
431
+ * callbacks and result as [`WasmSession::chat`].
432
+ * @param {string} messages_json
433
+ * @param {string} options_json
434
+ * @param {string} media_json
435
+ * @param {Uint8Array} media_data
436
+ * @param {Function} on_delta
437
+ * @param {Function | null} [on_prefill]
438
+ * @returns {Promise<any>}
439
+ */
440
+ chatWithMedia(messages_json, options_json, media_json, media_data, on_delta, on_prefill) {
441
+ const ptr0 = passStringToWasm0(messages_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
442
+ const len0 = WASM_VECTOR_LEN;
443
+ const ptr1 = passStringToWasm0(options_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
444
+ const len1 = WASM_VECTOR_LEN;
445
+ const ptr2 = passStringToWasm0(media_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
446
+ const len2 = WASM_VECTOR_LEN;
447
+ const ptr3 = passArray8ToWasm0(media_data, wasm.__wbindgen_malloc);
448
+ const len3 = WASM_VECTOR_LEN;
449
+ const ret = wasm.wasmsession_chatWithMedia(this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, on_delta, isLikeNone(on_prefill) ? 0 : addToExternrefTable0(on_prefill));
450
+ return ret;
451
+ }
399
452
  /**
400
453
  * Answers a conversation: `messages_json` is a JSON array of
401
454
  * `{ role, content }`, `options_json` a JSON object of generation
@@ -1590,43 +1643,43 @@ function __wbg_get_imports(memory) {
1590
1643
  arg0.writeBuffer(arg1, arg2, getArrayU8FromWasm0(arg3, arg4), arg5, arg6);
1591
1644
  }, arguments); },
1592
1645
  __wbindgen_generic_0000000000000001: function(arg0, arg1) {
1593
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 368, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1646
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 391, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1594
1647
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true_);
1595
1648
  return ret;
1596
1649
  },
1597
1650
  __wbindgen_generic_0000000000000002: function(arg0, arg1) {
1598
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 908, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1651
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 931, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1599
1652
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue__core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true_);
1600
1653
  return ret;
1601
1654
  },
1602
1655
  __wbindgen_generic_0000000000000003: function(arg0, arg1) {
1603
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 910, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1656
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 933, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1604
1657
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___js_sys_b608be85a12bc1d0___futures__task__wait_async_polyfill__MessageEvent______true_);
1605
1658
  return ret;
1606
1659
  },
1607
1660
  __wbindgen_generic_0000000000000004: function(arg0, arg1) {
1608
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 366, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1661
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDevice")], shim_idx: 389, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1609
1662
  const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true_);
1610
1663
  return ret;
1611
1664
  },
1612
1665
  __wbindgen_generic_0000000000000005: function(arg0, arg1) {
1613
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 368, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1614
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__44);
1666
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUDeviceLostInfo")], shim_idx: 391, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1667
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__46);
1615
1668
  return ret;
1616
1669
  },
1617
1670
  __wbindgen_generic_0000000000000006: function(arg0, arg1) {
1618
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 368, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1619
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__45);
1671
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("GPUUncapturedErrorEvent")], shim_idx: 391, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
1672
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__47);
1620
1673
  return ret;
1621
1674
  },
1622
1675
  __wbindgen_generic_0000000000000007: function(arg0, arg1) {
1623
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 366, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1624
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__46);
1676
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("any")], shim_idx: 389, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1677
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__48);
1625
1678
  return ret;
1626
1679
  },
1627
1680
  __wbindgen_generic_0000000000000008: function(arg0, arg1) {
1628
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 366, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1629
- const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__47);
1681
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("undefined")], shim_idx: 389, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
1682
+ const ret = makeMutClosure(arg0, arg1, wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__49);
1630
1683
  return ret;
1631
1684
  },
1632
1685
  __wbindgen_generic_0000000000000009: function(arg0) {
@@ -1688,12 +1741,12 @@ function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___js_sys_b
1688
1741
  wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___js_sys_b608be85a12bc1d0___futures__task__wait_async_polyfill__MessageEvent______true_(arg0, arg1, arg2);
1689
1742
  }
1690
1743
 
1691
- function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__44(arg0, arg1, arg2) {
1692
- wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__44(arg0, arg1, arg2);
1744
+ function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__46(arg0, arg1, arg2) {
1745
+ wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__46(arg0, arg1, arg2);
1693
1746
  }
1694
1747
 
1695
- function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__45(arg0, arg1, arg2) {
1696
- wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__45(arg0, arg1, arg2);
1748
+ function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__47(arg0, arg1, arg2) {
1749
+ wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__47(arg0, arg1, arg2);
1697
1750
  }
1698
1751
 
1699
1752
  function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue__core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true_(arg0, arg1, arg2) {
@@ -1710,15 +1763,15 @@ function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bin
1710
1763
  }
1711
1764
  }
1712
1765
 
1713
- function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__46(arg0, arg1, arg2) {
1714
- const ret = wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__46(arg0, arg1, arg2);
1766
+ function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__48(arg0, arg1, arg2) {
1767
+ const ret = wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__48(arg0, arg1, arg2);
1715
1768
  if (ret[1]) {
1716
1769
  throw takeFromExternrefTable0(ret[0]);
1717
1770
  }
1718
1771
  }
1719
1772
 
1720
- function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__47(arg0, arg1, arg2) {
1721
- const ret = wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__47(arg0, arg1, arg2);
1773
+ function wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__49(arg0, arg1, arg2) {
1774
+ const ret = wasm.wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__49(arg0, arg1, arg2);
1722
1775
  if (ret[1]) {
1723
1776
  throw takeFromExternrefTable0(ret[0]);
1724
1777
  }
Binary file
@@ -19,6 +19,7 @@ export const supportedModelTypes: () => [number, number];
19
19
  export const version: () => [number, number];
20
20
  export const wasmmodel_applyAdapter: (a: number, b: number, c: number, d: number) => any;
21
21
  export const wasmmodel_chat: (a: number, b: number, c: number, d: number, e: number, f: any, g: number) => any;
22
+ export const wasmmodel_chatWithMedia: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: any, k: number) => any;
22
23
  export const wasmmodel_createSession: (a: number) => [number, number, number];
23
24
  export const wasmmodel_detokenize: (a: number, b: number, c: number, d: number) => [number, number, number, number];
24
25
  export const wasmmodel_generate: (a: number, b: number, c: number, d: number, e: number, f: any, g: number) => any;
@@ -30,6 +31,7 @@ export const wasmmodel_reset: (a: number) => [number, number];
30
31
  export const wasmmodel_tokenize: (a: number, b: number, c: number, d: number) => [number, number, number, number];
31
32
  export const wasmsession_capacity: (a: number) => [number, number, number];
32
33
  export const wasmsession_chat: (a: number, b: number, c: number, d: number, e: number, f: any, g: number) => any;
34
+ export const wasmsession_chatWithMedia: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: any, k: number) => any;
33
35
  export const wasmsession_computed: (a: number) => [number, number, number];
34
36
  export const wasmsession_fork: (a: number) => [number, number, number];
35
37
  export const wasmsession_generate: (a: number, b: number, c: number, d: number, e: number, f: any, g: number) => any;
@@ -48,12 +50,12 @@ export const wbg_rayon_start_worker: (a: number) => void;
48
50
  export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___js_sys_b608be85a12bc1d0___Function_fn_wasm_bindgen_3c612a990bfab728___JsValue_____wasm_bindgen_3c612a990bfab728___sys__Undefined___js_sys_b608be85a12bc1d0___Function_fn_wasm_bindgen_3c612a990bfab728___JsValue_____wasm_bindgen_3c612a990bfab728___sys__Undefined_______true_: (a: number, b: number, c: any, d: any) => void;
49
51
  export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue__core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true_: (a: number, b: number, c: any) => [number, number];
50
52
  export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true_: (a: number, b: number, c: any) => [number, number];
51
- export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__46: (a: number, b: number, c: any) => [number, number];
52
- export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__47: (a: number, b: number, c: any) => [number, number];
53
+ export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__48: (a: number, b: number, c: any) => [number, number];
54
+ export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___sys__JsNullable_wgpu_4ecf802b864e9046___backend__webgpu__webgpu_sys__gen_GpuError__GpuError___core_2b10d7c4e784534e___result__Result_____wasm_bindgen_3c612a990bfab728___JsError___true__49: (a: number, b: number, c: any) => [number, number];
53
55
  export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___js_sys_b608be85a12bc1d0___futures__task__wait_async_polyfill__MessageEvent______true_: (a: number, b: number, c: any) => void;
54
56
  export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true_: (a: number, b: number, c: any) => void;
55
- export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__44: (a: number, b: number, c: any) => void;
56
- export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__45: (a: number, b: number, c: any) => void;
57
+ export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__46: (a: number, b: number, c: any) => void;
58
+ export const wasm_bindgen_3c612a990bfab728___convert__closures_____invoke___wasm_bindgen_3c612a990bfab728___JsValue______true__47: (a: number, b: number, c: any) => void;
57
59
  export const memory: WebAssembly.Memory;
58
60
  export const __wbindgen_malloc: (a: number, b: number) => number;
59
61
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;