@trylimbo/sdk-verifier 0.2.11-canary.16 → 0.2.11-canary.18

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.
@@ -181,7 +181,7 @@ declare const pointerLiteralSymbol: unique symbol;
181
181
  */
182
182
  declare const uniffiTypeNameSymbol: unique symbol;
183
183
  declare namespace trylimbo_verifier_d_exports {
184
- export { Actor, AssertionMetadata, AssetType, AssetVerification, AssetVerifier, AssetVerifierInterface, AssetVerifierLike, AssetVerifierOptions, Binder, BinderInterface, BinderLike, BinderPlugin, ClaimGeneratorInfo, Code, ContentAlgorithm, ContentAlgorithm_Tags, ContentBindingClass, Coordinate, CredentialOrigin, CredentialOrigin_Tags, DataSource, DeriveOptions, EndInclusivity, FieldViolation, FileSource, FileSourceInterface, FileSourceLike, FingerprintCheck, FingerprintCheck_Tags, FoundCredential, Frame, GoldenComparison, GoldenComparison_Tags, HardBinding, HashedUri, Ingredient, IngredientDeltaValidationResult, InitValidation, Item, Manifest, ManifestAssertion, ManifestAssertionKind, ManifestStore, MediaValidation, MemorySource, MemorySourceInterface, MemorySourceLike, PluginRead, PluginRegistry, PluginRegistryInterface, PluginRegistryLike, Range, RangeSource, RangeSourceImpl, RangeType, RecoveryCompletion, RecoveryDiscovery, RecoveryDiscovery_Tags, RecoveryExecution, RecoveryIssue, RecoveryIssueKind, RecoveryPlan, RecoveryPlan_Tags, RecoveryPolicy, RecoveryQuery, RecoveryQuery_Tags, RecoveryStage, RecoveryStatus, RecoverySummary, Region, RegionOfInterest, RegistryOptions, Relationship, ResourceRef, ReviewRating, Role, SdkError, SdkError_Tags, SegmentTiming, SegmentValidation, SegmentValidation_Tags, SessionKeySummary, Shape, ShapeType, SignatureInfo, SigningAlgSchema, SimilarityScore, SoftBinding, StatusCodes, StreamValidation, StreamValidationInterface, StreamValidationLike, StreamVerifier, StreamVerifierInterface, StreamVerifierLike, StreamVerifierOptions, Text, TextSelector, TextSelectorRange, Time, TimeType, UnitType, UriOrResource, UriOrResource_Tags, ValidationCode, ValidationCodeKind, ValidationResults, ValidationState, ValidationStatus, Value, VerifyOptions, c2paTrustList, c2paTsaTrustList, _default$1 as default, devCa, parse, resource, thumbnails };
184
+ export { Actor, AssertionMetadata, AssetType, AssetVerification, AssetVerifier, AssetVerifierInterface, AssetVerifierLike, AssetVerifierOptions, Binder, BinderInterface, BinderLike, BinderPlugin, ByContent, ByReference, ClaimGeneratorInfo, Code, ContentBindingClass, ContentTrigger, Coordinate, CredentialOrigin, CredentialOrigin_Tags, DataSource, DeriveOptions, Detectors, Detectors_Tags, EndInclusivity, FieldViolation, FileSource, FileSourceInterface, FileSourceLike, FingerprintCheck, FingerprintCheck_Tags, FoundCredential, Frame, GoldenComparison, GoldenComparison_Tags, HardBinding, HashedUri, Ingredient, IngredientDeltaValidationResult, InitValidation, Item, Lineage, Manifest, ManifestAssertion, ManifestAssertionKind, ManifestStore, MediaValidation, MemorySource, MemorySourceInterface, MemorySourceLike, PluginRead, PluginRegistry, PluginRegistryInterface, PluginRegistryLike, Range, RangeSource, RangeSourceImpl, RangeType, Recovery, RecoveryDiscovery, RecoveryDiscovery_Tags, RecoveryIssue, RecoveryIssueKind, RecoveryPolicy, RecoveryStatus, RecoverySummary, Region, RegionOfInterest, RegistryOptions, Relationship, ResourceRef, ReviewRating, Role, SdkError, SdkError_Tags, SegmentTiming, SegmentValidation, SegmentValidation_Tags, SessionKeySummary, Shape, ShapeType, SignatureInfo, SigningAlgSchema, SimilarityScore, SoftBinding, StatusCodes, StreamValidation, StreamValidationInterface, StreamValidationLike, StreamVerifier, StreamVerifierInterface, StreamVerifierLike, StreamVerifierOptions, Text, TextSelector, TextSelectorRange, Time, TimeType, UnitType, UriOrResource, UriOrResource_Tags, ValidationCode, ValidationCodeKind, ValidationResults, ValidationState, ValidationStatus, Value, VerifyOptions, c2paTrustList, c2paTsaTrustList, _default$1 as default, devCa, parse, resource, thumbnails };
185
185
  }
186
186
  /**
187
187
  * Official C2PA Conformance Program signing-CA trust anchors (a compile-time
@@ -823,7 +823,8 @@ export declare enum ContentBindingClass {
823
823
  export type SimilarityScore = number;
824
824
  export declare enum RecoveryDiscovery_Tags {
825
825
  ByBinding = "ByBinding",
826
- ByContent = "ByContent"
826
+ ByContent = "ByContent",
827
+ ByReference = "ByReference"
827
828
  }
828
829
  export declare const RecoveryDiscovery: Readonly<{
829
830
  instanceOf: (obj: any) => obj is RecoveryDiscovery;
@@ -833,6 +834,7 @@ export declare const RecoveryDiscovery: Readonly<{
833
834
  binding: SoftBinding;
834
835
  class: ContentBindingClass;
835
836
  registryScore?: SimilarityScore;
837
+ endpoint?: string;
836
838
  }): {
837
839
  /**
838
840
  * @private
@@ -845,6 +847,7 @@ export declare const RecoveryDiscovery: Readonly<{
845
847
  binding: SoftBinding;
846
848
  class: ContentBindingClass;
847
849
  registryScore?: SimilarityScore;
850
+ endpoint?: string;
848
851
  }>;
849
852
  };
850
853
  "new"(inner: {
@@ -852,6 +855,7 @@ export declare const RecoveryDiscovery: Readonly<{
852
855
  binding: SoftBinding;
853
856
  class: ContentBindingClass;
854
857
  registryScore?: SimilarityScore;
858
+ endpoint?: string;
855
859
  }): {
856
860
  /**
857
861
  * @private
@@ -864,6 +868,7 @@ export declare const RecoveryDiscovery: Readonly<{
864
868
  binding: SoftBinding;
865
869
  class: ContentBindingClass;
866
870
  registryScore?: SimilarityScore;
871
+ endpoint?: string;
867
872
  }>;
868
873
  };
869
874
  instanceOf(obj: any): obj is {
@@ -878,6 +883,7 @@ export declare const RecoveryDiscovery: Readonly<{
878
883
  binding: SoftBinding;
879
884
  class: ContentBindingClass;
880
885
  registryScore?: SimilarityScore;
886
+ endpoint?: string;
881
887
  }>;
882
888
  };
883
889
  };
@@ -887,6 +893,7 @@ export declare const RecoveryDiscovery: Readonly<{
887
893
  class: ContentBindingClass;
888
894
  hint?: SoftBinding;
889
895
  registryScore?: SimilarityScore;
896
+ endpoint?: string;
890
897
  }): {
891
898
  /**
892
899
  * @private
@@ -899,6 +906,7 @@ export declare const RecoveryDiscovery: Readonly<{
899
906
  class: ContentBindingClass;
900
907
  hint?: SoftBinding;
901
908
  registryScore?: SimilarityScore;
909
+ endpoint?: string;
902
910
  }>;
903
911
  };
904
912
  "new"(inner: {
@@ -906,6 +914,7 @@ export declare const RecoveryDiscovery: Readonly<{
906
914
  class: ContentBindingClass;
907
915
  hint?: SoftBinding;
908
916
  registryScore?: SimilarityScore;
917
+ endpoint?: string;
909
918
  }): {
910
919
  /**
911
920
  * @private
@@ -918,6 +927,7 @@ export declare const RecoveryDiscovery: Readonly<{
918
927
  class: ContentBindingClass;
919
928
  hint?: SoftBinding;
920
929
  registryScore?: SimilarityScore;
930
+ endpoint?: string;
921
931
  }>;
922
932
  };
923
933
  instanceOf(obj: any): obj is {
@@ -932,11 +942,71 @@ export declare const RecoveryDiscovery: Readonly<{
932
942
  class: ContentBindingClass;
933
943
  hint?: SoftBinding;
934
944
  registryScore?: SimilarityScore;
945
+ endpoint?: string;
946
+ }>;
947
+ };
948
+ };
949
+ ByReference: {
950
+ new (inner: {
951
+ algorithm: string;
952
+ class: ContentBindingClass;
953
+ hint?: SoftBinding;
954
+ registryScore?: SimilarityScore;
955
+ endpoint?: string;
956
+ }): {
957
+ /**
958
+ * @private
959
+ * This field is private and should not be used, use `tag` instead.
960
+ */
961
+ readonly [uniffiTypeNameSymbol]: "RecoveryDiscovery";
962
+ readonly tag: RecoveryDiscovery_Tags.ByReference;
963
+ readonly inner: Readonly<{
964
+ algorithm: string;
965
+ class: ContentBindingClass;
966
+ hint?: SoftBinding;
967
+ registryScore?: SimilarityScore;
968
+ endpoint?: string;
969
+ }>;
970
+ };
971
+ "new"(inner: {
972
+ algorithm: string;
973
+ class: ContentBindingClass;
974
+ hint?: SoftBinding;
975
+ registryScore?: SimilarityScore;
976
+ endpoint?: string;
977
+ }): {
978
+ /**
979
+ * @private
980
+ * This field is private and should not be used, use `tag` instead.
981
+ */
982
+ readonly [uniffiTypeNameSymbol]: "RecoveryDiscovery";
983
+ readonly tag: RecoveryDiscovery_Tags.ByReference;
984
+ readonly inner: Readonly<{
985
+ algorithm: string;
986
+ class: ContentBindingClass;
987
+ hint?: SoftBinding;
988
+ registryScore?: SimilarityScore;
989
+ endpoint?: string;
990
+ }>;
991
+ };
992
+ instanceOf(obj: any): obj is {
993
+ /**
994
+ * @private
995
+ * This field is private and should not be used, use `tag` instead.
996
+ */
997
+ readonly [uniffiTypeNameSymbol]: "RecoveryDiscovery";
998
+ readonly tag: RecoveryDiscovery_Tags.ByReference;
999
+ readonly inner: Readonly<{
1000
+ algorithm: string;
1001
+ class: ContentBindingClass;
1002
+ hint?: SoftBinding;
1003
+ registryScore?: SimilarityScore;
1004
+ endpoint?: string;
935
1005
  }>;
936
1006
  };
937
1007
  };
938
1008
  }>;
939
- export type RecoveryDiscovery = InstanceType<typeof RecoveryDiscovery['ByBinding' | 'ByContent']>;
1009
+ export type RecoveryDiscovery = InstanceType<typeof RecoveryDiscovery['ByBinding' | 'ByContent' | 'ByReference']>;
940
1010
  export declare enum CredentialOrigin_Tags {
941
1011
  Embedded = "Embedded",
942
1012
  Recovered = "Recovered"
@@ -1839,6 +1909,31 @@ export declare enum HardBinding {
1839
1909
  */
1840
1910
  Mismatch = 1
1841
1911
  }
1912
+ /**
1913
+ * The re-sign chain, read from the validated stores themselves: C2PA 2.4 18.16.11 copies a
1914
+ * `parentOf` ingredient's manifest into its successor's store, so a link here was signed by the
1915
+ * successor. A registry's ordering is a hint; this is the evidence.
1916
+ */
1917
+ export type Lineage = {
1918
+ /**
1919
+ * Active manifest labels this credential's active manifest opened as a `parentOf`
1920
+ * ingredient, whether or not they were returned by this verify.
1921
+ */
1922
+ supersedes: Array<string>;
1923
+ /**
1924
+ * Active manifest labels of the other credentials in this result that name this one in
1925
+ * their `supersedes`.
1926
+ */
1927
+ supersededBy: Array<string>;
1928
+ };
1929
+ /**
1930
+ * Generated factory for {@link Lineage} record objects.
1931
+ */
1932
+ export declare const Lineage: Readonly<{
1933
+ create: (partial: Partial<Lineage> & Required<Omit<Lineage, never>>) => Lineage;
1934
+ new: (partial: Partial<Lineage> & Required<Omit<Lineage, never>>) => Lineage;
1935
+ defaults: () => Partial<Lineage>;
1936
+ }>;
1842
1937
  /**
1843
1938
  * One `verify` result: the c2pa manifest store, where it came from, whether the asset's own
1844
1939
  * fingerprint backs it up, and whether its hard binding holds over the bytes read. The recovered
@@ -1869,6 +1964,10 @@ export type FoundCredential = {
1869
1964
  * Whether the manifest's hard binding holds over the bytes this verify read.
1870
1965
  */
1871
1966
  hardBinding: HardBinding;
1967
+ /**
1968
+ * Where this credential sits among the others returned. See [`asset::Lineage`].
1969
+ */
1970
+ lineage: Lineage;
1872
1971
  };
1873
1972
  /**
1874
1973
  * Generated factory for {@link FoundCredential} record objects.
@@ -1903,7 +2002,11 @@ export declare enum RecoveryIssueKind {
1903
2002
  ContentTooLarge = 5,
1904
2003
  CandidateFetch = 6,
1905
2004
  CandidateValidation = 7,
1906
- ResourceLimit = 8
2005
+ ResourceLimit = 8,
2006
+ /**
2007
+ * A match named a resolution API this verifier was not configured to fetch from.
2008
+ */
2009
+ EndpointRefused = 9
1907
2010
  }
1908
2011
  /**
1909
2012
  * One non-fatal recovery problem. `manifest_id` is present only for a returned candidate.
@@ -2178,33 +2281,7 @@ export declare const AssetVerification: Readonly<{
2178
2281
  defaults: () => Partial<AssetVerification>;
2179
2282
  }>;
2180
2283
  /**
2181
- * When [`AssetVerifier::verify_asset`] queries the registry.
2182
- */
2183
- export declare enum RecoveryPolicy {
2184
- /**
2185
- * When the asset has no embedded manifest or its active manifest is invalid. This includes
2186
- * stripped assets and invalid manifests, for which C2PA 2.4 permits soft-binding discovery.
2187
- * A valid embedded manifest costs no registry round trip, which is why this is the default.
2188
- */
2189
- WhenMissing = 0,
2190
- /**
2191
- * On every verify, alongside the embedded manifest, so the two can be compared.
2192
- *
2193
- * C2PA 2.4's `watermark-golden` and `fingerprint-golden` flows end on exactly that
2194
- * comparison, and it is the only thing that catches a manifest SUBSTITUTED under an
2195
- * untouched mark (use case UC3 in the spec's list, UC2 in ours): the replacement verifies
2196
- * perfectly on its own, and only disagrees with what the mark actually resolves to.
2197
- *
2198
- * It queries the registry on every verify, without making it load-bearing on the asset's own
2199
- * credential: the flow provides information about a substitution rather than gating the local
2200
- * manifest, so a registry that cannot be reached leaves [`RecoveryStatus::Incomplete`], the
2201
- * reason as a [`RecoveryIssue`], and [`GoldenComparison::Indeterminate`]. A caller for whom a
2202
- * cross-check that never ran must not pass for agreement branches on that status.
2203
- */
2204
- Always = 1
2205
- }
2206
- /**
2207
- * Where the registry is and when to query it. Query reach and scheduling are selected per verify.
2284
+ * Where the registry is. What a verify may do with it is per call, in [`Recovery`].
2208
2285
  */
2209
2286
  export type RegistryOptions = {
2210
2287
  /**
@@ -2212,16 +2289,18 @@ export type RegistryOptions = {
2212
2289
  */
2213
2290
  url: string;
2214
2291
  /**
2215
- * Defaults to [`RecoveryPolicy::WhenMissing`].
2292
+ * Federated resolution APIs a match may name as holding its manifest. C2PA 2.4 lets a
2293
+ * match carry an `endpoint`; one listed here is fetched from, any other is reported as
2294
+ * refused. Checked like `url`: https, or http on loopback only.
2216
2295
  */
2217
- recovery?: RecoveryPolicy;
2296
+ endpoints?: Array<string>;
2218
2297
  };
2219
2298
  /**
2220
2299
  * Generated factory for {@link RegistryOptions} record objects.
2221
2300
  */
2222
2301
  export declare const RegistryOptions: Readonly<{
2223
- create: (partial: Partial<RegistryOptions> & Required<Omit<RegistryOptions, "recovery">>) => RegistryOptions;
2224
- new: (partial: Partial<RegistryOptions> & Required<Omit<RegistryOptions, "recovery">>) => RegistryOptions;
2302
+ create: (partial: Partial<RegistryOptions> & Required<Omit<RegistryOptions, "endpoints">>) => RegistryOptions;
2303
+ new: (partial: Partial<RegistryOptions> & Required<Omit<RegistryOptions, "endpoints">>) => RegistryOptions;
2225
2304
  defaults: () => Partial<RegistryOptions>;
2226
2305
  }>;
2227
2306
  /**
@@ -2262,6 +2341,194 @@ export declare const AssetVerifierOptions: Readonly<{
2262
2341
  new: (partial: Partial<AssetVerifierOptions> & Required<Omit<AssetVerifierOptions, "registry" | "trustC2paAnchors" | "trustedIcaIssuers">>) => AssetVerifierOptions;
2263
2342
  defaults: () => Partial<AssetVerifierOptions>;
2264
2343
  }>;
2344
+ /**
2345
+ * Whether a content form runs on this verify. Judged against the byBinding results alone.
2346
+ */
2347
+ export declare enum ContentTrigger {
2348
+ /**
2349
+ * Only when no binder's lookup resolved a manifest.
2350
+ */
2351
+ ByBindingMisses = 0,
2352
+ /**
2353
+ * On every verify, beside the byBinding results: corroboration, and the golden flows.
2354
+ */
2355
+ Always = 1
2356
+ }
2357
+ export declare enum Detectors_Tags {
2358
+ Fingerprint = "Fingerprint",
2359
+ Watermark = "Watermark",
2360
+ All = "All",
2361
+ Named = "Named"
2362
+ }
2363
+ /**
2364
+ * Which advertised server-side detectors a content form runs. Every selected detector runs,
2365
+ * including one a local binder already queried by binding.
2366
+ */
2367
+ export declare const Detectors: Readonly<{
2368
+ instanceOf: (obj: any) => obj is Detectors;
2369
+ Fingerprint: {
2370
+ new (): {
2371
+ /**
2372
+ * @private
2373
+ * This field is private and should not be used, use `tag` instead.
2374
+ */
2375
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2376
+ readonly tag: Detectors_Tags.Fingerprint;
2377
+ };
2378
+ "new"(): {
2379
+ /**
2380
+ * @private
2381
+ * This field is private and should not be used, use `tag` instead.
2382
+ */
2383
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2384
+ readonly tag: Detectors_Tags.Fingerprint;
2385
+ };
2386
+ instanceOf(obj: any): obj is {
2387
+ /**
2388
+ * @private
2389
+ * This field is private and should not be used, use `tag` instead.
2390
+ */
2391
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2392
+ readonly tag: Detectors_Tags.Fingerprint;
2393
+ };
2394
+ };
2395
+ Watermark: {
2396
+ new (): {
2397
+ /**
2398
+ * @private
2399
+ * This field is private and should not be used, use `tag` instead.
2400
+ */
2401
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2402
+ readonly tag: Detectors_Tags.Watermark;
2403
+ };
2404
+ "new"(): {
2405
+ /**
2406
+ * @private
2407
+ * This field is private and should not be used, use `tag` instead.
2408
+ */
2409
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2410
+ readonly tag: Detectors_Tags.Watermark;
2411
+ };
2412
+ instanceOf(obj: any): obj is {
2413
+ /**
2414
+ * @private
2415
+ * This field is private and should not be used, use `tag` instead.
2416
+ */
2417
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2418
+ readonly tag: Detectors_Tags.Watermark;
2419
+ };
2420
+ };
2421
+ All: {
2422
+ new (): {
2423
+ /**
2424
+ * @private
2425
+ * This field is private and should not be used, use `tag` instead.
2426
+ */
2427
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2428
+ readonly tag: Detectors_Tags.All;
2429
+ };
2430
+ "new"(): {
2431
+ /**
2432
+ * @private
2433
+ * This field is private and should not be used, use `tag` instead.
2434
+ */
2435
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2436
+ readonly tag: Detectors_Tags.All;
2437
+ };
2438
+ instanceOf(obj: any): obj is {
2439
+ /**
2440
+ * @private
2441
+ * This field is private and should not be used, use `tag` instead.
2442
+ */
2443
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2444
+ readonly tag: Detectors_Tags.All;
2445
+ };
2446
+ };
2447
+ Named: {
2448
+ new (inner: {
2449
+ algorithms: Array<string>;
2450
+ }): {
2451
+ /**
2452
+ * @private
2453
+ * This field is private and should not be used, use `tag` instead.
2454
+ */
2455
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2456
+ readonly tag: Detectors_Tags.Named;
2457
+ readonly inner: Readonly<{
2458
+ algorithms: Array<string>;
2459
+ }>;
2460
+ };
2461
+ "new"(inner: {
2462
+ algorithms: Array<string>;
2463
+ }): {
2464
+ /**
2465
+ * @private
2466
+ * This field is private and should not be used, use `tag` instead.
2467
+ */
2468
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2469
+ readonly tag: Detectors_Tags.Named;
2470
+ readonly inner: Readonly<{
2471
+ algorithms: Array<string>;
2472
+ }>;
2473
+ };
2474
+ instanceOf(obj: any): obj is {
2475
+ /**
2476
+ * @private
2477
+ * This field is private and should not be used, use `tag` instead.
2478
+ */
2479
+ readonly [uniffiTypeNameSymbol]: "Detectors";
2480
+ readonly tag: Detectors_Tags.Named;
2481
+ readonly inner: Readonly<{
2482
+ algorithms: Array<string>;
2483
+ }>;
2484
+ };
2485
+ };
2486
+ }>;
2487
+ /**
2488
+ * Which advertised server-side detectors a content form runs. Every selected detector runs,
2489
+ * including one a local binder already queried by binding.
2490
+ */
2491
+ export type Detectors = InstanceType<typeof Detectors['Fingerprint' | 'Watermark' | 'All' | 'Named']>;
2492
+ /**
2493
+ * One `matches/byContent` upload per selected detector.
2494
+ */
2495
+ export type ByContent = {
2496
+ after: ContentTrigger;
2497
+ detectors: Detectors;
2498
+ };
2499
+ /**
2500
+ * Generated factory for {@link ByContent} record objects.
2501
+ */
2502
+ export declare const ByContent: Readonly<{
2503
+ create: (partial: Partial<ByContent> & Required<Omit<ByContent, never>>) => ByContent;
2504
+ new: (partial: Partial<ByContent> & Required<Omit<ByContent, never>>) => ByContent;
2505
+ defaults: () => Partial<ByContent>;
2506
+ }>;
2507
+ /**
2508
+ * One `matches/byReference` query per selected detector. The registry downloads the asset
2509
+ * from `url`, so the client reads no bytes for it.
2510
+ */
2511
+ export type ByReference = {
2512
+ after: ContentTrigger;
2513
+ detectors: Detectors;
2514
+ /**
2515
+ * A short-lived https URL without credentials.
2516
+ */
2517
+ url: string;
2518
+ /**
2519
+ * The asset's size in bytes, which caps the registry's download.
2520
+ */
2521
+ length: bigint;
2522
+ mediaType?: string;
2523
+ };
2524
+ /**
2525
+ * Generated factory for {@link ByReference} record objects.
2526
+ */
2527
+ export declare const ByReference: Readonly<{
2528
+ create: (partial: Partial<ByReference> & Required<Omit<ByReference, "mediaType">>) => ByReference;
2529
+ new: (partial: Partial<ByReference> & Required<Omit<ByReference, "mediaType">>) => ByReference;
2530
+ defaults: () => Partial<ByReference>;
2531
+ }>;
2265
2532
  /**
2266
2533
  * Everything one [`Binder::derive`] needs beyond the asset. `format` overrides the format sniffed
2267
2534
  * from the leading bytes.
@@ -2417,292 +2684,63 @@ export declare const MediaValidation: Readonly<{
2417
2684
  new: (partial: Partial<MediaValidation> & Required<Omit<MediaValidation, never>>) => MediaValidation;
2418
2685
  defaults: () => Partial<MediaValidation>;
2419
2686
  }>;
2420
- export declare enum ContentAlgorithm_Tags {
2421
- Fingerprint = "Fingerprint",
2422
- Watermark = "Watermark",
2423
- All = "All",
2424
- Named = "Named"
2425
- }
2426
- /**
2427
- * How a `byContent` query selects the registry's detector algorithms.
2428
- */
2429
- export declare const ContentAlgorithm: Readonly<{
2430
- instanceOf: (obj: any) => obj is ContentAlgorithm;
2431
- Fingerprint: {
2432
- new (): {
2433
- /**
2434
- * @private
2435
- * This field is private and should not be used, use `tag` instead.
2436
- */
2437
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2438
- readonly tag: ContentAlgorithm_Tags.Fingerprint;
2439
- };
2440
- "new"(): {
2441
- /**
2442
- * @private
2443
- * This field is private and should not be used, use `tag` instead.
2444
- */
2445
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2446
- readonly tag: ContentAlgorithm_Tags.Fingerprint;
2447
- };
2448
- instanceOf(obj: any): obj is {
2449
- /**
2450
- * @private
2451
- * This field is private and should not be used, use `tag` instead.
2452
- */
2453
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2454
- readonly tag: ContentAlgorithm_Tags.Fingerprint;
2455
- };
2456
- };
2457
- Watermark: {
2458
- new (): {
2459
- /**
2460
- * @private
2461
- * This field is private and should not be used, use `tag` instead.
2462
- */
2463
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2464
- readonly tag: ContentAlgorithm_Tags.Watermark;
2465
- };
2466
- "new"(): {
2467
- /**
2468
- * @private
2469
- * This field is private and should not be used, use `tag` instead.
2470
- */
2471
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2472
- readonly tag: ContentAlgorithm_Tags.Watermark;
2473
- };
2474
- instanceOf(obj: any): obj is {
2475
- /**
2476
- * @private
2477
- * This field is private and should not be used, use `tag` instead.
2478
- */
2479
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2480
- readonly tag: ContentAlgorithm_Tags.Watermark;
2481
- };
2482
- };
2483
- All: {
2484
- new (): {
2485
- /**
2486
- * @private
2487
- * This field is private and should not be used, use `tag` instead.
2488
- */
2489
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2490
- readonly tag: ContentAlgorithm_Tags.All;
2491
- };
2492
- "new"(): {
2493
- /**
2494
- * @private
2495
- * This field is private and should not be used, use `tag` instead.
2496
- */
2497
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2498
- readonly tag: ContentAlgorithm_Tags.All;
2499
- };
2500
- instanceOf(obj: any): obj is {
2501
- /**
2502
- * @private
2503
- * This field is private and should not be used, use `tag` instead.
2504
- */
2505
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2506
- readonly tag: ContentAlgorithm_Tags.All;
2507
- };
2508
- };
2509
- Named: {
2510
- new (inner: {
2511
- algorithm: string;
2512
- }): {
2513
- /**
2514
- * @private
2515
- * This field is private and should not be used, use `tag` instead.
2516
- */
2517
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2518
- readonly tag: ContentAlgorithm_Tags.Named;
2519
- readonly inner: Readonly<{
2520
- algorithm: string;
2521
- }>;
2522
- };
2523
- "new"(inner: {
2524
- algorithm: string;
2525
- }): {
2526
- /**
2527
- * @private
2528
- * This field is private and should not be used, use `tag` instead.
2529
- */
2530
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2531
- readonly tag: ContentAlgorithm_Tags.Named;
2532
- readonly inner: Readonly<{
2533
- algorithm: string;
2534
- }>;
2535
- };
2536
- instanceOf(obj: any): obj is {
2537
- /**
2538
- * @private
2539
- * This field is private and should not be used, use `tag` instead.
2540
- */
2541
- readonly [uniffiTypeNameSymbol]: "ContentAlgorithm";
2542
- readonly tag: ContentAlgorithm_Tags.Named;
2543
- readonly inner: Readonly<{
2544
- algorithm: string;
2545
- }>;
2546
- };
2547
- };
2548
- }>;
2549
- /**
2550
- * How a `byContent` query selects the registry's detector algorithms.
2551
- */
2552
- export type ContentAlgorithm = InstanceType<typeof ContentAlgorithm['Fingerprint' | 'Watermark' | 'All' | 'Named']>;
2553
- export declare enum RecoveryQuery_Tags {
2554
- ByBinding = "ByBinding",
2555
- ByContent = "ByContent"
2556
- }
2557
- /**
2558
- * A single C2PA Soft Binding Resolution API lookup.
2559
- */
2560
- export declare const RecoveryQuery: Readonly<{
2561
- instanceOf: (obj: any) => obj is RecoveryQuery;
2562
- ByBinding: {
2563
- new (inner: {
2564
- binderIndex: number;
2565
- }): {
2566
- /**
2567
- * @private
2568
- * This field is private and should not be used, use `tag` instead.
2569
- */
2570
- readonly [uniffiTypeNameSymbol]: "RecoveryQuery";
2571
- readonly tag: RecoveryQuery_Tags.ByBinding;
2572
- readonly inner: Readonly<{
2573
- binderIndex: number;
2574
- }>;
2575
- };
2576
- "new"(inner: {
2577
- binderIndex: number;
2578
- }): {
2579
- /**
2580
- * @private
2581
- * This field is private and should not be used, use `tag` instead.
2582
- */
2583
- readonly [uniffiTypeNameSymbol]: "RecoveryQuery";
2584
- readonly tag: RecoveryQuery_Tags.ByBinding;
2585
- readonly inner: Readonly<{
2586
- binderIndex: number;
2587
- }>;
2588
- };
2589
- instanceOf(obj: any): obj is {
2590
- /**
2591
- * @private
2592
- * This field is private and should not be used, use `tag` instead.
2593
- */
2594
- readonly [uniffiTypeNameSymbol]: "RecoveryQuery";
2595
- readonly tag: RecoveryQuery_Tags.ByBinding;
2596
- readonly inner: Readonly<{
2597
- binderIndex: number;
2598
- }>;
2599
- };
2600
- };
2601
- ByContent: {
2602
- new (inner: {
2603
- algorithm: ContentAlgorithm;
2604
- hintBinderIndex?: number;
2605
- }): {
2606
- /**
2607
- * @private
2608
- * This field is private and should not be used, use `tag` instead.
2609
- */
2610
- readonly [uniffiTypeNameSymbol]: "RecoveryQuery";
2611
- readonly tag: RecoveryQuery_Tags.ByContent;
2612
- readonly inner: Readonly<{
2613
- algorithm: ContentAlgorithm;
2614
- hintBinderIndex?: number;
2615
- }>;
2616
- };
2617
- new: (partial: Parameters<(partial: Partial<{
2618
- algorithm: ContentAlgorithm;
2619
- hintBinderIndex?: number;
2620
- }> & Required<Omit<{
2621
- algorithm: ContentAlgorithm;
2622
- hintBinderIndex?: number;
2623
- }, "hintBinderIndex">>) => {
2624
- algorithm: ContentAlgorithm;
2625
- hintBinderIndex?: number;
2626
- }>[0]) => {
2627
- /**
2628
- * @private
2629
- * This field is private and should not be used, use `tag` instead.
2630
- */
2631
- readonly [uniffiTypeNameSymbol]: "RecoveryQuery";
2632
- readonly tag: RecoveryQuery_Tags.ByContent;
2633
- readonly inner: Readonly<{
2634
- algorithm: ContentAlgorithm;
2635
- hintBinderIndex?: number;
2636
- }>;
2637
- };
2638
- instanceOf(obj: any): obj is {
2639
- /**
2640
- * @private
2641
- * This field is private and should not be used, use `tag` instead.
2642
- */
2643
- readonly [uniffiTypeNameSymbol]: "RecoveryQuery";
2644
- readonly tag: RecoveryQuery_Tags.ByContent;
2645
- readonly inner: Readonly<{
2646
- algorithm: ContentAlgorithm;
2647
- hintBinderIndex?: number;
2648
- }>;
2649
- };
2650
- };
2651
- }>;
2652
- /**
2653
- * A single C2PA Soft Binding Resolution API lookup.
2654
- */
2655
- export type RecoveryQuery = InstanceType<typeof RecoveryQuery['ByBinding' | 'ByContent']>;
2656
- /**
2657
- * Scheduling within a recovery stage.
2658
- */
2659
- export declare enum RecoveryExecution {
2660
- /**
2661
- * Finish one query before starting the next.
2662
- */
2663
- Sequential = 0,
2664
- /**
2665
- * Start all queries together and merge their results in declaration order.
2666
- */
2667
- Parallel = 1
2668
- }
2669
2687
  /**
2670
- * The condition that completes a recovery stage.
2688
+ * When [`AssetVerifier::verify_asset`] queries the registry.
2671
2689
  */
2672
- export declare enum RecoveryCompletion {
2690
+ export declare enum RecoveryPolicy {
2673
2691
  /**
2674
- * Stop after the first declared query that returns a credential.
2692
+ * When the asset has no embedded manifest or its active manifest is invalid. This includes
2693
+ * stripped assets and invalid manifests, for which C2PA 2.4 permits soft-binding discovery.
2694
+ * A valid embedded manifest costs no registry round trip.
2675
2695
  */
2676
- FirstResult = 0,
2696
+ WhenMissing = 0,
2677
2697
  /**
2678
- * Run every query and retain the union of their credentials and evidence.
2698
+ * On every verify, alongside the embedded manifest, so the two can be compared.
2699
+ *
2700
+ * C2PA 2.4's `watermark-golden` and `fingerprint-golden` flows end on exactly that
2701
+ * comparison, and it is the only thing that catches a manifest SUBSTITUTED under an
2702
+ * untouched mark (use case UC3 in the spec's list, UC2 in ours): the replacement verifies
2703
+ * perfectly on its own, and only disagrees with what the mark actually resolves to.
2704
+ *
2705
+ * It queries the registry on every verify, without making it load-bearing on the asset's own
2706
+ * credential: the flow provides information about a substitution rather than gating the local
2707
+ * manifest, so a registry that cannot be reached leaves [`RecoveryStatus::Incomplete`], the
2708
+ * reason as a [`RecoveryIssue`], and [`GoldenComparison::Indeterminate`]. A caller for whom a
2709
+ * cross-check that never ran must not pass for agreement branches on that status.
2679
2710
  */
2680
- AllResults = 1
2711
+ Always = 1
2681
2712
  }
2682
2713
  /**
2683
- * One ordered group of registry queries.
2714
+ * What one verify may do with the registry. Required whenever a registry is configured.
2715
+ *
2716
+ * One field per Soft Binding Resolution API operation, and an absent one is not called.
2717
+ * `matches/byBinding` is decided by the binders handed to the verify: each is derived and looked
2718
+ * up, all together, and every result is kept. The content forms run after that, each for the
2719
+ * detectors it names, hinted with the first fingerprint the binders derived. Results merge by
2720
+ * manifest; nothing is ranked or dropped.
2684
2721
  */
2685
- export type RecoveryStage = {
2722
+ export type Recovery = {
2686
2723
  /**
2687
- * Queries in declaration order. Their order is also the deterministic result priority.
2724
+ * When the registry is consulted at all.
2688
2725
  */
2689
- queries: Array<RecoveryQuery>;
2726
+ when: RecoveryPolicy;
2690
2727
  /**
2691
- * Whether queries start one at a time or together.
2728
+ * `matches/byContent`: the bounded asset bytes travel in the request.
2692
2729
  */
2693
- execution: RecoveryExecution;
2730
+ byContent?: ByContent;
2694
2731
  /**
2695
- * Whether this stage stops at its first successful query or retains every result.
2732
+ * `matches/byReference`: the registry fetches the asset from the caller's URL instead, for
2733
+ * an asset above the upload cap.
2696
2734
  */
2697
- completion: RecoveryCompletion;
2735
+ byReference?: ByReference;
2698
2736
  };
2699
2737
  /**
2700
- * Generated factory for {@link RecoveryStage} record objects.
2738
+ * Generated factory for {@link Recovery} record objects.
2701
2739
  */
2702
- export declare const RecoveryStage: Readonly<{
2703
- create: (partial: Partial<RecoveryStage> & Required<Omit<RecoveryStage, never>>) => RecoveryStage;
2704
- new: (partial: Partial<RecoveryStage> & Required<Omit<RecoveryStage, never>>) => RecoveryStage;
2705
- defaults: () => Partial<RecoveryStage>;
2740
+ export declare const Recovery: Readonly<{
2741
+ create: (partial: Partial<Recovery> & Required<Omit<Recovery, "byContent" | "byReference">>) => Recovery;
2742
+ new: (partial: Partial<Recovery> & Required<Omit<Recovery, "byContent" | "byReference">>) => Recovery;
2743
+ defaults: () => Partial<Recovery>;
2706
2744
  }>;
2707
2745
  /**
2708
2746
  * A byte range holding a bare C2PA manifest store, or reserved for one. A record of
@@ -3248,58 +3286,6 @@ export declare class Binder extends UniffiAbstractObject implements BinderLike {
3248
3286
  uniffiDestroy(): void;
3249
3287
  static instanceOf(obj_: any): obj_ is Binder;
3250
3288
  }
3251
- export declare enum RecoveryPlan_Tags {
3252
- Custom = "Custom"
3253
- }
3254
- /**
3255
- * The registry work a verification call is allowed to perform.
3256
- */
3257
- export declare const RecoveryPlan: Readonly<{
3258
- instanceOf: (obj: any) => obj is RecoveryPlan;
3259
- Custom: {
3260
- new (inner: {
3261
- stages: Array<RecoveryStage>;
3262
- }): {
3263
- /**
3264
- * @private
3265
- * This field is private and should not be used, use `tag` instead.
3266
- */
3267
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
3268
- readonly tag: RecoveryPlan_Tags.Custom;
3269
- readonly inner: Readonly<{
3270
- stages: Array<RecoveryStage>;
3271
- }>;
3272
- };
3273
- "new"(inner: {
3274
- stages: Array<RecoveryStage>;
3275
- }): {
3276
- /**
3277
- * @private
3278
- * This field is private and should not be used, use `tag` instead.
3279
- */
3280
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
3281
- readonly tag: RecoveryPlan_Tags.Custom;
3282
- readonly inner: Readonly<{
3283
- stages: Array<RecoveryStage>;
3284
- }>;
3285
- };
3286
- instanceOf(obj: any): obj is {
3287
- /**
3288
- * @private
3289
- * This field is private and should not be used, use `tag` instead.
3290
- */
3291
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
3292
- readonly tag: RecoveryPlan_Tags.Custom;
3293
- readonly inner: Readonly<{
3294
- stages: Array<RecoveryStage>;
3295
- }>;
3296
- };
3297
- };
3298
- }>;
3299
- /**
3300
- * The registry work a verification call is allowed to perform.
3301
- */
3302
- export type RecoveryPlan = InstanceType<typeof RecoveryPlan['Custom']>;
3303
3289
  /**
3304
3290
  * The read surface a plugin implements. Implemented by the CALLER, in Rust
3305
3291
  * behind its own cdylib or directly in the host language, and handed to `verify`.
@@ -3404,21 +3390,21 @@ export declare class PluginRegistry extends UniffiAbstractObject implements Plug
3404
3390
  /**
3405
3391
  * Everything one [`AssetVerifier::verify`] needs beyond the asset.
3406
3392
  *
3407
- * `binders` are addressed by recovery-plan indexes. `recovery_plan` is required when the verifier
3408
- * has a registry and absent for embedded-only verification. `plugins` carries caller plugins for non-c2pa formats
3409
- * (e.g. MXF); a built-in C2PA media format needs none.
3393
+ * `recovery` is required when the verifier has a registry and absent for embedded-only
3394
+ * verification. `plugins` carries caller plugins for non-c2pa formats (e.g. MXF); a built-in
3395
+ * C2PA media format needs none.
3410
3396
  */
3411
3397
  export type VerifyOptions = {
3412
3398
  binders: Array<BinderLike>;
3413
- recoveryPlan?: RecoveryPlan;
3399
+ recovery?: Recovery;
3414
3400
  plugins?: PluginRegistryLike;
3415
3401
  };
3416
3402
  /**
3417
3403
  * Generated factory for {@link VerifyOptions} record objects.
3418
3404
  */
3419
3405
  export declare const VerifyOptions: Readonly<{
3420
- create: (partial: Partial<VerifyOptions> & Required<Omit<VerifyOptions, "plugins" | "recoveryPlan">>) => VerifyOptions;
3421
- new: (partial: Partial<VerifyOptions> & Required<Omit<VerifyOptions, "plugins" | "recoveryPlan">>) => VerifyOptions;
3406
+ create: (partial: Partial<VerifyOptions> & Required<Omit<VerifyOptions, "plugins" | "recovery">>) => VerifyOptions;
3407
+ new: (partial: Partial<VerifyOptions> & Required<Omit<VerifyOptions, "plugins" | "recovery">>) => VerifyOptions;
3422
3408
  defaults: () => Partial<VerifyOptions>;
3423
3409
  }>;
3424
3410
  export declare enum SegmentValidation_Tags {
@@ -3925,6 +3911,20 @@ declare const _default$1: Readonly<{
3925
3911
  lower(value: AssetVerifierOptions, alloc: RustBufferAllocator): UniffiByteArray;
3926
3912
  };
3927
3913
  FfiConverterTypeBinder: FfiConverterObject<BinderLike>;
3914
+ FfiConverterTypeByContent: {
3915
+ readFromCursor(c: Cursor): ByContent;
3916
+ writeIntoCursor(value: ByContent, c: Cursor): void;
3917
+ allocationSize(value: ByContent): number;
3918
+ lift(value: UniffiByteArray): ByContent;
3919
+ lower(value: ByContent, alloc: RustBufferAllocator): UniffiByteArray;
3920
+ };
3921
+ FfiConverterTypeByReference: {
3922
+ readFromCursor(c: Cursor): ByReference;
3923
+ writeIntoCursor(value: ByReference, c: Cursor): void;
3924
+ allocationSize(value: ByReference): number;
3925
+ lift(value: UniffiByteArray): ByReference;
3926
+ lower(value: ByReference, alloc: RustBufferAllocator): UniffiByteArray;
3927
+ };
3928
3928
  FfiConverterTypeClaimGeneratorInfo: {
3929
3929
  readFromCursor(c: Cursor): ClaimGeneratorInfo;
3930
3930
  writeIntoCursor(value: ClaimGeneratorInfo, c: Cursor): void;
@@ -3939,13 +3939,6 @@ declare const _default$1: Readonly<{
3939
3939
  lift(value: UniffiByteArray): Code;
3940
3940
  lower(value: Code, alloc: RustBufferAllocator): UniffiByteArray;
3941
3941
  };
3942
- FfiConverterTypeContentAlgorithm: {
3943
- readFromCursor(c: Cursor): ContentAlgorithm;
3944
- writeIntoCursor(value: ContentAlgorithm, c: Cursor): void;
3945
- allocationSize(value: ContentAlgorithm): number;
3946
- lift(value: UniffiByteArray): ContentAlgorithm;
3947
- lower(value: ContentAlgorithm, alloc: RustBufferAllocator): UniffiByteArray;
3948
- };
3949
3942
  FfiConverterTypeContentBindingClass: {
3950
3943
  readFromCursor(c: Cursor): ContentBindingClass;
3951
3944
  writeIntoCursor(value: ContentBindingClass, c: Cursor): void;
@@ -3953,6 +3946,13 @@ declare const _default$1: Readonly<{
3953
3946
  lift(value: UniffiByteArray): ContentBindingClass;
3954
3947
  lower(value: ContentBindingClass, alloc: RustBufferAllocator): UniffiByteArray;
3955
3948
  };
3949
+ FfiConverterTypeContentTrigger: {
3950
+ readFromCursor(c: Cursor): ContentTrigger;
3951
+ writeIntoCursor(value: ContentTrigger, c: Cursor): void;
3952
+ allocationSize(value: ContentTrigger): number;
3953
+ lift(value: UniffiByteArray): ContentTrigger;
3954
+ lower(value: ContentTrigger, alloc: RustBufferAllocator): UniffiByteArray;
3955
+ };
3956
3956
  FfiConverterTypeCoordinate: {
3957
3957
  readFromCursor(c: Cursor): Coordinate;
3958
3958
  writeIntoCursor(value: Coordinate, c: Cursor): void;
@@ -3981,6 +3981,13 @@ declare const _default$1: Readonly<{
3981
3981
  lift(value: UniffiByteArray): DeriveOptions;
3982
3982
  lower(value: DeriveOptions, alloc: RustBufferAllocator): UniffiByteArray;
3983
3983
  };
3984
+ FfiConverterTypeDetectors: {
3985
+ readFromCursor(c: Cursor): Detectors;
3986
+ writeIntoCursor(value: Detectors, c: Cursor): void;
3987
+ allocationSize(value: Detectors): number;
3988
+ lift(value: UniffiByteArray): Detectors;
3989
+ lower(value: Detectors, alloc: RustBufferAllocator): UniffiByteArray;
3990
+ };
3984
3991
  FfiConverterTypeEndInclusivity: {
3985
3992
  readFromCursor(c: Cursor): EndInclusivity;
3986
3993
  writeIntoCursor(value: EndInclusivity, c: Cursor): void;
@@ -4066,6 +4073,13 @@ declare const _default$1: Readonly<{
4066
4073
  lift(value: UniffiByteArray): Item;
4067
4074
  lower(value: Item, alloc: RustBufferAllocator): UniffiByteArray;
4068
4075
  };
4076
+ FfiConverterTypeLineage: {
4077
+ readFromCursor(c: Cursor): Lineage;
4078
+ writeIntoCursor(value: Lineage, c: Cursor): void;
4079
+ allocationSize(value: Lineage): number;
4080
+ lift(value: UniffiByteArray): Lineage;
4081
+ lower(value: Lineage, alloc: RustBufferAllocator): UniffiByteArray;
4082
+ };
4069
4083
  FfiConverterTypeManifest: {
4070
4084
  readFromCursor(c: Cursor): Manifest;
4071
4085
  writeIntoCursor(value: Manifest, c: Cursor): void;
@@ -4118,12 +4132,12 @@ declare const _default$1: Readonly<{
4118
4132
  lift(value: UniffiByteArray): RangeType;
4119
4133
  lower(value: RangeType, alloc: RustBufferAllocator): UniffiByteArray;
4120
4134
  };
4121
- FfiConverterTypeRecoveryCompletion: {
4122
- readFromCursor(c: Cursor): RecoveryCompletion;
4123
- writeIntoCursor(value: RecoveryCompletion, c: Cursor): void;
4124
- allocationSize(value: RecoveryCompletion): number;
4125
- lift(value: UniffiByteArray): RecoveryCompletion;
4126
- lower(value: RecoveryCompletion, alloc: RustBufferAllocator): UniffiByteArray;
4135
+ FfiConverterTypeRecovery: {
4136
+ readFromCursor(c: Cursor): Recovery;
4137
+ writeIntoCursor(value: Recovery, c: Cursor): void;
4138
+ allocationSize(value: Recovery): number;
4139
+ lift(value: UniffiByteArray): Recovery;
4140
+ lower(value: Recovery, alloc: RustBufferAllocator): UniffiByteArray;
4127
4141
  };
4128
4142
  FfiConverterTypeRecoveryDiscovery: {
4129
4143
  readFromCursor(c: Cursor): RecoveryDiscovery;
@@ -4132,13 +4146,6 @@ declare const _default$1: Readonly<{
4132
4146
  lift(value: UniffiByteArray): RecoveryDiscovery;
4133
4147
  lower(value: RecoveryDiscovery, alloc: RustBufferAllocator): UniffiByteArray;
4134
4148
  };
4135
- FfiConverterTypeRecoveryExecution: {
4136
- readFromCursor(c: Cursor): RecoveryExecution;
4137
- writeIntoCursor(value: RecoveryExecution, c: Cursor): void;
4138
- allocationSize(value: RecoveryExecution): number;
4139
- lift(value: UniffiByteArray): RecoveryExecution;
4140
- lower(value: RecoveryExecution, alloc: RustBufferAllocator): UniffiByteArray;
4141
- };
4142
4149
  FfiConverterTypeRecoveryIssue: {
4143
4150
  readFromCursor(c: Cursor): RecoveryIssue;
4144
4151
  writeIntoCursor(value: RecoveryIssue, c: Cursor): void;
@@ -4153,63 +4160,6 @@ declare const _default$1: Readonly<{
4153
4160
  lift(value: UniffiByteArray): RecoveryIssueKind;
4154
4161
  lower(value: RecoveryIssueKind, alloc: RustBufferAllocator): UniffiByteArray;
4155
4162
  };
4156
- FfiConverterTypeRecoveryPlan: {
4157
- readFromCursor(c: Cursor): {
4158
- /**
4159
- * @private
4160
- * This field is private and should not be used, use `tag` instead.
4161
- */
4162
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
4163
- readonly tag: RecoveryPlan_Tags.Custom;
4164
- readonly inner: Readonly<{
4165
- stages: Array<RecoveryStage>;
4166
- }>;
4167
- };
4168
- writeIntoCursor(value: {
4169
- /**
4170
- * @private
4171
- * This field is private and should not be used, use `tag` instead.
4172
- */
4173
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
4174
- readonly tag: RecoveryPlan_Tags.Custom;
4175
- readonly inner: Readonly<{
4176
- stages: Array<RecoveryStage>;
4177
- }>;
4178
- }, c: Cursor): void;
4179
- allocationSize(value: {
4180
- /**
4181
- * @private
4182
- * This field is private and should not be used, use `tag` instead.
4183
- */
4184
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
4185
- readonly tag: RecoveryPlan_Tags.Custom;
4186
- readonly inner: Readonly<{
4187
- stages: Array<RecoveryStage>;
4188
- }>;
4189
- }): number;
4190
- lift(value: UniffiByteArray): {
4191
- /**
4192
- * @private
4193
- * This field is private and should not be used, use `tag` instead.
4194
- */
4195
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
4196
- readonly tag: RecoveryPlan_Tags.Custom;
4197
- readonly inner: Readonly<{
4198
- stages: Array<RecoveryStage>;
4199
- }>;
4200
- };
4201
- lower(value: {
4202
- /**
4203
- * @private
4204
- * This field is private and should not be used, use `tag` instead.
4205
- */
4206
- readonly [uniffiTypeNameSymbol]: "RecoveryPlan";
4207
- readonly tag: RecoveryPlan_Tags.Custom;
4208
- readonly inner: Readonly<{
4209
- stages: Array<RecoveryStage>;
4210
- }>;
4211
- }, alloc: RustBufferAllocator): UniffiByteArray;
4212
- };
4213
4163
  FfiConverterTypeRecoveryPolicy: {
4214
4164
  readFromCursor(c: Cursor): RecoveryPolicy;
4215
4165
  writeIntoCursor(value: RecoveryPolicy, c: Cursor): void;
@@ -4217,20 +4167,6 @@ declare const _default$1: Readonly<{
4217
4167
  lift(value: UniffiByteArray): RecoveryPolicy;
4218
4168
  lower(value: RecoveryPolicy, alloc: RustBufferAllocator): UniffiByteArray;
4219
4169
  };
4220
- FfiConverterTypeRecoveryQuery: {
4221
- readFromCursor(c: Cursor): RecoveryQuery;
4222
- writeIntoCursor(value: RecoveryQuery, c: Cursor): void;
4223
- allocationSize(value: RecoveryQuery): number;
4224
- lift(value: UniffiByteArray): RecoveryQuery;
4225
- lower(value: RecoveryQuery, alloc: RustBufferAllocator): UniffiByteArray;
4226
- };
4227
- FfiConverterTypeRecoveryStage: {
4228
- readFromCursor(c: Cursor): RecoveryStage;
4229
- writeIntoCursor(value: RecoveryStage, c: Cursor): void;
4230
- allocationSize(value: RecoveryStage): number;
4231
- lift(value: UniffiByteArray): RecoveryStage;
4232
- lower(value: RecoveryStage, alloc: RustBufferAllocator): UniffiByteArray;
4233
- };
4234
4170
  FfiConverterTypeRecoveryStatus: {
4235
4171
  readFromCursor(c: Cursor): RecoveryStatus;
4236
4172
  writeIntoCursor(value: RecoveryStatus, c: Cursor): void;