@rivetkit/rivetkit-wasm 0.0.0-main.17f6330 → 0.0.0-main.3118df2

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.
package/index.d.ts CHANGED
@@ -8,6 +8,9 @@ export class ActorContext {
8
8
  free(): void;
9
9
  keepAwake(promise: Promise<any>): void;
10
10
  saveState(payload: any): Promise<void>;
11
+ saveStateAndWorkflowBatch(
12
+ writes: Array<{ key: Uint8Array; value: Uint8Array }>,
13
+ ): Promise<void>;
11
14
  waitUntil(promise: Promise<any>): void;
12
15
  abortSignal(): any;
13
16
  connectConn(params: Uint8Array, request: any): Promise<ConnHandle>;
@@ -120,6 +123,7 @@ export class Queue {
120
123
  waitForNamesAvailable(names: any, options: any): Promise<void>;
121
124
  send(name: string, body: Uint8Array): Promise<QueueMessage>;
122
125
  maxSize(): number;
126
+ reset(): Promise<void>;
123
127
  }
124
128
 
125
129
  export class QueueMessage {
@@ -148,6 +152,17 @@ export class SqliteDb {
148
152
  close(): Promise<void>;
149
153
  query(sql: string, params: any): Promise<any>;
150
154
  execute(sql: string, params: any): Promise<any>;
155
+ executeBatch(statements: Array<any>): Promise<Array<any>>;
156
+ beginTransaction(timeout_ms?: number | null): Promise<SqliteTransaction>;
157
+ }
158
+
159
+ export class SqliteTransaction {
160
+ private constructor();
161
+ free(): void;
162
+ exec(sql: string): Promise<any>;
163
+ execute(sql: string, params: any): Promise<any>;
164
+ commit(): Promise<void>;
165
+ rollback(): Promise<void>;
151
166
  }
152
167
 
153
168
  export class WebSocketHandle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivetkit/rivetkit-wasm",
3
- "version": "0.0.0-main.17f6330",
3
+ "version": "0.0.0-main.3118df2",
4
4
  "description": "WebAssembly bindings for RivetKit core on edge JavaScript runtimes",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -1,9 +1,9 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function bridgeRivetErrorPrefix(): string;
4
3
  export function uint8ArrayFromBytes(bytes: Uint8Array): Uint8Array;
5
4
  export function start(): void;
6
5
  export function awaitPromise(promise: Promise<any>): Promise<any>;
6
+ export function bridgeRivetErrorPrefix(): string;
7
7
  export function roundTripBytes(bytes: Uint8Array): Uint8Array;
8
8
  export class ActorContext {
9
9
  free(): void;
@@ -26,6 +26,7 @@ export class ActorContext {
26
26
  endWebsocketCallback(region_id: number): void;
27
27
  beginWebsocketCallback(): number;
28
28
  dirtyHibernatableConns(): Array<any>;
29
+ saveStateAndWorkflowBatch(writes: any): Promise<void>;
29
30
  kv(): Kv;
30
31
  waitForTrackedShutdownWork(): Promise<boolean>;
31
32
  takePendingHibernationChanges(): Array<any>;
@@ -98,6 +99,7 @@ export class Queue {
98
99
  inspectMessages(): Promise<Array<any>>;
99
100
  waitForNamesAvailable(names: any, options: any): Promise<void>;
100
101
  send(name: string, body: Uint8Array): Promise<QueueMessage>;
102
+ reset(): Promise<void>;
101
103
  maxSize(): number;
102
104
  }
103
105
  export class QueueMessage {
@@ -119,12 +121,22 @@ export class Schedule {
119
121
  export class SqliteDb {
120
122
  private constructor();
121
123
  free(): void;
124
+ executeBatch(statements: any): Promise<any>;
125
+ beginTransaction(timeout_ms?: number | null): Promise<SqliteTransaction>;
122
126
  run(sql: string, params: any): Promise<any>;
123
127
  exec(sql: string): Promise<any>;
124
128
  close(): Promise<void>;
125
129
  query(sql: string, params: any): Promise<any>;
126
130
  execute(sql: string, params: any): Promise<any>;
127
131
  }
132
+ export class SqliteTransaction {
133
+ private constructor();
134
+ free(): void;
135
+ exec(sql: string): Promise<any>;
136
+ commit(): Promise<void>;
137
+ execute(sql: string, params: any): Promise<any>;
138
+ rollback(): Promise<void>;
139
+ }
128
140
  export class WebSocketHandle {
129
141
  private constructor();
130
142
  free(): void;
@@ -145,6 +157,7 @@ export interface InitOutput {
145
157
  readonly __wbg_kv_free: (a: number, b: number) => void;
146
158
  readonly __wbg_queuemessage_free: (a: number, b: number) => void;
147
159
  readonly __wbg_sqlitedb_free: (a: number, b: number) => void;
160
+ readonly __wbg_sqlitetransaction_free: (a: number, b: number) => void;
148
161
  readonly __wbg_websockethandle_free: (a: number, b: number) => void;
149
162
  readonly actorcontext_abortSignal: (a: number) => [number, number, number];
150
163
  readonly actorcontext_actorId: (a: number) => [number, number];
@@ -172,6 +185,7 @@ export interface InitOutput {
172
185
  readonly actorcontext_restartRunHandler: (a: number) => void;
173
186
  readonly actorcontext_runtimeState: (a: number) => any;
174
187
  readonly actorcontext_saveState: (a: number, b: any) => any;
188
+ readonly actorcontext_saveStateAndWorkflowBatch: (a: number, b: any) => any;
175
189
  readonly actorcontext_setAlarm: (a: number, b: number, c: number) => [number, number];
176
190
  readonly actorcontext_sleep: (a: number) => [number, number];
177
191
  readonly actorcontext_sql: (a: number) => number;
@@ -213,6 +227,7 @@ export interface InitOutput {
213
227
  readonly queue_inspectMessages: (a: number) => any;
214
228
  readonly queue_maxSize: (a: number) => number;
215
229
  readonly queue_nextBatch: (a: number, b: any, c: number) => any;
230
+ readonly queue_reset: (a: number) => any;
216
231
  readonly queue_send: (a: number, b: number, c: number, d: number, e: number) => any;
217
232
  readonly queue_tryNextBatch: (a: number, b: any) => [number, number, number];
218
233
  readonly queue_waitForNames: (a: number, b: any, c: any, d: number) => any;
@@ -226,11 +241,17 @@ export interface InitOutput {
226
241
  readonly roundTripBytes: (a: number, b: number) => [number, number];
227
242
  readonly schedule_after: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
228
243
  readonly schedule_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
244
+ readonly sqlitedb_beginTransaction: (a: number, b: number, c: number) => any;
229
245
  readonly sqlitedb_close: (a: number) => any;
230
246
  readonly sqlitedb_exec: (a: number, b: number, c: number) => any;
231
247
  readonly sqlitedb_execute: (a: number, b: number, c: number, d: any) => any;
248
+ readonly sqlitedb_executeBatch: (a: number, b: any) => any;
232
249
  readonly sqlitedb_query: (a: number, b: number, c: number, d: any) => any;
233
250
  readonly sqlitedb_run: (a: number, b: number, c: number, d: any) => any;
251
+ readonly sqlitetransaction_commit: (a: number) => any;
252
+ readonly sqlitetransaction_exec: (a: number, b: number, c: number) => any;
253
+ readonly sqlitetransaction_execute: (a: number, b: number, c: number, d: any) => any;
254
+ readonly sqlitetransaction_rollback: (a: number) => any;
234
255
  readonly uint8ArrayFromBytes: (a: number, b: number) => any;
235
256
  readonly websockethandle_close: (a: number, b: number, c: number, d: number) => any;
236
257
  readonly websockethandle_send: (a: number, b: number, c: number, d: number) => [number, number];
@@ -248,9 +269,9 @@ export interface InitOutput {
248
269
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
249
270
  readonly __wbindgen_export_6: WebAssembly.Table;
250
271
  readonly __externref_table_dealloc: (a: number) => void;
251
- readonly closure1598_externref_shim: (a: number, b: number, c: any) => void;
252
- readonly closure1950_externref_shim: (a: number, b: number, c: any) => void;
253
- readonly closure2181_externref_shim: (a: number, b: number, c: any, d: any) => void;
272
+ readonly closure1858_externref_shim: (a: number, b: number, c: any) => void;
273
+ readonly closure2231_externref_shim: (a: number, b: number, c: any) => void;
274
+ readonly closure2462_externref_shim: (a: number, b: number, c: any, d: any) => void;
254
275
  readonly __wbindgen_start: () => void;
255
276
  }
256
277
 
@@ -221,22 +221,6 @@ function _assertClass(instance, klass) {
221
221
  throw new Error(`expected instance of ${klass.name}`);
222
222
  }
223
223
  }
224
- /**
225
- * @returns {string}
226
- */
227
- export function bridgeRivetErrorPrefix() {
228
- let deferred1_0;
229
- let deferred1_1;
230
- try {
231
- const ret = wasm.bridgeRivetErrorPrefix();
232
- deferred1_0 = ret[0];
233
- deferred1_1 = ret[1];
234
- return getStringFromWasm0(ret[0], ret[1]);
235
- } finally {
236
- wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
237
- }
238
- }
239
-
240
224
  /**
241
225
  * @param {Uint8Array} bytes
242
226
  * @returns {Uint8Array}
@@ -261,6 +245,22 @@ export function awaitPromise(promise) {
261
245
  return ret;
262
246
  }
263
247
 
248
+ /**
249
+ * @returns {string}
250
+ */
251
+ export function bridgeRivetErrorPrefix() {
252
+ let deferred1_0;
253
+ let deferred1_1;
254
+ try {
255
+ const ret = wasm.bridgeRivetErrorPrefix();
256
+ deferred1_0 = ret[0];
257
+ deferred1_1 = ret[1];
258
+ return getStringFromWasm0(ret[0], ret[1]);
259
+ } finally {
260
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
261
+ }
262
+ }
263
+
264
264
  /**
265
265
  * @param {Uint8Array} bytes
266
266
  * @returns {Uint8Array}
@@ -275,15 +275,15 @@ export function roundTripBytes(bytes) {
275
275
  }
276
276
 
277
277
  function __wbg_adapter_46(arg0, arg1, arg2) {
278
- wasm.closure1598_externref_shim(arg0, arg1, arg2);
278
+ wasm.closure1858_externref_shim(arg0, arg1, arg2);
279
279
  }
280
280
 
281
281
  function __wbg_adapter_55(arg0, arg1, arg2) {
282
- wasm.closure1950_externref_shim(arg0, arg1, arg2);
282
+ wasm.closure2231_externref_shim(arg0, arg1, arg2);
283
283
  }
284
284
 
285
- function __wbg_adapter_268(arg0, arg1, arg2, arg3) {
286
- wasm.closure2181_externref_shim(arg0, arg1, arg2, arg3);
285
+ function __wbg_adapter_248(arg0, arg1, arg2, arg3) {
286
+ wasm.closure2462_externref_shim(arg0, arg1, arg2, arg3);
287
287
  }
288
288
 
289
289
  const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
@@ -443,6 +443,14 @@ export class ActorContext {
443
443
  const ret = wasm.actorcontext_dirtyHibernatableConns(this.__wbg_ptr);
444
444
  return ret;
445
445
  }
446
+ /**
447
+ * @param {any} writes
448
+ * @returns {Promise<void>}
449
+ */
450
+ saveStateAndWorkflowBatch(writes) {
451
+ const ret = wasm.actorcontext_saveStateAndWorkflowBatch(this.__wbg_ptr, writes);
452
+ return ret;
453
+ }
446
454
  /**
447
455
  * @returns {Kv}
448
456
  */
@@ -1076,6 +1084,13 @@ export class Queue {
1076
1084
  const ret = wasm.queue_send(this.__wbg_ptr, ptr0, len0, ptr1, len1);
1077
1085
  return ret;
1078
1086
  }
1087
+ /**
1088
+ * @returns {Promise<void>}
1089
+ */
1090
+ reset() {
1091
+ const ret = wasm.queue_reset(this.__wbg_ptr);
1092
+ return ret;
1093
+ }
1079
1094
  /**
1080
1095
  * @returns {number}
1081
1096
  */
@@ -1241,6 +1256,22 @@ export class SqliteDb {
1241
1256
  const ptr = this.__destroy_into_raw();
1242
1257
  wasm.__wbg_sqlitedb_free(ptr, 0);
1243
1258
  }
1259
+ /**
1260
+ * @param {any} statements
1261
+ * @returns {Promise<any>}
1262
+ */
1263
+ executeBatch(statements) {
1264
+ const ret = wasm.sqlitedb_executeBatch(this.__wbg_ptr, statements);
1265
+ return ret;
1266
+ }
1267
+ /**
1268
+ * @param {number | null} [timeout_ms]
1269
+ * @returns {Promise<SqliteTransaction>}
1270
+ */
1271
+ beginTransaction(timeout_ms) {
1272
+ const ret = wasm.sqlitedb_beginTransaction(this.__wbg_ptr, !isLikeNone(timeout_ms), isLikeNone(timeout_ms) ? 0 : timeout_ms);
1273
+ return ret;
1274
+ }
1244
1275
  /**
1245
1276
  * @param {string} sql
1246
1277
  * @param {any} params
@@ -1293,6 +1324,68 @@ export class SqliteDb {
1293
1324
  }
1294
1325
  }
1295
1326
 
1327
+ const SqliteTransactionFinalization = (typeof FinalizationRegistry === 'undefined')
1328
+ ? { register: () => {}, unregister: () => {} }
1329
+ : new FinalizationRegistry(ptr => wasm.__wbg_sqlitetransaction_free(ptr >>> 0, 1));
1330
+
1331
+ export class SqliteTransaction {
1332
+
1333
+ static __wrap(ptr) {
1334
+ ptr = ptr >>> 0;
1335
+ const obj = Object.create(SqliteTransaction.prototype);
1336
+ obj.__wbg_ptr = ptr;
1337
+ SqliteTransactionFinalization.register(obj, obj.__wbg_ptr, obj);
1338
+ return obj;
1339
+ }
1340
+
1341
+ __destroy_into_raw() {
1342
+ const ptr = this.__wbg_ptr;
1343
+ this.__wbg_ptr = 0;
1344
+ SqliteTransactionFinalization.unregister(this);
1345
+ return ptr;
1346
+ }
1347
+
1348
+ free() {
1349
+ const ptr = this.__destroy_into_raw();
1350
+ wasm.__wbg_sqlitetransaction_free(ptr, 0);
1351
+ }
1352
+ /**
1353
+ * @param {string} sql
1354
+ * @returns {Promise<any>}
1355
+ */
1356
+ exec(sql) {
1357
+ const ptr0 = passStringToWasm0(sql, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1358
+ const len0 = WASM_VECTOR_LEN;
1359
+ const ret = wasm.sqlitetransaction_exec(this.__wbg_ptr, ptr0, len0);
1360
+ return ret;
1361
+ }
1362
+ /**
1363
+ * @returns {Promise<void>}
1364
+ */
1365
+ commit() {
1366
+ const ret = wasm.sqlitetransaction_commit(this.__wbg_ptr);
1367
+ return ret;
1368
+ }
1369
+ /**
1370
+ * @param {string} sql
1371
+ * @param {any} params
1372
+ * @returns {Promise<any>}
1373
+ */
1374
+ execute(sql, params) {
1375
+ const ptr0 = passStringToWasm0(sql, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
1376
+ const len0 = WASM_VECTOR_LEN;
1377
+ const ret = wasm.sqlitetransaction_execute(this.__wbg_ptr, ptr0, len0, params);
1378
+ return ret;
1379
+ }
1380
+ /**
1381
+ * @returns {Promise<void>}
1382
+ */
1383
+ rollback() {
1384
+ const ret = wasm.sqlitetransaction_rollback(this.__wbg_ptr);
1385
+ return ret;
1386
+ }
1387
+ }
1388
+
1296
1389
  const WebSocketHandleFinalization = (typeof FinalizationRegistry === 'undefined')
1297
1390
  ? { register: () => {}, unregister: () => {} }
1298
1391
  : new FinalizationRegistry(ptr => wasm.__wbg_websockethandle_free(ptr >>> 0, 1));
@@ -1569,7 +1662,7 @@ function __wbg_get_imports() {
1569
1662
  const a = state0.a;
1570
1663
  state0.a = 0;
1571
1664
  try {
1572
- return __wbg_adapter_268(a, state0.b, arg0, arg1);
1665
+ return __wbg_adapter_248(a, state0.b, arg0, arg1);
1573
1666
  } finally {
1574
1667
  state0.a = a;
1575
1668
  }
@@ -1712,6 +1805,10 @@ function __wbg_get_imports() {
1712
1805
  imports.wbg.__wbg_setonopen_2da654e1f39745d5 = function(arg0, arg1) {
1713
1806
  arg0.onopen = arg1;
1714
1807
  };
1808
+ imports.wbg.__wbg_sqlitetransaction_new = function(arg0) {
1809
+ const ret = SqliteTransaction.__wrap(arg0);
1810
+ return ret;
1811
+ };
1715
1812
  imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
1716
1813
  const ret = arg1.stack;
1717
1814
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -1781,24 +1878,24 @@ function __wbg_get_imports() {
1781
1878
  const ret = false;
1782
1879
  return ret;
1783
1880
  };
1784
- imports.wbg.__wbindgen_closure_wrapper3733 = function(arg0, arg1, arg2) {
1785
- const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
1881
+ imports.wbg.__wbindgen_closure_wrapper4188 = function(arg0, arg1, arg2) {
1882
+ const ret = makeMutClosure(arg0, arg1, 1859, __wbg_adapter_46);
1786
1883
  return ret;
1787
1884
  };
1788
- imports.wbg.__wbindgen_closure_wrapper3735 = function(arg0, arg1, arg2) {
1789
- const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
1885
+ imports.wbg.__wbindgen_closure_wrapper4190 = function(arg0, arg1, arg2) {
1886
+ const ret = makeMutClosure(arg0, arg1, 1859, __wbg_adapter_46);
1790
1887
  return ret;
1791
1888
  };
1792
- imports.wbg.__wbindgen_closure_wrapper3737 = function(arg0, arg1, arg2) {
1793
- const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
1889
+ imports.wbg.__wbindgen_closure_wrapper4192 = function(arg0, arg1, arg2) {
1890
+ const ret = makeMutClosure(arg0, arg1, 1859, __wbg_adapter_46);
1794
1891
  return ret;
1795
1892
  };
1796
- imports.wbg.__wbindgen_closure_wrapper3739 = function(arg0, arg1, arg2) {
1797
- const ret = makeMutClosure(arg0, arg1, 1599, __wbg_adapter_46);
1893
+ imports.wbg.__wbindgen_closure_wrapper4194 = function(arg0, arg1, arg2) {
1894
+ const ret = makeMutClosure(arg0, arg1, 1859, __wbg_adapter_46);
1798
1895
  return ret;
1799
1896
  };
1800
- imports.wbg.__wbindgen_closure_wrapper4580 = function(arg0, arg1, arg2) {
1801
- const ret = makeMutClosure(arg0, arg1, 1951, __wbg_adapter_55);
1897
+ imports.wbg.__wbindgen_closure_wrapper5060 = function(arg0, arg1, arg2) {
1898
+ const ret = makeMutClosure(arg0, arg1, 2232, __wbg_adapter_55);
1802
1899
  return ret;
1803
1900
  };
1804
1901
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -9,6 +9,7 @@ export const __wbg_coreregistry_free: (a: number, b: number) => void;
9
9
  export const __wbg_kv_free: (a: number, b: number) => void;
10
10
  export const __wbg_queuemessage_free: (a: number, b: number) => void;
11
11
  export const __wbg_sqlitedb_free: (a: number, b: number) => void;
12
+ export const __wbg_sqlitetransaction_free: (a: number, b: number) => void;
12
13
  export const __wbg_websockethandle_free: (a: number, b: number) => void;
13
14
  export const actorcontext_abortSignal: (a: number) => [number, number, number];
14
15
  export const actorcontext_actorId: (a: number) => [number, number];
@@ -36,6 +37,7 @@ export const actorcontext_requestSaveAndWait: (a: number, b: any) => any;
36
37
  export const actorcontext_restartRunHandler: (a: number) => void;
37
38
  export const actorcontext_runtimeState: (a: number) => any;
38
39
  export const actorcontext_saveState: (a: number, b: any) => any;
40
+ export const actorcontext_saveStateAndWorkflowBatch: (a: number, b: any) => any;
39
41
  export const actorcontext_setAlarm: (a: number, b: number, c: number) => [number, number];
40
42
  export const actorcontext_sleep: (a: number) => [number, number];
41
43
  export const actorcontext_sql: (a: number) => number;
@@ -77,6 +79,7 @@ export const queue_enqueueAndWait: (a: number, b: number, c: number, d: number,
77
79
  export const queue_inspectMessages: (a: number) => any;
78
80
  export const queue_maxSize: (a: number) => number;
79
81
  export const queue_nextBatch: (a: number, b: any, c: number) => any;
82
+ export const queue_reset: (a: number) => any;
80
83
  export const queue_send: (a: number, b: number, c: number, d: number, e: number) => any;
81
84
  export const queue_tryNextBatch: (a: number, b: any) => [number, number, number];
82
85
  export const queue_waitForNames: (a: number, b: any, c: any, d: number) => any;
@@ -90,11 +93,17 @@ export const queuemessage_name: (a: number) => [number, number];
90
93
  export const roundTripBytes: (a: number, b: number) => [number, number];
91
94
  export const schedule_after: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
92
95
  export const schedule_at: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
96
+ export const sqlitedb_beginTransaction: (a: number, b: number, c: number) => any;
93
97
  export const sqlitedb_close: (a: number) => any;
94
98
  export const sqlitedb_exec: (a: number, b: number, c: number) => any;
95
99
  export const sqlitedb_execute: (a: number, b: number, c: number, d: any) => any;
100
+ export const sqlitedb_executeBatch: (a: number, b: any) => any;
96
101
  export const sqlitedb_query: (a: number, b: number, c: number, d: any) => any;
97
102
  export const sqlitedb_run: (a: number, b: number, c: number, d: any) => any;
103
+ export const sqlitetransaction_commit: (a: number) => any;
104
+ export const sqlitetransaction_exec: (a: number, b: number, c: number) => any;
105
+ export const sqlitetransaction_execute: (a: number, b: number, c: number, d: any) => any;
106
+ export const sqlitetransaction_rollback: (a: number) => any;
98
107
  export const uint8ArrayFromBytes: (a: number, b: number) => any;
99
108
  export const websockethandle_close: (a: number, b: number, c: number, d: number) => any;
100
109
  export const websockethandle_send: (a: number, b: number, c: number, d: number) => [number, number];
@@ -112,7 +121,7 @@ export const __wbindgen_export_4: WebAssembly.Table;
112
121
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
113
122
  export const __wbindgen_export_6: WebAssembly.Table;
114
123
  export const __externref_table_dealloc: (a: number) => void;
115
- export const closure1598_externref_shim: (a: number, b: number, c: any) => void;
116
- export const closure1950_externref_shim: (a: number, b: number, c: any) => void;
117
- export const closure2181_externref_shim: (a: number, b: number, c: any, d: any) => void;
124
+ export const closure1858_externref_shim: (a: number, b: number, c: any) => void;
125
+ export const closure2231_externref_shim: (a: number, b: number, c: any) => void;
126
+ export const closure2462_externref_shim: (a: number, b: number, c: any, d: any) => void;
118
127
  export const __wbindgen_start: () => void;