@coloop-ai/xlsx-wasm 0.0.0-stage → 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,504 @@
1
+ import * as z from "zod";
2
+
3
+ //#region src/schema.d.ts
4
+ type Area = z.infer<typeof Area>;
5
+ declare const Area: z.ZodObject<{
6
+ firstRow: z.ZodNumber;
7
+ firstColumn: z.ZodNumber;
8
+ lastRow: z.ZodNumber;
9
+ lastColumn: z.ZodNumber;
10
+ }, z.core.$strip>;
11
+ type CellValue = z.infer<typeof CellValue>;
12
+ declare const CellValue: z.ZodDiscriminatedUnion<[z.ZodObject<{
13
+ type: z.ZodLiteral<"empty">;
14
+ }, z.core.$strip>, z.ZodObject<{
15
+ type: z.ZodLiteral<"number">;
16
+ value: z.ZodNumber;
17
+ }, z.core.$strip>, z.ZodObject<{
18
+ type: z.ZodLiteral<"text">;
19
+ value: z.ZodString;
20
+ }, z.core.$strip>, z.ZodObject<{
21
+ type: z.ZodLiteral<"boolean">;
22
+ value: z.ZodBoolean;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ type: z.ZodLiteral<"error">;
25
+ value: z.ZodString;
26
+ }, z.core.$strip>], "type">;
27
+ type Color = z.infer<typeof Color>;
28
+ declare const Color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
29
+ kind: z.ZodLiteral<"rgb">;
30
+ hex: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ kind: z.ZodLiteral<"theme">;
33
+ index: z.ZodNumber;
34
+ tint: z.ZodNumber;
35
+ }, z.core.$strip>], "kind">>;
36
+ type BorderSide = z.infer<typeof BorderSide>;
37
+ declare const BorderSide: z.ZodNullable<z.ZodObject<{
38
+ style: z.ZodString;
39
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
40
+ kind: z.ZodLiteral<"rgb">;
41
+ hex: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ kind: z.ZodLiteral<"theme">;
44
+ index: z.ZodNumber;
45
+ tint: z.ZodNumber;
46
+ }, z.core.$strip>], "kind">>;
47
+ }, z.core.$strip>>;
48
+ type Style = z.infer<typeof Style>;
49
+ declare const Style: z.ZodObject<{
50
+ numberFormat: z.ZodString;
51
+ font: z.ZodObject<{
52
+ name: z.ZodString;
53
+ size: z.ZodNumber;
54
+ bold: z.ZodBoolean;
55
+ italic: z.ZodBoolean;
56
+ underline: z.ZodBoolean;
57
+ strike: z.ZodBoolean;
58
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
59
+ kind: z.ZodLiteral<"rgb">;
60
+ hex: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ kind: z.ZodLiteral<"theme">;
63
+ index: z.ZodNumber;
64
+ tint: z.ZodNumber;
65
+ }, z.core.$strip>], "kind">>;
66
+ }, z.core.$strip>;
67
+ fill: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
68
+ kind: z.ZodLiteral<"rgb">;
69
+ hex: z.ZodString;
70
+ }, z.core.$strip>, z.ZodObject<{
71
+ kind: z.ZodLiteral<"theme">;
72
+ index: z.ZodNumber;
73
+ tint: z.ZodNumber;
74
+ }, z.core.$strip>], "kind">>;
75
+ alignment: z.ZodNullable<z.ZodObject<{
76
+ horizontal: z.ZodString;
77
+ vertical: z.ZodString;
78
+ wrapText: z.ZodBoolean;
79
+ }, z.core.$strip>>;
80
+ borders: z.ZodObject<{
81
+ top: z.ZodNullable<z.ZodObject<{
82
+ style: z.ZodString;
83
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
84
+ kind: z.ZodLiteral<"rgb">;
85
+ hex: z.ZodString;
86
+ }, z.core.$strip>, z.ZodObject<{
87
+ kind: z.ZodLiteral<"theme">;
88
+ index: z.ZodNumber;
89
+ tint: z.ZodNumber;
90
+ }, z.core.$strip>], "kind">>;
91
+ }, z.core.$strip>>;
92
+ right: z.ZodNullable<z.ZodObject<{
93
+ style: z.ZodString;
94
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
95
+ kind: z.ZodLiteral<"rgb">;
96
+ hex: z.ZodString;
97
+ }, z.core.$strip>, z.ZodObject<{
98
+ kind: z.ZodLiteral<"theme">;
99
+ index: z.ZodNumber;
100
+ tint: z.ZodNumber;
101
+ }, z.core.$strip>], "kind">>;
102
+ }, z.core.$strip>>;
103
+ bottom: z.ZodNullable<z.ZodObject<{
104
+ style: z.ZodString;
105
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
106
+ kind: z.ZodLiteral<"rgb">;
107
+ hex: z.ZodString;
108
+ }, z.core.$strip>, z.ZodObject<{
109
+ kind: z.ZodLiteral<"theme">;
110
+ index: z.ZodNumber;
111
+ tint: z.ZodNumber;
112
+ }, z.core.$strip>], "kind">>;
113
+ }, z.core.$strip>>;
114
+ left: z.ZodNullable<z.ZodObject<{
115
+ style: z.ZodString;
116
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
117
+ kind: z.ZodLiteral<"rgb">;
118
+ hex: z.ZodString;
119
+ }, z.core.$strip>, z.ZodObject<{
120
+ kind: z.ZodLiteral<"theme">;
121
+ index: z.ZodNumber;
122
+ tint: z.ZodNumber;
123
+ }, z.core.$strip>], "kind">>;
124
+ }, z.core.$strip>>;
125
+ }, z.core.$strip>;
126
+ }, z.core.$strip>;
127
+ type SheetState = z.infer<typeof SheetState>;
128
+ declare const SheetState: z.ZodEnum<{
129
+ visible: "visible";
130
+ hidden: "hidden";
131
+ very_hidden: "very_hidden";
132
+ }>;
133
+ type Sheet = z.infer<typeof Sheet>;
134
+ declare const Sheet: z.ZodObject<{
135
+ index: z.ZodNumber;
136
+ name: z.ZodString;
137
+ state: z.ZodEnum<{
138
+ visible: "visible";
139
+ hidden: "hidden";
140
+ very_hidden: "very_hidden";
141
+ }>;
142
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
143
+ kind: z.ZodLiteral<"rgb">;
144
+ hex: z.ZodString;
145
+ }, z.core.$strip>, z.ZodObject<{
146
+ kind: z.ZodLiteral<"theme">;
147
+ index: z.ZodNumber;
148
+ tint: z.ZodNumber;
149
+ }, z.core.$strip>], "kind">>;
150
+ extent: z.ZodNullable<z.ZodObject<{
151
+ firstRow: z.ZodNumber;
152
+ firstColumn: z.ZodNumber;
153
+ lastRow: z.ZodNumber;
154
+ lastColumn: z.ZodNumber;
155
+ }, z.core.$strip>>;
156
+ frozenRows: z.ZodNumber;
157
+ frozenColumns: z.ZodNumber;
158
+ merged: z.ZodArray<z.ZodObject<{
159
+ firstRow: z.ZodNumber;
160
+ firstColumn: z.ZodNumber;
161
+ lastRow: z.ZodNumber;
162
+ lastColumn: z.ZodNumber;
163
+ }, z.core.$strip>>;
164
+ hiddenRows: z.ZodArray<z.ZodNumber>;
165
+ hiddenColumns: z.ZodArray<z.ZodObject<{
166
+ first: z.ZodNumber;
167
+ last: z.ZodNumber;
168
+ }, z.core.$strip>>;
169
+ comments: z.ZodArray<z.ZodObject<{
170
+ row: z.ZodNumber;
171
+ column: z.ZodNumber;
172
+ author: z.ZodString;
173
+ text: z.ZodString;
174
+ }, z.core.$strip>>;
175
+ links: z.ZodArray<z.ZodObject<{
176
+ row: z.ZodNumber;
177
+ column: z.ZodNumber;
178
+ kind: z.ZodEnum<{
179
+ external: "external";
180
+ internal: "internal";
181
+ }>;
182
+ target: z.ZodString;
183
+ tooltip: z.ZodNullable<z.ZodString>;
184
+ }, z.core.$strip>>;
185
+ conditionalFormats: z.ZodArray<z.ZodObject<{
186
+ range: z.ZodString;
187
+ kind: z.ZodString;
188
+ priority: z.ZodNumber;
189
+ }, z.core.$strip>>;
190
+ }, z.core.$strip>;
191
+ type WorkbookDescription = z.infer<typeof WorkbookDescription>;
192
+ declare const WorkbookDescription: z.ZodObject<{
193
+ metadata: z.ZodObject<{
194
+ application: z.ZodString;
195
+ appVersion: z.ZodString;
196
+ creator: z.ZodString;
197
+ lastModifiedBy: z.ZodString;
198
+ created: z.ZodString;
199
+ lastModified: z.ZodString;
200
+ }, z.core.$strip>;
201
+ locale: z.ZodString;
202
+ timezone: z.ZodString;
203
+ definedNames: z.ZodArray<z.ZodObject<{
204
+ name: z.ZodString;
205
+ sheet: z.ZodNullable<z.ZodNumber>;
206
+ formula: z.ZodString;
207
+ }, z.core.$strip>>;
208
+ tables: z.ZodArray<z.ZodObject<{
209
+ name: z.ZodString;
210
+ displayName: z.ZodString;
211
+ sheet: z.ZodNullable<z.ZodNumber>;
212
+ range: z.ZodString;
213
+ headerRows: z.ZodNumber;
214
+ totalsRows: z.ZodNumber;
215
+ columns: z.ZodArray<z.ZodString>;
216
+ hasFilters: z.ZodBoolean;
217
+ }, z.core.$strip>>;
218
+ styles: z.ZodRecord<z.ZodString, z.ZodObject<{
219
+ numberFormat: z.ZodString;
220
+ font: z.ZodObject<{
221
+ name: z.ZodString;
222
+ size: z.ZodNumber;
223
+ bold: z.ZodBoolean;
224
+ italic: z.ZodBoolean;
225
+ underline: z.ZodBoolean;
226
+ strike: z.ZodBoolean;
227
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
228
+ kind: z.ZodLiteral<"rgb">;
229
+ hex: z.ZodString;
230
+ }, z.core.$strip>, z.ZodObject<{
231
+ kind: z.ZodLiteral<"theme">;
232
+ index: z.ZodNumber;
233
+ tint: z.ZodNumber;
234
+ }, z.core.$strip>], "kind">>;
235
+ }, z.core.$strip>;
236
+ fill: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
237
+ kind: z.ZodLiteral<"rgb">;
238
+ hex: z.ZodString;
239
+ }, z.core.$strip>, z.ZodObject<{
240
+ kind: z.ZodLiteral<"theme">;
241
+ index: z.ZodNumber;
242
+ tint: z.ZodNumber;
243
+ }, z.core.$strip>], "kind">>;
244
+ alignment: z.ZodNullable<z.ZodObject<{
245
+ horizontal: z.ZodString;
246
+ vertical: z.ZodString;
247
+ wrapText: z.ZodBoolean;
248
+ }, z.core.$strip>>;
249
+ borders: z.ZodObject<{
250
+ top: z.ZodNullable<z.ZodObject<{
251
+ style: z.ZodString;
252
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
253
+ kind: z.ZodLiteral<"rgb">;
254
+ hex: z.ZodString;
255
+ }, z.core.$strip>, z.ZodObject<{
256
+ kind: z.ZodLiteral<"theme">;
257
+ index: z.ZodNumber;
258
+ tint: z.ZodNumber;
259
+ }, z.core.$strip>], "kind">>;
260
+ }, z.core.$strip>>;
261
+ right: z.ZodNullable<z.ZodObject<{
262
+ style: z.ZodString;
263
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
264
+ kind: z.ZodLiteral<"rgb">;
265
+ hex: z.ZodString;
266
+ }, z.core.$strip>, z.ZodObject<{
267
+ kind: z.ZodLiteral<"theme">;
268
+ index: z.ZodNumber;
269
+ tint: z.ZodNumber;
270
+ }, z.core.$strip>], "kind">>;
271
+ }, z.core.$strip>>;
272
+ bottom: z.ZodNullable<z.ZodObject<{
273
+ style: z.ZodString;
274
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
275
+ kind: z.ZodLiteral<"rgb">;
276
+ hex: z.ZodString;
277
+ }, z.core.$strip>, z.ZodObject<{
278
+ kind: z.ZodLiteral<"theme">;
279
+ index: z.ZodNumber;
280
+ tint: z.ZodNumber;
281
+ }, z.core.$strip>], "kind">>;
282
+ }, z.core.$strip>>;
283
+ left: z.ZodNullable<z.ZodObject<{
284
+ style: z.ZodString;
285
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
286
+ kind: z.ZodLiteral<"rgb">;
287
+ hex: z.ZodString;
288
+ }, z.core.$strip>, z.ZodObject<{
289
+ kind: z.ZodLiteral<"theme">;
290
+ index: z.ZodNumber;
291
+ tint: z.ZodNumber;
292
+ }, z.core.$strip>], "kind">>;
293
+ }, z.core.$strip>>;
294
+ }, z.core.$strip>;
295
+ }, z.core.$strip>>;
296
+ sheets: z.ZodArray<z.ZodObject<{
297
+ index: z.ZodNumber;
298
+ name: z.ZodString;
299
+ state: z.ZodEnum<{
300
+ visible: "visible";
301
+ hidden: "hidden";
302
+ very_hidden: "very_hidden";
303
+ }>;
304
+ color: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
305
+ kind: z.ZodLiteral<"rgb">;
306
+ hex: z.ZodString;
307
+ }, z.core.$strip>, z.ZodObject<{
308
+ kind: z.ZodLiteral<"theme">;
309
+ index: z.ZodNumber;
310
+ tint: z.ZodNumber;
311
+ }, z.core.$strip>], "kind">>;
312
+ extent: z.ZodNullable<z.ZodObject<{
313
+ firstRow: z.ZodNumber;
314
+ firstColumn: z.ZodNumber;
315
+ lastRow: z.ZodNumber;
316
+ lastColumn: z.ZodNumber;
317
+ }, z.core.$strip>>;
318
+ frozenRows: z.ZodNumber;
319
+ frozenColumns: z.ZodNumber;
320
+ merged: z.ZodArray<z.ZodObject<{
321
+ firstRow: z.ZodNumber;
322
+ firstColumn: z.ZodNumber;
323
+ lastRow: z.ZodNumber;
324
+ lastColumn: z.ZodNumber;
325
+ }, z.core.$strip>>;
326
+ hiddenRows: z.ZodArray<z.ZodNumber>;
327
+ hiddenColumns: z.ZodArray<z.ZodObject<{
328
+ first: z.ZodNumber;
329
+ last: z.ZodNumber;
330
+ }, z.core.$strip>>;
331
+ comments: z.ZodArray<z.ZodObject<{
332
+ row: z.ZodNumber;
333
+ column: z.ZodNumber;
334
+ author: z.ZodString;
335
+ text: z.ZodString;
336
+ }, z.core.$strip>>;
337
+ links: z.ZodArray<z.ZodObject<{
338
+ row: z.ZodNumber;
339
+ column: z.ZodNumber;
340
+ kind: z.ZodEnum<{
341
+ external: "external";
342
+ internal: "internal";
343
+ }>;
344
+ target: z.ZodString;
345
+ tooltip: z.ZodNullable<z.ZodString>;
346
+ }, z.core.$strip>>;
347
+ conditionalFormats: z.ZodArray<z.ZodObject<{
348
+ range: z.ZodString;
349
+ kind: z.ZodString;
350
+ priority: z.ZodNumber;
351
+ }, z.core.$strip>>;
352
+ }, z.core.$strip>>;
353
+ }, z.core.$strip>;
354
+ type Spill = z.infer<typeof Spill>;
355
+ declare const Spill: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
356
+ kind: z.ZodLiteral<"anchor">;
357
+ range: z.ZodObject<{
358
+ firstRow: z.ZodNumber;
359
+ firstColumn: z.ZodNumber;
360
+ lastRow: z.ZodNumber;
361
+ lastColumn: z.ZodNumber;
362
+ }, z.core.$strip>;
363
+ }, z.core.$strip>, z.ZodObject<{
364
+ kind: z.ZodLiteral<"part">;
365
+ anchor: z.ZodObject<{
366
+ row: z.ZodNumber;
367
+ column: z.ZodNumber;
368
+ }, z.core.$strip>;
369
+ }, z.core.$strip>], "kind">>;
370
+ type Cell = z.infer<typeof Cell>;
371
+ declare const Cell: z.ZodObject<{
372
+ row: z.ZodNumber;
373
+ column: z.ZodNumber;
374
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
375
+ type: z.ZodLiteral<"empty">;
376
+ }, z.core.$strip>, z.ZodObject<{
377
+ type: z.ZodLiteral<"number">;
378
+ value: z.ZodNumber;
379
+ }, z.core.$strip>, z.ZodObject<{
380
+ type: z.ZodLiteral<"text">;
381
+ value: z.ZodString;
382
+ }, z.core.$strip>, z.ZodObject<{
383
+ type: z.ZodLiteral<"boolean">;
384
+ value: z.ZodBoolean;
385
+ }, z.core.$strip>, z.ZodObject<{
386
+ type: z.ZodLiteral<"error">;
387
+ value: z.ZodString;
388
+ }, z.core.$strip>], "type">;
389
+ text: z.ZodString;
390
+ formula: z.ZodNullable<z.ZodString>;
391
+ style: z.ZodNumber;
392
+ spill: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
393
+ kind: z.ZodLiteral<"anchor">;
394
+ range: z.ZodObject<{
395
+ firstRow: z.ZodNumber;
396
+ firstColumn: z.ZodNumber;
397
+ lastRow: z.ZodNumber;
398
+ lastColumn: z.ZodNumber;
399
+ }, z.core.$strip>;
400
+ }, z.core.$strip>, z.ZodObject<{
401
+ kind: z.ZodLiteral<"part">;
402
+ anchor: z.ZodObject<{
403
+ row: z.ZodNumber;
404
+ column: z.ZodNumber;
405
+ }, z.core.$strip>;
406
+ }, z.core.$strip>], "kind">>;
407
+ }, z.core.$strip>;
408
+ type EvaluationResult = z.infer<typeof EvaluationResult>;
409
+ declare const EvaluationResult: z.ZodDiscriminatedUnion<[z.ZodObject<{
410
+ kind: z.ZodLiteral<"value">;
411
+ value: z.ZodDiscriminatedUnion<[z.ZodObject<{
412
+ type: z.ZodLiteral<"empty">;
413
+ }, z.core.$strip>, z.ZodObject<{
414
+ type: z.ZodLiteral<"number">;
415
+ value: z.ZodNumber;
416
+ }, z.core.$strip>, z.ZodObject<{
417
+ type: z.ZodLiteral<"text">;
418
+ value: z.ZodString;
419
+ }, z.core.$strip>, z.ZodObject<{
420
+ type: z.ZodLiteral<"boolean">;
421
+ value: z.ZodBoolean;
422
+ }, z.core.$strip>, z.ZodObject<{
423
+ type: z.ZodLiteral<"error">;
424
+ value: z.ZodString;
425
+ }, z.core.$strip>], "type">;
426
+ }, z.core.$strip>, z.ZodObject<{
427
+ kind: z.ZodLiteral<"array">;
428
+ rows: z.ZodArray<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
429
+ type: z.ZodLiteral<"empty">;
430
+ }, z.core.$strip>, z.ZodObject<{
431
+ type: z.ZodLiteral<"number">;
432
+ value: z.ZodNumber;
433
+ }, z.core.$strip>, z.ZodObject<{
434
+ type: z.ZodLiteral<"text">;
435
+ value: z.ZodString;
436
+ }, z.core.$strip>, z.ZodObject<{
437
+ type: z.ZodLiteral<"boolean">;
438
+ value: z.ZodBoolean;
439
+ }, z.core.$strip>, z.ZodObject<{
440
+ type: z.ZodLiteral<"error">;
441
+ value: z.ZodString;
442
+ }, z.core.$strip>], "type">>>;
443
+ }, z.core.$strip>], "kind">;
444
+ type CellChange = z.infer<typeof CellChange>;
445
+ declare const CellChange: z.ZodObject<{
446
+ sheet: z.ZodNumber;
447
+ row: z.ZodNumber;
448
+ column: z.ZodNumber;
449
+ saved: z.ZodDiscriminatedUnion<[z.ZodObject<{
450
+ type: z.ZodLiteral<"empty">;
451
+ }, z.core.$strip>, z.ZodObject<{
452
+ type: z.ZodLiteral<"number">;
453
+ value: z.ZodNumber;
454
+ }, z.core.$strip>, z.ZodObject<{
455
+ type: z.ZodLiteral<"text">;
456
+ value: z.ZodString;
457
+ }, z.core.$strip>, z.ZodObject<{
458
+ type: z.ZodLiteral<"boolean">;
459
+ value: z.ZodBoolean;
460
+ }, z.core.$strip>, z.ZodObject<{
461
+ type: z.ZodLiteral<"error">;
462
+ value: z.ZodString;
463
+ }, z.core.$strip>], "type">;
464
+ recalculated: z.ZodDiscriminatedUnion<[z.ZodObject<{
465
+ type: z.ZodLiteral<"empty">;
466
+ }, z.core.$strip>, z.ZodObject<{
467
+ type: z.ZodLiteral<"number">;
468
+ value: z.ZodNumber;
469
+ }, z.core.$strip>, z.ZodObject<{
470
+ type: z.ZodLiteral<"text">;
471
+ value: z.ZodString;
472
+ }, z.core.$strip>, z.ZodObject<{
473
+ type: z.ZodLiteral<"boolean">;
474
+ value: z.ZodBoolean;
475
+ }, z.core.$strip>, z.ZodObject<{
476
+ type: z.ZodLiteral<"error">;
477
+ value: z.ZodString;
478
+ }, z.core.$strip>], "type">;
479
+ }, z.core.$strip>;
480
+ //#endregion
481
+ //#region src/error.d.ts
482
+ type XlsxErrorKind = 'invalid_workbook' | 'invalid_request' | 'out_of_memory' | 'crashed' | 'closed';
483
+ declare class XlsxError extends Error {
484
+ readonly kind: XlsxErrorKind;
485
+ constructor(kind: XlsxErrorKind, message: string);
486
+ }
487
+ //#endregion
488
+ //#region src/index.d.ts
489
+ type EvaluationMode = 'saved' | 'recalculated';
490
+ declare class Workbook {
491
+ private readonly program;
492
+ private constructor();
493
+ static open(bytes: Uint8Array): Promise<Workbook>;
494
+ describe(): WorkbookDescription;
495
+ cells(sheet: number, area?: Area): Cell[];
496
+ evaluate(sheet: number, formulas: readonly string[], mode?: EvaluationMode): EvaluationResult[];
497
+ recalculate(): CellChange[];
498
+ formatValue(value: number, format: string): string;
499
+ close(): void;
500
+ private call;
501
+ }
502
+ //#endregion
503
+ export { type Area, type BorderSide, type Cell, type CellChange, type CellValue, type Color, EvaluationMode, type EvaluationResult, type Sheet, type SheetState, type Spill, type Style, Workbook, type WorkbookDescription, XlsxError, type XlsxErrorKind };
504
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/schema.ts","../src/error.ts","../src/index.ts"],"mappings":";;;KAEY,IAAA,GAAO,CAAA,CAAE,KAAK,QAAQ,IAAA;AAAA,cACrB,IAAA,EAAI,CAAA,CAAA,SAAA;;;;;;KAOL,SAAA,GAAY,CAAA,CAAE,KAAK,QAAQ,SAAA;AAAA,cAC1B,SAAA,EAAS,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;KAQV,KAAA,GAAQ,CAAA,CAAE,KAAK,QAAQ,KAAA;AAAA,cACtB,KAAA,EAAK,CAAA,CAAA,WAAA,CAAA,CAAA,CAAA,qBAAA,EAAA,CAAA,CAAA,SAAA;;;;;;;;KAON,UAAA,GAAa,CAAA,CAAE,KAAK,QAAQ,UAAA;AAAA,cAC3B,UAAA,EAAU,CAAA,CAAA,WAAA,CAAA,CAAA,CAAA,SAAA;;;;;;;;;;;KAIX,KAAA,GAAQ,CAAA,CAAE,KAAK,QAAQ,KAAA;AAAA,cACtB,KAAA,EAAK,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA2BN,UAAA,GAAa,CAAA,CAAE,KAAK,QAAQ,UAAA;AAAA,cAC3B,UAAA,EAAU,CAAA,CAAA,O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