@eredzik/calaminejs 0.1.0 → 0.1.1

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.
@@ -0,0 +1,50 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export class CellValue {
4
+ private constructor();
5
+ free(): void;
6
+ [Symbol.dispose](): void;
7
+ to_int_value(): bigint | undefined;
8
+ to_bool_value(): boolean | undefined;
9
+ to_float_value(): number | undefined;
10
+ to_string_value(): string | undefined;
11
+ readonly is_datetime: boolean;
12
+ readonly is_duration: boolean;
13
+ readonly is_int: boolean;
14
+ readonly is_bool: boolean;
15
+ readonly is_empty: boolean;
16
+ readonly is_error: boolean;
17
+ readonly is_float: boolean;
18
+ readonly is_string: boolean;
19
+ }
20
+ export class Sheet {
21
+ private constructor();
22
+ free(): void;
23
+ [Symbol.dispose](): void;
24
+ /**
25
+ * Convert sheet to Parquet format
26
+ * Returns the Parquet file as bytes
27
+ */
28
+ to_parquet(): Uint8Array;
29
+ /**
30
+ * Convert sheet to Parquet format with custom column names
31
+ * column_names: array of column names (must match col_count)
32
+ */
33
+ to_parquet_with_names(column_names: string[]): Uint8Array;
34
+ get_cell(row: number, col: number): CellValue | undefined;
35
+ col_count(): number;
36
+ row_count(): number;
37
+ readonly name: string;
38
+ readonly rows: Array<any>;
39
+ }
40
+ export class Workbook {
41
+ private constructor();
42
+ free(): void;
43
+ [Symbol.dispose](): void;
44
+ static from_bytes(data: Uint8Array): Workbook;
45
+ sheet_count(): number;
46
+ sheet_names(): Array<any>;
47
+ get_sheet_by_index(index: number): Sheet | undefined;
48
+ static from_bytes_with_progress(data: Uint8Array, progress_callback?: Function | null, progress_interval?: number | null): Workbook;
49
+ get_sheet(name: string): Sheet | undefined;
50
+ }
@@ -0,0 +1,527 @@
1
+
2
+ let imports = {};
3
+ imports['__wbindgen_placeholder__'] = module.exports;
4
+
5
+ let WASM_VECTOR_LEN = 0;
6
+
7
+ let cachedUint8ArrayMemory0 = null;
8
+
9
+ function getUint8ArrayMemory0() {
10
+ if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
11
+ cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
12
+ }
13
+ return cachedUint8ArrayMemory0;
14
+ }
15
+
16
+ const cachedTextEncoder = new TextEncoder();
17
+
18
+ if (!('encodeInto' in cachedTextEncoder)) {
19
+ cachedTextEncoder.encodeInto = function (arg, view) {
20
+ const buf = cachedTextEncoder.encode(arg);
21
+ view.set(buf);
22
+ return {
23
+ read: arg.length,
24
+ written: buf.length
25
+ };
26
+ }
27
+ }
28
+
29
+ function passStringToWasm0(arg, malloc, realloc) {
30
+
31
+ if (realloc === undefined) {
32
+ const buf = cachedTextEncoder.encode(arg);
33
+ const ptr = malloc(buf.length, 1) >>> 0;
34
+ getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
35
+ WASM_VECTOR_LEN = buf.length;
36
+ return ptr;
37
+ }
38
+
39
+ let len = arg.length;
40
+ let ptr = malloc(len, 1) >>> 0;
41
+
42
+ const mem = getUint8ArrayMemory0();
43
+
44
+ let offset = 0;
45
+
46
+ for (; offset < len; offset++) {
47
+ const code = arg.charCodeAt(offset);
48
+ if (code > 0x7F) break;
49
+ mem[ptr + offset] = code;
50
+ }
51
+
52
+ if (offset !== len) {
53
+ if (offset !== 0) {
54
+ arg = arg.slice(offset);
55
+ }
56
+ ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
57
+ const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
58
+ const ret = cachedTextEncoder.encodeInto(arg, view);
59
+
60
+ offset += ret.written;
61
+ ptr = realloc(ptr, len, offset, 1) >>> 0;
62
+ }
63
+
64
+ WASM_VECTOR_LEN = offset;
65
+ return ptr;
66
+ }
67
+
68
+ function isLikeNone(x) {
69
+ return x === undefined || x === null;
70
+ }
71
+
72
+ let cachedDataViewMemory0 = null;
73
+
74
+ function getDataViewMemory0() {
75
+ if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
76
+ cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
77
+ }
78
+ return cachedDataViewMemory0;
79
+ }
80
+
81
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
82
+
83
+ cachedTextDecoder.decode();
84
+
85
+ function decodeText(ptr, len) {
86
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
87
+ }
88
+
89
+ function getStringFromWasm0(ptr, len) {
90
+ ptr = ptr >>> 0;
91
+ return decodeText(ptr, len);
92
+ }
93
+
94
+ function addToExternrefTable0(obj) {
95
+ const idx = wasm.__externref_table_alloc();
96
+ wasm.__wbindgen_externrefs.set(idx, obj);
97
+ return idx;
98
+ }
99
+
100
+ function handleError(f, args) {
101
+ try {
102
+ return f.apply(this, args);
103
+ } catch (e) {
104
+ const idx = addToExternrefTable0(e);
105
+ wasm.__wbindgen_exn_store(idx);
106
+ }
107
+ }
108
+
109
+ function getArrayU8FromWasm0(ptr, len) {
110
+ ptr = ptr >>> 0;
111
+ return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
112
+ }
113
+
114
+ function takeFromExternrefTable0(idx) {
115
+ const value = wasm.__wbindgen_externrefs.get(idx);
116
+ wasm.__externref_table_dealloc(idx);
117
+ return value;
118
+ }
119
+
120
+ function passArrayJsValueToWasm0(array, malloc) {
121
+ const ptr = malloc(array.length * 4, 4) >>> 0;
122
+ for (let i = 0; i < array.length; i++) {
123
+ const add = addToExternrefTable0(array[i]);
124
+ getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
125
+ }
126
+ WASM_VECTOR_LEN = array.length;
127
+ return ptr;
128
+ }
129
+
130
+ function passArray8ToWasm0(arg, malloc) {
131
+ const ptr = malloc(arg.length * 1, 1) >>> 0;
132
+ getUint8ArrayMemory0().set(arg, ptr / 1);
133
+ WASM_VECTOR_LEN = arg.length;
134
+ return ptr;
135
+ }
136
+
137
+ const CellValueFinalization = (typeof FinalizationRegistry === 'undefined')
138
+ ? { register: () => {}, unregister: () => {} }
139
+ : new FinalizationRegistry(ptr => wasm.__wbg_cellvalue_free(ptr >>> 0, 1));
140
+
141
+ class CellValue {
142
+
143
+ static __wrap(ptr) {
144
+ ptr = ptr >>> 0;
145
+ const obj = Object.create(CellValue.prototype);
146
+ obj.__wbg_ptr = ptr;
147
+ CellValueFinalization.register(obj, obj.__wbg_ptr, obj);
148
+ return obj;
149
+ }
150
+
151
+ __destroy_into_raw() {
152
+ const ptr = this.__wbg_ptr;
153
+ this.__wbg_ptr = 0;
154
+ CellValueFinalization.unregister(this);
155
+ return ptr;
156
+ }
157
+
158
+ free() {
159
+ const ptr = this.__destroy_into_raw();
160
+ wasm.__wbg_cellvalue_free(ptr, 0);
161
+ }
162
+ /**
163
+ * @returns {boolean}
164
+ */
165
+ get is_datetime() {
166
+ const ret = wasm.cellvalue_is_datetime(this.__wbg_ptr);
167
+ return ret !== 0;
168
+ }
169
+ /**
170
+ * @returns {boolean}
171
+ */
172
+ get is_duration() {
173
+ const ret = wasm.cellvalue_is_duration(this.__wbg_ptr);
174
+ return ret !== 0;
175
+ }
176
+ /**
177
+ * @returns {bigint | undefined}
178
+ */
179
+ to_int_value() {
180
+ const ret = wasm.cellvalue_to_int_value(this.__wbg_ptr);
181
+ return ret[0] === 0 ? undefined : ret[1];
182
+ }
183
+ /**
184
+ * @returns {boolean | undefined}
185
+ */
186
+ to_bool_value() {
187
+ const ret = wasm.cellvalue_to_bool_value(this.__wbg_ptr);
188
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
189
+ }
190
+ /**
191
+ * @returns {number | undefined}
192
+ */
193
+ to_float_value() {
194
+ const ret = wasm.cellvalue_to_float_value(this.__wbg_ptr);
195
+ return ret[0] === 0 ? undefined : ret[1];
196
+ }
197
+ /**
198
+ * @returns {string | undefined}
199
+ */
200
+ to_string_value() {
201
+ const ret = wasm.cellvalue_to_string_value(this.__wbg_ptr);
202
+ let v1;
203
+ if (ret[0] !== 0) {
204
+ v1 = getStringFromWasm0(ret[0], ret[1]).slice();
205
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
206
+ }
207
+ return v1;
208
+ }
209
+ /**
210
+ * @returns {boolean}
211
+ */
212
+ get is_int() {
213
+ const ret = wasm.cellvalue_is_int(this.__wbg_ptr);
214
+ return ret !== 0;
215
+ }
216
+ /**
217
+ * @returns {boolean}
218
+ */
219
+ get is_bool() {
220
+ const ret = wasm.cellvalue_is_bool(this.__wbg_ptr);
221
+ return ret !== 0;
222
+ }
223
+ /**
224
+ * @returns {boolean}
225
+ */
226
+ get is_empty() {
227
+ const ret = wasm.cellvalue_is_empty(this.__wbg_ptr);
228
+ return ret !== 0;
229
+ }
230
+ /**
231
+ * @returns {boolean}
232
+ */
233
+ get is_error() {
234
+ const ret = wasm.cellvalue_is_error(this.__wbg_ptr);
235
+ return ret !== 0;
236
+ }
237
+ /**
238
+ * @returns {boolean}
239
+ */
240
+ get is_float() {
241
+ const ret = wasm.cellvalue_is_float(this.__wbg_ptr);
242
+ return ret !== 0;
243
+ }
244
+ /**
245
+ * @returns {boolean}
246
+ */
247
+ get is_string() {
248
+ const ret = wasm.cellvalue_is_string(this.__wbg_ptr);
249
+ return ret !== 0;
250
+ }
251
+ }
252
+ if (Symbol.dispose) CellValue.prototype[Symbol.dispose] = CellValue.prototype.free;
253
+
254
+ exports.CellValue = CellValue;
255
+
256
+ const SheetFinalization = (typeof FinalizationRegistry === 'undefined')
257
+ ? { register: () => {}, unregister: () => {} }
258
+ : new FinalizationRegistry(ptr => wasm.__wbg_sheet_free(ptr >>> 0, 1));
259
+
260
+ class Sheet {
261
+
262
+ static __wrap(ptr) {
263
+ ptr = ptr >>> 0;
264
+ const obj = Object.create(Sheet.prototype);
265
+ obj.__wbg_ptr = ptr;
266
+ SheetFinalization.register(obj, obj.__wbg_ptr, obj);
267
+ return obj;
268
+ }
269
+
270
+ __destroy_into_raw() {
271
+ const ptr = this.__wbg_ptr;
272
+ this.__wbg_ptr = 0;
273
+ SheetFinalization.unregister(this);
274
+ return ptr;
275
+ }
276
+
277
+ free() {
278
+ const ptr = this.__destroy_into_raw();
279
+ wasm.__wbg_sheet_free(ptr, 0);
280
+ }
281
+ /**
282
+ * Convert sheet to Parquet format
283
+ * Returns the Parquet file as bytes
284
+ * @returns {Uint8Array}
285
+ */
286
+ to_parquet() {
287
+ const ret = wasm.sheet_to_parquet(this.__wbg_ptr);
288
+ if (ret[3]) {
289
+ throw takeFromExternrefTable0(ret[2]);
290
+ }
291
+ var v1 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
292
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
293
+ return v1;
294
+ }
295
+ /**
296
+ * Convert sheet to Parquet format with custom column names
297
+ * column_names: array of column names (must match col_count)
298
+ * @param {string[]} column_names
299
+ * @returns {Uint8Array}
300
+ */
301
+ to_parquet_with_names(column_names) {
302
+ const ptr0 = passArrayJsValueToWasm0(column_names, wasm.__wbindgen_malloc);
303
+ const len0 = WASM_VECTOR_LEN;
304
+ const ret = wasm.sheet_to_parquet_with_names(this.__wbg_ptr, ptr0, len0);
305
+ if (ret[3]) {
306
+ throw takeFromExternrefTable0(ret[2]);
307
+ }
308
+ var v2 = getArrayU8FromWasm0(ret[0], ret[1]).slice();
309
+ wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
310
+ return v2;
311
+ }
312
+ /**
313
+ * @returns {string}
314
+ */
315
+ get name() {
316
+ let deferred1_0;
317
+ let deferred1_1;
318
+ try {
319
+ const ret = wasm.sheet_name(this.__wbg_ptr);
320
+ deferred1_0 = ret[0];
321
+ deferred1_1 = ret[1];
322
+ return getStringFromWasm0(ret[0], ret[1]);
323
+ } finally {
324
+ wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
325
+ }
326
+ }
327
+ /**
328
+ * @returns {Array<any>}
329
+ */
330
+ get rows() {
331
+ const ret = wasm.sheet_rows(this.__wbg_ptr);
332
+ return ret;
333
+ }
334
+ /**
335
+ * @param {number} row
336
+ * @param {number} col
337
+ * @returns {CellValue | undefined}
338
+ */
339
+ get_cell(row, col) {
340
+ const ret = wasm.sheet_get_cell(this.__wbg_ptr, row, col);
341
+ return ret === 0 ? undefined : CellValue.__wrap(ret);
342
+ }
343
+ /**
344
+ * @returns {number}
345
+ */
346
+ col_count() {
347
+ const ret = wasm.sheet_col_count(this.__wbg_ptr);
348
+ return ret >>> 0;
349
+ }
350
+ /**
351
+ * @returns {number}
352
+ */
353
+ row_count() {
354
+ const ret = wasm.sheet_row_count(this.__wbg_ptr);
355
+ return ret >>> 0;
356
+ }
357
+ }
358
+ if (Symbol.dispose) Sheet.prototype[Symbol.dispose] = Sheet.prototype.free;
359
+
360
+ exports.Sheet = Sheet;
361
+
362
+ const WorkbookFinalization = (typeof FinalizationRegistry === 'undefined')
363
+ ? { register: () => {}, unregister: () => {} }
364
+ : new FinalizationRegistry(ptr => wasm.__wbg_workbook_free(ptr >>> 0, 1));
365
+
366
+ class Workbook {
367
+
368
+ static __wrap(ptr) {
369
+ ptr = ptr >>> 0;
370
+ const obj = Object.create(Workbook.prototype);
371
+ obj.__wbg_ptr = ptr;
372
+ WorkbookFinalization.register(obj, obj.__wbg_ptr, obj);
373
+ return obj;
374
+ }
375
+
376
+ __destroy_into_raw() {
377
+ const ptr = this.__wbg_ptr;
378
+ this.__wbg_ptr = 0;
379
+ WorkbookFinalization.unregister(this);
380
+ return ptr;
381
+ }
382
+
383
+ free() {
384
+ const ptr = this.__destroy_into_raw();
385
+ wasm.__wbg_workbook_free(ptr, 0);
386
+ }
387
+ /**
388
+ * @param {Uint8Array} data
389
+ * @returns {Workbook}
390
+ */
391
+ static from_bytes(data) {
392
+ const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
393
+ const len0 = WASM_VECTOR_LEN;
394
+ const ret = wasm.workbook_from_bytes(ptr0, len0);
395
+ if (ret[2]) {
396
+ throw takeFromExternrefTable0(ret[1]);
397
+ }
398
+ return Workbook.__wrap(ret[0]);
399
+ }
400
+ /**
401
+ * @returns {number}
402
+ */
403
+ sheet_count() {
404
+ const ret = wasm.workbook_sheet_count(this.__wbg_ptr);
405
+ return ret >>> 0;
406
+ }
407
+ /**
408
+ * @returns {Array<any>}
409
+ */
410
+ sheet_names() {
411
+ const ret = wasm.workbook_sheet_names(this.__wbg_ptr);
412
+ return ret;
413
+ }
414
+ /**
415
+ * @param {number} index
416
+ * @returns {Sheet | undefined}
417
+ */
418
+ get_sheet_by_index(index) {
419
+ const ret = wasm.workbook_get_sheet_by_index(this.__wbg_ptr, index);
420
+ return ret === 0 ? undefined : Sheet.__wrap(ret);
421
+ }
422
+ /**
423
+ * @param {Uint8Array} data
424
+ * @param {Function | null} [progress_callback]
425
+ * @param {number | null} [progress_interval]
426
+ * @returns {Workbook}
427
+ */
428
+ static from_bytes_with_progress(data, progress_callback, progress_interval) {
429
+ const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
430
+ const len0 = WASM_VECTOR_LEN;
431
+ const ret = wasm.workbook_from_bytes_with_progress(ptr0, len0, isLikeNone(progress_callback) ? 0 : addToExternrefTable0(progress_callback), isLikeNone(progress_interval) ? 0x100000001 : (progress_interval) >>> 0);
432
+ if (ret[2]) {
433
+ throw takeFromExternrefTable0(ret[1]);
434
+ }
435
+ return Workbook.__wrap(ret[0]);
436
+ }
437
+ /**
438
+ * @param {string} name
439
+ * @returns {Sheet | undefined}
440
+ */
441
+ get_sheet(name) {
442
+ const ptr0 = passStringToWasm0(name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
443
+ const len0 = WASM_VECTOR_LEN;
444
+ const ret = wasm.workbook_get_sheet(this.__wbg_ptr, ptr0, len0);
445
+ return ret === 0 ? undefined : Sheet.__wrap(ret);
446
+ }
447
+ }
448
+ if (Symbol.dispose) Workbook.prototype[Symbol.dispose] = Workbook.prototype.free;
449
+
450
+ exports.Workbook = Workbook;
451
+
452
+ exports.__wbg___wbindgen_string_get_e4f06c90489ad01b = function(arg0, arg1) {
453
+ const obj = arg1;
454
+ const ret = typeof(obj) === 'string' ? obj : undefined;
455
+ var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
456
+ var len1 = WASM_VECTOR_LEN;
457
+ getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
458
+ getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
459
+ };
460
+
461
+ exports.__wbg___wbindgen_throw_b855445ff6a94295 = function(arg0, arg1) {
462
+ throw new Error(getStringFromWasm0(arg0, arg1));
463
+ };
464
+
465
+ exports.__wbg_call_525440f72fbfc0ea = function() { return handleError(function (arg0, arg1, arg2) {
466
+ const ret = arg0.call(arg1, arg2);
467
+ return ret;
468
+ }, arguments) };
469
+
470
+ exports.__wbg_getRandomValues_1c61fac11405ffdc = function() { return handleError(function (arg0, arg1) {
471
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
472
+ }, arguments) };
473
+
474
+ exports.__wbg_log_8cec76766b8c0e33 = function(arg0) {
475
+ console.log(arg0);
476
+ };
477
+
478
+ exports.__wbg_new_1acc0b6eea89d040 = function() {
479
+ const ret = new Object();
480
+ return ret;
481
+ };
482
+
483
+ exports.__wbg_new_e17d9f43105b08be = function() {
484
+ const ret = new Array();
485
+ return ret;
486
+ };
487
+
488
+ exports.__wbg_push_df81a39d04db858c = function(arg0, arg1) {
489
+ const ret = arg0.push(arg1);
490
+ return ret;
491
+ };
492
+
493
+ exports.__wbg_set_c2abbebe8b9ebee1 = function() { return handleError(function (arg0, arg1, arg2) {
494
+ const ret = Reflect.set(arg0, arg1, arg2);
495
+ return ret;
496
+ }, arguments) };
497
+
498
+ exports.__wbindgen_cast_2241b6af4c4b2941 = function(arg0, arg1) {
499
+ // Cast intrinsic for `Ref(String) -> Externref`.
500
+ const ret = getStringFromWasm0(arg0, arg1);
501
+ return ret;
502
+ };
503
+
504
+ exports.__wbindgen_cast_d6cd19b81560fd6e = function(arg0) {
505
+ // Cast intrinsic for `F64 -> Externref`.
506
+ const ret = arg0;
507
+ return ret;
508
+ };
509
+
510
+ exports.__wbindgen_init_externref_table = function() {
511
+ const table = wasm.__wbindgen_externrefs;
512
+ const offset = table.grow(4);
513
+ table.set(0, undefined);
514
+ table.set(offset + 0, undefined);
515
+ table.set(offset + 1, null);
516
+ table.set(offset + 2, true);
517
+ table.set(offset + 3, false);
518
+ ;
519
+ };
520
+
521
+ const wasmPath = `${__dirname}/calamine_js_bg.wasm`;
522
+ const wasmBytes = require('fs').readFileSync(wasmPath);
523
+ const wasmModule = new WebAssembly.Module(wasmBytes);
524
+ const wasm = exports.__wasm = new WebAssembly.Instance(wasmModule, imports).exports;
525
+
526
+ wasm.__wbindgen_start();
527
+
Binary file
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ export const memory: WebAssembly.Memory;
4
+ export const __wbg_cellvalue_free: (a: number, b: number) => void;
5
+ export const __wbg_sheet_free: (a: number, b: number) => void;
6
+ export const __wbg_workbook_free: (a: number, b: number) => void;
7
+ export const cellvalue_is_bool: (a: number) => number;
8
+ export const cellvalue_is_datetime: (a: number) => number;
9
+ export const cellvalue_is_duration: (a: number) => number;
10
+ export const cellvalue_is_empty: (a: number) => number;
11
+ export const cellvalue_is_error: (a: number) => number;
12
+ export const cellvalue_is_float: (a: number) => number;
13
+ export const cellvalue_is_int: (a: number) => number;
14
+ export const cellvalue_is_string: (a: number) => number;
15
+ export const cellvalue_to_bool_value: (a: number) => number;
16
+ export const cellvalue_to_float_value: (a: number) => [number, number];
17
+ export const cellvalue_to_int_value: (a: number) => [number, bigint];
18
+ export const cellvalue_to_string_value: (a: number) => [number, number];
19
+ export const sheet_col_count: (a: number) => number;
20
+ export const sheet_get_cell: (a: number, b: number, c: number) => number;
21
+ export const sheet_name: (a: number) => [number, number];
22
+ export const sheet_row_count: (a: number) => number;
23
+ export const sheet_rows: (a: number) => any;
24
+ export const sheet_to_parquet: (a: number) => [number, number, number, number];
25
+ export const sheet_to_parquet_with_names: (a: number, b: number, c: number) => [number, number, number, number];
26
+ export const workbook_from_bytes: (a: number, b: number) => [number, number, number];
27
+ export const workbook_from_bytes_with_progress: (a: number, b: number, c: number, d: number) => [number, number, number];
28
+ export const workbook_get_sheet: (a: number, b: number, c: number) => number;
29
+ export const workbook_get_sheet_by_index: (a: number, b: number) => number;
30
+ export const workbook_sheet_count: (a: number) => number;
31
+ export const workbook_sheet_names: (a: number) => any;
32
+ export const rust_lz4_wasm_shim_calloc: (a: number, b: number) => number;
33
+ export const rust_lz4_wasm_shim_free: (a: number) => void;
34
+ export const rust_lz4_wasm_shim_malloc: (a: number) => number;
35
+ export const rust_lz4_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
36
+ export const rust_lz4_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
37
+ export const rust_lz4_wasm_shim_memmove: (a: number, b: number, c: number) => number;
38
+ export const rust_lz4_wasm_shim_memset: (a: number, b: number, c: number) => number;
39
+ export const rust_zstd_wasm_shim_calloc: (a: number, b: number) => number;
40
+ export const rust_zstd_wasm_shim_free: (a: number) => void;
41
+ export const rust_zstd_wasm_shim_malloc: (a: number) => number;
42
+ export const rust_zstd_wasm_shim_memcmp: (a: number, b: number, c: number) => number;
43
+ export const rust_zstd_wasm_shim_memcpy: (a: number, b: number, c: number) => number;
44
+ export const rust_zstd_wasm_shim_memmove: (a: number, b: number, c: number) => number;
45
+ export const rust_zstd_wasm_shim_memset: (a: number, b: number, c: number) => number;
46
+ export const rust_zstd_wasm_shim_qsort: (a: number, b: number, c: number, d: number) => void;
47
+ export const __wbindgen_malloc: (a: number, b: number) => number;
48
+ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
49
+ export const __wbindgen_exn_store: (a: number) => void;
50
+ export const __externref_table_alloc: () => number;
51
+ export const __wbindgen_externrefs: WebAssembly.Table;
52
+ export const __externref_table_dealloc: (a: number) => void;
53
+ export const __wbindgen_free: (a: number, b: number, c: number) => void;
54
+ export const __wbindgen_start: () => void;