@xberg-io/xberg-wasm 1.2.9 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -547,7 +547,15 @@ export class WasmBedrockConfig {
547
547
  export class WasmBibtexMetadata {
548
548
  free(): void;
549
549
  [Symbol.dispose](): void;
550
+ clearYearRange(): void;
550
551
  static default(): WasmBibtexMetadata;
552
+ /**
553
+ * Takes ownership of `yearRange`.
554
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
555
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
556
+ * keep a handle you already hold, build with `default()` and assign the property instead:
557
+ * the generated setter borrows and leaves your handle alive.
558
+ */
551
559
  constructor(entryCount?: number | null, citationKeys?: string[] | null, authors?: string[] | null, yearRange?: WasmYearRange | null, entryTypes?: any | null);
552
560
  authors: string[];
553
561
  citationKeys: string[];
@@ -555,7 +563,7 @@ export class WasmBibtexMetadata {
555
563
  get entryTypes(): any | undefined;
556
564
  set entryTypes(value: any | null | undefined);
557
565
  get yearRange(): WasmYearRange | undefined;
558
- set yearRange(value: WasmYearRange | null | undefined);
566
+ set yearRange(value: WasmYearRange);
559
567
  }
560
568
 
561
569
  /**
@@ -619,8 +627,16 @@ export enum WasmBrowserBackend {
619
627
  export class WasmBrowserConfig {
620
628
  free(): void;
621
629
  [Symbol.dispose](): void;
630
+ clearProxy(): void;
622
631
  static default(): WasmBrowserConfig;
623
- constructor(mode?: WasmBrowserMode | null, backend?: WasmBrowserBackend | null, timeout?: bigint | null, wait?: WasmBrowserWait | null, blockUrlPatterns?: string[] | null, captureNetworkEvents?: boolean | null, sessionAffinity?: boolean | null, endpoint?: string | null, waitSelector?: string | null, extraWait?: bigint | null, proxy?: WasmProxyConfig | null, evalScript?: string | null, robotsUserAgent?: string | null);
632
+ /**
633
+ * Takes ownership of `proxy`.
634
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
635
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
636
+ * keep a handle you already hold, build with `default()` and assign the property instead:
637
+ * the generated setter borrows and leaves your handle alive.
638
+ */
639
+ constructor(mode?: WasmBrowserMode | null, backend?: WasmBrowserBackend | null, timeout?: bigint | null, overallTimeout?: bigint | null, shutdownTimeout?: bigint | null, wait?: WasmBrowserWait | null, blockUrlPatterns?: string[] | null, captureNetworkEvents?: boolean | null, sessionAffinity?: boolean | null, endpoint?: string | null, waitSelector?: string | null, extraWait?: bigint | null, proxy?: WasmProxyConfig | null, evalScript?: string | null, robotsUserAgent?: string | null);
624
640
  get backend(): string;
625
641
  set backend(value: WasmBrowserBackend);
626
642
  blockUrlPatterns: string[];
@@ -633,11 +649,15 @@ export class WasmBrowserConfig {
633
649
  set extraWait(value: bigint | null | undefined);
634
650
  get mode(): string;
635
651
  set mode(value: WasmBrowserMode);
652
+ get overallTimeout(): bigint | undefined;
653
+ set overallTimeout(value: bigint | null | undefined);
636
654
  get proxy(): WasmProxyConfig | undefined;
637
- set proxy(value: WasmProxyConfig | null | undefined);
655
+ set proxy(value: WasmProxyConfig);
638
656
  get robotsUserAgent(): string | undefined;
639
657
  set robotsUserAgent(value: string | null | undefined);
640
658
  sessionAffinity: boolean;
659
+ get shutdownTimeout(): bigint | undefined;
660
+ set shutdownTimeout(value: bigint | null | undefined);
641
661
  get timeout(): bigint | undefined;
642
662
  set timeout(value: bigint | null | undefined);
643
663
  get waitSelector(): string | undefined;
@@ -743,7 +763,16 @@ export class WasmCellChange {
743
763
  export class WasmChunk {
744
764
  free(): void;
745
765
  [Symbol.dispose](): void;
766
+ clearLateInteraction(): void;
767
+ clearSparseEmbedding(): void;
746
768
  static default(): WasmChunk;
769
+ /**
770
+ * Takes ownership of `sparseEmbedding`, `lateInteraction`.
771
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
772
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
773
+ * keep a handle you already hold, build with `default()` and assign the property instead:
774
+ * the generated setter borrows and leaves your handle alive.
775
+ */
747
776
  constructor(content: string, chunkType: WasmChunkType, metadata: WasmChunkMetadata, embedding?: Float32Array | null, sparseEmbedding?: WasmSparseEmbedding | null, lateInteraction?: WasmMultiVectorEmbedding | null);
748
777
  get chunkType(): string;
749
778
  set chunkType(value: WasmChunkType);
@@ -751,10 +780,10 @@ export class WasmChunk {
751
780
  get embedding(): Float32Array | undefined;
752
781
  set embedding(value: Float32Array | null | undefined);
753
782
  get lateInteraction(): WasmMultiVectorEmbedding | undefined;
754
- set lateInteraction(value: WasmMultiVectorEmbedding | null | undefined);
783
+ set lateInteraction(value: WasmMultiVectorEmbedding);
755
784
  metadata: WasmChunkMetadata;
756
785
  get sparseEmbedding(): WasmSparseEmbedding | undefined;
757
- set sparseEmbedding(value: WasmSparseEmbedding | null | undefined);
786
+ set sparseEmbedding(value: WasmSparseEmbedding);
758
787
  }
759
788
 
760
789
  /**
@@ -829,7 +858,15 @@ export class WasmChunkInfo {
829
858
  export class WasmChunkMetadata {
830
859
  free(): void;
831
860
  [Symbol.dispose](): void;
861
+ clearHeadingContext(): void;
832
862
  static default(): WasmChunkMetadata;
863
+ /**
864
+ * Takes ownership of `headingContext`.
865
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
866
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
867
+ * keep a handle you already hold, build with `default()` and assign the property instead:
868
+ * the generated setter borrows and leaves your handle alive.
869
+ */
833
870
  constructor(byteStart: number, byteEnd: number, chunkIndex: number, totalChunks: number, headingPath: string[], imageIndices: Uint32Array, nodeIds: string[], pageSpans: WasmPageSpan[], classifications: WasmClassificationLabel[], tokenCount?: number | null, firstPage?: number | null, lastPage?: number | null, headingContext?: WasmHeadingContext | null);
834
871
  byteEnd: number;
835
872
  byteStart: number;
@@ -838,7 +875,7 @@ export class WasmChunkMetadata {
838
875
  get firstPage(): number | undefined;
839
876
  set firstPage(value: number | null | undefined);
840
877
  get headingContext(): WasmHeadingContext | undefined;
841
- set headingContext(value: WasmHeadingContext | null | undefined);
878
+ set headingContext(value: WasmHeadingContext);
842
879
  headingPath: string[];
843
880
  imageIndices: Uint32Array;
844
881
  get lastPage(): number | undefined;
@@ -935,21 +972,31 @@ export enum WasmChunkerType {
935
972
  export class WasmChunkingConfig {
936
973
  free(): void;
937
974
  [Symbol.dispose](): void;
975
+ clearEmbedding(): void;
976
+ clearLateInteraction(): void;
977
+ clearSparseEmbedding(): void;
938
978
  static default(): WasmChunkingConfig;
979
+ /**
980
+ * Takes ownership of `embedding`, `sparseEmbedding`, `lateInteraction`.
981
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
982
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
983
+ * keep a handle you already hold, build with `default()` and assign the property instead:
984
+ * the generated setter borrows and leaves your handle alive.
985
+ */
939
986
  constructor(maxCharacters?: number | null, overlap?: number | null, trim?: boolean | null, chunkerType?: WasmChunkerType | null, sizing?: any | null, tableChunking?: WasmTableChunkingMode | null, embedding?: WasmEmbeddingConfig | null, sparseEmbedding?: WasmSparseEmbeddingConfig | null, lateInteraction?: WasmLateInteractionConfig | null, preset?: string | null, topicThreshold?: number | null);
940
987
  get chunkerType(): string;
941
988
  set chunkerType(value: WasmChunkerType);
942
989
  get embedding(): WasmEmbeddingConfig | undefined;
943
- set embedding(value: WasmEmbeddingConfig | null | undefined);
990
+ set embedding(value: WasmEmbeddingConfig);
944
991
  get lateInteraction(): WasmLateInteractionConfig | undefined;
945
- set lateInteraction(value: WasmLateInteractionConfig | null | undefined);
992
+ set lateInteraction(value: WasmLateInteractionConfig);
946
993
  maxCharacters: number;
947
994
  overlap: number;
948
995
  get preset(): string | undefined;
949
996
  set preset(value: string | null | undefined);
950
997
  sizing: any;
951
998
  get sparseEmbedding(): WasmSparseEmbeddingConfig | undefined;
952
- set sparseEmbedding(value: WasmSparseEmbeddingConfig | null | undefined);
999
+ set sparseEmbedding(value: WasmSparseEmbeddingConfig);
953
1000
  get tableChunking(): string;
954
1001
  set tableChunking(value: WasmTableChunkingMode);
955
1002
  get topicThreshold(): number | undefined;
@@ -1003,7 +1050,15 @@ export class WasmCitation {
1003
1050
  export class WasmCitationMetadata {
1004
1051
  free(): void;
1005
1052
  [Symbol.dispose](): void;
1053
+ clearYearRange(): void;
1006
1054
  static default(): WasmCitationMetadata;
1055
+ /**
1056
+ * Takes ownership of `yearRange`.
1057
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1058
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1059
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1060
+ * the generated setter borrows and leaves your handle alive.
1061
+ */
1007
1062
  constructor(citationCount?: number | null, authors?: string[] | null, dois?: string[] | null, keywords?: string[] | null, format?: string | null, yearRange?: WasmYearRange | null);
1008
1063
  authors: string[];
1009
1064
  citationCount: number;
@@ -1012,7 +1067,7 @@ export class WasmCitationMetadata {
1012
1067
  set format(value: string | null | undefined);
1013
1068
  keywords: string[];
1014
1069
  get yearRange(): WasmYearRange | undefined;
1015
- set yearRange(value: WasmYearRange | null | undefined);
1070
+ set yearRange(value: WasmYearRange);
1016
1071
  }
1017
1072
 
1018
1073
  /**
@@ -1116,8 +1171,9 @@ export class WasmContentConfig {
1116
1171
  free(): void;
1117
1172
  [Symbol.dispose](): void;
1118
1173
  static default(): WasmContentConfig;
1119
- constructor(outputFormat?: string | null, preprocessingPreset?: string | null, removeNavigation?: boolean | null, removeForms?: boolean | null, stripTags?: string[] | null, preserveTags?: string[] | null, excludeSelectors?: string[] | null, skipImages?: boolean | null, wrap?: boolean | null, wrapWidth?: number | null, includeDocumentStructure?: boolean | null, maxDepth?: number | null);
1174
+ constructor(outputFormat?: string | null, preprocessingPreset?: string | null, removeNavigation?: boolean | null, removeForms?: boolean | null, stripTags?: string[] | null, preserveTags?: string[] | null, excludeSelectors?: string[] | null, skipImages?: boolean | null, wrap?: boolean | null, wrapWidth?: number | null, includeDocumentStructure?: boolean | null, extractMetadata?: boolean | null, maxDepth?: number | null);
1120
1175
  excludeSelectors: string[];
1176
+ extractMetadata: boolean;
1121
1177
  includeDocumentStructure: boolean;
1122
1178
  get maxDepth(): number | undefined;
1123
1179
  set maxDepth(value: number | null | undefined);
@@ -1198,8 +1254,17 @@ export class WasmConversionOptions {
1198
1254
  free(): void;
1199
1255
  [Symbol.dispose](): void;
1200
1256
  static default(): WasmConversionOptions;
1201
- constructor(headingStyle?: WasmHeadingStyle | null, listIndentType?: WasmListIndentType | null, listIndentWidth?: number | null, bullets?: string | null, strongEmSymbol?: string | null, escapeAsterisks?: boolean | null, escapeUnderscores?: boolean | null, escapeMisc?: boolean | null, escapeAscii?: boolean | null, codeLanguage?: string | null, autolinks?: boolean | null, defaultTitle?: boolean | null, brInTables?: boolean | null, compactTables?: boolean | null, highlightStyle?: WasmHighlightStyle | null, extractMetadata?: boolean | null, whitespaceMode?: WasmWhitespaceMode | null, stripNewlines?: boolean | null, wrap?: boolean | null, wrapWidth?: number | null, convertAsInline?: boolean | null, subSymbol?: string | null, supSymbol?: string | null, newlineStyle?: WasmNewlineStyle | null, codeBlockStyle?: WasmCodeBlockStyle | null, keepInlineImagesIn?: string[] | null, preprocessing?: WasmPreprocessingOptions | null, encoding?: string | null, debug?: boolean | null, stripTags?: string[] | null, preserveTags?: string[] | null, skipImages?: boolean | null, urlEscapeStyle?: WasmUrlEscapeStyle | null, linkStyle?: WasmLinkStyle | null, outputFormat?: WasmHtmlToMarkdownRsOutputFormat | null, includeDocumentStructure?: boolean | null, extractImages?: boolean | null, maxImageSize?: bigint | null, captureSvg?: boolean | null, inferDimensions?: boolean | null, excludeSelectors?: string[] | null, tierStrategy?: WasmTierStrategy | null, maxDepth?: number | null);
1257
+ /**
1258
+ * Takes ownership of `preprocessing`.
1259
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1260
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1261
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1262
+ * the generated setter borrows and leaves your handle alive.
1263
+ */
1264
+ constructor(headingStyle?: WasmHeadingStyle | null, listIndentType?: WasmListIndentType | null, listIndentWidth?: number | null, bullets?: string | null, strongEmSymbol?: string | null, escapeAsterisks?: boolean | null, escapeUnderscores?: boolean | null, escapeMisc?: boolean | null, escapeAscii?: boolean | null, codeLanguage?: string | null, autolinks?: boolean | null, defaultTitle?: boolean | null, brInTables?: boolean | null, compactTables?: boolean | null, highlightStyle?: WasmHighlightStyle | null, extractMetadata?: boolean | null, whitespaceMode?: WasmWhitespaceMode | null, stripNewlines?: boolean | null, wrap?: boolean | null, wrapWidth?: number | null, convertAsInline?: boolean | null, subSymbol?: string | null, supSymbol?: string | null, newlineStyle?: WasmNewlineStyle | null, codeBlockStyle?: WasmCodeBlockStyle | null, keepInlineImagesIn?: string[] | null, preprocessing?: WasmPreprocessingOptions | null, encoding?: string | null, debug?: boolean | null, stripTags?: string[] | null, preserveTags?: string[] | null, skipImages?: boolean | null, urlEscapeStyle?: WasmUrlEscapeStyle | null, linkStyle?: WasmLinkStyle | null, outputFormat?: WasmHtmlToMarkdownRsOutputFormat | null, includeDocumentStructure?: boolean | null, extractImages?: boolean | null, maxImageSize?: bigint | null, captureSvg?: boolean | null, inferDimensions?: boolean | null, excludeSelectors?: string[] | null, tierStrategy?: WasmTierStrategy | null, maxDepth?: number | null, baseUrl?: string | null);
1202
1265
  autolinks: boolean;
1266
+ get baseUrl(): string | undefined;
1267
+ set baseUrl(value: string | null | undefined);
1203
1268
  brInTables: boolean;
1204
1269
  bullets: string;
1205
1270
  captureSvg: boolean;
@@ -1304,8 +1369,16 @@ export class WasmCoreProperties {
1304
1369
  export class WasmCrawlConfig {
1305
1370
  free(): void;
1306
1371
  [Symbol.dispose](): void;
1372
+ clearProxy(): void;
1307
1373
  static default(): WasmCrawlConfig;
1308
- constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?: WasmAssetCategory[] | null, browser?: WasmBrowserConfig | null, userAgents?: string[] | null, captureScreenshot?: boolean | null, followDocumentUrls?: boolean | null, downloadDocuments?: boolean | null, documentMimeTypes?: string[] | null, saveBrowserProfile?: boolean | null, ssrf?: WasmSsrfPolicy | null, maxDepth?: number | null, maxPages?: number | null, maxLinksPerPage?: number | null, maxConcurrent?: number | null, contentFilter?: WasmContentFilterKind | null, bm25Query?: string | null, bm25Threshold?: number | null, userAgent?: string | null, rateLimitMs?: bigint | null, auth?: any | null, maxBodySize?: number | null, mapLimit?: number | null, mapSearch?: string | null, maxAssetSize?: number | null, proxy?: WasmProxyConfig | null, documentUrlDepth?: number | null, documentMaxSize?: number | null, documentOutputDir?: string | null, documentContentEncoding?: WasmDocumentContentEncoding | null, warcOutput?: string | null, browserProfile?: string | null, ssrfDenyPrivateExplicit?: boolean | null);
1374
+ /**
1375
+ * Takes ownership of `content`, `browser`, `proxy`, `ssrf`.
1376
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1377
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1378
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1379
+ * the generated setter borrows and leaves your handle alive.
1380
+ */
1381
+ constructor(crawlStrategy?: WasmCrawlStrategyKind | null, respectRobotsTxt?: boolean | null, softHttpErrors?: boolean | null, stayOnDomain?: boolean | null, allowSubdomains?: boolean | null, includePaths?: string[] | null, excludePaths?: string[] | null, pathPatternsMatchQuery?: boolean | null, dedupIncludeQuery?: boolean | null, stripTrackingParams?: boolean | null, trackingParams?: string[] | null, customHeaders?: any | null, requestTimeout?: bigint | null, maxRedirects?: number | null, retryCount?: number | null, retryCodes?: Uint16Array | null, retryInitialDelayMs?: bigint | null, retryMaxDelayMs?: bigint | null, rateLimitJitterRatio?: number | null, cookiesEnabled?: boolean | null, removeTags?: string[] | null, content?: WasmContentConfig | null, downloadAssets?: boolean | null, assetTypes?: WasmAssetCategory[] | null, browser?: WasmBrowserConfig | null, userAgents?: string[] | null, captureScreenshot?: boolean | null, followDocumentUrls?: boolean | null, downloadDocuments?: boolean | null, documentMimeTypes?: string[] | null, saveBrowserProfile?: boolean | null, ssrf?: WasmSsrfPolicy | null, maxDepth?: number | null, maxPages?: number | null, maxLinksPerPage?: number | null, maxConcurrent?: number | null, contentFilter?: WasmContentFilterKind | null, bm25Query?: string | null, bm25Threshold?: number | null, userAgent?: string | null, rateLimitMs?: bigint | null, auth?: any | null, maxBodySize?: number | null, mapLimit?: number | null, mapSearch?: string | null, maxAssetSize?: number | null, proxy?: WasmProxyConfig | null, documentUrlDepth?: number | null, documentMaxSize?: number | null, documentOutputDir?: string | null, documentContentEncoding?: WasmDocumentContentEncoding | null, warcOutput?: string | null, browserProfile?: string | null, ssrfDenyPrivateExplicit?: boolean | null);
1309
1382
  allowSubdomains: boolean;
1310
1383
  assetTypes: string[];
1311
1384
  get auth(): any | undefined;
@@ -1325,6 +1398,7 @@ export class WasmCrawlConfig {
1325
1398
  get crawlStrategy(): string;
1326
1399
  set crawlStrategy(value: WasmCrawlStrategyKind);
1327
1400
  customHeaders: any;
1401
+ dedupIncludeQuery: boolean;
1328
1402
  get documentContentEncoding(): string | undefined;
1329
1403
  set documentContentEncoding(value: WasmDocumentContentEncoding | null | undefined);
1330
1404
  get documentMaxSize(): number | undefined;
@@ -1356,8 +1430,10 @@ export class WasmCrawlConfig {
1356
1430
  get maxPages(): number | undefined;
1357
1431
  set maxPages(value: number | null | undefined);
1358
1432
  maxRedirects: number;
1433
+ pathPatternsMatchQuery: boolean;
1359
1434
  get proxy(): WasmProxyConfig | undefined;
1360
- set proxy(value: WasmProxyConfig | null | undefined);
1435
+ set proxy(value: WasmProxyConfig);
1436
+ rateLimitJitterRatio: number;
1361
1437
  get rateLimitMs(): bigint | undefined;
1362
1438
  set rateLimitMs(value: bigint | null | undefined);
1363
1439
  removeTags: string[];
@@ -1366,12 +1442,16 @@ export class WasmCrawlConfig {
1366
1442
  respectRobotsTxt: boolean;
1367
1443
  retryCodes: Uint16Array;
1368
1444
  retryCount: number;
1445
+ retryInitialDelayMs: bigint;
1446
+ retryMaxDelayMs: bigint;
1369
1447
  saveBrowserProfile: boolean;
1370
1448
  softHttpErrors: boolean;
1371
1449
  get ssrfDenyPrivateExplicit(): boolean | undefined;
1372
1450
  set ssrfDenyPrivateExplicit(value: boolean | null | undefined);
1373
1451
  ssrf: WasmSsrfPolicy;
1374
1452
  stayOnDomain: boolean;
1453
+ stripTrackingParams: boolean;
1454
+ trackingParams: string[];
1375
1455
  get userAgent(): string | undefined;
1376
1456
  set userAgent(value: string | null | undefined);
1377
1457
  userAgents: string[];
@@ -1527,6 +1607,13 @@ export class WasmDjotAttributeGroup {
1527
1607
  free(): void;
1528
1608
  [Symbol.dispose](): void;
1529
1609
  static default(): WasmDjotAttributeGroup;
1610
+ /**
1611
+ * Takes ownership of `attributes`.
1612
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1613
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1614
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1615
+ * the generated setter borrows and leaves your handle alive.
1616
+ */
1530
1617
  constructor(identifier?: string | null, attributes?: WasmAttributes | null);
1531
1618
  attributes: WasmAttributes;
1532
1619
  identifier: string;
@@ -1566,11 +1653,19 @@ export class WasmDjotContent {
1566
1653
  export class WasmDjotImage {
1567
1654
  free(): void;
1568
1655
  [Symbol.dispose](): void;
1656
+ clearAttributes(): void;
1569
1657
  static default(): WasmDjotImage;
1658
+ /**
1659
+ * Takes ownership of `attributes`.
1660
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1661
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1662
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1663
+ * the generated setter borrows and leaves your handle alive.
1664
+ */
1570
1665
  constructor(src: string, alt: string, title?: string | null, attributes?: WasmAttributes | null);
1571
1666
  alt: string;
1572
1667
  get attributes(): WasmAttributes | undefined;
1573
- set attributes(value: WasmAttributes | null | undefined);
1668
+ set attributes(value: WasmAttributes);
1574
1669
  src: string;
1575
1670
  get title(): string | undefined;
1576
1671
  set title(value: string | null | undefined);
@@ -1582,10 +1677,18 @@ export class WasmDjotImage {
1582
1677
  export class WasmDjotLink {
1583
1678
  free(): void;
1584
1679
  [Symbol.dispose](): void;
1680
+ clearAttributes(): void;
1585
1681
  static default(): WasmDjotLink;
1682
+ /**
1683
+ * Takes ownership of `attributes`.
1684
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1685
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1686
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1687
+ * the generated setter borrows and leaves your handle alive.
1688
+ */
1586
1689
  constructor(url: string, text: string, title?: string | null, attributes?: WasmAttributes | null);
1587
1690
  get attributes(): WasmAttributes | undefined;
1588
- set attributes(value: WasmAttributes | null | undefined);
1691
+ set attributes(value: WasmAttributes);
1589
1692
  text: string;
1590
1693
  get title(): string | undefined;
1591
1694
  set title(value: string | null | undefined);
@@ -1699,7 +1802,15 @@ export class WasmDocumentCounts {
1699
1802
  export class WasmDocumentMetadata {
1700
1803
  free(): void;
1701
1804
  [Symbol.dispose](): void;
1805
+ clearUserChunkConfig(): void;
1702
1806
  static default(): WasmDocumentMetadata;
1807
+ /**
1808
+ * Takes ownership of `userChunkConfig`.
1809
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1810
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1811
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1812
+ * the generated setter borrows and leaves your handle alive.
1813
+ */
1703
1814
  constructor(mimeType: string, sizeBytes: bigint, forceOcr: boolean, chunkingEnabled: boolean, pageCount?: number | null, userChunkConfig?: WasmUserChunkConfig | null);
1704
1815
  chunkingEnabled: boolean;
1705
1816
  forceOcr: boolean;
@@ -1708,7 +1819,7 @@ export class WasmDocumentMetadata {
1708
1819
  set pageCount(value: number | null | undefined);
1709
1820
  sizeBytes: bigint;
1710
1821
  get userChunkConfig(): WasmUserChunkConfig | undefined;
1711
- set userChunkConfig(value: WasmUserChunkConfig | null | undefined);
1822
+ set userChunkConfig(value: WasmUserChunkConfig);
1712
1823
  }
1713
1824
 
1714
1825
  /**
@@ -1720,13 +1831,21 @@ export class WasmDocumentMetadata {
1720
1831
  export class WasmDocumentNode {
1721
1832
  free(): void;
1722
1833
  [Symbol.dispose](): void;
1834
+ clearBbox(): void;
1723
1835
  static default(): WasmDocumentNode;
1836
+ /**
1837
+ * Takes ownership of `bbox`.
1838
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
1839
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
1840
+ * keep a handle you already hold, build with `default()` and assign the property instead:
1841
+ * the generated setter borrows and leaves your handle alive.
1842
+ */
1724
1843
  constructor(id: string, content: any, children: Uint32Array, contentLayer: WasmContentLayer, annotations: WasmTextAnnotation[], parent?: number | null, page?: number | null, pageEnd?: number | null, bbox?: WasmBoundingBox | null, attributes?: any | null);
1725
1844
  annotations: WasmTextAnnotation[];
1726
1845
  get attributes(): any | undefined;
1727
1846
  set attributes(value: any | null | undefined);
1728
1847
  get bbox(): WasmBoundingBox | undefined;
1729
- set bbox(value: WasmBoundingBox | null | undefined);
1848
+ set bbox(value: WasmBoundingBox);
1730
1849
  children: Uint32Array;
1731
1850
  get contentLayer(): string;
1732
1851
  set contentLayer(value: WasmContentLayer);
@@ -1884,12 +2003,21 @@ export class WasmDocxAppProperties {
1884
2003
  export class WasmDocxMetadata {
1885
2004
  free(): void;
1886
2005
  [Symbol.dispose](): void;
2006
+ clearAppProperties(): void;
2007
+ clearCoreProperties(): void;
1887
2008
  static default(): WasmDocxMetadata;
2009
+ /**
2010
+ * Takes ownership of `coreProperties`, `appProperties`.
2011
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2012
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2013
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2014
+ * the generated setter borrows and leaves your handle alive.
2015
+ */
1888
2016
  constructor(coreProperties?: WasmCoreProperties | null, appProperties?: WasmDocxAppProperties | null, customProperties?: any | null);
1889
2017
  get appProperties(): WasmDocxAppProperties | undefined;
1890
- set appProperties(value: WasmDocxAppProperties | null | undefined);
2018
+ set appProperties(value: WasmDocxAppProperties);
1891
2019
  get coreProperties(): WasmCoreProperties | undefined;
1892
- set coreProperties(value: WasmCoreProperties | null | undefined);
2020
+ set coreProperties(value: WasmCoreProperties);
1893
2021
  get customProperties(): any | undefined;
1894
2022
  set customProperties(value: any | null | undefined);
1895
2023
  }
@@ -1918,11 +2046,19 @@ export class WasmElement {
1918
2046
  export class WasmElementMetadata {
1919
2047
  free(): void;
1920
2048
  [Symbol.dispose](): void;
2049
+ clearCoordinates(): void;
1921
2050
  static default(): WasmElementMetadata;
2051
+ /**
2052
+ * Takes ownership of `coordinates`.
2053
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2054
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2055
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2056
+ * the generated setter borrows and leaves your handle alive.
2057
+ */
1922
2058
  constructor(additional: any, pageNumber?: number | null, filename?: string | null, coordinates?: WasmBoundingBox | null, elementIndex?: number | null);
1923
2059
  additional: any;
1924
2060
  get coordinates(): WasmBoundingBox | undefined;
1925
- set coordinates(value: WasmBoundingBox | null | undefined);
2061
+ set coordinates(value: WasmBoundingBox);
1926
2062
  get elementIndex(): number | undefined;
1927
2063
  set elementIndex(value: number | null | undefined);
1928
2064
  get filename(): string | undefined;
@@ -2064,10 +2200,18 @@ export class WasmEmbeddedFile {
2064
2200
  export class WasmEmbeddingConfig {
2065
2201
  free(): void;
2066
2202
  [Symbol.dispose](): void;
2203
+ clearAcceleration(): void;
2067
2204
  static default(): WasmEmbeddingConfig;
2205
+ /**
2206
+ * Takes ownership of `acceleration`.
2207
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2208
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2209
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2210
+ * the generated setter borrows and leaves your handle alive.
2211
+ */
2068
2212
  constructor(model?: any | null, normalize?: boolean | null, batchSize?: number | null, showDownloadProgress?: boolean | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxEmbedDurationSecs?: bigint | null, maxSequenceLength?: number | null);
2069
2213
  get acceleration(): WasmAccelerationConfig | undefined;
2070
- set acceleration(value: WasmAccelerationConfig | null | undefined);
2214
+ set acceleration(value: WasmAccelerationConfig);
2071
2215
  batchSize: number;
2072
2216
  get cacheDir(): string | undefined;
2073
2217
  set cacheDir(value: string | null | undefined);
@@ -2086,12 +2230,13 @@ export class WasmEmbeddingConfig {
2086
2230
  export class WasmEmbeddingModelType {
2087
2231
  free(): void;
2088
2232
  [Symbol.dispose](): void;
2233
+ clearLlm(): void;
2089
2234
  static default(): WasmEmbeddingModelType;
2090
2235
  constructor();
2091
2236
  get dimensions(): number | undefined;
2092
2237
  set dimensions(value: number | null | undefined);
2093
2238
  get llm(): WasmLlmConfig | undefined;
2094
- set llm(value: WasmLlmConfig | null | undefined);
2239
+ set llm(value: WasmLlmConfig);
2095
2240
  get modelId(): string | undefined;
2096
2241
  set modelId(value: string | null | undefined);
2097
2242
  get name(): string | undefined;
@@ -2255,6 +2400,7 @@ export enum WasmExecutionProviderType {
2255
2400
  export class WasmExtractInput {
2256
2401
  free(): void;
2257
2402
  [Symbol.dispose](): void;
2403
+ clearConfig(): void;
2258
2404
  static default(): WasmExtractInput;
2259
2405
  /**
2260
2406
  * Build a bytes input with a MIME type and optional filename hint.
@@ -2264,11 +2410,18 @@ export class WasmExtractInput {
2264
2410
  * Build a URI input from a local path, `file://` URI, or HTTP(S) URL.
2265
2411
  */
2266
2412
  static fromUri(uri: string): WasmExtractInput;
2413
+ /**
2414
+ * Takes ownership of `config`.
2415
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2416
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2417
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2418
+ * the generated setter borrows and leaves your handle alive.
2419
+ */
2267
2420
  constructor(kind?: WasmExtractInputKind | null, bytes?: Uint8Array | null, uri?: string | null, mimeType?: string | null, filename?: string | null, config?: WasmFileExtractionConfig | null);
2268
2421
  get bytes(): Uint8Array | undefined;
2269
2422
  set bytes(value: Uint8Array | null | undefined);
2270
2423
  get config(): WasmFileExtractionConfig | undefined;
2271
- set config(value: WasmFileExtractionConfig | null | undefined);
2424
+ set config(value: WasmFileExtractionConfig);
2272
2425
  get filename(): string | undefined;
2273
2426
  set filename(value: string | null | undefined);
2274
2427
  get kind(): string;
@@ -2296,7 +2449,20 @@ export enum WasmExtractInputKind {
2296
2449
  export class WasmExtractedDocument {
2297
2450
  free(): void;
2298
2451
  [Symbol.dispose](): void;
2452
+ clearDjotContent(): void;
2453
+ clearDocument(): void;
2454
+ clearExtractionConfidence(): void;
2455
+ clearRedactionReport(): void;
2456
+ clearSummary(): void;
2457
+ clearTranslation(): void;
2299
2458
  static default(): WasmExtractedDocument;
2459
+ /**
2460
+ * Takes ownership of `metadata`, `counts`, `djotContent`, `document`, `summary`, `extractionConfidence`, `translation`, `redactionReport`.
2461
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2462
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2463
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2464
+ * the generated setter borrows and leaves your handle alive.
2465
+ */
2300
2466
  constructor(content?: string | null, mimeType?: string | null, metadata?: WasmMetadata | null, tables?: WasmTable[] | null, counts?: WasmDocumentCounts | null, processingWarnings?: WasmProcessingWarning[] | null, formulas?: WasmFormula[] | null, formFields?: WasmPdfFormField[] | null, extractionMethod?: WasmExtractionMethod | null, detectedLanguages?: string[] | null, detectedLanguageConfidences?: WasmLanguageConfidence[] | null, chunks?: WasmChunk[] | null, images?: WasmExtractedImage[] | null, pages?: WasmPageContent[] | null, elements?: WasmElement[] | null, djotContent?: WasmDjotContent | null, ocrElements?: WasmOcrElement[] | null, document?: WasmDocumentStructure | null, extractedKeywords?: WasmKeyword[] | null, qualityScore?: number | null, annotations?: WasmPdfAnnotation[] | null, children?: WasmArchiveEntry[] | null, uris?: WasmExtractedUri[] | null, revisions?: WasmDocumentRevision[] | null, structuredOutput?: any | null, llmUsage?: WasmLlmUsage[] | null, entities?: WasmEntity[] | null, summary?: WasmDocumentSummary | null, extractionConfidence?: WasmExtractionConfidence | null, translation?: WasmTranslation | null, pageClassifications?: WasmPageClassification[] | null, redactionReport?: WasmRedactionReport | null);
2301
2467
  get annotations(): Array<any> | undefined;
2302
2468
  set annotations(value: WasmPdfAnnotation[] | null | undefined);
@@ -2311,9 +2477,9 @@ export class WasmExtractedDocument {
2311
2477
  get detectedLanguages(): string[] | undefined;
2312
2478
  set detectedLanguages(value: string[] | null | undefined);
2313
2479
  get djotContent(): WasmDjotContent | undefined;
2314
- set djotContent(value: WasmDjotContent | null | undefined);
2480
+ set djotContent(value: WasmDjotContent);
2315
2481
  get document(): WasmDocumentStructure | undefined;
2316
- set document(value: WasmDocumentStructure | null | undefined);
2482
+ set document(value: WasmDocumentStructure);
2317
2483
  get elements(): Array<any> | undefined;
2318
2484
  set elements(value: WasmElement[] | null | undefined);
2319
2485
  get entities(): Array<any> | undefined;
@@ -2321,7 +2487,7 @@ export class WasmExtractedDocument {
2321
2487
  get extractedKeywords(): Array<any> | undefined;
2322
2488
  set extractedKeywords(value: WasmKeyword[] | null | undefined);
2323
2489
  get extractionConfidence(): WasmExtractionConfidence | undefined;
2324
- set extractionConfidence(value: WasmExtractionConfidence | null | undefined);
2490
+ set extractionConfidence(value: WasmExtractionConfidence);
2325
2491
  get extractionMethod(): string | undefined;
2326
2492
  set extractionMethod(value: WasmExtractionMethod | null | undefined);
2327
2493
  formFields: WasmPdfFormField[];
@@ -2342,16 +2508,16 @@ export class WasmExtractedDocument {
2342
2508
  get qualityScore(): number | undefined;
2343
2509
  set qualityScore(value: number | null | undefined);
2344
2510
  get redactionReport(): WasmRedactionReport | undefined;
2345
- set redactionReport(value: WasmRedactionReport | null | undefined);
2511
+ set redactionReport(value: WasmRedactionReport);
2346
2512
  get revisions(): Array<any> | undefined;
2347
2513
  set revisions(value: WasmDocumentRevision[] | null | undefined);
2348
2514
  get structuredOutput(): any | undefined;
2349
2515
  set structuredOutput(value: any | null | undefined);
2350
2516
  get summary(): WasmDocumentSummary | undefined;
2351
- set summary(value: WasmDocumentSummary | null | undefined);
2517
+ set summary(value: WasmDocumentSummary);
2352
2518
  tables: WasmTable[];
2353
2519
  get translation(): WasmTranslation | undefined;
2354
- set translation(value: WasmTranslation | null | undefined);
2520
+ set translation(value: WasmTranslation);
2355
2521
  get uris(): Array<any> | undefined;
2356
2522
  set uris(value: WasmExtractedUri[] | null | undefined);
2357
2523
  }
@@ -2366,12 +2532,21 @@ export class WasmExtractedDocument {
2366
2532
  export class WasmExtractedImage {
2367
2533
  free(): void;
2368
2534
  [Symbol.dispose](): void;
2535
+ clearBoundingBox(): void;
2536
+ clearOcrResult(): void;
2369
2537
  static default(): WasmExtractedImage;
2538
+ /**
2539
+ * Takes ownership of `ocrResult`, `boundingBox`.
2540
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2541
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2542
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2543
+ * the generated setter borrows and leaves your handle alive.
2544
+ */
2370
2545
  constructor(data?: Uint8Array | null, format?: string | null, imageIndex?: number | null, isMask?: boolean | null, pageNumber?: number | null, width?: number | null, height?: number | null, colorspace?: string | null, bitsPerComponent?: number | null, description?: string | null, ocrResult?: WasmExtractedDocument | null, boundingBox?: WasmBoundingBox | null, sourcePath?: string | null, imageKind?: WasmImageKind | null, kindConfidence?: number | null, clusterId?: number | null, caption?: string | null, qrCodes?: WasmQrCode[] | null, dataBase64?: string | null);
2371
2546
  get bitsPerComponent(): number | undefined;
2372
2547
  set bitsPerComponent(value: number | null | undefined);
2373
2548
  get boundingBox(): WasmBoundingBox | undefined;
2374
- set boundingBox(value: WasmBoundingBox | null | undefined);
2549
+ set boundingBox(value: WasmBoundingBox);
2375
2550
  get caption(): string | undefined;
2376
2551
  set caption(value: string | null | undefined);
2377
2552
  get clusterId(): number | undefined;
@@ -2393,7 +2568,7 @@ export class WasmExtractedImage {
2393
2568
  get kindConfidence(): number | undefined;
2394
2569
  set kindConfidence(value: number | null | undefined);
2395
2570
  get ocrResult(): WasmExtractedDocument | undefined;
2396
- set ocrResult(value: WasmExtractedDocument | null | undefined);
2571
+ set ocrResult(value: WasmExtractedDocument);
2397
2572
  get pageNumber(): number | undefined;
2398
2573
  set pageNumber(value: number | null | undefined);
2399
2574
  get qrCodes(): Array<any> | undefined;
@@ -2455,6 +2630,34 @@ export class WasmExtractionConfidence {
2455
2630
  export class WasmExtractionConfig {
2456
2631
  free(): void;
2457
2632
  [Symbol.dispose](): void;
2633
+ clearAcceleration(): void;
2634
+ clearCaptioning(): void;
2635
+ clearChunkClassification(): void;
2636
+ clearChunking(): void;
2637
+ clearConcurrency(): void;
2638
+ clearContentFilter(): void;
2639
+ clearCsv(): void;
2640
+ clearEmail(): void;
2641
+ clearGeojson(): void;
2642
+ clearHtmlOptions(): void;
2643
+ clearHtmlOutput(): void;
2644
+ clearImages(): void;
2645
+ clearKeywords(): void;
2646
+ clearLanguageDetection(): void;
2647
+ clearLayout(): void;
2648
+ clearNer(): void;
2649
+ clearOcr(): void;
2650
+ clearPageClassification(): void;
2651
+ clearPages(): void;
2652
+ clearPdfOptions(): void;
2653
+ clearPostprocessor(): void;
2654
+ clearRedaction(): void;
2655
+ clearSecurityLimits(): void;
2656
+ clearStructuredExtraction(): void;
2657
+ clearSummarization(): void;
2658
+ clearTokenReduction(): void;
2659
+ clearTranscription(): void;
2660
+ clearTranslation(): void;
2458
2661
  /**
2459
2662
  * Default `Self.max_archive_depth`: 3 levels of nested archives.
2460
2663
  *
@@ -2527,6 +2730,13 @@ export class WasmExtractionConfig {
2527
2730
  * image I/O and processing when results won't be used.
2528
2731
  */
2529
2732
  needsImageProcessing(): boolean;
2733
+ /**
2734
+ * Takes ownership of `ocr`, `chunking`, `contentFilter`, `images`, `pdfOptions`, `tokenReduction`, `languageDetection`, `pages`, `keywords`, `postprocessor`, `htmlOptions`, `htmlOutput`, `securityLimits`, `layout`, `transcription`, `acceleration`, `email`, `csv`, `geojson`, `concurrency`, `url`, `structuredExtraction`, `ner`, `redaction`, `summarization`, `translation`, `pageClassification`, `chunkClassification`, `captioning`.
2735
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2736
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2737
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2738
+ * the generated setter borrows and leaves your handle alive.
2739
+ */
2530
2740
  constructor(mimeDetectionPolicy?: WasmMimeDetectionPolicy | null, useCache?: boolean | null, enableQualityProcessing?: boolean | null, forceOcr?: boolean | null, ocrStrategy?: any | null, disableOcr?: boolean | null, resultFormat?: WasmResultFormat | null, outputFormat?: any | null, escapeMarkdown?: boolean | null, tableAnchors?: boolean | null, jupyterCellRendering?: WasmJupyterCellRendering | null, applyNotebookCellTags?: boolean | null, useLayoutForMarkdown?: boolean | null, includeDocumentStructure?: boolean | null, url?: WasmUrlExtractionConfig | null, maxArchiveDepth?: number | null, ocr?: WasmOcrConfig | null, forceOcrPages?: Uint32Array | null, ocrNearEmptyFallback?: boolean | null, ocrScannedPageQualityGate?: boolean | null, ocrEmbeddedImages?: boolean | null, chunking?: WasmChunkingConfig | null, contentFilter?: WasmContentFilterConfig | null, images?: WasmImageExtractionConfig | null, pdfOptions?: WasmPdfConfig | null, tokenReduction?: WasmTokenReductionOptions | null, languageDetection?: WasmLanguageDetectionConfig | null, pages?: WasmPageConfig | null, keywords?: WasmKeywordConfig | null, postprocessor?: WasmPostProcessorConfig | null, htmlOptions?: WasmConversionOptions | null, htmlOutput?: WasmHtmlOutputConfig | null, extractionTimeoutSecs?: bigint | null, maxConcurrentExtractions?: number | null, securityLimits?: WasmSecurityLimits | null, maxEmbeddedFileBytes?: bigint | null, layout?: WasmLayoutDetectionConfig | null, transcription?: WasmTranscriptionConfig | null, acceleration?: WasmAccelerationConfig | null, cacheNamespace?: string | null, cacheTtlSecs?: bigint | null, email?: WasmEmailConfig | null, csv?: WasmCsvConfig | null, geojson?: WasmGeoJsonExtractionConfig | null, concurrency?: WasmConcurrencyConfig | null, structuredExtraction?: WasmStructuredExtractionConfig | null, ner?: WasmNerConfig | null, redaction?: WasmRedactionConfig | null, summarization?: WasmSummarizationConfig | null, translation?: WasmTranslationConfig | null, pageClassification?: WasmPageClassificationConfig | null, chunkClassification?: WasmChunkClassificationConfig | null, captioning?: WasmCaptioningConfig | null, qrCodes?: boolean | null);
2531
2741
  /**
2532
2742
  * Whether embedded images get OCR'd.
@@ -2596,27 +2806,27 @@ export class WasmExtractionConfig {
2596
2806
  */
2597
2807
  wantsOwnBytesInResult(): boolean;
2598
2808
  get acceleration(): WasmAccelerationConfig | undefined;
2599
- set acceleration(value: WasmAccelerationConfig | null | undefined);
2809
+ set acceleration(value: WasmAccelerationConfig);
2600
2810
  applyNotebookCellTags: boolean;
2601
2811
  get cacheNamespace(): string | undefined;
2602
2812
  set cacheNamespace(value: string | null | undefined);
2603
2813
  get cacheTtlSecs(): bigint | undefined;
2604
2814
  set cacheTtlSecs(value: bigint | null | undefined);
2605
2815
  get captioning(): WasmCaptioningConfig | undefined;
2606
- set captioning(value: WasmCaptioningConfig | null | undefined);
2816
+ set captioning(value: WasmCaptioningConfig);
2607
2817
  get chunkClassification(): WasmChunkClassificationConfig | undefined;
2608
- set chunkClassification(value: WasmChunkClassificationConfig | null | undefined);
2818
+ set chunkClassification(value: WasmChunkClassificationConfig);
2609
2819
  get chunking(): WasmChunkingConfig | undefined;
2610
- set chunking(value: WasmChunkingConfig | null | undefined);
2820
+ set chunking(value: WasmChunkingConfig);
2611
2821
  get concurrency(): WasmConcurrencyConfig | undefined;
2612
- set concurrency(value: WasmConcurrencyConfig | null | undefined);
2822
+ set concurrency(value: WasmConcurrencyConfig);
2613
2823
  get contentFilter(): WasmContentFilterConfig | undefined;
2614
- set contentFilter(value: WasmContentFilterConfig | null | undefined);
2824
+ set contentFilter(value: WasmContentFilterConfig);
2615
2825
  get csv(): WasmCsvConfig | undefined;
2616
- set csv(value: WasmCsvConfig | null | undefined);
2826
+ set csv(value: WasmCsvConfig);
2617
2827
  disableOcr: boolean;
2618
2828
  get email(): WasmEmailConfig | undefined;
2619
- set email(value: WasmEmailConfig | null | undefined);
2829
+ set email(value: WasmEmailConfig);
2620
2830
  enableQualityProcessing: boolean;
2621
2831
  escapeMarkdown: boolean;
2622
2832
  get extractionTimeoutSecs(): bigint | undefined;
@@ -2625,22 +2835,22 @@ export class WasmExtractionConfig {
2625
2835
  set forceOcrPages(value: Uint32Array | null | undefined);
2626
2836
  forceOcr: boolean;
2627
2837
  get geojson(): WasmGeoJsonExtractionConfig | undefined;
2628
- set geojson(value: WasmGeoJsonExtractionConfig | null | undefined);
2838
+ set geojson(value: WasmGeoJsonExtractionConfig);
2629
2839
  get htmlOptions(): WasmConversionOptions | undefined;
2630
- set htmlOptions(value: WasmConversionOptions | null | undefined);
2840
+ set htmlOptions(value: WasmConversionOptions);
2631
2841
  get htmlOutput(): WasmHtmlOutputConfig | undefined;
2632
- set htmlOutput(value: WasmHtmlOutputConfig | null | undefined);
2842
+ set htmlOutput(value: WasmHtmlOutputConfig);
2633
2843
  get images(): WasmImageExtractionConfig | undefined;
2634
- set images(value: WasmImageExtractionConfig | null | undefined);
2844
+ set images(value: WasmImageExtractionConfig);
2635
2845
  includeDocumentStructure: boolean;
2636
2846
  get jupyterCellRendering(): string;
2637
2847
  set jupyterCellRendering(value: WasmJupyterCellRendering);
2638
2848
  get keywords(): WasmKeywordConfig | undefined;
2639
- set keywords(value: WasmKeywordConfig | null | undefined);
2849
+ set keywords(value: WasmKeywordConfig);
2640
2850
  get languageDetection(): WasmLanguageDetectionConfig | undefined;
2641
- set languageDetection(value: WasmLanguageDetectionConfig | null | undefined);
2851
+ set languageDetection(value: WasmLanguageDetectionConfig);
2642
2852
  get layout(): WasmLayoutDetectionConfig | undefined;
2643
- set layout(value: WasmLayoutDetectionConfig | null | undefined);
2853
+ set layout(value: WasmLayoutDetectionConfig);
2644
2854
  maxArchiveDepth: number;
2645
2855
  get maxConcurrentExtractions(): number | undefined;
2646
2856
  set maxConcurrentExtractions(value: number | null | undefined);
@@ -2649,7 +2859,7 @@ export class WasmExtractionConfig {
2649
2859
  get mimeDetectionPolicy(): string;
2650
2860
  set mimeDetectionPolicy(value: WasmMimeDetectionPolicy);
2651
2861
  get ner(): WasmNerConfig | undefined;
2652
- set ner(value: WasmNerConfig | null | undefined);
2862
+ set ner(value: WasmNerConfig);
2653
2863
  get ocrEmbeddedImages(): boolean | undefined;
2654
2864
  set ocrEmbeddedImages(value: boolean | null | undefined);
2655
2865
  get ocrNearEmptyFallback(): boolean | undefined;
@@ -2658,35 +2868,35 @@ export class WasmExtractionConfig {
2658
2868
  set ocrScannedPageQualityGate(value: boolean | null | undefined);
2659
2869
  ocrStrategy: any;
2660
2870
  get ocr(): WasmOcrConfig | undefined;
2661
- set ocr(value: WasmOcrConfig | null | undefined);
2871
+ set ocr(value: WasmOcrConfig);
2662
2872
  outputFormat: WasmOutputFormat;
2663
2873
  get pageClassification(): WasmPageClassificationConfig | undefined;
2664
- set pageClassification(value: WasmPageClassificationConfig | null | undefined);
2874
+ set pageClassification(value: WasmPageClassificationConfig);
2665
2875
  get pages(): WasmPageConfig | undefined;
2666
- set pages(value: WasmPageConfig | null | undefined);
2876
+ set pages(value: WasmPageConfig);
2667
2877
  get pdfOptions(): WasmPdfConfig | undefined;
2668
- set pdfOptions(value: WasmPdfConfig | null | undefined);
2878
+ set pdfOptions(value: WasmPdfConfig);
2669
2879
  get postprocessor(): WasmPostProcessorConfig | undefined;
2670
- set postprocessor(value: WasmPostProcessorConfig | null | undefined);
2880
+ set postprocessor(value: WasmPostProcessorConfig);
2671
2881
  get qrCodes(): boolean | undefined;
2672
2882
  set qrCodes(value: boolean | null | undefined);
2673
2883
  get redaction(): WasmRedactionConfig | undefined;
2674
- set redaction(value: WasmRedactionConfig | null | undefined);
2884
+ set redaction(value: WasmRedactionConfig);
2675
2885
  get resultFormat(): string;
2676
2886
  set resultFormat(value: WasmResultFormat);
2677
2887
  get securityLimits(): WasmSecurityLimits | undefined;
2678
- set securityLimits(value: WasmSecurityLimits | null | undefined);
2888
+ set securityLimits(value: WasmSecurityLimits);
2679
2889
  get structuredExtraction(): WasmStructuredExtractionConfig | undefined;
2680
- set structuredExtraction(value: WasmStructuredExtractionConfig | null | undefined);
2890
+ set structuredExtraction(value: WasmStructuredExtractionConfig);
2681
2891
  get summarization(): WasmSummarizationConfig | undefined;
2682
- set summarization(value: WasmSummarizationConfig | null | undefined);
2892
+ set summarization(value: WasmSummarizationConfig);
2683
2893
  tableAnchors: boolean;
2684
2894
  get tokenReduction(): WasmTokenReductionOptions | undefined;
2685
- set tokenReduction(value: WasmTokenReductionOptions | null | undefined);
2895
+ set tokenReduction(value: WasmTokenReductionOptions);
2686
2896
  get transcription(): WasmTranscriptionConfig | undefined;
2687
- set transcription(value: WasmTranscriptionConfig | null | undefined);
2897
+ set transcription(value: WasmTranscriptionConfig);
2688
2898
  get translation(): WasmTranslationConfig | undefined;
2689
- set translation(value: WasmTranslationConfig | null | undefined);
2899
+ set translation(value: WasmTranslationConfig);
2690
2900
  url: WasmUrlExtractionConfig;
2691
2901
  useCache: boolean;
2692
2902
  useLayoutForMarkdown: boolean;
@@ -2723,6 +2933,13 @@ export class WasmExtractionResult {
2723
2933
  free(): void;
2724
2934
  [Symbol.dispose](): void;
2725
2935
  static default(): WasmExtractionResult;
2936
+ /**
2937
+ * Takes ownership of `summary`.
2938
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
2939
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
2940
+ * keep a handle you already hold, build with `default()` and assign the property instead:
2941
+ * the generated setter borrows and leaves your handle alive.
2942
+ */
2726
2943
  constructor(results?: WasmExtractedDocument[] | null, errors?: WasmExtractionErrorItem[] | null, summary?: WasmExtractionSummary | null, crawlFinalUrls?: string[] | null, crawlRedirectCount?: number | null, crawlUniqueNormalizedUrls?: string[] | null);
2727
2944
  /**
2728
2945
  * Build an output containing one successful result.
@@ -2787,16 +3004,46 @@ export class WasmFictionBookMetadata {
2787
3004
  export class WasmFileExtractionConfig {
2788
3005
  free(): void;
2789
3006
  [Symbol.dispose](): void;
3007
+ clearCaptioning(): void;
3008
+ clearChunkClassification(): void;
3009
+ clearChunking(): void;
3010
+ clearContentFilter(): void;
3011
+ clearHtmlOptions(): void;
3012
+ clearHtmlOutput(): void;
3013
+ clearImages(): void;
3014
+ clearKeywords(): void;
3015
+ clearLanguageDetection(): void;
3016
+ clearLayout(): void;
3017
+ clearNer(): void;
3018
+ clearOcr(): void;
3019
+ clearPageClassification(): void;
3020
+ clearPages(): void;
3021
+ clearPdfOptions(): void;
3022
+ clearPostprocessor(): void;
3023
+ clearRedaction(): void;
3024
+ clearStructuredExtraction(): void;
3025
+ clearSummarization(): void;
3026
+ clearTokenReduction(): void;
3027
+ clearTranscription(): void;
3028
+ clearTranslation(): void;
3029
+ clearUrl(): void;
2790
3030
  static default(): WasmFileExtractionConfig;
3031
+ /**
3032
+ * Takes ownership of `ocr`, `chunking`, `contentFilter`, `images`, `pdfOptions`, `tokenReduction`, `languageDetection`, `pages`, `keywords`, `postprocessor`, `htmlOptions`, `htmlOutput`, `layout`, `transcription`, `structuredExtraction`, `url`, `ner`, `redaction`, `summarization`, `translation`, `pageClassification`, `chunkClassification`, `captioning`.
3033
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3034
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3035
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3036
+ * the generated setter borrows and leaves your handle alive.
3037
+ */
2791
3038
  constructor(mimeDetectionPolicy?: WasmMimeDetectionPolicy | null, enableQualityProcessing?: boolean | null, ocr?: WasmOcrConfig | null, forceOcr?: boolean | null, ocrStrategy?: any | null, forceOcrPages?: Uint32Array | null, disableOcr?: boolean | null, chunking?: WasmChunkingConfig | null, contentFilter?: WasmContentFilterConfig | null, images?: WasmImageExtractionConfig | null, pdfOptions?: WasmPdfConfig | null, tokenReduction?: WasmTokenReductionOptions | null, languageDetection?: WasmLanguageDetectionConfig | null, pages?: WasmPageConfig | null, keywords?: WasmKeywordConfig | null, postprocessor?: WasmPostProcessorConfig | null, htmlOptions?: WasmConversionOptions | null, htmlOutput?: WasmHtmlOutputConfig | null, resultFormat?: WasmResultFormat | null, outputFormat?: any | null, includeDocumentStructure?: boolean | null, layout?: WasmLayoutDetectionConfig | null, transcription?: WasmTranscriptionConfig | null, timeoutSecs?: bigint | null, structuredExtraction?: WasmStructuredExtractionConfig | null, url?: WasmUrlExtractionConfig | null, ner?: WasmNerConfig | null, redaction?: WasmRedactionConfig | null, summarization?: WasmSummarizationConfig | null, translation?: WasmTranslationConfig | null, pageClassification?: WasmPageClassificationConfig | null, chunkClassification?: WasmChunkClassificationConfig | null, captioning?: WasmCaptioningConfig | null, qrCodes?: boolean | null);
2792
3039
  get captioning(): WasmCaptioningConfig | undefined;
2793
- set captioning(value: WasmCaptioningConfig | null | undefined);
3040
+ set captioning(value: WasmCaptioningConfig);
2794
3041
  get chunkClassification(): WasmChunkClassificationConfig | undefined;
2795
- set chunkClassification(value: WasmChunkClassificationConfig | null | undefined);
3042
+ set chunkClassification(value: WasmChunkClassificationConfig);
2796
3043
  get chunking(): WasmChunkingConfig | undefined;
2797
- set chunking(value: WasmChunkingConfig | null | undefined);
3044
+ set chunking(value: WasmChunkingConfig);
2798
3045
  get contentFilter(): WasmContentFilterConfig | undefined;
2799
- set contentFilter(value: WasmContentFilterConfig | null | undefined);
3046
+ set contentFilter(value: WasmContentFilterConfig);
2800
3047
  get disableOcr(): boolean | undefined;
2801
3048
  set disableOcr(value: boolean | null | undefined);
2802
3049
  get enableQualityProcessing(): boolean | undefined;
@@ -2806,57 +3053,57 @@ export class WasmFileExtractionConfig {
2806
3053
  get forceOcr(): boolean | undefined;
2807
3054
  set forceOcr(value: boolean | null | undefined);
2808
3055
  get htmlOptions(): WasmConversionOptions | undefined;
2809
- set htmlOptions(value: WasmConversionOptions | null | undefined);
3056
+ set htmlOptions(value: WasmConversionOptions);
2810
3057
  get htmlOutput(): WasmHtmlOutputConfig | undefined;
2811
- set htmlOutput(value: WasmHtmlOutputConfig | null | undefined);
3058
+ set htmlOutput(value: WasmHtmlOutputConfig);
2812
3059
  get images(): WasmImageExtractionConfig | undefined;
2813
- set images(value: WasmImageExtractionConfig | null | undefined);
3060
+ set images(value: WasmImageExtractionConfig);
2814
3061
  get includeDocumentStructure(): boolean | undefined;
2815
3062
  set includeDocumentStructure(value: boolean | null | undefined);
2816
3063
  get keywords(): WasmKeywordConfig | undefined;
2817
- set keywords(value: WasmKeywordConfig | null | undefined);
3064
+ set keywords(value: WasmKeywordConfig);
2818
3065
  get languageDetection(): WasmLanguageDetectionConfig | undefined;
2819
- set languageDetection(value: WasmLanguageDetectionConfig | null | undefined);
3066
+ set languageDetection(value: WasmLanguageDetectionConfig);
2820
3067
  get layout(): WasmLayoutDetectionConfig | undefined;
2821
- set layout(value: WasmLayoutDetectionConfig | null | undefined);
3068
+ set layout(value: WasmLayoutDetectionConfig);
2822
3069
  get mimeDetectionPolicy(): string | undefined;
2823
3070
  set mimeDetectionPolicy(value: WasmMimeDetectionPolicy | null | undefined);
2824
3071
  get ner(): WasmNerConfig | undefined;
2825
- set ner(value: WasmNerConfig | null | undefined);
3072
+ set ner(value: WasmNerConfig);
2826
3073
  get ocrStrategy(): any | undefined;
2827
3074
  set ocrStrategy(value: any | null | undefined);
2828
3075
  get ocr(): WasmOcrConfig | undefined;
2829
- set ocr(value: WasmOcrConfig | null | undefined);
3076
+ set ocr(value: WasmOcrConfig);
2830
3077
  get outputFormat(): WasmOutputFormat | undefined;
2831
3078
  set outputFormat(value: WasmOutputFormat | null | undefined);
2832
3079
  get pageClassification(): WasmPageClassificationConfig | undefined;
2833
- set pageClassification(value: WasmPageClassificationConfig | null | undefined);
3080
+ set pageClassification(value: WasmPageClassificationConfig);
2834
3081
  get pages(): WasmPageConfig | undefined;
2835
- set pages(value: WasmPageConfig | null | undefined);
3082
+ set pages(value: WasmPageConfig);
2836
3083
  get pdfOptions(): WasmPdfConfig | undefined;
2837
- set pdfOptions(value: WasmPdfConfig | null | undefined);
3084
+ set pdfOptions(value: WasmPdfConfig);
2838
3085
  get postprocessor(): WasmPostProcessorConfig | undefined;
2839
- set postprocessor(value: WasmPostProcessorConfig | null | undefined);
3086
+ set postprocessor(value: WasmPostProcessorConfig);
2840
3087
  get qrCodes(): boolean | undefined;
2841
3088
  set qrCodes(value: boolean | null | undefined);
2842
3089
  get redaction(): WasmRedactionConfig | undefined;
2843
- set redaction(value: WasmRedactionConfig | null | undefined);
3090
+ set redaction(value: WasmRedactionConfig);
2844
3091
  get resultFormat(): string | undefined;
2845
3092
  set resultFormat(value: WasmResultFormat | null | undefined);
2846
3093
  get structuredExtraction(): WasmStructuredExtractionConfig | undefined;
2847
- set structuredExtraction(value: WasmStructuredExtractionConfig | null | undefined);
3094
+ set structuredExtraction(value: WasmStructuredExtractionConfig);
2848
3095
  get summarization(): WasmSummarizationConfig | undefined;
2849
- set summarization(value: WasmSummarizationConfig | null | undefined);
3096
+ set summarization(value: WasmSummarizationConfig);
2850
3097
  get timeoutSecs(): bigint | undefined;
2851
3098
  set timeoutSecs(value: bigint | null | undefined);
2852
3099
  get tokenReduction(): WasmTokenReductionOptions | undefined;
2853
- set tokenReduction(value: WasmTokenReductionOptions | null | undefined);
3100
+ set tokenReduction(value: WasmTokenReductionOptions);
2854
3101
  get transcription(): WasmTranscriptionConfig | undefined;
2855
- set transcription(value: WasmTranscriptionConfig | null | undefined);
3102
+ set transcription(value: WasmTranscriptionConfig);
2856
3103
  get translation(): WasmTranslationConfig | undefined;
2857
- set translation(value: WasmTranslationConfig | null | undefined);
3104
+ set translation(value: WasmTranslationConfig);
2858
3105
  get url(): WasmUrlExtractionConfig | undefined;
2859
- set url(value: WasmUrlExtractionConfig | null | undefined);
3106
+ set url(value: WasmUrlExtractionConfig);
2860
3107
  }
2861
3108
 
2862
3109
  /**
@@ -2939,10 +3186,18 @@ export enum WasmFormFieldType {
2939
3186
  export class WasmFormattedBlock {
2940
3187
  free(): void;
2941
3188
  [Symbol.dispose](): void;
3189
+ clearAttributes(): void;
2942
3190
  static default(): WasmFormattedBlock;
3191
+ /**
3192
+ * Takes ownership of `attributes`.
3193
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3194
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3195
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3196
+ * the generated setter borrows and leaves your handle alive.
3197
+ */
2943
3198
  constructor(blockType: WasmBlockType, inlineContent: WasmInlineElement[], children: WasmFormattedBlock[], level?: number | null, attributes?: WasmAttributes | null, language?: string | null, code?: string | null);
2944
3199
  get attributes(): WasmAttributes | undefined;
2945
- set attributes(value: WasmAttributes | null | undefined);
3200
+ set attributes(value: WasmAttributes);
2946
3201
  get blockType(): string;
2947
3202
  set blockType(value: WasmBlockType);
2948
3203
  children: WasmFormattedBlock[];
@@ -2968,10 +3223,18 @@ export class WasmFormattedBlock {
2968
3223
  export class WasmFormula {
2969
3224
  free(): void;
2970
3225
  [Symbol.dispose](): void;
3226
+ clearBbox(): void;
2971
3227
  static default(): WasmFormula;
3228
+ /**
3229
+ * Takes ownership of `bbox`.
3230
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3231
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3232
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3233
+ * the generated setter borrows and leaves your handle alive.
3234
+ */
2972
3235
  constructor(latex: string, bbox?: WasmBoundingBox | null, page?: number | null);
2973
3236
  get bbox(): WasmBoundingBox | undefined;
2974
- set bbox(value: WasmBoundingBox | null | undefined);
3237
+ set bbox(value: WasmBoundingBox);
2975
3238
  latex: string;
2976
3239
  get page(): number | undefined;
2977
3240
  set page(value: number | null | undefined);
@@ -3006,10 +3269,18 @@ export class WasmGeoJsonExtractionConfig {
3006
3269
  export class WasmGridCell {
3007
3270
  free(): void;
3008
3271
  [Symbol.dispose](): void;
3272
+ clearBbox(): void;
3009
3273
  static default(): WasmGridCell;
3274
+ /**
3275
+ * Takes ownership of `bbox`.
3276
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3277
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3278
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3279
+ * the generated setter borrows and leaves your handle alive.
3280
+ */
3010
3281
  constructor(content: string, row: number, col: number, rowSpan: number, colSpan: number, isHeader: boolean, bbox?: WasmBoundingBox | null, headingLevel?: number | null, styleName?: string | null);
3011
3282
  get bbox(): WasmBoundingBox | undefined;
3012
- set bbox(value: WasmBoundingBox | null | undefined);
3283
+ set bbox(value: WasmBoundingBox);
3013
3284
  colSpan: number;
3014
3285
  col: number;
3015
3286
  content: string;
@@ -3112,10 +3383,18 @@ export class WasmHeuristicsConfig {
3112
3383
  export class WasmHierarchicalBlock {
3113
3384
  free(): void;
3114
3385
  [Symbol.dispose](): void;
3386
+ clearBbox(): void;
3115
3387
  static default(): WasmHierarchicalBlock;
3388
+ /**
3389
+ * Takes ownership of `bbox`.
3390
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3391
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3392
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3393
+ * the generated setter borrows and leaves your handle alive.
3394
+ */
3116
3395
  constructor(text: string, fontSize: number, level: string, bbox?: WasmHierarchicalBoundingBox | null);
3117
3396
  get bbox(): WasmHierarchicalBoundingBox | undefined;
3118
- set bbox(value: WasmHierarchicalBoundingBox | null | undefined);
3397
+ set bbox(value: WasmHierarchicalBoundingBox);
3119
3398
  fontSize: number;
3120
3399
  level: string;
3121
3400
  text: string;
@@ -3307,6 +3586,13 @@ export class WasmImageExtractionConfig {
3307
3586
  free(): void;
3308
3587
  [Symbol.dispose](): void;
3309
3588
  static default(): WasmImageExtractionConfig;
3589
+ /**
3590
+ * Takes ownership of `svg`.
3591
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3592
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3593
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3594
+ * the generated setter borrows and leaves your handle alive.
3595
+ */
3310
3596
  constructor(extractImages?: boolean | null, targetDpi?: number | null, maxImageDimension?: number | null, injectPlaceholders?: boolean | null, autoAdjustDpi?: boolean | null, minDpi?: number | null, maxDpi?: number | null, classify?: boolean | null, includePageRasters?: boolean | null, runOcrOnImages?: boolean | null, ocrTextOnly?: boolean | null, appendOcrText?: boolean | null, outputFormat?: any | null, svg?: WasmSvgOptions | null, includeDataBase64?: boolean | null, maxImagesPerPage?: number | null);
3311
3597
  appendOcrText: boolean;
3312
3598
  autoAdjustDpi: boolean;
@@ -3367,13 +3653,21 @@ export class WasmImageMetadata {
3367
3653
  export class WasmImageMetadataType {
3368
3654
  free(): void;
3369
3655
  [Symbol.dispose](): void;
3656
+ clearDimensions(): void;
3370
3657
  static default(): WasmImageMetadataType;
3658
+ /**
3659
+ * Takes ownership of `dimensions`.
3660
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3661
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3662
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3663
+ * the generated setter borrows and leaves your handle alive.
3664
+ */
3371
3665
  constructor(src: string, imageType: WasmImageType, attributes: WasmKeyValueAttribute[], alt?: string | null, title?: string | null, dimensions?: WasmImageDimensions | null);
3372
3666
  get alt(): string | undefined;
3373
3667
  set alt(value: string | null | undefined);
3374
3668
  attributes: WasmKeyValueAttribute[];
3375
3669
  get dimensions(): WasmImageDimensions | undefined;
3376
- set dimensions(value: WasmImageDimensions | null | undefined);
3670
+ set dimensions(value: WasmImageDimensions);
3377
3671
  get imageType(): string;
3378
3672
  set imageType(value: WasmImageType);
3379
3673
  src: string;
@@ -3419,20 +3713,29 @@ export class WasmImagePreprocessingConfig {
3419
3713
  free(): void;
3420
3714
  [Symbol.dispose](): void;
3421
3715
  static default(): WasmImagePreprocessingConfig;
3422
- constructor(targetDpi?: number | null, autoRotate?: boolean | null, deskew?: boolean | null, denoise?: boolean | null, contrastEnhance?: boolean | null, binarizationMethod?: string | null, invertColors?: boolean | null);
3716
+ constructor(targetDpi?: number | null, autoRotate?: boolean | null, deskew?: boolean | null, denoise?: boolean | null, contrastEnhance?: boolean | null, binarizationMethod?: string | null, invertColors?: boolean | null, normalizeShadedRows?: boolean | null);
3423
3717
  autoRotate: boolean;
3424
3718
  binarizationMethod: string;
3425
3719
  contrastEnhance: boolean;
3426
3720
  denoise: boolean;
3427
3721
  deskew: boolean;
3428
3722
  invertColors: boolean;
3723
+ normalizeShadedRows: boolean;
3429
3724
  targetDpi: number;
3430
3725
  }
3431
3726
 
3432
3727
  export class WasmImagePreprocessingMetadata {
3433
3728
  free(): void;
3434
3729
  [Symbol.dispose](): void;
3730
+ clearNewDimensions(): void;
3435
3731
  static default(): WasmImagePreprocessingMetadata;
3732
+ /**
3733
+ * Takes ownership of `newDimensions`.
3734
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3735
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3736
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3737
+ * the generated setter borrows and leaves your handle alive.
3738
+ */
3436
3739
  constructor(originalDimensions: WasmPixelDimensions, originalDpi: WasmImageDpi, targetDpi: number, scaleFactor: number, autoAdjusted: boolean, finalDpi: number, resampleMethod: string, dimensionClamped: boolean, skippedResize: boolean, newDimensions?: WasmPixelDimensions | null, calculatedDpi?: number | null, resizeError?: string | null);
3437
3740
  autoAdjusted: boolean;
3438
3741
  get calculatedDpi(): number | undefined;
@@ -3440,7 +3743,7 @@ export class WasmImagePreprocessingMetadata {
3440
3743
  dimensionClamped: boolean;
3441
3744
  finalDpi: number;
3442
3745
  get newDimensions(): WasmPixelDimensions | undefined;
3443
- set newDimensions(value: WasmPixelDimensions | null | undefined);
3746
+ set newDimensions(value: WasmPixelDimensions);
3444
3747
  originalDimensions: WasmPixelDimensions;
3445
3748
  originalDpi: WasmImageDpi;
3446
3749
  resampleMethod: string;
@@ -3469,10 +3772,18 @@ export enum WasmImageType {
3469
3772
  export class WasmInlineElement {
3470
3773
  free(): void;
3471
3774
  [Symbol.dispose](): void;
3775
+ clearAttributes(): void;
3472
3776
  static default(): WasmInlineElement;
3777
+ /**
3778
+ * Takes ownership of `attributes`.
3779
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3780
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3781
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3782
+ * the generated setter borrows and leaves your handle alive.
3783
+ */
3473
3784
  constructor(elementType: WasmInlineType, content: string, attributes?: WasmAttributes | null, metadata?: any | null);
3474
3785
  get attributes(): WasmAttributes | undefined;
3475
- set attributes(value: WasmAttributes | null | undefined);
3786
+ set attributes(value: WasmAttributes);
3476
3787
  content: string;
3477
3788
  get elementType(): string;
3478
3789
  set elementType(value: WasmInlineType);
@@ -3579,7 +3890,16 @@ export enum WasmKeywordAlgorithm {
3579
3890
  export class WasmKeywordConfig {
3580
3891
  free(): void;
3581
3892
  [Symbol.dispose](): void;
3893
+ clearRakeParams(): void;
3894
+ clearYakeParams(): void;
3582
3895
  static default(): WasmKeywordConfig;
3896
+ /**
3897
+ * Takes ownership of `ngramRange`, `yakeParams`, `rakeParams`.
3898
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3899
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3900
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3901
+ * the generated setter borrows and leaves your handle alive.
3902
+ */
3583
3903
  constructor(algorithm?: WasmKeywordAlgorithm | null, maxKeywords?: number | null, minScore?: number | null, ngramRange?: WasmNgramRange | null, language?: string | null, yakeParams?: WasmYakeParams | null, rakeParams?: WasmRakeParams | null);
3584
3904
  get algorithm(): string;
3585
3905
  set algorithm(value: WasmKeywordAlgorithm);
@@ -3589,9 +3909,9 @@ export class WasmKeywordConfig {
3589
3909
  minScore: number;
3590
3910
  ngramRange: WasmNgramRange;
3591
3911
  get rakeParams(): WasmRakeParams | undefined;
3592
- set rakeParams(value: WasmRakeParams | null | undefined);
3912
+ set rakeParams(value: WasmRakeParams);
3593
3913
  get yakeParams(): WasmYakeParams | undefined;
3594
- set yakeParams(value: WasmYakeParams | null | undefined);
3914
+ set yakeParams(value: WasmYakeParams);
3595
3915
  }
3596
3916
 
3597
3917
  /**
@@ -3635,10 +3955,18 @@ export class WasmLanguageDetectionConfig {
3635
3955
  export class WasmLateInteractionConfig {
3636
3956
  free(): void;
3637
3957
  [Symbol.dispose](): void;
3958
+ clearAcceleration(): void;
3638
3959
  static default(): WasmLateInteractionConfig;
3960
+ /**
3961
+ * Takes ownership of `acceleration`.
3962
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
3963
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
3964
+ * keep a handle you already hold, build with `default()` and assign the property instead:
3965
+ * the generated setter borrows and leaves your handle alive.
3966
+ */
3639
3967
  constructor(model?: any | null, batchSize?: number | null, maxLength?: number | null, queryMaxLength?: number | null, showDownloadProgress?: boolean | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxEmbedDurationSecs?: bigint | null);
3640
3968
  get acceleration(): WasmAccelerationConfig | undefined;
3641
- set acceleration(value: WasmAccelerationConfig | null | undefined);
3969
+ set acceleration(value: WasmAccelerationConfig);
3642
3970
  batchSize: number;
3643
3971
  get cacheDir(): string | undefined;
3644
3972
  set cacheDir(value: string | null | undefined);
@@ -3756,10 +4084,18 @@ export class WasmLayoutDetection {
3756
4084
  export class WasmLayoutDetectionConfig {
3757
4085
  free(): void;
3758
4086
  [Symbol.dispose](): void;
4087
+ clearAcceleration(): void;
3759
4088
  static default(): WasmLayoutDetectionConfig;
4089
+ /**
4090
+ * Takes ownership of `acceleration`.
4091
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
4092
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
4093
+ * keep a handle you already hold, build with `default()` and assign the property instead:
4094
+ * the generated setter borrows and leaves your handle alive.
4095
+ */
3760
4096
  constructor(strategy?: WasmLayoutStrategy | null, applyHeuristics?: boolean | null, tableModel?: WasmTableModel | null, tableOverlapPreference?: WasmTableOverlapPreference | null, enableChartUnderstanding?: boolean | null, confidenceThreshold?: number | null, formulaModel?: WasmFormulaModel | null, acceleration?: WasmAccelerationConfig | null);
3761
4097
  get acceleration(): WasmAccelerationConfig | undefined;
3762
- set acceleration(value: WasmAccelerationConfig | null | undefined);
4098
+ set acceleration(value: WasmAccelerationConfig);
3763
4099
  applyHeuristics: boolean;
3764
4100
  get confidenceThreshold(): number | undefined;
3765
4101
  set confidenceThreshold(value: number | null | undefined);
@@ -3785,6 +4121,13 @@ export class WasmLayoutRegion {
3785
4121
  free(): void;
3786
4122
  [Symbol.dispose](): void;
3787
4123
  static default(): WasmLayoutRegion;
4124
+ /**
4125
+ * Takes ownership of `boundingBox`.
4126
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
4127
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
4128
+ * keep a handle you already hold, build with `default()` and assign the property instead:
4129
+ * the generated setter borrows and leaves your handle alive.
4130
+ */
3788
4131
  constructor(className?: string | null, confidence?: number | null, boundingBox?: WasmBoundingBox | null, areaFraction?: number | null);
3789
4132
  areaFraction: number;
3790
4133
  boundingBox: WasmBoundingBox;
@@ -3929,7 +4272,18 @@ export class WasmLlmCacheConfig {
3929
4272
  export class WasmLlmConfig {
3930
4273
  free(): void;
3931
4274
  [Symbol.dispose](): void;
4275
+ clearBedrock(): void;
4276
+ clearBudget(): void;
4277
+ clearCache(): void;
4278
+ clearRateLimit(): void;
3932
4279
  static default(): WasmLlmConfig;
4280
+ /**
4281
+ * Takes ownership of `cache`, `budget`, `rateLimit`, `bedrock`.
4282
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
4283
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
4284
+ * keep a handle you already hold, build with `default()` and assign the property instead:
4285
+ * the generated setter borrows and leaves your handle alive.
4286
+ */
3933
4287
  constructor(model?: string | null, apiKey?: string | null, baseUrl?: string | null, timeoutSecs?: bigint | null, maxRetries?: number | null, temperature?: number | null, maxTokens?: bigint | null, topP?: number | null, stop?: string[] | null, seed?: bigint | null, presencePenalty?: number | null, frequencyPenalty?: number | null, reasoningEffort?: string | null, extraBody?: any | null, loadEnv?: boolean | null, headers?: any | null, providers?: WasmLlmProviderConfig[] | null, cache?: WasmLlmCacheConfig | null, budget?: WasmLlmBudgetConfig | null, rateLimit?: WasmLlmRateLimitConfig | null, costTracking?: boolean | null, tracing?: boolean | null, cooldownSecs?: bigint | null, healthCheckSecs?: bigint | null, bedrock?: WasmBedrockConfig | null, credentialProvider?: any | null, maxConcurrency?: number | null, maxResponseBytes?: number | null);
3934
4288
  /**
3935
4289
  * Validate the request-time sampling parameters that have a documented range:
@@ -3947,11 +4301,11 @@ export class WasmLlmConfig {
3947
4301
  get baseUrl(): string | undefined;
3948
4302
  set baseUrl(value: string | null | undefined);
3949
4303
  get bedrock(): WasmBedrockConfig | undefined;
3950
- set bedrock(value: WasmBedrockConfig | null | undefined);
4304
+ set bedrock(value: WasmBedrockConfig);
3951
4305
  get budget(): WasmLlmBudgetConfig | undefined;
3952
- set budget(value: WasmLlmBudgetConfig | null | undefined);
4306
+ set budget(value: WasmLlmBudgetConfig);
3953
4307
  get cache(): WasmLlmCacheConfig | undefined;
3954
- set cache(value: WasmLlmCacheConfig | null | undefined);
4308
+ set cache(value: WasmLlmCacheConfig);
3955
4309
  get cooldownSecs(): bigint | undefined;
3956
4310
  set cooldownSecs(value: bigint | null | undefined);
3957
4311
  get costTracking(): boolean | undefined;
@@ -3982,7 +4336,7 @@ export class WasmLlmConfig {
3982
4336
  get providers(): Array<any> | undefined;
3983
4337
  set providers(value: WasmLlmProviderConfig[] | null | undefined);
3984
4338
  get rateLimit(): WasmLlmRateLimitConfig | undefined;
3985
- set rateLimit(value: WasmLlmRateLimitConfig | null | undefined);
4339
+ set rateLimit(value: WasmLlmRateLimitConfig);
3986
4340
  get reasoningEffort(): string | undefined;
3987
4341
  set reasoningEffort(value: string | null | undefined);
3988
4342
  get seed(): bigint | undefined;
@@ -4137,12 +4491,22 @@ export class WasmMetaSchema {
4137
4491
  export class WasmMetadata {
4138
4492
  free(): void;
4139
4493
  [Symbol.dispose](): void;
4494
+ clearError(): void;
4495
+ clearImagePreprocessing(): void;
4496
+ clearPages(): void;
4140
4497
  static default(): WasmMetadata;
4141
4498
  /**
4142
4499
  * Returns `true` when no metadata fields, format-specific metadata, or
4143
4500
  * additional postprocessor fields are populated.
4144
4501
  */
4145
4502
  isEmpty(): boolean;
4503
+ /**
4504
+ * Takes ownership of `pages`, `imagePreprocessing`, `error`.
4505
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
4506
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
4507
+ * keep a handle you already hold, build with `default()` and assign the property instead:
4508
+ * the generated setter borrows and leaves your handle alive.
4509
+ */
4146
4510
  constructor(ocrUsed?: boolean | null, additional?: any | null, title?: string | null, subject?: string | null, authors?: string[] | null, keywords?: string[] | null, language?: string | null, createdAt?: string | null, modifiedAt?: string | null, createdBy?: string | null, modifiedBy?: string | null, pages?: WasmPageStructure | null, format?: any | null, imagePreprocessing?: WasmImagePreprocessingMetadata | null, jsonSchema?: any | null, error?: WasmErrorMetadata | null, extractionDurationMs?: bigint | null, category?: string | null, tags?: string[] | null, documentVersion?: string | null, abstractText?: string | null, outputFormat?: string | null);
4147
4511
  get abstractText(): string | undefined;
4148
4512
  set abstractText(value: string | null | undefined);
@@ -4158,13 +4522,13 @@ export class WasmMetadata {
4158
4522
  get documentVersion(): string | undefined;
4159
4523
  set documentVersion(value: string | null | undefined);
4160
4524
  get error(): WasmErrorMetadata | undefined;
4161
- set error(value: WasmErrorMetadata | null | undefined);
4525
+ set error(value: WasmErrorMetadata);
4162
4526
  get extractionDurationMs(): bigint | undefined;
4163
4527
  set extractionDurationMs(value: bigint | null | undefined);
4164
4528
  get format(): WasmFormatMetadata | undefined;
4165
4529
  set format(value: WasmFormatMetadata | null | undefined);
4166
4530
  get imagePreprocessing(): WasmImagePreprocessingMetadata | undefined;
4167
- set imagePreprocessing(value: WasmImagePreprocessingMetadata | null | undefined);
4531
+ set imagePreprocessing(value: WasmImagePreprocessingMetadata);
4168
4532
  get jsonSchema(): any | undefined;
4169
4533
  set jsonSchema(value: any | null | undefined);
4170
4534
  get keywords(): string[] | undefined;
@@ -4179,7 +4543,7 @@ export class WasmMetadata {
4179
4543
  get outputFormat(): string | undefined;
4180
4544
  set outputFormat(value: string | null | undefined);
4181
4545
  get pages(): WasmPageStructure | undefined;
4182
- set pages(value: WasmPageStructure | null | undefined);
4546
+ set pages(value: WasmPageStructure);
4183
4547
  get subject(): string | undefined;
4184
4548
  set subject(value: string | null | undefined);
4185
4549
  get tags(): string[] | undefined;
@@ -4282,14 +4646,22 @@ export enum WasmNerBackendKind {
4282
4646
  export class WasmNerConfig {
4283
4647
  free(): void;
4284
4648
  [Symbol.dispose](): void;
4649
+ clearLlm(): void;
4285
4650
  static default(): WasmNerConfig;
4651
+ /**
4652
+ * Takes ownership of `llm`.
4653
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
4654
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
4655
+ * keep a handle you already hold, build with `default()` and assign the property instead:
4656
+ * the generated setter borrows and leaves your handle alive.
4657
+ */
4286
4658
  constructor(backend?: WasmNerBackendKind | null, categories?: any | null, customLabels?: string[] | null, model?: string | null, llm?: WasmLlmConfig | null);
4287
4659
  get backend(): string;
4288
4660
  set backend(value: WasmNerBackendKind);
4289
4661
  categories: any;
4290
4662
  customLabels: string[];
4291
4663
  get llm(): WasmLlmConfig | undefined;
4292
- set llm(value: WasmLlmConfig | null | undefined);
4664
+ set llm(value: WasmLlmConfig);
4293
4665
  get model(): string | undefined;
4294
4666
  set model(value: string | null | undefined);
4295
4667
  }
@@ -4350,6 +4722,7 @@ export class WasmNoChunkingReason {
4350
4722
  export class WasmNodeContent {
4351
4723
  free(): void;
4352
4724
  [Symbol.dispose](): void;
4725
+ clearGrid(): void;
4353
4726
  static default(): WasmNodeContent;
4354
4727
  constructor();
4355
4728
  get content(): string | undefined;
@@ -4363,7 +4736,7 @@ export class WasmNodeContent {
4363
4736
  get format(): string | undefined;
4364
4737
  set format(value: string | null | undefined);
4365
4738
  get grid(): WasmTableGrid | undefined;
4366
- set grid(value: WasmTableGrid | null | undefined);
4739
+ set grid(value: WasmTableGrid);
4367
4740
  get headingLevel(): number | undefined;
4368
4741
  set headingLevel(value: number | null | undefined);
4369
4742
  get headingText(): string | undefined;
@@ -4467,36 +4840,51 @@ export class WasmOcrConfidence {
4467
4840
  export class WasmOcrConfig {
4468
4841
  free(): void;
4469
4842
  [Symbol.dispose](): void;
4843
+ clearAcceleration(): void;
4844
+ clearElementConfig(): void;
4845
+ clearPipeline(): void;
4846
+ clearQualityThresholds(): void;
4847
+ clearSecurityLimits(): void;
4848
+ clearTesseractConfig(): void;
4849
+ clearVlmConfig(): void;
4470
4850
  static default(): WasmOcrConfig;
4471
- constructor(enabled?: boolean | null, backend?: string | null, language?: string[] | null, autoRotate?: boolean | null, vlmFallback?: any | null, tesseractConfig?: WasmTesseractConfig | null, outputFormat?: any | null, paddleOcrConfig?: any | null, backendOptions?: any | null, elementConfig?: WasmOcrElementConfig | null, qualityThresholds?: WasmOcrQualityThresholds | null, pipeline?: WasmOcrPipelineConfig | null, vlmConfig?: WasmLlmConfig | null, vlmPrompt?: string | null, acceleration?: WasmAccelerationConfig | null, securityLimits?: WasmSecurityLimits | null, tessdataBytes?: any | null, tessdataPath?: string | null);
4851
+ /**
4852
+ * Takes ownership of `tesseractConfig`, `elementConfig`, `qualityThresholds`, `pipeline`, `vlmConfig`, `acceleration`, `securityLimits`.
4853
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
4854
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
4855
+ * keep a handle you already hold, build with `default()` and assign the property instead:
4856
+ * the generated setter borrows and leaves your handle alive.
4857
+ */
4858
+ constructor(enabled?: boolean | null, backend?: string | null, language?: string[] | null, autoRotate?: boolean | null, vlmFallback?: any | null, numericRepair?: boolean | null, tesseractConfig?: WasmTesseractConfig | null, outputFormat?: any | null, paddleOcrConfig?: any | null, backendOptions?: any | null, elementConfig?: WasmOcrElementConfig | null, qualityThresholds?: WasmOcrQualityThresholds | null, pipeline?: WasmOcrPipelineConfig | null, vlmConfig?: WasmLlmConfig | null, vlmPrompt?: string | null, acceleration?: WasmAccelerationConfig | null, securityLimits?: WasmSecurityLimits | null, tessdataBytes?: any | null, tessdataPath?: string | null);
4472
4859
  get acceleration(): WasmAccelerationConfig | undefined;
4473
- set acceleration(value: WasmAccelerationConfig | null | undefined);
4860
+ set acceleration(value: WasmAccelerationConfig);
4474
4861
  autoRotate: boolean;
4475
4862
  get backendOptions(): any | undefined;
4476
4863
  set backendOptions(value: any | null | undefined);
4477
4864
  backend: string;
4478
4865
  get elementConfig(): WasmOcrElementConfig | undefined;
4479
- set elementConfig(value: WasmOcrElementConfig | null | undefined);
4866
+ set elementConfig(value: WasmOcrElementConfig);
4480
4867
  enabled: boolean;
4481
4868
  language: string[];
4869
+ numericRepair: boolean;
4482
4870
  get outputFormat(): WasmOutputFormat | undefined;
4483
4871
  set outputFormat(value: WasmOutputFormat | null | undefined);
4484
4872
  get paddleOcrConfig(): any | undefined;
4485
4873
  set paddleOcrConfig(value: any | null | undefined);
4486
4874
  get pipeline(): WasmOcrPipelineConfig | undefined;
4487
- set pipeline(value: WasmOcrPipelineConfig | null | undefined);
4875
+ set pipeline(value: WasmOcrPipelineConfig);
4488
4876
  get qualityThresholds(): WasmOcrQualityThresholds | undefined;
4489
- set qualityThresholds(value: WasmOcrQualityThresholds | null | undefined);
4877
+ set qualityThresholds(value: WasmOcrQualityThresholds);
4490
4878
  get securityLimits(): WasmSecurityLimits | undefined;
4491
- set securityLimits(value: WasmSecurityLimits | null | undefined);
4879
+ set securityLimits(value: WasmSecurityLimits);
4492
4880
  get tessdataBytes(): any | undefined;
4493
4881
  set tessdataBytes(value: any | null | undefined);
4494
4882
  get tessdataPath(): string | undefined;
4495
4883
  set tessdataPath(value: string | null | undefined);
4496
4884
  get tesseractConfig(): WasmTesseractConfig | undefined;
4497
- set tesseractConfig(value: WasmTesseractConfig | null | undefined);
4885
+ set tesseractConfig(value: WasmTesseractConfig);
4498
4886
  get vlmConfig(): WasmLlmConfig | undefined;
4499
- set vlmConfig(value: WasmLlmConfig | null | undefined);
4887
+ set vlmConfig(value: WasmLlmConfig);
4500
4888
  vlmFallback: any;
4501
4889
  get vlmPrompt(): string | undefined;
4502
4890
  set vlmPrompt(value: string | null | undefined);
@@ -4511,7 +4899,15 @@ export class WasmOcrConfig {
4511
4899
  export class WasmOcrElement {
4512
4900
  free(): void;
4513
4901
  [Symbol.dispose](): void;
4902
+ clearRotation(): void;
4514
4903
  static default(): WasmOcrElement;
4904
+ /**
4905
+ * Takes ownership of `confidence`, `rotation`.
4906
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
4907
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
4908
+ * keep a handle you already hold, build with `default()` and assign the property instead:
4909
+ * the generated setter borrows and leaves your handle alive.
4910
+ */
4515
4911
  constructor(text?: string | null, geometry?: any | null, confidence?: WasmOcrConfidence | null, level?: WasmOcrElementLevel | null, pageNumber?: number | null, backendMetadata?: any | null, rotation?: WasmOcrRotation | null, parentId?: string | null);
4516
4912
  backendMetadata: any;
4517
4913
  confidence: WasmOcrConfidence;
@@ -4522,7 +4918,7 @@ export class WasmOcrElement {
4522
4918
  get parentId(): string | undefined;
4523
4919
  set parentId(value: string | null | undefined);
4524
4920
  get rotation(): WasmOcrRotation | undefined;
4525
- set rotation(value: WasmOcrRotation | null | undefined);
4921
+ set rotation(value: WasmOcrRotation);
4526
4922
  text: string;
4527
4923
  }
4528
4924
 
@@ -4620,7 +5016,16 @@ export class WasmOcrPipelineConfig {
4620
5016
  export class WasmOcrPipelineStage {
4621
5017
  free(): void;
4622
5018
  [Symbol.dispose](): void;
5019
+ clearTesseractConfig(): void;
5020
+ clearVlmConfig(): void;
4623
5021
  static default(): WasmOcrPipelineStage;
5022
+ /**
5023
+ * Takes ownership of `tesseractConfig`, `vlmConfig`.
5024
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5025
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5026
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5027
+ * the generated setter borrows and leaves your handle alive.
5028
+ */
4624
5029
  constructor(backend: string, priority: number, language?: string[] | null, tesseractConfig?: WasmTesseractConfig | null, paddleOcrConfig?: any | null, vlmConfig?: WasmLlmConfig | null, backendOptions?: any | null);
4625
5030
  get backendOptions(): any | undefined;
4626
5031
  set backendOptions(value: any | null | undefined);
@@ -4631,9 +5036,9 @@ export class WasmOcrPipelineStage {
4631
5036
  set paddleOcrConfig(value: any | null | undefined);
4632
5037
  priority: number;
4633
5038
  get tesseractConfig(): WasmTesseractConfig | undefined;
4634
- set tesseractConfig(value: WasmTesseractConfig | null | undefined);
5039
+ set tesseractConfig(value: WasmTesseractConfig);
4635
5040
  get vlmConfig(): WasmLlmConfig | undefined;
4636
- set vlmConfig(value: WasmLlmConfig | null | undefined);
5041
+ set vlmConfig(value: WasmLlmConfig);
4637
5042
  }
4638
5043
 
4639
5044
  /**
@@ -4723,10 +5128,18 @@ export class WasmOcrStrategy {
4723
5128
  export class WasmOcrTable {
4724
5129
  free(): void;
4725
5130
  [Symbol.dispose](): void;
5131
+ clearBoundingBox(): void;
4726
5132
  static default(): WasmOcrTable;
5133
+ /**
5134
+ * Takes ownership of `boundingBox`.
5135
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5136
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5137
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5138
+ * the generated setter borrows and leaves your handle alive.
5139
+ */
4727
5140
  constructor(cells: any, markdown: string, pageNumber: number, boundingBox?: WasmOcrTableBoundingBox | null);
4728
5141
  get boundingBox(): WasmOcrTableBoundingBox | undefined;
4729
- set boundingBox(value: WasmOcrTableBoundingBox | null | undefined);
5142
+ set boundingBox(value: WasmOcrTableBoundingBox);
4730
5143
  cells: any;
4731
5144
  markdown: string;
4732
5145
  pageNumber: number;
@@ -5029,20 +5442,30 @@ export class WasmPageConfig {
5029
5442
  export class WasmPageContent {
5030
5443
  free(): void;
5031
5444
  [Symbol.dispose](): void;
5445
+ clearHierarchy(): void;
5446
+ clearImagePreprocessing(): void;
5447
+ clearOcrConfidence(): void;
5032
5448
  static default(): WasmPageContent;
5449
+ /**
5450
+ * Takes ownership of `imagePreprocessing`, `hierarchy`, `ocrConfidence`.
5451
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5452
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5453
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5454
+ * the generated setter borrows and leaves your handle alive.
5455
+ */
5033
5456
  constructor(pageNumber: number, content: string, tables: WasmTable[], imageIndices: Uint32Array, imagePreprocessing?: WasmImagePreprocessingMetadata | null, hierarchy?: WasmPageHierarchy | null, isBlank?: boolean | null, layoutRegions?: WasmLayoutRegion[] | null, speakerNotes?: string | null, sectionName?: string | null, sheetName?: string | null, ocrConfidence?: WasmPageOcrConfidence | null);
5034
5457
  content: string;
5035
5458
  get hierarchy(): WasmPageHierarchy | undefined;
5036
- set hierarchy(value: WasmPageHierarchy | null | undefined);
5459
+ set hierarchy(value: WasmPageHierarchy);
5037
5460
  imageIndices: Uint32Array;
5038
5461
  get imagePreprocessing(): WasmImagePreprocessingMetadata | undefined;
5039
- set imagePreprocessing(value: WasmImagePreprocessingMetadata | null | undefined);
5462
+ set imagePreprocessing(value: WasmImagePreprocessingMetadata);
5040
5463
  get isBlank(): boolean | undefined;
5041
5464
  set isBlank(value: boolean | null | undefined);
5042
5465
  get layoutRegions(): Array<any> | undefined;
5043
5466
  set layoutRegions(value: WasmLayoutRegion[] | null | undefined);
5044
5467
  get ocrConfidence(): WasmPageOcrConfidence | undefined;
5045
- set ocrConfidence(value: WasmPageOcrConfidence | null | undefined);
5468
+ set ocrConfidence(value: WasmPageOcrConfidence);
5046
5469
  pageNumber: number;
5047
5470
  get sectionName(): string | undefined;
5048
5471
  set sectionName(value: string | null | undefined);
@@ -5086,10 +5509,18 @@ export class WasmPageHierarchy {
5086
5509
  export class WasmPageInfo {
5087
5510
  free(): void;
5088
5511
  [Symbol.dispose](): void;
5512
+ clearDimensions(): void;
5089
5513
  static default(): WasmPageInfo;
5514
+ /**
5515
+ * Takes ownership of `dimensions`.
5516
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5517
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5518
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5519
+ * the generated setter borrows and leaves your handle alive.
5520
+ */
5090
5521
  constructor(number: number, hasVectorGraphics: boolean, title?: string | null, dimensions?: WasmPageDimensions | null, imageCount?: number | null, tableCount?: number | null, hidden?: boolean | null, isBlank?: boolean | null);
5091
5522
  get dimensions(): WasmPageDimensions | undefined;
5092
- set dimensions(value: WasmPageDimensions | null | undefined);
5523
+ set dimensions(value: WasmPageDimensions);
5093
5524
  hasVectorGraphics: boolean;
5094
5525
  get hidden(): boolean | undefined;
5095
5526
  set hidden(value: boolean | null | undefined);
@@ -5241,10 +5672,18 @@ export class WasmPageSignals {
5241
5672
  export class WasmPageSpan {
5242
5673
  free(): void;
5243
5674
  [Symbol.dispose](): void;
5675
+ clearBbox(): void;
5244
5676
  static default(): WasmPageSpan;
5677
+ /**
5678
+ * Takes ownership of `bbox`.
5679
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5680
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5681
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5682
+ * the generated setter borrows and leaves your handle alive.
5683
+ */
5245
5684
  constructor(page: number, bbox?: WasmBoundingBox | null);
5246
5685
  get bbox(): WasmBoundingBox | undefined;
5247
- set bbox(value: WasmBoundingBox | null | undefined);
5686
+ set bbox(value: WasmBoundingBox);
5248
5687
  page: number;
5249
5688
  }
5250
5689
 
@@ -5299,14 +5738,22 @@ export class WasmPatternMatch {
5299
5738
  export class WasmPdfAnnotation {
5300
5739
  free(): void;
5301
5740
  [Symbol.dispose](): void;
5741
+ clearBoundingBox(): void;
5302
5742
  static default(): WasmPdfAnnotation;
5743
+ /**
5744
+ * Takes ownership of `boundingBox`.
5745
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5746
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5747
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5748
+ * the generated setter borrows and leaves your handle alive.
5749
+ */
5303
5750
  constructor(annotationType: WasmPdfAnnotationType, pageNumber: number, content?: string | null, boundingBox?: WasmBoundingBox | null, author?: string | null, modified?: string | null, color?: string | null, subject?: string | null, quadPoints?: WasmBoundingBox[] | null, markedText?: string | null);
5304
5751
  get annotationType(): string;
5305
5752
  set annotationType(value: WasmPdfAnnotationType);
5306
5753
  get author(): string | undefined;
5307
5754
  set author(value: string | null | undefined);
5308
5755
  get boundingBox(): WasmBoundingBox | undefined;
5309
- set boundingBox(value: WasmBoundingBox | null | undefined);
5756
+ set boundingBox(value: WasmBoundingBox);
5310
5757
  get color(): string | undefined;
5311
5758
  set color(value: string | null | undefined);
5312
5759
  get content(): string | undefined;
@@ -5365,7 +5812,15 @@ export enum WasmPdfBackend {
5365
5812
  export class WasmPdfConfig {
5366
5813
  free(): void;
5367
5814
  [Symbol.dispose](): void;
5815
+ clearHierarchy(): void;
5368
5816
  static default(): WasmPdfConfig;
5817
+ /**
5818
+ * Takes ownership of `hierarchy`.
5819
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5820
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5821
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5822
+ * the generated setter borrows and leaves your handle alive.
5823
+ */
5369
5824
  constructor(extractImages?: boolean | null, extractTables?: boolean | null, extractMetadata?: boolean | null, extractAnnotations?: boolean | null, allowSingleColumnTables?: boolean | null, ocrInlineImages?: boolean | null, extractFormFields?: boolean | null, readingOrder?: boolean | null, backend?: WasmPdfBackend | null, passwords?: string[] | null, hierarchy?: WasmHierarchyConfig | null, topMarginFraction?: number | null, bottomMarginFraction?: number | null);
5370
5825
  /**
5371
5826
  * Validate PDF-specific extraction settings.
@@ -5389,7 +5844,7 @@ export class WasmPdfConfig {
5389
5844
  extractMetadata: boolean;
5390
5845
  extractTables: boolean;
5391
5846
  get hierarchy(): WasmHierarchyConfig | undefined;
5392
- set hierarchy(value: WasmHierarchyConfig | null | undefined);
5847
+ set hierarchy(value: WasmHierarchyConfig);
5393
5848
  ocrInlineImages: boolean;
5394
5849
  get passwords(): string[] | undefined;
5395
5850
  set passwords(value: string[] | null | undefined);
@@ -5410,10 +5865,18 @@ export class WasmPdfConfig {
5410
5865
  export class WasmPdfFormField {
5411
5866
  free(): void;
5412
5867
  [Symbol.dispose](): void;
5868
+ clearBbox(): void;
5413
5869
  static default(): WasmPdfFormField;
5870
+ /**
5871
+ * Takes ownership of `bbox`.
5872
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
5873
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
5874
+ * keep a handle you already hold, build with `default()` and assign the property instead:
5875
+ * the generated setter borrows and leaves your handle alive.
5876
+ */
5414
5877
  constructor(name: string, fullName: string, fieldType: WasmFormFieldType, flags: number, value?: string | null, defaultValue?: string | null, page?: number | null, bbox?: WasmBoundingBox | null, maxLength?: number | null, tooltip?: string | null);
5415
5878
  get bbox(): WasmBoundingBox | undefined;
5416
- set bbox(value: WasmBoundingBox | null | undefined);
5879
+ set bbox(value: WasmBoundingBox);
5417
5880
  get defaultValue(): string | undefined;
5418
5881
  set defaultValue(value: string | null | undefined);
5419
5882
  get fieldType(): string;
@@ -5565,11 +6028,20 @@ export class WasmPptxAppProperties {
5565
6028
  export class WasmPptxExtractionResult {
5566
6029
  free(): void;
5567
6030
  [Symbol.dispose](): void;
6031
+ clearDocument(): void;
6032
+ clearPageStructure(): void;
5568
6033
  static default(): WasmPptxExtractionResult;
6034
+ /**
6035
+ * Takes ownership of `pageStructure`, `document`.
6036
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
6037
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
6038
+ * keep a handle you already hold, build with `default()` and assign the property instead:
6039
+ * the generated setter borrows and leaves your handle alive.
6040
+ */
5569
6041
  constructor(content: string, metadata: WasmPptxMetadata, slideCount: number, imageCount: number, tableCount: number, images: WasmExtractedImage[], hyperlinks: WasmPresentationHyperlink[], officeMetadata: any, pageStructure?: WasmPageStructure | null, pageContents?: WasmPageContent[] | null, document?: WasmDocumentStructure | null, revisions?: WasmDocumentRevision[] | null);
5570
6042
  content: string;
5571
6043
  get document(): WasmDocumentStructure | undefined;
5572
- set document(value: WasmDocumentStructure | null | undefined);
6044
+ set document(value: WasmDocumentStructure);
5573
6045
  hyperlinks: WasmPresentationHyperlink[];
5574
6046
  imageCount: number;
5575
6047
  images: WasmExtractedImage[];
@@ -5578,7 +6050,7 @@ export class WasmPptxExtractionResult {
5578
6050
  get pageContents(): Array<any> | undefined;
5579
6051
  set pageContents(value: WasmPageContent[] | null | undefined);
5580
6052
  get pageStructure(): WasmPageStructure | undefined;
5581
- set pageStructure(value: WasmPageStructure | null | undefined);
6053
+ set pageStructure(value: WasmPageStructure);
5582
6054
  get revisions(): Array<any> | undefined;
5583
6055
  set revisions(value: WasmDocumentRevision[] | null | undefined);
5584
6056
  slideCount: number;
@@ -5655,7 +6127,15 @@ export class WasmPresentationHyperlink {
5655
6127
  export class WasmPreset {
5656
6128
  free(): void;
5657
6129
  [Symbol.dispose](): void;
6130
+ clearSample(): void;
5658
6131
  static default(): WasmPreset;
6132
+ /**
6133
+ * Takes ownership of `sample`.
6134
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
6135
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
6136
+ * keep a handle you already hold, build with `default()` and assign the property instead:
6137
+ * the generated setter borrows and leaves your handle alive.
6138
+ */
5659
6139
  constructor(id: string, version: string, schemaName: string, description: string, category: WasmPresetCategory, tags: string[], schema: any, systemPrompt: string, mergeMode: WasmMergeMode, preferredCallMode: WasmCallMode, emitCitations: boolean, fingerprint: string, contextTemplate?: string | null, sample?: WasmPresetSample | null);
5660
6140
  get category(): string;
5661
6141
  set category(value: WasmPresetCategory);
@@ -5670,7 +6150,7 @@ export class WasmPreset {
5670
6150
  get preferredCallMode(): string;
5671
6151
  set preferredCallMode(value: WasmCallMode);
5672
6152
  get sample(): WasmPresetSample | undefined;
5673
- set sample(value: WasmPresetSample | null | undefined);
6153
+ set sample(value: WasmPresetSample);
5674
6154
  schemaName: string;
5675
6155
  schema: any;
5676
6156
  systemPrompt: string;
@@ -5829,10 +6309,18 @@ export class WasmQrBoundingBox {
5829
6309
  export class WasmQrCode {
5830
6310
  free(): void;
5831
6311
  [Symbol.dispose](): void;
6312
+ clearBbox(): void;
5832
6313
  static default(): WasmQrCode;
6314
+ /**
6315
+ * Takes ownership of `bbox`.
6316
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
6317
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
6318
+ * keep a handle you already hold, build with `default()` and assign the property instead:
6319
+ * the generated setter borrows and leaves your handle alive.
6320
+ */
5833
6321
  constructor(payload: string, confidence?: number | null, bbox?: WasmQrBoundingBox | null);
5834
6322
  get bbox(): WasmQrBoundingBox | undefined;
5835
- set bbox(value: WasmQrBoundingBox | null | undefined);
6323
+ set bbox(value: WasmQrBoundingBox);
5836
6324
  get confidence(): number | undefined;
5837
6325
  set confidence(value: number | null | undefined);
5838
6326
  payload: string;
@@ -5874,7 +6362,15 @@ export class WasmRecognizedTable {
5874
6362
  export class WasmRedactionConfig {
5875
6363
  free(): void;
5876
6364
  [Symbol.dispose](): void;
6365
+ clearNer(): void;
5877
6366
  static default(): WasmRedactionConfig;
6367
+ /**
6368
+ * Takes ownership of `ner`.
6369
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
6370
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
6371
+ * keep a handle you already hold, build with `default()` and assign the property instead:
6372
+ * the generated setter borrows and leaves your handle alive.
6373
+ */
5878
6374
  constructor(categories?: any | null, strategy?: WasmRedactionStrategy | null, preserveOffsets?: boolean | null, customTerms?: WasmRedactionTerm[] | null, customPatterns?: WasmRedactionPattern[] | null, ner?: WasmNerConfig | null);
5879
6375
  /**
5880
6376
  * Validate user-supplied terms and patterns at config-construction time.
@@ -5890,7 +6386,7 @@ export class WasmRedactionConfig {
5890
6386
  customPatterns: WasmRedactionPattern[];
5891
6387
  customTerms: WasmRedactionTerm[];
5892
6388
  get ner(): WasmNerConfig | undefined;
5893
- set ner(value: WasmNerConfig | null | undefined);
6389
+ set ner(value: WasmNerConfig);
5894
6390
  preserveOffsets: boolean;
5895
6391
  get strategy(): string;
5896
6392
  set strategy(value: WasmRedactionStrategy);
@@ -6107,10 +6603,18 @@ export class WasmRerankedDocument {
6107
6603
  export class WasmRerankerConfig {
6108
6604
  free(): void;
6109
6605
  [Symbol.dispose](): void;
6606
+ clearAcceleration(): void;
6110
6607
  static default(): WasmRerankerConfig;
6608
+ /**
6609
+ * Takes ownership of `acceleration`.
6610
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
6611
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
6612
+ * keep a handle you already hold, build with `default()` and assign the property instead:
6613
+ * the generated setter borrows and leaves your handle alive.
6614
+ */
6111
6615
  constructor(model?: any | null, batchSize?: number | null, showDownloadProgress?: boolean | null, topK?: number | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxRerankDurationSecs?: bigint | null);
6112
6616
  get acceleration(): WasmAccelerationConfig | undefined;
6113
- set acceleration(value: WasmAccelerationConfig | null | undefined);
6617
+ set acceleration(value: WasmAccelerationConfig);
6114
6618
  batchSize: number;
6115
6619
  get cacheDir(): string | undefined;
6116
6620
  set cacheDir(value: string | null | undefined);
@@ -6145,6 +6649,7 @@ export enum WasmRerankerHead {
6145
6649
  export class WasmRerankerModelType {
6146
6650
  free(): void;
6147
6651
  [Symbol.dispose](): void;
6652
+ clearLlm(): void;
6148
6653
  static default(): WasmRerankerModelType;
6149
6654
  constructor();
6150
6655
  get additionalFiles(): string[] | undefined;
@@ -6152,7 +6657,7 @@ export class WasmRerankerModelType {
6152
6657
  get head(): WasmRerankerHead | undefined;
6153
6658
  set head(value: WasmRerankerHead | null | undefined);
6154
6659
  get llm(): WasmLlmConfig | undefined;
6155
- set llm(value: WasmLlmConfig | null | undefined);
6660
+ set llm(value: WasmLlmConfig);
6156
6661
  get maxLength(): bigint | undefined;
6157
6662
  set maxLength(value: bigint | null | undefined);
6158
6663
  get modelFile(): string | undefined;
@@ -6325,10 +6830,18 @@ export class WasmSparseEmbedding {
6325
6830
  export class WasmSparseEmbeddingConfig {
6326
6831
  free(): void;
6327
6832
  [Symbol.dispose](): void;
6833
+ clearAcceleration(): void;
6328
6834
  static default(): WasmSparseEmbeddingConfig;
6835
+ /**
6836
+ * Takes ownership of `acceleration`.
6837
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
6838
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
6839
+ * keep a handle you already hold, build with `default()` and assign the property instead:
6840
+ * the generated setter borrows and leaves your handle alive.
6841
+ */
6329
6842
  constructor(model?: any | null, batchSize?: number | null, maxLength?: number | null, showDownloadProgress?: boolean | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxEmbedDurationSecs?: bigint | null);
6330
6843
  get acceleration(): WasmAccelerationConfig | undefined;
6331
- set acceleration(value: WasmAccelerationConfig | null | undefined);
6844
+ set acceleration(value: WasmAccelerationConfig);
6332
6845
  batchSize: number;
6333
6846
  get cacheDir(): string | undefined;
6334
6847
  set cacheDir(value: string | null | undefined);
@@ -6482,10 +6995,18 @@ export class WasmStructuredExtractionConfig {
6482
6995
  export class WasmSummarizationConfig {
6483
6996
  free(): void;
6484
6997
  [Symbol.dispose](): void;
6998
+ clearLlm(): void;
6485
6999
  static default(): WasmSummarizationConfig;
7000
+ /**
7001
+ * Takes ownership of `llm`.
7002
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
7003
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
7004
+ * keep a handle you already hold, build with `default()` and assign the property instead:
7005
+ * the generated setter borrows and leaves your handle alive.
7006
+ */
6486
7007
  constructor(strategy?: WasmSummaryStrategy | null, maxTokens?: number | null, llm?: WasmLlmConfig | null);
6487
7008
  get llm(): WasmLlmConfig | undefined;
6488
- set llm(value: WasmLlmConfig | null | undefined);
7009
+ set llm(value: WasmLlmConfig);
6489
7010
  get maxTokens(): number | undefined;
6490
7011
  set maxTokens(value: number | null | undefined);
6491
7012
  get strategy(): string;
@@ -6540,10 +7061,18 @@ export class WasmSvgOptions {
6540
7061
  export class WasmTable {
6541
7062
  free(): void;
6542
7063
  [Symbol.dispose](): void;
7064
+ clearBoundingBox(): void;
6543
7065
  static default(): WasmTable;
7066
+ /**
7067
+ * Takes ownership of `boundingBox`.
7068
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
7069
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
7070
+ * keep a handle you already hold, build with `default()` and assign the property instead:
7071
+ * the generated setter borrows and leaves your handle alive.
7072
+ */
6544
7073
  constructor(cells?: any | null, markdown?: string | null, pageNumber?: number | null, cellStyles?: WasmTableCellStyle[] | null, boundingBox?: WasmBoundingBox | null, tableId?: string | null, columns?: string[] | null);
6545
7074
  get boundingBox(): WasmBoundingBox | undefined;
6546
- set boundingBox(value: WasmBoundingBox | null | undefined);
7075
+ set boundingBox(value: WasmBoundingBox);
6547
7076
  cellStyles: WasmTableCellStyle[];
6548
7077
  cells: any;
6549
7078
  get columns(): string[] | undefined;
@@ -6677,8 +7206,16 @@ export enum WasmTableOverlapPreference {
6677
7206
  export class WasmTesseractConfig {
6678
7207
  free(): void;
6679
7208
  [Symbol.dispose](): void;
7209
+ clearPreprocessing(): void;
6680
7210
  static default(): WasmTesseractConfig;
6681
- constructor(language?: string[] | null, outputFormat?: string | null, oem?: number | null, minConfidence?: number | null, enableTableDetection?: boolean | null, tableMinConfidence?: number | null, tableColumnThreshold?: number | null, tableRowThresholdRatio?: number | null, useCache?: boolean | null, classifyUsePreAdaptedTemplates?: boolean | null, languageModelNgramOn?: boolean | null, tesseditDontBlkrejGoodWds?: boolean | null, tesseditDontRowrejGoodWds?: boolean | null, tesseditEnableDictCorrection?: boolean | null, tesseditCharWhitelist?: string | null, tesseditCharBlacklist?: string | null, tesseditUsePrimaryParamsModel?: boolean | null, textordSpaceSizeIsVariable?: boolean | null, thresholdingMethod?: boolean | null, psm?: number | null, preprocessing?: WasmImagePreprocessingConfig | null);
7211
+ /**
7212
+ * Takes ownership of `preprocessing`.
7213
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
7214
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
7215
+ * keep a handle you already hold, build with `default()` and assign the property instead:
7216
+ * the generated setter borrows and leaves your handle alive.
7217
+ */
7218
+ constructor(language?: string[] | null, outputFormat?: string | null, oem?: number | null, minConfidence?: number | null, enableTableDetection?: boolean | null, tableMinConfidence?: number | null, tableColumnThreshold?: number | null, tableRowThresholdRatio?: number | null, useCache?: boolean | null, classifyUsePreAdaptedTemplates?: boolean | null, languageModelNgramOn?: boolean | null, tesseditDontBlkrejGoodWds?: boolean | null, tesseditDontRowrejGoodWds?: boolean | null, tesseditEnableDictCorrection?: boolean | null, tesseditCharWhitelist?: string | null, tesseditCharBlacklist?: string | null, tesseditUsePrimaryParamsModel?: boolean | null, textordSpaceSizeIsVariable?: boolean | null, thresholdingMethod?: number | null, psm?: number | null, preprocessing?: WasmImagePreprocessingConfig | null);
6682
7219
  classifyUsePreAdaptedTemplates: boolean;
6683
7220
  enableTableDetection: boolean;
6684
7221
  languageModelNgramOn: boolean;
@@ -6687,7 +7224,7 @@ export class WasmTesseractConfig {
6687
7224
  oem: number;
6688
7225
  outputFormat: string;
6689
7226
  get preprocessing(): WasmImagePreprocessingConfig | undefined;
6690
- set preprocessing(value: WasmImagePreprocessingConfig | null | undefined);
7227
+ set preprocessing(value: WasmImagePreprocessingConfig);
6691
7228
  get psm(): number | undefined;
6692
7229
  set psm(value: number | null | undefined);
6693
7230
  tableColumnThreshold: number;
@@ -6700,7 +7237,7 @@ export class WasmTesseractConfig {
6700
7237
  tesseditEnableDictCorrection: boolean;
6701
7238
  tesseditUsePrimaryParamsModel: boolean;
6702
7239
  textordSpaceSizeIsVariable: boolean;
6703
- thresholdingMethod: boolean;
7240
+ thresholdingMethod: number;
6704
7241
  useCache: boolean;
6705
7242
  }
6706
7243
 
@@ -6957,6 +7494,13 @@ export class WasmUrlExtractionConfig {
6957
7494
  */
6958
7495
  static defaultXbergCrawlConfig(): WasmCrawlConfig;
6959
7496
  static default(): WasmUrlExtractionConfig;
7497
+ /**
7498
+ * Takes ownership of `crawl`.
7499
+ * wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
7500
+ * of those handles is dead once this returns. Passing a freshly built value is fine. To
7501
+ * keep a handle you already hold, build with `default()` and assign the property instead:
7502
+ * the generated setter borrows and leaves your handle alive.
7503
+ */
6960
7504
  constructor(mode?: WasmUrlExtractionMode | null, crawl?: WasmCrawlConfig | null, allowLocalFileInputs?: boolean | null, allowFileUris?: boolean | null, documentUrlPattern?: string | null, maxDocumentUrlsPerResult?: number | null, maxTotalUrls?: number | null);
6961
7505
  allowFileUris: boolean;
6962
7506
  allowLocalFileInputs: boolean;
@@ -7330,6 +7874,16 @@ export function listEmbeddingBackends(): string[];
7330
7874
  */
7331
7875
  export function listOcrBackendCapabilities(): WasmOcrBackendCapabilities[];
7332
7876
 
7877
+ /**
7878
+ * `list_ocr_backend_capabilities`, reporting each backend's languages under `config`.
7879
+ *
7880
+ * Tesseract's language list is a property of the tessdata directory it resolves, and
7881
+ * `config.tessdata_path` is the first entry of that search chain. The config-less form always
7882
+ * answers for the no-override chain, which can be a different directory than the one a job using
7883
+ * `config` will load from. Use this form when `config.tessdata_path` is set. See GH#1857.
7884
+ */
7885
+ export function listOcrBackendCapabilitiesFor(config: WasmOcrConfig): WasmOcrBackendCapabilities[];
7886
+
7333
7887
  /**
7334
7888
  * List all registered OCR backends.
7335
7889
  *
@@ -7456,6 +8010,34 @@ export function mapUrl(uri: string, config?: WasmUrlExtractionConfig | null): Pr
7456
8010
  */
7457
8011
  export function ocrBackendSupportsLanguage(backend: string, language: string): boolean;
7458
8012
 
8013
+ /**
8014
+ * `ocr_backend_supports_language`, answering under `config`.
8015
+ *
8016
+ * Use this, not the config-less form, when the caller sets `OcrConfig.tessdata_path`: the
8017
+ * config-less form checks the no-override search chain and can deny a language the job would
8018
+ * load without trouble. See GH#1857.
8019
+ */
8020
+ export function ocrBackendSupportsLanguageFor(backend: string, language: string, config: WasmOcrConfig): boolean;
8021
+
8022
+ /**
8023
+ * Count the pages in a PDF without rendering any of them.
8024
+ *
8025
+ * Opens the document and returns its page count from the PDF structure. No page
8026
+ * is rasterized, so this is cheap relative to `render_pdf_page_to_png` — use it
8027
+ * when you only need the count (e.g. to drive a render loop over the pages).
8028
+ *
8029
+ * # Arguments
8030
+ *
8031
+ * * `pdf_bytes` - Raw PDF file bytes
8032
+ * * `password` - Optional password for encrypted PDFs
8033
+ *
8034
+ * # Errors
8035
+ *
8036
+ * Returns `XbergError.Parsing` if the PDF cannot be opened, authenticated,
8037
+ * or its page count read.
8038
+ */
8039
+ export function pdfPageCount(pdf_bytes: Uint8Array, password?: string | null): number;
8040
+
7459
8041
  export function registerDocumentExtractor(backend: any): void;
7460
8042
 
7461
8043
  export function registerEmbeddingBackend(backend: any): void;
@@ -7778,6 +8360,7 @@ export interface InitOutput {
7778
8360
  readonly listDocumentExtractors: () => [number, number, number, number];
7779
8361
  readonly listEmbeddingBackends: () => [number, number, number, number];
7780
8362
  readonly listOcrBackendCapabilities: () => [number, number, number, number];
8363
+ readonly listOcrBackendCapabilitiesFor: (a: number) => [number, number, number, number];
7781
8364
  readonly listOcrBackends: () => [number, number, number, number];
7782
8365
  readonly listPostProcessors: () => [number, number, number, number];
7783
8366
  readonly listRenderers: () => [number, number, number, number];
@@ -7789,6 +8372,8 @@ export interface InitOutput {
7789
8372
  readonly nermodel_detect: (a: number, b: number, c: number, d: any) => any;
7790
8373
  readonly nermodel_load: (a: any) => any;
7791
8374
  readonly ocrBackendSupportsLanguage: (a: number, b: number, c: number, d: number) => [number, number, number];
8375
+ readonly ocrBackendSupportsLanguageFor: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
8376
+ readonly pdfPageCount: (a: number, b: number, c: number, d: number) => [number, number, number];
7792
8377
  readonly registerDocumentExtractor: (a: any) => [number, number];
7793
8378
  readonly registerEmbeddingBackend: (a: any) => [number, number];
7794
8379
  readonly registerOcrBackend: (a: any) => [number, number];
@@ -7904,6 +8489,7 @@ export interface InitOutput {
7904
8489
  readonly wasmbedrockconfig_set_sessionToken: (a: number, b: number, c: number) => void;
7905
8490
  readonly wasmbibtexmetadata_authors: (a: number) => [number, number];
7906
8491
  readonly wasmbibtexmetadata_citationKeys: (a: number) => [number, number];
8492
+ readonly wasmbibtexmetadata_clearYearRange: (a: number) => void;
7907
8493
  readonly wasmbibtexmetadata_default: () => number;
7908
8494
  readonly wasmbibtexmetadata_entryCount: (a: number) => number;
7909
8495
  readonly wasmbibtexmetadata_entryTypes: (a: number) => any;
@@ -7927,12 +8513,14 @@ export interface InitOutput {
7927
8513
  readonly wasmbrowserconfig_backend: (a: number) => [number, number];
7928
8514
  readonly wasmbrowserconfig_blockUrlPatterns: (a: number) => [number, number];
7929
8515
  readonly wasmbrowserconfig_captureNetworkEvents: (a: number) => number;
8516
+ readonly wasmbrowserconfig_clearProxy: (a: number) => void;
7930
8517
  readonly wasmbrowserconfig_default: () => number;
7931
8518
  readonly wasmbrowserconfig_endpoint: (a: number) => [number, number];
7932
8519
  readonly wasmbrowserconfig_evalScript: (a: number) => [number, number];
7933
8520
  readonly wasmbrowserconfig_extraWait: (a: number) => [number, bigint];
7934
8521
  readonly wasmbrowserconfig_mode: (a: number) => [number, number];
7935
- readonly wasmbrowserconfig_new: (a: number, b: number, c: number, d: bigint, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: bigint, p: number, q: number, r: number, s: number, t: number) => number;
8522
+ readonly wasmbrowserconfig_new: (a: number, b: number, c: number, d: bigint, e: number, f: bigint, g: number, h: bigint, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: bigint, t: number, u: number, v: number, w: number, x: number) => number;
8523
+ readonly wasmbrowserconfig_overallTimeout: (a: number) => [number, bigint];
7936
8524
  readonly wasmbrowserconfig_proxy: (a: number) => number;
7937
8525
  readonly wasmbrowserconfig_robotsUserAgent: (a: number) => [number, number];
7938
8526
  readonly wasmbrowserconfig_sessionAffinity: (a: number) => number;
@@ -7943,12 +8531,15 @@ export interface InitOutput {
7943
8531
  readonly wasmbrowserconfig_set_evalScript: (a: number, b: number, c: number) => void;
7944
8532
  readonly wasmbrowserconfig_set_extraWait: (a: number, b: number, c: bigint) => void;
7945
8533
  readonly wasmbrowserconfig_set_mode: (a: number, b: number) => void;
8534
+ readonly wasmbrowserconfig_set_overallTimeout: (a: number, b: number, c: bigint) => void;
7946
8535
  readonly wasmbrowserconfig_set_proxy: (a: number, b: number) => void;
7947
8536
  readonly wasmbrowserconfig_set_robotsUserAgent: (a: number, b: number, c: number) => void;
7948
8537
  readonly wasmbrowserconfig_set_sessionAffinity: (a: number, b: number) => void;
8538
+ readonly wasmbrowserconfig_set_shutdownTimeout: (a: number, b: number, c: bigint) => void;
7949
8539
  readonly wasmbrowserconfig_set_timeout: (a: number, b: number, c: bigint) => void;
7950
8540
  readonly wasmbrowserconfig_set_wait: (a: number, b: number) => void;
7951
8541
  readonly wasmbrowserconfig_set_waitSelector: (a: number, b: number, c: number) => void;
8542
+ readonly wasmbrowserconfig_shutdownTimeout: (a: number) => [number, bigint];
7952
8543
  readonly wasmbrowserconfig_timeout: (a: number) => [number, bigint];
7953
8544
  readonly wasmbrowserconfig_wait: (a: number) => [number, number];
7954
8545
  readonly wasmbrowserconfig_waitSelector: (a: number) => [number, number];
@@ -7984,6 +8575,8 @@ export interface InitOutput {
7984
8575
  readonly wasmcellchange_set_to: (a: number, b: number, c: number) => void;
7985
8576
  readonly wasmcellchange_to: (a: number) => [number, number];
7986
8577
  readonly wasmchunk_chunkType: (a: number) => [number, number];
8578
+ readonly wasmchunk_clearLateInteraction: (a: number) => void;
8579
+ readonly wasmchunk_clearSparseEmbedding: (a: number) => void;
7987
8580
  readonly wasmchunk_content: (a: number) => [number, number];
7988
8581
  readonly wasmchunk_default: () => number;
7989
8582
  readonly wasmchunk_embedding: (a: number) => [number, number];
@@ -8026,6 +8619,9 @@ export interface InitOutput {
8026
8619
  readonly wasmchunkinfo_set_index: (a: number, b: number) => void;
8027
8620
  readonly wasmchunkinfo_set_pages: (a: number, b: number) => void;
8028
8621
  readonly wasmchunkingconfig_chunkerType: (a: number) => [number, number];
8622
+ readonly wasmchunkingconfig_clearEmbedding: (a: number) => void;
8623
+ readonly wasmchunkingconfig_clearLateInteraction: (a: number) => void;
8624
+ readonly wasmchunkingconfig_clearSparseEmbedding: (a: number) => void;
8029
8625
  readonly wasmchunkingconfig_default: () => number;
8030
8626
  readonly wasmchunkingconfig_embedding: (a: number) => number;
8031
8627
  readonly wasmchunkingconfig_lateInteraction: (a: number) => number;
@@ -8067,6 +8663,7 @@ export interface InitOutput {
8067
8663
  readonly wasmchunkmetadata_byteStart: (a: number) => number;
8068
8664
  readonly wasmchunkmetadata_chunkIndex: (a: number) => number;
8069
8665
  readonly wasmchunkmetadata_classifications: (a: number) => [number, number];
8666
+ readonly wasmchunkmetadata_clearHeadingContext: (a: number) => void;
8070
8667
  readonly wasmchunkmetadata_default: () => number;
8071
8668
  readonly wasmchunkmetadata_firstPage: (a: number) => number;
8072
8669
  readonly wasmchunkmetadata_headingContext: (a: number) => number;
@@ -8111,6 +8708,7 @@ export interface InitOutput {
8111
8708
  readonly wasmcitation_source: (a: number) => [number, number];
8112
8709
  readonly wasmcitationmetadata_authors: (a: number) => [number, number];
8113
8710
  readonly wasmcitationmetadata_citationCount: (a: number) => number;
8711
+ readonly wasmcitationmetadata_clearYearRange: (a: number) => void;
8114
8712
  readonly wasmcitationmetadata_default: () => number;
8115
8713
  readonly wasmcitationmetadata_dois: (a: number) => [number, number];
8116
8714
  readonly wasmcitationmetadata_format: (a: number) => [number, number];
@@ -8143,15 +8741,17 @@ export interface InitOutput {
8143
8741
  readonly wasmconfidencesemantics_type: (a: number) => [number, number];
8144
8742
  readonly wasmcontentconfig_default: () => number;
8145
8743
  readonly wasmcontentconfig_excludeSelectors: (a: number) => [number, number];
8744
+ readonly wasmcontentconfig_extractMetadata: (a: number) => number;
8146
8745
  readonly wasmcontentconfig_includeDocumentStructure: (a: number) => number;
8147
8746
  readonly wasmcontentconfig_maxDepth: (a: number) => number;
8148
- readonly wasmcontentconfig_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) => number;
8747
+ readonly wasmcontentconfig_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) => number;
8149
8748
  readonly wasmcontentconfig_outputFormat: (a: number) => [number, number];
8150
8749
  readonly wasmcontentconfig_preprocessingPreset: (a: number) => [number, number];
8151
8750
  readonly wasmcontentconfig_preserveTags: (a: number) => [number, number];
8152
8751
  readonly wasmcontentconfig_removeForms: (a: number) => number;
8153
8752
  readonly wasmcontentconfig_removeNavigation: (a: number) => number;
8154
8753
  readonly wasmcontentconfig_set_excludeSelectors: (a: number, b: number, c: number) => void;
8754
+ readonly wasmcontentconfig_set_extractMetadata: (a: number, b: number) => void;
8155
8755
  readonly wasmcontentconfig_set_includeDocumentStructure: (a: number, b: number) => void;
8156
8756
  readonly wasmcontentconfig_set_maxDepth: (a: number, b: number) => void;
8157
8757
  readonly wasmcontentconfig_set_outputFormat: (a: number, b: number, c: number) => void;
@@ -8186,6 +8786,7 @@ export interface InitOutput {
8186
8786
  readonly wasmcontributorrole_set_name: (a: number, b: number, c: number) => void;
8187
8787
  readonly wasmcontributorrole_set_role: (a: number, b: number, c: number) => void;
8188
8788
  readonly wasmconversionoptions_autolinks: (a: number) => number;
8789
+ readonly wasmconversionoptions_baseUrl: (a: number) => [number, number];
8189
8790
  readonly wasmconversionoptions_brInTables: (a: number) => number;
8190
8791
  readonly wasmconversionoptions_bullets: (a: number) => [number, number];
8191
8792
  readonly wasmconversionoptions_captureSvg: (a: number) => number;
@@ -8214,12 +8815,13 @@ export interface InitOutput {
8214
8815
  readonly wasmconversionoptions_listIndentWidth: (a: number) => number;
8215
8816
  readonly wasmconversionoptions_maxDepth: (a: number) => number;
8216
8817
  readonly wasmconversionoptions_maxImageSize: (a: number) => bigint;
8217
- readonly 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: number, u1: number, v1: bigint, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number) => number;
8818
+ readonly 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: number, u1: number, v1: bigint, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number, c2: number, d2: number) => number;
8218
8819
  readonly wasmconversionoptions_newlineStyle: (a: number) => [number, number];
8219
8820
  readonly wasmconversionoptions_outputFormat: (a: number) => [number, number];
8220
8821
  readonly wasmconversionoptions_preprocessing: (a: number) => number;
8221
8822
  readonly wasmconversionoptions_preserveTags: (a: number) => [number, number];
8222
8823
  readonly wasmconversionoptions_set_autolinks: (a: number, b: number) => void;
8824
+ readonly wasmconversionoptions_set_baseUrl: (a: number, b: number, c: number) => void;
8223
8825
  readonly wasmconversionoptions_set_brInTables: (a: number, b: number) => void;
8224
8826
  readonly wasmconversionoptions_set_bullets: (a: number, b: number, c: number) => void;
8225
8827
  readonly wasmconversionoptions_set_captureSvg: (a: number, b: number) => void;
@@ -8313,11 +8915,13 @@ export interface InitOutput {
8313
8915
  readonly wasmcrawlconfig_browser: (a: number) => number;
8314
8916
  readonly wasmcrawlconfig_browserProfile: (a: number) => [number, number];
8315
8917
  readonly wasmcrawlconfig_captureScreenshot: (a: number) => number;
8918
+ readonly wasmcrawlconfig_clearProxy: (a: number) => void;
8316
8919
  readonly wasmcrawlconfig_content: (a: number) => number;
8317
8920
  readonly wasmcrawlconfig_contentFilter: (a: number) => [number, number];
8318
8921
  readonly wasmcrawlconfig_cookiesEnabled: (a: number) => number;
8319
8922
  readonly wasmcrawlconfig_crawlStrategy: (a: number) => [number, number];
8320
8923
  readonly wasmcrawlconfig_customHeaders: (a: number) => any;
8924
+ readonly wasmcrawlconfig_dedupIncludeQuery: (a: number) => number;
8321
8925
  readonly wasmcrawlconfig_default: () => number;
8322
8926
  readonly wasmcrawlconfig_documentContentEncoding: (a: number) => [number, number];
8323
8927
  readonly wasmcrawlconfig_documentMaxSize: (a: number) => number;
@@ -8338,14 +8942,18 @@ export interface InitOutput {
8338
8942
  readonly wasmcrawlconfig_maxLinksPerPage: (a: number) => number;
8339
8943
  readonly wasmcrawlconfig_maxPages: (a: number) => number;
8340
8944
  readonly wasmcrawlconfig_maxRedirects: (a: number) => number;
8341
- readonly wasmcrawlconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: bigint, 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, z1: number, a2: number, b2: number, c2: number, d2: number, e2: number, f2: number, g2: number, h2: number, i2: number, j2: number, k2: number) => number;
8945
+ readonly wasmcrawlconfig_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: bigint, r: number, s: number, t: number, u: number, v: number, w: bigint, x: number, y: bigint, 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: number, u1: number, v1: number, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number, c2: number, d2: number, e2: bigint, f2: number, g2: number, h2: number, i2: number, j2: number, k2: number, l2: number, m2: number, n2: number, o2: number, p2: number, q2: number, r2: number, s2: number, t2: number, u2: number, v2: number) => number;
8946
+ readonly wasmcrawlconfig_pathPatternsMatchQuery: (a: number) => number;
8342
8947
  readonly wasmcrawlconfig_proxy: (a: number) => number;
8948
+ readonly wasmcrawlconfig_rateLimitJitterRatio: (a: number) => number;
8343
8949
  readonly wasmcrawlconfig_rateLimitMs: (a: number) => [number, bigint];
8344
8950
  readonly wasmcrawlconfig_removeTags: (a: number) => [number, number];
8345
8951
  readonly wasmcrawlconfig_requestTimeout: (a: number) => [number, bigint];
8346
8952
  readonly wasmcrawlconfig_respectRobotsTxt: (a: number) => number;
8347
8953
  readonly wasmcrawlconfig_retryCodes: (a: number) => [number, number];
8348
8954
  readonly wasmcrawlconfig_retryCount: (a: number) => number;
8955
+ readonly wasmcrawlconfig_retryInitialDelayMs: (a: number) => bigint;
8956
+ readonly wasmcrawlconfig_retryMaxDelayMs: (a: number) => bigint;
8349
8957
  readonly wasmcrawlconfig_saveBrowserProfile: (a: number) => number;
8350
8958
  readonly wasmcrawlconfig_set_allowSubdomains: (a: number, b: number) => void;
8351
8959
  readonly wasmcrawlconfig_set_assetTypes: (a: number, b: number, c: number) => void;
@@ -8360,6 +8968,7 @@ export interface InitOutput {
8360
8968
  readonly wasmcrawlconfig_set_cookiesEnabled: (a: number, b: number) => void;
8361
8969
  readonly wasmcrawlconfig_set_crawlStrategy: (a: number, b: number) => void;
8362
8970
  readonly wasmcrawlconfig_set_customHeaders: (a: number, b: any) => void;
8971
+ readonly wasmcrawlconfig_set_dedupIncludeQuery: (a: number, b: number) => void;
8363
8972
  readonly wasmcrawlconfig_set_documentContentEncoding: (a: number, b: number) => void;
8364
8973
  readonly wasmcrawlconfig_set_documentMaxSize: (a: number, b: number) => void;
8365
8974
  readonly wasmcrawlconfig_set_documentMimeTypes: (a: number, b: number, c: number) => void;
@@ -8379,18 +8988,24 @@ export interface InitOutput {
8379
8988
  readonly wasmcrawlconfig_set_maxLinksPerPage: (a: number, b: number) => void;
8380
8989
  readonly wasmcrawlconfig_set_maxPages: (a: number, b: number) => void;
8381
8990
  readonly wasmcrawlconfig_set_maxRedirects: (a: number, b: number) => void;
8991
+ readonly wasmcrawlconfig_set_pathPatternsMatchQuery: (a: number, b: number) => void;
8382
8992
  readonly wasmcrawlconfig_set_proxy: (a: number, b: number) => void;
8993
+ readonly wasmcrawlconfig_set_rateLimitJitterRatio: (a: number, b: number) => void;
8383
8994
  readonly wasmcrawlconfig_set_rateLimitMs: (a: number, b: number, c: bigint) => void;
8384
8995
  readonly wasmcrawlconfig_set_removeTags: (a: number, b: number, c: number) => void;
8385
8996
  readonly wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
8386
8997
  readonly wasmcrawlconfig_set_respectRobotsTxt: (a: number, b: number) => void;
8387
8998
  readonly wasmcrawlconfig_set_retryCodes: (a: number, b: number, c: number) => void;
8388
8999
  readonly wasmcrawlconfig_set_retryCount: (a: number, b: number) => void;
9000
+ readonly wasmcrawlconfig_set_retryInitialDelayMs: (a: number, b: bigint) => void;
9001
+ readonly wasmcrawlconfig_set_retryMaxDelayMs: (a: number, b: bigint) => void;
8389
9002
  readonly wasmcrawlconfig_set_saveBrowserProfile: (a: number, b: number) => void;
8390
9003
  readonly wasmcrawlconfig_set_softHttpErrors: (a: number, b: number) => void;
8391
9004
  readonly wasmcrawlconfig_set_ssrf: (a: number, b: number) => void;
8392
9005
  readonly wasmcrawlconfig_set_ssrfDenyPrivateExplicit: (a: number, b: number) => void;
8393
9006
  readonly wasmcrawlconfig_set_stayOnDomain: (a: number, b: number) => void;
9007
+ readonly wasmcrawlconfig_set_stripTrackingParams: (a: number, b: number) => void;
9008
+ readonly wasmcrawlconfig_set_trackingParams: (a: number, b: number, c: number) => void;
8394
9009
  readonly wasmcrawlconfig_set_userAgent: (a: number, b: number, c: number) => void;
8395
9010
  readonly wasmcrawlconfig_set_userAgents: (a: number, b: number, c: number) => void;
8396
9011
  readonly wasmcrawlconfig_set_warcOutput: (a: number, b: number, c: number) => void;
@@ -8398,6 +9013,8 @@ export interface InitOutput {
8398
9013
  readonly wasmcrawlconfig_ssrf: (a: number) => number;
8399
9014
  readonly wasmcrawlconfig_ssrfDenyPrivateExplicit: (a: number) => number;
8400
9015
  readonly wasmcrawlconfig_stayOnDomain: (a: number) => number;
9016
+ readonly wasmcrawlconfig_stripTrackingParams: (a: number) => number;
9017
+ readonly wasmcrawlconfig_trackingParams: (a: number) => [number, number];
8401
9018
  readonly wasmcrawlconfig_userAgent: (a: number) => [number, number];
8402
9019
  readonly wasmcrawlconfig_userAgents: (a: number) => [number, number];
8403
9020
  readonly wasmcrawlconfig_warcOutput: (a: number) => [number, number];
@@ -8495,6 +9112,7 @@ export interface InitOutput {
8495
9112
  readonly wasmdjotcontent_tables: (a: number) => [number, number];
8496
9113
  readonly wasmdjotimage_alt: (a: number) => [number, number];
8497
9114
  readonly wasmdjotimage_attributes: (a: number) => number;
9115
+ readonly wasmdjotimage_clearAttributes: (a: number) => void;
8498
9116
  readonly wasmdjotimage_default: () => number;
8499
9117
  readonly wasmdjotimage_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
8500
9118
  readonly wasmdjotimage_set_alt: (a: number, b: number, c: number) => void;
@@ -8504,6 +9122,7 @@ export interface InitOutput {
8504
9122
  readonly wasmdjotimage_src: (a: number) => [number, number];
8505
9123
  readonly wasmdjotimage_title: (a: number) => [number, number];
8506
9124
  readonly wasmdjotlink_attributes: (a: number) => number;
9125
+ readonly wasmdjotlink_clearAttributes: (a: number) => void;
8507
9126
  readonly wasmdjotlink_default: () => number;
8508
9127
  readonly wasmdjotlink_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
8509
9128
  readonly wasmdjotlink_set_attributes: (a: number, b: number) => void;
@@ -8549,6 +9168,7 @@ export interface InitOutput {
8549
9168
  readonly wasmdocumentcounts_set_tables: (a: number, b: number) => void;
8550
9169
  readonly wasmdocumentcounts_tables: (a: number) => number;
8551
9170
  readonly wasmdocumentmetadata_chunkingEnabled: (a: number) => number;
9171
+ readonly wasmdocumentmetadata_clearUserChunkConfig: (a: number) => void;
8552
9172
  readonly wasmdocumentmetadata_default: () => number;
8553
9173
  readonly wasmdocumentmetadata_forceOcr: (a: number) => number;
8554
9174
  readonly wasmdocumentmetadata_mimeType: (a: number) => [number, number];
@@ -8566,6 +9186,7 @@ export interface InitOutput {
8566
9186
  readonly wasmdocumentnode_attributes: (a: number) => any;
8567
9187
  readonly wasmdocumentnode_bbox: (a: number) => number;
8568
9188
  readonly wasmdocumentnode_children: (a: number) => [number, number];
9189
+ readonly wasmdocumentnode_clearBbox: (a: number) => void;
8569
9190
  readonly wasmdocumentnode_content: (a: number) => any;
8570
9191
  readonly wasmdocumentnode_contentLayer: (a: number) => [number, number];
8571
9192
  readonly wasmdocumentnode_default: () => number;
@@ -8661,6 +9282,8 @@ export interface InitOutput {
8661
9282
  readonly wasmdocxappproperties_totalTime: (a: number) => number;
8662
9283
  readonly wasmdocxappproperties_words: (a: number) => number;
8663
9284
  readonly wasmdocxmetadata_appProperties: (a: number) => number;
9285
+ readonly wasmdocxmetadata_clearAppProperties: (a: number) => void;
9286
+ readonly wasmdocxmetadata_clearCoreProperties: (a: number) => void;
8664
9287
  readonly wasmdocxmetadata_coreProperties: (a: number) => number;
8665
9288
  readonly wasmdocxmetadata_customProperties: (a: number) => any;
8666
9289
  readonly wasmdocxmetadata_default: () => number;
@@ -8679,6 +9302,7 @@ export interface InitOutput {
8679
9302
  readonly wasmelement_set_text: (a: number, b: number, c: number) => void;
8680
9303
  readonly wasmelement_text: (a: number) => [number, number];
8681
9304
  readonly wasmelementmetadata_additional: (a: number) => any;
9305
+ readonly wasmelementmetadata_clearCoordinates: (a: number) => void;
8682
9306
  readonly wasmelementmetadata_coordinates: (a: number) => number;
8683
9307
  readonly wasmelementmetadata_default: () => number;
8684
9308
  readonly wasmelementmetadata_elementIndex: (a: number) => number;
@@ -8763,6 +9387,7 @@ export interface InitOutput {
8763
9387
  readonly wasmembeddingconfig_acceleration: (a: number) => number;
8764
9388
  readonly wasmembeddingconfig_batchSize: (a: number) => number;
8765
9389
  readonly wasmembeddingconfig_cacheDir: (a: number) => [number, number];
9390
+ readonly wasmembeddingconfig_clearAcceleration: (a: number) => void;
8766
9391
  readonly wasmembeddingconfig_default: () => number;
8767
9392
  readonly wasmembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
8768
9393
  readonly wasmembeddingconfig_maxSequenceLength: (a: number) => number;
@@ -8778,6 +9403,7 @@ export interface InitOutput {
8778
9403
  readonly wasmembeddingconfig_set_normalize: (a: number, b: number) => void;
8779
9404
  readonly wasmembeddingconfig_set_showDownloadProgress: (a: number, b: number) => void;
8780
9405
  readonly wasmembeddingconfig_showDownloadProgress: (a: number) => number;
9406
+ readonly wasmembeddingmodeltype_clearLlm: (a: number) => void;
8781
9407
  readonly wasmembeddingmodeltype_default: () => number;
8782
9408
  readonly wasmembeddingmodeltype_dimensions: (a: number) => number;
8783
9409
  readonly wasmembeddingmodeltype_llm: (a: number) => number;
@@ -8859,6 +9485,12 @@ export interface InitOutput {
8859
9485
  readonly wasmextracteddocument_annotations: (a: number) => any;
8860
9486
  readonly wasmextracteddocument_children: (a: number) => any;
8861
9487
  readonly wasmextracteddocument_chunks: (a: number) => any;
9488
+ readonly wasmextracteddocument_clearDjotContent: (a: number) => void;
9489
+ readonly wasmextracteddocument_clearDocument: (a: number) => void;
9490
+ readonly wasmextracteddocument_clearExtractionConfidence: (a: number) => void;
9491
+ readonly wasmextracteddocument_clearRedactionReport: (a: number) => void;
9492
+ readonly wasmextracteddocument_clearSummary: (a: number) => void;
9493
+ readonly wasmextracteddocument_clearTranslation: (a: number) => void;
8862
9494
  readonly wasmextracteddocument_content: (a: number) => [number, number];
8863
9495
  readonly wasmextracteddocument_counts: (a: number) => number;
8864
9496
  readonly wasmextracteddocument_default: () => number;
@@ -8925,6 +9557,8 @@ export interface InitOutput {
8925
9557
  readonly wasmextractedimage_bitsPerComponent: (a: number) => number;
8926
9558
  readonly wasmextractedimage_boundingBox: (a: number) => number;
8927
9559
  readonly wasmextractedimage_caption: (a: number) => [number, number];
9560
+ readonly wasmextractedimage_clearBoundingBox: (a: number) => void;
9561
+ readonly wasmextractedimage_clearOcrResult: (a: number) => void;
8928
9562
  readonly wasmextractedimage_clusterId: (a: number) => number;
8929
9563
  readonly wasmextractedimage_colorspace: (a: number) => [number, number];
8930
9564
  readonly wasmextractedimage_data: (a: number) => [number, number];
@@ -8973,6 +9607,7 @@ export interface InitOutput {
8973
9607
  readonly wasmextracteduri_set_url: (a: number, b: number, c: number) => void;
8974
9608
  readonly wasmextracteduri_url: (a: number) => [number, number];
8975
9609
  readonly wasmextractinput_bytes: (a: number) => [number, number];
9610
+ readonly wasmextractinput_clearConfig: (a: number) => void;
8976
9611
  readonly wasmextractinput_config: (a: number) => number;
8977
9612
  readonly wasmextractinput_default: () => number;
8978
9613
  readonly wasmextractinput_filename: (a: number) => [number, number];
@@ -9005,6 +9640,34 @@ export interface InitOutput {
9005
9640
  readonly wasmextractionconfig_captioning: (a: number) => number;
9006
9641
  readonly wasmextractionconfig_chunkClassification: (a: number) => number;
9007
9642
  readonly wasmextractionconfig_chunking: (a: number) => number;
9643
+ readonly wasmextractionconfig_clearAcceleration: (a: number) => void;
9644
+ readonly wasmextractionconfig_clearCaptioning: (a: number) => void;
9645
+ readonly wasmextractionconfig_clearChunkClassification: (a: number) => void;
9646
+ readonly wasmextractionconfig_clearChunking: (a: number) => void;
9647
+ readonly wasmextractionconfig_clearConcurrency: (a: number) => void;
9648
+ readonly wasmextractionconfig_clearContentFilter: (a: number) => void;
9649
+ readonly wasmextractionconfig_clearCsv: (a: number) => void;
9650
+ readonly wasmextractionconfig_clearEmail: (a: number) => void;
9651
+ readonly wasmextractionconfig_clearGeojson: (a: number) => void;
9652
+ readonly wasmextractionconfig_clearHtmlOptions: (a: number) => void;
9653
+ readonly wasmextractionconfig_clearHtmlOutput: (a: number) => void;
9654
+ readonly wasmextractionconfig_clearImages: (a: number) => void;
9655
+ readonly wasmextractionconfig_clearKeywords: (a: number) => void;
9656
+ readonly wasmextractionconfig_clearLanguageDetection: (a: number) => void;
9657
+ readonly wasmextractionconfig_clearLayout: (a: number) => void;
9658
+ readonly wasmextractionconfig_clearNer: (a: number) => void;
9659
+ readonly wasmextractionconfig_clearOcr: (a: number) => void;
9660
+ readonly wasmextractionconfig_clearPageClassification: (a: number) => void;
9661
+ readonly wasmextractionconfig_clearPages: (a: number) => void;
9662
+ readonly wasmextractionconfig_clearPdfOptions: (a: number) => void;
9663
+ readonly wasmextractionconfig_clearPostprocessor: (a: number) => void;
9664
+ readonly wasmextractionconfig_clearRedaction: (a: number) => void;
9665
+ readonly wasmextractionconfig_clearSecurityLimits: (a: number) => void;
9666
+ readonly wasmextractionconfig_clearStructuredExtraction: (a: number) => void;
9667
+ readonly wasmextractionconfig_clearSummarization: (a: number) => void;
9668
+ readonly wasmextractionconfig_clearTokenReduction: (a: number) => void;
9669
+ readonly wasmextractionconfig_clearTranscription: (a: number) => void;
9670
+ readonly wasmextractionconfig_clearTranslation: (a: number) => void;
9008
9671
  readonly wasmextractionconfig_concurrency: (a: number) => number;
9009
9672
  readonly wasmextractionconfig_contentFilter: (a: number) => number;
9010
9673
  readonly wasmextractionconfig_csv: (a: number) => number;
@@ -9168,6 +9831,29 @@ export interface InitOutput {
9168
9831
  readonly wasmfileextractionconfig_captioning: (a: number) => number;
9169
9832
  readonly wasmfileextractionconfig_chunkClassification: (a: number) => number;
9170
9833
  readonly wasmfileextractionconfig_chunking: (a: number) => number;
9834
+ readonly wasmfileextractionconfig_clearCaptioning: (a: number) => void;
9835
+ readonly wasmfileextractionconfig_clearChunkClassification: (a: number) => void;
9836
+ readonly wasmfileextractionconfig_clearChunking: (a: number) => void;
9837
+ readonly wasmfileextractionconfig_clearContentFilter: (a: number) => void;
9838
+ readonly wasmfileextractionconfig_clearHtmlOptions: (a: number) => void;
9839
+ readonly wasmfileextractionconfig_clearHtmlOutput: (a: number) => void;
9840
+ readonly wasmfileextractionconfig_clearImages: (a: number) => void;
9841
+ readonly wasmfileextractionconfig_clearKeywords: (a: number) => void;
9842
+ readonly wasmfileextractionconfig_clearLanguageDetection: (a: number) => void;
9843
+ readonly wasmfileextractionconfig_clearLayout: (a: number) => void;
9844
+ readonly wasmfileextractionconfig_clearNer: (a: number) => void;
9845
+ readonly wasmfileextractionconfig_clearOcr: (a: number) => void;
9846
+ readonly wasmfileextractionconfig_clearPageClassification: (a: number) => void;
9847
+ readonly wasmfileextractionconfig_clearPages: (a: number) => void;
9848
+ readonly wasmfileextractionconfig_clearPdfOptions: (a: number) => void;
9849
+ readonly wasmfileextractionconfig_clearPostprocessor: (a: number) => void;
9850
+ readonly wasmfileextractionconfig_clearRedaction: (a: number) => void;
9851
+ readonly wasmfileextractionconfig_clearStructuredExtraction: (a: number) => void;
9852
+ readonly wasmfileextractionconfig_clearSummarization: (a: number) => void;
9853
+ readonly wasmfileextractionconfig_clearTokenReduction: (a: number) => void;
9854
+ readonly wasmfileextractionconfig_clearTranscription: (a: number) => void;
9855
+ readonly wasmfileextractionconfig_clearTranslation: (a: number) => void;
9856
+ readonly wasmfileextractionconfig_clearUrl: (a: number) => void;
9171
9857
  readonly wasmfileextractionconfig_contentFilter: (a: number) => number;
9172
9858
  readonly wasmfileextractionconfig_default: () => number;
9173
9859
  readonly wasmfileextractionconfig_disableOcr: (a: number) => number;
@@ -9263,6 +9949,7 @@ export interface InitOutput {
9263
9949
  readonly wasmformattedblock_attributes: (a: number) => number;
9264
9950
  readonly wasmformattedblock_blockType: (a: number) => [number, number];
9265
9951
  readonly wasmformattedblock_children: (a: number) => [number, number];
9952
+ readonly wasmformattedblock_clearAttributes: (a: number) => void;
9266
9953
  readonly wasmformattedblock_code: (a: number) => [number, number];
9267
9954
  readonly wasmformattedblock_default: () => number;
9268
9955
  readonly wasmformattedblock_inlineContent: (a: number) => [number, number];
@@ -9277,6 +9964,7 @@ export interface InitOutput {
9277
9964
  readonly wasmformattedblock_set_language: (a: number, b: number, c: number) => void;
9278
9965
  readonly wasmformattedblock_set_level: (a: number, b: number) => void;
9279
9966
  readonly wasmformula_bbox: (a: number) => number;
9967
+ readonly wasmformula_clearBbox: (a: number) => void;
9280
9968
  readonly wasmformula_default: () => number;
9281
9969
  readonly wasmformula_latex: (a: number) => [number, number];
9282
9970
  readonly wasmformula_new: (a: number, b: number, c: number, d: number) => number;
@@ -9289,6 +9977,7 @@ export interface InitOutput {
9289
9977
  readonly wasmgeojsonextractionconfig_new: (a: number) => number;
9290
9978
  readonly wasmgeojsonextractionconfig_set_includeFullCoordinates: (a: number, b: number) => void;
9291
9979
  readonly wasmgridcell_bbox: (a: number) => number;
9980
+ readonly wasmgridcell_clearBbox: (a: number) => void;
9292
9981
  readonly wasmgridcell_col: (a: number) => number;
9293
9982
  readonly wasmgridcell_colSpan: (a: number) => number;
9294
9983
  readonly wasmgridcell_content: (a: number) => [number, number];
@@ -9356,6 +10045,7 @@ export interface InitOutput {
9356
10045
  readonly wasmheuristicsconfig_textLayerThreshold: (a: number) => number;
9357
10046
  readonly wasmheuristicsconfig_validate: (a: number) => [number, number];
9358
10047
  readonly wasmhierarchicalblock_bbox: (a: number) => number;
10048
+ readonly wasmhierarchicalblock_clearBbox: (a: number) => void;
9359
10049
  readonly wasmhierarchicalblock_default: () => number;
9360
10050
  readonly wasmhierarchicalblock_fontSize: (a: number) => number;
9361
10051
  readonly wasmhierarchicalblock_level: (a: number) => [number, number];
@@ -9491,6 +10181,7 @@ export interface InitOutput {
9491
10181
  readonly wasmimagemetadata_width: (a: number) => number;
9492
10182
  readonly wasmimagemetadatatype_alt: (a: number) => [number, number];
9493
10183
  readonly wasmimagemetadatatype_attributes: (a: number) => [number, number];
10184
+ readonly wasmimagemetadatatype_clearDimensions: (a: number) => void;
9494
10185
  readonly wasmimagemetadatatype_default: () => number;
9495
10186
  readonly wasmimagemetadatatype_dimensions: (a: number) => number;
9496
10187
  readonly wasmimagemetadatatype_imageType: (a: number) => [number, number];
@@ -9516,17 +10207,20 @@ export interface InitOutput {
9516
10207
  readonly wasmimagepreprocessingconfig_denoise: (a: number) => number;
9517
10208
  readonly wasmimagepreprocessingconfig_deskew: (a: number) => number;
9518
10209
  readonly wasmimagepreprocessingconfig_invertColors: (a: number) => number;
9519
- readonly wasmimagepreprocessingconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
10210
+ readonly wasmimagepreprocessingconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
10211
+ readonly wasmimagepreprocessingconfig_normalizeShadedRows: (a: number) => number;
9520
10212
  readonly wasmimagepreprocessingconfig_set_autoRotate: (a: number, b: number) => void;
9521
10213
  readonly wasmimagepreprocessingconfig_set_binarizationMethod: (a: number, b: number, c: number) => void;
9522
10214
  readonly wasmimagepreprocessingconfig_set_contrastEnhance: (a: number, b: number) => void;
9523
10215
  readonly wasmimagepreprocessingconfig_set_denoise: (a: number, b: number) => void;
9524
10216
  readonly wasmimagepreprocessingconfig_set_deskew: (a: number, b: number) => void;
9525
10217
  readonly wasmimagepreprocessingconfig_set_invertColors: (a: number, b: number) => void;
10218
+ readonly wasmimagepreprocessingconfig_set_normalizeShadedRows: (a: number, b: number) => void;
9526
10219
  readonly wasmimagepreprocessingconfig_set_targetDpi: (a: number, b: number) => void;
9527
10220
  readonly wasmimagepreprocessingconfig_targetDpi: (a: number) => number;
9528
10221
  readonly wasmimagepreprocessingmetadata_autoAdjusted: (a: number) => number;
9529
10222
  readonly wasmimagepreprocessingmetadata_calculatedDpi: (a: number) => number;
10223
+ readonly wasmimagepreprocessingmetadata_clearNewDimensions: (a: number) => void;
9530
10224
  readonly wasmimagepreprocessingmetadata_default: () => number;
9531
10225
  readonly wasmimagepreprocessingmetadata_dimensionClamped: (a: number) => number;
9532
10226
  readonly wasmimagepreprocessingmetadata_finalDpi: (a: number) => number;
@@ -9552,6 +10246,7 @@ export interface InitOutput {
9552
10246
  readonly wasmimagepreprocessingmetadata_skippedResize: (a: number) => number;
9553
10247
  readonly wasmimagepreprocessingmetadata_targetDpi: (a: number) => number;
9554
10248
  readonly wasminlineelement_attributes: (a: number) => number;
10249
+ readonly wasminlineelement_clearAttributes: (a: number) => void;
9555
10250
  readonly wasminlineelement_content: (a: number) => [number, number];
9556
10251
  readonly wasminlineelement_default: () => number;
9557
10252
  readonly wasminlineelement_elementType: (a: number) => [number, number];
@@ -9588,6 +10283,8 @@ export interface InitOutput {
9588
10283
  readonly wasmkeyword_set_text: (a: number, b: number, c: number) => void;
9589
10284
  readonly wasmkeyword_text: (a: number) => [number, number];
9590
10285
  readonly wasmkeywordconfig_algorithm: (a: number) => [number, number];
10286
+ readonly wasmkeywordconfig_clearRakeParams: (a: number) => void;
10287
+ readonly wasmkeywordconfig_clearYakeParams: (a: number) => void;
9591
10288
  readonly wasmkeywordconfig_default: () => number;
9592
10289
  readonly wasmkeywordconfig_language: (a: number) => [number, number];
9593
10290
  readonly wasmkeywordconfig_maxKeywords: (a: number) => number;
@@ -9626,6 +10323,7 @@ export interface InitOutput {
9626
10323
  readonly wasmlateinteractionconfig_acceleration: (a: number) => number;
9627
10324
  readonly wasmlateinteractionconfig_batchSize: (a: number) => number;
9628
10325
  readonly wasmlateinteractionconfig_cacheDir: (a: number) => [number, number];
10326
+ readonly wasmlateinteractionconfig_clearAcceleration: (a: number) => void;
9629
10327
  readonly wasmlateinteractionconfig_default: () => number;
9630
10328
  readonly wasmlateinteractionconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
9631
10329
  readonly wasmlateinteractionconfig_maxLength: (a: number) => number;
@@ -9689,6 +10387,7 @@ export interface InitOutput {
9689
10387
  readonly wasmlayoutdetection_set_confidence: (a: number, b: number) => void;
9690
10388
  readonly wasmlayoutdetectionconfig_acceleration: (a: number) => number;
9691
10389
  readonly wasmlayoutdetectionconfig_applyHeuristics: (a: number) => number;
10390
+ readonly wasmlayoutdetectionconfig_clearAcceleration: (a: number) => void;
9692
10391
  readonly wasmlayoutdetectionconfig_confidenceThreshold: (a: number) => number;
9693
10392
  readonly wasmlayoutdetectionconfig_default: () => number;
9694
10393
  readonly wasmlayoutdetectionconfig_enableChartUnderstanding: (a: number) => number;
@@ -9752,6 +10451,10 @@ export interface InitOutput {
9752
10451
  readonly wasmllmconfig_bedrock: (a: number) => number;
9753
10452
  readonly wasmllmconfig_budget: (a: number) => number;
9754
10453
  readonly wasmllmconfig_cache: (a: number) => number;
10454
+ readonly wasmllmconfig_clearBedrock: (a: number) => void;
10455
+ readonly wasmllmconfig_clearBudget: (a: number) => void;
10456
+ readonly wasmllmconfig_clearCache: (a: number) => void;
10457
+ readonly wasmllmconfig_clearRateLimit: (a: number) => void;
9755
10458
  readonly wasmllmconfig_cooldownSecs: (a: number) => [number, bigint];
9756
10459
  readonly wasmllmconfig_costTracking: (a: number) => number;
9757
10460
  readonly wasmllmconfig_credentialProvider: (a: number) => any;
@@ -9860,6 +10563,9 @@ export interface InitOutput {
9860
10563
  readonly wasmmetadata_additional: (a: number) => any;
9861
10564
  readonly wasmmetadata_authors: (a: number) => [number, number];
9862
10565
  readonly wasmmetadata_category: (a: number) => [number, number];
10566
+ readonly wasmmetadata_clearError: (a: number) => void;
10567
+ readonly wasmmetadata_clearImagePreprocessing: (a: number) => void;
10568
+ readonly wasmmetadata_clearPages: (a: number) => void;
9863
10569
  readonly wasmmetadata_createdAt: (a: number) => [number, number];
9864
10570
  readonly wasmmetadata_createdBy: (a: number) => [number, number];
9865
10571
  readonly wasmmetadata_default: () => number;
@@ -9938,6 +10644,7 @@ export interface InitOutput {
9938
10644
  readonly wasmmultivectorembedding_set_numTokens: (a: number, b: number) => void;
9939
10645
  readonly wasmnerconfig_backend: (a: number) => [number, number];
9940
10646
  readonly wasmnerconfig_categories: (a: number) => any;
10647
+ readonly wasmnerconfig_clearLlm: (a: number) => void;
9941
10648
  readonly wasmnerconfig_customLabels: (a: number) => [number, number];
9942
10649
  readonly wasmnerconfig_default: () => number;
9943
10650
  readonly wasmnerconfig_llm: (a: number) => number;
@@ -9972,6 +10679,7 @@ export interface InitOutput {
9972
10679
  readonly wasmnochunkingreason_threshold: (a: number) => number;
9973
10680
  readonly wasmnochunkingreason_thresholdBytes: (a: number) => [number, bigint];
9974
10681
  readonly wasmnochunkingreason_type: (a: number) => [number, number];
10682
+ readonly wasmnodecontent_clearGrid: (a: number) => void;
9975
10683
  readonly wasmnodecontent_content: (a: number) => [number, number];
9976
10684
  readonly wasmnodecontent_default: () => number;
9977
10685
  readonly wasmnodecontent_definition: (a: number) => [number, number];
@@ -10046,11 +10754,19 @@ export interface InitOutput {
10046
10754
  readonly wasmocrconfig_autoRotate: (a: number) => number;
10047
10755
  readonly wasmocrconfig_backend: (a: number) => [number, number];
10048
10756
  readonly wasmocrconfig_backendOptions: (a: number) => any;
10757
+ readonly wasmocrconfig_clearAcceleration: (a: number) => void;
10758
+ readonly wasmocrconfig_clearElementConfig: (a: number) => void;
10759
+ readonly wasmocrconfig_clearPipeline: (a: number) => void;
10760
+ readonly wasmocrconfig_clearQualityThresholds: (a: number) => void;
10761
+ readonly wasmocrconfig_clearSecurityLimits: (a: number) => void;
10762
+ readonly wasmocrconfig_clearTesseractConfig: (a: number) => void;
10763
+ readonly wasmocrconfig_clearVlmConfig: (a: number) => void;
10049
10764
  readonly wasmocrconfig_default: () => number;
10050
10765
  readonly wasmocrconfig_elementConfig: (a: number) => number;
10051
10766
  readonly wasmocrconfig_enabled: (a: number) => number;
10052
10767
  readonly wasmocrconfig_language: (a: number) => [number, number];
10053
- readonly wasmocrconfig_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) => number;
10768
+ readonly wasmocrconfig_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) => number;
10769
+ readonly wasmocrconfig_numericRepair: (a: number) => number;
10054
10770
  readonly wasmocrconfig_outputFormat: (a: number) => any;
10055
10771
  readonly wasmocrconfig_paddleOcrConfig: (a: number) => any;
10056
10772
  readonly wasmocrconfig_pipeline: (a: number) => number;
@@ -10063,6 +10779,7 @@ export interface InitOutput {
10063
10779
  readonly wasmocrconfig_set_elementConfig: (a: number, b: number) => void;
10064
10780
  readonly wasmocrconfig_set_enabled: (a: number, b: number) => void;
10065
10781
  readonly wasmocrconfig_set_language: (a: number, b: number, c: number) => void;
10782
+ readonly wasmocrconfig_set_numericRepair: (a: number, b: number) => void;
10066
10783
  readonly wasmocrconfig_set_outputFormat: (a: number, b: number) => void;
10067
10784
  readonly wasmocrconfig_set_paddleOcrConfig: (a: number, b: number) => void;
10068
10785
  readonly wasmocrconfig_set_pipeline: (a: number, b: number) => void;
@@ -10081,6 +10798,7 @@ export interface InitOutput {
10081
10798
  readonly wasmocrconfig_vlmFallback: (a: number) => any;
10082
10799
  readonly wasmocrconfig_vlmPrompt: (a: number) => [number, number];
10083
10800
  readonly wasmocrelement_backendMetadata: (a: number) => any;
10801
+ readonly wasmocrelement_clearRotation: (a: number) => void;
10084
10802
  readonly wasmocrelement_confidence: (a: number) => number;
10085
10803
  readonly wasmocrelement_default: () => number;
10086
10804
  readonly wasmocrelement_geometry: (a: number) => any;
@@ -10142,6 +10860,8 @@ export interface InitOutput {
10142
10860
  readonly wasmocrpipelineconfig_stages: (a: number) => [number, number];
10143
10861
  readonly wasmocrpipelinestage_backend: (a: number) => [number, number];
10144
10862
  readonly wasmocrpipelinestage_backendOptions: (a: number) => any;
10863
+ readonly wasmocrpipelinestage_clearTesseractConfig: (a: number) => void;
10864
+ readonly wasmocrpipelinestage_clearVlmConfig: (a: number) => void;
10145
10865
  readonly wasmocrpipelinestage_default: () => number;
10146
10866
  readonly wasmocrpipelinestage_language: (a: number) => [number, number];
10147
10867
  readonly wasmocrpipelinestage_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
@@ -10230,6 +10950,7 @@ export interface InitOutput {
10230
10950
  readonly wasmocrstrategy_set_mode: (a: number, b: number, c: number) => void;
10231
10951
  readonly wasmocrtable_boundingBox: (a: number) => number;
10232
10952
  readonly wasmocrtable_cells: (a: number) => any;
10953
+ readonly wasmocrtable_clearBoundingBox: (a: number) => void;
10233
10954
  readonly wasmocrtable_default: () => number;
10234
10955
  readonly wasmocrtable_markdown: (a: number) => [number, number];
10235
10956
  readonly wasmocrtable_new: (a: any, b: number, c: number, d: number, e: number) => number;
@@ -10328,6 +11049,9 @@ export interface InitOutput {
10328
11049
  readonly wasmpageconfig_set_extractPages: (a: number, b: number) => void;
10329
11050
  readonly wasmpageconfig_set_insertPageMarkers: (a: number, b: number) => void;
10330
11051
  readonly wasmpageconfig_set_markerFormat: (a: number, b: number, c: number) => void;
11052
+ readonly wasmpagecontent_clearHierarchy: (a: number) => void;
11053
+ readonly wasmpagecontent_clearImagePreprocessing: (a: number) => void;
11054
+ readonly wasmpagecontent_clearOcrConfidence: (a: number) => void;
10331
11055
  readonly wasmpagecontent_content: (a: number) => [number, number];
10332
11056
  readonly wasmpagecontent_default: () => number;
10333
11057
  readonly wasmpagecontent_hierarchy: (a: number) => number;
@@ -10366,6 +11090,7 @@ export interface InitOutput {
10366
11090
  readonly wasmpagehierarchy_new: (a: number, b: number, c: number) => number;
10367
11091
  readonly wasmpagehierarchy_set_blockCount: (a: number, b: number) => void;
10368
11092
  readonly wasmpagehierarchy_set_blocks: (a: number, b: number, c: number) => void;
11093
+ readonly wasmpageinfo_clearDimensions: (a: number) => void;
10369
11094
  readonly wasmpageinfo_default: () => number;
10370
11095
  readonly wasmpageinfo_dimensions: (a: number) => number;
10371
11096
  readonly wasmpageinfo_hasVectorGraphics: (a: number) => number;
@@ -10415,6 +11140,7 @@ export interface InitOutput {
10415
11140
  readonly wasmpagesignals_startsWithLetterheadLike: (a: number) => number;
10416
11141
  readonly wasmpagesignals_textExcerpt: (a: number) => [number, number];
10417
11142
  readonly wasmpagespan_bbox: (a: number) => number;
11143
+ readonly wasmpagespan_clearBbox: (a: number) => void;
10418
11144
  readonly wasmpagespan_default: () => number;
10419
11145
  readonly wasmpagespan_new: (a: number, b: number) => number;
10420
11146
  readonly wasmpagespan_page: (a: number) => number;
@@ -10443,6 +11169,7 @@ export interface InitOutput {
10443
11169
  readonly wasmpdfannotation_annotationType: (a: number) => [number, number];
10444
11170
  readonly wasmpdfannotation_author: (a: number) => [number, number];
10445
11171
  readonly wasmpdfannotation_boundingBox: (a: number) => number;
11172
+ readonly wasmpdfannotation_clearBoundingBox: (a: number) => void;
10446
11173
  readonly wasmpdfannotation_color: (a: number) => [number, number];
10447
11174
  readonly wasmpdfannotation_content: (a: number) => [number, number];
10448
11175
  readonly wasmpdfannotation_default: () => number;
@@ -10465,6 +11192,7 @@ export interface InitOutput {
10465
11192
  readonly wasmpdfconfig_allowSingleColumnTables: (a: number) => number;
10466
11193
  readonly wasmpdfconfig_backend: (a: number) => [number, number];
10467
11194
  readonly wasmpdfconfig_bottomMarginFraction: (a: number) => number;
11195
+ readonly wasmpdfconfig_clearHierarchy: (a: number) => void;
10468
11196
  readonly wasmpdfconfig_default: () => number;
10469
11197
  readonly wasmpdfconfig_extractAnnotations: (a: number) => number;
10470
11198
  readonly wasmpdfconfig_extractFormFields: (a: number) => number;
@@ -10492,6 +11220,7 @@ export interface InitOutput {
10492
11220
  readonly wasmpdfconfig_topMarginFraction: (a: number) => number;
10493
11221
  readonly wasmpdfconfig_validate: (a: number) => [number, number];
10494
11222
  readonly wasmpdfformfield_bbox: (a: number) => number;
11223
+ readonly wasmpdfformfield_clearBbox: (a: number) => void;
10495
11224
  readonly wasmpdfformfield_default: () => number;
10496
11225
  readonly wasmpdfformfield_defaultValue: (a: number) => [number, number];
10497
11226
  readonly wasmpdfformfield_fieldType: (a: number) => [number, number];
@@ -10595,6 +11324,8 @@ export interface InitOutput {
10595
11324
  readonly wasmpptxappproperties_slideTitles: (a: number) => [number, number];
10596
11325
  readonly wasmpptxappproperties_slides: (a: number) => number;
10597
11326
  readonly wasmpptxappproperties_totalTime: (a: number) => number;
11327
+ readonly wasmpptxextractionresult_clearDocument: (a: number) => void;
11328
+ readonly wasmpptxextractionresult_clearPageStructure: (a: number) => void;
10598
11329
  readonly wasmpptxextractionresult_content: (a: number) => [number, number];
10599
11330
  readonly wasmpptxextractionresult_default: () => number;
10600
11331
  readonly wasmpptxextractionresult_document: (a: number) => number;
@@ -10648,6 +11379,7 @@ export interface InitOutput {
10648
11379
  readonly wasmpresentationhyperlink_set_url: (a: number, b: number, c: number) => void;
10649
11380
  readonly wasmpresentationhyperlink_url: (a: number) => [number, number];
10650
11381
  readonly wasmpreset_category: (a: number) => [number, number];
11382
+ readonly wasmpreset_clearSample: (a: number) => void;
10651
11383
  readonly wasmpreset_contextTemplate: (a: number) => [number, number];
10652
11384
  readonly wasmpreset_default: () => number;
10653
11385
  readonly wasmpreset_description: (a: number) => [number, number];
@@ -10740,6 +11472,7 @@ export interface InitOutput {
10740
11472
  readonly wasmqrboundingbox_x: (a: number) => number;
10741
11473
  readonly wasmqrboundingbox_y: (a: number) => number;
10742
11474
  readonly wasmqrcode_bbox: (a: number) => number;
11475
+ readonly wasmqrcode_clearBbox: (a: number) => void;
10743
11476
  readonly wasmqrcode_confidence: (a: number) => number;
10744
11477
  readonly wasmqrcode_default: () => number;
10745
11478
  readonly wasmqrcode_new: (a: number, b: number, c: number, d: number) => number;
@@ -10762,6 +11495,7 @@ export interface InitOutput {
10762
11495
  readonly wasmrecognizedtable_set_detectionBbox: (a: number, b: number) => void;
10763
11496
  readonly wasmrecognizedtable_set_markdown: (a: number, b: number, c: number) => void;
10764
11497
  readonly wasmredactionconfig_categories: (a: number) => any;
11498
+ readonly wasmredactionconfig_clearNer: (a: number) => void;
10765
11499
  readonly wasmredactionconfig_customPatterns: (a: number) => [number, number];
10766
11500
  readonly wasmredactionconfig_customTerms: (a: number) => [number, number];
10767
11501
  readonly wasmredactionconfig_default: () => number;
@@ -10832,6 +11566,7 @@ export interface InitOutput {
10832
11566
  readonly wasmrerankerconfig_acceleration: (a: number) => number;
10833
11567
  readonly wasmrerankerconfig_batchSize: (a: number) => number;
10834
11568
  readonly wasmrerankerconfig_cacheDir: (a: number) => [number, number];
11569
+ readonly wasmrerankerconfig_clearAcceleration: (a: number) => void;
10835
11570
  readonly wasmrerankerconfig_default: () => number;
10836
11571
  readonly wasmrerankerconfig_maxRerankDurationSecs: (a: number) => [number, bigint];
10837
11572
  readonly wasmrerankerconfig_model: (a: number) => any;
@@ -10846,6 +11581,7 @@ export interface InitOutput {
10846
11581
  readonly wasmrerankerconfig_showDownloadProgress: (a: number) => number;
10847
11582
  readonly wasmrerankerconfig_topK: (a: number) => number;
10848
11583
  readonly wasmrerankermodeltype_additionalFiles: (a: number) => [number, number];
11584
+ readonly wasmrerankermodeltype_clearLlm: (a: number) => void;
10849
11585
  readonly wasmrerankermodeltype_default: () => number;
10850
11586
  readonly wasmrerankermodeltype_head: (a: number) => number;
10851
11587
  readonly wasmrerankermodeltype_llm: (a: number) => number;
@@ -10946,6 +11682,7 @@ export interface InitOutput {
10946
11682
  readonly wasmsparseembeddingconfig_acceleration: (a: number) => number;
10947
11683
  readonly wasmsparseembeddingconfig_batchSize: (a: number) => number;
10948
11684
  readonly wasmsparseembeddingconfig_cacheDir: (a: number) => [number, number];
11685
+ readonly wasmsparseembeddingconfig_clearAcceleration: (a: number) => void;
10949
11686
  readonly wasmsparseembeddingconfig_default: () => number;
10950
11687
  readonly wasmsparseembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
10951
11688
  readonly wasmsparseembeddingconfig_maxLength: (a: number) => number;
@@ -10983,7 +11720,6 @@ export interface InitOutput {
10983
11720
  readonly wasmsparseembeddingpreset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => number;
10984
11721
  readonly wasmsparseembeddingpreset_set_additionalFiles: (a: number, b: number, c: number) => void;
10985
11722
  readonly wasmsparseembeddingpreset_set_description: (a: number, b: number, c: number) => void;
10986
- readonly wasmsparseembeddingpreset_set_maxLength: (a: number, b: number) => void;
10987
11723
  readonly qcms_profile_precache_output_transform: (a: number) => void;
10988
11724
  readonly lut_inverse_interp16: (a: number, b: number, c: number) => number;
10989
11725
  readonly lut_interp_linear16: (a: number, b: number, c: number) => number;
@@ -10996,9 +11732,10 @@ export interface InitOutput {
10996
11732
  readonly qcms_transform_data_bgra_out_lut_precache: (a: number, b: number, c: number, d: number) => void;
10997
11733
  readonly qcms_profile_is_bogus: (a: number) => number;
10998
11734
  readonly qcms_transform_release: (a: number) => void;
11735
+ readonly wasmsparseembeddingpreset_set_maxLength: (a: number, b: number) => void;
10999
11736
  readonly wasmsparseembeddingpreset_set_modelFile: (a: number, b: number, c: number) => void;
11000
- readonly wasmsparseembeddingpreset_set_modelRepo: (a: number, b: number, c: number) => void;
11001
11737
  readonly __cxa_atexit: (a: number, b: number, c: number) => number;
11738
+ readonly wasmsparseembeddingpreset_set_modelRepo: (a: number, b: number, c: number) => void;
11002
11739
  readonly wasmsparseembeddingpreset_set_name: (a: number, b: number, c: number) => void;
11003
11740
  readonly wasmssrfpolicy_allowlist: (a: number) => any;
11004
11741
  readonly wasmssrfpolicy_default: () => number;
@@ -11047,6 +11784,7 @@ export interface InitOutput {
11047
11784
  readonly wasmstructuredextractionconfig_set_schemaName: (a: number, b: number, c: number) => void;
11048
11785
  readonly wasmstructuredextractionconfig_set_strict: (a: number, b: number) => void;
11049
11786
  readonly wasmstructuredextractionconfig_strict: (a: number) => number;
11787
+ readonly wasmsummarizationconfig_clearLlm: (a: number) => void;
11050
11788
  readonly wasmsummarizationconfig_default: () => number;
11051
11789
  readonly wasmsummarizationconfig_llm: (a: number) => number;
11052
11790
  readonly wasmsummarizationconfig_maxTokens: (a: number) => number;
@@ -11070,6 +11808,7 @@ export interface InitOutput {
11070
11808
  readonly wasmtable_boundingBox: (a: number) => number;
11071
11809
  readonly wasmtable_cellStyles: (a: number) => [number, number];
11072
11810
  readonly wasmtable_cells: (a: number) => any;
11811
+ readonly wasmtable_clearBoundingBox: (a: number) => void;
11073
11812
  readonly wasmtable_columns: (a: number) => [number, number];
11074
11813
  readonly wasmtable_default: () => number;
11075
11814
  readonly wasmtable_markdown: (a: number) => [number, number];
@@ -11112,6 +11851,7 @@ export interface InitOutput {
11112
11851
  readonly wasmtablegrid_set_cols: (a: number, b: number) => void;
11113
11852
  readonly wasmtablegrid_set_rows: (a: number, b: number) => void;
11114
11853
  readonly wasmtesseractconfig_classifyUsePreAdaptedTemplates: (a: number) => number;
11854
+ readonly wasmtesseractconfig_clearPreprocessing: (a: number) => void;
11115
11855
  readonly wasmtesseractconfig_default: () => number;
11116
11856
  readonly wasmtesseractconfig_enableTableDetection: (a: number) => number;
11117
11857
  readonly wasmtesseractconfig_language: (a: number) => [number, number];
@@ -11352,9 +12092,9 @@ export interface InitOutput {
11352
12092
  readonly xbergengine_new: (a: any, b: any) => [number, number, number];
11353
12093
  readonly qcms_enable_iccv4: () => void;
11354
12094
  readonly xbergengine_ocr: (a: number, b: number, c: number, d: any) => any;
11355
- readonly wasm_bindgen__convert__closures_____invoke__h1752b33118c61bf6: (a: number, b: number, c: any, d: any) => void;
11356
- readonly wasm_bindgen__convert__closures_____invoke__h58dcb4b03347de73: (a: number, b: number, c: any) => [number, number];
11357
- readonly wasm_bindgen__convert__closures_____invoke__hc0b53db039d89c01: (a: number, b: number) => void;
12095
+ readonly wasm_bindgen__convert__closures_____invoke__h1e71e1507830a137: (a: number, b: number, c: any, d: any) => void;
12096
+ readonly wasm_bindgen__convert__closures_____invoke__hb42d2252c7df56c6: (a: number, b: number, c: any) => [number, number];
12097
+ readonly wasm_bindgen__convert__closures_____invoke__h7c1c008dc47b2d95: (a: number, b: number) => void;
11358
12098
  readonly __wbindgen_malloc_command_export: (a: number, b: number) => number;
11359
12099
  readonly __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
11360
12100
  readonly __wbindgen_exn_store_command_export: (a: number) => void;