@xberg-io/xberg-wasm 1.2.8 → 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.
- package/package.json +1 -1
- package/pkg/web/package.json +1 -1
- package/pkg/web/xberg_wasm.d.ts +920 -157
- package/pkg/web/xberg_wasm.js +1650 -1213
- package/pkg/web/xberg_wasm_bg.wasm +2 -2
- package/pkg/web/xberg_wasm_bg.wasm.d.ts +176 -12
package/pkg/web/xberg_wasm.d.ts
CHANGED
|
@@ -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
|
|
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
|
-
|
|
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
|
|
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
|
|
783
|
+
set lateInteraction(value: WasmMultiVectorEmbedding);
|
|
755
784
|
metadata: WasmChunkMetadata;
|
|
756
785
|
get sparseEmbedding(): WasmSparseEmbedding | undefined;
|
|
757
|
-
set sparseEmbedding(value: WasmSparseEmbedding
|
|
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
|
|
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
|
|
990
|
+
set embedding(value: WasmEmbeddingConfig);
|
|
944
991
|
get lateInteraction(): WasmLateInteractionConfig | undefined;
|
|
945
|
-
set lateInteraction(value: WasmLateInteractionConfig
|
|
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
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
2018
|
+
set appProperties(value: WasmDocxAppProperties);
|
|
1891
2019
|
get coreProperties(): WasmCoreProperties | undefined;
|
|
1892
|
-
set coreProperties(value: WasmCoreProperties
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
2480
|
+
set djotContent(value: WasmDjotContent);
|
|
2315
2481
|
get document(): WasmDocumentStructure | undefined;
|
|
2316
|
-
set document(value: WasmDocumentStructure
|
|
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
|
|
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
|
|
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
|
|
2517
|
+
set summary(value: WasmDocumentSummary);
|
|
2352
2518
|
tables: WasmTable[];
|
|
2353
2519
|
get translation(): WasmTranslation | undefined;
|
|
2354
|
-
set translation(value: WasmTranslation
|
|
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
|
|
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
|
|
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,17 +2730,35 @@ export class WasmExtractionConfig {
|
|
|
2527
2730
|
* image I/O and processing when results won't be used.
|
|
2528
2731
|
*/
|
|
2529
2732
|
needsImageProcessing(): boolean;
|
|
2530
|
-
|
|
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
|
+
*/
|
|
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.
|
|
2533
2743
|
*
|
|
2534
|
-
* This
|
|
2535
|
-
* `image_ocr.process_images_with_ocr`
|
|
2536
|
-
*
|
|
2537
|
-
*
|
|
2538
|
-
*
|
|
2539
|
-
*
|
|
2540
|
-
*
|
|
2744
|
+
* This is THE condition -- `core/pipeline/mod.rs` and
|
|
2745
|
+
* `extraction.image_ocr.process_images_with_ocr` both call this method rather than
|
|
2746
|
+
* re-deriving it, because when two copies of it drifted apart a container extractor
|
|
2747
|
+
* asked `needs_image_data` and was told no, so it attached an image with an empty
|
|
2748
|
+
* buffer, and the OCR path then ran on those zero bytes and reported `Could not
|
|
2749
|
+
* determine image format` (GH#1662). A re-derived copy anywhere reopens that defect;
|
|
2750
|
+
* `embedded_image_ocr_gate_has_no_second_copy` in `core/pipeline/tests.rs` fails if
|
|
2751
|
+
* one appears.
|
|
2752
|
+
*
|
|
2753
|
+
* `Self.ocr_embedded_images` is the caller's explicit answer to the OCR half;
|
|
2754
|
+
* `None` derives it from whether an `ocr` block is present, which is what this
|
|
2755
|
+
* condition was before GH#1752 gave the behaviour a setting of its own.
|
|
2756
|
+
*
|
|
2757
|
+
* `disable_ocr` still wins regardless: it is documented as skipping OCR "for all
|
|
2758
|
+
* document types", and `ocr_embedded_images` (like the plain presence of an `ocr`
|
|
2759
|
+
* block before it) is an AUTOMATIC trigger, not an explicit request like `force_ocr` --
|
|
2760
|
+
* see `Self.effective_disable_ocr`'s callers elsewhere (`needs_image_processing`,
|
|
2761
|
+
* `extractors/image.rs`, `engine/extract_impl.rs`) for the same precedent.
|
|
2541
2762
|
*/
|
|
2542
2763
|
runsOcrOnEmbeddedImages(): boolean;
|
|
2543
2764
|
/**
|
|
@@ -2585,27 +2806,27 @@ export class WasmExtractionConfig {
|
|
|
2585
2806
|
*/
|
|
2586
2807
|
wantsOwnBytesInResult(): boolean;
|
|
2587
2808
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
2588
|
-
set acceleration(value: WasmAccelerationConfig
|
|
2809
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
2589
2810
|
applyNotebookCellTags: boolean;
|
|
2590
2811
|
get cacheNamespace(): string | undefined;
|
|
2591
2812
|
set cacheNamespace(value: string | null | undefined);
|
|
2592
2813
|
get cacheTtlSecs(): bigint | undefined;
|
|
2593
2814
|
set cacheTtlSecs(value: bigint | null | undefined);
|
|
2594
2815
|
get captioning(): WasmCaptioningConfig | undefined;
|
|
2595
|
-
set captioning(value: WasmCaptioningConfig
|
|
2816
|
+
set captioning(value: WasmCaptioningConfig);
|
|
2596
2817
|
get chunkClassification(): WasmChunkClassificationConfig | undefined;
|
|
2597
|
-
set chunkClassification(value: WasmChunkClassificationConfig
|
|
2818
|
+
set chunkClassification(value: WasmChunkClassificationConfig);
|
|
2598
2819
|
get chunking(): WasmChunkingConfig | undefined;
|
|
2599
|
-
set chunking(value: WasmChunkingConfig
|
|
2820
|
+
set chunking(value: WasmChunkingConfig);
|
|
2600
2821
|
get concurrency(): WasmConcurrencyConfig | undefined;
|
|
2601
|
-
set concurrency(value: WasmConcurrencyConfig
|
|
2822
|
+
set concurrency(value: WasmConcurrencyConfig);
|
|
2602
2823
|
get contentFilter(): WasmContentFilterConfig | undefined;
|
|
2603
|
-
set contentFilter(value: WasmContentFilterConfig
|
|
2824
|
+
set contentFilter(value: WasmContentFilterConfig);
|
|
2604
2825
|
get csv(): WasmCsvConfig | undefined;
|
|
2605
|
-
set csv(value: WasmCsvConfig
|
|
2826
|
+
set csv(value: WasmCsvConfig);
|
|
2606
2827
|
disableOcr: boolean;
|
|
2607
2828
|
get email(): WasmEmailConfig | undefined;
|
|
2608
|
-
set email(value: WasmEmailConfig
|
|
2829
|
+
set email(value: WasmEmailConfig);
|
|
2609
2830
|
enableQualityProcessing: boolean;
|
|
2610
2831
|
escapeMarkdown: boolean;
|
|
2611
2832
|
get extractionTimeoutSecs(): bigint | undefined;
|
|
@@ -2614,22 +2835,22 @@ export class WasmExtractionConfig {
|
|
|
2614
2835
|
set forceOcrPages(value: Uint32Array | null | undefined);
|
|
2615
2836
|
forceOcr: boolean;
|
|
2616
2837
|
get geojson(): WasmGeoJsonExtractionConfig | undefined;
|
|
2617
|
-
set geojson(value: WasmGeoJsonExtractionConfig
|
|
2838
|
+
set geojson(value: WasmGeoJsonExtractionConfig);
|
|
2618
2839
|
get htmlOptions(): WasmConversionOptions | undefined;
|
|
2619
|
-
set htmlOptions(value: WasmConversionOptions
|
|
2840
|
+
set htmlOptions(value: WasmConversionOptions);
|
|
2620
2841
|
get htmlOutput(): WasmHtmlOutputConfig | undefined;
|
|
2621
|
-
set htmlOutput(value: WasmHtmlOutputConfig
|
|
2842
|
+
set htmlOutput(value: WasmHtmlOutputConfig);
|
|
2622
2843
|
get images(): WasmImageExtractionConfig | undefined;
|
|
2623
|
-
set images(value: WasmImageExtractionConfig
|
|
2844
|
+
set images(value: WasmImageExtractionConfig);
|
|
2624
2845
|
includeDocumentStructure: boolean;
|
|
2625
2846
|
get jupyterCellRendering(): string;
|
|
2626
2847
|
set jupyterCellRendering(value: WasmJupyterCellRendering);
|
|
2627
2848
|
get keywords(): WasmKeywordConfig | undefined;
|
|
2628
|
-
set keywords(value: WasmKeywordConfig
|
|
2849
|
+
set keywords(value: WasmKeywordConfig);
|
|
2629
2850
|
get languageDetection(): WasmLanguageDetectionConfig | undefined;
|
|
2630
|
-
set languageDetection(value: WasmLanguageDetectionConfig
|
|
2851
|
+
set languageDetection(value: WasmLanguageDetectionConfig);
|
|
2631
2852
|
get layout(): WasmLayoutDetectionConfig | undefined;
|
|
2632
|
-
set layout(value: WasmLayoutDetectionConfig
|
|
2853
|
+
set layout(value: WasmLayoutDetectionConfig);
|
|
2633
2854
|
maxArchiveDepth: number;
|
|
2634
2855
|
get maxConcurrentExtractions(): number | undefined;
|
|
2635
2856
|
set maxConcurrentExtractions(value: number | null | undefined);
|
|
@@ -2638,38 +2859,44 @@ export class WasmExtractionConfig {
|
|
|
2638
2859
|
get mimeDetectionPolicy(): string;
|
|
2639
2860
|
set mimeDetectionPolicy(value: WasmMimeDetectionPolicy);
|
|
2640
2861
|
get ner(): WasmNerConfig | undefined;
|
|
2641
|
-
set ner(value: WasmNerConfig
|
|
2862
|
+
set ner(value: WasmNerConfig);
|
|
2863
|
+
get ocrEmbeddedImages(): boolean | undefined;
|
|
2864
|
+
set ocrEmbeddedImages(value: boolean | null | undefined);
|
|
2865
|
+
get ocrNearEmptyFallback(): boolean | undefined;
|
|
2866
|
+
set ocrNearEmptyFallback(value: boolean | null | undefined);
|
|
2867
|
+
get ocrScannedPageQualityGate(): boolean | undefined;
|
|
2868
|
+
set ocrScannedPageQualityGate(value: boolean | null | undefined);
|
|
2642
2869
|
ocrStrategy: any;
|
|
2643
2870
|
get ocr(): WasmOcrConfig | undefined;
|
|
2644
|
-
set ocr(value: WasmOcrConfig
|
|
2871
|
+
set ocr(value: WasmOcrConfig);
|
|
2645
2872
|
outputFormat: WasmOutputFormat;
|
|
2646
2873
|
get pageClassification(): WasmPageClassificationConfig | undefined;
|
|
2647
|
-
set pageClassification(value: WasmPageClassificationConfig
|
|
2874
|
+
set pageClassification(value: WasmPageClassificationConfig);
|
|
2648
2875
|
get pages(): WasmPageConfig | undefined;
|
|
2649
|
-
set pages(value: WasmPageConfig
|
|
2876
|
+
set pages(value: WasmPageConfig);
|
|
2650
2877
|
get pdfOptions(): WasmPdfConfig | undefined;
|
|
2651
|
-
set pdfOptions(value: WasmPdfConfig
|
|
2878
|
+
set pdfOptions(value: WasmPdfConfig);
|
|
2652
2879
|
get postprocessor(): WasmPostProcessorConfig | undefined;
|
|
2653
|
-
set postprocessor(value: WasmPostProcessorConfig
|
|
2880
|
+
set postprocessor(value: WasmPostProcessorConfig);
|
|
2654
2881
|
get qrCodes(): boolean | undefined;
|
|
2655
2882
|
set qrCodes(value: boolean | null | undefined);
|
|
2656
2883
|
get redaction(): WasmRedactionConfig | undefined;
|
|
2657
|
-
set redaction(value: WasmRedactionConfig
|
|
2884
|
+
set redaction(value: WasmRedactionConfig);
|
|
2658
2885
|
get resultFormat(): string;
|
|
2659
2886
|
set resultFormat(value: WasmResultFormat);
|
|
2660
2887
|
get securityLimits(): WasmSecurityLimits | undefined;
|
|
2661
|
-
set securityLimits(value: WasmSecurityLimits
|
|
2888
|
+
set securityLimits(value: WasmSecurityLimits);
|
|
2662
2889
|
get structuredExtraction(): WasmStructuredExtractionConfig | undefined;
|
|
2663
|
-
set structuredExtraction(value: WasmStructuredExtractionConfig
|
|
2890
|
+
set structuredExtraction(value: WasmStructuredExtractionConfig);
|
|
2664
2891
|
get summarization(): WasmSummarizationConfig | undefined;
|
|
2665
|
-
set summarization(value: WasmSummarizationConfig
|
|
2892
|
+
set summarization(value: WasmSummarizationConfig);
|
|
2666
2893
|
tableAnchors: boolean;
|
|
2667
2894
|
get tokenReduction(): WasmTokenReductionOptions | undefined;
|
|
2668
|
-
set tokenReduction(value: WasmTokenReductionOptions
|
|
2895
|
+
set tokenReduction(value: WasmTokenReductionOptions);
|
|
2669
2896
|
get transcription(): WasmTranscriptionConfig | undefined;
|
|
2670
|
-
set transcription(value: WasmTranscriptionConfig
|
|
2897
|
+
set transcription(value: WasmTranscriptionConfig);
|
|
2671
2898
|
get translation(): WasmTranslationConfig | undefined;
|
|
2672
|
-
set translation(value: WasmTranslationConfig
|
|
2899
|
+
set translation(value: WasmTranslationConfig);
|
|
2673
2900
|
url: WasmUrlExtractionConfig;
|
|
2674
2901
|
useCache: boolean;
|
|
2675
2902
|
useLayoutForMarkdown: boolean;
|
|
@@ -2706,6 +2933,13 @@ export class WasmExtractionResult {
|
|
|
2706
2933
|
free(): void;
|
|
2707
2934
|
[Symbol.dispose](): void;
|
|
2708
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
|
+
*/
|
|
2709
2943
|
constructor(results?: WasmExtractedDocument[] | null, errors?: WasmExtractionErrorItem[] | null, summary?: WasmExtractionSummary | null, crawlFinalUrls?: string[] | null, crawlRedirectCount?: number | null, crawlUniqueNormalizedUrls?: string[] | null);
|
|
2710
2944
|
/**
|
|
2711
2945
|
* Build an output containing one successful result.
|
|
@@ -2770,16 +3004,46 @@ export class WasmFictionBookMetadata {
|
|
|
2770
3004
|
export class WasmFileExtractionConfig {
|
|
2771
3005
|
free(): void;
|
|
2772
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;
|
|
2773
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
|
+
*/
|
|
2774
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);
|
|
2775
3039
|
get captioning(): WasmCaptioningConfig | undefined;
|
|
2776
|
-
set captioning(value: WasmCaptioningConfig
|
|
3040
|
+
set captioning(value: WasmCaptioningConfig);
|
|
2777
3041
|
get chunkClassification(): WasmChunkClassificationConfig | undefined;
|
|
2778
|
-
set chunkClassification(value: WasmChunkClassificationConfig
|
|
3042
|
+
set chunkClassification(value: WasmChunkClassificationConfig);
|
|
2779
3043
|
get chunking(): WasmChunkingConfig | undefined;
|
|
2780
|
-
set chunking(value: WasmChunkingConfig
|
|
3044
|
+
set chunking(value: WasmChunkingConfig);
|
|
2781
3045
|
get contentFilter(): WasmContentFilterConfig | undefined;
|
|
2782
|
-
set contentFilter(value: WasmContentFilterConfig
|
|
3046
|
+
set contentFilter(value: WasmContentFilterConfig);
|
|
2783
3047
|
get disableOcr(): boolean | undefined;
|
|
2784
3048
|
set disableOcr(value: boolean | null | undefined);
|
|
2785
3049
|
get enableQualityProcessing(): boolean | undefined;
|
|
@@ -2789,57 +3053,57 @@ export class WasmFileExtractionConfig {
|
|
|
2789
3053
|
get forceOcr(): boolean | undefined;
|
|
2790
3054
|
set forceOcr(value: boolean | null | undefined);
|
|
2791
3055
|
get htmlOptions(): WasmConversionOptions | undefined;
|
|
2792
|
-
set htmlOptions(value: WasmConversionOptions
|
|
3056
|
+
set htmlOptions(value: WasmConversionOptions);
|
|
2793
3057
|
get htmlOutput(): WasmHtmlOutputConfig | undefined;
|
|
2794
|
-
set htmlOutput(value: WasmHtmlOutputConfig
|
|
3058
|
+
set htmlOutput(value: WasmHtmlOutputConfig);
|
|
2795
3059
|
get images(): WasmImageExtractionConfig | undefined;
|
|
2796
|
-
set images(value: WasmImageExtractionConfig
|
|
3060
|
+
set images(value: WasmImageExtractionConfig);
|
|
2797
3061
|
get includeDocumentStructure(): boolean | undefined;
|
|
2798
3062
|
set includeDocumentStructure(value: boolean | null | undefined);
|
|
2799
3063
|
get keywords(): WasmKeywordConfig | undefined;
|
|
2800
|
-
set keywords(value: WasmKeywordConfig
|
|
3064
|
+
set keywords(value: WasmKeywordConfig);
|
|
2801
3065
|
get languageDetection(): WasmLanguageDetectionConfig | undefined;
|
|
2802
|
-
set languageDetection(value: WasmLanguageDetectionConfig
|
|
3066
|
+
set languageDetection(value: WasmLanguageDetectionConfig);
|
|
2803
3067
|
get layout(): WasmLayoutDetectionConfig | undefined;
|
|
2804
|
-
set layout(value: WasmLayoutDetectionConfig
|
|
3068
|
+
set layout(value: WasmLayoutDetectionConfig);
|
|
2805
3069
|
get mimeDetectionPolicy(): string | undefined;
|
|
2806
3070
|
set mimeDetectionPolicy(value: WasmMimeDetectionPolicy | null | undefined);
|
|
2807
3071
|
get ner(): WasmNerConfig | undefined;
|
|
2808
|
-
set ner(value: WasmNerConfig
|
|
3072
|
+
set ner(value: WasmNerConfig);
|
|
2809
3073
|
get ocrStrategy(): any | undefined;
|
|
2810
3074
|
set ocrStrategy(value: any | null | undefined);
|
|
2811
3075
|
get ocr(): WasmOcrConfig | undefined;
|
|
2812
|
-
set ocr(value: WasmOcrConfig
|
|
3076
|
+
set ocr(value: WasmOcrConfig);
|
|
2813
3077
|
get outputFormat(): WasmOutputFormat | undefined;
|
|
2814
3078
|
set outputFormat(value: WasmOutputFormat | null | undefined);
|
|
2815
3079
|
get pageClassification(): WasmPageClassificationConfig | undefined;
|
|
2816
|
-
set pageClassification(value: WasmPageClassificationConfig
|
|
3080
|
+
set pageClassification(value: WasmPageClassificationConfig);
|
|
2817
3081
|
get pages(): WasmPageConfig | undefined;
|
|
2818
|
-
set pages(value: WasmPageConfig
|
|
3082
|
+
set pages(value: WasmPageConfig);
|
|
2819
3083
|
get pdfOptions(): WasmPdfConfig | undefined;
|
|
2820
|
-
set pdfOptions(value: WasmPdfConfig
|
|
3084
|
+
set pdfOptions(value: WasmPdfConfig);
|
|
2821
3085
|
get postprocessor(): WasmPostProcessorConfig | undefined;
|
|
2822
|
-
set postprocessor(value: WasmPostProcessorConfig
|
|
3086
|
+
set postprocessor(value: WasmPostProcessorConfig);
|
|
2823
3087
|
get qrCodes(): boolean | undefined;
|
|
2824
3088
|
set qrCodes(value: boolean | null | undefined);
|
|
2825
3089
|
get redaction(): WasmRedactionConfig | undefined;
|
|
2826
|
-
set redaction(value: WasmRedactionConfig
|
|
3090
|
+
set redaction(value: WasmRedactionConfig);
|
|
2827
3091
|
get resultFormat(): string | undefined;
|
|
2828
3092
|
set resultFormat(value: WasmResultFormat | null | undefined);
|
|
2829
3093
|
get structuredExtraction(): WasmStructuredExtractionConfig | undefined;
|
|
2830
|
-
set structuredExtraction(value: WasmStructuredExtractionConfig
|
|
3094
|
+
set structuredExtraction(value: WasmStructuredExtractionConfig);
|
|
2831
3095
|
get summarization(): WasmSummarizationConfig | undefined;
|
|
2832
|
-
set summarization(value: WasmSummarizationConfig
|
|
3096
|
+
set summarization(value: WasmSummarizationConfig);
|
|
2833
3097
|
get timeoutSecs(): bigint | undefined;
|
|
2834
3098
|
set timeoutSecs(value: bigint | null | undefined);
|
|
2835
3099
|
get tokenReduction(): WasmTokenReductionOptions | undefined;
|
|
2836
|
-
set tokenReduction(value: WasmTokenReductionOptions
|
|
3100
|
+
set tokenReduction(value: WasmTokenReductionOptions);
|
|
2837
3101
|
get transcription(): WasmTranscriptionConfig | undefined;
|
|
2838
|
-
set transcription(value: WasmTranscriptionConfig
|
|
3102
|
+
set transcription(value: WasmTranscriptionConfig);
|
|
2839
3103
|
get translation(): WasmTranslationConfig | undefined;
|
|
2840
|
-
set translation(value: WasmTranslationConfig
|
|
3104
|
+
set translation(value: WasmTranslationConfig);
|
|
2841
3105
|
get url(): WasmUrlExtractionConfig | undefined;
|
|
2842
|
-
set url(value: WasmUrlExtractionConfig
|
|
3106
|
+
set url(value: WasmUrlExtractionConfig);
|
|
2843
3107
|
}
|
|
2844
3108
|
|
|
2845
3109
|
/**
|
|
@@ -2922,10 +3186,18 @@ export enum WasmFormFieldType {
|
|
|
2922
3186
|
export class WasmFormattedBlock {
|
|
2923
3187
|
free(): void;
|
|
2924
3188
|
[Symbol.dispose](): void;
|
|
3189
|
+
clearAttributes(): void;
|
|
2925
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
|
+
*/
|
|
2926
3198
|
constructor(blockType: WasmBlockType, inlineContent: WasmInlineElement[], children: WasmFormattedBlock[], level?: number | null, attributes?: WasmAttributes | null, language?: string | null, code?: string | null);
|
|
2927
3199
|
get attributes(): WasmAttributes | undefined;
|
|
2928
|
-
set attributes(value: WasmAttributes
|
|
3200
|
+
set attributes(value: WasmAttributes);
|
|
2929
3201
|
get blockType(): string;
|
|
2930
3202
|
set blockType(value: WasmBlockType);
|
|
2931
3203
|
children: WasmFormattedBlock[];
|
|
@@ -2951,10 +3223,18 @@ export class WasmFormattedBlock {
|
|
|
2951
3223
|
export class WasmFormula {
|
|
2952
3224
|
free(): void;
|
|
2953
3225
|
[Symbol.dispose](): void;
|
|
3226
|
+
clearBbox(): void;
|
|
2954
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
|
+
*/
|
|
2955
3235
|
constructor(latex: string, bbox?: WasmBoundingBox | null, page?: number | null);
|
|
2956
3236
|
get bbox(): WasmBoundingBox | undefined;
|
|
2957
|
-
set bbox(value: WasmBoundingBox
|
|
3237
|
+
set bbox(value: WasmBoundingBox);
|
|
2958
3238
|
latex: string;
|
|
2959
3239
|
get page(): number | undefined;
|
|
2960
3240
|
set page(value: number | null | undefined);
|
|
@@ -2989,10 +3269,18 @@ export class WasmGeoJsonExtractionConfig {
|
|
|
2989
3269
|
export class WasmGridCell {
|
|
2990
3270
|
free(): void;
|
|
2991
3271
|
[Symbol.dispose](): void;
|
|
3272
|
+
clearBbox(): void;
|
|
2992
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
|
+
*/
|
|
2993
3281
|
constructor(content: string, row: number, col: number, rowSpan: number, colSpan: number, isHeader: boolean, bbox?: WasmBoundingBox | null, headingLevel?: number | null, styleName?: string | null);
|
|
2994
3282
|
get bbox(): WasmBoundingBox | undefined;
|
|
2995
|
-
set bbox(value: WasmBoundingBox
|
|
3283
|
+
set bbox(value: WasmBoundingBox);
|
|
2996
3284
|
colSpan: number;
|
|
2997
3285
|
col: number;
|
|
2998
3286
|
content: string;
|
|
@@ -3095,10 +3383,18 @@ export class WasmHeuristicsConfig {
|
|
|
3095
3383
|
export class WasmHierarchicalBlock {
|
|
3096
3384
|
free(): void;
|
|
3097
3385
|
[Symbol.dispose](): void;
|
|
3386
|
+
clearBbox(): void;
|
|
3098
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
|
+
*/
|
|
3099
3395
|
constructor(text: string, fontSize: number, level: string, bbox?: WasmHierarchicalBoundingBox | null);
|
|
3100
3396
|
get bbox(): WasmHierarchicalBoundingBox | undefined;
|
|
3101
|
-
set bbox(value: WasmHierarchicalBoundingBox
|
|
3397
|
+
set bbox(value: WasmHierarchicalBoundingBox);
|
|
3102
3398
|
fontSize: number;
|
|
3103
3399
|
level: string;
|
|
3104
3400
|
text: string;
|
|
@@ -3290,6 +3586,13 @@ export class WasmImageExtractionConfig {
|
|
|
3290
3586
|
free(): void;
|
|
3291
3587
|
[Symbol.dispose](): void;
|
|
3292
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
|
+
*/
|
|
3293
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);
|
|
3294
3597
|
appendOcrText: boolean;
|
|
3295
3598
|
autoAdjustDpi: boolean;
|
|
@@ -3350,13 +3653,21 @@ export class WasmImageMetadata {
|
|
|
3350
3653
|
export class WasmImageMetadataType {
|
|
3351
3654
|
free(): void;
|
|
3352
3655
|
[Symbol.dispose](): void;
|
|
3656
|
+
clearDimensions(): void;
|
|
3353
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
|
+
*/
|
|
3354
3665
|
constructor(src: string, imageType: WasmImageType, attributes: WasmKeyValueAttribute[], alt?: string | null, title?: string | null, dimensions?: WasmImageDimensions | null);
|
|
3355
3666
|
get alt(): string | undefined;
|
|
3356
3667
|
set alt(value: string | null | undefined);
|
|
3357
3668
|
attributes: WasmKeyValueAttribute[];
|
|
3358
3669
|
get dimensions(): WasmImageDimensions | undefined;
|
|
3359
|
-
set dimensions(value: WasmImageDimensions
|
|
3670
|
+
set dimensions(value: WasmImageDimensions);
|
|
3360
3671
|
get imageType(): string;
|
|
3361
3672
|
set imageType(value: WasmImageType);
|
|
3362
3673
|
src: string;
|
|
@@ -3402,20 +3713,29 @@ export class WasmImagePreprocessingConfig {
|
|
|
3402
3713
|
free(): void;
|
|
3403
3714
|
[Symbol.dispose](): void;
|
|
3404
3715
|
static default(): WasmImagePreprocessingConfig;
|
|
3405
|
-
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);
|
|
3406
3717
|
autoRotate: boolean;
|
|
3407
3718
|
binarizationMethod: string;
|
|
3408
3719
|
contrastEnhance: boolean;
|
|
3409
3720
|
denoise: boolean;
|
|
3410
3721
|
deskew: boolean;
|
|
3411
3722
|
invertColors: boolean;
|
|
3723
|
+
normalizeShadedRows: boolean;
|
|
3412
3724
|
targetDpi: number;
|
|
3413
3725
|
}
|
|
3414
3726
|
|
|
3415
3727
|
export class WasmImagePreprocessingMetadata {
|
|
3416
3728
|
free(): void;
|
|
3417
3729
|
[Symbol.dispose](): void;
|
|
3730
|
+
clearNewDimensions(): void;
|
|
3418
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
|
+
*/
|
|
3419
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);
|
|
3420
3740
|
autoAdjusted: boolean;
|
|
3421
3741
|
get calculatedDpi(): number | undefined;
|
|
@@ -3423,7 +3743,7 @@ export class WasmImagePreprocessingMetadata {
|
|
|
3423
3743
|
dimensionClamped: boolean;
|
|
3424
3744
|
finalDpi: number;
|
|
3425
3745
|
get newDimensions(): WasmPixelDimensions | undefined;
|
|
3426
|
-
set newDimensions(value: WasmPixelDimensions
|
|
3746
|
+
set newDimensions(value: WasmPixelDimensions);
|
|
3427
3747
|
originalDimensions: WasmPixelDimensions;
|
|
3428
3748
|
originalDpi: WasmImageDpi;
|
|
3429
3749
|
resampleMethod: string;
|
|
@@ -3452,10 +3772,18 @@ export enum WasmImageType {
|
|
|
3452
3772
|
export class WasmInlineElement {
|
|
3453
3773
|
free(): void;
|
|
3454
3774
|
[Symbol.dispose](): void;
|
|
3775
|
+
clearAttributes(): void;
|
|
3455
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
|
+
*/
|
|
3456
3784
|
constructor(elementType: WasmInlineType, content: string, attributes?: WasmAttributes | null, metadata?: any | null);
|
|
3457
3785
|
get attributes(): WasmAttributes | undefined;
|
|
3458
|
-
set attributes(value: WasmAttributes
|
|
3786
|
+
set attributes(value: WasmAttributes);
|
|
3459
3787
|
content: string;
|
|
3460
3788
|
get elementType(): string;
|
|
3461
3789
|
set elementType(value: WasmInlineType);
|
|
@@ -3562,7 +3890,16 @@ export enum WasmKeywordAlgorithm {
|
|
|
3562
3890
|
export class WasmKeywordConfig {
|
|
3563
3891
|
free(): void;
|
|
3564
3892
|
[Symbol.dispose](): void;
|
|
3893
|
+
clearRakeParams(): void;
|
|
3894
|
+
clearYakeParams(): void;
|
|
3565
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
|
+
*/
|
|
3566
3903
|
constructor(algorithm?: WasmKeywordAlgorithm | null, maxKeywords?: number | null, minScore?: number | null, ngramRange?: WasmNgramRange | null, language?: string | null, yakeParams?: WasmYakeParams | null, rakeParams?: WasmRakeParams | null);
|
|
3567
3904
|
get algorithm(): string;
|
|
3568
3905
|
set algorithm(value: WasmKeywordAlgorithm);
|
|
@@ -3572,9 +3909,9 @@ export class WasmKeywordConfig {
|
|
|
3572
3909
|
minScore: number;
|
|
3573
3910
|
ngramRange: WasmNgramRange;
|
|
3574
3911
|
get rakeParams(): WasmRakeParams | undefined;
|
|
3575
|
-
set rakeParams(value: WasmRakeParams
|
|
3912
|
+
set rakeParams(value: WasmRakeParams);
|
|
3576
3913
|
get yakeParams(): WasmYakeParams | undefined;
|
|
3577
|
-
set yakeParams(value: WasmYakeParams
|
|
3914
|
+
set yakeParams(value: WasmYakeParams);
|
|
3578
3915
|
}
|
|
3579
3916
|
|
|
3580
3917
|
/**
|
|
@@ -3618,10 +3955,18 @@ export class WasmLanguageDetectionConfig {
|
|
|
3618
3955
|
export class WasmLateInteractionConfig {
|
|
3619
3956
|
free(): void;
|
|
3620
3957
|
[Symbol.dispose](): void;
|
|
3958
|
+
clearAcceleration(): void;
|
|
3621
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
|
+
*/
|
|
3622
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);
|
|
3623
3968
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
3624
|
-
set acceleration(value: WasmAccelerationConfig
|
|
3969
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
3625
3970
|
batchSize: number;
|
|
3626
3971
|
get cacheDir(): string | undefined;
|
|
3627
3972
|
set cacheDir(value: string | null | undefined);
|
|
@@ -3739,10 +4084,18 @@ export class WasmLayoutDetection {
|
|
|
3739
4084
|
export class WasmLayoutDetectionConfig {
|
|
3740
4085
|
free(): void;
|
|
3741
4086
|
[Symbol.dispose](): void;
|
|
4087
|
+
clearAcceleration(): void;
|
|
3742
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
|
+
*/
|
|
3743
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);
|
|
3744
4097
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
3745
|
-
set acceleration(value: WasmAccelerationConfig
|
|
4098
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
3746
4099
|
applyHeuristics: boolean;
|
|
3747
4100
|
get confidenceThreshold(): number | undefined;
|
|
3748
4101
|
set confidenceThreshold(value: number | null | undefined);
|
|
@@ -3768,6 +4121,13 @@ export class WasmLayoutRegion {
|
|
|
3768
4121
|
free(): void;
|
|
3769
4122
|
[Symbol.dispose](): void;
|
|
3770
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
|
+
*/
|
|
3771
4131
|
constructor(className?: string | null, confidence?: number | null, boundingBox?: WasmBoundingBox | null, areaFraction?: number | null);
|
|
3772
4132
|
areaFraction: number;
|
|
3773
4133
|
boundingBox: WasmBoundingBox;
|
|
@@ -3912,7 +4272,18 @@ export class WasmLlmCacheConfig {
|
|
|
3912
4272
|
export class WasmLlmConfig {
|
|
3913
4273
|
free(): void;
|
|
3914
4274
|
[Symbol.dispose](): void;
|
|
4275
|
+
clearBedrock(): void;
|
|
4276
|
+
clearBudget(): void;
|
|
4277
|
+
clearCache(): void;
|
|
4278
|
+
clearRateLimit(): void;
|
|
3915
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
|
+
*/
|
|
3916
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);
|
|
3917
4288
|
/**
|
|
3918
4289
|
* Validate the request-time sampling parameters that have a documented range:
|
|
@@ -3930,11 +4301,11 @@ export class WasmLlmConfig {
|
|
|
3930
4301
|
get baseUrl(): string | undefined;
|
|
3931
4302
|
set baseUrl(value: string | null | undefined);
|
|
3932
4303
|
get bedrock(): WasmBedrockConfig | undefined;
|
|
3933
|
-
set bedrock(value: WasmBedrockConfig
|
|
4304
|
+
set bedrock(value: WasmBedrockConfig);
|
|
3934
4305
|
get budget(): WasmLlmBudgetConfig | undefined;
|
|
3935
|
-
set budget(value: WasmLlmBudgetConfig
|
|
4306
|
+
set budget(value: WasmLlmBudgetConfig);
|
|
3936
4307
|
get cache(): WasmLlmCacheConfig | undefined;
|
|
3937
|
-
set cache(value: WasmLlmCacheConfig
|
|
4308
|
+
set cache(value: WasmLlmCacheConfig);
|
|
3938
4309
|
get cooldownSecs(): bigint | undefined;
|
|
3939
4310
|
set cooldownSecs(value: bigint | null | undefined);
|
|
3940
4311
|
get costTracking(): boolean | undefined;
|
|
@@ -3965,7 +4336,7 @@ export class WasmLlmConfig {
|
|
|
3965
4336
|
get providers(): Array<any> | undefined;
|
|
3966
4337
|
set providers(value: WasmLlmProviderConfig[] | null | undefined);
|
|
3967
4338
|
get rateLimit(): WasmLlmRateLimitConfig | undefined;
|
|
3968
|
-
set rateLimit(value: WasmLlmRateLimitConfig
|
|
4339
|
+
set rateLimit(value: WasmLlmRateLimitConfig);
|
|
3969
4340
|
get reasoningEffort(): string | undefined;
|
|
3970
4341
|
set reasoningEffort(value: string | null | undefined);
|
|
3971
4342
|
get seed(): bigint | undefined;
|
|
@@ -4120,12 +4491,22 @@ export class WasmMetaSchema {
|
|
|
4120
4491
|
export class WasmMetadata {
|
|
4121
4492
|
free(): void;
|
|
4122
4493
|
[Symbol.dispose](): void;
|
|
4494
|
+
clearError(): void;
|
|
4495
|
+
clearImagePreprocessing(): void;
|
|
4496
|
+
clearPages(): void;
|
|
4123
4497
|
static default(): WasmMetadata;
|
|
4124
4498
|
/**
|
|
4125
4499
|
* Returns `true` when no metadata fields, format-specific metadata, or
|
|
4126
4500
|
* additional postprocessor fields are populated.
|
|
4127
4501
|
*/
|
|
4128
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
|
+
*/
|
|
4129
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);
|
|
4130
4511
|
get abstractText(): string | undefined;
|
|
4131
4512
|
set abstractText(value: string | null | undefined);
|
|
@@ -4141,13 +4522,13 @@ export class WasmMetadata {
|
|
|
4141
4522
|
get documentVersion(): string | undefined;
|
|
4142
4523
|
set documentVersion(value: string | null | undefined);
|
|
4143
4524
|
get error(): WasmErrorMetadata | undefined;
|
|
4144
|
-
set error(value: WasmErrorMetadata
|
|
4525
|
+
set error(value: WasmErrorMetadata);
|
|
4145
4526
|
get extractionDurationMs(): bigint | undefined;
|
|
4146
4527
|
set extractionDurationMs(value: bigint | null | undefined);
|
|
4147
4528
|
get format(): WasmFormatMetadata | undefined;
|
|
4148
4529
|
set format(value: WasmFormatMetadata | null | undefined);
|
|
4149
4530
|
get imagePreprocessing(): WasmImagePreprocessingMetadata | undefined;
|
|
4150
|
-
set imagePreprocessing(value: WasmImagePreprocessingMetadata
|
|
4531
|
+
set imagePreprocessing(value: WasmImagePreprocessingMetadata);
|
|
4151
4532
|
get jsonSchema(): any | undefined;
|
|
4152
4533
|
set jsonSchema(value: any | null | undefined);
|
|
4153
4534
|
get keywords(): string[] | undefined;
|
|
@@ -4162,7 +4543,7 @@ export class WasmMetadata {
|
|
|
4162
4543
|
get outputFormat(): string | undefined;
|
|
4163
4544
|
set outputFormat(value: string | null | undefined);
|
|
4164
4545
|
get pages(): WasmPageStructure | undefined;
|
|
4165
|
-
set pages(value: WasmPageStructure
|
|
4546
|
+
set pages(value: WasmPageStructure);
|
|
4166
4547
|
get subject(): string | undefined;
|
|
4167
4548
|
set subject(value: string | null | undefined);
|
|
4168
4549
|
get tags(): string[] | undefined;
|
|
@@ -4265,14 +4646,22 @@ export enum WasmNerBackendKind {
|
|
|
4265
4646
|
export class WasmNerConfig {
|
|
4266
4647
|
free(): void;
|
|
4267
4648
|
[Symbol.dispose](): void;
|
|
4649
|
+
clearLlm(): void;
|
|
4268
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
|
+
*/
|
|
4269
4658
|
constructor(backend?: WasmNerBackendKind | null, categories?: any | null, customLabels?: string[] | null, model?: string | null, llm?: WasmLlmConfig | null);
|
|
4270
4659
|
get backend(): string;
|
|
4271
4660
|
set backend(value: WasmNerBackendKind);
|
|
4272
4661
|
categories: any;
|
|
4273
4662
|
customLabels: string[];
|
|
4274
4663
|
get llm(): WasmLlmConfig | undefined;
|
|
4275
|
-
set llm(value: WasmLlmConfig
|
|
4664
|
+
set llm(value: WasmLlmConfig);
|
|
4276
4665
|
get model(): string | undefined;
|
|
4277
4666
|
set model(value: string | null | undefined);
|
|
4278
4667
|
}
|
|
@@ -4333,6 +4722,7 @@ export class WasmNoChunkingReason {
|
|
|
4333
4722
|
export class WasmNodeContent {
|
|
4334
4723
|
free(): void;
|
|
4335
4724
|
[Symbol.dispose](): void;
|
|
4725
|
+
clearGrid(): void;
|
|
4336
4726
|
static default(): WasmNodeContent;
|
|
4337
4727
|
constructor();
|
|
4338
4728
|
get content(): string | undefined;
|
|
@@ -4346,7 +4736,7 @@ export class WasmNodeContent {
|
|
|
4346
4736
|
get format(): string | undefined;
|
|
4347
4737
|
set format(value: string | null | undefined);
|
|
4348
4738
|
get grid(): WasmTableGrid | undefined;
|
|
4349
|
-
set grid(value: WasmTableGrid
|
|
4739
|
+
set grid(value: WasmTableGrid);
|
|
4350
4740
|
get headingLevel(): number | undefined;
|
|
4351
4741
|
set headingLevel(value: number | null | undefined);
|
|
4352
4742
|
get headingText(): string | undefined;
|
|
@@ -4450,36 +4840,51 @@ export class WasmOcrConfidence {
|
|
|
4450
4840
|
export class WasmOcrConfig {
|
|
4451
4841
|
free(): void;
|
|
4452
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;
|
|
4453
4850
|
static default(): WasmOcrConfig;
|
|
4454
|
-
|
|
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);
|
|
4455
4859
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
4456
|
-
set acceleration(value: WasmAccelerationConfig
|
|
4860
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
4457
4861
|
autoRotate: boolean;
|
|
4458
4862
|
get backendOptions(): any | undefined;
|
|
4459
4863
|
set backendOptions(value: any | null | undefined);
|
|
4460
4864
|
backend: string;
|
|
4461
4865
|
get elementConfig(): WasmOcrElementConfig | undefined;
|
|
4462
|
-
set elementConfig(value: WasmOcrElementConfig
|
|
4866
|
+
set elementConfig(value: WasmOcrElementConfig);
|
|
4463
4867
|
enabled: boolean;
|
|
4464
4868
|
language: string[];
|
|
4869
|
+
numericRepair: boolean;
|
|
4465
4870
|
get outputFormat(): WasmOutputFormat | undefined;
|
|
4466
4871
|
set outputFormat(value: WasmOutputFormat | null | undefined);
|
|
4467
4872
|
get paddleOcrConfig(): any | undefined;
|
|
4468
4873
|
set paddleOcrConfig(value: any | null | undefined);
|
|
4469
4874
|
get pipeline(): WasmOcrPipelineConfig | undefined;
|
|
4470
|
-
set pipeline(value: WasmOcrPipelineConfig
|
|
4875
|
+
set pipeline(value: WasmOcrPipelineConfig);
|
|
4471
4876
|
get qualityThresholds(): WasmOcrQualityThresholds | undefined;
|
|
4472
|
-
set qualityThresholds(value: WasmOcrQualityThresholds
|
|
4877
|
+
set qualityThresholds(value: WasmOcrQualityThresholds);
|
|
4473
4878
|
get securityLimits(): WasmSecurityLimits | undefined;
|
|
4474
|
-
set securityLimits(value: WasmSecurityLimits
|
|
4879
|
+
set securityLimits(value: WasmSecurityLimits);
|
|
4475
4880
|
get tessdataBytes(): any | undefined;
|
|
4476
4881
|
set tessdataBytes(value: any | null | undefined);
|
|
4477
4882
|
get tessdataPath(): string | undefined;
|
|
4478
4883
|
set tessdataPath(value: string | null | undefined);
|
|
4479
4884
|
get tesseractConfig(): WasmTesseractConfig | undefined;
|
|
4480
|
-
set tesseractConfig(value: WasmTesseractConfig
|
|
4885
|
+
set tesseractConfig(value: WasmTesseractConfig);
|
|
4481
4886
|
get vlmConfig(): WasmLlmConfig | undefined;
|
|
4482
|
-
set vlmConfig(value: WasmLlmConfig
|
|
4887
|
+
set vlmConfig(value: WasmLlmConfig);
|
|
4483
4888
|
vlmFallback: any;
|
|
4484
4889
|
get vlmPrompt(): string | undefined;
|
|
4485
4890
|
set vlmPrompt(value: string | null | undefined);
|
|
@@ -4494,7 +4899,15 @@ export class WasmOcrConfig {
|
|
|
4494
4899
|
export class WasmOcrElement {
|
|
4495
4900
|
free(): void;
|
|
4496
4901
|
[Symbol.dispose](): void;
|
|
4902
|
+
clearRotation(): void;
|
|
4497
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
|
+
*/
|
|
4498
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);
|
|
4499
4912
|
backendMetadata: any;
|
|
4500
4913
|
confidence: WasmOcrConfidence;
|
|
@@ -4505,7 +4918,7 @@ export class WasmOcrElement {
|
|
|
4505
4918
|
get parentId(): string | undefined;
|
|
4506
4919
|
set parentId(value: string | null | undefined);
|
|
4507
4920
|
get rotation(): WasmOcrRotation | undefined;
|
|
4508
|
-
set rotation(value: WasmOcrRotation
|
|
4921
|
+
set rotation(value: WasmOcrRotation);
|
|
4509
4922
|
text: string;
|
|
4510
4923
|
}
|
|
4511
4924
|
|
|
@@ -4603,7 +5016,16 @@ export class WasmOcrPipelineConfig {
|
|
|
4603
5016
|
export class WasmOcrPipelineStage {
|
|
4604
5017
|
free(): void;
|
|
4605
5018
|
[Symbol.dispose](): void;
|
|
5019
|
+
clearTesseractConfig(): void;
|
|
5020
|
+
clearVlmConfig(): void;
|
|
4606
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
|
+
*/
|
|
4607
5029
|
constructor(backend: string, priority: number, language?: string[] | null, tesseractConfig?: WasmTesseractConfig | null, paddleOcrConfig?: any | null, vlmConfig?: WasmLlmConfig | null, backendOptions?: any | null);
|
|
4608
5030
|
get backendOptions(): any | undefined;
|
|
4609
5031
|
set backendOptions(value: any | null | undefined);
|
|
@@ -4614,9 +5036,9 @@ export class WasmOcrPipelineStage {
|
|
|
4614
5036
|
set paddleOcrConfig(value: any | null | undefined);
|
|
4615
5037
|
priority: number;
|
|
4616
5038
|
get tesseractConfig(): WasmTesseractConfig | undefined;
|
|
4617
|
-
set tesseractConfig(value: WasmTesseractConfig
|
|
5039
|
+
set tesseractConfig(value: WasmTesseractConfig);
|
|
4618
5040
|
get vlmConfig(): WasmLlmConfig | undefined;
|
|
4619
|
-
set vlmConfig(value: WasmLlmConfig
|
|
5041
|
+
set vlmConfig(value: WasmLlmConfig);
|
|
4620
5042
|
}
|
|
4621
5043
|
|
|
4622
5044
|
/**
|
|
@@ -4706,10 +5128,18 @@ export class WasmOcrStrategy {
|
|
|
4706
5128
|
export class WasmOcrTable {
|
|
4707
5129
|
free(): void;
|
|
4708
5130
|
[Symbol.dispose](): void;
|
|
5131
|
+
clearBoundingBox(): void;
|
|
4709
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
|
+
*/
|
|
4710
5140
|
constructor(cells: any, markdown: string, pageNumber: number, boundingBox?: WasmOcrTableBoundingBox | null);
|
|
4711
5141
|
get boundingBox(): WasmOcrTableBoundingBox | undefined;
|
|
4712
|
-
set boundingBox(value: WasmOcrTableBoundingBox
|
|
5142
|
+
set boundingBox(value: WasmOcrTableBoundingBox);
|
|
4713
5143
|
cells: any;
|
|
4714
5144
|
markdown: string;
|
|
4715
5145
|
pageNumber: number;
|
|
@@ -5012,20 +5442,30 @@ export class WasmPageConfig {
|
|
|
5012
5442
|
export class WasmPageContent {
|
|
5013
5443
|
free(): void;
|
|
5014
5444
|
[Symbol.dispose](): void;
|
|
5445
|
+
clearHierarchy(): void;
|
|
5446
|
+
clearImagePreprocessing(): void;
|
|
5447
|
+
clearOcrConfidence(): void;
|
|
5015
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
|
+
*/
|
|
5016
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);
|
|
5017
5457
|
content: string;
|
|
5018
5458
|
get hierarchy(): WasmPageHierarchy | undefined;
|
|
5019
|
-
set hierarchy(value: WasmPageHierarchy
|
|
5459
|
+
set hierarchy(value: WasmPageHierarchy);
|
|
5020
5460
|
imageIndices: Uint32Array;
|
|
5021
5461
|
get imagePreprocessing(): WasmImagePreprocessingMetadata | undefined;
|
|
5022
|
-
set imagePreprocessing(value: WasmImagePreprocessingMetadata
|
|
5462
|
+
set imagePreprocessing(value: WasmImagePreprocessingMetadata);
|
|
5023
5463
|
get isBlank(): boolean | undefined;
|
|
5024
5464
|
set isBlank(value: boolean | null | undefined);
|
|
5025
5465
|
get layoutRegions(): Array<any> | undefined;
|
|
5026
5466
|
set layoutRegions(value: WasmLayoutRegion[] | null | undefined);
|
|
5027
5467
|
get ocrConfidence(): WasmPageOcrConfidence | undefined;
|
|
5028
|
-
set ocrConfidence(value: WasmPageOcrConfidence
|
|
5468
|
+
set ocrConfidence(value: WasmPageOcrConfidence);
|
|
5029
5469
|
pageNumber: number;
|
|
5030
5470
|
get sectionName(): string | undefined;
|
|
5031
5471
|
set sectionName(value: string | null | undefined);
|
|
@@ -5069,10 +5509,18 @@ export class WasmPageHierarchy {
|
|
|
5069
5509
|
export class WasmPageInfo {
|
|
5070
5510
|
free(): void;
|
|
5071
5511
|
[Symbol.dispose](): void;
|
|
5512
|
+
clearDimensions(): void;
|
|
5072
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
|
+
*/
|
|
5073
5521
|
constructor(number: number, hasVectorGraphics: boolean, title?: string | null, dimensions?: WasmPageDimensions | null, imageCount?: number | null, tableCount?: number | null, hidden?: boolean | null, isBlank?: boolean | null);
|
|
5074
5522
|
get dimensions(): WasmPageDimensions | undefined;
|
|
5075
|
-
set dimensions(value: WasmPageDimensions
|
|
5523
|
+
set dimensions(value: WasmPageDimensions);
|
|
5076
5524
|
hasVectorGraphics: boolean;
|
|
5077
5525
|
get hidden(): boolean | undefined;
|
|
5078
5526
|
set hidden(value: boolean | null | undefined);
|
|
@@ -5224,10 +5672,18 @@ export class WasmPageSignals {
|
|
|
5224
5672
|
export class WasmPageSpan {
|
|
5225
5673
|
free(): void;
|
|
5226
5674
|
[Symbol.dispose](): void;
|
|
5675
|
+
clearBbox(): void;
|
|
5227
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
|
+
*/
|
|
5228
5684
|
constructor(page: number, bbox?: WasmBoundingBox | null);
|
|
5229
5685
|
get bbox(): WasmBoundingBox | undefined;
|
|
5230
|
-
set bbox(value: WasmBoundingBox
|
|
5686
|
+
set bbox(value: WasmBoundingBox);
|
|
5231
5687
|
page: number;
|
|
5232
5688
|
}
|
|
5233
5689
|
|
|
@@ -5282,14 +5738,22 @@ export class WasmPatternMatch {
|
|
|
5282
5738
|
export class WasmPdfAnnotation {
|
|
5283
5739
|
free(): void;
|
|
5284
5740
|
[Symbol.dispose](): void;
|
|
5741
|
+
clearBoundingBox(): void;
|
|
5285
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
|
+
*/
|
|
5286
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);
|
|
5287
5751
|
get annotationType(): string;
|
|
5288
5752
|
set annotationType(value: WasmPdfAnnotationType);
|
|
5289
5753
|
get author(): string | undefined;
|
|
5290
5754
|
set author(value: string | null | undefined);
|
|
5291
5755
|
get boundingBox(): WasmBoundingBox | undefined;
|
|
5292
|
-
set boundingBox(value: WasmBoundingBox
|
|
5756
|
+
set boundingBox(value: WasmBoundingBox);
|
|
5293
5757
|
get color(): string | undefined;
|
|
5294
5758
|
set color(value: string | null | undefined);
|
|
5295
5759
|
get content(): string | undefined;
|
|
@@ -5348,7 +5812,15 @@ export enum WasmPdfBackend {
|
|
|
5348
5812
|
export class WasmPdfConfig {
|
|
5349
5813
|
free(): void;
|
|
5350
5814
|
[Symbol.dispose](): void;
|
|
5815
|
+
clearHierarchy(): void;
|
|
5351
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
|
+
*/
|
|
5352
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);
|
|
5353
5825
|
/**
|
|
5354
5826
|
* Validate PDF-specific extraction settings.
|
|
@@ -5372,7 +5844,7 @@ export class WasmPdfConfig {
|
|
|
5372
5844
|
extractMetadata: boolean;
|
|
5373
5845
|
extractTables: boolean;
|
|
5374
5846
|
get hierarchy(): WasmHierarchyConfig | undefined;
|
|
5375
|
-
set hierarchy(value: WasmHierarchyConfig
|
|
5847
|
+
set hierarchy(value: WasmHierarchyConfig);
|
|
5376
5848
|
ocrInlineImages: boolean;
|
|
5377
5849
|
get passwords(): string[] | undefined;
|
|
5378
5850
|
set passwords(value: string[] | null | undefined);
|
|
@@ -5393,10 +5865,18 @@ export class WasmPdfConfig {
|
|
|
5393
5865
|
export class WasmPdfFormField {
|
|
5394
5866
|
free(): void;
|
|
5395
5867
|
[Symbol.dispose](): void;
|
|
5868
|
+
clearBbox(): void;
|
|
5396
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
|
+
*/
|
|
5397
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);
|
|
5398
5878
|
get bbox(): WasmBoundingBox | undefined;
|
|
5399
|
-
set bbox(value: WasmBoundingBox
|
|
5879
|
+
set bbox(value: WasmBoundingBox);
|
|
5400
5880
|
get defaultValue(): string | undefined;
|
|
5401
5881
|
set defaultValue(value: string | null | undefined);
|
|
5402
5882
|
get fieldType(): string;
|
|
@@ -5548,11 +6028,20 @@ export class WasmPptxAppProperties {
|
|
|
5548
6028
|
export class WasmPptxExtractionResult {
|
|
5549
6029
|
free(): void;
|
|
5550
6030
|
[Symbol.dispose](): void;
|
|
6031
|
+
clearDocument(): void;
|
|
6032
|
+
clearPageStructure(): void;
|
|
5551
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
|
+
*/
|
|
5552
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);
|
|
5553
6042
|
content: string;
|
|
5554
6043
|
get document(): WasmDocumentStructure | undefined;
|
|
5555
|
-
set document(value: WasmDocumentStructure
|
|
6044
|
+
set document(value: WasmDocumentStructure);
|
|
5556
6045
|
hyperlinks: WasmPresentationHyperlink[];
|
|
5557
6046
|
imageCount: number;
|
|
5558
6047
|
images: WasmExtractedImage[];
|
|
@@ -5561,7 +6050,7 @@ export class WasmPptxExtractionResult {
|
|
|
5561
6050
|
get pageContents(): Array<any> | undefined;
|
|
5562
6051
|
set pageContents(value: WasmPageContent[] | null | undefined);
|
|
5563
6052
|
get pageStructure(): WasmPageStructure | undefined;
|
|
5564
|
-
set pageStructure(value: WasmPageStructure
|
|
6053
|
+
set pageStructure(value: WasmPageStructure);
|
|
5565
6054
|
get revisions(): Array<any> | undefined;
|
|
5566
6055
|
set revisions(value: WasmDocumentRevision[] | null | undefined);
|
|
5567
6056
|
slideCount: number;
|
|
@@ -5638,7 +6127,15 @@ export class WasmPresentationHyperlink {
|
|
|
5638
6127
|
export class WasmPreset {
|
|
5639
6128
|
free(): void;
|
|
5640
6129
|
[Symbol.dispose](): void;
|
|
6130
|
+
clearSample(): void;
|
|
5641
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
|
+
*/
|
|
5642
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);
|
|
5643
6140
|
get category(): string;
|
|
5644
6141
|
set category(value: WasmPresetCategory);
|
|
@@ -5653,7 +6150,7 @@ export class WasmPreset {
|
|
|
5653
6150
|
get preferredCallMode(): string;
|
|
5654
6151
|
set preferredCallMode(value: WasmCallMode);
|
|
5655
6152
|
get sample(): WasmPresetSample | undefined;
|
|
5656
|
-
set sample(value: WasmPresetSample
|
|
6153
|
+
set sample(value: WasmPresetSample);
|
|
5657
6154
|
schemaName: string;
|
|
5658
6155
|
schema: any;
|
|
5659
6156
|
systemPrompt: string;
|
|
@@ -5812,10 +6309,18 @@ export class WasmQrBoundingBox {
|
|
|
5812
6309
|
export class WasmQrCode {
|
|
5813
6310
|
free(): void;
|
|
5814
6311
|
[Symbol.dispose](): void;
|
|
6312
|
+
clearBbox(): void;
|
|
5815
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
|
+
*/
|
|
5816
6321
|
constructor(payload: string, confidence?: number | null, bbox?: WasmQrBoundingBox | null);
|
|
5817
6322
|
get bbox(): WasmQrBoundingBox | undefined;
|
|
5818
|
-
set bbox(value: WasmQrBoundingBox
|
|
6323
|
+
set bbox(value: WasmQrBoundingBox);
|
|
5819
6324
|
get confidence(): number | undefined;
|
|
5820
6325
|
set confidence(value: number | null | undefined);
|
|
5821
6326
|
payload: string;
|
|
@@ -5857,7 +6362,15 @@ export class WasmRecognizedTable {
|
|
|
5857
6362
|
export class WasmRedactionConfig {
|
|
5858
6363
|
free(): void;
|
|
5859
6364
|
[Symbol.dispose](): void;
|
|
6365
|
+
clearNer(): void;
|
|
5860
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
|
+
*/
|
|
5861
6374
|
constructor(categories?: any | null, strategy?: WasmRedactionStrategy | null, preserveOffsets?: boolean | null, customTerms?: WasmRedactionTerm[] | null, customPatterns?: WasmRedactionPattern[] | null, ner?: WasmNerConfig | null);
|
|
5862
6375
|
/**
|
|
5863
6376
|
* Validate user-supplied terms and patterns at config-construction time.
|
|
@@ -5873,7 +6386,7 @@ export class WasmRedactionConfig {
|
|
|
5873
6386
|
customPatterns: WasmRedactionPattern[];
|
|
5874
6387
|
customTerms: WasmRedactionTerm[];
|
|
5875
6388
|
get ner(): WasmNerConfig | undefined;
|
|
5876
|
-
set ner(value: WasmNerConfig
|
|
6389
|
+
set ner(value: WasmNerConfig);
|
|
5877
6390
|
preserveOffsets: boolean;
|
|
5878
6391
|
get strategy(): string;
|
|
5879
6392
|
set strategy(value: WasmRedactionStrategy);
|
|
@@ -6090,10 +6603,18 @@ export class WasmRerankedDocument {
|
|
|
6090
6603
|
export class WasmRerankerConfig {
|
|
6091
6604
|
free(): void;
|
|
6092
6605
|
[Symbol.dispose](): void;
|
|
6606
|
+
clearAcceleration(): void;
|
|
6093
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
|
+
*/
|
|
6094
6615
|
constructor(model?: any | null, batchSize?: number | null, showDownloadProgress?: boolean | null, topK?: number | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxRerankDurationSecs?: bigint | null);
|
|
6095
6616
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
6096
|
-
set acceleration(value: WasmAccelerationConfig
|
|
6617
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
6097
6618
|
batchSize: number;
|
|
6098
6619
|
get cacheDir(): string | undefined;
|
|
6099
6620
|
set cacheDir(value: string | null | undefined);
|
|
@@ -6128,6 +6649,7 @@ export enum WasmRerankerHead {
|
|
|
6128
6649
|
export class WasmRerankerModelType {
|
|
6129
6650
|
free(): void;
|
|
6130
6651
|
[Symbol.dispose](): void;
|
|
6652
|
+
clearLlm(): void;
|
|
6131
6653
|
static default(): WasmRerankerModelType;
|
|
6132
6654
|
constructor();
|
|
6133
6655
|
get additionalFiles(): string[] | undefined;
|
|
@@ -6135,7 +6657,7 @@ export class WasmRerankerModelType {
|
|
|
6135
6657
|
get head(): WasmRerankerHead | undefined;
|
|
6136
6658
|
set head(value: WasmRerankerHead | null | undefined);
|
|
6137
6659
|
get llm(): WasmLlmConfig | undefined;
|
|
6138
|
-
set llm(value: WasmLlmConfig
|
|
6660
|
+
set llm(value: WasmLlmConfig);
|
|
6139
6661
|
get maxLength(): bigint | undefined;
|
|
6140
6662
|
set maxLength(value: bigint | null | undefined);
|
|
6141
6663
|
get modelFile(): string | undefined;
|
|
@@ -6308,10 +6830,18 @@ export class WasmSparseEmbedding {
|
|
|
6308
6830
|
export class WasmSparseEmbeddingConfig {
|
|
6309
6831
|
free(): void;
|
|
6310
6832
|
[Symbol.dispose](): void;
|
|
6833
|
+
clearAcceleration(): void;
|
|
6311
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
|
+
*/
|
|
6312
6842
|
constructor(model?: any | null, batchSize?: number | null, maxLength?: number | null, showDownloadProgress?: boolean | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxEmbedDurationSecs?: bigint | null);
|
|
6313
6843
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
6314
|
-
set acceleration(value: WasmAccelerationConfig
|
|
6844
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
6315
6845
|
batchSize: number;
|
|
6316
6846
|
get cacheDir(): string | undefined;
|
|
6317
6847
|
set cacheDir(value: string | null | undefined);
|
|
@@ -6465,10 +6995,18 @@ export class WasmStructuredExtractionConfig {
|
|
|
6465
6995
|
export class WasmSummarizationConfig {
|
|
6466
6996
|
free(): void;
|
|
6467
6997
|
[Symbol.dispose](): void;
|
|
6998
|
+
clearLlm(): void;
|
|
6468
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
|
+
*/
|
|
6469
7007
|
constructor(strategy?: WasmSummaryStrategy | null, maxTokens?: number | null, llm?: WasmLlmConfig | null);
|
|
6470
7008
|
get llm(): WasmLlmConfig | undefined;
|
|
6471
|
-
set llm(value: WasmLlmConfig
|
|
7009
|
+
set llm(value: WasmLlmConfig);
|
|
6472
7010
|
get maxTokens(): number | undefined;
|
|
6473
7011
|
set maxTokens(value: number | null | undefined);
|
|
6474
7012
|
get strategy(): string;
|
|
@@ -6523,10 +7061,18 @@ export class WasmSvgOptions {
|
|
|
6523
7061
|
export class WasmTable {
|
|
6524
7062
|
free(): void;
|
|
6525
7063
|
[Symbol.dispose](): void;
|
|
7064
|
+
clearBoundingBox(): void;
|
|
6526
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
|
+
*/
|
|
6527
7073
|
constructor(cells?: any | null, markdown?: string | null, pageNumber?: number | null, cellStyles?: WasmTableCellStyle[] | null, boundingBox?: WasmBoundingBox | null, tableId?: string | null, columns?: string[] | null);
|
|
6528
7074
|
get boundingBox(): WasmBoundingBox | undefined;
|
|
6529
|
-
set boundingBox(value: WasmBoundingBox
|
|
7075
|
+
set boundingBox(value: WasmBoundingBox);
|
|
6530
7076
|
cellStyles: WasmTableCellStyle[];
|
|
6531
7077
|
cells: any;
|
|
6532
7078
|
get columns(): string[] | undefined;
|
|
@@ -6660,8 +7206,16 @@ export enum WasmTableOverlapPreference {
|
|
|
6660
7206
|
export class WasmTesseractConfig {
|
|
6661
7207
|
free(): void;
|
|
6662
7208
|
[Symbol.dispose](): void;
|
|
7209
|
+
clearPreprocessing(): void;
|
|
6663
7210
|
static default(): WasmTesseractConfig;
|
|
6664
|
-
|
|
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);
|
|
6665
7219
|
classifyUsePreAdaptedTemplates: boolean;
|
|
6666
7220
|
enableTableDetection: boolean;
|
|
6667
7221
|
languageModelNgramOn: boolean;
|
|
@@ -6670,7 +7224,7 @@ export class WasmTesseractConfig {
|
|
|
6670
7224
|
oem: number;
|
|
6671
7225
|
outputFormat: string;
|
|
6672
7226
|
get preprocessing(): WasmImagePreprocessingConfig | undefined;
|
|
6673
|
-
set preprocessing(value: WasmImagePreprocessingConfig
|
|
7227
|
+
set preprocessing(value: WasmImagePreprocessingConfig);
|
|
6674
7228
|
get psm(): number | undefined;
|
|
6675
7229
|
set psm(value: number | null | undefined);
|
|
6676
7230
|
tableColumnThreshold: number;
|
|
@@ -6683,7 +7237,7 @@ export class WasmTesseractConfig {
|
|
|
6683
7237
|
tesseditEnableDictCorrection: boolean;
|
|
6684
7238
|
tesseditUsePrimaryParamsModel: boolean;
|
|
6685
7239
|
textordSpaceSizeIsVariable: boolean;
|
|
6686
|
-
thresholdingMethod:
|
|
7240
|
+
thresholdingMethod: number;
|
|
6687
7241
|
useCache: boolean;
|
|
6688
7242
|
}
|
|
6689
7243
|
|
|
@@ -6940,6 +7494,13 @@ export class WasmUrlExtractionConfig {
|
|
|
6940
7494
|
*/
|
|
6941
7495
|
static defaultXbergCrawlConfig(): WasmCrawlConfig;
|
|
6942
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
|
+
*/
|
|
6943
7504
|
constructor(mode?: WasmUrlExtractionMode | null, crawl?: WasmCrawlConfig | null, allowLocalFileInputs?: boolean | null, allowFileUris?: boolean | null, documentUrlPattern?: string | null, maxDocumentUrlsPerResult?: number | null, maxTotalUrls?: number | null);
|
|
6944
7505
|
allowFileUris: boolean;
|
|
6945
7506
|
allowLocalFileInputs: boolean;
|
|
@@ -7313,6 +7874,16 @@ export function listEmbeddingBackends(): string[];
|
|
|
7313
7874
|
*/
|
|
7314
7875
|
export function listOcrBackendCapabilities(): WasmOcrBackendCapabilities[];
|
|
7315
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
|
+
|
|
7316
7887
|
/**
|
|
7317
7888
|
* List all registered OCR backends.
|
|
7318
7889
|
*
|
|
@@ -7439,6 +8010,34 @@ export function mapUrl(uri: string, config?: WasmUrlExtractionConfig | null): Pr
|
|
|
7439
8010
|
*/
|
|
7440
8011
|
export function ocrBackendSupportsLanguage(backend: string, language: string): boolean;
|
|
7441
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
|
+
|
|
7442
8041
|
export function registerDocumentExtractor(backend: any): void;
|
|
7443
8042
|
|
|
7444
8043
|
export function registerEmbeddingBackend(backend: any): void;
|
|
@@ -7761,6 +8360,7 @@ export interface InitOutput {
|
|
|
7761
8360
|
readonly listDocumentExtractors: () => [number, number, number, number];
|
|
7762
8361
|
readonly listEmbeddingBackends: () => [number, number, number, number];
|
|
7763
8362
|
readonly listOcrBackendCapabilities: () => [number, number, number, number];
|
|
8363
|
+
readonly listOcrBackendCapabilitiesFor: (a: number) => [number, number, number, number];
|
|
7764
8364
|
readonly listOcrBackends: () => [number, number, number, number];
|
|
7765
8365
|
readonly listPostProcessors: () => [number, number, number, number];
|
|
7766
8366
|
readonly listRenderers: () => [number, number, number, number];
|
|
@@ -7772,6 +8372,8 @@ export interface InitOutput {
|
|
|
7772
8372
|
readonly nermodel_detect: (a: number, b: number, c: number, d: any) => any;
|
|
7773
8373
|
readonly nermodel_load: (a: any) => any;
|
|
7774
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];
|
|
7775
8377
|
readonly registerDocumentExtractor: (a: any) => [number, number];
|
|
7776
8378
|
readonly registerEmbeddingBackend: (a: any) => [number, number];
|
|
7777
8379
|
readonly registerOcrBackend: (a: any) => [number, number];
|
|
@@ -7887,6 +8489,7 @@ export interface InitOutput {
|
|
|
7887
8489
|
readonly wasmbedrockconfig_set_sessionToken: (a: number, b: number, c: number) => void;
|
|
7888
8490
|
readonly wasmbibtexmetadata_authors: (a: number) => [number, number];
|
|
7889
8491
|
readonly wasmbibtexmetadata_citationKeys: (a: number) => [number, number];
|
|
8492
|
+
readonly wasmbibtexmetadata_clearYearRange: (a: number) => void;
|
|
7890
8493
|
readonly wasmbibtexmetadata_default: () => number;
|
|
7891
8494
|
readonly wasmbibtexmetadata_entryCount: (a: number) => number;
|
|
7892
8495
|
readonly wasmbibtexmetadata_entryTypes: (a: number) => any;
|
|
@@ -7910,12 +8513,14 @@ export interface InitOutput {
|
|
|
7910
8513
|
readonly wasmbrowserconfig_backend: (a: number) => [number, number];
|
|
7911
8514
|
readonly wasmbrowserconfig_blockUrlPatterns: (a: number) => [number, number];
|
|
7912
8515
|
readonly wasmbrowserconfig_captureNetworkEvents: (a: number) => number;
|
|
8516
|
+
readonly wasmbrowserconfig_clearProxy: (a: number) => void;
|
|
7913
8517
|
readonly wasmbrowserconfig_default: () => number;
|
|
7914
8518
|
readonly wasmbrowserconfig_endpoint: (a: number) => [number, number];
|
|
7915
8519
|
readonly wasmbrowserconfig_evalScript: (a: number) => [number, number];
|
|
7916
8520
|
readonly wasmbrowserconfig_extraWait: (a: number) => [number, bigint];
|
|
7917
8521
|
readonly wasmbrowserconfig_mode: (a: number) => [number, number];
|
|
7918
|
-
readonly wasmbrowserconfig_new: (a: number, b: number, c: number, d: bigint, e: number, f:
|
|
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];
|
|
7919
8524
|
readonly wasmbrowserconfig_proxy: (a: number) => number;
|
|
7920
8525
|
readonly wasmbrowserconfig_robotsUserAgent: (a: number) => [number, number];
|
|
7921
8526
|
readonly wasmbrowserconfig_sessionAffinity: (a: number) => number;
|
|
@@ -7926,12 +8531,15 @@ export interface InitOutput {
|
|
|
7926
8531
|
readonly wasmbrowserconfig_set_evalScript: (a: number, b: number, c: number) => void;
|
|
7927
8532
|
readonly wasmbrowserconfig_set_extraWait: (a: number, b: number, c: bigint) => void;
|
|
7928
8533
|
readonly wasmbrowserconfig_set_mode: (a: number, b: number) => void;
|
|
8534
|
+
readonly wasmbrowserconfig_set_overallTimeout: (a: number, b: number, c: bigint) => void;
|
|
7929
8535
|
readonly wasmbrowserconfig_set_proxy: (a: number, b: number) => void;
|
|
7930
8536
|
readonly wasmbrowserconfig_set_robotsUserAgent: (a: number, b: number, c: number) => void;
|
|
7931
8537
|
readonly wasmbrowserconfig_set_sessionAffinity: (a: number, b: number) => void;
|
|
8538
|
+
readonly wasmbrowserconfig_set_shutdownTimeout: (a: number, b: number, c: bigint) => void;
|
|
7932
8539
|
readonly wasmbrowserconfig_set_timeout: (a: number, b: number, c: bigint) => void;
|
|
7933
8540
|
readonly wasmbrowserconfig_set_wait: (a: number, b: number) => void;
|
|
7934
8541
|
readonly wasmbrowserconfig_set_waitSelector: (a: number, b: number, c: number) => void;
|
|
8542
|
+
readonly wasmbrowserconfig_shutdownTimeout: (a: number) => [number, bigint];
|
|
7935
8543
|
readonly wasmbrowserconfig_timeout: (a: number) => [number, bigint];
|
|
7936
8544
|
readonly wasmbrowserconfig_wait: (a: number) => [number, number];
|
|
7937
8545
|
readonly wasmbrowserconfig_waitSelector: (a: number) => [number, number];
|
|
@@ -7967,6 +8575,8 @@ export interface InitOutput {
|
|
|
7967
8575
|
readonly wasmcellchange_set_to: (a: number, b: number, c: number) => void;
|
|
7968
8576
|
readonly wasmcellchange_to: (a: number) => [number, number];
|
|
7969
8577
|
readonly wasmchunk_chunkType: (a: number) => [number, number];
|
|
8578
|
+
readonly wasmchunk_clearLateInteraction: (a: number) => void;
|
|
8579
|
+
readonly wasmchunk_clearSparseEmbedding: (a: number) => void;
|
|
7970
8580
|
readonly wasmchunk_content: (a: number) => [number, number];
|
|
7971
8581
|
readonly wasmchunk_default: () => number;
|
|
7972
8582
|
readonly wasmchunk_embedding: (a: number) => [number, number];
|
|
@@ -8009,6 +8619,9 @@ export interface InitOutput {
|
|
|
8009
8619
|
readonly wasmchunkinfo_set_index: (a: number, b: number) => void;
|
|
8010
8620
|
readonly wasmchunkinfo_set_pages: (a: number, b: number) => void;
|
|
8011
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;
|
|
8012
8625
|
readonly wasmchunkingconfig_default: () => number;
|
|
8013
8626
|
readonly wasmchunkingconfig_embedding: (a: number) => number;
|
|
8014
8627
|
readonly wasmchunkingconfig_lateInteraction: (a: number) => number;
|
|
@@ -8050,6 +8663,7 @@ export interface InitOutput {
|
|
|
8050
8663
|
readonly wasmchunkmetadata_byteStart: (a: number) => number;
|
|
8051
8664
|
readonly wasmchunkmetadata_chunkIndex: (a: number) => number;
|
|
8052
8665
|
readonly wasmchunkmetadata_classifications: (a: number) => [number, number];
|
|
8666
|
+
readonly wasmchunkmetadata_clearHeadingContext: (a: number) => void;
|
|
8053
8667
|
readonly wasmchunkmetadata_default: () => number;
|
|
8054
8668
|
readonly wasmchunkmetadata_firstPage: (a: number) => number;
|
|
8055
8669
|
readonly wasmchunkmetadata_headingContext: (a: number) => number;
|
|
@@ -8094,6 +8708,7 @@ export interface InitOutput {
|
|
|
8094
8708
|
readonly wasmcitation_source: (a: number) => [number, number];
|
|
8095
8709
|
readonly wasmcitationmetadata_authors: (a: number) => [number, number];
|
|
8096
8710
|
readonly wasmcitationmetadata_citationCount: (a: number) => number;
|
|
8711
|
+
readonly wasmcitationmetadata_clearYearRange: (a: number) => void;
|
|
8097
8712
|
readonly wasmcitationmetadata_default: () => number;
|
|
8098
8713
|
readonly wasmcitationmetadata_dois: (a: number) => [number, number];
|
|
8099
8714
|
readonly wasmcitationmetadata_format: (a: number) => [number, number];
|
|
@@ -8126,15 +8741,17 @@ export interface InitOutput {
|
|
|
8126
8741
|
readonly wasmconfidencesemantics_type: (a: number) => [number, number];
|
|
8127
8742
|
readonly wasmcontentconfig_default: () => number;
|
|
8128
8743
|
readonly wasmcontentconfig_excludeSelectors: (a: number) => [number, number];
|
|
8744
|
+
readonly wasmcontentconfig_extractMetadata: (a: number) => number;
|
|
8129
8745
|
readonly wasmcontentconfig_includeDocumentStructure: (a: number) => number;
|
|
8130
8746
|
readonly wasmcontentconfig_maxDepth: (a: number) => number;
|
|
8131
|
-
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;
|
|
8132
8748
|
readonly wasmcontentconfig_outputFormat: (a: number) => [number, number];
|
|
8133
8749
|
readonly wasmcontentconfig_preprocessingPreset: (a: number) => [number, number];
|
|
8134
8750
|
readonly wasmcontentconfig_preserveTags: (a: number) => [number, number];
|
|
8135
8751
|
readonly wasmcontentconfig_removeForms: (a: number) => number;
|
|
8136
8752
|
readonly wasmcontentconfig_removeNavigation: (a: number) => number;
|
|
8137
8753
|
readonly wasmcontentconfig_set_excludeSelectors: (a: number, b: number, c: number) => void;
|
|
8754
|
+
readonly wasmcontentconfig_set_extractMetadata: (a: number, b: number) => void;
|
|
8138
8755
|
readonly wasmcontentconfig_set_includeDocumentStructure: (a: number, b: number) => void;
|
|
8139
8756
|
readonly wasmcontentconfig_set_maxDepth: (a: number, b: number) => void;
|
|
8140
8757
|
readonly wasmcontentconfig_set_outputFormat: (a: number, b: number, c: number) => void;
|
|
@@ -8169,6 +8786,7 @@ export interface InitOutput {
|
|
|
8169
8786
|
readonly wasmcontributorrole_set_name: (a: number, b: number, c: number) => void;
|
|
8170
8787
|
readonly wasmcontributorrole_set_role: (a: number, b: number, c: number) => void;
|
|
8171
8788
|
readonly wasmconversionoptions_autolinks: (a: number) => number;
|
|
8789
|
+
readonly wasmconversionoptions_baseUrl: (a: number) => [number, number];
|
|
8172
8790
|
readonly wasmconversionoptions_brInTables: (a: number) => number;
|
|
8173
8791
|
readonly wasmconversionoptions_bullets: (a: number) => [number, number];
|
|
8174
8792
|
readonly wasmconversionoptions_captureSvg: (a: number) => number;
|
|
@@ -8197,12 +8815,13 @@ export interface InitOutput {
|
|
|
8197
8815
|
readonly wasmconversionoptions_listIndentWidth: (a: number) => number;
|
|
8198
8816
|
readonly wasmconversionoptions_maxDepth: (a: number) => number;
|
|
8199
8817
|
readonly wasmconversionoptions_maxImageSize: (a: number) => bigint;
|
|
8200
|
-
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;
|
|
8201
8819
|
readonly wasmconversionoptions_newlineStyle: (a: number) => [number, number];
|
|
8202
8820
|
readonly wasmconversionoptions_outputFormat: (a: number) => [number, number];
|
|
8203
8821
|
readonly wasmconversionoptions_preprocessing: (a: number) => number;
|
|
8204
8822
|
readonly wasmconversionoptions_preserveTags: (a: number) => [number, number];
|
|
8205
8823
|
readonly wasmconversionoptions_set_autolinks: (a: number, b: number) => void;
|
|
8824
|
+
readonly wasmconversionoptions_set_baseUrl: (a: number, b: number, c: number) => void;
|
|
8206
8825
|
readonly wasmconversionoptions_set_brInTables: (a: number, b: number) => void;
|
|
8207
8826
|
readonly wasmconversionoptions_set_bullets: (a: number, b: number, c: number) => void;
|
|
8208
8827
|
readonly wasmconversionoptions_set_captureSvg: (a: number, b: number) => void;
|
|
@@ -8296,11 +8915,13 @@ export interface InitOutput {
|
|
|
8296
8915
|
readonly wasmcrawlconfig_browser: (a: number) => number;
|
|
8297
8916
|
readonly wasmcrawlconfig_browserProfile: (a: number) => [number, number];
|
|
8298
8917
|
readonly wasmcrawlconfig_captureScreenshot: (a: number) => number;
|
|
8918
|
+
readonly wasmcrawlconfig_clearProxy: (a: number) => void;
|
|
8299
8919
|
readonly wasmcrawlconfig_content: (a: number) => number;
|
|
8300
8920
|
readonly wasmcrawlconfig_contentFilter: (a: number) => [number, number];
|
|
8301
8921
|
readonly wasmcrawlconfig_cookiesEnabled: (a: number) => number;
|
|
8302
8922
|
readonly wasmcrawlconfig_crawlStrategy: (a: number) => [number, number];
|
|
8303
8923
|
readonly wasmcrawlconfig_customHeaders: (a: number) => any;
|
|
8924
|
+
readonly wasmcrawlconfig_dedupIncludeQuery: (a: number) => number;
|
|
8304
8925
|
readonly wasmcrawlconfig_default: () => number;
|
|
8305
8926
|
readonly wasmcrawlconfig_documentContentEncoding: (a: number) => [number, number];
|
|
8306
8927
|
readonly wasmcrawlconfig_documentMaxSize: (a: number) => number;
|
|
@@ -8321,14 +8942,18 @@ export interface InitOutput {
|
|
|
8321
8942
|
readonly wasmcrawlconfig_maxLinksPerPage: (a: number) => number;
|
|
8322
8943
|
readonly wasmcrawlconfig_maxPages: (a: number) => number;
|
|
8323
8944
|
readonly wasmcrawlconfig_maxRedirects: (a: number) => number;
|
|
8324
|
-
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:
|
|
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;
|
|
8325
8947
|
readonly wasmcrawlconfig_proxy: (a: number) => number;
|
|
8948
|
+
readonly wasmcrawlconfig_rateLimitJitterRatio: (a: number) => number;
|
|
8326
8949
|
readonly wasmcrawlconfig_rateLimitMs: (a: number) => [number, bigint];
|
|
8327
8950
|
readonly wasmcrawlconfig_removeTags: (a: number) => [number, number];
|
|
8328
8951
|
readonly wasmcrawlconfig_requestTimeout: (a: number) => [number, bigint];
|
|
8329
8952
|
readonly wasmcrawlconfig_respectRobotsTxt: (a: number) => number;
|
|
8330
8953
|
readonly wasmcrawlconfig_retryCodes: (a: number) => [number, number];
|
|
8331
8954
|
readonly wasmcrawlconfig_retryCount: (a: number) => number;
|
|
8955
|
+
readonly wasmcrawlconfig_retryInitialDelayMs: (a: number) => bigint;
|
|
8956
|
+
readonly wasmcrawlconfig_retryMaxDelayMs: (a: number) => bigint;
|
|
8332
8957
|
readonly wasmcrawlconfig_saveBrowserProfile: (a: number) => number;
|
|
8333
8958
|
readonly wasmcrawlconfig_set_allowSubdomains: (a: number, b: number) => void;
|
|
8334
8959
|
readonly wasmcrawlconfig_set_assetTypes: (a: number, b: number, c: number) => void;
|
|
@@ -8343,6 +8968,7 @@ export interface InitOutput {
|
|
|
8343
8968
|
readonly wasmcrawlconfig_set_cookiesEnabled: (a: number, b: number) => void;
|
|
8344
8969
|
readonly wasmcrawlconfig_set_crawlStrategy: (a: number, b: number) => void;
|
|
8345
8970
|
readonly wasmcrawlconfig_set_customHeaders: (a: number, b: any) => void;
|
|
8971
|
+
readonly wasmcrawlconfig_set_dedupIncludeQuery: (a: number, b: number) => void;
|
|
8346
8972
|
readonly wasmcrawlconfig_set_documentContentEncoding: (a: number, b: number) => void;
|
|
8347
8973
|
readonly wasmcrawlconfig_set_documentMaxSize: (a: number, b: number) => void;
|
|
8348
8974
|
readonly wasmcrawlconfig_set_documentMimeTypes: (a: number, b: number, c: number) => void;
|
|
@@ -8362,18 +8988,24 @@ export interface InitOutput {
|
|
|
8362
8988
|
readonly wasmcrawlconfig_set_maxLinksPerPage: (a: number, b: number) => void;
|
|
8363
8989
|
readonly wasmcrawlconfig_set_maxPages: (a: number, b: number) => void;
|
|
8364
8990
|
readonly wasmcrawlconfig_set_maxRedirects: (a: number, b: number) => void;
|
|
8991
|
+
readonly wasmcrawlconfig_set_pathPatternsMatchQuery: (a: number, b: number) => void;
|
|
8365
8992
|
readonly wasmcrawlconfig_set_proxy: (a: number, b: number) => void;
|
|
8993
|
+
readonly wasmcrawlconfig_set_rateLimitJitterRatio: (a: number, b: number) => void;
|
|
8366
8994
|
readonly wasmcrawlconfig_set_rateLimitMs: (a: number, b: number, c: bigint) => void;
|
|
8367
8995
|
readonly wasmcrawlconfig_set_removeTags: (a: number, b: number, c: number) => void;
|
|
8368
8996
|
readonly wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
8369
8997
|
readonly wasmcrawlconfig_set_respectRobotsTxt: (a: number, b: number) => void;
|
|
8370
8998
|
readonly wasmcrawlconfig_set_retryCodes: (a: number, b: number, c: number) => void;
|
|
8371
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;
|
|
8372
9002
|
readonly wasmcrawlconfig_set_saveBrowserProfile: (a: number, b: number) => void;
|
|
8373
9003
|
readonly wasmcrawlconfig_set_softHttpErrors: (a: number, b: number) => void;
|
|
8374
9004
|
readonly wasmcrawlconfig_set_ssrf: (a: number, b: number) => void;
|
|
8375
9005
|
readonly wasmcrawlconfig_set_ssrfDenyPrivateExplicit: (a: number, b: number) => void;
|
|
8376
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;
|
|
8377
9009
|
readonly wasmcrawlconfig_set_userAgent: (a: number, b: number, c: number) => void;
|
|
8378
9010
|
readonly wasmcrawlconfig_set_userAgents: (a: number, b: number, c: number) => void;
|
|
8379
9011
|
readonly wasmcrawlconfig_set_warcOutput: (a: number, b: number, c: number) => void;
|
|
@@ -8381,6 +9013,8 @@ export interface InitOutput {
|
|
|
8381
9013
|
readonly wasmcrawlconfig_ssrf: (a: number) => number;
|
|
8382
9014
|
readonly wasmcrawlconfig_ssrfDenyPrivateExplicit: (a: number) => number;
|
|
8383
9015
|
readonly wasmcrawlconfig_stayOnDomain: (a: number) => number;
|
|
9016
|
+
readonly wasmcrawlconfig_stripTrackingParams: (a: number) => number;
|
|
9017
|
+
readonly wasmcrawlconfig_trackingParams: (a: number) => [number, number];
|
|
8384
9018
|
readonly wasmcrawlconfig_userAgent: (a: number) => [number, number];
|
|
8385
9019
|
readonly wasmcrawlconfig_userAgents: (a: number) => [number, number];
|
|
8386
9020
|
readonly wasmcrawlconfig_warcOutput: (a: number) => [number, number];
|
|
@@ -8478,6 +9112,7 @@ export interface InitOutput {
|
|
|
8478
9112
|
readonly wasmdjotcontent_tables: (a: number) => [number, number];
|
|
8479
9113
|
readonly wasmdjotimage_alt: (a: number) => [number, number];
|
|
8480
9114
|
readonly wasmdjotimage_attributes: (a: number) => number;
|
|
9115
|
+
readonly wasmdjotimage_clearAttributes: (a: number) => void;
|
|
8481
9116
|
readonly wasmdjotimage_default: () => number;
|
|
8482
9117
|
readonly wasmdjotimage_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
8483
9118
|
readonly wasmdjotimage_set_alt: (a: number, b: number, c: number) => void;
|
|
@@ -8487,6 +9122,7 @@ export interface InitOutput {
|
|
|
8487
9122
|
readonly wasmdjotimage_src: (a: number) => [number, number];
|
|
8488
9123
|
readonly wasmdjotimage_title: (a: number) => [number, number];
|
|
8489
9124
|
readonly wasmdjotlink_attributes: (a: number) => number;
|
|
9125
|
+
readonly wasmdjotlink_clearAttributes: (a: number) => void;
|
|
8490
9126
|
readonly wasmdjotlink_default: () => number;
|
|
8491
9127
|
readonly wasmdjotlink_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
8492
9128
|
readonly wasmdjotlink_set_attributes: (a: number, b: number) => void;
|
|
@@ -8532,6 +9168,7 @@ export interface InitOutput {
|
|
|
8532
9168
|
readonly wasmdocumentcounts_set_tables: (a: number, b: number) => void;
|
|
8533
9169
|
readonly wasmdocumentcounts_tables: (a: number) => number;
|
|
8534
9170
|
readonly wasmdocumentmetadata_chunkingEnabled: (a: number) => number;
|
|
9171
|
+
readonly wasmdocumentmetadata_clearUserChunkConfig: (a: number) => void;
|
|
8535
9172
|
readonly wasmdocumentmetadata_default: () => number;
|
|
8536
9173
|
readonly wasmdocumentmetadata_forceOcr: (a: number) => number;
|
|
8537
9174
|
readonly wasmdocumentmetadata_mimeType: (a: number) => [number, number];
|
|
@@ -8549,6 +9186,7 @@ export interface InitOutput {
|
|
|
8549
9186
|
readonly wasmdocumentnode_attributes: (a: number) => any;
|
|
8550
9187
|
readonly wasmdocumentnode_bbox: (a: number) => number;
|
|
8551
9188
|
readonly wasmdocumentnode_children: (a: number) => [number, number];
|
|
9189
|
+
readonly wasmdocumentnode_clearBbox: (a: number) => void;
|
|
8552
9190
|
readonly wasmdocumentnode_content: (a: number) => any;
|
|
8553
9191
|
readonly wasmdocumentnode_contentLayer: (a: number) => [number, number];
|
|
8554
9192
|
readonly wasmdocumentnode_default: () => number;
|
|
@@ -8644,6 +9282,8 @@ export interface InitOutput {
|
|
|
8644
9282
|
readonly wasmdocxappproperties_totalTime: (a: number) => number;
|
|
8645
9283
|
readonly wasmdocxappproperties_words: (a: number) => number;
|
|
8646
9284
|
readonly wasmdocxmetadata_appProperties: (a: number) => number;
|
|
9285
|
+
readonly wasmdocxmetadata_clearAppProperties: (a: number) => void;
|
|
9286
|
+
readonly wasmdocxmetadata_clearCoreProperties: (a: number) => void;
|
|
8647
9287
|
readonly wasmdocxmetadata_coreProperties: (a: number) => number;
|
|
8648
9288
|
readonly wasmdocxmetadata_customProperties: (a: number) => any;
|
|
8649
9289
|
readonly wasmdocxmetadata_default: () => number;
|
|
@@ -8662,6 +9302,7 @@ export interface InitOutput {
|
|
|
8662
9302
|
readonly wasmelement_set_text: (a: number, b: number, c: number) => void;
|
|
8663
9303
|
readonly wasmelement_text: (a: number) => [number, number];
|
|
8664
9304
|
readonly wasmelementmetadata_additional: (a: number) => any;
|
|
9305
|
+
readonly wasmelementmetadata_clearCoordinates: (a: number) => void;
|
|
8665
9306
|
readonly wasmelementmetadata_coordinates: (a: number) => number;
|
|
8666
9307
|
readonly wasmelementmetadata_default: () => number;
|
|
8667
9308
|
readonly wasmelementmetadata_elementIndex: (a: number) => number;
|
|
@@ -8746,6 +9387,7 @@ export interface InitOutput {
|
|
|
8746
9387
|
readonly wasmembeddingconfig_acceleration: (a: number) => number;
|
|
8747
9388
|
readonly wasmembeddingconfig_batchSize: (a: number) => number;
|
|
8748
9389
|
readonly wasmembeddingconfig_cacheDir: (a: number) => [number, number];
|
|
9390
|
+
readonly wasmembeddingconfig_clearAcceleration: (a: number) => void;
|
|
8749
9391
|
readonly wasmembeddingconfig_default: () => number;
|
|
8750
9392
|
readonly wasmembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
|
|
8751
9393
|
readonly wasmembeddingconfig_maxSequenceLength: (a: number) => number;
|
|
@@ -8761,6 +9403,7 @@ export interface InitOutput {
|
|
|
8761
9403
|
readonly wasmembeddingconfig_set_normalize: (a: number, b: number) => void;
|
|
8762
9404
|
readonly wasmembeddingconfig_set_showDownloadProgress: (a: number, b: number) => void;
|
|
8763
9405
|
readonly wasmembeddingconfig_showDownloadProgress: (a: number) => number;
|
|
9406
|
+
readonly wasmembeddingmodeltype_clearLlm: (a: number) => void;
|
|
8764
9407
|
readonly wasmembeddingmodeltype_default: () => number;
|
|
8765
9408
|
readonly wasmembeddingmodeltype_dimensions: (a: number) => number;
|
|
8766
9409
|
readonly wasmembeddingmodeltype_llm: (a: number) => number;
|
|
@@ -8842,6 +9485,12 @@ export interface InitOutput {
|
|
|
8842
9485
|
readonly wasmextracteddocument_annotations: (a: number) => any;
|
|
8843
9486
|
readonly wasmextracteddocument_children: (a: number) => any;
|
|
8844
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;
|
|
8845
9494
|
readonly wasmextracteddocument_content: (a: number) => [number, number];
|
|
8846
9495
|
readonly wasmextracteddocument_counts: (a: number) => number;
|
|
8847
9496
|
readonly wasmextracteddocument_default: () => number;
|
|
@@ -8908,6 +9557,8 @@ export interface InitOutput {
|
|
|
8908
9557
|
readonly wasmextractedimage_bitsPerComponent: (a: number) => number;
|
|
8909
9558
|
readonly wasmextractedimage_boundingBox: (a: number) => number;
|
|
8910
9559
|
readonly wasmextractedimage_caption: (a: number) => [number, number];
|
|
9560
|
+
readonly wasmextractedimage_clearBoundingBox: (a: number) => void;
|
|
9561
|
+
readonly wasmextractedimage_clearOcrResult: (a: number) => void;
|
|
8911
9562
|
readonly wasmextractedimage_clusterId: (a: number) => number;
|
|
8912
9563
|
readonly wasmextractedimage_colorspace: (a: number) => [number, number];
|
|
8913
9564
|
readonly wasmextractedimage_data: (a: number) => [number, number];
|
|
@@ -8956,6 +9607,7 @@ export interface InitOutput {
|
|
|
8956
9607
|
readonly wasmextracteduri_set_url: (a: number, b: number, c: number) => void;
|
|
8957
9608
|
readonly wasmextracteduri_url: (a: number) => [number, number];
|
|
8958
9609
|
readonly wasmextractinput_bytes: (a: number) => [number, number];
|
|
9610
|
+
readonly wasmextractinput_clearConfig: (a: number) => void;
|
|
8959
9611
|
readonly wasmextractinput_config: (a: number) => number;
|
|
8960
9612
|
readonly wasmextractinput_default: () => number;
|
|
8961
9613
|
readonly wasmextractinput_filename: (a: number) => [number, number];
|
|
@@ -8988,6 +9640,34 @@ export interface InitOutput {
|
|
|
8988
9640
|
readonly wasmextractionconfig_captioning: (a: number) => number;
|
|
8989
9641
|
readonly wasmextractionconfig_chunkClassification: (a: number) => number;
|
|
8990
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;
|
|
8991
9671
|
readonly wasmextractionconfig_concurrency: (a: number) => number;
|
|
8992
9672
|
readonly wasmextractionconfig_contentFilter: (a: number) => number;
|
|
8993
9673
|
readonly wasmextractionconfig_csv: (a: number) => number;
|
|
@@ -9018,8 +9698,11 @@ export interface InitOutput {
|
|
|
9018
9698
|
readonly wasmextractionconfig_needsImageData: (a: number) => number;
|
|
9019
9699
|
readonly wasmextractionconfig_needsImageProcessing: (a: number) => number;
|
|
9020
9700
|
readonly wasmextractionconfig_ner: (a: number) => number;
|
|
9021
|
-
readonly wasmextractionconfig_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:
|
|
9701
|
+
readonly wasmextractionconfig_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: bigint, j1: number, k1: number, l1: number, m1: bigint, 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) => number;
|
|
9022
9702
|
readonly wasmextractionconfig_ocr: (a: number) => number;
|
|
9703
|
+
readonly wasmextractionconfig_ocrEmbeddedImages: (a: number) => number;
|
|
9704
|
+
readonly wasmextractionconfig_ocrNearEmptyFallback: (a: number) => number;
|
|
9705
|
+
readonly wasmextractionconfig_ocrScannedPageQualityGate: (a: number) => number;
|
|
9023
9706
|
readonly wasmextractionconfig_ocrStrategy: (a: number) => any;
|
|
9024
9707
|
readonly wasmextractionconfig_outputFormat: (a: number) => any;
|
|
9025
9708
|
readonly wasmextractionconfig_pageClassification: (a: number) => number;
|
|
@@ -9063,6 +9746,9 @@ export interface InitOutput {
|
|
|
9063
9746
|
readonly wasmextractionconfig_set_mimeDetectionPolicy: (a: number, b: number) => void;
|
|
9064
9747
|
readonly wasmextractionconfig_set_ner: (a: number, b: number) => void;
|
|
9065
9748
|
readonly wasmextractionconfig_set_ocr: (a: number, b: number) => void;
|
|
9749
|
+
readonly wasmextractionconfig_set_ocrEmbeddedImages: (a: number, b: number) => void;
|
|
9750
|
+
readonly wasmextractionconfig_set_ocrNearEmptyFallback: (a: number, b: number) => void;
|
|
9751
|
+
readonly wasmextractionconfig_set_ocrScannedPageQualityGate: (a: number, b: number) => void;
|
|
9066
9752
|
readonly wasmextractionconfig_set_ocrStrategy: (a: number, b: any) => void;
|
|
9067
9753
|
readonly wasmextractionconfig_set_outputFormat: (a: number, b: any) => void;
|
|
9068
9754
|
readonly wasmextractionconfig_set_pageClassification: (a: number, b: number) => void;
|
|
@@ -9145,6 +9831,29 @@ export interface InitOutput {
|
|
|
9145
9831
|
readonly wasmfileextractionconfig_captioning: (a: number) => number;
|
|
9146
9832
|
readonly wasmfileextractionconfig_chunkClassification: (a: number) => number;
|
|
9147
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;
|
|
9148
9857
|
readonly wasmfileextractionconfig_contentFilter: (a: number) => number;
|
|
9149
9858
|
readonly wasmfileextractionconfig_default: () => number;
|
|
9150
9859
|
readonly wasmfileextractionconfig_disableOcr: (a: number) => number;
|
|
@@ -9240,6 +9949,7 @@ export interface InitOutput {
|
|
|
9240
9949
|
readonly wasmformattedblock_attributes: (a: number) => number;
|
|
9241
9950
|
readonly wasmformattedblock_blockType: (a: number) => [number, number];
|
|
9242
9951
|
readonly wasmformattedblock_children: (a: number) => [number, number];
|
|
9952
|
+
readonly wasmformattedblock_clearAttributes: (a: number) => void;
|
|
9243
9953
|
readonly wasmformattedblock_code: (a: number) => [number, number];
|
|
9244
9954
|
readonly wasmformattedblock_default: () => number;
|
|
9245
9955
|
readonly wasmformattedblock_inlineContent: (a: number) => [number, number];
|
|
@@ -9254,6 +9964,7 @@ export interface InitOutput {
|
|
|
9254
9964
|
readonly wasmformattedblock_set_language: (a: number, b: number, c: number) => void;
|
|
9255
9965
|
readonly wasmformattedblock_set_level: (a: number, b: number) => void;
|
|
9256
9966
|
readonly wasmformula_bbox: (a: number) => number;
|
|
9967
|
+
readonly wasmformula_clearBbox: (a: number) => void;
|
|
9257
9968
|
readonly wasmformula_default: () => number;
|
|
9258
9969
|
readonly wasmformula_latex: (a: number) => [number, number];
|
|
9259
9970
|
readonly wasmformula_new: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -9266,6 +9977,7 @@ export interface InitOutput {
|
|
|
9266
9977
|
readonly wasmgeojsonextractionconfig_new: (a: number) => number;
|
|
9267
9978
|
readonly wasmgeojsonextractionconfig_set_includeFullCoordinates: (a: number, b: number) => void;
|
|
9268
9979
|
readonly wasmgridcell_bbox: (a: number) => number;
|
|
9980
|
+
readonly wasmgridcell_clearBbox: (a: number) => void;
|
|
9269
9981
|
readonly wasmgridcell_col: (a: number) => number;
|
|
9270
9982
|
readonly wasmgridcell_colSpan: (a: number) => number;
|
|
9271
9983
|
readonly wasmgridcell_content: (a: number) => [number, number];
|
|
@@ -9333,6 +10045,7 @@ export interface InitOutput {
|
|
|
9333
10045
|
readonly wasmheuristicsconfig_textLayerThreshold: (a: number) => number;
|
|
9334
10046
|
readonly wasmheuristicsconfig_validate: (a: number) => [number, number];
|
|
9335
10047
|
readonly wasmhierarchicalblock_bbox: (a: number) => number;
|
|
10048
|
+
readonly wasmhierarchicalblock_clearBbox: (a: number) => void;
|
|
9336
10049
|
readonly wasmhierarchicalblock_default: () => number;
|
|
9337
10050
|
readonly wasmhierarchicalblock_fontSize: (a: number) => number;
|
|
9338
10051
|
readonly wasmhierarchicalblock_level: (a: number) => [number, number];
|
|
@@ -9468,6 +10181,7 @@ export interface InitOutput {
|
|
|
9468
10181
|
readonly wasmimagemetadata_width: (a: number) => number;
|
|
9469
10182
|
readonly wasmimagemetadatatype_alt: (a: number) => [number, number];
|
|
9470
10183
|
readonly wasmimagemetadatatype_attributes: (a: number) => [number, number];
|
|
10184
|
+
readonly wasmimagemetadatatype_clearDimensions: (a: number) => void;
|
|
9471
10185
|
readonly wasmimagemetadatatype_default: () => number;
|
|
9472
10186
|
readonly wasmimagemetadatatype_dimensions: (a: number) => number;
|
|
9473
10187
|
readonly wasmimagemetadatatype_imageType: (a: number) => [number, number];
|
|
@@ -9493,17 +10207,20 @@ export interface InitOutput {
|
|
|
9493
10207
|
readonly wasmimagepreprocessingconfig_denoise: (a: number) => number;
|
|
9494
10208
|
readonly wasmimagepreprocessingconfig_deskew: (a: number) => number;
|
|
9495
10209
|
readonly wasmimagepreprocessingconfig_invertColors: (a: number) => number;
|
|
9496
|
-
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;
|
|
9497
10212
|
readonly wasmimagepreprocessingconfig_set_autoRotate: (a: number, b: number) => void;
|
|
9498
10213
|
readonly wasmimagepreprocessingconfig_set_binarizationMethod: (a: number, b: number, c: number) => void;
|
|
9499
10214
|
readonly wasmimagepreprocessingconfig_set_contrastEnhance: (a: number, b: number) => void;
|
|
9500
10215
|
readonly wasmimagepreprocessingconfig_set_denoise: (a: number, b: number) => void;
|
|
9501
10216
|
readonly wasmimagepreprocessingconfig_set_deskew: (a: number, b: number) => void;
|
|
9502
10217
|
readonly wasmimagepreprocessingconfig_set_invertColors: (a: number, b: number) => void;
|
|
10218
|
+
readonly wasmimagepreprocessingconfig_set_normalizeShadedRows: (a: number, b: number) => void;
|
|
9503
10219
|
readonly wasmimagepreprocessingconfig_set_targetDpi: (a: number, b: number) => void;
|
|
9504
10220
|
readonly wasmimagepreprocessingconfig_targetDpi: (a: number) => number;
|
|
9505
10221
|
readonly wasmimagepreprocessingmetadata_autoAdjusted: (a: number) => number;
|
|
9506
10222
|
readonly wasmimagepreprocessingmetadata_calculatedDpi: (a: number) => number;
|
|
10223
|
+
readonly wasmimagepreprocessingmetadata_clearNewDimensions: (a: number) => void;
|
|
9507
10224
|
readonly wasmimagepreprocessingmetadata_default: () => number;
|
|
9508
10225
|
readonly wasmimagepreprocessingmetadata_dimensionClamped: (a: number) => number;
|
|
9509
10226
|
readonly wasmimagepreprocessingmetadata_finalDpi: (a: number) => number;
|
|
@@ -9529,6 +10246,7 @@ export interface InitOutput {
|
|
|
9529
10246
|
readonly wasmimagepreprocessingmetadata_skippedResize: (a: number) => number;
|
|
9530
10247
|
readonly wasmimagepreprocessingmetadata_targetDpi: (a: number) => number;
|
|
9531
10248
|
readonly wasminlineelement_attributes: (a: number) => number;
|
|
10249
|
+
readonly wasminlineelement_clearAttributes: (a: number) => void;
|
|
9532
10250
|
readonly wasminlineelement_content: (a: number) => [number, number];
|
|
9533
10251
|
readonly wasminlineelement_default: () => number;
|
|
9534
10252
|
readonly wasminlineelement_elementType: (a: number) => [number, number];
|
|
@@ -9565,6 +10283,8 @@ export interface InitOutput {
|
|
|
9565
10283
|
readonly wasmkeyword_set_text: (a: number, b: number, c: number) => void;
|
|
9566
10284
|
readonly wasmkeyword_text: (a: number) => [number, number];
|
|
9567
10285
|
readonly wasmkeywordconfig_algorithm: (a: number) => [number, number];
|
|
10286
|
+
readonly wasmkeywordconfig_clearRakeParams: (a: number) => void;
|
|
10287
|
+
readonly wasmkeywordconfig_clearYakeParams: (a: number) => void;
|
|
9568
10288
|
readonly wasmkeywordconfig_default: () => number;
|
|
9569
10289
|
readonly wasmkeywordconfig_language: (a: number) => [number, number];
|
|
9570
10290
|
readonly wasmkeywordconfig_maxKeywords: (a: number) => number;
|
|
@@ -9603,6 +10323,7 @@ export interface InitOutput {
|
|
|
9603
10323
|
readonly wasmlateinteractionconfig_acceleration: (a: number) => number;
|
|
9604
10324
|
readonly wasmlateinteractionconfig_batchSize: (a: number) => number;
|
|
9605
10325
|
readonly wasmlateinteractionconfig_cacheDir: (a: number) => [number, number];
|
|
10326
|
+
readonly wasmlateinteractionconfig_clearAcceleration: (a: number) => void;
|
|
9606
10327
|
readonly wasmlateinteractionconfig_default: () => number;
|
|
9607
10328
|
readonly wasmlateinteractionconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
|
|
9608
10329
|
readonly wasmlateinteractionconfig_maxLength: (a: number) => number;
|
|
@@ -9666,6 +10387,7 @@ export interface InitOutput {
|
|
|
9666
10387
|
readonly wasmlayoutdetection_set_confidence: (a: number, b: number) => void;
|
|
9667
10388
|
readonly wasmlayoutdetectionconfig_acceleration: (a: number) => number;
|
|
9668
10389
|
readonly wasmlayoutdetectionconfig_applyHeuristics: (a: number) => number;
|
|
10390
|
+
readonly wasmlayoutdetectionconfig_clearAcceleration: (a: number) => void;
|
|
9669
10391
|
readonly wasmlayoutdetectionconfig_confidenceThreshold: (a: number) => number;
|
|
9670
10392
|
readonly wasmlayoutdetectionconfig_default: () => number;
|
|
9671
10393
|
readonly wasmlayoutdetectionconfig_enableChartUnderstanding: (a: number) => number;
|
|
@@ -9729,6 +10451,10 @@ export interface InitOutput {
|
|
|
9729
10451
|
readonly wasmllmconfig_bedrock: (a: number) => number;
|
|
9730
10452
|
readonly wasmllmconfig_budget: (a: number) => number;
|
|
9731
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;
|
|
9732
10458
|
readonly wasmllmconfig_cooldownSecs: (a: number) => [number, bigint];
|
|
9733
10459
|
readonly wasmllmconfig_costTracking: (a: number) => number;
|
|
9734
10460
|
readonly wasmllmconfig_credentialProvider: (a: number) => any;
|
|
@@ -9837,6 +10563,9 @@ export interface InitOutput {
|
|
|
9837
10563
|
readonly wasmmetadata_additional: (a: number) => any;
|
|
9838
10564
|
readonly wasmmetadata_authors: (a: number) => [number, number];
|
|
9839
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;
|
|
9840
10569
|
readonly wasmmetadata_createdAt: (a: number) => [number, number];
|
|
9841
10570
|
readonly wasmmetadata_createdBy: (a: number) => [number, number];
|
|
9842
10571
|
readonly wasmmetadata_default: () => number;
|
|
@@ -9915,6 +10644,7 @@ export interface InitOutput {
|
|
|
9915
10644
|
readonly wasmmultivectorembedding_set_numTokens: (a: number, b: number) => void;
|
|
9916
10645
|
readonly wasmnerconfig_backend: (a: number) => [number, number];
|
|
9917
10646
|
readonly wasmnerconfig_categories: (a: number) => any;
|
|
10647
|
+
readonly wasmnerconfig_clearLlm: (a: number) => void;
|
|
9918
10648
|
readonly wasmnerconfig_customLabels: (a: number) => [number, number];
|
|
9919
10649
|
readonly wasmnerconfig_default: () => number;
|
|
9920
10650
|
readonly wasmnerconfig_llm: (a: number) => number;
|
|
@@ -9949,6 +10679,7 @@ export interface InitOutput {
|
|
|
9949
10679
|
readonly wasmnochunkingreason_threshold: (a: number) => number;
|
|
9950
10680
|
readonly wasmnochunkingreason_thresholdBytes: (a: number) => [number, bigint];
|
|
9951
10681
|
readonly wasmnochunkingreason_type: (a: number) => [number, number];
|
|
10682
|
+
readonly wasmnodecontent_clearGrid: (a: number) => void;
|
|
9952
10683
|
readonly wasmnodecontent_content: (a: number) => [number, number];
|
|
9953
10684
|
readonly wasmnodecontent_default: () => number;
|
|
9954
10685
|
readonly wasmnodecontent_definition: (a: number) => [number, number];
|
|
@@ -10023,11 +10754,19 @@ export interface InitOutput {
|
|
|
10023
10754
|
readonly wasmocrconfig_autoRotate: (a: number) => number;
|
|
10024
10755
|
readonly wasmocrconfig_backend: (a: number) => [number, number];
|
|
10025
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;
|
|
10026
10764
|
readonly wasmocrconfig_default: () => number;
|
|
10027
10765
|
readonly wasmocrconfig_elementConfig: (a: number) => number;
|
|
10028
10766
|
readonly wasmocrconfig_enabled: (a: number) => number;
|
|
10029
10767
|
readonly wasmocrconfig_language: (a: number) => [number, number];
|
|
10030
|
-
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;
|
|
10031
10770
|
readonly wasmocrconfig_outputFormat: (a: number) => any;
|
|
10032
10771
|
readonly wasmocrconfig_paddleOcrConfig: (a: number) => any;
|
|
10033
10772
|
readonly wasmocrconfig_pipeline: (a: number) => number;
|
|
@@ -10040,6 +10779,7 @@ export interface InitOutput {
|
|
|
10040
10779
|
readonly wasmocrconfig_set_elementConfig: (a: number, b: number) => void;
|
|
10041
10780
|
readonly wasmocrconfig_set_enabled: (a: number, b: number) => void;
|
|
10042
10781
|
readonly wasmocrconfig_set_language: (a: number, b: number, c: number) => void;
|
|
10782
|
+
readonly wasmocrconfig_set_numericRepair: (a: number, b: number) => void;
|
|
10043
10783
|
readonly wasmocrconfig_set_outputFormat: (a: number, b: number) => void;
|
|
10044
10784
|
readonly wasmocrconfig_set_paddleOcrConfig: (a: number, b: number) => void;
|
|
10045
10785
|
readonly wasmocrconfig_set_pipeline: (a: number, b: number) => void;
|
|
@@ -10058,6 +10798,7 @@ export interface InitOutput {
|
|
|
10058
10798
|
readonly wasmocrconfig_vlmFallback: (a: number) => any;
|
|
10059
10799
|
readonly wasmocrconfig_vlmPrompt: (a: number) => [number, number];
|
|
10060
10800
|
readonly wasmocrelement_backendMetadata: (a: number) => any;
|
|
10801
|
+
readonly wasmocrelement_clearRotation: (a: number) => void;
|
|
10061
10802
|
readonly wasmocrelement_confidence: (a: number) => number;
|
|
10062
10803
|
readonly wasmocrelement_default: () => number;
|
|
10063
10804
|
readonly wasmocrelement_geometry: (a: number) => any;
|
|
@@ -10119,6 +10860,8 @@ export interface InitOutput {
|
|
|
10119
10860
|
readonly wasmocrpipelineconfig_stages: (a: number) => [number, number];
|
|
10120
10861
|
readonly wasmocrpipelinestage_backend: (a: number) => [number, number];
|
|
10121
10862
|
readonly wasmocrpipelinestage_backendOptions: (a: number) => any;
|
|
10863
|
+
readonly wasmocrpipelinestage_clearTesseractConfig: (a: number) => void;
|
|
10864
|
+
readonly wasmocrpipelinestage_clearVlmConfig: (a: number) => void;
|
|
10122
10865
|
readonly wasmocrpipelinestage_default: () => number;
|
|
10123
10866
|
readonly wasmocrpipelinestage_language: (a: number) => [number, number];
|
|
10124
10867
|
readonly wasmocrpipelinestage_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
@@ -10207,6 +10950,7 @@ export interface InitOutput {
|
|
|
10207
10950
|
readonly wasmocrstrategy_set_mode: (a: number, b: number, c: number) => void;
|
|
10208
10951
|
readonly wasmocrtable_boundingBox: (a: number) => number;
|
|
10209
10952
|
readonly wasmocrtable_cells: (a: number) => any;
|
|
10953
|
+
readonly wasmocrtable_clearBoundingBox: (a: number) => void;
|
|
10210
10954
|
readonly wasmocrtable_default: () => number;
|
|
10211
10955
|
readonly wasmocrtable_markdown: (a: number) => [number, number];
|
|
10212
10956
|
readonly wasmocrtable_new: (a: any, b: number, c: number, d: number, e: number) => number;
|
|
@@ -10305,6 +11049,9 @@ export interface InitOutput {
|
|
|
10305
11049
|
readonly wasmpageconfig_set_extractPages: (a: number, b: number) => void;
|
|
10306
11050
|
readonly wasmpageconfig_set_insertPageMarkers: (a: number, b: number) => void;
|
|
10307
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;
|
|
10308
11055
|
readonly wasmpagecontent_content: (a: number) => [number, number];
|
|
10309
11056
|
readonly wasmpagecontent_default: () => number;
|
|
10310
11057
|
readonly wasmpagecontent_hierarchy: (a: number) => number;
|
|
@@ -10343,6 +11090,7 @@ export interface InitOutput {
|
|
|
10343
11090
|
readonly wasmpagehierarchy_new: (a: number, b: number, c: number) => number;
|
|
10344
11091
|
readonly wasmpagehierarchy_set_blockCount: (a: number, b: number) => void;
|
|
10345
11092
|
readonly wasmpagehierarchy_set_blocks: (a: number, b: number, c: number) => void;
|
|
11093
|
+
readonly wasmpageinfo_clearDimensions: (a: number) => void;
|
|
10346
11094
|
readonly wasmpageinfo_default: () => number;
|
|
10347
11095
|
readonly wasmpageinfo_dimensions: (a: number) => number;
|
|
10348
11096
|
readonly wasmpageinfo_hasVectorGraphics: (a: number) => number;
|
|
@@ -10392,6 +11140,7 @@ export interface InitOutput {
|
|
|
10392
11140
|
readonly wasmpagesignals_startsWithLetterheadLike: (a: number) => number;
|
|
10393
11141
|
readonly wasmpagesignals_textExcerpt: (a: number) => [number, number];
|
|
10394
11142
|
readonly wasmpagespan_bbox: (a: number) => number;
|
|
11143
|
+
readonly wasmpagespan_clearBbox: (a: number) => void;
|
|
10395
11144
|
readonly wasmpagespan_default: () => number;
|
|
10396
11145
|
readonly wasmpagespan_new: (a: number, b: number) => number;
|
|
10397
11146
|
readonly wasmpagespan_page: (a: number) => number;
|
|
@@ -10420,6 +11169,7 @@ export interface InitOutput {
|
|
|
10420
11169
|
readonly wasmpdfannotation_annotationType: (a: number) => [number, number];
|
|
10421
11170
|
readonly wasmpdfannotation_author: (a: number) => [number, number];
|
|
10422
11171
|
readonly wasmpdfannotation_boundingBox: (a: number) => number;
|
|
11172
|
+
readonly wasmpdfannotation_clearBoundingBox: (a: number) => void;
|
|
10423
11173
|
readonly wasmpdfannotation_color: (a: number) => [number, number];
|
|
10424
11174
|
readonly wasmpdfannotation_content: (a: number) => [number, number];
|
|
10425
11175
|
readonly wasmpdfannotation_default: () => number;
|
|
@@ -10442,6 +11192,7 @@ export interface InitOutput {
|
|
|
10442
11192
|
readonly wasmpdfconfig_allowSingleColumnTables: (a: number) => number;
|
|
10443
11193
|
readonly wasmpdfconfig_backend: (a: number) => [number, number];
|
|
10444
11194
|
readonly wasmpdfconfig_bottomMarginFraction: (a: number) => number;
|
|
11195
|
+
readonly wasmpdfconfig_clearHierarchy: (a: number) => void;
|
|
10445
11196
|
readonly wasmpdfconfig_default: () => number;
|
|
10446
11197
|
readonly wasmpdfconfig_extractAnnotations: (a: number) => number;
|
|
10447
11198
|
readonly wasmpdfconfig_extractFormFields: (a: number) => number;
|
|
@@ -10469,6 +11220,7 @@ export interface InitOutput {
|
|
|
10469
11220
|
readonly wasmpdfconfig_topMarginFraction: (a: number) => number;
|
|
10470
11221
|
readonly wasmpdfconfig_validate: (a: number) => [number, number];
|
|
10471
11222
|
readonly wasmpdfformfield_bbox: (a: number) => number;
|
|
11223
|
+
readonly wasmpdfformfield_clearBbox: (a: number) => void;
|
|
10472
11224
|
readonly wasmpdfformfield_default: () => number;
|
|
10473
11225
|
readonly wasmpdfformfield_defaultValue: (a: number) => [number, number];
|
|
10474
11226
|
readonly wasmpdfformfield_fieldType: (a: number) => [number, number];
|
|
@@ -10572,6 +11324,8 @@ export interface InitOutput {
|
|
|
10572
11324
|
readonly wasmpptxappproperties_slideTitles: (a: number) => [number, number];
|
|
10573
11325
|
readonly wasmpptxappproperties_slides: (a: number) => number;
|
|
10574
11326
|
readonly wasmpptxappproperties_totalTime: (a: number) => number;
|
|
11327
|
+
readonly wasmpptxextractionresult_clearDocument: (a: number) => void;
|
|
11328
|
+
readonly wasmpptxextractionresult_clearPageStructure: (a: number) => void;
|
|
10575
11329
|
readonly wasmpptxextractionresult_content: (a: number) => [number, number];
|
|
10576
11330
|
readonly wasmpptxextractionresult_default: () => number;
|
|
10577
11331
|
readonly wasmpptxextractionresult_document: (a: number) => number;
|
|
@@ -10625,6 +11379,7 @@ export interface InitOutput {
|
|
|
10625
11379
|
readonly wasmpresentationhyperlink_set_url: (a: number, b: number, c: number) => void;
|
|
10626
11380
|
readonly wasmpresentationhyperlink_url: (a: number) => [number, number];
|
|
10627
11381
|
readonly wasmpreset_category: (a: number) => [number, number];
|
|
11382
|
+
readonly wasmpreset_clearSample: (a: number) => void;
|
|
10628
11383
|
readonly wasmpreset_contextTemplate: (a: number) => [number, number];
|
|
10629
11384
|
readonly wasmpreset_default: () => number;
|
|
10630
11385
|
readonly wasmpreset_description: (a: number) => [number, number];
|
|
@@ -10717,6 +11472,7 @@ export interface InitOutput {
|
|
|
10717
11472
|
readonly wasmqrboundingbox_x: (a: number) => number;
|
|
10718
11473
|
readonly wasmqrboundingbox_y: (a: number) => number;
|
|
10719
11474
|
readonly wasmqrcode_bbox: (a: number) => number;
|
|
11475
|
+
readonly wasmqrcode_clearBbox: (a: number) => void;
|
|
10720
11476
|
readonly wasmqrcode_confidence: (a: number) => number;
|
|
10721
11477
|
readonly wasmqrcode_default: () => number;
|
|
10722
11478
|
readonly wasmqrcode_new: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -10739,6 +11495,7 @@ export interface InitOutput {
|
|
|
10739
11495
|
readonly wasmrecognizedtable_set_detectionBbox: (a: number, b: number) => void;
|
|
10740
11496
|
readonly wasmrecognizedtable_set_markdown: (a: number, b: number, c: number) => void;
|
|
10741
11497
|
readonly wasmredactionconfig_categories: (a: number) => any;
|
|
11498
|
+
readonly wasmredactionconfig_clearNer: (a: number) => void;
|
|
10742
11499
|
readonly wasmredactionconfig_customPatterns: (a: number) => [number, number];
|
|
10743
11500
|
readonly wasmredactionconfig_customTerms: (a: number) => [number, number];
|
|
10744
11501
|
readonly wasmredactionconfig_default: () => number;
|
|
@@ -10809,6 +11566,7 @@ export interface InitOutput {
|
|
|
10809
11566
|
readonly wasmrerankerconfig_acceleration: (a: number) => number;
|
|
10810
11567
|
readonly wasmrerankerconfig_batchSize: (a: number) => number;
|
|
10811
11568
|
readonly wasmrerankerconfig_cacheDir: (a: number) => [number, number];
|
|
11569
|
+
readonly wasmrerankerconfig_clearAcceleration: (a: number) => void;
|
|
10812
11570
|
readonly wasmrerankerconfig_default: () => number;
|
|
10813
11571
|
readonly wasmrerankerconfig_maxRerankDurationSecs: (a: number) => [number, bigint];
|
|
10814
11572
|
readonly wasmrerankerconfig_model: (a: number) => any;
|
|
@@ -10823,6 +11581,7 @@ export interface InitOutput {
|
|
|
10823
11581
|
readonly wasmrerankerconfig_showDownloadProgress: (a: number) => number;
|
|
10824
11582
|
readonly wasmrerankerconfig_topK: (a: number) => number;
|
|
10825
11583
|
readonly wasmrerankermodeltype_additionalFiles: (a: number) => [number, number];
|
|
11584
|
+
readonly wasmrerankermodeltype_clearLlm: (a: number) => void;
|
|
10826
11585
|
readonly wasmrerankermodeltype_default: () => number;
|
|
10827
11586
|
readonly wasmrerankermodeltype_head: (a: number) => number;
|
|
10828
11587
|
readonly wasmrerankermodeltype_llm: (a: number) => number;
|
|
@@ -10923,6 +11682,7 @@ export interface InitOutput {
|
|
|
10923
11682
|
readonly wasmsparseembeddingconfig_acceleration: (a: number) => number;
|
|
10924
11683
|
readonly wasmsparseembeddingconfig_batchSize: (a: number) => number;
|
|
10925
11684
|
readonly wasmsparseembeddingconfig_cacheDir: (a: number) => [number, number];
|
|
11685
|
+
readonly wasmsparseembeddingconfig_clearAcceleration: (a: number) => void;
|
|
10926
11686
|
readonly wasmsparseembeddingconfig_default: () => number;
|
|
10927
11687
|
readonly wasmsparseembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
|
|
10928
11688
|
readonly wasmsparseembeddingconfig_maxLength: (a: number) => number;
|
|
@@ -10960,7 +11720,6 @@ export interface InitOutput {
|
|
|
10960
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;
|
|
10961
11721
|
readonly wasmsparseembeddingpreset_set_additionalFiles: (a: number, b: number, c: number) => void;
|
|
10962
11722
|
readonly wasmsparseembeddingpreset_set_description: (a: number, b: number, c: number) => void;
|
|
10963
|
-
readonly wasmsparseembeddingpreset_set_maxLength: (a: number, b: number) => void;
|
|
10964
11723
|
readonly qcms_profile_precache_output_transform: (a: number) => void;
|
|
10965
11724
|
readonly lut_inverse_interp16: (a: number, b: number, c: number) => number;
|
|
10966
11725
|
readonly lut_interp_linear16: (a: number, b: number, c: number) => number;
|
|
@@ -10973,9 +11732,10 @@ export interface InitOutput {
|
|
|
10973
11732
|
readonly qcms_transform_data_bgra_out_lut_precache: (a: number, b: number, c: number, d: number) => void;
|
|
10974
11733
|
readonly qcms_profile_is_bogus: (a: number) => number;
|
|
10975
11734
|
readonly qcms_transform_release: (a: number) => void;
|
|
11735
|
+
readonly wasmsparseembeddingpreset_set_maxLength: (a: number, b: number) => void;
|
|
10976
11736
|
readonly wasmsparseembeddingpreset_set_modelFile: (a: number, b: number, c: number) => void;
|
|
10977
|
-
readonly wasmsparseembeddingpreset_set_modelRepo: (a: number, b: number, c: number) => void;
|
|
10978
11737
|
readonly __cxa_atexit: (a: number, b: number, c: number) => number;
|
|
11738
|
+
readonly wasmsparseembeddingpreset_set_modelRepo: (a: number, b: number, c: number) => void;
|
|
10979
11739
|
readonly wasmsparseembeddingpreset_set_name: (a: number, b: number, c: number) => void;
|
|
10980
11740
|
readonly wasmssrfpolicy_allowlist: (a: number) => any;
|
|
10981
11741
|
readonly wasmssrfpolicy_default: () => number;
|
|
@@ -11024,6 +11784,7 @@ export interface InitOutput {
|
|
|
11024
11784
|
readonly wasmstructuredextractionconfig_set_schemaName: (a: number, b: number, c: number) => void;
|
|
11025
11785
|
readonly wasmstructuredextractionconfig_set_strict: (a: number, b: number) => void;
|
|
11026
11786
|
readonly wasmstructuredextractionconfig_strict: (a: number) => number;
|
|
11787
|
+
readonly wasmsummarizationconfig_clearLlm: (a: number) => void;
|
|
11027
11788
|
readonly wasmsummarizationconfig_default: () => number;
|
|
11028
11789
|
readonly wasmsummarizationconfig_llm: (a: number) => number;
|
|
11029
11790
|
readonly wasmsummarizationconfig_maxTokens: (a: number) => number;
|
|
@@ -11047,6 +11808,7 @@ export interface InitOutput {
|
|
|
11047
11808
|
readonly wasmtable_boundingBox: (a: number) => number;
|
|
11048
11809
|
readonly wasmtable_cellStyles: (a: number) => [number, number];
|
|
11049
11810
|
readonly wasmtable_cells: (a: number) => any;
|
|
11811
|
+
readonly wasmtable_clearBoundingBox: (a: number) => void;
|
|
11050
11812
|
readonly wasmtable_columns: (a: number) => [number, number];
|
|
11051
11813
|
readonly wasmtable_default: () => number;
|
|
11052
11814
|
readonly wasmtable_markdown: (a: number) => [number, number];
|
|
@@ -11089,6 +11851,7 @@ export interface InitOutput {
|
|
|
11089
11851
|
readonly wasmtablegrid_set_cols: (a: number, b: number) => void;
|
|
11090
11852
|
readonly wasmtablegrid_set_rows: (a: number, b: number) => void;
|
|
11091
11853
|
readonly wasmtesseractconfig_classifyUsePreAdaptedTemplates: (a: number) => number;
|
|
11854
|
+
readonly wasmtesseractconfig_clearPreprocessing: (a: number) => void;
|
|
11092
11855
|
readonly wasmtesseractconfig_default: () => number;
|
|
11093
11856
|
readonly wasmtesseractconfig_enableTableDetection: (a: number) => number;
|
|
11094
11857
|
readonly wasmtesseractconfig_language: (a: number) => [number, number];
|
|
@@ -11329,9 +12092,9 @@ export interface InitOutput {
|
|
|
11329
12092
|
readonly xbergengine_new: (a: any, b: any) => [number, number, number];
|
|
11330
12093
|
readonly qcms_enable_iccv4: () => void;
|
|
11331
12094
|
readonly xbergengine_ocr: (a: number, b: number, c: number, d: any) => any;
|
|
11332
|
-
readonly
|
|
11333
|
-
readonly
|
|
11334
|
-
readonly
|
|
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;
|
|
11335
12098
|
readonly __wbindgen_malloc_command_export: (a: number, b: number) => number;
|
|
11336
12099
|
readonly __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
|
|
11337
12100
|
readonly __wbindgen_exn_store_command_export: (a: number) => void;
|