@stll/anonymize-wasm 2.2.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/wasm.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as DetectionSource, c as ENTITY_SELECTIONS, d as EntitySelection, f as OPERATOR_TYPES, i as DefaultEntityLabel, l as EntityCapability, n as DETECTION_SOURCES, o as ENTITY_CAPABILITIES, p as OperatorType, r as DETECTOR_PRIORITY, s as ENTITY_LABELS, t as DEFAULT_ENTITY_LABELS, u as EntityLabel } from "./constants2.mjs";
2
- import { CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_RUNTIMES, CapabilityManifest, CapabilityRuntime } from "./capabilities.mjs";
2
+ import { CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_PARITY_PROFILES, CAPABILITY_RUNTIMES, CAPABILITY_SURFACES, CapabilityManifest, CapabilityParityProfile, CapabilityRuntime, CapabilitySurface, CapabilitySurfaceId } from "./capabilities.mjs";
3
3
  //#region src/native-search-config.d.ts
4
4
  /**
5
5
  * Structural type for the prepared static-search config the native binding
@@ -73,6 +73,7 @@ type NativeDenyListFilterData = {
73
73
  document_heading_ordinal_markers: string[];
74
74
  defined_term_cues: string[];
75
75
  signing_place_guards: NativeSigningPlaceGuardData[];
76
+ title_tokens: string[];
76
77
  };
77
78
  type NativeDenyListMatchData = {
78
79
  labels?: string[][];
@@ -141,9 +142,12 @@ type NativeTriggerData = {
141
142
  phone_extension_labels: string[];
142
143
  number_markers: string[];
143
144
  number_labels: string[];
145
+ person_field_labels: string[];
144
146
  };
145
147
  type NativeLegalFormData = {
146
148
  suffixes: string[];
149
+ detection_only_suffixes: string[];
150
+ institutional_heads: string[];
147
151
  normalized_boundary_suffixes: string[];
148
152
  normalized_in_name_words: string[];
149
153
  normalized_suffix_words: string[];
@@ -159,11 +163,17 @@ type NativeLegalFormData = {
159
163
  in_name_prepositions: string[];
160
164
  company_suffix_words: string[];
161
165
  comma_gated_direct_prefixes: string[];
166
+ institutional_complement_heads: string[];
167
+ institutional_complement_starters: string[];
168
+ institutional_complement_connectors: string[];
169
+ institutional_generic_words: string[];
170
+ institutional_prefix_generic_words: string[];
162
171
  };
163
172
  type NativeDateMonthData = Record<string, string[]>;
164
173
  type NativeYearWordData = Record<string, string[]>;
165
174
  type NativeDateData = {
166
175
  month_names_by_language: NativeDateMonthData;
176
+ lowercase_month_ambiguities: NativeDateMonthData;
167
177
  year_words_by_language: NativeYearWordData;
168
178
  };
169
179
  type NativeMonetaryData = {
@@ -267,6 +277,8 @@ type NativeSignatureData = {
267
277
  name_particles: string[];
268
278
  post_nominal_suffixes: string[];
269
279
  organization_suffixes: string[];
280
+ form_field_labels: string[];
281
+ signature_stamp_phrases: string[];
270
282
  image_stub_prefixes: string[];
271
283
  };
272
284
  type NativePreparedSearchConfig = {
@@ -713,6 +725,20 @@ type NativePreparedSearchBinding = {
713
725
  redactStaticEntitiesSummaryDiagnosticsJson?: (fullText: string, operators?: NativeBindingOperatorConfig) => string;
714
726
  };
715
727
  type NativeAnonymizeBinding = {
728
+ convertExternalDetectionBatch?: (document: Uint8Array, batchJson: string) => NativeCallerDetection[];
729
+ externalDetectionLimitsJson?: () => string;
730
+ extractDocxTextJson?: (document: Uint8Array) => string;
731
+ inspectPdfJson?: (document: Uint8Array, observationsJson?: string) => string;
732
+ rewritePdfRasterFromDetectionsJson?: (document: Uint8Array, requestJson: string, pagePixels: readonly Uint8Array[]) => {
733
+ document: Uint8Array;
734
+ certificateJson: string;
735
+ };
736
+ rewriteDocxTextNative?: (document: Uint8Array, rewritesJson: string) => {
737
+ document: Uint8Array;
738
+ rewrittenBlockCount: number;
739
+ appliedReplacementCount: number;
740
+ };
741
+ planDocxRestorationJson?: (document: Uint8Array, sessionId: string) => string;
716
742
  normalizeForSearch: (text: string) => string;
717
743
  nativePackageVersion: () => string;
718
744
  NativePreparedSearch: {
@@ -733,6 +759,42 @@ type NativeOperatorConfig = {
733
759
  redactString?: string;
734
760
  };
735
761
  declare const CALLER_DETECTION_CONTRACT_VERSION = 2;
762
+ declare const EXTERNAL_DETECTION_BATCH_VERSION: 1;
763
+ declare const EXTERNAL_DETECTION_BATCH_MAX_BYTES: number;
764
+ declare const EXTERNAL_DETECTION_DOCUMENT_MAX_BYTES: number;
765
+ declare const EXTERNAL_DETECTION_MAX_DETECTIONS = 100000;
766
+ declare const EXTERNAL_DETECTION_MAX_LABEL_MAPPINGS = 4096;
767
+ declare const EXTERNAL_DETECTION_MAX_METADATA_BYTES = 256;
768
+ declare const EXTERNAL_DETECTION_PROVIDER_ID_MAX_BYTES = 128;
769
+ declare const EXTERNAL_DETECTION_OFFSET_UNITS: {
770
+ readonly unicodeCodePoint: "unicode-code-point";
771
+ readonly utf16CodeUnit: "utf16-code-unit";
772
+ readonly utf8Byte: "utf8-byte";
773
+ };
774
+ type ExternalDetectionOffsetUnit = (typeof EXTERNAL_DETECTION_OFFSET_UNITS)[keyof typeof EXTERNAL_DETECTION_OFFSET_UNITS];
775
+ type ExternalDetectionBatch = {
776
+ version: typeof EXTERNAL_DETECTION_BATCH_VERSION;
777
+ document: {
778
+ sha256: string;
779
+ };
780
+ offsetUnit: ExternalDetectionOffsetUnit;
781
+ provider: {
782
+ id: string;
783
+ name: string;
784
+ version: string;
785
+ };
786
+ labelMap: readonly {
787
+ providerLabel: string;
788
+ entityLabel: string;
789
+ }[];
790
+ detections: readonly {
791
+ id: string;
792
+ start: number;
793
+ end: number;
794
+ label: string;
795
+ score: number;
796
+ }[];
797
+ };
736
798
  type NativeCallerDetection = {
737
799
  start: number;
738
800
  end: number;
@@ -741,6 +803,11 @@ type NativeCallerDetection = {
741
803
  providerId: string;
742
804
  detectionId: string;
743
805
  };
806
+ type ConvertExternalDetectionBatchOptions = {
807
+ binding: NativeAnonymizeBinding;
808
+ document: Uint8Array;
809
+ batch: ExternalDetectionBatch | string;
810
+ };
744
811
  type NativeCallerRedactionOptions = {
745
812
  detections: readonly NativeCallerDetection[];
746
813
  operators?: NativeOperatorConfig;
@@ -1042,6 +1109,7 @@ declare const getDefaultPipeline: (language?: string, options?: LoadPreparedPack
1042
1109
  declare const redactDefaultText: (fullText: string, operators?: NativeOperatorConfig, language?: string) => Promise<NativeStaticRedactionResult>;
1043
1110
  declare const redactDefaultTextJson: (fullText: string, operators?: NativeOperatorConfig, language?: string) => Promise<string>;
1044
1111
  declare const native_package_version: (options?: WasmBindingOptions) => Promise<string>;
1112
+ declare const convert_external_detection_batch: (document: Uint8Array, batch: ExternalDetectionBatch | string, options?: WasmBindingOptions) => Promise<NativeCallerDetection[]>;
1045
1113
  declare const normalize_for_search: (text: string, options?: WasmBindingOptions) => Promise<string>;
1046
1114
  type PrepareSearchPackageOptions = WasmBindingOptions & {
1047
1115
  compressed?: boolean;
@@ -1053,6 +1121,9 @@ declare const redact_text_stream_json: (config: NativeSearchPackageInput, fullTe
1053
1121
  declare const diagnostics_json: (config: NativeSearchPackageInput, fullText: string, operators?: NativeOperatorConfig, options?: WasmBindingOptions) => Promise<string | null>;
1054
1122
  declare const diagnostics_stream_json: (config: NativeSearchPackageInput, fullText: string, onBatch: NativeDiagnosticsBatchCallback, operators?: NativeOperatorConfig, options?: WasmBindingOptions) => Promise<string | null>;
1055
1123
  declare const summary_diagnostics_json: (config: NativeSearchPackageInput, fullText: string, operators?: NativeOperatorConfig, options?: WasmBindingOptions) => Promise<string | null>;
1124
+ /** Inspect PDF bytes and optional renderer observations through the same
1125
+ * fail-closed core used by Node and Python. This does not redact the PDF. */
1126
+ declare const inspect_pdf_json: (document: Uint8Array, observationsJson?: string, options?: WasmBindingOptions) => Promise<string>;
1056
1127
  //#endregion
1057
- export { type AnonymisationOperator, CALLER_DETECTION_CONTRACT_VERSION, CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_RUNTIMES, type CapabilityManifest, type CapabilityRuntime, DEFAULT_ENTITY_LABELS, DETECTION_SOURCES, DETECTOR_PRIORITY, type DefaultEntityLabel, type DetectionSource, type Dictionaries, ENTITY_CAPABILITIES, ENTITY_LABELS, ENTITY_SELECTIONS, type Entity, type EntityCapability, type EntityLabel, type EntitySelection, type GazetteerEntry, LoadPreparedPackageOptions, NativeAnonymizeBinding, NativeAnonymizerFromConfigOptions, NativeAnonymizerFromPackageOptions, NativeBindingVersionOptions, NativeCallerDetection, NativeCallerRedactionOptions, NativeCreateSessionWithLifecycleOptions, NativeDiagnosticsBatchCallback, NativeNormalizeOptions, NativeOpenSessionArchiveOptions, NativeOperatorConfig, type NativePipelineBuildOptions, type NativePipelineCompatibility, NativePipelineEntity, NativePipelineFromPackageOptions, type NativePipelinePackageOptions, type NativePipelineUnsupportedFeature, NativePreparedRedactionSessionBinding, NativePreparedSearchBinding, type NativePreparedSearchConfig, NativePreparedSessionRedactionPlanBinding, NativeRedactionResult, NativeResultEventCallback, NativeSearchPackageInput, NativeSearchPackageOptions, NativeSessionBlockRedactionPlan, NativeSessionCallerRedactionInput, NativeSessionCallerRedactionPlanOptions, NativeSessionDeletionSummary, NativeSessionLifecycle, NativeSessionMetadata, NativeSessionRedactionAtOptions, NativeSessionStatus, NativeStaticRedactionResult, NativeTextReplacement, OPERATOR_TYPES, type OperatorConfig, type OperatorType, type PipelineConfig, type PipelineContext, PrepareSearchPackageOptions, PreparedAnonymizer, PreparedNativeAnonymizer, PreparedNativePipeline, PreparedNativeRedactionSession, PreparedNativeSessionRedactionPlan, PreparedPackageSource, PreparedSearch, type RedactionResult, type ReviewDecision, type ReviewedEntity, SharedNativeDiagnosticsJsonOptions, SharedNativeDiagnosticsStreamJsonOptions, SharedNativePreparedPackageOptions, SharedNativeRedactTextJsonOptions, SharedNativeRedactTextOptions, SharedNativeRedactTextStreamJsonOptions, SharedNativeSearchPackageOptions, WasmBindingOptions, assertNativeBindingVersion, assertNativePipelineSupported, createNativeAnonymizerFromConfig, createNativeAnonymizerFromPackage, createNativePipelineFromConfig, createNativePipelineFromPackage, createPipelineContext, deanonymise, defaultPackageUrl, diagnostics_json, diagnostics_stream_json, encodeNativeSearchConfig, encodeNativeSearchConfigInput, exportRedactionKey, getBinding, getDefaultPipeline, getNativeBindingVersion, getNativePipelineCompatibility, loadDefaultPipeline, loadPipeline, load_prepared_package, native_package_version, normalize_for_search, prepareNativePipelineConfig, prepareNativePipelinePackage, prepareNativeSearchPackage, prepare_search_package, redactDefaultText, redactDefaultTextJson, redact_text, redact_text_json, redact_text_stream_json, summary_diagnostics_json };
1128
+ export { type AnonymisationOperator, CALLER_DETECTION_CONTRACT_VERSION, CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_PARITY_PROFILES, CAPABILITY_RUNTIMES, CAPABILITY_SURFACES, type CapabilityManifest, type CapabilityParityProfile, type CapabilityRuntime, type CapabilitySurface, type CapabilitySurfaceId, ConvertExternalDetectionBatchOptions, DEFAULT_ENTITY_LABELS, DETECTION_SOURCES, DETECTOR_PRIORITY, type DefaultEntityLabel, type DetectionSource, type Dictionaries, ENTITY_CAPABILITIES, ENTITY_LABELS, ENTITY_SELECTIONS, EXTERNAL_DETECTION_BATCH_MAX_BYTES, EXTERNAL_DETECTION_BATCH_VERSION, EXTERNAL_DETECTION_DOCUMENT_MAX_BYTES, EXTERNAL_DETECTION_MAX_DETECTIONS, EXTERNAL_DETECTION_MAX_LABEL_MAPPINGS, EXTERNAL_DETECTION_MAX_METADATA_BYTES, EXTERNAL_DETECTION_OFFSET_UNITS, EXTERNAL_DETECTION_PROVIDER_ID_MAX_BYTES, type Entity, type EntityCapability, type EntityLabel, type EntitySelection, ExternalDetectionBatch, ExternalDetectionOffsetUnit, type GazetteerEntry, LoadPreparedPackageOptions, NativeAnonymizeBinding, NativeAnonymizerFromConfigOptions, NativeAnonymizerFromPackageOptions, NativeBindingVersionOptions, NativeCallerDetection, NativeCallerRedactionOptions, NativeCreateSessionWithLifecycleOptions, NativeDiagnosticsBatchCallback, NativeNormalizeOptions, NativeOpenSessionArchiveOptions, NativeOperatorConfig, type NativePipelineBuildOptions, type NativePipelineCompatibility, NativePipelineEntity, NativePipelineFromPackageOptions, type NativePipelinePackageOptions, type NativePipelineUnsupportedFeature, NativePreparedRedactionSessionBinding, NativePreparedSearchBinding, type NativePreparedSearchConfig, NativePreparedSessionRedactionPlanBinding, NativeRedactionResult, NativeResultEventCallback, NativeSearchPackageInput, NativeSearchPackageOptions, NativeSessionBlockRedactionPlan, NativeSessionCallerRedactionInput, NativeSessionCallerRedactionPlanOptions, NativeSessionDeletionSummary, NativeSessionLifecycle, NativeSessionMetadata, NativeSessionRedactionAtOptions, NativeSessionStatus, NativeStaticRedactionResult, NativeTextReplacement, OPERATOR_TYPES, type OperatorConfig, type OperatorType, type PipelineConfig, type PipelineContext, PrepareSearchPackageOptions, PreparedAnonymizer, PreparedNativeAnonymizer, PreparedNativePipeline, PreparedNativeRedactionSession, PreparedNativeSessionRedactionPlan, PreparedPackageSource, PreparedSearch, type RedactionResult, type ReviewDecision, type ReviewedEntity, SharedNativeDiagnosticsJsonOptions, SharedNativeDiagnosticsStreamJsonOptions, SharedNativePreparedPackageOptions, SharedNativeRedactTextJsonOptions, SharedNativeRedactTextOptions, SharedNativeRedactTextStreamJsonOptions, SharedNativeSearchPackageOptions, WasmBindingOptions, assertNativeBindingVersion, assertNativePipelineSupported, convert_external_detection_batch, createNativeAnonymizerFromConfig, createNativeAnonymizerFromPackage, createNativePipelineFromConfig, createNativePipelineFromPackage, createPipelineContext, deanonymise, defaultPackageUrl, diagnostics_json, diagnostics_stream_json, encodeNativeSearchConfig, encodeNativeSearchConfigInput, exportRedactionKey, getBinding, getDefaultPipeline, getNativeBindingVersion, getNativePipelineCompatibility, inspect_pdf_json, loadDefaultPipeline, loadPipeline, load_prepared_package, native_package_version, normalize_for_search, prepareNativePipelineConfig, prepareNativePipelinePackage, prepareNativeSearchPackage, prepare_search_package, redactDefaultText, redactDefaultTextJson, redact_text, redact_text_json, redact_text_stream_json, summary_diagnostics_json };
1058
1129
  //# sourceMappingURL=wasm.d.mts.map
package/dist/wasm.mjs CHANGED
@@ -1,7 +1,24 @@
1
1
  import { DEFAULT_ENTITY_LABELS, DETECTION_SOURCES, DETECTOR_PRIORITY, ENTITY_CAPABILITIES, ENTITY_LABELS, ENTITY_SELECTIONS, OPERATOR_TYPES } from "./constants.mjs";
2
- import { CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_RUNTIMES } from "./capabilities.mjs";
2
+ import { CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_PARITY_PROFILES, CAPABILITY_RUNTIMES, CAPABILITY_SURFACES } from "./capabilities.mjs";
3
3
  //#region src/native.ts
4
4
  const CALLER_DETECTION_CONTRACT_VERSION = 2;
5
+ const EXTERNAL_DETECTION_BATCH_VERSION = 1;
6
+ const EXTERNAL_DETECTION_BATCH_MAX_BYTES = 16 * 1024 * 1024;
7
+ const EXTERNAL_DETECTION_DOCUMENT_MAX_BYTES = 64 * 1024 * 1024;
8
+ const EXTERNAL_DETECTION_MAX_DETECTIONS = 1e5;
9
+ const EXTERNAL_DETECTION_MAX_LABEL_MAPPINGS = 4096;
10
+ const EXTERNAL_DETECTION_MAX_METADATA_BYTES = 256;
11
+ const EXTERNAL_DETECTION_PROVIDER_ID_MAX_BYTES = 128;
12
+ const EXTERNAL_DETECTION_OFFSET_UNITS = {
13
+ unicodeCodePoint: "unicode-code-point",
14
+ utf16CodeUnit: "utf16-code-unit",
15
+ utf8Byte: "utf8-byte"
16
+ };
17
+ const convert_external_detection_batch$1 = ({ binding, document, batch }) => {
18
+ const convert = binding.convertExternalDetectionBatch;
19
+ if (convert === void 0) throw new Error("Native anonymize binding does not support external detection batches");
20
+ return convert(document, typeof batch === "string" ? batch : JSON.stringify(batch));
21
+ };
5
22
  const callerDetectionRequestJson = (detections) => JSON.stringify({
6
23
  version: 2,
7
24
  detections: detections.map((detection) => ({
@@ -896,7 +913,7 @@ const isNodeRuntime = () => {
896
913
  return globals.window === void 0 && typeof globals.process?.versions?.node === "string";
897
914
  };
898
915
  const assetUrl = (fileName) => new URL(`./${NATIVE_ASSET_DIR}/${fileName}`, import.meta.url);
899
- const resolveBinding = (options) => options?.binding ? Promise.resolve(options.binding) : getBinding();
916
+ const resolveBinding = (options) => options?.binding ? Promise.resolve(toNativeAnonymizeBinding(options.binding)) : getBinding();
900
917
  const toPackageBytes = async (source) => {
901
918
  if (source instanceof Uint8Array) return source;
902
919
  if (source instanceof ArrayBuffer) return new Uint8Array(source);
@@ -1003,6 +1020,11 @@ const getDefaultPipeline = (language, options) => {
1003
1020
  const redactDefaultText = async (fullText, operators, language) => (await getDefaultPipeline(language)).redactText(fullText, operators);
1004
1021
  const redactDefaultTextJson = async (fullText, operators, language) => (await getDefaultPipeline(language)).redact_text_json(fullText, operators);
1005
1022
  const native_package_version = async (options) => native_package_version$1(await resolveBinding(options));
1023
+ const convert_external_detection_batch = async (document, batch, options) => convert_external_detection_batch$1({
1024
+ binding: await resolveBinding(options),
1025
+ document,
1026
+ batch
1027
+ });
1006
1028
  const normalize_for_search = async (text, options) => normalize_for_search$1({
1007
1029
  binding: await resolveBinding(options),
1008
1030
  text
@@ -1050,6 +1072,13 @@ const summary_diagnostics_json = async (config, fullText, operators, options) =>
1050
1072
  fullText,
1051
1073
  ...operators !== void 0 ? { operators } : {}
1052
1074
  });
1075
+ /** Inspect PDF bytes and optional renderer observations through the same
1076
+ * fail-closed core used by Node and Python. This does not redact the PDF. */
1077
+ const inspect_pdf_json = async (document, observationsJson, options) => {
1078
+ const inspect = (await resolveBinding(options)).inspectPdfJson;
1079
+ if (inspect === void 0) throw new Error("wasm binding is stale: inspectPdfJson is missing");
1080
+ return inspect(document, observationsJson);
1081
+ };
1053
1082
  const toNativeAnonymizeBinding = (loaded) => {
1054
1083
  const candidate = pickBindingCandidate(loaded);
1055
1084
  if (!isNativeAnonymizeBinding(candidate)) throw new Error("wasm binding module does not expose the native anonymize surface");
@@ -1064,6 +1093,7 @@ const isNativeAnonymizeBinding = (value) => {
1064
1093
  if (typeof value["nativePackageVersion"] !== "function") return false;
1065
1094
  if (typeof value["normalizeForSearch"] !== "function") return false;
1066
1095
  if (typeof value["prepareStaticSearchPackageBytes"] !== "function") return false;
1096
+ if (typeof value["inspectPdfJson"] !== "function") return false;
1067
1097
  if (typeof value["prepareStaticSearchCompressedPackageBytes"] !== "function") return false;
1068
1098
  const preparedSearch = value["NativePreparedSearch"];
1069
1099
  if (!isRecord(preparedSearch)) return false;
@@ -1077,6 +1107,6 @@ const normalizeLanguage = (language) => {
1077
1107
  return normalized;
1078
1108
  };
1079
1109
  //#endregion
1080
- export { CALLER_DETECTION_CONTRACT_VERSION, CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_RUNTIMES, DEFAULT_ENTITY_LABELS, DETECTION_SOURCES, DETECTOR_PRIORITY, ENTITY_CAPABILITIES, ENTITY_LABELS, ENTITY_SELECTIONS, OPERATOR_TYPES, PreparedAnonymizer, PreparedNativeAnonymizer, PreparedNativePipeline, PreparedNativeRedactionSession, PreparedNativeSessionRedactionPlan, PreparedSearch, assertNativeBindingVersion, assertNativePipelineSupported, createNativeAnonymizerFromConfig, createNativeAnonymizerFromPackage, createNativePipelineFromConfig, createNativePipelineFromPackage, createPipelineContext, deanonymise, defaultPackageUrl, diagnostics_json, diagnostics_stream_json, encodeNativeSearchConfig, encodeNativeSearchConfigInput, exportRedactionKey, getBinding, getDefaultPipeline, getNativeBindingVersion, getNativePipelineCompatibility, loadDefaultPipeline, loadPipeline, load_prepared_package, native_package_version, normalize_for_search, prepareNativePipelineConfig, prepareNativePipelinePackage, prepareNativeSearchPackage, prepare_search_package, redactDefaultText, redactDefaultTextJson, redact_text, redact_text_json, redact_text_stream_json, summary_diagnostics_json };
1110
+ export { CALLER_DETECTION_CONTRACT_VERSION, CAPABILITY_MANIFEST, CAPABILITY_MANIFEST_SCHEMA_VERSION, CAPABILITY_PARITY_PROFILES, CAPABILITY_RUNTIMES, CAPABILITY_SURFACES, DEFAULT_ENTITY_LABELS, DETECTION_SOURCES, DETECTOR_PRIORITY, ENTITY_CAPABILITIES, ENTITY_LABELS, ENTITY_SELECTIONS, EXTERNAL_DETECTION_BATCH_MAX_BYTES, EXTERNAL_DETECTION_BATCH_VERSION, EXTERNAL_DETECTION_DOCUMENT_MAX_BYTES, EXTERNAL_DETECTION_MAX_DETECTIONS, EXTERNAL_DETECTION_MAX_LABEL_MAPPINGS, EXTERNAL_DETECTION_MAX_METADATA_BYTES, EXTERNAL_DETECTION_OFFSET_UNITS, EXTERNAL_DETECTION_PROVIDER_ID_MAX_BYTES, OPERATOR_TYPES, PreparedAnonymizer, PreparedNativeAnonymizer, PreparedNativePipeline, PreparedNativeRedactionSession, PreparedNativeSessionRedactionPlan, PreparedSearch, assertNativeBindingVersion, assertNativePipelineSupported, convert_external_detection_batch, createNativeAnonymizerFromConfig, createNativeAnonymizerFromPackage, createNativePipelineFromConfig, createNativePipelineFromPackage, createPipelineContext, deanonymise, defaultPackageUrl, diagnostics_json, diagnostics_stream_json, encodeNativeSearchConfig, encodeNativeSearchConfigInput, exportRedactionKey, getBinding, getDefaultPipeline, getNativeBindingVersion, getNativePipelineCompatibility, inspect_pdf_json, loadDefaultPipeline, loadPipeline, load_prepared_package, native_package_version, normalize_for_search, prepareNativePipelineConfig, prepareNativePipelinePackage, prepareNativeSearchPackage, prepare_search_package, redactDefaultText, redactDefaultTextJson, redact_text, redact_text_json, redact_text_stream_json, summary_diagnostics_json };
1081
1111
 
1082
1112
  //# sourceMappingURL=wasm.mjs.map