@xberg-io/xberg-wasm 1.2.9 → 1.3.2
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 +994 -157
- package/pkg/web/xberg_wasm.js +1966 -1231
- package/pkg/web/xberg_wasm_bg.wasm +2 -2
- package/pkg/web/xberg_wasm_bg.wasm.d.ts +202 -14
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;
|
|
@@ -694,6 +714,15 @@ export enum WasmCallMode {
|
|
|
694
714
|
TextPlusVision = 2,
|
|
695
715
|
}
|
|
696
716
|
|
|
717
|
+
/**
|
|
718
|
+
* How a generated image caption interacts with existing alternate text.
|
|
719
|
+
*/
|
|
720
|
+
export enum WasmCaptionAltTextMode {
|
|
721
|
+
Preserve = 0,
|
|
722
|
+
Combine = 1,
|
|
723
|
+
Replace = 2,
|
|
724
|
+
}
|
|
725
|
+
|
|
697
726
|
/**
|
|
698
727
|
* Configuration for the VLM captioning post-processor.
|
|
699
728
|
*/
|
|
@@ -708,7 +737,9 @@ export class WasmCaptioningConfig {
|
|
|
708
737
|
*/
|
|
709
738
|
static defaultMinImageArea(): number;
|
|
710
739
|
static default(): WasmCaptioningConfig;
|
|
711
|
-
constructor(llm: WasmLlmConfig, minImageArea: number, prompt?: string | null);
|
|
740
|
+
constructor(llm: WasmLlmConfig, minImageArea: number, altText?: WasmCaptionAltTextMode | null, prompt?: string | null);
|
|
741
|
+
get altText(): string;
|
|
742
|
+
set altText(value: WasmCaptionAltTextMode);
|
|
712
743
|
llm: WasmLlmConfig;
|
|
713
744
|
minImageArea: number;
|
|
714
745
|
get prompt(): string | undefined;
|
|
@@ -743,18 +774,27 @@ export class WasmCellChange {
|
|
|
743
774
|
export class WasmChunk {
|
|
744
775
|
free(): void;
|
|
745
776
|
[Symbol.dispose](): void;
|
|
777
|
+
clearLateInteraction(): void;
|
|
778
|
+
clearSparseEmbedding(): void;
|
|
746
779
|
static default(): WasmChunk;
|
|
747
|
-
|
|
780
|
+
/**
|
|
781
|
+
* Takes ownership of `sparseEmbedding`, `lateInteraction`.
|
|
782
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
783
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
784
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
785
|
+
* the generated setter borrows and leaves your handle alive.
|
|
786
|
+
*/
|
|
787
|
+
constructor(content: string, chunkType: WasmChunkType | null | undefined, metadata: WasmChunkMetadata, embedding?: Float32Array | null, sparseEmbedding?: WasmSparseEmbedding | null, lateInteraction?: WasmMultiVectorEmbedding | null);
|
|
748
788
|
get chunkType(): string;
|
|
749
789
|
set chunkType(value: WasmChunkType);
|
|
750
790
|
content: string;
|
|
751
791
|
get embedding(): Float32Array | undefined;
|
|
752
792
|
set embedding(value: Float32Array | null | undefined);
|
|
753
793
|
get lateInteraction(): WasmMultiVectorEmbedding | undefined;
|
|
754
|
-
set lateInteraction(value: WasmMultiVectorEmbedding
|
|
794
|
+
set lateInteraction(value: WasmMultiVectorEmbedding);
|
|
755
795
|
metadata: WasmChunkMetadata;
|
|
756
796
|
get sparseEmbedding(): WasmSparseEmbedding | undefined;
|
|
757
|
-
set sparseEmbedding(value: WasmSparseEmbedding
|
|
797
|
+
set sparseEmbedding(value: WasmSparseEmbedding);
|
|
758
798
|
}
|
|
759
799
|
|
|
760
800
|
/**
|
|
@@ -829,7 +869,15 @@ export class WasmChunkInfo {
|
|
|
829
869
|
export class WasmChunkMetadata {
|
|
830
870
|
free(): void;
|
|
831
871
|
[Symbol.dispose](): void;
|
|
872
|
+
clearHeadingContext(): void;
|
|
832
873
|
static default(): WasmChunkMetadata;
|
|
874
|
+
/**
|
|
875
|
+
* Takes ownership of `headingContext`.
|
|
876
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
877
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
878
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
879
|
+
* the generated setter borrows and leaves your handle alive.
|
|
880
|
+
*/
|
|
833
881
|
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
882
|
byteEnd: number;
|
|
835
883
|
byteStart: number;
|
|
@@ -838,7 +886,7 @@ export class WasmChunkMetadata {
|
|
|
838
886
|
get firstPage(): number | undefined;
|
|
839
887
|
set firstPage(value: number | null | undefined);
|
|
840
888
|
get headingContext(): WasmHeadingContext | undefined;
|
|
841
|
-
set headingContext(value: WasmHeadingContext
|
|
889
|
+
set headingContext(value: WasmHeadingContext);
|
|
842
890
|
headingPath: string[];
|
|
843
891
|
imageIndices: Uint32Array;
|
|
844
892
|
get lastPage(): number | undefined;
|
|
@@ -935,21 +983,31 @@ export enum WasmChunkerType {
|
|
|
935
983
|
export class WasmChunkingConfig {
|
|
936
984
|
free(): void;
|
|
937
985
|
[Symbol.dispose](): void;
|
|
986
|
+
clearEmbedding(): void;
|
|
987
|
+
clearLateInteraction(): void;
|
|
988
|
+
clearSparseEmbedding(): void;
|
|
938
989
|
static default(): WasmChunkingConfig;
|
|
990
|
+
/**
|
|
991
|
+
* Takes ownership of `embedding`, `sparseEmbedding`, `lateInteraction`.
|
|
992
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
993
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
994
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
995
|
+
* the generated setter borrows and leaves your handle alive.
|
|
996
|
+
*/
|
|
939
997
|
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
998
|
get chunkerType(): string;
|
|
941
999
|
set chunkerType(value: WasmChunkerType);
|
|
942
1000
|
get embedding(): WasmEmbeddingConfig | undefined;
|
|
943
|
-
set embedding(value: WasmEmbeddingConfig
|
|
1001
|
+
set embedding(value: WasmEmbeddingConfig);
|
|
944
1002
|
get lateInteraction(): WasmLateInteractionConfig | undefined;
|
|
945
|
-
set lateInteraction(value: WasmLateInteractionConfig
|
|
1003
|
+
set lateInteraction(value: WasmLateInteractionConfig);
|
|
946
1004
|
maxCharacters: number;
|
|
947
1005
|
overlap: number;
|
|
948
1006
|
get preset(): string | undefined;
|
|
949
1007
|
set preset(value: string | null | undefined);
|
|
950
1008
|
sizing: any;
|
|
951
1009
|
get sparseEmbedding(): WasmSparseEmbeddingConfig | undefined;
|
|
952
|
-
set sparseEmbedding(value: WasmSparseEmbeddingConfig
|
|
1010
|
+
set sparseEmbedding(value: WasmSparseEmbeddingConfig);
|
|
953
1011
|
get tableChunking(): string;
|
|
954
1012
|
set tableChunking(value: WasmTableChunkingMode);
|
|
955
1013
|
get topicThreshold(): number | undefined;
|
|
@@ -1003,7 +1061,15 @@ export class WasmCitation {
|
|
|
1003
1061
|
export class WasmCitationMetadata {
|
|
1004
1062
|
free(): void;
|
|
1005
1063
|
[Symbol.dispose](): void;
|
|
1064
|
+
clearYearRange(): void;
|
|
1006
1065
|
static default(): WasmCitationMetadata;
|
|
1066
|
+
/**
|
|
1067
|
+
* Takes ownership of `yearRange`.
|
|
1068
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1069
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1070
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1071
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1072
|
+
*/
|
|
1007
1073
|
constructor(citationCount?: number | null, authors?: string[] | null, dois?: string[] | null, keywords?: string[] | null, format?: string | null, yearRange?: WasmYearRange | null);
|
|
1008
1074
|
authors: string[];
|
|
1009
1075
|
citationCount: number;
|
|
@@ -1012,7 +1078,7 @@ export class WasmCitationMetadata {
|
|
|
1012
1078
|
set format(value: string | null | undefined);
|
|
1013
1079
|
keywords: string[];
|
|
1014
1080
|
get yearRange(): WasmYearRange | undefined;
|
|
1015
|
-
set yearRange(value: WasmYearRange
|
|
1081
|
+
set yearRange(value: WasmYearRange);
|
|
1016
1082
|
}
|
|
1017
1083
|
|
|
1018
1084
|
/**
|
|
@@ -1116,8 +1182,9 @@ export class WasmContentConfig {
|
|
|
1116
1182
|
free(): void;
|
|
1117
1183
|
[Symbol.dispose](): void;
|
|
1118
1184
|
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);
|
|
1185
|
+
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
1186
|
excludeSelectors: string[];
|
|
1187
|
+
extractMetadata: boolean;
|
|
1121
1188
|
includeDocumentStructure: boolean;
|
|
1122
1189
|
get maxDepth(): number | undefined;
|
|
1123
1190
|
set maxDepth(value: number | null | undefined);
|
|
@@ -1198,8 +1265,17 @@ export class WasmConversionOptions {
|
|
|
1198
1265
|
free(): void;
|
|
1199
1266
|
[Symbol.dispose](): void;
|
|
1200
1267
|
static default(): WasmConversionOptions;
|
|
1201
|
-
|
|
1268
|
+
/**
|
|
1269
|
+
* Takes ownership of `preprocessing`.
|
|
1270
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1271
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1272
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1273
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1274
|
+
*/
|
|
1275
|
+
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
1276
|
autolinks: boolean;
|
|
1277
|
+
get baseUrl(): string | undefined;
|
|
1278
|
+
set baseUrl(value: string | null | undefined);
|
|
1203
1279
|
brInTables: boolean;
|
|
1204
1280
|
bullets: string;
|
|
1205
1281
|
captureSvg: boolean;
|
|
@@ -1304,8 +1380,16 @@ export class WasmCoreProperties {
|
|
|
1304
1380
|
export class WasmCrawlConfig {
|
|
1305
1381
|
free(): void;
|
|
1306
1382
|
[Symbol.dispose](): void;
|
|
1383
|
+
clearProxy(): void;
|
|
1307
1384
|
static default(): WasmCrawlConfig;
|
|
1308
|
-
|
|
1385
|
+
/**
|
|
1386
|
+
* Takes ownership of `content`, `browser`, `proxy`, `ssrf`.
|
|
1387
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1388
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1389
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1390
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1391
|
+
*/
|
|
1392
|
+
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
1393
|
allowSubdomains: boolean;
|
|
1310
1394
|
assetTypes: string[];
|
|
1311
1395
|
get auth(): any | undefined;
|
|
@@ -1325,6 +1409,7 @@ export class WasmCrawlConfig {
|
|
|
1325
1409
|
get crawlStrategy(): string;
|
|
1326
1410
|
set crawlStrategy(value: WasmCrawlStrategyKind);
|
|
1327
1411
|
customHeaders: any;
|
|
1412
|
+
dedupIncludeQuery: boolean;
|
|
1328
1413
|
get documentContentEncoding(): string | undefined;
|
|
1329
1414
|
set documentContentEncoding(value: WasmDocumentContentEncoding | null | undefined);
|
|
1330
1415
|
get documentMaxSize(): number | undefined;
|
|
@@ -1356,8 +1441,10 @@ export class WasmCrawlConfig {
|
|
|
1356
1441
|
get maxPages(): number | undefined;
|
|
1357
1442
|
set maxPages(value: number | null | undefined);
|
|
1358
1443
|
maxRedirects: number;
|
|
1444
|
+
pathPatternsMatchQuery: boolean;
|
|
1359
1445
|
get proxy(): WasmProxyConfig | undefined;
|
|
1360
|
-
set proxy(value: WasmProxyConfig
|
|
1446
|
+
set proxy(value: WasmProxyConfig);
|
|
1447
|
+
rateLimitJitterRatio: number;
|
|
1361
1448
|
get rateLimitMs(): bigint | undefined;
|
|
1362
1449
|
set rateLimitMs(value: bigint | null | undefined);
|
|
1363
1450
|
removeTags: string[];
|
|
@@ -1366,12 +1453,16 @@ export class WasmCrawlConfig {
|
|
|
1366
1453
|
respectRobotsTxt: boolean;
|
|
1367
1454
|
retryCodes: Uint16Array;
|
|
1368
1455
|
retryCount: number;
|
|
1456
|
+
retryInitialDelayMs: bigint;
|
|
1457
|
+
retryMaxDelayMs: bigint;
|
|
1369
1458
|
saveBrowserProfile: boolean;
|
|
1370
1459
|
softHttpErrors: boolean;
|
|
1371
1460
|
get ssrfDenyPrivateExplicit(): boolean | undefined;
|
|
1372
1461
|
set ssrfDenyPrivateExplicit(value: boolean | null | undefined);
|
|
1373
1462
|
ssrf: WasmSsrfPolicy;
|
|
1374
1463
|
stayOnDomain: boolean;
|
|
1464
|
+
stripTrackingParams: boolean;
|
|
1465
|
+
trackingParams: string[];
|
|
1375
1466
|
get userAgent(): string | undefined;
|
|
1376
1467
|
set userAgent(value: string | null | undefined);
|
|
1377
1468
|
userAgents: string[];
|
|
@@ -1527,6 +1618,13 @@ export class WasmDjotAttributeGroup {
|
|
|
1527
1618
|
free(): void;
|
|
1528
1619
|
[Symbol.dispose](): void;
|
|
1529
1620
|
static default(): WasmDjotAttributeGroup;
|
|
1621
|
+
/**
|
|
1622
|
+
* Takes ownership of `attributes`.
|
|
1623
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1624
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1625
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1626
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1627
|
+
*/
|
|
1530
1628
|
constructor(identifier?: string | null, attributes?: WasmAttributes | null);
|
|
1531
1629
|
attributes: WasmAttributes;
|
|
1532
1630
|
identifier: string;
|
|
@@ -1566,11 +1664,19 @@ export class WasmDjotContent {
|
|
|
1566
1664
|
export class WasmDjotImage {
|
|
1567
1665
|
free(): void;
|
|
1568
1666
|
[Symbol.dispose](): void;
|
|
1667
|
+
clearAttributes(): void;
|
|
1569
1668
|
static default(): WasmDjotImage;
|
|
1669
|
+
/**
|
|
1670
|
+
* Takes ownership of `attributes`.
|
|
1671
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1672
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1673
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1674
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1675
|
+
*/
|
|
1570
1676
|
constructor(src: string, alt: string, title?: string | null, attributes?: WasmAttributes | null);
|
|
1571
1677
|
alt: string;
|
|
1572
1678
|
get attributes(): WasmAttributes | undefined;
|
|
1573
|
-
set attributes(value: WasmAttributes
|
|
1679
|
+
set attributes(value: WasmAttributes);
|
|
1574
1680
|
src: string;
|
|
1575
1681
|
get title(): string | undefined;
|
|
1576
1682
|
set title(value: string | null | undefined);
|
|
@@ -1582,10 +1688,18 @@ export class WasmDjotImage {
|
|
|
1582
1688
|
export class WasmDjotLink {
|
|
1583
1689
|
free(): void;
|
|
1584
1690
|
[Symbol.dispose](): void;
|
|
1691
|
+
clearAttributes(): void;
|
|
1585
1692
|
static default(): WasmDjotLink;
|
|
1693
|
+
/**
|
|
1694
|
+
* Takes ownership of `attributes`.
|
|
1695
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1696
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1697
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1698
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1699
|
+
*/
|
|
1586
1700
|
constructor(url: string, text: string, title?: string | null, attributes?: WasmAttributes | null);
|
|
1587
1701
|
get attributes(): WasmAttributes | undefined;
|
|
1588
|
-
set attributes(value: WasmAttributes
|
|
1702
|
+
set attributes(value: WasmAttributes);
|
|
1589
1703
|
text: string;
|
|
1590
1704
|
get title(): string | undefined;
|
|
1591
1705
|
set title(value: string | null | undefined);
|
|
@@ -1699,7 +1813,15 @@ export class WasmDocumentCounts {
|
|
|
1699
1813
|
export class WasmDocumentMetadata {
|
|
1700
1814
|
free(): void;
|
|
1701
1815
|
[Symbol.dispose](): void;
|
|
1816
|
+
clearUserChunkConfig(): void;
|
|
1702
1817
|
static default(): WasmDocumentMetadata;
|
|
1818
|
+
/**
|
|
1819
|
+
* Takes ownership of `userChunkConfig`.
|
|
1820
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1821
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1822
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1823
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1824
|
+
*/
|
|
1703
1825
|
constructor(mimeType: string, sizeBytes: bigint, forceOcr: boolean, chunkingEnabled: boolean, pageCount?: number | null, userChunkConfig?: WasmUserChunkConfig | null);
|
|
1704
1826
|
chunkingEnabled: boolean;
|
|
1705
1827
|
forceOcr: boolean;
|
|
@@ -1708,7 +1830,7 @@ export class WasmDocumentMetadata {
|
|
|
1708
1830
|
set pageCount(value: number | null | undefined);
|
|
1709
1831
|
sizeBytes: bigint;
|
|
1710
1832
|
get userChunkConfig(): WasmUserChunkConfig | undefined;
|
|
1711
|
-
set userChunkConfig(value: WasmUserChunkConfig
|
|
1833
|
+
set userChunkConfig(value: WasmUserChunkConfig);
|
|
1712
1834
|
}
|
|
1713
1835
|
|
|
1714
1836
|
/**
|
|
@@ -1720,13 +1842,21 @@ export class WasmDocumentMetadata {
|
|
|
1720
1842
|
export class WasmDocumentNode {
|
|
1721
1843
|
free(): void;
|
|
1722
1844
|
[Symbol.dispose](): void;
|
|
1845
|
+
clearBbox(): void;
|
|
1723
1846
|
static default(): WasmDocumentNode;
|
|
1724
|
-
|
|
1847
|
+
/**
|
|
1848
|
+
* Takes ownership of `bbox`.
|
|
1849
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
1850
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
1851
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
1852
|
+
* the generated setter borrows and leaves your handle alive.
|
|
1853
|
+
*/
|
|
1854
|
+
constructor(id: string, content: any, children: Uint32Array, contentLayer: WasmContentLayer | null | undefined, annotations: WasmTextAnnotation[], parent?: number | null, page?: number | null, pageEnd?: number | null, bbox?: WasmBoundingBox | null, attributes?: any | null);
|
|
1725
1855
|
annotations: WasmTextAnnotation[];
|
|
1726
1856
|
get attributes(): any | undefined;
|
|
1727
1857
|
set attributes(value: any | null | undefined);
|
|
1728
1858
|
get bbox(): WasmBoundingBox | undefined;
|
|
1729
|
-
set bbox(value: WasmBoundingBox
|
|
1859
|
+
set bbox(value: WasmBoundingBox);
|
|
1730
1860
|
children: Uint32Array;
|
|
1731
1861
|
get contentLayer(): string;
|
|
1732
1862
|
set contentLayer(value: WasmContentLayer);
|
|
@@ -1884,12 +2014,21 @@ export class WasmDocxAppProperties {
|
|
|
1884
2014
|
export class WasmDocxMetadata {
|
|
1885
2015
|
free(): void;
|
|
1886
2016
|
[Symbol.dispose](): void;
|
|
2017
|
+
clearAppProperties(): void;
|
|
2018
|
+
clearCoreProperties(): void;
|
|
1887
2019
|
static default(): WasmDocxMetadata;
|
|
2020
|
+
/**
|
|
2021
|
+
* Takes ownership of `coreProperties`, `appProperties`.
|
|
2022
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2023
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2024
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2025
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2026
|
+
*/
|
|
1888
2027
|
constructor(coreProperties?: WasmCoreProperties | null, appProperties?: WasmDocxAppProperties | null, customProperties?: any | null);
|
|
1889
2028
|
get appProperties(): WasmDocxAppProperties | undefined;
|
|
1890
|
-
set appProperties(value: WasmDocxAppProperties
|
|
2029
|
+
set appProperties(value: WasmDocxAppProperties);
|
|
1891
2030
|
get coreProperties(): WasmCoreProperties | undefined;
|
|
1892
|
-
set coreProperties(value: WasmCoreProperties
|
|
2031
|
+
set coreProperties(value: WasmCoreProperties);
|
|
1893
2032
|
get customProperties(): any | undefined;
|
|
1894
2033
|
set customProperties(value: any | null | undefined);
|
|
1895
2034
|
}
|
|
@@ -1918,11 +2057,19 @@ export class WasmElement {
|
|
|
1918
2057
|
export class WasmElementMetadata {
|
|
1919
2058
|
free(): void;
|
|
1920
2059
|
[Symbol.dispose](): void;
|
|
2060
|
+
clearCoordinates(): void;
|
|
1921
2061
|
static default(): WasmElementMetadata;
|
|
2062
|
+
/**
|
|
2063
|
+
* Takes ownership of `coordinates`.
|
|
2064
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2065
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2066
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2067
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2068
|
+
*/
|
|
1922
2069
|
constructor(additional: any, pageNumber?: number | null, filename?: string | null, coordinates?: WasmBoundingBox | null, elementIndex?: number | null);
|
|
1923
2070
|
additional: any;
|
|
1924
2071
|
get coordinates(): WasmBoundingBox | undefined;
|
|
1925
|
-
set coordinates(value: WasmBoundingBox
|
|
2072
|
+
set coordinates(value: WasmBoundingBox);
|
|
1926
2073
|
get elementIndex(): number | undefined;
|
|
1927
2074
|
set elementIndex(value: number | null | undefined);
|
|
1928
2075
|
get filename(): string | undefined;
|
|
@@ -2064,10 +2211,18 @@ export class WasmEmbeddedFile {
|
|
|
2064
2211
|
export class WasmEmbeddingConfig {
|
|
2065
2212
|
free(): void;
|
|
2066
2213
|
[Symbol.dispose](): void;
|
|
2214
|
+
clearAcceleration(): void;
|
|
2067
2215
|
static default(): WasmEmbeddingConfig;
|
|
2216
|
+
/**
|
|
2217
|
+
* Takes ownership of `acceleration`.
|
|
2218
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2219
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2220
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2221
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2222
|
+
*/
|
|
2068
2223
|
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
2224
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
2070
|
-
set acceleration(value: WasmAccelerationConfig
|
|
2225
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
2071
2226
|
batchSize: number;
|
|
2072
2227
|
get cacheDir(): string | undefined;
|
|
2073
2228
|
set cacheDir(value: string | null | undefined);
|
|
@@ -2086,12 +2241,13 @@ export class WasmEmbeddingConfig {
|
|
|
2086
2241
|
export class WasmEmbeddingModelType {
|
|
2087
2242
|
free(): void;
|
|
2088
2243
|
[Symbol.dispose](): void;
|
|
2244
|
+
clearLlm(): void;
|
|
2089
2245
|
static default(): WasmEmbeddingModelType;
|
|
2090
2246
|
constructor();
|
|
2091
2247
|
get dimensions(): number | undefined;
|
|
2092
2248
|
set dimensions(value: number | null | undefined);
|
|
2093
2249
|
get llm(): WasmLlmConfig | undefined;
|
|
2094
|
-
set llm(value: WasmLlmConfig
|
|
2250
|
+
set llm(value: WasmLlmConfig);
|
|
2095
2251
|
get modelId(): string | undefined;
|
|
2096
2252
|
set modelId(value: string | null | undefined);
|
|
2097
2253
|
get name(): string | undefined;
|
|
@@ -2249,12 +2405,38 @@ export enum WasmExecutionProviderType {
|
|
|
2249
2405
|
TensorRt = 4,
|
|
2250
2406
|
}
|
|
2251
2407
|
|
|
2408
|
+
/**
|
|
2409
|
+
* One finding reported by an external content-inspection engine.
|
|
2410
|
+
*
|
|
2411
|
+
* Unknown fields are ignored, so an engine's raw output can be passed as is.
|
|
2412
|
+
* Presidio, AWS Comprehend, Azure Language, and GCP DLP payload fields are
|
|
2413
|
+
* accepted as aliases. GCP's ordered likelihood buckets are normalized to
|
|
2414
|
+
* evenly spaced scores from `0.0` through `1.0`; `LIKELIHOOD_UNSPECIFIED`
|
|
2415
|
+
* maps to `0.5`, matching GCP's documented `POSSIBLE` default.
|
|
2416
|
+
*/
|
|
2417
|
+
export class WasmExternalRedactionFinding {
|
|
2418
|
+
free(): void;
|
|
2419
|
+
[Symbol.dispose](): void;
|
|
2420
|
+
static default(): WasmExternalRedactionFinding;
|
|
2421
|
+
constructor(label?: string | null, text?: string | null, start?: number | null, end?: number | null, score?: number | null);
|
|
2422
|
+
get end(): number | undefined;
|
|
2423
|
+
set end(value: number | null | undefined);
|
|
2424
|
+
label: string;
|
|
2425
|
+
get score(): number | undefined;
|
|
2426
|
+
set score(value: number | null | undefined);
|
|
2427
|
+
get start(): number | undefined;
|
|
2428
|
+
set start(value: number | null | undefined);
|
|
2429
|
+
get text(): string | undefined;
|
|
2430
|
+
set text(value: string | null | undefined);
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2252
2433
|
/**
|
|
2253
2434
|
* Unified extraction input for all public extraction entry points.
|
|
2254
2435
|
*/
|
|
2255
2436
|
export class WasmExtractInput {
|
|
2256
2437
|
free(): void;
|
|
2257
2438
|
[Symbol.dispose](): void;
|
|
2439
|
+
clearConfig(): void;
|
|
2258
2440
|
static default(): WasmExtractInput;
|
|
2259
2441
|
/**
|
|
2260
2442
|
* Build a bytes input with a MIME type and optional filename hint.
|
|
@@ -2264,11 +2446,18 @@ export class WasmExtractInput {
|
|
|
2264
2446
|
* Build a URI input from a local path, `file://` URI, or HTTP(S) URL.
|
|
2265
2447
|
*/
|
|
2266
2448
|
static fromUri(uri: string): WasmExtractInput;
|
|
2449
|
+
/**
|
|
2450
|
+
* Takes ownership of `config`.
|
|
2451
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2452
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2453
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2454
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2455
|
+
*/
|
|
2267
2456
|
constructor(kind?: WasmExtractInputKind | null, bytes?: Uint8Array | null, uri?: string | null, mimeType?: string | null, filename?: string | null, config?: WasmFileExtractionConfig | null);
|
|
2268
2457
|
get bytes(): Uint8Array | undefined;
|
|
2269
2458
|
set bytes(value: Uint8Array | null | undefined);
|
|
2270
2459
|
get config(): WasmFileExtractionConfig | undefined;
|
|
2271
|
-
set config(value: WasmFileExtractionConfig
|
|
2460
|
+
set config(value: WasmFileExtractionConfig);
|
|
2272
2461
|
get filename(): string | undefined;
|
|
2273
2462
|
set filename(value: string | null | undefined);
|
|
2274
2463
|
get kind(): string;
|
|
@@ -2296,7 +2485,20 @@ export enum WasmExtractInputKind {
|
|
|
2296
2485
|
export class WasmExtractedDocument {
|
|
2297
2486
|
free(): void;
|
|
2298
2487
|
[Symbol.dispose](): void;
|
|
2488
|
+
clearDjotContent(): void;
|
|
2489
|
+
clearDocument(): void;
|
|
2490
|
+
clearExtractionConfidence(): void;
|
|
2491
|
+
clearRedactionReport(): void;
|
|
2492
|
+
clearSummary(): void;
|
|
2493
|
+
clearTranslation(): void;
|
|
2299
2494
|
static default(): WasmExtractedDocument;
|
|
2495
|
+
/**
|
|
2496
|
+
* Takes ownership of `metadata`, `counts`, `djotContent`, `document`, `summary`, `extractionConfidence`, `translation`, `redactionReport`.
|
|
2497
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2498
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2499
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2500
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2501
|
+
*/
|
|
2300
2502
|
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
2503
|
get annotations(): Array<any> | undefined;
|
|
2302
2504
|
set annotations(value: WasmPdfAnnotation[] | null | undefined);
|
|
@@ -2311,9 +2513,9 @@ export class WasmExtractedDocument {
|
|
|
2311
2513
|
get detectedLanguages(): string[] | undefined;
|
|
2312
2514
|
set detectedLanguages(value: string[] | null | undefined);
|
|
2313
2515
|
get djotContent(): WasmDjotContent | undefined;
|
|
2314
|
-
set djotContent(value: WasmDjotContent
|
|
2516
|
+
set djotContent(value: WasmDjotContent);
|
|
2315
2517
|
get document(): WasmDocumentStructure | undefined;
|
|
2316
|
-
set document(value: WasmDocumentStructure
|
|
2518
|
+
set document(value: WasmDocumentStructure);
|
|
2317
2519
|
get elements(): Array<any> | undefined;
|
|
2318
2520
|
set elements(value: WasmElement[] | null | undefined);
|
|
2319
2521
|
get entities(): Array<any> | undefined;
|
|
@@ -2321,7 +2523,7 @@ export class WasmExtractedDocument {
|
|
|
2321
2523
|
get extractedKeywords(): Array<any> | undefined;
|
|
2322
2524
|
set extractedKeywords(value: WasmKeyword[] | null | undefined);
|
|
2323
2525
|
get extractionConfidence(): WasmExtractionConfidence | undefined;
|
|
2324
|
-
set extractionConfidence(value: WasmExtractionConfidence
|
|
2526
|
+
set extractionConfidence(value: WasmExtractionConfidence);
|
|
2325
2527
|
get extractionMethod(): string | undefined;
|
|
2326
2528
|
set extractionMethod(value: WasmExtractionMethod | null | undefined);
|
|
2327
2529
|
formFields: WasmPdfFormField[];
|
|
@@ -2342,16 +2544,16 @@ export class WasmExtractedDocument {
|
|
|
2342
2544
|
get qualityScore(): number | undefined;
|
|
2343
2545
|
set qualityScore(value: number | null | undefined);
|
|
2344
2546
|
get redactionReport(): WasmRedactionReport | undefined;
|
|
2345
|
-
set redactionReport(value: WasmRedactionReport
|
|
2547
|
+
set redactionReport(value: WasmRedactionReport);
|
|
2346
2548
|
get revisions(): Array<any> | undefined;
|
|
2347
2549
|
set revisions(value: WasmDocumentRevision[] | null | undefined);
|
|
2348
2550
|
get structuredOutput(): any | undefined;
|
|
2349
2551
|
set structuredOutput(value: any | null | undefined);
|
|
2350
2552
|
get summary(): WasmDocumentSummary | undefined;
|
|
2351
|
-
set summary(value: WasmDocumentSummary
|
|
2553
|
+
set summary(value: WasmDocumentSummary);
|
|
2352
2554
|
tables: WasmTable[];
|
|
2353
2555
|
get translation(): WasmTranslation | undefined;
|
|
2354
|
-
set translation(value: WasmTranslation
|
|
2556
|
+
set translation(value: WasmTranslation);
|
|
2355
2557
|
get uris(): Array<any> | undefined;
|
|
2356
2558
|
set uris(value: WasmExtractedUri[] | null | undefined);
|
|
2357
2559
|
}
|
|
@@ -2366,12 +2568,21 @@ export class WasmExtractedDocument {
|
|
|
2366
2568
|
export class WasmExtractedImage {
|
|
2367
2569
|
free(): void;
|
|
2368
2570
|
[Symbol.dispose](): void;
|
|
2571
|
+
clearBoundingBox(): void;
|
|
2572
|
+
clearOcrResult(): void;
|
|
2369
2573
|
static default(): WasmExtractedImage;
|
|
2574
|
+
/**
|
|
2575
|
+
* Takes ownership of `ocrResult`, `boundingBox`.
|
|
2576
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2577
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2578
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2579
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2580
|
+
*/
|
|
2370
2581
|
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
2582
|
get bitsPerComponent(): number | undefined;
|
|
2372
2583
|
set bitsPerComponent(value: number | null | undefined);
|
|
2373
2584
|
get boundingBox(): WasmBoundingBox | undefined;
|
|
2374
|
-
set boundingBox(value: WasmBoundingBox
|
|
2585
|
+
set boundingBox(value: WasmBoundingBox);
|
|
2375
2586
|
get caption(): string | undefined;
|
|
2376
2587
|
set caption(value: string | null | undefined);
|
|
2377
2588
|
get clusterId(): number | undefined;
|
|
@@ -2393,7 +2604,7 @@ export class WasmExtractedImage {
|
|
|
2393
2604
|
get kindConfidence(): number | undefined;
|
|
2394
2605
|
set kindConfidence(value: number | null | undefined);
|
|
2395
2606
|
get ocrResult(): WasmExtractedDocument | undefined;
|
|
2396
|
-
set ocrResult(value: WasmExtractedDocument
|
|
2607
|
+
set ocrResult(value: WasmExtractedDocument);
|
|
2397
2608
|
get pageNumber(): number | undefined;
|
|
2398
2609
|
set pageNumber(value: number | null | undefined);
|
|
2399
2610
|
get qrCodes(): Array<any> | undefined;
|
|
@@ -2455,6 +2666,34 @@ export class WasmExtractionConfidence {
|
|
|
2455
2666
|
export class WasmExtractionConfig {
|
|
2456
2667
|
free(): void;
|
|
2457
2668
|
[Symbol.dispose](): void;
|
|
2669
|
+
clearAcceleration(): void;
|
|
2670
|
+
clearCaptioning(): void;
|
|
2671
|
+
clearChunkClassification(): void;
|
|
2672
|
+
clearChunking(): void;
|
|
2673
|
+
clearConcurrency(): void;
|
|
2674
|
+
clearContentFilter(): void;
|
|
2675
|
+
clearCsv(): void;
|
|
2676
|
+
clearEmail(): void;
|
|
2677
|
+
clearGeojson(): void;
|
|
2678
|
+
clearHtmlOptions(): void;
|
|
2679
|
+
clearHtmlOutput(): void;
|
|
2680
|
+
clearImages(): void;
|
|
2681
|
+
clearKeywords(): void;
|
|
2682
|
+
clearLanguageDetection(): void;
|
|
2683
|
+
clearLayout(): void;
|
|
2684
|
+
clearNer(): void;
|
|
2685
|
+
clearOcr(): void;
|
|
2686
|
+
clearPageClassification(): void;
|
|
2687
|
+
clearPages(): void;
|
|
2688
|
+
clearPdfOptions(): void;
|
|
2689
|
+
clearPostprocessor(): void;
|
|
2690
|
+
clearRedaction(): void;
|
|
2691
|
+
clearSecurityLimits(): void;
|
|
2692
|
+
clearStructuredExtraction(): void;
|
|
2693
|
+
clearSummarization(): void;
|
|
2694
|
+
clearTokenReduction(): void;
|
|
2695
|
+
clearTranscription(): void;
|
|
2696
|
+
clearTranslation(): void;
|
|
2458
2697
|
/**
|
|
2459
2698
|
* Default `Self.max_archive_depth`: 3 levels of nested archives.
|
|
2460
2699
|
*
|
|
@@ -2527,6 +2766,13 @@ export class WasmExtractionConfig {
|
|
|
2527
2766
|
* image I/O and processing when results won't be used.
|
|
2528
2767
|
*/
|
|
2529
2768
|
needsImageProcessing(): boolean;
|
|
2769
|
+
/**
|
|
2770
|
+
* 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`.
|
|
2771
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2772
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2773
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2774
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2775
|
+
*/
|
|
2530
2776
|
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
2777
|
/**
|
|
2532
2778
|
* Whether embedded images get OCR'd.
|
|
@@ -2567,7 +2813,7 @@ export class WasmExtractionConfig {
|
|
|
2567
2813
|
* - `keywords`: the n-gram range contains positive, ordered bounds and `min_score` is a
|
|
2568
2814
|
* finite `[0.0, 1.0]` value.
|
|
2569
2815
|
* - `layout`: `confidence_threshold`, when set, is a finite `[0.0, 1.0]` value.
|
|
2570
|
-
* - `redaction`: custom terms
|
|
2816
|
+
* - `redaction`: custom terms, patterns, and external findings are valid.
|
|
2571
2817
|
* - `pdf_options`: hierarchy cluster counts and margin fractions are in their supported ranges.
|
|
2572
2818
|
* - every nested LLM config: sampling ranges and target-specific authentication support.
|
|
2573
2819
|
*
|
|
@@ -2596,27 +2842,27 @@ export class WasmExtractionConfig {
|
|
|
2596
2842
|
*/
|
|
2597
2843
|
wantsOwnBytesInResult(): boolean;
|
|
2598
2844
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
2599
|
-
set acceleration(value: WasmAccelerationConfig
|
|
2845
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
2600
2846
|
applyNotebookCellTags: boolean;
|
|
2601
2847
|
get cacheNamespace(): string | undefined;
|
|
2602
2848
|
set cacheNamespace(value: string | null | undefined);
|
|
2603
2849
|
get cacheTtlSecs(): bigint | undefined;
|
|
2604
2850
|
set cacheTtlSecs(value: bigint | null | undefined);
|
|
2605
2851
|
get captioning(): WasmCaptioningConfig | undefined;
|
|
2606
|
-
set captioning(value: WasmCaptioningConfig
|
|
2852
|
+
set captioning(value: WasmCaptioningConfig);
|
|
2607
2853
|
get chunkClassification(): WasmChunkClassificationConfig | undefined;
|
|
2608
|
-
set chunkClassification(value: WasmChunkClassificationConfig
|
|
2854
|
+
set chunkClassification(value: WasmChunkClassificationConfig);
|
|
2609
2855
|
get chunking(): WasmChunkingConfig | undefined;
|
|
2610
|
-
set chunking(value: WasmChunkingConfig
|
|
2856
|
+
set chunking(value: WasmChunkingConfig);
|
|
2611
2857
|
get concurrency(): WasmConcurrencyConfig | undefined;
|
|
2612
|
-
set concurrency(value: WasmConcurrencyConfig
|
|
2858
|
+
set concurrency(value: WasmConcurrencyConfig);
|
|
2613
2859
|
get contentFilter(): WasmContentFilterConfig | undefined;
|
|
2614
|
-
set contentFilter(value: WasmContentFilterConfig
|
|
2860
|
+
set contentFilter(value: WasmContentFilterConfig);
|
|
2615
2861
|
get csv(): WasmCsvConfig | undefined;
|
|
2616
|
-
set csv(value: WasmCsvConfig
|
|
2862
|
+
set csv(value: WasmCsvConfig);
|
|
2617
2863
|
disableOcr: boolean;
|
|
2618
2864
|
get email(): WasmEmailConfig | undefined;
|
|
2619
|
-
set email(value: WasmEmailConfig
|
|
2865
|
+
set email(value: WasmEmailConfig);
|
|
2620
2866
|
enableQualityProcessing: boolean;
|
|
2621
2867
|
escapeMarkdown: boolean;
|
|
2622
2868
|
get extractionTimeoutSecs(): bigint | undefined;
|
|
@@ -2625,22 +2871,22 @@ export class WasmExtractionConfig {
|
|
|
2625
2871
|
set forceOcrPages(value: Uint32Array | null | undefined);
|
|
2626
2872
|
forceOcr: boolean;
|
|
2627
2873
|
get geojson(): WasmGeoJsonExtractionConfig | undefined;
|
|
2628
|
-
set geojson(value: WasmGeoJsonExtractionConfig
|
|
2874
|
+
set geojson(value: WasmGeoJsonExtractionConfig);
|
|
2629
2875
|
get htmlOptions(): WasmConversionOptions | undefined;
|
|
2630
|
-
set htmlOptions(value: WasmConversionOptions
|
|
2876
|
+
set htmlOptions(value: WasmConversionOptions);
|
|
2631
2877
|
get htmlOutput(): WasmHtmlOutputConfig | undefined;
|
|
2632
|
-
set htmlOutput(value: WasmHtmlOutputConfig
|
|
2878
|
+
set htmlOutput(value: WasmHtmlOutputConfig);
|
|
2633
2879
|
get images(): WasmImageExtractionConfig | undefined;
|
|
2634
|
-
set images(value: WasmImageExtractionConfig
|
|
2880
|
+
set images(value: WasmImageExtractionConfig);
|
|
2635
2881
|
includeDocumentStructure: boolean;
|
|
2636
2882
|
get jupyterCellRendering(): string;
|
|
2637
2883
|
set jupyterCellRendering(value: WasmJupyterCellRendering);
|
|
2638
2884
|
get keywords(): WasmKeywordConfig | undefined;
|
|
2639
|
-
set keywords(value: WasmKeywordConfig
|
|
2885
|
+
set keywords(value: WasmKeywordConfig);
|
|
2640
2886
|
get languageDetection(): WasmLanguageDetectionConfig | undefined;
|
|
2641
|
-
set languageDetection(value: WasmLanguageDetectionConfig
|
|
2887
|
+
set languageDetection(value: WasmLanguageDetectionConfig);
|
|
2642
2888
|
get layout(): WasmLayoutDetectionConfig | undefined;
|
|
2643
|
-
set layout(value: WasmLayoutDetectionConfig
|
|
2889
|
+
set layout(value: WasmLayoutDetectionConfig);
|
|
2644
2890
|
maxArchiveDepth: number;
|
|
2645
2891
|
get maxConcurrentExtractions(): number | undefined;
|
|
2646
2892
|
set maxConcurrentExtractions(value: number | null | undefined);
|
|
@@ -2649,7 +2895,7 @@ export class WasmExtractionConfig {
|
|
|
2649
2895
|
get mimeDetectionPolicy(): string;
|
|
2650
2896
|
set mimeDetectionPolicy(value: WasmMimeDetectionPolicy);
|
|
2651
2897
|
get ner(): WasmNerConfig | undefined;
|
|
2652
|
-
set ner(value: WasmNerConfig
|
|
2898
|
+
set ner(value: WasmNerConfig);
|
|
2653
2899
|
get ocrEmbeddedImages(): boolean | undefined;
|
|
2654
2900
|
set ocrEmbeddedImages(value: boolean | null | undefined);
|
|
2655
2901
|
get ocrNearEmptyFallback(): boolean | undefined;
|
|
@@ -2658,35 +2904,35 @@ export class WasmExtractionConfig {
|
|
|
2658
2904
|
set ocrScannedPageQualityGate(value: boolean | null | undefined);
|
|
2659
2905
|
ocrStrategy: any;
|
|
2660
2906
|
get ocr(): WasmOcrConfig | undefined;
|
|
2661
|
-
set ocr(value: WasmOcrConfig
|
|
2907
|
+
set ocr(value: WasmOcrConfig);
|
|
2662
2908
|
outputFormat: WasmOutputFormat;
|
|
2663
2909
|
get pageClassification(): WasmPageClassificationConfig | undefined;
|
|
2664
|
-
set pageClassification(value: WasmPageClassificationConfig
|
|
2910
|
+
set pageClassification(value: WasmPageClassificationConfig);
|
|
2665
2911
|
get pages(): WasmPageConfig | undefined;
|
|
2666
|
-
set pages(value: WasmPageConfig
|
|
2912
|
+
set pages(value: WasmPageConfig);
|
|
2667
2913
|
get pdfOptions(): WasmPdfConfig | undefined;
|
|
2668
|
-
set pdfOptions(value: WasmPdfConfig
|
|
2914
|
+
set pdfOptions(value: WasmPdfConfig);
|
|
2669
2915
|
get postprocessor(): WasmPostProcessorConfig | undefined;
|
|
2670
|
-
set postprocessor(value: WasmPostProcessorConfig
|
|
2916
|
+
set postprocessor(value: WasmPostProcessorConfig);
|
|
2671
2917
|
get qrCodes(): boolean | undefined;
|
|
2672
2918
|
set qrCodes(value: boolean | null | undefined);
|
|
2673
2919
|
get redaction(): WasmRedactionConfig | undefined;
|
|
2674
|
-
set redaction(value: WasmRedactionConfig
|
|
2920
|
+
set redaction(value: WasmRedactionConfig);
|
|
2675
2921
|
get resultFormat(): string;
|
|
2676
2922
|
set resultFormat(value: WasmResultFormat);
|
|
2677
2923
|
get securityLimits(): WasmSecurityLimits | undefined;
|
|
2678
|
-
set securityLimits(value: WasmSecurityLimits
|
|
2924
|
+
set securityLimits(value: WasmSecurityLimits);
|
|
2679
2925
|
get structuredExtraction(): WasmStructuredExtractionConfig | undefined;
|
|
2680
|
-
set structuredExtraction(value: WasmStructuredExtractionConfig
|
|
2926
|
+
set structuredExtraction(value: WasmStructuredExtractionConfig);
|
|
2681
2927
|
get summarization(): WasmSummarizationConfig | undefined;
|
|
2682
|
-
set summarization(value: WasmSummarizationConfig
|
|
2928
|
+
set summarization(value: WasmSummarizationConfig);
|
|
2683
2929
|
tableAnchors: boolean;
|
|
2684
2930
|
get tokenReduction(): WasmTokenReductionOptions | undefined;
|
|
2685
|
-
set tokenReduction(value: WasmTokenReductionOptions
|
|
2931
|
+
set tokenReduction(value: WasmTokenReductionOptions);
|
|
2686
2932
|
get transcription(): WasmTranscriptionConfig | undefined;
|
|
2687
|
-
set transcription(value: WasmTranscriptionConfig
|
|
2933
|
+
set transcription(value: WasmTranscriptionConfig);
|
|
2688
2934
|
get translation(): WasmTranslationConfig | undefined;
|
|
2689
|
-
set translation(value: WasmTranslationConfig
|
|
2935
|
+
set translation(value: WasmTranslationConfig);
|
|
2690
2936
|
url: WasmUrlExtractionConfig;
|
|
2691
2937
|
useCache: boolean;
|
|
2692
2938
|
useLayoutForMarkdown: boolean;
|
|
@@ -2723,6 +2969,13 @@ export class WasmExtractionResult {
|
|
|
2723
2969
|
free(): void;
|
|
2724
2970
|
[Symbol.dispose](): void;
|
|
2725
2971
|
static default(): WasmExtractionResult;
|
|
2972
|
+
/**
|
|
2973
|
+
* Takes ownership of `summary`.
|
|
2974
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
2975
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
2976
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
2977
|
+
* the generated setter borrows and leaves your handle alive.
|
|
2978
|
+
*/
|
|
2726
2979
|
constructor(results?: WasmExtractedDocument[] | null, errors?: WasmExtractionErrorItem[] | null, summary?: WasmExtractionSummary | null, crawlFinalUrls?: string[] | null, crawlRedirectCount?: number | null, crawlUniqueNormalizedUrls?: string[] | null);
|
|
2727
2980
|
/**
|
|
2728
2981
|
* Build an output containing one successful result.
|
|
@@ -2787,16 +3040,46 @@ export class WasmFictionBookMetadata {
|
|
|
2787
3040
|
export class WasmFileExtractionConfig {
|
|
2788
3041
|
free(): void;
|
|
2789
3042
|
[Symbol.dispose](): void;
|
|
3043
|
+
clearCaptioning(): void;
|
|
3044
|
+
clearChunkClassification(): void;
|
|
3045
|
+
clearChunking(): void;
|
|
3046
|
+
clearContentFilter(): void;
|
|
3047
|
+
clearHtmlOptions(): void;
|
|
3048
|
+
clearHtmlOutput(): void;
|
|
3049
|
+
clearImages(): void;
|
|
3050
|
+
clearKeywords(): void;
|
|
3051
|
+
clearLanguageDetection(): void;
|
|
3052
|
+
clearLayout(): void;
|
|
3053
|
+
clearNer(): void;
|
|
3054
|
+
clearOcr(): void;
|
|
3055
|
+
clearPageClassification(): void;
|
|
3056
|
+
clearPages(): void;
|
|
3057
|
+
clearPdfOptions(): void;
|
|
3058
|
+
clearPostprocessor(): void;
|
|
3059
|
+
clearRedaction(): void;
|
|
3060
|
+
clearStructuredExtraction(): void;
|
|
3061
|
+
clearSummarization(): void;
|
|
3062
|
+
clearTokenReduction(): void;
|
|
3063
|
+
clearTranscription(): void;
|
|
3064
|
+
clearTranslation(): void;
|
|
3065
|
+
clearUrl(): void;
|
|
2790
3066
|
static default(): WasmFileExtractionConfig;
|
|
3067
|
+
/**
|
|
3068
|
+
* 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`.
|
|
3069
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3070
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3071
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3072
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3073
|
+
*/
|
|
2791
3074
|
constructor(mimeDetectionPolicy?: WasmMimeDetectionPolicy | null, enableQualityProcessing?: boolean | null, ocr?: WasmOcrConfig | null, forceOcr?: boolean | null, ocrStrategy?: any | null, forceOcrPages?: Uint32Array | null, disableOcr?: boolean | null, chunking?: WasmChunkingConfig | null, contentFilter?: WasmContentFilterConfig | null, images?: WasmImageExtractionConfig | null, pdfOptions?: WasmPdfConfig | null, tokenReduction?: WasmTokenReductionOptions | null, languageDetection?: WasmLanguageDetectionConfig | null, pages?: WasmPageConfig | null, keywords?: WasmKeywordConfig | null, postprocessor?: WasmPostProcessorConfig | null, htmlOptions?: WasmConversionOptions | null, htmlOutput?: WasmHtmlOutputConfig | null, resultFormat?: WasmResultFormat | null, outputFormat?: any | null, includeDocumentStructure?: boolean | null, layout?: WasmLayoutDetectionConfig | null, transcription?: WasmTranscriptionConfig | null, timeoutSecs?: bigint | null, structuredExtraction?: WasmStructuredExtractionConfig | null, url?: WasmUrlExtractionConfig | null, ner?: WasmNerConfig | null, redaction?: WasmRedactionConfig | null, summarization?: WasmSummarizationConfig | null, translation?: WasmTranslationConfig | null, pageClassification?: WasmPageClassificationConfig | null, chunkClassification?: WasmChunkClassificationConfig | null, captioning?: WasmCaptioningConfig | null, qrCodes?: boolean | null);
|
|
2792
3075
|
get captioning(): WasmCaptioningConfig | undefined;
|
|
2793
|
-
set captioning(value: WasmCaptioningConfig
|
|
3076
|
+
set captioning(value: WasmCaptioningConfig);
|
|
2794
3077
|
get chunkClassification(): WasmChunkClassificationConfig | undefined;
|
|
2795
|
-
set chunkClassification(value: WasmChunkClassificationConfig
|
|
3078
|
+
set chunkClassification(value: WasmChunkClassificationConfig);
|
|
2796
3079
|
get chunking(): WasmChunkingConfig | undefined;
|
|
2797
|
-
set chunking(value: WasmChunkingConfig
|
|
3080
|
+
set chunking(value: WasmChunkingConfig);
|
|
2798
3081
|
get contentFilter(): WasmContentFilterConfig | undefined;
|
|
2799
|
-
set contentFilter(value: WasmContentFilterConfig
|
|
3082
|
+
set contentFilter(value: WasmContentFilterConfig);
|
|
2800
3083
|
get disableOcr(): boolean | undefined;
|
|
2801
3084
|
set disableOcr(value: boolean | null | undefined);
|
|
2802
3085
|
get enableQualityProcessing(): boolean | undefined;
|
|
@@ -2806,57 +3089,57 @@ export class WasmFileExtractionConfig {
|
|
|
2806
3089
|
get forceOcr(): boolean | undefined;
|
|
2807
3090
|
set forceOcr(value: boolean | null | undefined);
|
|
2808
3091
|
get htmlOptions(): WasmConversionOptions | undefined;
|
|
2809
|
-
set htmlOptions(value: WasmConversionOptions
|
|
3092
|
+
set htmlOptions(value: WasmConversionOptions);
|
|
2810
3093
|
get htmlOutput(): WasmHtmlOutputConfig | undefined;
|
|
2811
|
-
set htmlOutput(value: WasmHtmlOutputConfig
|
|
3094
|
+
set htmlOutput(value: WasmHtmlOutputConfig);
|
|
2812
3095
|
get images(): WasmImageExtractionConfig | undefined;
|
|
2813
|
-
set images(value: WasmImageExtractionConfig
|
|
3096
|
+
set images(value: WasmImageExtractionConfig);
|
|
2814
3097
|
get includeDocumentStructure(): boolean | undefined;
|
|
2815
3098
|
set includeDocumentStructure(value: boolean | null | undefined);
|
|
2816
3099
|
get keywords(): WasmKeywordConfig | undefined;
|
|
2817
|
-
set keywords(value: WasmKeywordConfig
|
|
3100
|
+
set keywords(value: WasmKeywordConfig);
|
|
2818
3101
|
get languageDetection(): WasmLanguageDetectionConfig | undefined;
|
|
2819
|
-
set languageDetection(value: WasmLanguageDetectionConfig
|
|
3102
|
+
set languageDetection(value: WasmLanguageDetectionConfig);
|
|
2820
3103
|
get layout(): WasmLayoutDetectionConfig | undefined;
|
|
2821
|
-
set layout(value: WasmLayoutDetectionConfig
|
|
3104
|
+
set layout(value: WasmLayoutDetectionConfig);
|
|
2822
3105
|
get mimeDetectionPolicy(): string | undefined;
|
|
2823
3106
|
set mimeDetectionPolicy(value: WasmMimeDetectionPolicy | null | undefined);
|
|
2824
3107
|
get ner(): WasmNerConfig | undefined;
|
|
2825
|
-
set ner(value: WasmNerConfig
|
|
3108
|
+
set ner(value: WasmNerConfig);
|
|
2826
3109
|
get ocrStrategy(): any | undefined;
|
|
2827
3110
|
set ocrStrategy(value: any | null | undefined);
|
|
2828
3111
|
get ocr(): WasmOcrConfig | undefined;
|
|
2829
|
-
set ocr(value: WasmOcrConfig
|
|
3112
|
+
set ocr(value: WasmOcrConfig);
|
|
2830
3113
|
get outputFormat(): WasmOutputFormat | undefined;
|
|
2831
3114
|
set outputFormat(value: WasmOutputFormat | null | undefined);
|
|
2832
3115
|
get pageClassification(): WasmPageClassificationConfig | undefined;
|
|
2833
|
-
set pageClassification(value: WasmPageClassificationConfig
|
|
3116
|
+
set pageClassification(value: WasmPageClassificationConfig);
|
|
2834
3117
|
get pages(): WasmPageConfig | undefined;
|
|
2835
|
-
set pages(value: WasmPageConfig
|
|
3118
|
+
set pages(value: WasmPageConfig);
|
|
2836
3119
|
get pdfOptions(): WasmPdfConfig | undefined;
|
|
2837
|
-
set pdfOptions(value: WasmPdfConfig
|
|
3120
|
+
set pdfOptions(value: WasmPdfConfig);
|
|
2838
3121
|
get postprocessor(): WasmPostProcessorConfig | undefined;
|
|
2839
|
-
set postprocessor(value: WasmPostProcessorConfig
|
|
3122
|
+
set postprocessor(value: WasmPostProcessorConfig);
|
|
2840
3123
|
get qrCodes(): boolean | undefined;
|
|
2841
3124
|
set qrCodes(value: boolean | null | undefined);
|
|
2842
3125
|
get redaction(): WasmRedactionConfig | undefined;
|
|
2843
|
-
set redaction(value: WasmRedactionConfig
|
|
3126
|
+
set redaction(value: WasmRedactionConfig);
|
|
2844
3127
|
get resultFormat(): string | undefined;
|
|
2845
3128
|
set resultFormat(value: WasmResultFormat | null | undefined);
|
|
2846
3129
|
get structuredExtraction(): WasmStructuredExtractionConfig | undefined;
|
|
2847
|
-
set structuredExtraction(value: WasmStructuredExtractionConfig
|
|
3130
|
+
set structuredExtraction(value: WasmStructuredExtractionConfig);
|
|
2848
3131
|
get summarization(): WasmSummarizationConfig | undefined;
|
|
2849
|
-
set summarization(value: WasmSummarizationConfig
|
|
3132
|
+
set summarization(value: WasmSummarizationConfig);
|
|
2850
3133
|
get timeoutSecs(): bigint | undefined;
|
|
2851
3134
|
set timeoutSecs(value: bigint | null | undefined);
|
|
2852
3135
|
get tokenReduction(): WasmTokenReductionOptions | undefined;
|
|
2853
|
-
set tokenReduction(value: WasmTokenReductionOptions
|
|
3136
|
+
set tokenReduction(value: WasmTokenReductionOptions);
|
|
2854
3137
|
get transcription(): WasmTranscriptionConfig | undefined;
|
|
2855
|
-
set transcription(value: WasmTranscriptionConfig
|
|
3138
|
+
set transcription(value: WasmTranscriptionConfig);
|
|
2856
3139
|
get translation(): WasmTranslationConfig | undefined;
|
|
2857
|
-
set translation(value: WasmTranslationConfig
|
|
3140
|
+
set translation(value: WasmTranslationConfig);
|
|
2858
3141
|
get url(): WasmUrlExtractionConfig | undefined;
|
|
2859
|
-
set url(value: WasmUrlExtractionConfig
|
|
3142
|
+
set url(value: WasmUrlExtractionConfig);
|
|
2860
3143
|
}
|
|
2861
3144
|
|
|
2862
3145
|
/**
|
|
@@ -2939,10 +3222,18 @@ export enum WasmFormFieldType {
|
|
|
2939
3222
|
export class WasmFormattedBlock {
|
|
2940
3223
|
free(): void;
|
|
2941
3224
|
[Symbol.dispose](): void;
|
|
3225
|
+
clearAttributes(): void;
|
|
2942
3226
|
static default(): WasmFormattedBlock;
|
|
3227
|
+
/**
|
|
3228
|
+
* Takes ownership of `attributes`.
|
|
3229
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3230
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3231
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3232
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3233
|
+
*/
|
|
2943
3234
|
constructor(blockType: WasmBlockType, inlineContent: WasmInlineElement[], children: WasmFormattedBlock[], level?: number | null, attributes?: WasmAttributes | null, language?: string | null, code?: string | null);
|
|
2944
3235
|
get attributes(): WasmAttributes | undefined;
|
|
2945
|
-
set attributes(value: WasmAttributes
|
|
3236
|
+
set attributes(value: WasmAttributes);
|
|
2946
3237
|
get blockType(): string;
|
|
2947
3238
|
set blockType(value: WasmBlockType);
|
|
2948
3239
|
children: WasmFormattedBlock[];
|
|
@@ -2968,10 +3259,18 @@ export class WasmFormattedBlock {
|
|
|
2968
3259
|
export class WasmFormula {
|
|
2969
3260
|
free(): void;
|
|
2970
3261
|
[Symbol.dispose](): void;
|
|
3262
|
+
clearBbox(): void;
|
|
2971
3263
|
static default(): WasmFormula;
|
|
3264
|
+
/**
|
|
3265
|
+
* Takes ownership of `bbox`.
|
|
3266
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3267
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3268
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3269
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3270
|
+
*/
|
|
2972
3271
|
constructor(latex: string, bbox?: WasmBoundingBox | null, page?: number | null);
|
|
2973
3272
|
get bbox(): WasmBoundingBox | undefined;
|
|
2974
|
-
set bbox(value: WasmBoundingBox
|
|
3273
|
+
set bbox(value: WasmBoundingBox);
|
|
2975
3274
|
latex: string;
|
|
2976
3275
|
get page(): number | undefined;
|
|
2977
3276
|
set page(value: number | null | undefined);
|
|
@@ -3006,10 +3305,18 @@ export class WasmGeoJsonExtractionConfig {
|
|
|
3006
3305
|
export class WasmGridCell {
|
|
3007
3306
|
free(): void;
|
|
3008
3307
|
[Symbol.dispose](): void;
|
|
3308
|
+
clearBbox(): void;
|
|
3009
3309
|
static default(): WasmGridCell;
|
|
3310
|
+
/**
|
|
3311
|
+
* Takes ownership of `bbox`.
|
|
3312
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3313
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3314
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3315
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3316
|
+
*/
|
|
3010
3317
|
constructor(content: string, row: number, col: number, rowSpan: number, colSpan: number, isHeader: boolean, bbox?: WasmBoundingBox | null, headingLevel?: number | null, styleName?: string | null);
|
|
3011
3318
|
get bbox(): WasmBoundingBox | undefined;
|
|
3012
|
-
set bbox(value: WasmBoundingBox
|
|
3319
|
+
set bbox(value: WasmBoundingBox);
|
|
3013
3320
|
colSpan: number;
|
|
3014
3321
|
col: number;
|
|
3015
3322
|
content: string;
|
|
@@ -3112,10 +3419,18 @@ export class WasmHeuristicsConfig {
|
|
|
3112
3419
|
export class WasmHierarchicalBlock {
|
|
3113
3420
|
free(): void;
|
|
3114
3421
|
[Symbol.dispose](): void;
|
|
3422
|
+
clearBbox(): void;
|
|
3115
3423
|
static default(): WasmHierarchicalBlock;
|
|
3424
|
+
/**
|
|
3425
|
+
* Takes ownership of `bbox`.
|
|
3426
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3427
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3428
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3429
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3430
|
+
*/
|
|
3116
3431
|
constructor(text: string, fontSize: number, level: string, bbox?: WasmHierarchicalBoundingBox | null);
|
|
3117
3432
|
get bbox(): WasmHierarchicalBoundingBox | undefined;
|
|
3118
|
-
set bbox(value: WasmHierarchicalBoundingBox
|
|
3433
|
+
set bbox(value: WasmHierarchicalBoundingBox);
|
|
3119
3434
|
fontSize: number;
|
|
3120
3435
|
level: string;
|
|
3121
3436
|
text: string;
|
|
@@ -3307,6 +3622,13 @@ export class WasmImageExtractionConfig {
|
|
|
3307
3622
|
free(): void;
|
|
3308
3623
|
[Symbol.dispose](): void;
|
|
3309
3624
|
static default(): WasmImageExtractionConfig;
|
|
3625
|
+
/**
|
|
3626
|
+
* Takes ownership of `svg`.
|
|
3627
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3628
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3629
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3630
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3631
|
+
*/
|
|
3310
3632
|
constructor(extractImages?: boolean | null, targetDpi?: number | null, maxImageDimension?: number | null, injectPlaceholders?: boolean | null, autoAdjustDpi?: boolean | null, minDpi?: number | null, maxDpi?: number | null, classify?: boolean | null, includePageRasters?: boolean | null, runOcrOnImages?: boolean | null, ocrTextOnly?: boolean | null, appendOcrText?: boolean | null, outputFormat?: any | null, svg?: WasmSvgOptions | null, includeDataBase64?: boolean | null, maxImagesPerPage?: number | null);
|
|
3311
3633
|
appendOcrText: boolean;
|
|
3312
3634
|
autoAdjustDpi: boolean;
|
|
@@ -3367,13 +3689,21 @@ export class WasmImageMetadata {
|
|
|
3367
3689
|
export class WasmImageMetadataType {
|
|
3368
3690
|
free(): void;
|
|
3369
3691
|
[Symbol.dispose](): void;
|
|
3692
|
+
clearDimensions(): void;
|
|
3370
3693
|
static default(): WasmImageMetadataType;
|
|
3694
|
+
/**
|
|
3695
|
+
* Takes ownership of `dimensions`.
|
|
3696
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3697
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3698
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3699
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3700
|
+
*/
|
|
3371
3701
|
constructor(src: string, imageType: WasmImageType, attributes: WasmKeyValueAttribute[], alt?: string | null, title?: string | null, dimensions?: WasmImageDimensions | null);
|
|
3372
3702
|
get alt(): string | undefined;
|
|
3373
3703
|
set alt(value: string | null | undefined);
|
|
3374
3704
|
attributes: WasmKeyValueAttribute[];
|
|
3375
3705
|
get dimensions(): WasmImageDimensions | undefined;
|
|
3376
|
-
set dimensions(value: WasmImageDimensions
|
|
3706
|
+
set dimensions(value: WasmImageDimensions);
|
|
3377
3707
|
get imageType(): string;
|
|
3378
3708
|
set imageType(value: WasmImageType);
|
|
3379
3709
|
src: string;
|
|
@@ -3419,20 +3749,29 @@ export class WasmImagePreprocessingConfig {
|
|
|
3419
3749
|
free(): void;
|
|
3420
3750
|
[Symbol.dispose](): void;
|
|
3421
3751
|
static default(): WasmImagePreprocessingConfig;
|
|
3422
|
-
constructor(targetDpi?: number | null, autoRotate?: boolean | null, deskew?: boolean | null, denoise?: boolean | null, contrastEnhance?: boolean | null, binarizationMethod?: string | null, invertColors?: boolean | null);
|
|
3752
|
+
constructor(targetDpi?: number | null, autoRotate?: boolean | null, deskew?: boolean | null, denoise?: boolean | null, contrastEnhance?: boolean | null, binarizationMethod?: string | null, invertColors?: boolean | null, normalizeShadedRows?: boolean | null);
|
|
3423
3753
|
autoRotate: boolean;
|
|
3424
3754
|
binarizationMethod: string;
|
|
3425
3755
|
contrastEnhance: boolean;
|
|
3426
3756
|
denoise: boolean;
|
|
3427
3757
|
deskew: boolean;
|
|
3428
3758
|
invertColors: boolean;
|
|
3759
|
+
normalizeShadedRows: boolean;
|
|
3429
3760
|
targetDpi: number;
|
|
3430
3761
|
}
|
|
3431
3762
|
|
|
3432
3763
|
export class WasmImagePreprocessingMetadata {
|
|
3433
3764
|
free(): void;
|
|
3434
3765
|
[Symbol.dispose](): void;
|
|
3766
|
+
clearNewDimensions(): void;
|
|
3435
3767
|
static default(): WasmImagePreprocessingMetadata;
|
|
3768
|
+
/**
|
|
3769
|
+
* Takes ownership of `newDimensions`.
|
|
3770
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3771
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3772
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3773
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3774
|
+
*/
|
|
3436
3775
|
constructor(originalDimensions: WasmPixelDimensions, originalDpi: WasmImageDpi, targetDpi: number, scaleFactor: number, autoAdjusted: boolean, finalDpi: number, resampleMethod: string, dimensionClamped: boolean, skippedResize: boolean, newDimensions?: WasmPixelDimensions | null, calculatedDpi?: number | null, resizeError?: string | null);
|
|
3437
3776
|
autoAdjusted: boolean;
|
|
3438
3777
|
get calculatedDpi(): number | undefined;
|
|
@@ -3440,7 +3779,7 @@ export class WasmImagePreprocessingMetadata {
|
|
|
3440
3779
|
dimensionClamped: boolean;
|
|
3441
3780
|
finalDpi: number;
|
|
3442
3781
|
get newDimensions(): WasmPixelDimensions | undefined;
|
|
3443
|
-
set newDimensions(value: WasmPixelDimensions
|
|
3782
|
+
set newDimensions(value: WasmPixelDimensions);
|
|
3444
3783
|
originalDimensions: WasmPixelDimensions;
|
|
3445
3784
|
originalDpi: WasmImageDpi;
|
|
3446
3785
|
resampleMethod: string;
|
|
@@ -3469,10 +3808,18 @@ export enum WasmImageType {
|
|
|
3469
3808
|
export class WasmInlineElement {
|
|
3470
3809
|
free(): void;
|
|
3471
3810
|
[Symbol.dispose](): void;
|
|
3811
|
+
clearAttributes(): void;
|
|
3472
3812
|
static default(): WasmInlineElement;
|
|
3813
|
+
/**
|
|
3814
|
+
* Takes ownership of `attributes`.
|
|
3815
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3816
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3817
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3818
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3819
|
+
*/
|
|
3473
3820
|
constructor(elementType: WasmInlineType, content: string, attributes?: WasmAttributes | null, metadata?: any | null);
|
|
3474
3821
|
get attributes(): WasmAttributes | undefined;
|
|
3475
|
-
set attributes(value: WasmAttributes
|
|
3822
|
+
set attributes(value: WasmAttributes);
|
|
3476
3823
|
content: string;
|
|
3477
3824
|
get elementType(): string;
|
|
3478
3825
|
set elementType(value: WasmInlineType);
|
|
@@ -3579,7 +3926,16 @@ export enum WasmKeywordAlgorithm {
|
|
|
3579
3926
|
export class WasmKeywordConfig {
|
|
3580
3927
|
free(): void;
|
|
3581
3928
|
[Symbol.dispose](): void;
|
|
3929
|
+
clearRakeParams(): void;
|
|
3930
|
+
clearYakeParams(): void;
|
|
3582
3931
|
static default(): WasmKeywordConfig;
|
|
3932
|
+
/**
|
|
3933
|
+
* Takes ownership of `ngramRange`, `yakeParams`, `rakeParams`.
|
|
3934
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3935
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
3936
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
3937
|
+
* the generated setter borrows and leaves your handle alive.
|
|
3938
|
+
*/
|
|
3583
3939
|
constructor(algorithm?: WasmKeywordAlgorithm | null, maxKeywords?: number | null, minScore?: number | null, ngramRange?: WasmNgramRange | null, language?: string | null, yakeParams?: WasmYakeParams | null, rakeParams?: WasmRakeParams | null);
|
|
3584
3940
|
get algorithm(): string;
|
|
3585
3941
|
set algorithm(value: WasmKeywordAlgorithm);
|
|
@@ -3589,9 +3945,9 @@ export class WasmKeywordConfig {
|
|
|
3589
3945
|
minScore: number;
|
|
3590
3946
|
ngramRange: WasmNgramRange;
|
|
3591
3947
|
get rakeParams(): WasmRakeParams | undefined;
|
|
3592
|
-
set rakeParams(value: WasmRakeParams
|
|
3948
|
+
set rakeParams(value: WasmRakeParams);
|
|
3593
3949
|
get yakeParams(): WasmYakeParams | undefined;
|
|
3594
|
-
set yakeParams(value: WasmYakeParams
|
|
3950
|
+
set yakeParams(value: WasmYakeParams);
|
|
3595
3951
|
}
|
|
3596
3952
|
|
|
3597
3953
|
/**
|
|
@@ -3635,10 +3991,18 @@ export class WasmLanguageDetectionConfig {
|
|
|
3635
3991
|
export class WasmLateInteractionConfig {
|
|
3636
3992
|
free(): void;
|
|
3637
3993
|
[Symbol.dispose](): void;
|
|
3994
|
+
clearAcceleration(): void;
|
|
3638
3995
|
static default(): WasmLateInteractionConfig;
|
|
3996
|
+
/**
|
|
3997
|
+
* Takes ownership of `acceleration`.
|
|
3998
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
3999
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4000
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4001
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4002
|
+
*/
|
|
3639
4003
|
constructor(model?: any | null, batchSize?: number | null, maxLength?: number | null, queryMaxLength?: number | null, showDownloadProgress?: boolean | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxEmbedDurationSecs?: bigint | null);
|
|
3640
4004
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
3641
|
-
set acceleration(value: WasmAccelerationConfig
|
|
4005
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
3642
4006
|
batchSize: number;
|
|
3643
4007
|
get cacheDir(): string | undefined;
|
|
3644
4008
|
set cacheDir(value: string | null | undefined);
|
|
@@ -3756,10 +4120,18 @@ export class WasmLayoutDetection {
|
|
|
3756
4120
|
export class WasmLayoutDetectionConfig {
|
|
3757
4121
|
free(): void;
|
|
3758
4122
|
[Symbol.dispose](): void;
|
|
4123
|
+
clearAcceleration(): void;
|
|
3759
4124
|
static default(): WasmLayoutDetectionConfig;
|
|
4125
|
+
/**
|
|
4126
|
+
* Takes ownership of `acceleration`.
|
|
4127
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
4128
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4129
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4130
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4131
|
+
*/
|
|
3760
4132
|
constructor(strategy?: WasmLayoutStrategy | null, applyHeuristics?: boolean | null, tableModel?: WasmTableModel | null, tableOverlapPreference?: WasmTableOverlapPreference | null, enableChartUnderstanding?: boolean | null, confidenceThreshold?: number | null, formulaModel?: WasmFormulaModel | null, acceleration?: WasmAccelerationConfig | null);
|
|
3761
4133
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
3762
|
-
set acceleration(value: WasmAccelerationConfig
|
|
4134
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
3763
4135
|
applyHeuristics: boolean;
|
|
3764
4136
|
get confidenceThreshold(): number | undefined;
|
|
3765
4137
|
set confidenceThreshold(value: number | null | undefined);
|
|
@@ -3785,6 +4157,13 @@ export class WasmLayoutRegion {
|
|
|
3785
4157
|
free(): void;
|
|
3786
4158
|
[Symbol.dispose](): void;
|
|
3787
4159
|
static default(): WasmLayoutRegion;
|
|
4160
|
+
/**
|
|
4161
|
+
* Takes ownership of `boundingBox`.
|
|
4162
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
4163
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4164
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4165
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4166
|
+
*/
|
|
3788
4167
|
constructor(className?: string | null, confidence?: number | null, boundingBox?: WasmBoundingBox | null, areaFraction?: number | null);
|
|
3789
4168
|
areaFraction: number;
|
|
3790
4169
|
boundingBox: WasmBoundingBox;
|
|
@@ -3929,7 +4308,18 @@ export class WasmLlmCacheConfig {
|
|
|
3929
4308
|
export class WasmLlmConfig {
|
|
3930
4309
|
free(): void;
|
|
3931
4310
|
[Symbol.dispose](): void;
|
|
4311
|
+
clearBedrock(): void;
|
|
4312
|
+
clearBudget(): void;
|
|
4313
|
+
clearCache(): void;
|
|
4314
|
+
clearRateLimit(): void;
|
|
3932
4315
|
static default(): WasmLlmConfig;
|
|
4316
|
+
/**
|
|
4317
|
+
* Takes ownership of `cache`, `budget`, `rateLimit`, `bedrock`.
|
|
4318
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
4319
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4320
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4321
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4322
|
+
*/
|
|
3933
4323
|
constructor(model?: string | null, apiKey?: string | null, baseUrl?: string | null, timeoutSecs?: bigint | null, maxRetries?: number | null, temperature?: number | null, maxTokens?: bigint | null, topP?: number | null, stop?: string[] | null, seed?: bigint | null, presencePenalty?: number | null, frequencyPenalty?: number | null, reasoningEffort?: string | null, extraBody?: any | null, loadEnv?: boolean | null, headers?: any | null, providers?: WasmLlmProviderConfig[] | null, cache?: WasmLlmCacheConfig | null, budget?: WasmLlmBudgetConfig | null, rateLimit?: WasmLlmRateLimitConfig | null, costTracking?: boolean | null, tracing?: boolean | null, cooldownSecs?: bigint | null, healthCheckSecs?: bigint | null, bedrock?: WasmBedrockConfig | null, credentialProvider?: any | null, maxConcurrency?: number | null, maxResponseBytes?: number | null);
|
|
3934
4324
|
/**
|
|
3935
4325
|
* Validate the request-time sampling parameters that have a documented range:
|
|
@@ -3947,11 +4337,11 @@ export class WasmLlmConfig {
|
|
|
3947
4337
|
get baseUrl(): string | undefined;
|
|
3948
4338
|
set baseUrl(value: string | null | undefined);
|
|
3949
4339
|
get bedrock(): WasmBedrockConfig | undefined;
|
|
3950
|
-
set bedrock(value: WasmBedrockConfig
|
|
4340
|
+
set bedrock(value: WasmBedrockConfig);
|
|
3951
4341
|
get budget(): WasmLlmBudgetConfig | undefined;
|
|
3952
|
-
set budget(value: WasmLlmBudgetConfig
|
|
4342
|
+
set budget(value: WasmLlmBudgetConfig);
|
|
3953
4343
|
get cache(): WasmLlmCacheConfig | undefined;
|
|
3954
|
-
set cache(value: WasmLlmCacheConfig
|
|
4344
|
+
set cache(value: WasmLlmCacheConfig);
|
|
3955
4345
|
get cooldownSecs(): bigint | undefined;
|
|
3956
4346
|
set cooldownSecs(value: bigint | null | undefined);
|
|
3957
4347
|
get costTracking(): boolean | undefined;
|
|
@@ -3982,7 +4372,7 @@ export class WasmLlmConfig {
|
|
|
3982
4372
|
get providers(): Array<any> | undefined;
|
|
3983
4373
|
set providers(value: WasmLlmProviderConfig[] | null | undefined);
|
|
3984
4374
|
get rateLimit(): WasmLlmRateLimitConfig | undefined;
|
|
3985
|
-
set rateLimit(value: WasmLlmRateLimitConfig
|
|
4375
|
+
set rateLimit(value: WasmLlmRateLimitConfig);
|
|
3986
4376
|
get reasoningEffort(): string | undefined;
|
|
3987
4377
|
set reasoningEffort(value: string | null | undefined);
|
|
3988
4378
|
get seed(): bigint | undefined;
|
|
@@ -4137,12 +4527,22 @@ export class WasmMetaSchema {
|
|
|
4137
4527
|
export class WasmMetadata {
|
|
4138
4528
|
free(): void;
|
|
4139
4529
|
[Symbol.dispose](): void;
|
|
4530
|
+
clearError(): void;
|
|
4531
|
+
clearImagePreprocessing(): void;
|
|
4532
|
+
clearPages(): void;
|
|
4140
4533
|
static default(): WasmMetadata;
|
|
4141
4534
|
/**
|
|
4142
4535
|
* Returns `true` when no metadata fields, format-specific metadata, or
|
|
4143
4536
|
* additional postprocessor fields are populated.
|
|
4144
4537
|
*/
|
|
4145
4538
|
isEmpty(): boolean;
|
|
4539
|
+
/**
|
|
4540
|
+
* Takes ownership of `pages`, `imagePreprocessing`, `error`.
|
|
4541
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
4542
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4543
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4544
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4545
|
+
*/
|
|
4146
4546
|
constructor(ocrUsed?: boolean | null, additional?: any | null, title?: string | null, subject?: string | null, authors?: string[] | null, keywords?: string[] | null, language?: string | null, createdAt?: string | null, modifiedAt?: string | null, createdBy?: string | null, modifiedBy?: string | null, pages?: WasmPageStructure | null, format?: any | null, imagePreprocessing?: WasmImagePreprocessingMetadata | null, jsonSchema?: any | null, error?: WasmErrorMetadata | null, extractionDurationMs?: bigint | null, category?: string | null, tags?: string[] | null, documentVersion?: string | null, abstractText?: string | null, outputFormat?: string | null);
|
|
4147
4547
|
get abstractText(): string | undefined;
|
|
4148
4548
|
set abstractText(value: string | null | undefined);
|
|
@@ -4158,13 +4558,13 @@ export class WasmMetadata {
|
|
|
4158
4558
|
get documentVersion(): string | undefined;
|
|
4159
4559
|
set documentVersion(value: string | null | undefined);
|
|
4160
4560
|
get error(): WasmErrorMetadata | undefined;
|
|
4161
|
-
set error(value: WasmErrorMetadata
|
|
4561
|
+
set error(value: WasmErrorMetadata);
|
|
4162
4562
|
get extractionDurationMs(): bigint | undefined;
|
|
4163
4563
|
set extractionDurationMs(value: bigint | null | undefined);
|
|
4164
4564
|
get format(): WasmFormatMetadata | undefined;
|
|
4165
4565
|
set format(value: WasmFormatMetadata | null | undefined);
|
|
4166
4566
|
get imagePreprocessing(): WasmImagePreprocessingMetadata | undefined;
|
|
4167
|
-
set imagePreprocessing(value: WasmImagePreprocessingMetadata
|
|
4567
|
+
set imagePreprocessing(value: WasmImagePreprocessingMetadata);
|
|
4168
4568
|
get jsonSchema(): any | undefined;
|
|
4169
4569
|
set jsonSchema(value: any | null | undefined);
|
|
4170
4570
|
get keywords(): string[] | undefined;
|
|
@@ -4179,7 +4579,7 @@ export class WasmMetadata {
|
|
|
4179
4579
|
get outputFormat(): string | undefined;
|
|
4180
4580
|
set outputFormat(value: string | null | undefined);
|
|
4181
4581
|
get pages(): WasmPageStructure | undefined;
|
|
4182
|
-
set pages(value: WasmPageStructure
|
|
4582
|
+
set pages(value: WasmPageStructure);
|
|
4183
4583
|
get subject(): string | undefined;
|
|
4184
4584
|
set subject(value: string | null | undefined);
|
|
4185
4585
|
get tags(): string[] | undefined;
|
|
@@ -4282,14 +4682,22 @@ export enum WasmNerBackendKind {
|
|
|
4282
4682
|
export class WasmNerConfig {
|
|
4283
4683
|
free(): void;
|
|
4284
4684
|
[Symbol.dispose](): void;
|
|
4685
|
+
clearLlm(): void;
|
|
4285
4686
|
static default(): WasmNerConfig;
|
|
4687
|
+
/**
|
|
4688
|
+
* Takes ownership of `llm`.
|
|
4689
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
4690
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4691
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4692
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4693
|
+
*/
|
|
4286
4694
|
constructor(backend?: WasmNerBackendKind | null, categories?: any | null, customLabels?: string[] | null, model?: string | null, llm?: WasmLlmConfig | null);
|
|
4287
4695
|
get backend(): string;
|
|
4288
4696
|
set backend(value: WasmNerBackendKind);
|
|
4289
4697
|
categories: any;
|
|
4290
4698
|
customLabels: string[];
|
|
4291
4699
|
get llm(): WasmLlmConfig | undefined;
|
|
4292
|
-
set llm(value: WasmLlmConfig
|
|
4700
|
+
set llm(value: WasmLlmConfig);
|
|
4293
4701
|
get model(): string | undefined;
|
|
4294
4702
|
set model(value: string | null | undefined);
|
|
4295
4703
|
}
|
|
@@ -4350,6 +4758,7 @@ export class WasmNoChunkingReason {
|
|
|
4350
4758
|
export class WasmNodeContent {
|
|
4351
4759
|
free(): void;
|
|
4352
4760
|
[Symbol.dispose](): void;
|
|
4761
|
+
clearGrid(): void;
|
|
4353
4762
|
static default(): WasmNodeContent;
|
|
4354
4763
|
constructor();
|
|
4355
4764
|
get content(): string | undefined;
|
|
@@ -4363,7 +4772,7 @@ export class WasmNodeContent {
|
|
|
4363
4772
|
get format(): string | undefined;
|
|
4364
4773
|
set format(value: string | null | undefined);
|
|
4365
4774
|
get grid(): WasmTableGrid | undefined;
|
|
4366
|
-
set grid(value: WasmTableGrid
|
|
4775
|
+
set grid(value: WasmTableGrid);
|
|
4367
4776
|
get headingLevel(): number | undefined;
|
|
4368
4777
|
set headingLevel(value: number | null | undefined);
|
|
4369
4778
|
get headingText(): string | undefined;
|
|
@@ -4467,36 +4876,54 @@ export class WasmOcrConfidence {
|
|
|
4467
4876
|
export class WasmOcrConfig {
|
|
4468
4877
|
free(): void;
|
|
4469
4878
|
[Symbol.dispose](): void;
|
|
4879
|
+
clearAcceleration(): void;
|
|
4880
|
+
clearElementConfig(): void;
|
|
4881
|
+
clearPaddleOcrSettings(): void;
|
|
4882
|
+
clearPipeline(): void;
|
|
4883
|
+
clearQualityThresholds(): void;
|
|
4884
|
+
clearSecurityLimits(): void;
|
|
4885
|
+
clearTesseractConfig(): void;
|
|
4886
|
+
clearVlmConfig(): void;
|
|
4470
4887
|
static default(): WasmOcrConfig;
|
|
4471
|
-
|
|
4888
|
+
/**
|
|
4889
|
+
* Takes ownership of `tesseractConfig`, `paddleOcrSettings`, `elementConfig`, `qualityThresholds`, `pipeline`, `vlmConfig`, `acceleration`, `securityLimits`.
|
|
4890
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
4891
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4892
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4893
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4894
|
+
*/
|
|
4895
|
+
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, paddleOcrSettings?: WasmPaddleOcrConfig | null, backendOptions?: any | null, elementConfig?: WasmOcrElementConfig | null, qualityThresholds?: WasmOcrQualityThresholds | null, pipeline?: WasmOcrPipelineConfig | null, vlmConfig?: WasmLlmConfig | null, vlmPrompt?: string | null, acceleration?: WasmAccelerationConfig | null, securityLimits?: WasmSecurityLimits | null, tessdataBytes?: any | null, tessdataPath?: string | null);
|
|
4472
4896
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
4473
|
-
set acceleration(value: WasmAccelerationConfig
|
|
4897
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
4474
4898
|
autoRotate: boolean;
|
|
4475
4899
|
get backendOptions(): any | undefined;
|
|
4476
4900
|
set backendOptions(value: any | null | undefined);
|
|
4477
4901
|
backend: string;
|
|
4478
4902
|
get elementConfig(): WasmOcrElementConfig | undefined;
|
|
4479
|
-
set elementConfig(value: WasmOcrElementConfig
|
|
4903
|
+
set elementConfig(value: WasmOcrElementConfig);
|
|
4480
4904
|
enabled: boolean;
|
|
4481
4905
|
language: string[];
|
|
4906
|
+
numericRepair: boolean;
|
|
4482
4907
|
get outputFormat(): WasmOutputFormat | undefined;
|
|
4483
4908
|
set outputFormat(value: WasmOutputFormat | null | undefined);
|
|
4484
4909
|
get paddleOcrConfig(): any | undefined;
|
|
4485
4910
|
set paddleOcrConfig(value: any | null | undefined);
|
|
4911
|
+
get paddleOcrSettings(): WasmPaddleOcrConfig | undefined;
|
|
4912
|
+
set paddleOcrSettings(value: WasmPaddleOcrConfig);
|
|
4486
4913
|
get pipeline(): WasmOcrPipelineConfig | undefined;
|
|
4487
|
-
set pipeline(value: WasmOcrPipelineConfig
|
|
4914
|
+
set pipeline(value: WasmOcrPipelineConfig);
|
|
4488
4915
|
get qualityThresholds(): WasmOcrQualityThresholds | undefined;
|
|
4489
|
-
set qualityThresholds(value: WasmOcrQualityThresholds
|
|
4916
|
+
set qualityThresholds(value: WasmOcrQualityThresholds);
|
|
4490
4917
|
get securityLimits(): WasmSecurityLimits | undefined;
|
|
4491
|
-
set securityLimits(value: WasmSecurityLimits
|
|
4918
|
+
set securityLimits(value: WasmSecurityLimits);
|
|
4492
4919
|
get tessdataBytes(): any | undefined;
|
|
4493
4920
|
set tessdataBytes(value: any | null | undefined);
|
|
4494
4921
|
get tessdataPath(): string | undefined;
|
|
4495
4922
|
set tessdataPath(value: string | null | undefined);
|
|
4496
4923
|
get tesseractConfig(): WasmTesseractConfig | undefined;
|
|
4497
|
-
set tesseractConfig(value: WasmTesseractConfig
|
|
4924
|
+
set tesseractConfig(value: WasmTesseractConfig);
|
|
4498
4925
|
get vlmConfig(): WasmLlmConfig | undefined;
|
|
4499
|
-
set vlmConfig(value: WasmLlmConfig
|
|
4926
|
+
set vlmConfig(value: WasmLlmConfig);
|
|
4500
4927
|
vlmFallback: any;
|
|
4501
4928
|
get vlmPrompt(): string | undefined;
|
|
4502
4929
|
set vlmPrompt(value: string | null | undefined);
|
|
@@ -4511,7 +4938,15 @@ export class WasmOcrConfig {
|
|
|
4511
4938
|
export class WasmOcrElement {
|
|
4512
4939
|
free(): void;
|
|
4513
4940
|
[Symbol.dispose](): void;
|
|
4941
|
+
clearRotation(): void;
|
|
4514
4942
|
static default(): WasmOcrElement;
|
|
4943
|
+
/**
|
|
4944
|
+
* Takes ownership of `confidence`, `rotation`.
|
|
4945
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
4946
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
4947
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
4948
|
+
* the generated setter borrows and leaves your handle alive.
|
|
4949
|
+
*/
|
|
4515
4950
|
constructor(text?: string | null, geometry?: any | null, confidence?: WasmOcrConfidence | null, level?: WasmOcrElementLevel | null, pageNumber?: number | null, backendMetadata?: any | null, rotation?: WasmOcrRotation | null, parentId?: string | null);
|
|
4516
4951
|
backendMetadata: any;
|
|
4517
4952
|
confidence: WasmOcrConfidence;
|
|
@@ -4522,7 +4957,7 @@ export class WasmOcrElement {
|
|
|
4522
4957
|
get parentId(): string | undefined;
|
|
4523
4958
|
set parentId(value: string | null | undefined);
|
|
4524
4959
|
get rotation(): WasmOcrRotation | undefined;
|
|
4525
|
-
set rotation(value: WasmOcrRotation
|
|
4960
|
+
set rotation(value: WasmOcrRotation);
|
|
4526
4961
|
text: string;
|
|
4527
4962
|
}
|
|
4528
4963
|
|
|
@@ -4620,8 +5055,18 @@ export class WasmOcrPipelineConfig {
|
|
|
4620
5055
|
export class WasmOcrPipelineStage {
|
|
4621
5056
|
free(): void;
|
|
4622
5057
|
[Symbol.dispose](): void;
|
|
5058
|
+
clearPaddleOcrSettings(): void;
|
|
5059
|
+
clearTesseractConfig(): void;
|
|
5060
|
+
clearVlmConfig(): void;
|
|
4623
5061
|
static default(): WasmOcrPipelineStage;
|
|
4624
|
-
|
|
5062
|
+
/**
|
|
5063
|
+
* Takes ownership of `tesseractConfig`, `paddleOcrSettings`, `vlmConfig`.
|
|
5064
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5065
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5066
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5067
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5068
|
+
*/
|
|
5069
|
+
constructor(backend: string, priority: number, language?: string[] | null, tesseractConfig?: WasmTesseractConfig | null, paddleOcrConfig?: any | null, paddleOcrSettings?: WasmPaddleOcrConfig | null, vlmConfig?: WasmLlmConfig | null, backendOptions?: any | null);
|
|
4625
5070
|
get backendOptions(): any | undefined;
|
|
4626
5071
|
set backendOptions(value: any | null | undefined);
|
|
4627
5072
|
backend: string;
|
|
@@ -4629,11 +5074,13 @@ export class WasmOcrPipelineStage {
|
|
|
4629
5074
|
set language(value: string[] | null | undefined);
|
|
4630
5075
|
get paddleOcrConfig(): any | undefined;
|
|
4631
5076
|
set paddleOcrConfig(value: any | null | undefined);
|
|
5077
|
+
get paddleOcrSettings(): WasmPaddleOcrConfig | undefined;
|
|
5078
|
+
set paddleOcrSettings(value: WasmPaddleOcrConfig);
|
|
4632
5079
|
priority: number;
|
|
4633
5080
|
get tesseractConfig(): WasmTesseractConfig | undefined;
|
|
4634
|
-
set tesseractConfig(value: WasmTesseractConfig
|
|
5081
|
+
set tesseractConfig(value: WasmTesseractConfig);
|
|
4635
5082
|
get vlmConfig(): WasmLlmConfig | undefined;
|
|
4636
|
-
set vlmConfig(value: WasmLlmConfig
|
|
5083
|
+
set vlmConfig(value: WasmLlmConfig);
|
|
4637
5084
|
}
|
|
4638
5085
|
|
|
4639
5086
|
/**
|
|
@@ -4723,10 +5170,18 @@ export class WasmOcrStrategy {
|
|
|
4723
5170
|
export class WasmOcrTable {
|
|
4724
5171
|
free(): void;
|
|
4725
5172
|
[Symbol.dispose](): void;
|
|
5173
|
+
clearBoundingBox(): void;
|
|
4726
5174
|
static default(): WasmOcrTable;
|
|
5175
|
+
/**
|
|
5176
|
+
* Takes ownership of `boundingBox`.
|
|
5177
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5178
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5179
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5180
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5181
|
+
*/
|
|
4727
5182
|
constructor(cells: any, markdown: string, pageNumber: number, boundingBox?: WasmOcrTableBoundingBox | null);
|
|
4728
5183
|
get boundingBox(): WasmOcrTableBoundingBox | undefined;
|
|
4729
|
-
set boundingBox(value: WasmOcrTableBoundingBox
|
|
5184
|
+
set boundingBox(value: WasmOcrTableBoundingBox);
|
|
4730
5185
|
cells: any;
|
|
4731
5186
|
markdown: string;
|
|
4732
5187
|
pageNumber: number;
|
|
@@ -5029,20 +5484,30 @@ export class WasmPageConfig {
|
|
|
5029
5484
|
export class WasmPageContent {
|
|
5030
5485
|
free(): void;
|
|
5031
5486
|
[Symbol.dispose](): void;
|
|
5487
|
+
clearHierarchy(): void;
|
|
5488
|
+
clearImagePreprocessing(): void;
|
|
5489
|
+
clearOcrConfidence(): void;
|
|
5032
5490
|
static default(): WasmPageContent;
|
|
5491
|
+
/**
|
|
5492
|
+
* Takes ownership of `imagePreprocessing`, `hierarchy`, `ocrConfidence`.
|
|
5493
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5494
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5495
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5496
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5497
|
+
*/
|
|
5033
5498
|
constructor(pageNumber: number, content: string, tables: WasmTable[], imageIndices: Uint32Array, imagePreprocessing?: WasmImagePreprocessingMetadata | null, hierarchy?: WasmPageHierarchy | null, isBlank?: boolean | null, layoutRegions?: WasmLayoutRegion[] | null, speakerNotes?: string | null, sectionName?: string | null, sheetName?: string | null, ocrConfidence?: WasmPageOcrConfidence | null);
|
|
5034
5499
|
content: string;
|
|
5035
5500
|
get hierarchy(): WasmPageHierarchy | undefined;
|
|
5036
|
-
set hierarchy(value: WasmPageHierarchy
|
|
5501
|
+
set hierarchy(value: WasmPageHierarchy);
|
|
5037
5502
|
imageIndices: Uint32Array;
|
|
5038
5503
|
get imagePreprocessing(): WasmImagePreprocessingMetadata | undefined;
|
|
5039
|
-
set imagePreprocessing(value: WasmImagePreprocessingMetadata
|
|
5504
|
+
set imagePreprocessing(value: WasmImagePreprocessingMetadata);
|
|
5040
5505
|
get isBlank(): boolean | undefined;
|
|
5041
5506
|
set isBlank(value: boolean | null | undefined);
|
|
5042
5507
|
get layoutRegions(): Array<any> | undefined;
|
|
5043
5508
|
set layoutRegions(value: WasmLayoutRegion[] | null | undefined);
|
|
5044
5509
|
get ocrConfidence(): WasmPageOcrConfidence | undefined;
|
|
5045
|
-
set ocrConfidence(value: WasmPageOcrConfidence
|
|
5510
|
+
set ocrConfidence(value: WasmPageOcrConfidence);
|
|
5046
5511
|
pageNumber: number;
|
|
5047
5512
|
get sectionName(): string | undefined;
|
|
5048
5513
|
set sectionName(value: string | null | undefined);
|
|
@@ -5086,10 +5551,18 @@ export class WasmPageHierarchy {
|
|
|
5086
5551
|
export class WasmPageInfo {
|
|
5087
5552
|
free(): void;
|
|
5088
5553
|
[Symbol.dispose](): void;
|
|
5554
|
+
clearDimensions(): void;
|
|
5089
5555
|
static default(): WasmPageInfo;
|
|
5556
|
+
/**
|
|
5557
|
+
* Takes ownership of `dimensions`.
|
|
5558
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5559
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5560
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5561
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5562
|
+
*/
|
|
5090
5563
|
constructor(number: number, hasVectorGraphics: boolean, title?: string | null, dimensions?: WasmPageDimensions | null, imageCount?: number | null, tableCount?: number | null, hidden?: boolean | null, isBlank?: boolean | null);
|
|
5091
5564
|
get dimensions(): WasmPageDimensions | undefined;
|
|
5092
|
-
set dimensions(value: WasmPageDimensions
|
|
5565
|
+
set dimensions(value: WasmPageDimensions);
|
|
5093
5566
|
hasVectorGraphics: boolean;
|
|
5094
5567
|
get hidden(): boolean | undefined;
|
|
5095
5568
|
set hidden(value: boolean | null | undefined);
|
|
@@ -5241,10 +5714,18 @@ export class WasmPageSignals {
|
|
|
5241
5714
|
export class WasmPageSpan {
|
|
5242
5715
|
free(): void;
|
|
5243
5716
|
[Symbol.dispose](): void;
|
|
5717
|
+
clearBbox(): void;
|
|
5244
5718
|
static default(): WasmPageSpan;
|
|
5719
|
+
/**
|
|
5720
|
+
* Takes ownership of `bbox`.
|
|
5721
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5722
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5723
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5724
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5725
|
+
*/
|
|
5245
5726
|
constructor(page: number, bbox?: WasmBoundingBox | null);
|
|
5246
5727
|
get bbox(): WasmBoundingBox | undefined;
|
|
5247
|
-
set bbox(value: WasmBoundingBox
|
|
5728
|
+
set bbox(value: WasmBoundingBox);
|
|
5248
5729
|
page: number;
|
|
5249
5730
|
}
|
|
5250
5731
|
|
|
@@ -5299,14 +5780,22 @@ export class WasmPatternMatch {
|
|
|
5299
5780
|
export class WasmPdfAnnotation {
|
|
5300
5781
|
free(): void;
|
|
5301
5782
|
[Symbol.dispose](): void;
|
|
5783
|
+
clearBoundingBox(): void;
|
|
5302
5784
|
static default(): WasmPdfAnnotation;
|
|
5785
|
+
/**
|
|
5786
|
+
* Takes ownership of `boundingBox`.
|
|
5787
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5788
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5789
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5790
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5791
|
+
*/
|
|
5303
5792
|
constructor(annotationType: WasmPdfAnnotationType, pageNumber: number, content?: string | null, boundingBox?: WasmBoundingBox | null, author?: string | null, modified?: string | null, color?: string | null, subject?: string | null, quadPoints?: WasmBoundingBox[] | null, markedText?: string | null);
|
|
5304
5793
|
get annotationType(): string;
|
|
5305
5794
|
set annotationType(value: WasmPdfAnnotationType);
|
|
5306
5795
|
get author(): string | undefined;
|
|
5307
5796
|
set author(value: string | null | undefined);
|
|
5308
5797
|
get boundingBox(): WasmBoundingBox | undefined;
|
|
5309
|
-
set boundingBox(value: WasmBoundingBox
|
|
5798
|
+
set boundingBox(value: WasmBoundingBox);
|
|
5310
5799
|
get color(): string | undefined;
|
|
5311
5800
|
set color(value: string | null | undefined);
|
|
5312
5801
|
get content(): string | undefined;
|
|
@@ -5365,7 +5854,15 @@ export enum WasmPdfBackend {
|
|
|
5365
5854
|
export class WasmPdfConfig {
|
|
5366
5855
|
free(): void;
|
|
5367
5856
|
[Symbol.dispose](): void;
|
|
5857
|
+
clearHierarchy(): void;
|
|
5368
5858
|
static default(): WasmPdfConfig;
|
|
5859
|
+
/**
|
|
5860
|
+
* Takes ownership of `hierarchy`.
|
|
5861
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5862
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5863
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5864
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5865
|
+
*/
|
|
5369
5866
|
constructor(extractImages?: boolean | null, extractTables?: boolean | null, extractMetadata?: boolean | null, extractAnnotations?: boolean | null, allowSingleColumnTables?: boolean | null, ocrInlineImages?: boolean | null, extractFormFields?: boolean | null, readingOrder?: boolean | null, backend?: WasmPdfBackend | null, passwords?: string[] | null, hierarchy?: WasmHierarchyConfig | null, topMarginFraction?: number | null, bottomMarginFraction?: number | null);
|
|
5370
5867
|
/**
|
|
5371
5868
|
* Validate PDF-specific extraction settings.
|
|
@@ -5389,7 +5886,7 @@ export class WasmPdfConfig {
|
|
|
5389
5886
|
extractMetadata: boolean;
|
|
5390
5887
|
extractTables: boolean;
|
|
5391
5888
|
get hierarchy(): WasmHierarchyConfig | undefined;
|
|
5392
|
-
set hierarchy(value: WasmHierarchyConfig
|
|
5889
|
+
set hierarchy(value: WasmHierarchyConfig);
|
|
5393
5890
|
ocrInlineImages: boolean;
|
|
5394
5891
|
get passwords(): string[] | undefined;
|
|
5395
5892
|
set passwords(value: string[] | null | undefined);
|
|
@@ -5410,10 +5907,18 @@ export class WasmPdfConfig {
|
|
|
5410
5907
|
export class WasmPdfFormField {
|
|
5411
5908
|
free(): void;
|
|
5412
5909
|
[Symbol.dispose](): void;
|
|
5910
|
+
clearBbox(): void;
|
|
5413
5911
|
static default(): WasmPdfFormField;
|
|
5912
|
+
/**
|
|
5913
|
+
* Takes ownership of `bbox`.
|
|
5914
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
5915
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
5916
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
5917
|
+
* the generated setter borrows and leaves your handle alive.
|
|
5918
|
+
*/
|
|
5414
5919
|
constructor(name: string, fullName: string, fieldType: WasmFormFieldType, flags: number, value?: string | null, defaultValue?: string | null, page?: number | null, bbox?: WasmBoundingBox | null, maxLength?: number | null, tooltip?: string | null);
|
|
5415
5920
|
get bbox(): WasmBoundingBox | undefined;
|
|
5416
|
-
set bbox(value: WasmBoundingBox
|
|
5921
|
+
set bbox(value: WasmBoundingBox);
|
|
5417
5922
|
get defaultValue(): string | undefined;
|
|
5418
5923
|
set defaultValue(value: string | null | undefined);
|
|
5419
5924
|
get fieldType(): string;
|
|
@@ -5565,11 +6070,20 @@ export class WasmPptxAppProperties {
|
|
|
5565
6070
|
export class WasmPptxExtractionResult {
|
|
5566
6071
|
free(): void;
|
|
5567
6072
|
[Symbol.dispose](): void;
|
|
6073
|
+
clearDocument(): void;
|
|
6074
|
+
clearPageStructure(): void;
|
|
5568
6075
|
static default(): WasmPptxExtractionResult;
|
|
6076
|
+
/**
|
|
6077
|
+
* Takes ownership of `pageStructure`, `document`.
|
|
6078
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
6079
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
6080
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
6081
|
+
* the generated setter borrows and leaves your handle alive.
|
|
6082
|
+
*/
|
|
5569
6083
|
constructor(content: string, metadata: WasmPptxMetadata, slideCount: number, imageCount: number, tableCount: number, images: WasmExtractedImage[], hyperlinks: WasmPresentationHyperlink[], officeMetadata: any, pageStructure?: WasmPageStructure | null, pageContents?: WasmPageContent[] | null, document?: WasmDocumentStructure | null, revisions?: WasmDocumentRevision[] | null);
|
|
5570
6084
|
content: string;
|
|
5571
6085
|
get document(): WasmDocumentStructure | undefined;
|
|
5572
|
-
set document(value: WasmDocumentStructure
|
|
6086
|
+
set document(value: WasmDocumentStructure);
|
|
5573
6087
|
hyperlinks: WasmPresentationHyperlink[];
|
|
5574
6088
|
imageCount: number;
|
|
5575
6089
|
images: WasmExtractedImage[];
|
|
@@ -5578,7 +6092,7 @@ export class WasmPptxExtractionResult {
|
|
|
5578
6092
|
get pageContents(): Array<any> | undefined;
|
|
5579
6093
|
set pageContents(value: WasmPageContent[] | null | undefined);
|
|
5580
6094
|
get pageStructure(): WasmPageStructure | undefined;
|
|
5581
|
-
set pageStructure(value: WasmPageStructure
|
|
6095
|
+
set pageStructure(value: WasmPageStructure);
|
|
5582
6096
|
get revisions(): Array<any> | undefined;
|
|
5583
6097
|
set revisions(value: WasmDocumentRevision[] | null | undefined);
|
|
5584
6098
|
slideCount: number;
|
|
@@ -5655,7 +6169,15 @@ export class WasmPresentationHyperlink {
|
|
|
5655
6169
|
export class WasmPreset {
|
|
5656
6170
|
free(): void;
|
|
5657
6171
|
[Symbol.dispose](): void;
|
|
6172
|
+
clearSample(): void;
|
|
5658
6173
|
static default(): WasmPreset;
|
|
6174
|
+
/**
|
|
6175
|
+
* Takes ownership of `sample`.
|
|
6176
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
6177
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
6178
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
6179
|
+
* the generated setter borrows and leaves your handle alive.
|
|
6180
|
+
*/
|
|
5659
6181
|
constructor(id: string, version: string, schemaName: string, description: string, category: WasmPresetCategory, tags: string[], schema: any, systemPrompt: string, mergeMode: WasmMergeMode, preferredCallMode: WasmCallMode, emitCitations: boolean, fingerprint: string, contextTemplate?: string | null, sample?: WasmPresetSample | null);
|
|
5660
6182
|
get category(): string;
|
|
5661
6183
|
set category(value: WasmPresetCategory);
|
|
@@ -5670,7 +6192,7 @@ export class WasmPreset {
|
|
|
5670
6192
|
get preferredCallMode(): string;
|
|
5671
6193
|
set preferredCallMode(value: WasmCallMode);
|
|
5672
6194
|
get sample(): WasmPresetSample | undefined;
|
|
5673
|
-
set sample(value: WasmPresetSample
|
|
6195
|
+
set sample(value: WasmPresetSample);
|
|
5674
6196
|
schemaName: string;
|
|
5675
6197
|
schema: any;
|
|
5676
6198
|
systemPrompt: string;
|
|
@@ -5829,10 +6351,18 @@ export class WasmQrBoundingBox {
|
|
|
5829
6351
|
export class WasmQrCode {
|
|
5830
6352
|
free(): void;
|
|
5831
6353
|
[Symbol.dispose](): void;
|
|
6354
|
+
clearBbox(): void;
|
|
5832
6355
|
static default(): WasmQrCode;
|
|
6356
|
+
/**
|
|
6357
|
+
* Takes ownership of `bbox`.
|
|
6358
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
6359
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
6360
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
6361
|
+
* the generated setter borrows and leaves your handle alive.
|
|
6362
|
+
*/
|
|
5833
6363
|
constructor(payload: string, confidence?: number | null, bbox?: WasmQrBoundingBox | null);
|
|
5834
6364
|
get bbox(): WasmQrBoundingBox | undefined;
|
|
5835
|
-
set bbox(value: WasmQrBoundingBox
|
|
6365
|
+
set bbox(value: WasmQrBoundingBox);
|
|
5836
6366
|
get confidence(): number | undefined;
|
|
5837
6367
|
set confidence(value: number | null | undefined);
|
|
5838
6368
|
payload: string;
|
|
@@ -5874,8 +6404,16 @@ export class WasmRecognizedTable {
|
|
|
5874
6404
|
export class WasmRedactionConfig {
|
|
5875
6405
|
free(): void;
|
|
5876
6406
|
[Symbol.dispose](): void;
|
|
6407
|
+
clearNer(): void;
|
|
5877
6408
|
static default(): WasmRedactionConfig;
|
|
5878
|
-
|
|
6409
|
+
/**
|
|
6410
|
+
* Takes ownership of `ner`.
|
|
6411
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
6412
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
6413
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
6414
|
+
* the generated setter borrows and leaves your handle alive.
|
|
6415
|
+
*/
|
|
6416
|
+
constructor(categories?: any | null, strategy?: WasmRedactionStrategy | null, preserveOffsets?: boolean | null, customTerms?: WasmRedactionTerm[] | null, customPatterns?: WasmRedactionPattern[] | null, findings?: WasmExternalRedactionFinding[] | null, findingsOffsetEncoding?: WasmRedactionOffsetEncoding | null, ner?: WasmNerConfig | null, minScore?: number | null, findingsPath?: string | null);
|
|
5879
6417
|
/**
|
|
5880
6418
|
* Validate user-supplied terms and patterns at config-construction time.
|
|
5881
6419
|
*
|
|
@@ -5889,8 +6427,15 @@ export class WasmRedactionConfig {
|
|
|
5889
6427
|
categories: any;
|
|
5890
6428
|
customPatterns: WasmRedactionPattern[];
|
|
5891
6429
|
customTerms: WasmRedactionTerm[];
|
|
6430
|
+
get findingsOffsetEncoding(): string;
|
|
6431
|
+
set findingsOffsetEncoding(value: WasmRedactionOffsetEncoding);
|
|
6432
|
+
get findingsPath(): string | undefined;
|
|
6433
|
+
set findingsPath(value: string | null | undefined);
|
|
6434
|
+
findings: WasmExternalRedactionFinding[];
|
|
6435
|
+
get minScore(): number | undefined;
|
|
6436
|
+
set minScore(value: number | null | undefined);
|
|
5892
6437
|
get ner(): WasmNerConfig | undefined;
|
|
5893
|
-
set ner(value: WasmNerConfig
|
|
6438
|
+
set ner(value: WasmNerConfig);
|
|
5894
6439
|
preserveOffsets: boolean;
|
|
5895
6440
|
get strategy(): string;
|
|
5896
6441
|
set strategy(value: WasmRedactionStrategy);
|
|
@@ -5912,6 +6457,15 @@ export class WasmRedactionFinding {
|
|
|
5912
6457
|
set strategy(value: WasmRedactionStrategy);
|
|
5913
6458
|
}
|
|
5914
6459
|
|
|
6460
|
+
/**
|
|
6461
|
+
* Unit that an external finding's `start` / `end` offsets count in.
|
|
6462
|
+
*/
|
|
6463
|
+
export enum WasmRedactionOffsetEncoding {
|
|
6464
|
+
Utf8Bytes = 0,
|
|
6465
|
+
UnicodeCodePoints = 1,
|
|
6466
|
+
Utf16CodeUnits = 2,
|
|
6467
|
+
}
|
|
6468
|
+
|
|
5915
6469
|
/**
|
|
5916
6470
|
* One user-supplied regex pattern to redact.
|
|
5917
6471
|
*
|
|
@@ -6107,10 +6661,18 @@ export class WasmRerankedDocument {
|
|
|
6107
6661
|
export class WasmRerankerConfig {
|
|
6108
6662
|
free(): void;
|
|
6109
6663
|
[Symbol.dispose](): void;
|
|
6664
|
+
clearAcceleration(): void;
|
|
6110
6665
|
static default(): WasmRerankerConfig;
|
|
6666
|
+
/**
|
|
6667
|
+
* Takes ownership of `acceleration`.
|
|
6668
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
6669
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
6670
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
6671
|
+
* the generated setter borrows and leaves your handle alive.
|
|
6672
|
+
*/
|
|
6111
6673
|
constructor(model?: any | null, batchSize?: number | null, showDownloadProgress?: boolean | null, topK?: number | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxRerankDurationSecs?: bigint | null);
|
|
6112
6674
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
6113
|
-
set acceleration(value: WasmAccelerationConfig
|
|
6675
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
6114
6676
|
batchSize: number;
|
|
6115
6677
|
get cacheDir(): string | undefined;
|
|
6116
6678
|
set cacheDir(value: string | null | undefined);
|
|
@@ -6145,6 +6707,7 @@ export enum WasmRerankerHead {
|
|
|
6145
6707
|
export class WasmRerankerModelType {
|
|
6146
6708
|
free(): void;
|
|
6147
6709
|
[Symbol.dispose](): void;
|
|
6710
|
+
clearLlm(): void;
|
|
6148
6711
|
static default(): WasmRerankerModelType;
|
|
6149
6712
|
constructor();
|
|
6150
6713
|
get additionalFiles(): string[] | undefined;
|
|
@@ -6152,7 +6715,7 @@ export class WasmRerankerModelType {
|
|
|
6152
6715
|
get head(): WasmRerankerHead | undefined;
|
|
6153
6716
|
set head(value: WasmRerankerHead | null | undefined);
|
|
6154
6717
|
get llm(): WasmLlmConfig | undefined;
|
|
6155
|
-
set llm(value: WasmLlmConfig
|
|
6718
|
+
set llm(value: WasmLlmConfig);
|
|
6156
6719
|
get maxLength(): bigint | undefined;
|
|
6157
6720
|
set maxLength(value: bigint | null | undefined);
|
|
6158
6721
|
get modelFile(): string | undefined;
|
|
@@ -6325,10 +6888,18 @@ export class WasmSparseEmbedding {
|
|
|
6325
6888
|
export class WasmSparseEmbeddingConfig {
|
|
6326
6889
|
free(): void;
|
|
6327
6890
|
[Symbol.dispose](): void;
|
|
6891
|
+
clearAcceleration(): void;
|
|
6328
6892
|
static default(): WasmSparseEmbeddingConfig;
|
|
6893
|
+
/**
|
|
6894
|
+
* Takes ownership of `acceleration`.
|
|
6895
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
6896
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
6897
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
6898
|
+
* the generated setter borrows and leaves your handle alive.
|
|
6899
|
+
*/
|
|
6329
6900
|
constructor(model?: any | null, batchSize?: number | null, maxLength?: number | null, showDownloadProgress?: boolean | null, cacheDir?: string | null, acceleration?: WasmAccelerationConfig | null, maxEmbedDurationSecs?: bigint | null);
|
|
6330
6901
|
get acceleration(): WasmAccelerationConfig | undefined;
|
|
6331
|
-
set acceleration(value: WasmAccelerationConfig
|
|
6902
|
+
set acceleration(value: WasmAccelerationConfig);
|
|
6332
6903
|
batchSize: number;
|
|
6333
6904
|
get cacheDir(): string | undefined;
|
|
6334
6905
|
set cacheDir(value: string | null | undefined);
|
|
@@ -6482,10 +7053,18 @@ export class WasmStructuredExtractionConfig {
|
|
|
6482
7053
|
export class WasmSummarizationConfig {
|
|
6483
7054
|
free(): void;
|
|
6484
7055
|
[Symbol.dispose](): void;
|
|
7056
|
+
clearLlm(): void;
|
|
6485
7057
|
static default(): WasmSummarizationConfig;
|
|
7058
|
+
/**
|
|
7059
|
+
* Takes ownership of `llm`.
|
|
7060
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
7061
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
7062
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
7063
|
+
* the generated setter borrows and leaves your handle alive.
|
|
7064
|
+
*/
|
|
6486
7065
|
constructor(strategy?: WasmSummaryStrategy | null, maxTokens?: number | null, llm?: WasmLlmConfig | null);
|
|
6487
7066
|
get llm(): WasmLlmConfig | undefined;
|
|
6488
|
-
set llm(value: WasmLlmConfig
|
|
7067
|
+
set llm(value: WasmLlmConfig);
|
|
6489
7068
|
get maxTokens(): number | undefined;
|
|
6490
7069
|
set maxTokens(value: number | null | undefined);
|
|
6491
7070
|
get strategy(): string;
|
|
@@ -6540,10 +7119,18 @@ export class WasmSvgOptions {
|
|
|
6540
7119
|
export class WasmTable {
|
|
6541
7120
|
free(): void;
|
|
6542
7121
|
[Symbol.dispose](): void;
|
|
7122
|
+
clearBoundingBox(): void;
|
|
6543
7123
|
static default(): WasmTable;
|
|
7124
|
+
/**
|
|
7125
|
+
* Takes ownership of `boundingBox`.
|
|
7126
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
7127
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
7128
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
7129
|
+
* the generated setter borrows and leaves your handle alive.
|
|
7130
|
+
*/
|
|
6544
7131
|
constructor(cells?: any | null, markdown?: string | null, pageNumber?: number | null, cellStyles?: WasmTableCellStyle[] | null, boundingBox?: WasmBoundingBox | null, tableId?: string | null, columns?: string[] | null);
|
|
6545
7132
|
get boundingBox(): WasmBoundingBox | undefined;
|
|
6546
|
-
set boundingBox(value: WasmBoundingBox
|
|
7133
|
+
set boundingBox(value: WasmBoundingBox);
|
|
6547
7134
|
cellStyles: WasmTableCellStyle[];
|
|
6548
7135
|
cells: any;
|
|
6549
7136
|
get columns(): string[] | undefined;
|
|
@@ -6677,8 +7264,16 @@ export enum WasmTableOverlapPreference {
|
|
|
6677
7264
|
export class WasmTesseractConfig {
|
|
6678
7265
|
free(): void;
|
|
6679
7266
|
[Symbol.dispose](): void;
|
|
7267
|
+
clearPreprocessing(): void;
|
|
6680
7268
|
static default(): WasmTesseractConfig;
|
|
6681
|
-
|
|
7269
|
+
/**
|
|
7270
|
+
* Takes ownership of `preprocessing`.
|
|
7271
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
7272
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
7273
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
7274
|
+
* the generated setter borrows and leaves your handle alive.
|
|
7275
|
+
*/
|
|
7276
|
+
constructor(language?: string[] | null, outputFormat?: string | null, oem?: number | null, minConfidence?: number | null, enableTableDetection?: boolean | null, tableMinConfidence?: number | null, tableColumnThreshold?: number | null, tableRowThresholdRatio?: number | null, useCache?: boolean | null, classifyUsePreAdaptedTemplates?: boolean | null, languageModelNgramOn?: boolean | null, tesseditDontBlkrejGoodWds?: boolean | null, tesseditDontRowrejGoodWds?: boolean | null, tesseditEnableDictCorrection?: boolean | null, tesseditCharWhitelist?: string | null, tesseditCharBlacklist?: string | null, tesseditUsePrimaryParamsModel?: boolean | null, textordSpaceSizeIsVariable?: boolean | null, thresholdingMethod?: number | null, psm?: number | null, preprocessing?: WasmImagePreprocessingConfig | null);
|
|
6682
7277
|
classifyUsePreAdaptedTemplates: boolean;
|
|
6683
7278
|
enableTableDetection: boolean;
|
|
6684
7279
|
languageModelNgramOn: boolean;
|
|
@@ -6687,7 +7282,7 @@ export class WasmTesseractConfig {
|
|
|
6687
7282
|
oem: number;
|
|
6688
7283
|
outputFormat: string;
|
|
6689
7284
|
get preprocessing(): WasmImagePreprocessingConfig | undefined;
|
|
6690
|
-
set preprocessing(value: WasmImagePreprocessingConfig
|
|
7285
|
+
set preprocessing(value: WasmImagePreprocessingConfig);
|
|
6691
7286
|
get psm(): number | undefined;
|
|
6692
7287
|
set psm(value: number | null | undefined);
|
|
6693
7288
|
tableColumnThreshold: number;
|
|
@@ -6700,7 +7295,7 @@ export class WasmTesseractConfig {
|
|
|
6700
7295
|
tesseditEnableDictCorrection: boolean;
|
|
6701
7296
|
tesseditUsePrimaryParamsModel: boolean;
|
|
6702
7297
|
textordSpaceSizeIsVariable: boolean;
|
|
6703
|
-
thresholdingMethod:
|
|
7298
|
+
thresholdingMethod: number;
|
|
6704
7299
|
useCache: boolean;
|
|
6705
7300
|
}
|
|
6706
7301
|
|
|
@@ -6957,6 +7552,13 @@ export class WasmUrlExtractionConfig {
|
|
|
6957
7552
|
*/
|
|
6958
7553
|
static defaultXbergCrawlConfig(): WasmCrawlConfig;
|
|
6959
7554
|
static default(): WasmUrlExtractionConfig;
|
|
7555
|
+
/**
|
|
7556
|
+
* Takes ownership of `crawl`.
|
|
7557
|
+
* wasm-bindgen lowers a by-value class argument through `__destroy_into_raw()`, so each
|
|
7558
|
+
* of those handles is dead once this returns. Passing a freshly built value is fine. To
|
|
7559
|
+
* keep a handle you already hold, build with `default()` and assign the property instead:
|
|
7560
|
+
* the generated setter borrows and leaves your handle alive.
|
|
7561
|
+
*/
|
|
6960
7562
|
constructor(mode?: WasmUrlExtractionMode | null, crawl?: WasmCrawlConfig | null, allowLocalFileInputs?: boolean | null, allowFileUris?: boolean | null, documentUrlPattern?: string | null, maxDocumentUrlsPerResult?: number | null, maxTotalUrls?: number | null);
|
|
6961
7563
|
allowFileUris: boolean;
|
|
6962
7564
|
allowLocalFileInputs: boolean;
|
|
@@ -7330,6 +7932,16 @@ export function listEmbeddingBackends(): string[];
|
|
|
7330
7932
|
*/
|
|
7331
7933
|
export function listOcrBackendCapabilities(): WasmOcrBackendCapabilities[];
|
|
7332
7934
|
|
|
7935
|
+
/**
|
|
7936
|
+
* `list_ocr_backend_capabilities`, reporting each backend's languages under `config`.
|
|
7937
|
+
*
|
|
7938
|
+
* Tesseract's language list is a property of the tessdata directory it resolves, and
|
|
7939
|
+
* `config.tessdata_path` is the first entry of that search chain. The config-less form always
|
|
7940
|
+
* answers for the no-override chain, which can be a different directory than the one a job using
|
|
7941
|
+
* `config` will load from. Use this form when `config.tessdata_path` is set. See GH#1857.
|
|
7942
|
+
*/
|
|
7943
|
+
export function listOcrBackendCapabilitiesFor(config: WasmOcrConfig): WasmOcrBackendCapabilities[];
|
|
7944
|
+
|
|
7333
7945
|
/**
|
|
7334
7946
|
* List all registered OCR backends.
|
|
7335
7947
|
*
|
|
@@ -7456,6 +8068,43 @@ export function mapUrl(uri: string, config?: WasmUrlExtractionConfig | null): Pr
|
|
|
7456
8068
|
*/
|
|
7457
8069
|
export function ocrBackendSupportsLanguage(backend: string, language: string): boolean;
|
|
7458
8070
|
|
|
8071
|
+
/**
|
|
8072
|
+
* `ocr_backend_supports_language`, answering under `config`.
|
|
8073
|
+
*
|
|
8074
|
+
* Use this, not the config-less form, when the caller sets `OcrConfig.tessdata_path`: the
|
|
8075
|
+
* config-less form checks the no-override search chain and can deny a language the job would
|
|
8076
|
+
* load without trouble. See GH#1857.
|
|
8077
|
+
*/
|
|
8078
|
+
export function ocrBackendSupportsLanguageFor(backend: string, language: string, config: WasmOcrConfig): boolean;
|
|
8079
|
+
|
|
8080
|
+
/**
|
|
8081
|
+
* Count the pages in a PDF without rendering any of them.
|
|
8082
|
+
*
|
|
8083
|
+
* Opens the document and returns its page count from the PDF structure. No page
|
|
8084
|
+
* is rasterized, so this is cheap relative to `render_pdf_page_to_png` — use it
|
|
8085
|
+
* when you only need the count (e.g. to drive a render loop over the pages).
|
|
8086
|
+
*
|
|
8087
|
+
* # Arguments
|
|
8088
|
+
*
|
|
8089
|
+
* * `pdf_bytes` - Raw PDF file bytes
|
|
8090
|
+
* * `password` - Optional password for encrypted PDFs
|
|
8091
|
+
*
|
|
8092
|
+
* # Errors
|
|
8093
|
+
*
|
|
8094
|
+
* Returns `XbergError.Parsing` if the PDF cannot be opened, authenticated,
|
|
8095
|
+
* or its page count read.
|
|
8096
|
+
*/
|
|
8097
|
+
export function pdfPageCount(pdf_bytes: Uint8Array, password?: string | null): number;
|
|
8098
|
+
|
|
8099
|
+
/**
|
|
8100
|
+
* Redact an owned document using a JSON array or JSON Lines payload from an external inspection engine.
|
|
8101
|
+
*
|
|
8102
|
+
* The payload is parsed in Rust so vendor aliases and nested fields remain intact across language bindings.
|
|
8103
|
+
* `offset_encoding` defaults to `unicode_code_points` and `max_findings` defaults to 10,000 when omitted.
|
|
8104
|
+
* Unknown encodings return a validation error.
|
|
8105
|
+
*/
|
|
8106
|
+
export function redactExternal(document: WasmExtractedDocument | null | undefined, config: WasmRedactionConfig | null | undefined, findings_json: string, offset_encoding?: string | null, max_findings?: number | null): Promise<WasmExtractedDocument>;
|
|
8107
|
+
|
|
7459
8108
|
export function registerDocumentExtractor(backend: any): void;
|
|
7460
8109
|
|
|
7461
8110
|
export function registerEmbeddingBackend(backend: any): void;
|
|
@@ -7586,6 +8235,7 @@ export interface InitOutput {
|
|
|
7586
8235
|
readonly __wbg_wasmexcelmetadata_free: (a: number, b: number) => void;
|
|
7587
8236
|
readonly __wbg_wasmexcelsheet_free: (a: number, b: number) => void;
|
|
7588
8237
|
readonly __wbg_wasmexcelworkbook_free: (a: number, b: number) => void;
|
|
8238
|
+
readonly __wbg_wasmexternalredactionfinding_free: (a: number, b: number) => void;
|
|
7589
8239
|
readonly __wbg_wasmextracteddocument_free: (a: number, b: number) => void;
|
|
7590
8240
|
readonly __wbg_wasmextractedimage_free: (a: number, b: number) => void;
|
|
7591
8241
|
readonly __wbg_wasmextracteduri_free: (a: number, b: number) => void;
|
|
@@ -7778,6 +8428,7 @@ export interface InitOutput {
|
|
|
7778
8428
|
readonly listDocumentExtractors: () => [number, number, number, number];
|
|
7779
8429
|
readonly listEmbeddingBackends: () => [number, number, number, number];
|
|
7780
8430
|
readonly listOcrBackendCapabilities: () => [number, number, number, number];
|
|
8431
|
+
readonly listOcrBackendCapabilitiesFor: (a: number) => [number, number, number, number];
|
|
7781
8432
|
readonly listOcrBackends: () => [number, number, number, number];
|
|
7782
8433
|
readonly listPostProcessors: () => [number, number, number, number];
|
|
7783
8434
|
readonly listRenderers: () => [number, number, number, number];
|
|
@@ -7789,6 +8440,9 @@ export interface InitOutput {
|
|
|
7789
8440
|
readonly nermodel_detect: (a: number, b: number, c: number, d: any) => any;
|
|
7790
8441
|
readonly nermodel_load: (a: any) => any;
|
|
7791
8442
|
readonly ocrBackendSupportsLanguage: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
8443
|
+
readonly ocrBackendSupportsLanguageFor: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
8444
|
+
readonly pdfPageCount: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
8445
|
+
readonly redactExternal: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => any;
|
|
7792
8446
|
readonly registerDocumentExtractor: (a: any) => [number, number];
|
|
7793
8447
|
readonly registerEmbeddingBackend: (a: any) => [number, number];
|
|
7794
8448
|
readonly registerOcrBackend: (a: any) => [number, number];
|
|
@@ -7904,6 +8558,7 @@ export interface InitOutput {
|
|
|
7904
8558
|
readonly wasmbedrockconfig_set_sessionToken: (a: number, b: number, c: number) => void;
|
|
7905
8559
|
readonly wasmbibtexmetadata_authors: (a: number) => [number, number];
|
|
7906
8560
|
readonly wasmbibtexmetadata_citationKeys: (a: number) => [number, number];
|
|
8561
|
+
readonly wasmbibtexmetadata_clearYearRange: (a: number) => void;
|
|
7907
8562
|
readonly wasmbibtexmetadata_default: () => number;
|
|
7908
8563
|
readonly wasmbibtexmetadata_entryCount: (a: number) => number;
|
|
7909
8564
|
readonly wasmbibtexmetadata_entryTypes: (a: number) => any;
|
|
@@ -7927,12 +8582,14 @@ export interface InitOutput {
|
|
|
7927
8582
|
readonly wasmbrowserconfig_backend: (a: number) => [number, number];
|
|
7928
8583
|
readonly wasmbrowserconfig_blockUrlPatterns: (a: number) => [number, number];
|
|
7929
8584
|
readonly wasmbrowserconfig_captureNetworkEvents: (a: number) => number;
|
|
8585
|
+
readonly wasmbrowserconfig_clearProxy: (a: number) => void;
|
|
7930
8586
|
readonly wasmbrowserconfig_default: () => number;
|
|
7931
8587
|
readonly wasmbrowserconfig_endpoint: (a: number) => [number, number];
|
|
7932
8588
|
readonly wasmbrowserconfig_evalScript: (a: number) => [number, number];
|
|
7933
8589
|
readonly wasmbrowserconfig_extraWait: (a: number) => [number, bigint];
|
|
7934
8590
|
readonly wasmbrowserconfig_mode: (a: number) => [number, number];
|
|
7935
|
-
readonly wasmbrowserconfig_new: (a: number, b: number, c: number, d: bigint, e: number, f:
|
|
8591
|
+
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;
|
|
8592
|
+
readonly wasmbrowserconfig_overallTimeout: (a: number) => [number, bigint];
|
|
7936
8593
|
readonly wasmbrowserconfig_proxy: (a: number) => number;
|
|
7937
8594
|
readonly wasmbrowserconfig_robotsUserAgent: (a: number) => [number, number];
|
|
7938
8595
|
readonly wasmbrowserconfig_sessionAffinity: (a: number) => number;
|
|
@@ -7943,12 +8600,15 @@ export interface InitOutput {
|
|
|
7943
8600
|
readonly wasmbrowserconfig_set_evalScript: (a: number, b: number, c: number) => void;
|
|
7944
8601
|
readonly wasmbrowserconfig_set_extraWait: (a: number, b: number, c: bigint) => void;
|
|
7945
8602
|
readonly wasmbrowserconfig_set_mode: (a: number, b: number) => void;
|
|
8603
|
+
readonly wasmbrowserconfig_set_overallTimeout: (a: number, b: number, c: bigint) => void;
|
|
7946
8604
|
readonly wasmbrowserconfig_set_proxy: (a: number, b: number) => void;
|
|
7947
8605
|
readonly wasmbrowserconfig_set_robotsUserAgent: (a: number, b: number, c: number) => void;
|
|
7948
8606
|
readonly wasmbrowserconfig_set_sessionAffinity: (a: number, b: number) => void;
|
|
8607
|
+
readonly wasmbrowserconfig_set_shutdownTimeout: (a: number, b: number, c: bigint) => void;
|
|
7949
8608
|
readonly wasmbrowserconfig_set_timeout: (a: number, b: number, c: bigint) => void;
|
|
7950
8609
|
readonly wasmbrowserconfig_set_wait: (a: number, b: number) => void;
|
|
7951
8610
|
readonly wasmbrowserconfig_set_waitSelector: (a: number, b: number, c: number) => void;
|
|
8611
|
+
readonly wasmbrowserconfig_shutdownTimeout: (a: number) => [number, bigint];
|
|
7952
8612
|
readonly wasmbrowserconfig_timeout: (a: number) => [number, bigint];
|
|
7953
8613
|
readonly wasmbrowserconfig_wait: (a: number) => [number, number];
|
|
7954
8614
|
readonly wasmbrowserconfig_waitSelector: (a: number) => [number, number];
|
|
@@ -7964,12 +8624,14 @@ export interface InitOutput {
|
|
|
7964
8624
|
readonly wasmcachestats_set_totalSizeMb: (a: number, b: number) => void;
|
|
7965
8625
|
readonly wasmcachestats_totalFiles: (a: number) => number;
|
|
7966
8626
|
readonly wasmcachestats_totalSizeMb: (a: number) => number;
|
|
8627
|
+
readonly wasmcaptioningconfig_altText: (a: number) => [number, number];
|
|
7967
8628
|
readonly wasmcaptioningconfig_default: () => number;
|
|
7968
8629
|
readonly wasmcaptioningconfig_defaultMinImageArea: () => number;
|
|
7969
8630
|
readonly wasmcaptioningconfig_llm: (a: number) => number;
|
|
7970
8631
|
readonly wasmcaptioningconfig_minImageArea: (a: number) => number;
|
|
7971
|
-
readonly wasmcaptioningconfig_new: (a: number, b: number, c: number, d: number) => number;
|
|
8632
|
+
readonly wasmcaptioningconfig_new: (a: number, b: number, c: number, d: number, e: number) => number;
|
|
7972
8633
|
readonly wasmcaptioningconfig_prompt: (a: number) => [number, number];
|
|
8634
|
+
readonly wasmcaptioningconfig_set_altText: (a: number, b: number) => void;
|
|
7973
8635
|
readonly wasmcaptioningconfig_set_llm: (a: number, b: number) => void;
|
|
7974
8636
|
readonly wasmcaptioningconfig_set_minImageArea: (a: number, b: number) => void;
|
|
7975
8637
|
readonly wasmcaptioningconfig_set_prompt: (a: number, b: number, c: number) => void;
|
|
@@ -7984,6 +8646,8 @@ export interface InitOutput {
|
|
|
7984
8646
|
readonly wasmcellchange_set_to: (a: number, b: number, c: number) => void;
|
|
7985
8647
|
readonly wasmcellchange_to: (a: number) => [number, number];
|
|
7986
8648
|
readonly wasmchunk_chunkType: (a: number) => [number, number];
|
|
8649
|
+
readonly wasmchunk_clearLateInteraction: (a: number) => void;
|
|
8650
|
+
readonly wasmchunk_clearSparseEmbedding: (a: number) => void;
|
|
7987
8651
|
readonly wasmchunk_content: (a: number) => [number, number];
|
|
7988
8652
|
readonly wasmchunk_default: () => number;
|
|
7989
8653
|
readonly wasmchunk_embedding: (a: number) => [number, number];
|
|
@@ -8026,6 +8690,9 @@ export interface InitOutput {
|
|
|
8026
8690
|
readonly wasmchunkinfo_set_index: (a: number, b: number) => void;
|
|
8027
8691
|
readonly wasmchunkinfo_set_pages: (a: number, b: number) => void;
|
|
8028
8692
|
readonly wasmchunkingconfig_chunkerType: (a: number) => [number, number];
|
|
8693
|
+
readonly wasmchunkingconfig_clearEmbedding: (a: number) => void;
|
|
8694
|
+
readonly wasmchunkingconfig_clearLateInteraction: (a: number) => void;
|
|
8695
|
+
readonly wasmchunkingconfig_clearSparseEmbedding: (a: number) => void;
|
|
8029
8696
|
readonly wasmchunkingconfig_default: () => number;
|
|
8030
8697
|
readonly wasmchunkingconfig_embedding: (a: number) => number;
|
|
8031
8698
|
readonly wasmchunkingconfig_lateInteraction: (a: number) => number;
|
|
@@ -8067,6 +8734,7 @@ export interface InitOutput {
|
|
|
8067
8734
|
readonly wasmchunkmetadata_byteStart: (a: number) => number;
|
|
8068
8735
|
readonly wasmchunkmetadata_chunkIndex: (a: number) => number;
|
|
8069
8736
|
readonly wasmchunkmetadata_classifications: (a: number) => [number, number];
|
|
8737
|
+
readonly wasmchunkmetadata_clearHeadingContext: (a: number) => void;
|
|
8070
8738
|
readonly wasmchunkmetadata_default: () => number;
|
|
8071
8739
|
readonly wasmchunkmetadata_firstPage: (a: number) => number;
|
|
8072
8740
|
readonly wasmchunkmetadata_headingContext: (a: number) => number;
|
|
@@ -8111,6 +8779,7 @@ export interface InitOutput {
|
|
|
8111
8779
|
readonly wasmcitation_source: (a: number) => [number, number];
|
|
8112
8780
|
readonly wasmcitationmetadata_authors: (a: number) => [number, number];
|
|
8113
8781
|
readonly wasmcitationmetadata_citationCount: (a: number) => number;
|
|
8782
|
+
readonly wasmcitationmetadata_clearYearRange: (a: number) => void;
|
|
8114
8783
|
readonly wasmcitationmetadata_default: () => number;
|
|
8115
8784
|
readonly wasmcitationmetadata_dois: (a: number) => [number, number];
|
|
8116
8785
|
readonly wasmcitationmetadata_format: (a: number) => [number, number];
|
|
@@ -8143,15 +8812,17 @@ export interface InitOutput {
|
|
|
8143
8812
|
readonly wasmconfidencesemantics_type: (a: number) => [number, number];
|
|
8144
8813
|
readonly wasmcontentconfig_default: () => number;
|
|
8145
8814
|
readonly wasmcontentconfig_excludeSelectors: (a: number) => [number, number];
|
|
8815
|
+
readonly wasmcontentconfig_extractMetadata: (a: number) => number;
|
|
8146
8816
|
readonly wasmcontentconfig_includeDocumentStructure: (a: number) => number;
|
|
8147
8817
|
readonly wasmcontentconfig_maxDepth: (a: number) => number;
|
|
8148
|
-
readonly wasmcontentconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number) => number;
|
|
8818
|
+
readonly wasmcontentconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number) => number;
|
|
8149
8819
|
readonly wasmcontentconfig_outputFormat: (a: number) => [number, number];
|
|
8150
8820
|
readonly wasmcontentconfig_preprocessingPreset: (a: number) => [number, number];
|
|
8151
8821
|
readonly wasmcontentconfig_preserveTags: (a: number) => [number, number];
|
|
8152
8822
|
readonly wasmcontentconfig_removeForms: (a: number) => number;
|
|
8153
8823
|
readonly wasmcontentconfig_removeNavigation: (a: number) => number;
|
|
8154
8824
|
readonly wasmcontentconfig_set_excludeSelectors: (a: number, b: number, c: number) => void;
|
|
8825
|
+
readonly wasmcontentconfig_set_extractMetadata: (a: number, b: number) => void;
|
|
8155
8826
|
readonly wasmcontentconfig_set_includeDocumentStructure: (a: number, b: number) => void;
|
|
8156
8827
|
readonly wasmcontentconfig_set_maxDepth: (a: number, b: number) => void;
|
|
8157
8828
|
readonly wasmcontentconfig_set_outputFormat: (a: number, b: number, c: number) => void;
|
|
@@ -8186,6 +8857,7 @@ export interface InitOutput {
|
|
|
8186
8857
|
readonly wasmcontributorrole_set_name: (a: number, b: number, c: number) => void;
|
|
8187
8858
|
readonly wasmcontributorrole_set_role: (a: number, b: number, c: number) => void;
|
|
8188
8859
|
readonly wasmconversionoptions_autolinks: (a: number) => number;
|
|
8860
|
+
readonly wasmconversionoptions_baseUrl: (a: number) => [number, number];
|
|
8189
8861
|
readonly wasmconversionoptions_brInTables: (a: number) => number;
|
|
8190
8862
|
readonly wasmconversionoptions_bullets: (a: number) => [number, number];
|
|
8191
8863
|
readonly wasmconversionoptions_captureSvg: (a: number) => number;
|
|
@@ -8214,12 +8886,13 @@ export interface InitOutput {
|
|
|
8214
8886
|
readonly wasmconversionoptions_listIndentWidth: (a: number) => number;
|
|
8215
8887
|
readonly wasmconversionoptions_maxDepth: (a: number) => number;
|
|
8216
8888
|
readonly wasmconversionoptions_maxImageSize: (a: number) => bigint;
|
|
8217
|
-
readonly wasmconversionoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number, l1: number, m1: number, n1: number, o1: number, p1: number, q1: number, r1: number, s1: number, t1: number, u1: number, v1: bigint, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number) => number;
|
|
8889
|
+
readonly wasmconversionoptions_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number, l1: number, m1: number, n1: number, o1: number, p1: number, q1: number, r1: number, s1: number, t1: number, u1: number, v1: bigint, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number, c2: number, d2: number) => number;
|
|
8218
8890
|
readonly wasmconversionoptions_newlineStyle: (a: number) => [number, number];
|
|
8219
8891
|
readonly wasmconversionoptions_outputFormat: (a: number) => [number, number];
|
|
8220
8892
|
readonly wasmconversionoptions_preprocessing: (a: number) => number;
|
|
8221
8893
|
readonly wasmconversionoptions_preserveTags: (a: number) => [number, number];
|
|
8222
8894
|
readonly wasmconversionoptions_set_autolinks: (a: number, b: number) => void;
|
|
8895
|
+
readonly wasmconversionoptions_set_baseUrl: (a: number, b: number, c: number) => void;
|
|
8223
8896
|
readonly wasmconversionoptions_set_brInTables: (a: number, b: number) => void;
|
|
8224
8897
|
readonly wasmconversionoptions_set_bullets: (a: number, b: number, c: number) => void;
|
|
8225
8898
|
readonly wasmconversionoptions_set_captureSvg: (a: number, b: number) => void;
|
|
@@ -8313,11 +8986,13 @@ export interface InitOutput {
|
|
|
8313
8986
|
readonly wasmcrawlconfig_browser: (a: number) => number;
|
|
8314
8987
|
readonly wasmcrawlconfig_browserProfile: (a: number) => [number, number];
|
|
8315
8988
|
readonly wasmcrawlconfig_captureScreenshot: (a: number) => number;
|
|
8989
|
+
readonly wasmcrawlconfig_clearProxy: (a: number) => void;
|
|
8316
8990
|
readonly wasmcrawlconfig_content: (a: number) => number;
|
|
8317
8991
|
readonly wasmcrawlconfig_contentFilter: (a: number) => [number, number];
|
|
8318
8992
|
readonly wasmcrawlconfig_cookiesEnabled: (a: number) => number;
|
|
8319
8993
|
readonly wasmcrawlconfig_crawlStrategy: (a: number) => [number, number];
|
|
8320
8994
|
readonly wasmcrawlconfig_customHeaders: (a: number) => any;
|
|
8995
|
+
readonly wasmcrawlconfig_dedupIncludeQuery: (a: number) => number;
|
|
8321
8996
|
readonly wasmcrawlconfig_default: () => number;
|
|
8322
8997
|
readonly wasmcrawlconfig_documentContentEncoding: (a: number) => [number, number];
|
|
8323
8998
|
readonly wasmcrawlconfig_documentMaxSize: (a: number) => number;
|
|
@@ -8338,14 +9013,18 @@ export interface InitOutput {
|
|
|
8338
9013
|
readonly wasmcrawlconfig_maxLinksPerPage: (a: number) => number;
|
|
8339
9014
|
readonly wasmcrawlconfig_maxPages: (a: number) => number;
|
|
8340
9015
|
readonly wasmcrawlconfig_maxRedirects: (a: number) => number;
|
|
8341
|
-
readonly wasmcrawlconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l:
|
|
9016
|
+
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;
|
|
9017
|
+
readonly wasmcrawlconfig_pathPatternsMatchQuery: (a: number) => number;
|
|
8342
9018
|
readonly wasmcrawlconfig_proxy: (a: number) => number;
|
|
9019
|
+
readonly wasmcrawlconfig_rateLimitJitterRatio: (a: number) => number;
|
|
8343
9020
|
readonly wasmcrawlconfig_rateLimitMs: (a: number) => [number, bigint];
|
|
8344
9021
|
readonly wasmcrawlconfig_removeTags: (a: number) => [number, number];
|
|
8345
9022
|
readonly wasmcrawlconfig_requestTimeout: (a: number) => [number, bigint];
|
|
8346
9023
|
readonly wasmcrawlconfig_respectRobotsTxt: (a: number) => number;
|
|
8347
9024
|
readonly wasmcrawlconfig_retryCodes: (a: number) => [number, number];
|
|
8348
9025
|
readonly wasmcrawlconfig_retryCount: (a: number) => number;
|
|
9026
|
+
readonly wasmcrawlconfig_retryInitialDelayMs: (a: number) => bigint;
|
|
9027
|
+
readonly wasmcrawlconfig_retryMaxDelayMs: (a: number) => bigint;
|
|
8349
9028
|
readonly wasmcrawlconfig_saveBrowserProfile: (a: number) => number;
|
|
8350
9029
|
readonly wasmcrawlconfig_set_allowSubdomains: (a: number, b: number) => void;
|
|
8351
9030
|
readonly wasmcrawlconfig_set_assetTypes: (a: number, b: number, c: number) => void;
|
|
@@ -8360,6 +9039,7 @@ export interface InitOutput {
|
|
|
8360
9039
|
readonly wasmcrawlconfig_set_cookiesEnabled: (a: number, b: number) => void;
|
|
8361
9040
|
readonly wasmcrawlconfig_set_crawlStrategy: (a: number, b: number) => void;
|
|
8362
9041
|
readonly wasmcrawlconfig_set_customHeaders: (a: number, b: any) => void;
|
|
9042
|
+
readonly wasmcrawlconfig_set_dedupIncludeQuery: (a: number, b: number) => void;
|
|
8363
9043
|
readonly wasmcrawlconfig_set_documentContentEncoding: (a: number, b: number) => void;
|
|
8364
9044
|
readonly wasmcrawlconfig_set_documentMaxSize: (a: number, b: number) => void;
|
|
8365
9045
|
readonly wasmcrawlconfig_set_documentMimeTypes: (a: number, b: number, c: number) => void;
|
|
@@ -8379,18 +9059,24 @@ export interface InitOutput {
|
|
|
8379
9059
|
readonly wasmcrawlconfig_set_maxLinksPerPage: (a: number, b: number) => void;
|
|
8380
9060
|
readonly wasmcrawlconfig_set_maxPages: (a: number, b: number) => void;
|
|
8381
9061
|
readonly wasmcrawlconfig_set_maxRedirects: (a: number, b: number) => void;
|
|
9062
|
+
readonly wasmcrawlconfig_set_pathPatternsMatchQuery: (a: number, b: number) => void;
|
|
8382
9063
|
readonly wasmcrawlconfig_set_proxy: (a: number, b: number) => void;
|
|
9064
|
+
readonly wasmcrawlconfig_set_rateLimitJitterRatio: (a: number, b: number) => void;
|
|
8383
9065
|
readonly wasmcrawlconfig_set_rateLimitMs: (a: number, b: number, c: bigint) => void;
|
|
8384
9066
|
readonly wasmcrawlconfig_set_removeTags: (a: number, b: number, c: number) => void;
|
|
8385
9067
|
readonly wasmcrawlconfig_set_requestTimeout: (a: number, b: number, c: bigint) => void;
|
|
8386
9068
|
readonly wasmcrawlconfig_set_respectRobotsTxt: (a: number, b: number) => void;
|
|
8387
9069
|
readonly wasmcrawlconfig_set_retryCodes: (a: number, b: number, c: number) => void;
|
|
8388
9070
|
readonly wasmcrawlconfig_set_retryCount: (a: number, b: number) => void;
|
|
9071
|
+
readonly wasmcrawlconfig_set_retryInitialDelayMs: (a: number, b: bigint) => void;
|
|
9072
|
+
readonly wasmcrawlconfig_set_retryMaxDelayMs: (a: number, b: bigint) => void;
|
|
8389
9073
|
readonly wasmcrawlconfig_set_saveBrowserProfile: (a: number, b: number) => void;
|
|
8390
9074
|
readonly wasmcrawlconfig_set_softHttpErrors: (a: number, b: number) => void;
|
|
8391
9075
|
readonly wasmcrawlconfig_set_ssrf: (a: number, b: number) => void;
|
|
8392
9076
|
readonly wasmcrawlconfig_set_ssrfDenyPrivateExplicit: (a: number, b: number) => void;
|
|
8393
9077
|
readonly wasmcrawlconfig_set_stayOnDomain: (a: number, b: number) => void;
|
|
9078
|
+
readonly wasmcrawlconfig_set_stripTrackingParams: (a: number, b: number) => void;
|
|
9079
|
+
readonly wasmcrawlconfig_set_trackingParams: (a: number, b: number, c: number) => void;
|
|
8394
9080
|
readonly wasmcrawlconfig_set_userAgent: (a: number, b: number, c: number) => void;
|
|
8395
9081
|
readonly wasmcrawlconfig_set_userAgents: (a: number, b: number, c: number) => void;
|
|
8396
9082
|
readonly wasmcrawlconfig_set_warcOutput: (a: number, b: number, c: number) => void;
|
|
@@ -8398,6 +9084,8 @@ export interface InitOutput {
|
|
|
8398
9084
|
readonly wasmcrawlconfig_ssrf: (a: number) => number;
|
|
8399
9085
|
readonly wasmcrawlconfig_ssrfDenyPrivateExplicit: (a: number) => number;
|
|
8400
9086
|
readonly wasmcrawlconfig_stayOnDomain: (a: number) => number;
|
|
9087
|
+
readonly wasmcrawlconfig_stripTrackingParams: (a: number) => number;
|
|
9088
|
+
readonly wasmcrawlconfig_trackingParams: (a: number) => [number, number];
|
|
8401
9089
|
readonly wasmcrawlconfig_userAgent: (a: number) => [number, number];
|
|
8402
9090
|
readonly wasmcrawlconfig_userAgents: (a: number) => [number, number];
|
|
8403
9091
|
readonly wasmcrawlconfig_warcOutput: (a: number) => [number, number];
|
|
@@ -8495,6 +9183,7 @@ export interface InitOutput {
|
|
|
8495
9183
|
readonly wasmdjotcontent_tables: (a: number) => [number, number];
|
|
8496
9184
|
readonly wasmdjotimage_alt: (a: number) => [number, number];
|
|
8497
9185
|
readonly wasmdjotimage_attributes: (a: number) => number;
|
|
9186
|
+
readonly wasmdjotimage_clearAttributes: (a: number) => void;
|
|
8498
9187
|
readonly wasmdjotimage_default: () => number;
|
|
8499
9188
|
readonly wasmdjotimage_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
8500
9189
|
readonly wasmdjotimage_set_alt: (a: number, b: number, c: number) => void;
|
|
@@ -8504,6 +9193,7 @@ export interface InitOutput {
|
|
|
8504
9193
|
readonly wasmdjotimage_src: (a: number) => [number, number];
|
|
8505
9194
|
readonly wasmdjotimage_title: (a: number) => [number, number];
|
|
8506
9195
|
readonly wasmdjotlink_attributes: (a: number) => number;
|
|
9196
|
+
readonly wasmdjotlink_clearAttributes: (a: number) => void;
|
|
8507
9197
|
readonly wasmdjotlink_default: () => number;
|
|
8508
9198
|
readonly wasmdjotlink_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
8509
9199
|
readonly wasmdjotlink_set_attributes: (a: number, b: number) => void;
|
|
@@ -8549,6 +9239,7 @@ export interface InitOutput {
|
|
|
8549
9239
|
readonly wasmdocumentcounts_set_tables: (a: number, b: number) => void;
|
|
8550
9240
|
readonly wasmdocumentcounts_tables: (a: number) => number;
|
|
8551
9241
|
readonly wasmdocumentmetadata_chunkingEnabled: (a: number) => number;
|
|
9242
|
+
readonly wasmdocumentmetadata_clearUserChunkConfig: (a: number) => void;
|
|
8552
9243
|
readonly wasmdocumentmetadata_default: () => number;
|
|
8553
9244
|
readonly wasmdocumentmetadata_forceOcr: (a: number) => number;
|
|
8554
9245
|
readonly wasmdocumentmetadata_mimeType: (a: number) => [number, number];
|
|
@@ -8566,6 +9257,7 @@ export interface InitOutput {
|
|
|
8566
9257
|
readonly wasmdocumentnode_attributes: (a: number) => any;
|
|
8567
9258
|
readonly wasmdocumentnode_bbox: (a: number) => number;
|
|
8568
9259
|
readonly wasmdocumentnode_children: (a: number) => [number, number];
|
|
9260
|
+
readonly wasmdocumentnode_clearBbox: (a: number) => void;
|
|
8569
9261
|
readonly wasmdocumentnode_content: (a: number) => any;
|
|
8570
9262
|
readonly wasmdocumentnode_contentLayer: (a: number) => [number, number];
|
|
8571
9263
|
readonly wasmdocumentnode_default: () => number;
|
|
@@ -8661,6 +9353,8 @@ export interface InitOutput {
|
|
|
8661
9353
|
readonly wasmdocxappproperties_totalTime: (a: number) => number;
|
|
8662
9354
|
readonly wasmdocxappproperties_words: (a: number) => number;
|
|
8663
9355
|
readonly wasmdocxmetadata_appProperties: (a: number) => number;
|
|
9356
|
+
readonly wasmdocxmetadata_clearAppProperties: (a: number) => void;
|
|
9357
|
+
readonly wasmdocxmetadata_clearCoreProperties: (a: number) => void;
|
|
8664
9358
|
readonly wasmdocxmetadata_coreProperties: (a: number) => number;
|
|
8665
9359
|
readonly wasmdocxmetadata_customProperties: (a: number) => any;
|
|
8666
9360
|
readonly wasmdocxmetadata_default: () => number;
|
|
@@ -8679,6 +9373,7 @@ export interface InitOutput {
|
|
|
8679
9373
|
readonly wasmelement_set_text: (a: number, b: number, c: number) => void;
|
|
8680
9374
|
readonly wasmelement_text: (a: number) => [number, number];
|
|
8681
9375
|
readonly wasmelementmetadata_additional: (a: number) => any;
|
|
9376
|
+
readonly wasmelementmetadata_clearCoordinates: (a: number) => void;
|
|
8682
9377
|
readonly wasmelementmetadata_coordinates: (a: number) => number;
|
|
8683
9378
|
readonly wasmelementmetadata_default: () => number;
|
|
8684
9379
|
readonly wasmelementmetadata_elementIndex: (a: number) => number;
|
|
@@ -8763,6 +9458,7 @@ export interface InitOutput {
|
|
|
8763
9458
|
readonly wasmembeddingconfig_acceleration: (a: number) => number;
|
|
8764
9459
|
readonly wasmembeddingconfig_batchSize: (a: number) => number;
|
|
8765
9460
|
readonly wasmembeddingconfig_cacheDir: (a: number) => [number, number];
|
|
9461
|
+
readonly wasmembeddingconfig_clearAcceleration: (a: number) => void;
|
|
8766
9462
|
readonly wasmembeddingconfig_default: () => number;
|
|
8767
9463
|
readonly wasmembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
|
|
8768
9464
|
readonly wasmembeddingconfig_maxSequenceLength: (a: number) => number;
|
|
@@ -8778,6 +9474,7 @@ export interface InitOutput {
|
|
|
8778
9474
|
readonly wasmembeddingconfig_set_normalize: (a: number, b: number) => void;
|
|
8779
9475
|
readonly wasmembeddingconfig_set_showDownloadProgress: (a: number, b: number) => void;
|
|
8780
9476
|
readonly wasmembeddingconfig_showDownloadProgress: (a: number) => number;
|
|
9477
|
+
readonly wasmembeddingmodeltype_clearLlm: (a: number) => void;
|
|
8781
9478
|
readonly wasmembeddingmodeltype_default: () => number;
|
|
8782
9479
|
readonly wasmembeddingmodeltype_dimensions: (a: number) => number;
|
|
8783
9480
|
readonly wasmembeddingmodeltype_llm: (a: number) => number;
|
|
@@ -8856,9 +9553,27 @@ export interface InitOutput {
|
|
|
8856
9553
|
readonly wasmexcelworkbook_set_revisions: (a: number, b: number, c: number) => void;
|
|
8857
9554
|
readonly wasmexcelworkbook_set_sheets: (a: number, b: number, c: number) => void;
|
|
8858
9555
|
readonly wasmexcelworkbook_sheets: (a: number) => [number, number];
|
|
9556
|
+
readonly wasmexternalredactionfinding_default: () => number;
|
|
9557
|
+
readonly wasmexternalredactionfinding_end: (a: number) => number;
|
|
9558
|
+
readonly wasmexternalredactionfinding_label: (a: number) => [number, number];
|
|
9559
|
+
readonly wasmexternalredactionfinding_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => number;
|
|
9560
|
+
readonly wasmexternalredactionfinding_score: (a: number) => number;
|
|
9561
|
+
readonly wasmexternalredactionfinding_set_end: (a: number, b: number) => void;
|
|
9562
|
+
readonly wasmexternalredactionfinding_set_label: (a: number, b: number, c: number) => void;
|
|
9563
|
+
readonly wasmexternalredactionfinding_set_score: (a: number, b: number) => void;
|
|
9564
|
+
readonly wasmexternalredactionfinding_set_start: (a: number, b: number) => void;
|
|
9565
|
+
readonly wasmexternalredactionfinding_set_text: (a: number, b: number, c: number) => void;
|
|
9566
|
+
readonly wasmexternalredactionfinding_start: (a: number) => number;
|
|
9567
|
+
readonly wasmexternalredactionfinding_text: (a: number) => [number, number];
|
|
8859
9568
|
readonly wasmextracteddocument_annotations: (a: number) => any;
|
|
8860
9569
|
readonly wasmextracteddocument_children: (a: number) => any;
|
|
8861
9570
|
readonly wasmextracteddocument_chunks: (a: number) => any;
|
|
9571
|
+
readonly wasmextracteddocument_clearDjotContent: (a: number) => void;
|
|
9572
|
+
readonly wasmextracteddocument_clearDocument: (a: number) => void;
|
|
9573
|
+
readonly wasmextracteddocument_clearExtractionConfidence: (a: number) => void;
|
|
9574
|
+
readonly wasmextracteddocument_clearRedactionReport: (a: number) => void;
|
|
9575
|
+
readonly wasmextracteddocument_clearSummary: (a: number) => void;
|
|
9576
|
+
readonly wasmextracteddocument_clearTranslation: (a: number) => void;
|
|
8862
9577
|
readonly wasmextracteddocument_content: (a: number) => [number, number];
|
|
8863
9578
|
readonly wasmextracteddocument_counts: (a: number) => number;
|
|
8864
9579
|
readonly wasmextracteddocument_default: () => number;
|
|
@@ -8925,6 +9640,8 @@ export interface InitOutput {
|
|
|
8925
9640
|
readonly wasmextractedimage_bitsPerComponent: (a: number) => number;
|
|
8926
9641
|
readonly wasmextractedimage_boundingBox: (a: number) => number;
|
|
8927
9642
|
readonly wasmextractedimage_caption: (a: number) => [number, number];
|
|
9643
|
+
readonly wasmextractedimage_clearBoundingBox: (a: number) => void;
|
|
9644
|
+
readonly wasmextractedimage_clearOcrResult: (a: number) => void;
|
|
8928
9645
|
readonly wasmextractedimage_clusterId: (a: number) => number;
|
|
8929
9646
|
readonly wasmextractedimage_colorspace: (a: number) => [number, number];
|
|
8930
9647
|
readonly wasmextractedimage_data: (a: number) => [number, number];
|
|
@@ -8973,6 +9690,7 @@ export interface InitOutput {
|
|
|
8973
9690
|
readonly wasmextracteduri_set_url: (a: number, b: number, c: number) => void;
|
|
8974
9691
|
readonly wasmextracteduri_url: (a: number) => [number, number];
|
|
8975
9692
|
readonly wasmextractinput_bytes: (a: number) => [number, number];
|
|
9693
|
+
readonly wasmextractinput_clearConfig: (a: number) => void;
|
|
8976
9694
|
readonly wasmextractinput_config: (a: number) => number;
|
|
8977
9695
|
readonly wasmextractinput_default: () => number;
|
|
8978
9696
|
readonly wasmextractinput_filename: (a: number) => [number, number];
|
|
@@ -9005,6 +9723,34 @@ export interface InitOutput {
|
|
|
9005
9723
|
readonly wasmextractionconfig_captioning: (a: number) => number;
|
|
9006
9724
|
readonly wasmextractionconfig_chunkClassification: (a: number) => number;
|
|
9007
9725
|
readonly wasmextractionconfig_chunking: (a: number) => number;
|
|
9726
|
+
readonly wasmextractionconfig_clearAcceleration: (a: number) => void;
|
|
9727
|
+
readonly wasmextractionconfig_clearCaptioning: (a: number) => void;
|
|
9728
|
+
readonly wasmextractionconfig_clearChunkClassification: (a: number) => void;
|
|
9729
|
+
readonly wasmextractionconfig_clearChunking: (a: number) => void;
|
|
9730
|
+
readonly wasmextractionconfig_clearConcurrency: (a: number) => void;
|
|
9731
|
+
readonly wasmextractionconfig_clearContentFilter: (a: number) => void;
|
|
9732
|
+
readonly wasmextractionconfig_clearCsv: (a: number) => void;
|
|
9733
|
+
readonly wasmextractionconfig_clearEmail: (a: number) => void;
|
|
9734
|
+
readonly wasmextractionconfig_clearGeojson: (a: number) => void;
|
|
9735
|
+
readonly wasmextractionconfig_clearHtmlOptions: (a: number) => void;
|
|
9736
|
+
readonly wasmextractionconfig_clearHtmlOutput: (a: number) => void;
|
|
9737
|
+
readonly wasmextractionconfig_clearImages: (a: number) => void;
|
|
9738
|
+
readonly wasmextractionconfig_clearKeywords: (a: number) => void;
|
|
9739
|
+
readonly wasmextractionconfig_clearLanguageDetection: (a: number) => void;
|
|
9740
|
+
readonly wasmextractionconfig_clearLayout: (a: number) => void;
|
|
9741
|
+
readonly wasmextractionconfig_clearNer: (a: number) => void;
|
|
9742
|
+
readonly wasmextractionconfig_clearOcr: (a: number) => void;
|
|
9743
|
+
readonly wasmextractionconfig_clearPageClassification: (a: number) => void;
|
|
9744
|
+
readonly wasmextractionconfig_clearPages: (a: number) => void;
|
|
9745
|
+
readonly wasmextractionconfig_clearPdfOptions: (a: number) => void;
|
|
9746
|
+
readonly wasmextractionconfig_clearPostprocessor: (a: number) => void;
|
|
9747
|
+
readonly wasmextractionconfig_clearRedaction: (a: number) => void;
|
|
9748
|
+
readonly wasmextractionconfig_clearSecurityLimits: (a: number) => void;
|
|
9749
|
+
readonly wasmextractionconfig_clearStructuredExtraction: (a: number) => void;
|
|
9750
|
+
readonly wasmextractionconfig_clearSummarization: (a: number) => void;
|
|
9751
|
+
readonly wasmextractionconfig_clearTokenReduction: (a: number) => void;
|
|
9752
|
+
readonly wasmextractionconfig_clearTranscription: (a: number) => void;
|
|
9753
|
+
readonly wasmextractionconfig_clearTranslation: (a: number) => void;
|
|
9008
9754
|
readonly wasmextractionconfig_concurrency: (a: number) => number;
|
|
9009
9755
|
readonly wasmextractionconfig_contentFilter: (a: number) => number;
|
|
9010
9756
|
readonly wasmextractionconfig_csv: (a: number) => number;
|
|
@@ -9168,6 +9914,29 @@ export interface InitOutput {
|
|
|
9168
9914
|
readonly wasmfileextractionconfig_captioning: (a: number) => number;
|
|
9169
9915
|
readonly wasmfileextractionconfig_chunkClassification: (a: number) => number;
|
|
9170
9916
|
readonly wasmfileextractionconfig_chunking: (a: number) => number;
|
|
9917
|
+
readonly wasmfileextractionconfig_clearCaptioning: (a: number) => void;
|
|
9918
|
+
readonly wasmfileextractionconfig_clearChunkClassification: (a: number) => void;
|
|
9919
|
+
readonly wasmfileextractionconfig_clearChunking: (a: number) => void;
|
|
9920
|
+
readonly wasmfileextractionconfig_clearContentFilter: (a: number) => void;
|
|
9921
|
+
readonly wasmfileextractionconfig_clearHtmlOptions: (a: number) => void;
|
|
9922
|
+
readonly wasmfileextractionconfig_clearHtmlOutput: (a: number) => void;
|
|
9923
|
+
readonly wasmfileextractionconfig_clearImages: (a: number) => void;
|
|
9924
|
+
readonly wasmfileextractionconfig_clearKeywords: (a: number) => void;
|
|
9925
|
+
readonly wasmfileextractionconfig_clearLanguageDetection: (a: number) => void;
|
|
9926
|
+
readonly wasmfileextractionconfig_clearLayout: (a: number) => void;
|
|
9927
|
+
readonly wasmfileextractionconfig_clearNer: (a: number) => void;
|
|
9928
|
+
readonly wasmfileextractionconfig_clearOcr: (a: number) => void;
|
|
9929
|
+
readonly wasmfileextractionconfig_clearPageClassification: (a: number) => void;
|
|
9930
|
+
readonly wasmfileextractionconfig_clearPages: (a: number) => void;
|
|
9931
|
+
readonly wasmfileextractionconfig_clearPdfOptions: (a: number) => void;
|
|
9932
|
+
readonly wasmfileextractionconfig_clearPostprocessor: (a: number) => void;
|
|
9933
|
+
readonly wasmfileextractionconfig_clearRedaction: (a: number) => void;
|
|
9934
|
+
readonly wasmfileextractionconfig_clearStructuredExtraction: (a: number) => void;
|
|
9935
|
+
readonly wasmfileextractionconfig_clearSummarization: (a: number) => void;
|
|
9936
|
+
readonly wasmfileextractionconfig_clearTokenReduction: (a: number) => void;
|
|
9937
|
+
readonly wasmfileextractionconfig_clearTranscription: (a: number) => void;
|
|
9938
|
+
readonly wasmfileextractionconfig_clearTranslation: (a: number) => void;
|
|
9939
|
+
readonly wasmfileextractionconfig_clearUrl: (a: number) => void;
|
|
9171
9940
|
readonly wasmfileextractionconfig_contentFilter: (a: number) => number;
|
|
9172
9941
|
readonly wasmfileextractionconfig_default: () => number;
|
|
9173
9942
|
readonly wasmfileextractionconfig_disableOcr: (a: number) => number;
|
|
@@ -9263,6 +10032,7 @@ export interface InitOutput {
|
|
|
9263
10032
|
readonly wasmformattedblock_attributes: (a: number) => number;
|
|
9264
10033
|
readonly wasmformattedblock_blockType: (a: number) => [number, number];
|
|
9265
10034
|
readonly wasmformattedblock_children: (a: number) => [number, number];
|
|
10035
|
+
readonly wasmformattedblock_clearAttributes: (a: number) => void;
|
|
9266
10036
|
readonly wasmformattedblock_code: (a: number) => [number, number];
|
|
9267
10037
|
readonly wasmformattedblock_default: () => number;
|
|
9268
10038
|
readonly wasmformattedblock_inlineContent: (a: number) => [number, number];
|
|
@@ -9277,6 +10047,7 @@ export interface InitOutput {
|
|
|
9277
10047
|
readonly wasmformattedblock_set_language: (a: number, b: number, c: number) => void;
|
|
9278
10048
|
readonly wasmformattedblock_set_level: (a: number, b: number) => void;
|
|
9279
10049
|
readonly wasmformula_bbox: (a: number) => number;
|
|
10050
|
+
readonly wasmformula_clearBbox: (a: number) => void;
|
|
9280
10051
|
readonly wasmformula_default: () => number;
|
|
9281
10052
|
readonly wasmformula_latex: (a: number) => [number, number];
|
|
9282
10053
|
readonly wasmformula_new: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -9289,6 +10060,7 @@ export interface InitOutput {
|
|
|
9289
10060
|
readonly wasmgeojsonextractionconfig_new: (a: number) => number;
|
|
9290
10061
|
readonly wasmgeojsonextractionconfig_set_includeFullCoordinates: (a: number, b: number) => void;
|
|
9291
10062
|
readonly wasmgridcell_bbox: (a: number) => number;
|
|
10063
|
+
readonly wasmgridcell_clearBbox: (a: number) => void;
|
|
9292
10064
|
readonly wasmgridcell_col: (a: number) => number;
|
|
9293
10065
|
readonly wasmgridcell_colSpan: (a: number) => number;
|
|
9294
10066
|
readonly wasmgridcell_content: (a: number) => [number, number];
|
|
@@ -9356,6 +10128,7 @@ export interface InitOutput {
|
|
|
9356
10128
|
readonly wasmheuristicsconfig_textLayerThreshold: (a: number) => number;
|
|
9357
10129
|
readonly wasmheuristicsconfig_validate: (a: number) => [number, number];
|
|
9358
10130
|
readonly wasmhierarchicalblock_bbox: (a: number) => number;
|
|
10131
|
+
readonly wasmhierarchicalblock_clearBbox: (a: number) => void;
|
|
9359
10132
|
readonly wasmhierarchicalblock_default: () => number;
|
|
9360
10133
|
readonly wasmhierarchicalblock_fontSize: (a: number) => number;
|
|
9361
10134
|
readonly wasmhierarchicalblock_level: (a: number) => [number, number];
|
|
@@ -9491,6 +10264,7 @@ export interface InitOutput {
|
|
|
9491
10264
|
readonly wasmimagemetadata_width: (a: number) => number;
|
|
9492
10265
|
readonly wasmimagemetadatatype_alt: (a: number) => [number, number];
|
|
9493
10266
|
readonly wasmimagemetadatatype_attributes: (a: number) => [number, number];
|
|
10267
|
+
readonly wasmimagemetadatatype_clearDimensions: (a: number) => void;
|
|
9494
10268
|
readonly wasmimagemetadatatype_default: () => number;
|
|
9495
10269
|
readonly wasmimagemetadatatype_dimensions: (a: number) => number;
|
|
9496
10270
|
readonly wasmimagemetadatatype_imageType: (a: number) => [number, number];
|
|
@@ -9516,17 +10290,20 @@ export interface InitOutput {
|
|
|
9516
10290
|
readonly wasmimagepreprocessingconfig_denoise: (a: number) => number;
|
|
9517
10291
|
readonly wasmimagepreprocessingconfig_deskew: (a: number) => number;
|
|
9518
10292
|
readonly wasmimagepreprocessingconfig_invertColors: (a: number) => number;
|
|
9519
|
-
readonly wasmimagepreprocessingconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
10293
|
+
readonly wasmimagepreprocessingconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
10294
|
+
readonly wasmimagepreprocessingconfig_normalizeShadedRows: (a: number) => number;
|
|
9520
10295
|
readonly wasmimagepreprocessingconfig_set_autoRotate: (a: number, b: number) => void;
|
|
9521
10296
|
readonly wasmimagepreprocessingconfig_set_binarizationMethod: (a: number, b: number, c: number) => void;
|
|
9522
10297
|
readonly wasmimagepreprocessingconfig_set_contrastEnhance: (a: number, b: number) => void;
|
|
9523
10298
|
readonly wasmimagepreprocessingconfig_set_denoise: (a: number, b: number) => void;
|
|
9524
10299
|
readonly wasmimagepreprocessingconfig_set_deskew: (a: number, b: number) => void;
|
|
9525
10300
|
readonly wasmimagepreprocessingconfig_set_invertColors: (a: number, b: number) => void;
|
|
10301
|
+
readonly wasmimagepreprocessingconfig_set_normalizeShadedRows: (a: number, b: number) => void;
|
|
9526
10302
|
readonly wasmimagepreprocessingconfig_set_targetDpi: (a: number, b: number) => void;
|
|
9527
10303
|
readonly wasmimagepreprocessingconfig_targetDpi: (a: number) => number;
|
|
9528
10304
|
readonly wasmimagepreprocessingmetadata_autoAdjusted: (a: number) => number;
|
|
9529
10305
|
readonly wasmimagepreprocessingmetadata_calculatedDpi: (a: number) => number;
|
|
10306
|
+
readonly wasmimagepreprocessingmetadata_clearNewDimensions: (a: number) => void;
|
|
9530
10307
|
readonly wasmimagepreprocessingmetadata_default: () => number;
|
|
9531
10308
|
readonly wasmimagepreprocessingmetadata_dimensionClamped: (a: number) => number;
|
|
9532
10309
|
readonly wasmimagepreprocessingmetadata_finalDpi: (a: number) => number;
|
|
@@ -9552,6 +10329,7 @@ export interface InitOutput {
|
|
|
9552
10329
|
readonly wasmimagepreprocessingmetadata_skippedResize: (a: number) => number;
|
|
9553
10330
|
readonly wasmimagepreprocessingmetadata_targetDpi: (a: number) => number;
|
|
9554
10331
|
readonly wasminlineelement_attributes: (a: number) => number;
|
|
10332
|
+
readonly wasminlineelement_clearAttributes: (a: number) => void;
|
|
9555
10333
|
readonly wasminlineelement_content: (a: number) => [number, number];
|
|
9556
10334
|
readonly wasminlineelement_default: () => number;
|
|
9557
10335
|
readonly wasminlineelement_elementType: (a: number) => [number, number];
|
|
@@ -9588,6 +10366,8 @@ export interface InitOutput {
|
|
|
9588
10366
|
readonly wasmkeyword_set_text: (a: number, b: number, c: number) => void;
|
|
9589
10367
|
readonly wasmkeyword_text: (a: number) => [number, number];
|
|
9590
10368
|
readonly wasmkeywordconfig_algorithm: (a: number) => [number, number];
|
|
10369
|
+
readonly wasmkeywordconfig_clearRakeParams: (a: number) => void;
|
|
10370
|
+
readonly wasmkeywordconfig_clearYakeParams: (a: number) => void;
|
|
9591
10371
|
readonly wasmkeywordconfig_default: () => number;
|
|
9592
10372
|
readonly wasmkeywordconfig_language: (a: number) => [number, number];
|
|
9593
10373
|
readonly wasmkeywordconfig_maxKeywords: (a: number) => number;
|
|
@@ -9626,6 +10406,7 @@ export interface InitOutput {
|
|
|
9626
10406
|
readonly wasmlateinteractionconfig_acceleration: (a: number) => number;
|
|
9627
10407
|
readonly wasmlateinteractionconfig_batchSize: (a: number) => number;
|
|
9628
10408
|
readonly wasmlateinteractionconfig_cacheDir: (a: number) => [number, number];
|
|
10409
|
+
readonly wasmlateinteractionconfig_clearAcceleration: (a: number) => void;
|
|
9629
10410
|
readonly wasmlateinteractionconfig_default: () => number;
|
|
9630
10411
|
readonly wasmlateinteractionconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
|
|
9631
10412
|
readonly wasmlateinteractionconfig_maxLength: (a: number) => number;
|
|
@@ -9689,6 +10470,7 @@ export interface InitOutput {
|
|
|
9689
10470
|
readonly wasmlayoutdetection_set_confidence: (a: number, b: number) => void;
|
|
9690
10471
|
readonly wasmlayoutdetectionconfig_acceleration: (a: number) => number;
|
|
9691
10472
|
readonly wasmlayoutdetectionconfig_applyHeuristics: (a: number) => number;
|
|
10473
|
+
readonly wasmlayoutdetectionconfig_clearAcceleration: (a: number) => void;
|
|
9692
10474
|
readonly wasmlayoutdetectionconfig_confidenceThreshold: (a: number) => number;
|
|
9693
10475
|
readonly wasmlayoutdetectionconfig_default: () => number;
|
|
9694
10476
|
readonly wasmlayoutdetectionconfig_enableChartUnderstanding: (a: number) => number;
|
|
@@ -9752,6 +10534,10 @@ export interface InitOutput {
|
|
|
9752
10534
|
readonly wasmllmconfig_bedrock: (a: number) => number;
|
|
9753
10535
|
readonly wasmllmconfig_budget: (a: number) => number;
|
|
9754
10536
|
readonly wasmllmconfig_cache: (a: number) => number;
|
|
10537
|
+
readonly wasmllmconfig_clearBedrock: (a: number) => void;
|
|
10538
|
+
readonly wasmllmconfig_clearBudget: (a: number) => void;
|
|
10539
|
+
readonly wasmllmconfig_clearCache: (a: number) => void;
|
|
10540
|
+
readonly wasmllmconfig_clearRateLimit: (a: number) => void;
|
|
9755
10541
|
readonly wasmllmconfig_cooldownSecs: (a: number) => [number, bigint];
|
|
9756
10542
|
readonly wasmllmconfig_costTracking: (a: number) => number;
|
|
9757
10543
|
readonly wasmllmconfig_credentialProvider: (a: number) => any;
|
|
@@ -9860,6 +10646,9 @@ export interface InitOutput {
|
|
|
9860
10646
|
readonly wasmmetadata_additional: (a: number) => any;
|
|
9861
10647
|
readonly wasmmetadata_authors: (a: number) => [number, number];
|
|
9862
10648
|
readonly wasmmetadata_category: (a: number) => [number, number];
|
|
10649
|
+
readonly wasmmetadata_clearError: (a: number) => void;
|
|
10650
|
+
readonly wasmmetadata_clearImagePreprocessing: (a: number) => void;
|
|
10651
|
+
readonly wasmmetadata_clearPages: (a: number) => void;
|
|
9863
10652
|
readonly wasmmetadata_createdAt: (a: number) => [number, number];
|
|
9864
10653
|
readonly wasmmetadata_createdBy: (a: number) => [number, number];
|
|
9865
10654
|
readonly wasmmetadata_default: () => number;
|
|
@@ -9938,6 +10727,7 @@ export interface InitOutput {
|
|
|
9938
10727
|
readonly wasmmultivectorembedding_set_numTokens: (a: number, b: number) => void;
|
|
9939
10728
|
readonly wasmnerconfig_backend: (a: number) => [number, number];
|
|
9940
10729
|
readonly wasmnerconfig_categories: (a: number) => any;
|
|
10730
|
+
readonly wasmnerconfig_clearLlm: (a: number) => void;
|
|
9941
10731
|
readonly wasmnerconfig_customLabels: (a: number) => [number, number];
|
|
9942
10732
|
readonly wasmnerconfig_default: () => number;
|
|
9943
10733
|
readonly wasmnerconfig_llm: (a: number) => number;
|
|
@@ -9972,6 +10762,7 @@ export interface InitOutput {
|
|
|
9972
10762
|
readonly wasmnochunkingreason_threshold: (a: number) => number;
|
|
9973
10763
|
readonly wasmnochunkingreason_thresholdBytes: (a: number) => [number, bigint];
|
|
9974
10764
|
readonly wasmnochunkingreason_type: (a: number) => [number, number];
|
|
10765
|
+
readonly wasmnodecontent_clearGrid: (a: number) => void;
|
|
9975
10766
|
readonly wasmnodecontent_content: (a: number) => [number, number];
|
|
9976
10767
|
readonly wasmnodecontent_default: () => number;
|
|
9977
10768
|
readonly wasmnodecontent_definition: (a: number) => [number, number];
|
|
@@ -10046,13 +10837,23 @@ export interface InitOutput {
|
|
|
10046
10837
|
readonly wasmocrconfig_autoRotate: (a: number) => number;
|
|
10047
10838
|
readonly wasmocrconfig_backend: (a: number) => [number, number];
|
|
10048
10839
|
readonly wasmocrconfig_backendOptions: (a: number) => any;
|
|
10840
|
+
readonly wasmocrconfig_clearAcceleration: (a: number) => void;
|
|
10841
|
+
readonly wasmocrconfig_clearElementConfig: (a: number) => void;
|
|
10842
|
+
readonly wasmocrconfig_clearPaddleOcrSettings: (a: number) => void;
|
|
10843
|
+
readonly wasmocrconfig_clearPipeline: (a: number) => void;
|
|
10844
|
+
readonly wasmocrconfig_clearQualityThresholds: (a: number) => void;
|
|
10845
|
+
readonly wasmocrconfig_clearSecurityLimits: (a: number) => void;
|
|
10846
|
+
readonly wasmocrconfig_clearTesseractConfig: (a: number) => void;
|
|
10847
|
+
readonly wasmocrconfig_clearVlmConfig: (a: number) => void;
|
|
10049
10848
|
readonly wasmocrconfig_default: () => number;
|
|
10050
10849
|
readonly wasmocrconfig_elementConfig: (a: number) => number;
|
|
10051
10850
|
readonly wasmocrconfig_enabled: (a: number) => number;
|
|
10052
10851
|
readonly wasmocrconfig_language: (a: number) => [number, number];
|
|
10053
|
-
readonly wasmocrconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number) => number;
|
|
10852
|
+
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, x: number) => number;
|
|
10853
|
+
readonly wasmocrconfig_numericRepair: (a: number) => number;
|
|
10054
10854
|
readonly wasmocrconfig_outputFormat: (a: number) => any;
|
|
10055
10855
|
readonly wasmocrconfig_paddleOcrConfig: (a: number) => any;
|
|
10856
|
+
readonly wasmocrconfig_paddleOcrSettings: (a: number) => number;
|
|
10056
10857
|
readonly wasmocrconfig_pipeline: (a: number) => number;
|
|
10057
10858
|
readonly wasmocrconfig_qualityThresholds: (a: number) => number;
|
|
10058
10859
|
readonly wasmocrconfig_securityLimits: (a: number) => number;
|
|
@@ -10063,8 +10864,10 @@ export interface InitOutput {
|
|
|
10063
10864
|
readonly wasmocrconfig_set_elementConfig: (a: number, b: number) => void;
|
|
10064
10865
|
readonly wasmocrconfig_set_enabled: (a: number, b: number) => void;
|
|
10065
10866
|
readonly wasmocrconfig_set_language: (a: number, b: number, c: number) => void;
|
|
10867
|
+
readonly wasmocrconfig_set_numericRepair: (a: number, b: number) => void;
|
|
10066
10868
|
readonly wasmocrconfig_set_outputFormat: (a: number, b: number) => void;
|
|
10067
10869
|
readonly wasmocrconfig_set_paddleOcrConfig: (a: number, b: number) => void;
|
|
10870
|
+
readonly wasmocrconfig_set_paddleOcrSettings: (a: number, b: number) => void;
|
|
10068
10871
|
readonly wasmocrconfig_set_pipeline: (a: number, b: number) => void;
|
|
10069
10872
|
readonly wasmocrconfig_set_qualityThresholds: (a: number, b: number) => void;
|
|
10070
10873
|
readonly wasmocrconfig_set_securityLimits: (a: number, b: number) => void;
|
|
@@ -10081,6 +10884,7 @@ export interface InitOutput {
|
|
|
10081
10884
|
readonly wasmocrconfig_vlmFallback: (a: number) => any;
|
|
10082
10885
|
readonly wasmocrconfig_vlmPrompt: (a: number) => [number, number];
|
|
10083
10886
|
readonly wasmocrelement_backendMetadata: (a: number) => any;
|
|
10887
|
+
readonly wasmocrelement_clearRotation: (a: number) => void;
|
|
10084
10888
|
readonly wasmocrelement_confidence: (a: number) => number;
|
|
10085
10889
|
readonly wasmocrelement_default: () => number;
|
|
10086
10890
|
readonly wasmocrelement_geometry: (a: number) => any;
|
|
@@ -10142,15 +10946,20 @@ export interface InitOutput {
|
|
|
10142
10946
|
readonly wasmocrpipelineconfig_stages: (a: number) => [number, number];
|
|
10143
10947
|
readonly wasmocrpipelinestage_backend: (a: number) => [number, number];
|
|
10144
10948
|
readonly wasmocrpipelinestage_backendOptions: (a: number) => any;
|
|
10949
|
+
readonly wasmocrpipelinestage_clearPaddleOcrSettings: (a: number) => void;
|
|
10950
|
+
readonly wasmocrpipelinestage_clearTesseractConfig: (a: number) => void;
|
|
10951
|
+
readonly wasmocrpipelinestage_clearVlmConfig: (a: number) => void;
|
|
10145
10952
|
readonly wasmocrpipelinestage_default: () => number;
|
|
10146
10953
|
readonly wasmocrpipelinestage_language: (a: number) => [number, number];
|
|
10147
|
-
readonly wasmocrpipelinestage_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => number;
|
|
10954
|
+
readonly wasmocrpipelinestage_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => number;
|
|
10148
10955
|
readonly wasmocrpipelinestage_paddleOcrConfig: (a: number) => any;
|
|
10956
|
+
readonly wasmocrpipelinestage_paddleOcrSettings: (a: number) => number;
|
|
10149
10957
|
readonly wasmocrpipelinestage_priority: (a: number) => number;
|
|
10150
10958
|
readonly wasmocrpipelinestage_set_backend: (a: number, b: number, c: number) => void;
|
|
10151
10959
|
readonly wasmocrpipelinestage_set_backendOptions: (a: number, b: number) => void;
|
|
10152
10960
|
readonly wasmocrpipelinestage_set_language: (a: number, b: number, c: number) => void;
|
|
10153
10961
|
readonly wasmocrpipelinestage_set_paddleOcrConfig: (a: number, b: number) => void;
|
|
10962
|
+
readonly wasmocrpipelinestage_set_paddleOcrSettings: (a: number, b: number) => void;
|
|
10154
10963
|
readonly wasmocrpipelinestage_set_priority: (a: number, b: number) => void;
|
|
10155
10964
|
readonly wasmocrpipelinestage_set_tesseractConfig: (a: number, b: number) => void;
|
|
10156
10965
|
readonly wasmocrpipelinestage_set_vlmConfig: (a: number, b: number) => void;
|
|
@@ -10230,6 +11039,7 @@ export interface InitOutput {
|
|
|
10230
11039
|
readonly wasmocrstrategy_set_mode: (a: number, b: number, c: number) => void;
|
|
10231
11040
|
readonly wasmocrtable_boundingBox: (a: number) => number;
|
|
10232
11041
|
readonly wasmocrtable_cells: (a: number) => any;
|
|
11042
|
+
readonly wasmocrtable_clearBoundingBox: (a: number) => void;
|
|
10233
11043
|
readonly wasmocrtable_default: () => number;
|
|
10234
11044
|
readonly wasmocrtable_markdown: (a: number) => [number, number];
|
|
10235
11045
|
readonly wasmocrtable_new: (a: any, b: number, c: number, d: number, e: number) => number;
|
|
@@ -10328,6 +11138,9 @@ export interface InitOutput {
|
|
|
10328
11138
|
readonly wasmpageconfig_set_extractPages: (a: number, b: number) => void;
|
|
10329
11139
|
readonly wasmpageconfig_set_insertPageMarkers: (a: number, b: number) => void;
|
|
10330
11140
|
readonly wasmpageconfig_set_markerFormat: (a: number, b: number, c: number) => void;
|
|
11141
|
+
readonly wasmpagecontent_clearHierarchy: (a: number) => void;
|
|
11142
|
+
readonly wasmpagecontent_clearImagePreprocessing: (a: number) => void;
|
|
11143
|
+
readonly wasmpagecontent_clearOcrConfidence: (a: number) => void;
|
|
10331
11144
|
readonly wasmpagecontent_content: (a: number) => [number, number];
|
|
10332
11145
|
readonly wasmpagecontent_default: () => number;
|
|
10333
11146
|
readonly wasmpagecontent_hierarchy: (a: number) => number;
|
|
@@ -10366,6 +11179,7 @@ export interface InitOutput {
|
|
|
10366
11179
|
readonly wasmpagehierarchy_new: (a: number, b: number, c: number) => number;
|
|
10367
11180
|
readonly wasmpagehierarchy_set_blockCount: (a: number, b: number) => void;
|
|
10368
11181
|
readonly wasmpagehierarchy_set_blocks: (a: number, b: number, c: number) => void;
|
|
11182
|
+
readonly wasmpageinfo_clearDimensions: (a: number) => void;
|
|
10369
11183
|
readonly wasmpageinfo_default: () => number;
|
|
10370
11184
|
readonly wasmpageinfo_dimensions: (a: number) => number;
|
|
10371
11185
|
readonly wasmpageinfo_hasVectorGraphics: (a: number) => number;
|
|
@@ -10415,6 +11229,7 @@ export interface InitOutput {
|
|
|
10415
11229
|
readonly wasmpagesignals_startsWithLetterheadLike: (a: number) => number;
|
|
10416
11230
|
readonly wasmpagesignals_textExcerpt: (a: number) => [number, number];
|
|
10417
11231
|
readonly wasmpagespan_bbox: (a: number) => number;
|
|
11232
|
+
readonly wasmpagespan_clearBbox: (a: number) => void;
|
|
10418
11233
|
readonly wasmpagespan_default: () => number;
|
|
10419
11234
|
readonly wasmpagespan_new: (a: number, b: number) => number;
|
|
10420
11235
|
readonly wasmpagespan_page: (a: number) => number;
|
|
@@ -10443,6 +11258,7 @@ export interface InitOutput {
|
|
|
10443
11258
|
readonly wasmpdfannotation_annotationType: (a: number) => [number, number];
|
|
10444
11259
|
readonly wasmpdfannotation_author: (a: number) => [number, number];
|
|
10445
11260
|
readonly wasmpdfannotation_boundingBox: (a: number) => number;
|
|
11261
|
+
readonly wasmpdfannotation_clearBoundingBox: (a: number) => void;
|
|
10446
11262
|
readonly wasmpdfannotation_color: (a: number) => [number, number];
|
|
10447
11263
|
readonly wasmpdfannotation_content: (a: number) => [number, number];
|
|
10448
11264
|
readonly wasmpdfannotation_default: () => number;
|
|
@@ -10465,6 +11281,7 @@ export interface InitOutput {
|
|
|
10465
11281
|
readonly wasmpdfconfig_allowSingleColumnTables: (a: number) => number;
|
|
10466
11282
|
readonly wasmpdfconfig_backend: (a: number) => [number, number];
|
|
10467
11283
|
readonly wasmpdfconfig_bottomMarginFraction: (a: number) => number;
|
|
11284
|
+
readonly wasmpdfconfig_clearHierarchy: (a: number) => void;
|
|
10468
11285
|
readonly wasmpdfconfig_default: () => number;
|
|
10469
11286
|
readonly wasmpdfconfig_extractAnnotations: (a: number) => number;
|
|
10470
11287
|
readonly wasmpdfconfig_extractFormFields: (a: number) => number;
|
|
@@ -10492,6 +11309,7 @@ export interface InitOutput {
|
|
|
10492
11309
|
readonly wasmpdfconfig_topMarginFraction: (a: number) => number;
|
|
10493
11310
|
readonly wasmpdfconfig_validate: (a: number) => [number, number];
|
|
10494
11311
|
readonly wasmpdfformfield_bbox: (a: number) => number;
|
|
11312
|
+
readonly wasmpdfformfield_clearBbox: (a: number) => void;
|
|
10495
11313
|
readonly wasmpdfformfield_default: () => number;
|
|
10496
11314
|
readonly wasmpdfformfield_defaultValue: (a: number) => [number, number];
|
|
10497
11315
|
readonly wasmpdfformfield_fieldType: (a: number) => [number, number];
|
|
@@ -10595,6 +11413,8 @@ export interface InitOutput {
|
|
|
10595
11413
|
readonly wasmpptxappproperties_slideTitles: (a: number) => [number, number];
|
|
10596
11414
|
readonly wasmpptxappproperties_slides: (a: number) => number;
|
|
10597
11415
|
readonly wasmpptxappproperties_totalTime: (a: number) => number;
|
|
11416
|
+
readonly wasmpptxextractionresult_clearDocument: (a: number) => void;
|
|
11417
|
+
readonly wasmpptxextractionresult_clearPageStructure: (a: number) => void;
|
|
10598
11418
|
readonly wasmpptxextractionresult_content: (a: number) => [number, number];
|
|
10599
11419
|
readonly wasmpptxextractionresult_default: () => number;
|
|
10600
11420
|
readonly wasmpptxextractionresult_document: (a: number) => number;
|
|
@@ -10648,6 +11468,7 @@ export interface InitOutput {
|
|
|
10648
11468
|
readonly wasmpresentationhyperlink_set_url: (a: number, b: number, c: number) => void;
|
|
10649
11469
|
readonly wasmpresentationhyperlink_url: (a: number) => [number, number];
|
|
10650
11470
|
readonly wasmpreset_category: (a: number) => [number, number];
|
|
11471
|
+
readonly wasmpreset_clearSample: (a: number) => void;
|
|
10651
11472
|
readonly wasmpreset_contextTemplate: (a: number) => [number, number];
|
|
10652
11473
|
readonly wasmpreset_default: () => number;
|
|
10653
11474
|
readonly wasmpreset_description: (a: number) => [number, number];
|
|
@@ -10740,6 +11561,7 @@ export interface InitOutput {
|
|
|
10740
11561
|
readonly wasmqrboundingbox_x: (a: number) => number;
|
|
10741
11562
|
readonly wasmqrboundingbox_y: (a: number) => number;
|
|
10742
11563
|
readonly wasmqrcode_bbox: (a: number) => number;
|
|
11564
|
+
readonly wasmqrcode_clearBbox: (a: number) => void;
|
|
10743
11565
|
readonly wasmqrcode_confidence: (a: number) => number;
|
|
10744
11566
|
readonly wasmqrcode_default: () => number;
|
|
10745
11567
|
readonly wasmqrcode_new: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -10762,15 +11584,24 @@ export interface InitOutput {
|
|
|
10762
11584
|
readonly wasmrecognizedtable_set_detectionBbox: (a: number, b: number) => void;
|
|
10763
11585
|
readonly wasmrecognizedtable_set_markdown: (a: number, b: number, c: number) => void;
|
|
10764
11586
|
readonly wasmredactionconfig_categories: (a: number) => any;
|
|
11587
|
+
readonly wasmredactionconfig_clearNer: (a: number) => void;
|
|
10765
11588
|
readonly wasmredactionconfig_customPatterns: (a: number) => [number, number];
|
|
10766
11589
|
readonly wasmredactionconfig_customTerms: (a: number) => [number, number];
|
|
10767
11590
|
readonly wasmredactionconfig_default: () => number;
|
|
11591
|
+
readonly wasmredactionconfig_findings: (a: number) => [number, number];
|
|
11592
|
+
readonly wasmredactionconfig_findingsOffsetEncoding: (a: number) => [number, number];
|
|
11593
|
+
readonly wasmredactionconfig_findingsPath: (a: number) => [number, number];
|
|
11594
|
+
readonly wasmredactionconfig_minScore: (a: number) => number;
|
|
10768
11595
|
readonly wasmredactionconfig_ner: (a: number) => number;
|
|
10769
|
-
readonly wasmredactionconfig_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => number;
|
|
11596
|
+
readonly wasmredactionconfig_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) => number;
|
|
10770
11597
|
readonly wasmredactionconfig_preserveOffsets: (a: number) => number;
|
|
10771
11598
|
readonly wasmredactionconfig_set_categories: (a: number, b: any) => void;
|
|
10772
11599
|
readonly wasmredactionconfig_set_customPatterns: (a: number, b: number, c: number) => void;
|
|
10773
11600
|
readonly wasmredactionconfig_set_customTerms: (a: number, b: number, c: number) => void;
|
|
11601
|
+
readonly wasmredactionconfig_set_findings: (a: number, b: number, c: number) => void;
|
|
11602
|
+
readonly wasmredactionconfig_set_findingsOffsetEncoding: (a: number, b: number) => void;
|
|
11603
|
+
readonly wasmredactionconfig_set_findingsPath: (a: number, b: number, c: number) => void;
|
|
11604
|
+
readonly wasmredactionconfig_set_minScore: (a: number, b: number) => void;
|
|
10774
11605
|
readonly wasmredactionconfig_set_ner: (a: number, b: number) => void;
|
|
10775
11606
|
readonly wasmredactionconfig_set_preserveOffsets: (a: number, b: number) => void;
|
|
10776
11607
|
readonly wasmredactionconfig_set_strategy: (a: number, b: number) => void;
|
|
@@ -10832,6 +11663,7 @@ export interface InitOutput {
|
|
|
10832
11663
|
readonly wasmrerankerconfig_acceleration: (a: number) => number;
|
|
10833
11664
|
readonly wasmrerankerconfig_batchSize: (a: number) => number;
|
|
10834
11665
|
readonly wasmrerankerconfig_cacheDir: (a: number) => [number, number];
|
|
11666
|
+
readonly wasmrerankerconfig_clearAcceleration: (a: number) => void;
|
|
10835
11667
|
readonly wasmrerankerconfig_default: () => number;
|
|
10836
11668
|
readonly wasmrerankerconfig_maxRerankDurationSecs: (a: number) => [number, bigint];
|
|
10837
11669
|
readonly wasmrerankerconfig_model: (a: number) => any;
|
|
@@ -10846,6 +11678,7 @@ export interface InitOutput {
|
|
|
10846
11678
|
readonly wasmrerankerconfig_showDownloadProgress: (a: number) => number;
|
|
10847
11679
|
readonly wasmrerankerconfig_topK: (a: number) => number;
|
|
10848
11680
|
readonly wasmrerankermodeltype_additionalFiles: (a: number) => [number, number];
|
|
11681
|
+
readonly wasmrerankermodeltype_clearLlm: (a: number) => void;
|
|
10849
11682
|
readonly wasmrerankermodeltype_default: () => number;
|
|
10850
11683
|
readonly wasmrerankermodeltype_head: (a: number) => number;
|
|
10851
11684
|
readonly wasmrerankermodeltype_llm: (a: number) => number;
|
|
@@ -10946,6 +11779,7 @@ export interface InitOutput {
|
|
|
10946
11779
|
readonly wasmsparseembeddingconfig_acceleration: (a: number) => number;
|
|
10947
11780
|
readonly wasmsparseembeddingconfig_batchSize: (a: number) => number;
|
|
10948
11781
|
readonly wasmsparseembeddingconfig_cacheDir: (a: number) => [number, number];
|
|
11782
|
+
readonly wasmsparseembeddingconfig_clearAcceleration: (a: number) => void;
|
|
10949
11783
|
readonly wasmsparseembeddingconfig_default: () => number;
|
|
10950
11784
|
readonly wasmsparseembeddingconfig_maxEmbedDurationSecs: (a: number) => [number, bigint];
|
|
10951
11785
|
readonly wasmsparseembeddingconfig_maxLength: (a: number) => number;
|
|
@@ -10983,7 +11817,6 @@ export interface InitOutput {
|
|
|
10983
11817
|
readonly wasmsparseembeddingpreset_new: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => number;
|
|
10984
11818
|
readonly wasmsparseembeddingpreset_set_additionalFiles: (a: number, b: number, c: number) => void;
|
|
10985
11819
|
readonly wasmsparseembeddingpreset_set_description: (a: number, b: number, c: number) => void;
|
|
10986
|
-
readonly wasmsparseembeddingpreset_set_maxLength: (a: number, b: number) => void;
|
|
10987
11820
|
readonly qcms_profile_precache_output_transform: (a: number) => void;
|
|
10988
11821
|
readonly lut_inverse_interp16: (a: number, b: number, c: number) => number;
|
|
10989
11822
|
readonly lut_interp_linear16: (a: number, b: number, c: number) => number;
|
|
@@ -10996,9 +11829,10 @@ export interface InitOutput {
|
|
|
10996
11829
|
readonly qcms_transform_data_bgra_out_lut_precache: (a: number, b: number, c: number, d: number) => void;
|
|
10997
11830
|
readonly qcms_profile_is_bogus: (a: number) => number;
|
|
10998
11831
|
readonly qcms_transform_release: (a: number) => void;
|
|
11832
|
+
readonly wasmsparseembeddingpreset_set_maxLength: (a: number, b: number) => void;
|
|
10999
11833
|
readonly wasmsparseembeddingpreset_set_modelFile: (a: number, b: number, c: number) => void;
|
|
11000
|
-
readonly wasmsparseembeddingpreset_set_modelRepo: (a: number, b: number, c: number) => void;
|
|
11001
11834
|
readonly __cxa_atexit: (a: number, b: number, c: number) => number;
|
|
11835
|
+
readonly wasmsparseembeddingpreset_set_modelRepo: (a: number, b: number, c: number) => void;
|
|
11002
11836
|
readonly wasmsparseembeddingpreset_set_name: (a: number, b: number, c: number) => void;
|
|
11003
11837
|
readonly wasmssrfpolicy_allowlist: (a: number) => any;
|
|
11004
11838
|
readonly wasmssrfpolicy_default: () => number;
|
|
@@ -11047,6 +11881,7 @@ export interface InitOutput {
|
|
|
11047
11881
|
readonly wasmstructuredextractionconfig_set_schemaName: (a: number, b: number, c: number) => void;
|
|
11048
11882
|
readonly wasmstructuredextractionconfig_set_strict: (a: number, b: number) => void;
|
|
11049
11883
|
readonly wasmstructuredextractionconfig_strict: (a: number) => number;
|
|
11884
|
+
readonly wasmsummarizationconfig_clearLlm: (a: number) => void;
|
|
11050
11885
|
readonly wasmsummarizationconfig_default: () => number;
|
|
11051
11886
|
readonly wasmsummarizationconfig_llm: (a: number) => number;
|
|
11052
11887
|
readonly wasmsummarizationconfig_maxTokens: (a: number) => number;
|
|
@@ -11070,6 +11905,7 @@ export interface InitOutput {
|
|
|
11070
11905
|
readonly wasmtable_boundingBox: (a: number) => number;
|
|
11071
11906
|
readonly wasmtable_cellStyles: (a: number) => [number, number];
|
|
11072
11907
|
readonly wasmtable_cells: (a: number) => any;
|
|
11908
|
+
readonly wasmtable_clearBoundingBox: (a: number) => void;
|
|
11073
11909
|
readonly wasmtable_columns: (a: number) => [number, number];
|
|
11074
11910
|
readonly wasmtable_default: () => number;
|
|
11075
11911
|
readonly wasmtable_markdown: (a: number) => [number, number];
|
|
@@ -11112,6 +11948,7 @@ export interface InitOutput {
|
|
|
11112
11948
|
readonly wasmtablegrid_set_cols: (a: number, b: number) => void;
|
|
11113
11949
|
readonly wasmtablegrid_set_rows: (a: number, b: number) => void;
|
|
11114
11950
|
readonly wasmtesseractconfig_classifyUsePreAdaptedTemplates: (a: number) => number;
|
|
11951
|
+
readonly wasmtesseractconfig_clearPreprocessing: (a: number) => void;
|
|
11115
11952
|
readonly wasmtesseractconfig_default: () => number;
|
|
11116
11953
|
readonly wasmtesseractconfig_enableTableDetection: (a: number) => number;
|
|
11117
11954
|
readonly wasmtesseractconfig_language: (a: number) => [number, number];
|
|
@@ -11352,9 +12189,9 @@ export interface InitOutput {
|
|
|
11352
12189
|
readonly xbergengine_new: (a: any, b: any) => [number, number, number];
|
|
11353
12190
|
readonly qcms_enable_iccv4: () => void;
|
|
11354
12191
|
readonly xbergengine_ocr: (a: number, b: number, c: number, d: any) => any;
|
|
11355
|
-
readonly
|
|
11356
|
-
readonly
|
|
11357
|
-
readonly
|
|
12192
|
+
readonly wasm_bindgen__convert__closures_____invoke__h1e71e1507830a137: (a: number, b: number, c: any, d: any) => void;
|
|
12193
|
+
readonly wasm_bindgen__convert__closures_____invoke__hb42d2252c7df56c6: (a: number, b: number, c: any) => [number, number];
|
|
12194
|
+
readonly wasm_bindgen__convert__closures_____invoke__h7c1c008dc47b2d95: (a: number, b: number) => void;
|
|
11358
12195
|
readonly __wbindgen_malloc_command_export: (a: number, b: number) => number;
|
|
11359
12196
|
readonly __wbindgen_realloc_command_export: (a: number, b: number, c: number, d: number) => number;
|
|
11360
12197
|
readonly __wbindgen_exn_store_command_export: (a: number) => void;
|