@kreuzberg/html-to-markdown-wasm 3.4.0 → 3.4.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.
- package/package.json +4 -4
- package/pkg/bundler/html_to_markdown_wasm.d.ts +68 -33
- package/pkg/bundler/html_to_markdown_wasm_bg.js +548 -121
- package/pkg/bundler/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/bundler/html_to_markdown_wasm_bg.wasm.d.ts +46 -29
- package/pkg/bundler/package.json +1 -1
- package/pkg/deno/html_to_markdown_wasm.d.ts +68 -33
- package/pkg/deno/html_to_markdown_wasm.js +548 -121
- package/pkg/deno/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/deno/html_to_markdown_wasm_bg.wasm.d.ts +46 -29
- package/pkg/nodejs/html_to_markdown_wasm.d.ts +68 -33
- package/pkg/nodejs/html_to_markdown_wasm.js +548 -121
- package/pkg/nodejs/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/nodejs/html_to_markdown_wasm_bg.wasm.d.ts +46 -29
- package/pkg/nodejs/package.json +1 -1
- package/pkg/web/html_to_markdown_wasm.d.ts +114 -62
- package/pkg/web/html_to_markdown_wasm.js +548 -121
- package/pkg/web/html_to_markdown_wasm_bg.wasm +0 -0
- package/pkg/web/html_to_markdown_wasm_bg.wasm.d.ts +46 -29
- package/pkg/web/package.json +1 -1
|
Binary file
|
|
@@ -28,7 +28,7 @@ export const wasmconversionoptions_brInTables: (a: number) => number;
|
|
|
28
28
|
export const wasmconversionoptions_builder: () => number;
|
|
29
29
|
export const wasmconversionoptions_bullets: (a: number, b: number) => void;
|
|
30
30
|
export const wasmconversionoptions_captureSvg: (a: number) => number;
|
|
31
|
-
export const wasmconversionoptions_codeBlockStyle: (a: number) =>
|
|
31
|
+
export const wasmconversionoptions_codeBlockStyle: (a: number, b: number) => void;
|
|
32
32
|
export const wasmconversionoptions_codeLanguage: (a: number, b: number) => void;
|
|
33
33
|
export const wasmconversionoptions_convertAsInline: (a: number) => number;
|
|
34
34
|
export const wasmconversionoptions_debug: (a: number) => number;
|
|
@@ -44,19 +44,19 @@ export const wasmconversionoptions_extractImages: (a: number) => number;
|
|
|
44
44
|
export const wasmconversionoptions_extractMetadata: (a: number) => number;
|
|
45
45
|
export const wasmconversionoptions_from: (a: number) => number;
|
|
46
46
|
export const wasmconversionoptions_fromUpdate: (a: number) => number;
|
|
47
|
-
export const wasmconversionoptions_headingStyle: (a: number) =>
|
|
48
|
-
export const wasmconversionoptions_highlightStyle: (a: number) =>
|
|
47
|
+
export const wasmconversionoptions_headingStyle: (a: number, b: number) => void;
|
|
48
|
+
export const wasmconversionoptions_highlightStyle: (a: number, b: number) => void;
|
|
49
49
|
export const wasmconversionoptions_includeDocumentStructure: (a: number) => number;
|
|
50
50
|
export const wasmconversionoptions_inferDimensions: (a: number) => number;
|
|
51
51
|
export const wasmconversionoptions_keepInlineImagesIn: (a: number, b: number) => void;
|
|
52
|
-
export const wasmconversionoptions_linkStyle: (a: number) =>
|
|
53
|
-
export const wasmconversionoptions_listIndentType: (a: number) =>
|
|
52
|
+
export const wasmconversionoptions_linkStyle: (a: number, b: number) => void;
|
|
53
|
+
export const wasmconversionoptions_listIndentType: (a: number, b: number) => void;
|
|
54
54
|
export const wasmconversionoptions_listIndentWidth: (a: number) => number;
|
|
55
55
|
export const wasmconversionoptions_maxDepth: (a: number) => number;
|
|
56
56
|
export const wasmconversionoptions_maxImageSize: (a: number) => bigint;
|
|
57
|
-
export const wasmconversionoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number, l1: number, m1: number, n1: number, o1: number, p1: number, q1: number, r1: number, s1: number, t1: bigint, u1: number, v1: number, w1: number, x1: number, y1: number
|
|
58
|
-
export const wasmconversionoptions_newlineStyle: (a: number) =>
|
|
59
|
-
export const wasmconversionoptions_outputFormat: (a: number) =>
|
|
57
|
+
export const wasmconversionoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number, l1: number, m1: number, n1: number, o1: number, p1: number, q1: number, r1: number, s1: number, t1: bigint, u1: number, v1: number, w1: number, x1: number, y1: number) => number;
|
|
58
|
+
export const wasmconversionoptions_newlineStyle: (a: number, b: number) => void;
|
|
59
|
+
export const wasmconversionoptions_outputFormat: (a: number, b: number) => void;
|
|
60
60
|
export const wasmconversionoptions_preprocessing: (a: number) => number;
|
|
61
61
|
export const wasmconversionoptions_preserveTags: (a: number, b: number) => void;
|
|
62
62
|
export const wasmconversionoptions_set_autolinks: (a: number, b: number) => void;
|
|
@@ -107,7 +107,7 @@ export const wasmconversionoptions_strongEmSymbol: (a: number, b: number) => voi
|
|
|
107
107
|
export const wasmconversionoptions_subSymbol: (a: number, b: number) => void;
|
|
108
108
|
export const wasmconversionoptions_supSymbol: (a: number, b: number) => void;
|
|
109
109
|
export const wasmconversionoptions_visitor: (a: number) => number;
|
|
110
|
-
export const wasmconversionoptions_whitespaceMode: (a: number) =>
|
|
110
|
+
export const wasmconversionoptions_whitespaceMode: (a: number, b: number) => void;
|
|
111
111
|
export const wasmconversionoptions_wrap: (a: number) => number;
|
|
112
112
|
export const wasmconversionoptions_wrapWidth: (a: number) => number;
|
|
113
113
|
export const wasmconversionoptionsbuilder_build: (a: number) => number;
|
|
@@ -121,10 +121,11 @@ export const wasmconversionoptionsupdate_autolinks: (a: number) => number;
|
|
|
121
121
|
export const wasmconversionoptionsupdate_brInTables: (a: number) => number;
|
|
122
122
|
export const wasmconversionoptionsupdate_bullets: (a: number, b: number) => void;
|
|
123
123
|
export const wasmconversionoptionsupdate_captureSvg: (a: number) => number;
|
|
124
|
-
export const wasmconversionoptionsupdate_codeBlockStyle: (a: number) =>
|
|
124
|
+
export const wasmconversionoptionsupdate_codeBlockStyle: (a: number, b: number) => void;
|
|
125
125
|
export const wasmconversionoptionsupdate_codeLanguage: (a: number, b: number) => void;
|
|
126
126
|
export const wasmconversionoptionsupdate_convertAsInline: (a: number) => number;
|
|
127
127
|
export const wasmconversionoptionsupdate_debug: (a: number) => number;
|
|
128
|
+
export const wasmconversionoptionsupdate_default: () => number;
|
|
128
129
|
export const wasmconversionoptionsupdate_defaultTitle: (a: number) => number;
|
|
129
130
|
export const wasmconversionoptionsupdate_encoding: (a: number, b: number) => void;
|
|
130
131
|
export const wasmconversionoptionsupdate_escapeAscii: (a: number) => number;
|
|
@@ -134,19 +135,19 @@ export const wasmconversionoptionsupdate_escapeUnderscores: (a: number) => numbe
|
|
|
134
135
|
export const wasmconversionoptionsupdate_excludeSelectors: (a: number, b: number) => void;
|
|
135
136
|
export const wasmconversionoptionsupdate_extractImages: (a: number) => number;
|
|
136
137
|
export const wasmconversionoptionsupdate_extractMetadata: (a: number) => number;
|
|
137
|
-
export const wasmconversionoptionsupdate_headingStyle: (a: number) =>
|
|
138
|
-
export const wasmconversionoptionsupdate_highlightStyle: (a: number) =>
|
|
138
|
+
export const wasmconversionoptionsupdate_headingStyle: (a: number, b: number) => void;
|
|
139
|
+
export const wasmconversionoptionsupdate_highlightStyle: (a: number, b: number) => void;
|
|
139
140
|
export const wasmconversionoptionsupdate_includeDocumentStructure: (a: number) => number;
|
|
140
141
|
export const wasmconversionoptionsupdate_inferDimensions: (a: number) => number;
|
|
141
142
|
export const wasmconversionoptionsupdate_keepInlineImagesIn: (a: number, b: number) => void;
|
|
142
|
-
export const wasmconversionoptionsupdate_linkStyle: (a: number) =>
|
|
143
|
-
export const wasmconversionoptionsupdate_listIndentType: (a: number) =>
|
|
143
|
+
export const wasmconversionoptionsupdate_linkStyle: (a: number, b: number) => void;
|
|
144
|
+
export const wasmconversionoptionsupdate_listIndentType: (a: number, b: number) => void;
|
|
144
145
|
export const wasmconversionoptionsupdate_listIndentWidth: (a: number) => number;
|
|
145
146
|
export const wasmconversionoptionsupdate_maxDepth: (a: number) => number;
|
|
146
147
|
export const wasmconversionoptionsupdate_maxImageSize: (a: number, b: number) => void;
|
|
147
|
-
export const wasmconversionoptionsupdate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number, l1: number, m1: number, n1: number, o1: number, p1: number, q1: number, r1: number, s1: number, t1: bigint, u1: number, v1: number, w1: number, x1: number, y1: number
|
|
148
|
-
export const wasmconversionoptionsupdate_newlineStyle: (a: number) =>
|
|
149
|
-
export const wasmconversionoptionsupdate_outputFormat: (a: number) =>
|
|
148
|
+
export const wasmconversionoptionsupdate_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number, l1: number, m1: number, n1: number, o1: number, p1: number, q1: number, r1: number, s1: number, t1: bigint, u1: number, v1: number, w1: number, x1: number, y1: number) => number;
|
|
149
|
+
export const wasmconversionoptionsupdate_newlineStyle: (a: number, b: number) => void;
|
|
150
|
+
export const wasmconversionoptionsupdate_outputFormat: (a: number, b: number) => void;
|
|
150
151
|
export const wasmconversionoptionsupdate_preprocessing: (a: number) => number;
|
|
151
152
|
export const wasmconversionoptionsupdate_preserveTags: (a: number, b: number) => void;
|
|
152
153
|
export const wasmconversionoptionsupdate_set_autolinks: (a: number, b: number) => void;
|
|
@@ -197,14 +198,15 @@ export const wasmconversionoptionsupdate_strongEmSymbol: (a: number, b: number)
|
|
|
197
198
|
export const wasmconversionoptionsupdate_subSymbol: (a: number, b: number) => void;
|
|
198
199
|
export const wasmconversionoptionsupdate_supSymbol: (a: number, b: number) => void;
|
|
199
200
|
export const wasmconversionoptionsupdate_visitor: (a: number) => number;
|
|
200
|
-
export const wasmconversionoptionsupdate_whitespaceMode: (a: number) =>
|
|
201
|
+
export const wasmconversionoptionsupdate_whitespaceMode: (a: number, b: number) => void;
|
|
201
202
|
export const wasmconversionoptionsupdate_wrap: (a: number) => number;
|
|
202
203
|
export const wasmconversionoptionsupdate_wrapWidth: (a: number) => number;
|
|
203
204
|
export const wasmconversionresult_content: (a: number, b: number) => void;
|
|
205
|
+
export const wasmconversionresult_default: () => number;
|
|
204
206
|
export const wasmconversionresult_document: (a: number) => number;
|
|
205
207
|
export const wasmconversionresult_images: (a: number, b: number) => void;
|
|
206
208
|
export const wasmconversionresult_metadata: (a: number) => number;
|
|
207
|
-
export const wasmconversionresult_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number
|
|
209
|
+
export const wasmconversionresult_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
208
210
|
export const wasmconversionresult_set_content: (a: number, b: number, c: number) => void;
|
|
209
211
|
export const wasmconversionresult_set_document: (a: number, b: number) => void;
|
|
210
212
|
export const wasmconversionresult_set_images: (a: number, b: number, c: number) => void;
|
|
@@ -216,6 +218,7 @@ export const wasmconversionresult_warnings: (a: number, b: number) => void;
|
|
|
216
218
|
export const wasmdocumentmetadata_author: (a: number, b: number) => void;
|
|
217
219
|
export const wasmdocumentmetadata_baseHref: (a: number, b: number) => void;
|
|
218
220
|
export const wasmdocumentmetadata_canonicalUrl: (a: number, b: number) => void;
|
|
221
|
+
export const wasmdocumentmetadata_default: () => number;
|
|
219
222
|
export const wasmdocumentmetadata_description: (a: number, b: number) => void;
|
|
220
223
|
export const wasmdocumentmetadata_keywords: (a: number, b: number) => void;
|
|
221
224
|
export const wasmdocumentmetadata_language: (a: number, b: number) => void;
|
|
@@ -233,13 +236,14 @@ export const wasmdocumentmetadata_set_openGraph: (a: number, b: number) => void;
|
|
|
233
236
|
export const wasmdocumentmetadata_set_textDirection: (a: number, b: number) => void;
|
|
234
237
|
export const wasmdocumentmetadata_set_title: (a: number, b: number, c: number) => void;
|
|
235
238
|
export const wasmdocumentmetadata_set_twitterCard: (a: number, b: number) => void;
|
|
236
|
-
export const wasmdocumentmetadata_textDirection: (a: number) =>
|
|
239
|
+
export const wasmdocumentmetadata_textDirection: (a: number, b: number) => void;
|
|
237
240
|
export const wasmdocumentmetadata_title: (a: number, b: number) => void;
|
|
238
241
|
export const wasmdocumentmetadata_twitterCard: (a: number) => number;
|
|
239
242
|
export const wasmdocumentnode_annotations: (a: number, b: number) => void;
|
|
240
243
|
export const wasmdocumentnode_attributes: (a: number) => number;
|
|
241
244
|
export const wasmdocumentnode_children: (a: number, b: number) => void;
|
|
242
|
-
export const wasmdocumentnode_content: (a: number) =>
|
|
245
|
+
export const wasmdocumentnode_content: (a: number, b: number) => void;
|
|
246
|
+
export const wasmdocumentnode_default: () => number;
|
|
243
247
|
export const wasmdocumentnode_id: (a: number, b: number) => void;
|
|
244
248
|
export const wasmdocumentnode_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
245
249
|
export const wasmdocumentnode_parent: (a: number) => number;
|
|
@@ -249,6 +253,7 @@ export const wasmdocumentnode_set_children: (a: number, b: number, c: number) =>
|
|
|
249
253
|
export const wasmdocumentnode_set_content: (a: number, b: number) => void;
|
|
250
254
|
export const wasmdocumentnode_set_id: (a: number, b: number, c: number) => void;
|
|
251
255
|
export const wasmdocumentnode_set_parent: (a: number, b: number) => void;
|
|
256
|
+
export const wasmdocumentstructure_default: () => number;
|
|
252
257
|
export const wasmdocumentstructure_new: (a: number, b: number, c: number, d: number) => number;
|
|
253
258
|
export const wasmdocumentstructure_nodes: (a: number, b: number) => void;
|
|
254
259
|
export const wasmdocumentstructure_set_nodes: (a: number, b: number, c: number) => void;
|
|
@@ -257,6 +262,7 @@ export const wasmdocumentstructure_sourceFormat: (a: number, b: number) => void;
|
|
|
257
262
|
export const wasmgridcell_col: (a: number) => number;
|
|
258
263
|
export const wasmgridcell_colSpan: (a: number) => number;
|
|
259
264
|
export const wasmgridcell_content: (a: number, b: number) => void;
|
|
265
|
+
export const wasmgridcell_default: () => number;
|
|
260
266
|
export const wasmgridcell_isHeader: (a: number) => number;
|
|
261
267
|
export const wasmgridcell_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
262
268
|
export const wasmgridcell_row: (a: number) => number;
|
|
@@ -267,6 +273,7 @@ export const wasmgridcell_set_content: (a: number, b: number, c: number) => void
|
|
|
267
273
|
export const wasmgridcell_set_isHeader: (a: number, b: number) => void;
|
|
268
274
|
export const wasmgridcell_set_row: (a: number, b: number) => void;
|
|
269
275
|
export const wasmgridcell_set_rowSpan: (a: number, b: number) => void;
|
|
276
|
+
export const wasmheadermetadata_default: () => number;
|
|
270
277
|
export const wasmheadermetadata_htmlOffset: (a: number) => number;
|
|
271
278
|
export const wasmheadermetadata_id: (a: number, b: number) => void;
|
|
272
279
|
export const wasmheadermetadata_isValid: (a: number) => number;
|
|
@@ -277,6 +284,7 @@ export const wasmheadermetadata_set_id: (a: number, b: number, c: number) => voi
|
|
|
277
284
|
export const wasmheadermetadata_set_level: (a: number, b: number) => void;
|
|
278
285
|
export const wasmheadermetadata_set_text: (a: number, b: number, c: number) => void;
|
|
279
286
|
export const wasmheadermetadata_text: (a: number, b: number) => void;
|
|
287
|
+
export const wasmhtmlmetadata_default: () => number;
|
|
280
288
|
export const wasmhtmlmetadata_document: (a: number) => number;
|
|
281
289
|
export const wasmhtmlmetadata_headers: (a: number, b: number) => void;
|
|
282
290
|
export const wasmhtmlmetadata_images: (a: number, b: number) => void;
|
|
@@ -290,8 +298,9 @@ export const wasmhtmlmetadata_set_structuredData: (a: number, b: number, c: numb
|
|
|
290
298
|
export const wasmhtmlmetadata_structuredData: (a: number, b: number) => void;
|
|
291
299
|
export const wasmimagemetadata_alt: (a: number, b: number) => void;
|
|
292
300
|
export const wasmimagemetadata_attributes: (a: number) => number;
|
|
301
|
+
export const wasmimagemetadata_default: () => number;
|
|
293
302
|
export const wasmimagemetadata_dimensions: (a: number, b: number) => void;
|
|
294
|
-
export const wasmimagemetadata_imageType: (a: number) =>
|
|
303
|
+
export const wasmimagemetadata_imageType: (a: number, b: number) => void;
|
|
295
304
|
export const wasmimagemetadata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
296
305
|
export const wasmimagemetadata_set_alt: (a: number, b: number, c: number) => void;
|
|
297
306
|
export const wasmimagemetadata_set_attributes: (a: number, b: number) => void;
|
|
@@ -303,8 +312,9 @@ export const wasmimagemetadata_src: (a: number, b: number) => void;
|
|
|
303
312
|
export const wasmimagemetadata_title: (a: number, b: number) => void;
|
|
304
313
|
export const wasmlinkmetadata_attributes: (a: number) => number;
|
|
305
314
|
export const wasmlinkmetadata_classifyLink: (a: number, b: number) => number;
|
|
315
|
+
export const wasmlinkmetadata_default: () => number;
|
|
306
316
|
export const wasmlinkmetadata_href: (a: number, b: number) => void;
|
|
307
|
-
export const wasmlinkmetadata_linkType: (a: number) =>
|
|
317
|
+
export const wasmlinkmetadata_linkType: (a: number, b: number) => void;
|
|
308
318
|
export const wasmlinkmetadata_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
309
319
|
export const wasmlinkmetadata_rel: (a: number, b: number) => void;
|
|
310
320
|
export const wasmlinkmetadata_set_attributes: (a: number, b: number) => void;
|
|
@@ -316,10 +326,11 @@ export const wasmlinkmetadata_set_title: (a: number, b: number, c: number) => vo
|
|
|
316
326
|
export const wasmlinkmetadata_text: (a: number, b: number) => void;
|
|
317
327
|
export const wasmlinkmetadata_title: (a: number, b: number) => void;
|
|
318
328
|
export const wasmnodecontext_attributes: (a: number) => number;
|
|
329
|
+
export const wasmnodecontext_default: () => number;
|
|
319
330
|
export const wasmnodecontext_indexInParent: (a: number) => number;
|
|
320
331
|
export const wasmnodecontext_isInline: (a: number) => number;
|
|
321
332
|
export const wasmnodecontext_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
322
|
-
export const wasmnodecontext_nodeType: (a: number) =>
|
|
333
|
+
export const wasmnodecontext_nodeType: (a: number, b: number) => void;
|
|
323
334
|
export const wasmnodecontext_parentTag: (a: number, b: number) => void;
|
|
324
335
|
export const wasmnodecontext_set_attributes: (a: number, b: number) => void;
|
|
325
336
|
export const wasmnodecontext_set_indexInParent: (a: number, b: number) => void;
|
|
@@ -333,44 +344,50 @@ export const wasmpreprocessingoptions_default: () => number;
|
|
|
333
344
|
export const wasmpreprocessingoptions_enabled: (a: number) => number;
|
|
334
345
|
export const wasmpreprocessingoptions_from: (a: number) => number;
|
|
335
346
|
export const wasmpreprocessingoptions_new: (a: number, b: number, c: number, d: number) => number;
|
|
336
|
-
export const wasmpreprocessingoptions_preset: (a: number) =>
|
|
347
|
+
export const wasmpreprocessingoptions_preset: (a: number, b: number) => void;
|
|
337
348
|
export const wasmpreprocessingoptions_removeForms: (a: number) => number;
|
|
338
349
|
export const wasmpreprocessingoptions_removeNavigation: (a: number) => number;
|
|
339
350
|
export const wasmpreprocessingoptions_set_enabled: (a: number, b: number) => void;
|
|
340
351
|
export const wasmpreprocessingoptions_set_preset: (a: number, b: number) => void;
|
|
341
352
|
export const wasmpreprocessingoptions_set_removeForms: (a: number, b: number) => void;
|
|
342
353
|
export const wasmpreprocessingoptions_set_removeNavigation: (a: number, b: number) => void;
|
|
354
|
+
export const wasmpreprocessingoptionsupdate_default: () => number;
|
|
343
355
|
export const wasmpreprocessingoptionsupdate_enabled: (a: number) => number;
|
|
344
356
|
export const wasmpreprocessingoptionsupdate_new: (a: number, b: number, c: number, d: number) => number;
|
|
345
|
-
export const wasmpreprocessingoptionsupdate_preset: (a: number) =>
|
|
357
|
+
export const wasmpreprocessingoptionsupdate_preset: (a: number, b: number) => void;
|
|
346
358
|
export const wasmpreprocessingoptionsupdate_removeForms: (a: number) => number;
|
|
347
359
|
export const wasmpreprocessingoptionsupdate_removeNavigation: (a: number) => number;
|
|
348
360
|
export const wasmpreprocessingoptionsupdate_set_enabled: (a: number, b: number) => void;
|
|
349
361
|
export const wasmpreprocessingoptionsupdate_set_preset: (a: number, b: number) => void;
|
|
350
362
|
export const wasmpreprocessingoptionsupdate_set_removeForms: (a: number, b: number) => void;
|
|
351
363
|
export const wasmpreprocessingoptionsupdate_set_removeNavigation: (a: number, b: number) => void;
|
|
352
|
-
export const
|
|
364
|
+
export const wasmprocessingwarning_default: () => number;
|
|
365
|
+
export const wasmprocessingwarning_kind: (a: number, b: number) => void;
|
|
353
366
|
export const wasmprocessingwarning_message: (a: number, b: number) => void;
|
|
354
367
|
export const wasmprocessingwarning_new: (a: number, b: number, c: number) => number;
|
|
355
368
|
export const wasmprocessingwarning_set_kind: (a: number, b: number) => void;
|
|
356
369
|
export const wasmprocessingwarning_set_message: (a: number, b: number, c: number) => void;
|
|
357
|
-
export const wasmstructureddata_dataType: (a: number) =>
|
|
370
|
+
export const wasmstructureddata_dataType: (a: number, b: number) => void;
|
|
371
|
+
export const wasmstructureddata_default: () => number;
|
|
358
372
|
export const wasmstructureddata_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
359
373
|
export const wasmstructureddata_rawJson: (a: number, b: number) => void;
|
|
360
374
|
export const wasmstructureddata_schemaType: (a: number, b: number) => void;
|
|
361
375
|
export const wasmstructureddata_set_dataType: (a: number, b: number) => void;
|
|
362
376
|
export const wasmstructureddata_set_rawJson: (a: number, b: number, c: number) => void;
|
|
363
377
|
export const wasmstructureddata_set_schemaType: (a: number, b: number, c: number) => void;
|
|
378
|
+
export const wasmtabledata_default: () => number;
|
|
364
379
|
export const wasmtabledata_grid: (a: number) => number;
|
|
365
380
|
export const wasmtabledata_markdown: (a: number, b: number) => void;
|
|
366
381
|
export const wasmtabledata_new: (a: number, b: number, c: number) => number;
|
|
367
382
|
export const wasmtabledata_set_grid: (a: number, b: number) => void;
|
|
368
383
|
export const wasmtabledata_set_markdown: (a: number, b: number, c: number) => void;
|
|
369
384
|
export const wasmtablegrid_cells: (a: number, b: number) => void;
|
|
385
|
+
export const wasmtablegrid_default: () => number;
|
|
370
386
|
export const wasmtablegrid_new: (a: number, b: number, c: number, d: number) => number;
|
|
371
387
|
export const wasmtablegrid_set_cells: (a: number, b: number, c: number) => void;
|
|
388
|
+
export const wasmtextannotation_default: () => number;
|
|
372
389
|
export const wasmtextannotation_end: (a: number) => number;
|
|
373
|
-
export const wasmtextannotation_kind: (a: number) =>
|
|
390
|
+
export const wasmtextannotation_kind: (a: number, b: number) => void;
|
|
374
391
|
export const wasmtextannotation_new: (a: number, b: number, c: number) => number;
|
|
375
392
|
export const wasmtextannotation_set_end: (a: number, b: number) => void;
|
|
376
393
|
export const wasmtextannotation_set_kind: (a: number, b: number) => void;
|
|
@@ -52,7 +52,7 @@ export class WasmConversionOptions {
|
|
|
52
52
|
/**
|
|
53
53
|
* Apply a partial update to these conversion options.
|
|
54
54
|
*/
|
|
55
|
-
applyUpdate(
|
|
55
|
+
applyUpdate(update: WasmConversionOptionsUpdate): void;
|
|
56
56
|
/**
|
|
57
57
|
* Create a new builder with default values.
|
|
58
58
|
*/
|
|
@@ -63,12 +63,13 @@ export class WasmConversionOptions {
|
|
|
63
63
|
* Create from a partial update, applying to defaults.
|
|
64
64
|
*/
|
|
65
65
|
static fromUpdate(update: WasmConversionOptionsUpdate): WasmConversionOptions;
|
|
66
|
-
constructor(heading_style?: WasmHeadingStyle | null, list_indent_type?: WasmListIndentType | null, list_indent_width?: number | null, bullets?: string | null, strong_em_symbol?: string | null, escape_asterisks?: boolean | null, escape_underscores?: boolean | null, escape_misc?: boolean | null, escape_ascii?: boolean | null, code_language?: string | null, autolinks?: boolean | null, default_title?: boolean | null, br_in_tables?: boolean | null, highlight_style?: WasmHighlightStyle | null, extract_metadata?: boolean | null, whitespace_mode?: WasmWhitespaceMode | null, strip_newlines?: boolean | null, wrap?: boolean | null, wrap_width?: number | null, convert_as_inline?: boolean | null, sub_symbol?: string | null, sup_symbol?: string | null, newline_style?: WasmNewlineStyle | null, code_block_style?: WasmCodeBlockStyle | null, keep_inline_images_in?: string[] | null, preprocessing?: WasmPreprocessingOptions | null, encoding?: string | null, debug?: boolean | null, strip_tags?: string[] | null, preserve_tags?: string[] | null, skip_images?: boolean | null, link_style?: WasmLinkStyle | null, output_format?: WasmOutputFormat | null, include_document_structure?: boolean | null, extract_images?: boolean | null, max_image_size?: bigint | null, capture_svg?: boolean | null, infer_dimensions?: boolean | null, exclude_selectors?: string[] | null, max_depth?: number | null
|
|
66
|
+
constructor(heading_style?: WasmHeadingStyle | null, list_indent_type?: WasmListIndentType | null, list_indent_width?: number | null, bullets?: string | null, strong_em_symbol?: string | null, escape_asterisks?: boolean | null, escape_underscores?: boolean | null, escape_misc?: boolean | null, escape_ascii?: boolean | null, code_language?: string | null, autolinks?: boolean | null, default_title?: boolean | null, br_in_tables?: boolean | null, highlight_style?: WasmHighlightStyle | null, extract_metadata?: boolean | null, whitespace_mode?: WasmWhitespaceMode | null, strip_newlines?: boolean | null, wrap?: boolean | null, wrap_width?: number | null, convert_as_inline?: boolean | null, sub_symbol?: string | null, sup_symbol?: string | null, newline_style?: WasmNewlineStyle | null, code_block_style?: WasmCodeBlockStyle | null, keep_inline_images_in?: string[] | null, preprocessing?: WasmPreprocessingOptions | null, encoding?: string | null, debug?: boolean | null, strip_tags?: string[] | null, preserve_tags?: string[] | null, skip_images?: boolean | null, link_style?: WasmLinkStyle | null, output_format?: WasmOutputFormat | null, include_document_structure?: boolean | null, extract_images?: boolean | null, max_image_size?: bigint | null, capture_svg?: boolean | null, infer_dimensions?: boolean | null, exclude_selectors?: string[] | null, max_depth?: number | null);
|
|
67
67
|
autolinks: boolean;
|
|
68
68
|
brInTables: boolean;
|
|
69
69
|
bullets: string;
|
|
70
70
|
captureSvg: boolean;
|
|
71
|
-
codeBlockStyle:
|
|
71
|
+
get codeBlockStyle(): string;
|
|
72
|
+
set codeBlockStyle(value: WasmCodeBlockStyle);
|
|
72
73
|
codeLanguage: string;
|
|
73
74
|
convertAsInline: boolean;
|
|
74
75
|
debug: boolean;
|
|
@@ -81,19 +82,25 @@ export class WasmConversionOptions {
|
|
|
81
82
|
excludeSelectors: string[];
|
|
82
83
|
extractImages: boolean;
|
|
83
84
|
extractMetadata: boolean;
|
|
84
|
-
headingStyle:
|
|
85
|
-
|
|
85
|
+
get headingStyle(): string;
|
|
86
|
+
set headingStyle(value: WasmHeadingStyle);
|
|
87
|
+
get highlightStyle(): string;
|
|
88
|
+
set highlightStyle(value: WasmHighlightStyle);
|
|
86
89
|
includeDocumentStructure: boolean;
|
|
87
90
|
inferDimensions: boolean;
|
|
88
91
|
keepInlineImagesIn: string[];
|
|
89
|
-
linkStyle:
|
|
90
|
-
|
|
92
|
+
get linkStyle(): string;
|
|
93
|
+
set linkStyle(value: WasmLinkStyle);
|
|
94
|
+
get listIndentType(): string;
|
|
95
|
+
set listIndentType(value: WasmListIndentType);
|
|
91
96
|
listIndentWidth: number;
|
|
92
97
|
get maxDepth(): number | undefined;
|
|
93
98
|
set maxDepth(value: number | null | undefined);
|
|
94
99
|
maxImageSize: bigint;
|
|
95
|
-
newlineStyle:
|
|
96
|
-
|
|
100
|
+
get newlineStyle(): string;
|
|
101
|
+
set newlineStyle(value: WasmNewlineStyle);
|
|
102
|
+
get outputFormat(): string;
|
|
103
|
+
set outputFormat(value: WasmOutputFormat);
|
|
97
104
|
preprocessing: WasmPreprocessingOptions;
|
|
98
105
|
preserveTags: string[];
|
|
99
106
|
skipImages: boolean;
|
|
@@ -104,7 +111,8 @@ export class WasmConversionOptions {
|
|
|
104
111
|
supSymbol: string;
|
|
105
112
|
get visitor(): WasmVisitorHandle | undefined;
|
|
106
113
|
set visitor(value: WasmVisitorHandle | null | undefined);
|
|
107
|
-
whitespaceMode:
|
|
114
|
+
get whitespaceMode(): string;
|
|
115
|
+
set whitespaceMode(value: WasmWhitespaceMode);
|
|
108
116
|
wrap: boolean;
|
|
109
117
|
wrapWidth: number;
|
|
110
118
|
}
|
|
@@ -157,7 +165,8 @@ export class WasmConversionOptionsBuilder {
|
|
|
157
165
|
export class WasmConversionOptionsUpdate {
|
|
158
166
|
free(): void;
|
|
159
167
|
[Symbol.dispose](): void;
|
|
160
|
-
|
|
168
|
+
static default(): WasmConversionOptionsUpdate;
|
|
169
|
+
constructor(heading_style?: WasmHeadingStyle | null, list_indent_type?: WasmListIndentType | null, list_indent_width?: number | null, bullets?: string | null, strong_em_symbol?: string | null, escape_asterisks?: boolean | null, escape_underscores?: boolean | null, escape_misc?: boolean | null, escape_ascii?: boolean | null, code_language?: string | null, autolinks?: boolean | null, default_title?: boolean | null, br_in_tables?: boolean | null, highlight_style?: WasmHighlightStyle | null, extract_metadata?: boolean | null, whitespace_mode?: WasmWhitespaceMode | null, strip_newlines?: boolean | null, wrap?: boolean | null, wrap_width?: number | null, convert_as_inline?: boolean | null, sub_symbol?: string | null, sup_symbol?: string | null, newline_style?: WasmNewlineStyle | null, code_block_style?: WasmCodeBlockStyle | null, keep_inline_images_in?: string[] | null, preprocessing?: WasmPreprocessingOptionsUpdate | null, encoding?: string | null, debug?: boolean | null, strip_tags?: string[] | null, preserve_tags?: string[] | null, skip_images?: boolean | null, link_style?: WasmLinkStyle | null, output_format?: WasmOutputFormat | null, include_document_structure?: boolean | null, extract_images?: boolean | null, max_image_size?: bigint | null, capture_svg?: boolean | null, infer_dimensions?: boolean | null, max_depth?: number | null, exclude_selectors?: string[] | null);
|
|
161
170
|
get autolinks(): boolean | undefined;
|
|
162
171
|
set autolinks(value: boolean | null | undefined);
|
|
163
172
|
get brInTables(): boolean | undefined;
|
|
@@ -166,7 +175,7 @@ export class WasmConversionOptionsUpdate {
|
|
|
166
175
|
set bullets(value: string | null | undefined);
|
|
167
176
|
get captureSvg(): boolean | undefined;
|
|
168
177
|
set captureSvg(value: boolean | null | undefined);
|
|
169
|
-
get codeBlockStyle():
|
|
178
|
+
get codeBlockStyle(): string | undefined;
|
|
170
179
|
set codeBlockStyle(value: WasmCodeBlockStyle | null | undefined);
|
|
171
180
|
get codeLanguage(): string | undefined;
|
|
172
181
|
set codeLanguage(value: string | null | undefined);
|
|
@@ -192,9 +201,9 @@ export class WasmConversionOptionsUpdate {
|
|
|
192
201
|
set extractImages(value: boolean | null | undefined);
|
|
193
202
|
get extractMetadata(): boolean | undefined;
|
|
194
203
|
set extractMetadata(value: boolean | null | undefined);
|
|
195
|
-
get headingStyle():
|
|
204
|
+
get headingStyle(): string | undefined;
|
|
196
205
|
set headingStyle(value: WasmHeadingStyle | null | undefined);
|
|
197
|
-
get highlightStyle():
|
|
206
|
+
get highlightStyle(): string | undefined;
|
|
198
207
|
set highlightStyle(value: WasmHighlightStyle | null | undefined);
|
|
199
208
|
get includeDocumentStructure(): boolean | undefined;
|
|
200
209
|
set includeDocumentStructure(value: boolean | null | undefined);
|
|
@@ -202,9 +211,9 @@ export class WasmConversionOptionsUpdate {
|
|
|
202
211
|
set inferDimensions(value: boolean | null | undefined);
|
|
203
212
|
get keepInlineImagesIn(): string[] | undefined;
|
|
204
213
|
set keepInlineImagesIn(value: string[] | null | undefined);
|
|
205
|
-
get linkStyle():
|
|
214
|
+
get linkStyle(): string | undefined;
|
|
206
215
|
set linkStyle(value: WasmLinkStyle | null | undefined);
|
|
207
|
-
get listIndentType():
|
|
216
|
+
get listIndentType(): string | undefined;
|
|
208
217
|
set listIndentType(value: WasmListIndentType | null | undefined);
|
|
209
218
|
get listIndentWidth(): number | undefined;
|
|
210
219
|
set listIndentWidth(value: number | null | undefined);
|
|
@@ -212,9 +221,9 @@ export class WasmConversionOptionsUpdate {
|
|
|
212
221
|
set maxDepth(value: number | null | undefined);
|
|
213
222
|
get maxImageSize(): bigint | undefined;
|
|
214
223
|
set maxImageSize(value: bigint | null | undefined);
|
|
215
|
-
get newlineStyle():
|
|
224
|
+
get newlineStyle(): string | undefined;
|
|
216
225
|
set newlineStyle(value: WasmNewlineStyle | null | undefined);
|
|
217
|
-
get outputFormat():
|
|
226
|
+
get outputFormat(): string | undefined;
|
|
218
227
|
set outputFormat(value: WasmOutputFormat | null | undefined);
|
|
219
228
|
get preprocessing(): WasmPreprocessingOptionsUpdate | undefined;
|
|
220
229
|
set preprocessing(value: WasmPreprocessingOptionsUpdate | null | undefined);
|
|
@@ -234,7 +243,7 @@ export class WasmConversionOptionsUpdate {
|
|
|
234
243
|
set supSymbol(value: string | null | undefined);
|
|
235
244
|
get visitor(): WasmVisitorHandle | undefined;
|
|
236
245
|
set visitor(value: WasmVisitorHandle | null | undefined);
|
|
237
|
-
get whitespaceMode():
|
|
246
|
+
get whitespaceMode(): string | undefined;
|
|
238
247
|
set whitespaceMode(value: WasmWhitespaceMode | null | undefined);
|
|
239
248
|
get wrap(): boolean | undefined;
|
|
240
249
|
set wrap(value: boolean | null | undefined);
|
|
@@ -261,7 +270,8 @@ export class WasmConversionOptionsUpdate {
|
|
|
261
270
|
export class WasmConversionResult {
|
|
262
271
|
free(): void;
|
|
263
272
|
[Symbol.dispose](): void;
|
|
264
|
-
|
|
273
|
+
static default(): WasmConversionResult;
|
|
274
|
+
constructor(tables?: WasmTableData[] | null, warnings?: WasmProcessingWarning[] | null, content?: string | null, document?: WasmDocumentStructure | null);
|
|
265
275
|
get content(): string | undefined;
|
|
266
276
|
set content(value: string | null | undefined);
|
|
267
277
|
get document(): WasmDocumentStructure | undefined;
|
|
@@ -294,6 +304,7 @@ export class WasmConversionResult {
|
|
|
294
304
|
export class WasmDocumentMetadata {
|
|
295
305
|
free(): void;
|
|
296
306
|
[Symbol.dispose](): void;
|
|
307
|
+
static default(): WasmDocumentMetadata;
|
|
297
308
|
constructor(keywords?: string[] | null, open_graph?: any | null, twitter_card?: any | null, meta_tags?: any | null, title?: string | null, description?: string | null, author?: string | null, canonical_url?: string | null, base_href?: string | null, language?: string | null, text_direction?: WasmTextDirection | null);
|
|
298
309
|
get author(): string | undefined;
|
|
299
310
|
set author(value: string | null | undefined);
|
|
@@ -308,7 +319,7 @@ export class WasmDocumentMetadata {
|
|
|
308
319
|
set language(value: string | null | undefined);
|
|
309
320
|
metaTags: any;
|
|
310
321
|
openGraph: any;
|
|
311
|
-
get textDirection():
|
|
322
|
+
get textDirection(): string | undefined;
|
|
312
323
|
set textDirection(value: WasmTextDirection | null | undefined);
|
|
313
324
|
get title(): string | undefined;
|
|
314
325
|
set title(value: string | null | undefined);
|
|
@@ -321,12 +332,14 @@ export class WasmDocumentMetadata {
|
|
|
321
332
|
export class WasmDocumentNode {
|
|
322
333
|
free(): void;
|
|
323
334
|
[Symbol.dispose](): void;
|
|
335
|
+
static default(): WasmDocumentNode;
|
|
324
336
|
constructor(id: string, content: WasmNodeContent, children: Uint32Array, annotations: WasmTextAnnotation[], parent?: number | null, attributes?: any | null);
|
|
325
337
|
annotations: WasmTextAnnotation[];
|
|
326
338
|
get attributes(): any | undefined;
|
|
327
339
|
set attributes(value: any | null | undefined);
|
|
328
340
|
children: Uint32Array;
|
|
329
|
-
content:
|
|
341
|
+
get content(): string;
|
|
342
|
+
set content(value: WasmNodeContent);
|
|
330
343
|
id: string;
|
|
331
344
|
get parent(): number | undefined;
|
|
332
345
|
set parent(value: number | null | undefined);
|
|
@@ -340,6 +353,7 @@ export class WasmDocumentNode {
|
|
|
340
353
|
export class WasmDocumentStructure {
|
|
341
354
|
free(): void;
|
|
342
355
|
[Symbol.dispose](): void;
|
|
356
|
+
static default(): WasmDocumentStructure;
|
|
343
357
|
constructor(nodes: WasmDocumentNode[], source_format?: string | null);
|
|
344
358
|
nodes: WasmDocumentNode[];
|
|
345
359
|
get sourceFormat(): string | undefined;
|
|
@@ -352,6 +366,7 @@ export class WasmDocumentStructure {
|
|
|
352
366
|
export class WasmGridCell {
|
|
353
367
|
free(): void;
|
|
354
368
|
[Symbol.dispose](): void;
|
|
369
|
+
static default(): WasmGridCell;
|
|
355
370
|
constructor(content: string, row: number, col: number, row_span: number, col_span: number, is_header: boolean);
|
|
356
371
|
col: number;
|
|
357
372
|
colSpan: number;
|
|
@@ -385,6 +400,7 @@ export class WasmGridCell {
|
|
|
385
400
|
export class WasmHeaderMetadata {
|
|
386
401
|
free(): void;
|
|
387
402
|
[Symbol.dispose](): void;
|
|
403
|
+
static default(): WasmHeaderMetadata;
|
|
388
404
|
/**
|
|
389
405
|
* Validate that the header level is within valid range (1-6).
|
|
390
406
|
*
|
|
@@ -470,6 +486,7 @@ export enum WasmHighlightStyle {
|
|
|
470
486
|
export class WasmHtmlMetadata {
|
|
471
487
|
free(): void;
|
|
472
488
|
[Symbol.dispose](): void;
|
|
489
|
+
static default(): WasmHtmlMetadata;
|
|
473
490
|
constructor(document?: WasmDocumentMetadata | null, headers?: WasmHeaderMetadata[] | null, links?: WasmLinkMetadata[] | null, images?: WasmImageMetadata[] | null, structured_data?: WasmStructuredData[] | null);
|
|
474
491
|
document: WasmDocumentMetadata;
|
|
475
492
|
headers: WasmHeaderMetadata[];
|
|
@@ -502,13 +519,15 @@ export class WasmHtmlMetadata {
|
|
|
502
519
|
export class WasmImageMetadata {
|
|
503
520
|
free(): void;
|
|
504
521
|
[Symbol.dispose](): void;
|
|
522
|
+
static default(): WasmImageMetadata;
|
|
505
523
|
constructor(src: string, image_type: WasmImageType, attributes: any, alt?: string | null, title?: string | null, dimensions?: Uint32Array | null);
|
|
506
524
|
get alt(): string | undefined;
|
|
507
525
|
set alt(value: string | null | undefined);
|
|
508
526
|
attributes: any;
|
|
509
527
|
get dimensions(): Uint32Array | undefined;
|
|
510
528
|
set dimensions(value: Uint32Array | null | undefined);
|
|
511
|
-
imageType:
|
|
529
|
+
get imageType(): string;
|
|
530
|
+
set imageType(value: WasmImageType);
|
|
512
531
|
src: string;
|
|
513
532
|
get title(): string | undefined;
|
|
514
533
|
set title(value: string | null | undefined);
|
|
@@ -571,10 +590,12 @@ export class WasmLinkMetadata {
|
|
|
571
590
|
* ```
|
|
572
591
|
*/
|
|
573
592
|
static classifyLink(href: string): WasmLinkType;
|
|
593
|
+
static default(): WasmLinkMetadata;
|
|
574
594
|
constructor(href: string, text: string, link_type: WasmLinkType, rel: string[], attributes: any, title?: string | null);
|
|
575
595
|
attributes: any;
|
|
576
596
|
href: string;
|
|
577
|
-
linkType:
|
|
597
|
+
get linkType(): string;
|
|
598
|
+
set linkType(value: WasmLinkType);
|
|
578
599
|
rel: string[];
|
|
579
600
|
text: string;
|
|
580
601
|
get title(): string | undefined;
|
|
@@ -656,12 +677,14 @@ export enum WasmNodeContent {
|
|
|
656
677
|
export class WasmNodeContext {
|
|
657
678
|
free(): void;
|
|
658
679
|
[Symbol.dispose](): void;
|
|
680
|
+
static default(): WasmNodeContext;
|
|
659
681
|
constructor(node_type: WasmNodeType, tag_name: string, attributes: any, depth: number, index_in_parent: number, is_inline: boolean, parent_tag?: string | null);
|
|
660
682
|
attributes: any;
|
|
661
683
|
depth: number;
|
|
662
684
|
indexInParent: number;
|
|
663
685
|
isInline: boolean;
|
|
664
|
-
nodeType:
|
|
686
|
+
get nodeType(): string;
|
|
687
|
+
set nodeType(value: WasmNodeType);
|
|
665
688
|
get parentTag(): string | undefined;
|
|
666
689
|
set parentTag(value: string | null | undefined);
|
|
667
690
|
tagName: string;
|
|
@@ -791,7 +814,7 @@ export class WasmPreprocessingOptions {
|
|
|
791
814
|
*
|
|
792
815
|
* * `update` - Partial preprocessing options update
|
|
793
816
|
*/
|
|
794
|
-
applyUpdate(
|
|
817
|
+
applyUpdate(update: WasmPreprocessingOptionsUpdate): void;
|
|
795
818
|
static default(): WasmPreprocessingOptions;
|
|
796
819
|
static from(update: WasmPreprocessingOptionsUpdate): WasmPreprocessingOptions;
|
|
797
820
|
/**
|
|
@@ -811,7 +834,8 @@ export class WasmPreprocessingOptions {
|
|
|
811
834
|
static fromUpdate(update: WasmPreprocessingOptionsUpdate): WasmPreprocessingOptions;
|
|
812
835
|
constructor(enabled?: boolean | null, preset?: WasmPreprocessingPreset | null, remove_navigation?: boolean | null, remove_forms?: boolean | null);
|
|
813
836
|
enabled: boolean;
|
|
814
|
-
preset:
|
|
837
|
+
get preset(): string;
|
|
838
|
+
set preset(value: WasmPreprocessingPreset);
|
|
815
839
|
removeForms: boolean;
|
|
816
840
|
removeNavigation: boolean;
|
|
817
841
|
}
|
|
@@ -826,10 +850,11 @@ export class WasmPreprocessingOptions {
|
|
|
826
850
|
export class WasmPreprocessingOptionsUpdate {
|
|
827
851
|
free(): void;
|
|
828
852
|
[Symbol.dispose](): void;
|
|
853
|
+
static default(): WasmPreprocessingOptionsUpdate;
|
|
829
854
|
constructor(enabled?: boolean | null, preset?: WasmPreprocessingPreset | null, remove_navigation?: boolean | null, remove_forms?: boolean | null);
|
|
830
855
|
get enabled(): boolean | undefined;
|
|
831
856
|
set enabled(value: boolean | null | undefined);
|
|
832
|
-
get preset():
|
|
857
|
+
get preset(): string | undefined;
|
|
833
858
|
set preset(value: WasmPreprocessingPreset | null | undefined);
|
|
834
859
|
get removeForms(): boolean | undefined;
|
|
835
860
|
set removeForms(value: boolean | null | undefined);
|
|
@@ -854,8 +879,10 @@ export enum WasmPreprocessingPreset {
|
|
|
854
879
|
export class WasmProcessingWarning {
|
|
855
880
|
free(): void;
|
|
856
881
|
[Symbol.dispose](): void;
|
|
882
|
+
static default(): WasmProcessingWarning;
|
|
857
883
|
constructor(message: string, kind: WasmWarningKind);
|
|
858
|
-
kind:
|
|
884
|
+
get kind(): string;
|
|
885
|
+
set kind(value: WasmWarningKind);
|
|
859
886
|
message: string;
|
|
860
887
|
}
|
|
861
888
|
|
|
@@ -880,8 +907,10 @@ export class WasmProcessingWarning {
|
|
|
880
907
|
export class WasmStructuredData {
|
|
881
908
|
free(): void;
|
|
882
909
|
[Symbol.dispose](): void;
|
|
910
|
+
static default(): WasmStructuredData;
|
|
883
911
|
constructor(data_type: WasmStructuredDataType, raw_json: string, schema_type?: string | null);
|
|
884
|
-
dataType:
|
|
912
|
+
get dataType(): string;
|
|
913
|
+
set dataType(value: WasmStructuredDataType);
|
|
885
914
|
rawJson: string;
|
|
886
915
|
get schemaType(): string | undefined;
|
|
887
916
|
set schemaType(value: string | null | undefined);
|
|
@@ -904,6 +933,7 @@ export enum WasmStructuredDataType {
|
|
|
904
933
|
export class WasmTableData {
|
|
905
934
|
free(): void;
|
|
906
935
|
[Symbol.dispose](): void;
|
|
936
|
+
static default(): WasmTableData;
|
|
907
937
|
constructor(grid: WasmTableGrid, markdown: string);
|
|
908
938
|
grid: WasmTableGrid;
|
|
909
939
|
markdown: string;
|
|
@@ -915,6 +945,7 @@ export class WasmTableData {
|
|
|
915
945
|
export class WasmTableGrid {
|
|
916
946
|
free(): void;
|
|
917
947
|
[Symbol.dispose](): void;
|
|
948
|
+
static default(): WasmTableGrid;
|
|
918
949
|
constructor(rows?: number | null, cols?: number | null, cells?: WasmGridCell[] | null);
|
|
919
950
|
cells: WasmGridCell[];
|
|
920
951
|
cols: number;
|
|
@@ -929,9 +960,11 @@ export class WasmTableGrid {
|
|
|
929
960
|
export class WasmTextAnnotation {
|
|
930
961
|
free(): void;
|
|
931
962
|
[Symbol.dispose](): void;
|
|
963
|
+
static default(): WasmTextAnnotation;
|
|
932
964
|
constructor(start: number, end: number, kind: WasmAnnotationKind);
|
|
933
965
|
end: number;
|
|
934
|
-
kind:
|
|
966
|
+
get kind(): string;
|
|
967
|
+
set kind(value: WasmAnnotationKind);
|
|
935
968
|
start: number;
|
|
936
969
|
}
|
|
937
970
|
|
|
@@ -962,9 +995,11 @@ export enum WasmVisitResult {
|
|
|
962
995
|
}
|
|
963
996
|
|
|
964
997
|
/**
|
|
965
|
-
* Type alias for a visitor handle (
|
|
998
|
+
* Type alias for a visitor handle (`Arc`-wrapped `Mutex` for thread-safe shared mutation).
|
|
966
999
|
*
|
|
967
|
-
*
|
|
1000
|
+
* `Send + Sync` so that types embedding a `VisitorHandle` (e.g. `ConversionOptions`)
|
|
1001
|
+
* can be shared across threads — required by callers that stash configs inside
|
|
1002
|
+
* axum/rmcp/tokio Send-bound contexts.
|
|
968
1003
|
*/
|
|
969
1004
|
export class WasmVisitorHandle {
|
|
970
1005
|
free(): void;
|