@trylimbo/sdk-verifier 0.2.12-canary.28 → 0.2.12-canary.32

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, AssetFormat, AssetFormat_Tags, AssetType, AssetVerification, AssetVerifier, AssetVerifierInterface, AssetVerifierLike, AssetVerifierOptions, Binder, BinderImpl, ByContent, ByReference, ClaimGeneratorInfo, Code, ContentBindingClass, ContentTrigger, Coordinate, CredentialOrigin, CredentialOrigin_Tags, DataSource, DeriveOptions, EndInclusivity, FieldViolation, FileSource, FileSourceInterface, FileSourceLike, FingerprintCheck, FingerprintCheck_Tags, FoundCredential, Frame, GoldenComparison, GoldenComparison_Tags, HardBinding, HashedUri, HeldBinder, HeldBinderInterface, HeldBinderLike, Ingredient, IngredientDeltaValidationResult, InitValidation, IsccBinder, IsccBinderInterface, IsccBinderLike, Item, Lineage, Manifest, ManifestAssertion, ManifestAssertionKind, ManifestStore, MediaValidation, MemorySource, MemorySourceInterface, MemorySourceLike, PluginRead, Range, RangeSource, RangeSourceImpl, RangeType, Recovery, RecoveryDiscovery, RecoveryDiscovery_Tags, RecoveryIssue, RecoveryIssue_Tags, RecoveryPolicy, RecoveryStatus, RecoverySummary, Region, RegionOfInterest, Relationship, Repository, Repository_Tags, 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, Verdict, VerdictRule, Verdict_Tags, c2paTrustList, c2paTsaTrustList, _default$1 as default, devCa, parse, resource, thumbnails };
184
+ export { Actor, AssertionMetadata, AssetFormat, AssetFormat_Tags, AssetType, AssetVerification, AssetVerifier, AssetVerifierInterface, AssetVerifierLike, AssetVerifierOptions, Binder, BinderImpl, ByContent, ByReference, ClaimGeneratorInfo, Code, ContentBindingClass, ContentTrigger, Coordinate, Credential, CredentialOrigin, CredentialOrigin_Tags, DataSource, DeriveOptions, EndInclusivity, FieldViolation, FileSource, FileSourceInterface, FileSourceLike, FingerprintCheck, FingerprintCheck_Tags, Frame, GoldenComparison, GoldenComparison_Tags, HardBinding, HashedUri, HeldBinder, HeldBinderInterface, HeldBinderLike, Ingredient, IngredientDeltaValidationResult, InitValidation, IsccBinder, IsccBinderInterface, IsccBinderLike, Item, JsonValue, Lineage, Manifest, ManifestAssertion, ManifestAssertionKind, ManifestStore, MediaValidation, MemorySource, MemorySourceInterface, MemorySourceLike, PluginReader, Range, RangeSource, RangeSourceImpl, RangeType, Recovery, RecoveryDiscovery, RecoveryDiscovery_Tags, RecoveryIssue, RecoveryIssue_Tags, RecoveryStatus, RecoverySummary, RecoveryTrigger, Region, RegionOfInterest, Relationship, Repository, Repository_Tags, ResourceRef, ReviewRating, Role, SdkError, SdkError_Tags, SegmentTiming, SegmentValidation, SegmentValidation_Tags, SessionKeySummary, Shape, ShapeType, SignatureInfo, SigningAlgSchema, SimilarityScore, SoftBinding, StatusCodes, StreamSession, StreamSessionInterface, StreamSessionLike, StreamVerifier, StreamVerifierInterface, StreamVerifierLike, StreamVerifierOptions, Text, TextSelector, TextSelectorRange, Time, TimeType, UnitType, UriOrResource, UriOrResource_Tags, ValidationCode, ValidationCodeKind, ValidationResults, ValidationState, ValidationStatus, Verdict, VerdictRule, Verdict_Tags, 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
@@ -322,7 +322,7 @@ export declare const DataSource: Readonly<{
322
322
  * Typealias from the type name used in the UDL file to the builtin type. This
323
323
  * is needed because the UDL type name is used in function/method signatures.
324
324
  */
325
- export type Value = string;
325
+ export type JsonValue = string;
326
326
  /**
327
327
  * A frame range representing starting and ending frames or pages.
328
328
  *
@@ -711,7 +711,7 @@ export type RegionOfInterest = {
711
711
  /**
712
712
  * Nested metadata, as JSON: the reader's one recursive edge.
713
713
  */
714
- metadata?: Value;
714
+ metadata?: JsonValue;
715
715
  /**
716
716
  * A free-text string representing a human-readable name for the region which might be used in a user interface.
717
717
  */
@@ -1318,7 +1318,7 @@ export type ManifestAssertion = {
1318
1318
  /**
1319
1319
  * The data of the assertion as Value
1320
1320
  */
1321
- data: Value;
1321
+ data: JsonValue;
1322
1322
  /**
1323
1323
  * There can be more than one assertion for any label
1324
1324
  */
@@ -1799,7 +1799,7 @@ export type Manifest = {
1799
1799
  /**
1800
1800
  * A List of verified credentials
1801
1801
  */
1802
- credentials?: Array<Value>;
1802
+ credentials?: Array<JsonValue>;
1803
1803
  /**
1804
1804
  * The format of the source file as a MIME type.
1805
1805
  */
@@ -1922,7 +1922,7 @@ export declare enum HardBinding {
1922
1922
  /**
1923
1923
  * No data, box, BMFF or collection hash failed against these bytes.
1924
1924
  */
1925
- Holds = 0,
1925
+ Match = 0,
1926
1926
  /**
1927
1927
  * A hash mismatch is among the active manifest's failures: the manifest describes other
1928
1928
  * bytes. Whether it is otherwise authentic is its remaining statuses.
@@ -1959,7 +1959,7 @@ export declare const Lineage: Readonly<{
1959
1959
  * binding holds over the bytes read. The recovered origin carries the same `SoftBinding` record
1960
1960
  * `Binder.derive` returns, so a derived binding and a recovering one are one type.
1961
1961
  */
1962
- export type FoundCredential = {
1962
+ export type Credential = {
1963
1963
  /**
1964
1964
  * The bytes behind every thumbnail the manifests reference, by that reference's
1965
1965
  * `identifier`: each manifest's claim thumbnail and each ingredient's. The manifests state
@@ -1985,12 +1985,12 @@ export type FoundCredential = {
1985
1985
  lineage: Lineage;
1986
1986
  };
1987
1987
  /**
1988
- * Generated factory for {@link FoundCredential} record objects.
1988
+ * Generated factory for {@link Credential} record objects.
1989
1989
  */
1990
- export declare const FoundCredential: Readonly<{
1991
- create: (partial: Partial<FoundCredential> & Required<Omit<FoundCredential, never>>) => FoundCredential;
1992
- new: (partial: Partial<FoundCredential> & Required<Omit<FoundCredential, never>>) => FoundCredential;
1993
- defaults: () => Partial<FoundCredential>;
1990
+ export declare const Credential: Readonly<{
1991
+ create: (partial: Partial<Credential> & Required<Omit<Credential, never>>) => Credential;
1992
+ new: (partial: Partial<Credential> & Required<Omit<Credential, never>>) => Credential;
1993
+ defaults: () => Partial<Credential>;
1994
1994
  }>;
1995
1995
  /**
1996
1996
  * Whether the configured recovery sequence ran to a conclusive answer.
@@ -2005,19 +2005,19 @@ export declare enum RecoveryStatus {
2005
2005
  Incomplete = 3
2006
2006
  }
2007
2007
  export declare enum RecoveryIssue_Tags {
2008
- Binder = "Binder",
2009
- DeprecatedAlgorithm = "DeprecatedAlgorithm",
2008
+ BinderFailed = "BinderFailed",
2009
+ AlgorithmDeprecated = "AlgorithmDeprecated",
2010
2010
  BindingUndeclared = "BindingUndeclared",
2011
- BindingQuery = "BindingQuery",
2011
+ BindingQueryFailed = "BindingQueryFailed",
2012
2012
  QueryRefused = "QueryRefused",
2013
- ContentForm = "ContentForm",
2014
- ContentQuery = "ContentQuery",
2015
- Capabilities = "Capabilities",
2013
+ ContentFormUnsupported = "ContentFormUnsupported",
2014
+ ContentQueryFailed = "ContentQueryFailed",
2015
+ CapabilitiesUnavailable = "CapabilitiesUnavailable",
2016
2016
  ContentTooLarge = "ContentTooLarge",
2017
- CandidateFetch = "CandidateFetch",
2018
- CandidateValidation = "CandidateValidation",
2017
+ CandidateFetchFailed = "CandidateFetchFailed",
2018
+ CandidateInvalid = "CandidateInvalid",
2019
2019
  EndpointRefused = "EndpointRefused",
2020
- ResourceLimit = "ResourceLimit"
2020
+ ResourceLimitReached = "ResourceLimitReached"
2021
2021
  }
2022
2022
  /**
2023
2023
  * Why repository recovery did not complete cleanly, or why one candidate was omitted while another
@@ -2026,7 +2026,7 @@ export declare enum RecoveryIssue_Tags {
2026
2026
  */
2027
2027
  export declare const RecoveryIssue: Readonly<{
2028
2028
  instanceOf: (obj: any) => obj is RecoveryIssue;
2029
- Binder: {
2029
+ BinderFailed: {
2030
2030
  new (inner: {
2031
2031
  binderIndex: number;
2032
2032
  message: string;
@@ -2036,7 +2036,7 @@ export declare const RecoveryIssue: Readonly<{
2036
2036
  * This field is private and should not be used, use `tag` instead.
2037
2037
  */
2038
2038
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2039
- readonly tag: RecoveryIssue_Tags.Binder;
2039
+ readonly tag: RecoveryIssue_Tags.BinderFailed;
2040
2040
  readonly inner: Readonly<{
2041
2041
  binderIndex: number;
2042
2042
  message: string;
@@ -2051,7 +2051,7 @@ export declare const RecoveryIssue: Readonly<{
2051
2051
  * This field is private and should not be used, use `tag` instead.
2052
2052
  */
2053
2053
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2054
- readonly tag: RecoveryIssue_Tags.Binder;
2054
+ readonly tag: RecoveryIssue_Tags.BinderFailed;
2055
2055
  readonly inner: Readonly<{
2056
2056
  binderIndex: number;
2057
2057
  message: string;
@@ -2063,14 +2063,14 @@ export declare const RecoveryIssue: Readonly<{
2063
2063
  * This field is private and should not be used, use `tag` instead.
2064
2064
  */
2065
2065
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2066
- readonly tag: RecoveryIssue_Tags.Binder;
2066
+ readonly tag: RecoveryIssue_Tags.BinderFailed;
2067
2067
  readonly inner: Readonly<{
2068
2068
  binderIndex: number;
2069
2069
  message: string;
2070
2070
  }>;
2071
2071
  };
2072
2072
  };
2073
- DeprecatedAlgorithm: {
2073
+ AlgorithmDeprecated: {
2074
2074
  new (inner: {
2075
2075
  algorithm: string;
2076
2076
  }): {
@@ -2079,7 +2079,7 @@ export declare const RecoveryIssue: Readonly<{
2079
2079
  * This field is private and should not be used, use `tag` instead.
2080
2080
  */
2081
2081
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2082
- readonly tag: RecoveryIssue_Tags.DeprecatedAlgorithm;
2082
+ readonly tag: RecoveryIssue_Tags.AlgorithmDeprecated;
2083
2083
  readonly inner: Readonly<{
2084
2084
  algorithm: string;
2085
2085
  }>;
@@ -2092,7 +2092,7 @@ export declare const RecoveryIssue: Readonly<{
2092
2092
  * This field is private and should not be used, use `tag` instead.
2093
2093
  */
2094
2094
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2095
- readonly tag: RecoveryIssue_Tags.DeprecatedAlgorithm;
2095
+ readonly tag: RecoveryIssue_Tags.AlgorithmDeprecated;
2096
2096
  readonly inner: Readonly<{
2097
2097
  algorithm: string;
2098
2098
  }>;
@@ -2103,7 +2103,7 @@ export declare const RecoveryIssue: Readonly<{
2103
2103
  * This field is private and should not be used, use `tag` instead.
2104
2104
  */
2105
2105
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2106
- readonly tag: RecoveryIssue_Tags.DeprecatedAlgorithm;
2106
+ readonly tag: RecoveryIssue_Tags.AlgorithmDeprecated;
2107
2107
  readonly inner: Readonly<{
2108
2108
  algorithm: string;
2109
2109
  }>;
@@ -2153,7 +2153,7 @@ export declare const RecoveryIssue: Readonly<{
2153
2153
  }>;
2154
2154
  };
2155
2155
  };
2156
- BindingQuery: {
2156
+ BindingQueryFailed: {
2157
2157
  new (inner: {
2158
2158
  repository: string;
2159
2159
  binderIndex: number;
@@ -2165,7 +2165,7 @@ export declare const RecoveryIssue: Readonly<{
2165
2165
  * This field is private and should not be used, use `tag` instead.
2166
2166
  */
2167
2167
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2168
- readonly tag: RecoveryIssue_Tags.BindingQuery;
2168
+ readonly tag: RecoveryIssue_Tags.BindingQueryFailed;
2169
2169
  readonly inner: Readonly<{
2170
2170
  repository: string;
2171
2171
  binderIndex: number;
@@ -2184,7 +2184,7 @@ export declare const RecoveryIssue: Readonly<{
2184
2184
  * This field is private and should not be used, use `tag` instead.
2185
2185
  */
2186
2186
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2187
- readonly tag: RecoveryIssue_Tags.BindingQuery;
2187
+ readonly tag: RecoveryIssue_Tags.BindingQueryFailed;
2188
2188
  readonly inner: Readonly<{
2189
2189
  repository: string;
2190
2190
  binderIndex: number;
@@ -2198,7 +2198,7 @@ export declare const RecoveryIssue: Readonly<{
2198
2198
  * This field is private and should not be used, use `tag` instead.
2199
2199
  */
2200
2200
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2201
- readonly tag: RecoveryIssue_Tags.BindingQuery;
2201
+ readonly tag: RecoveryIssue_Tags.BindingQueryFailed;
2202
2202
  readonly inner: Readonly<{
2203
2203
  repository: string;
2204
2204
  binderIndex: number;
@@ -2256,7 +2256,7 @@ export declare const RecoveryIssue: Readonly<{
2256
2256
  }>;
2257
2257
  };
2258
2258
  };
2259
- ContentForm: {
2259
+ ContentFormUnsupported: {
2260
2260
  new (inner: {
2261
2261
  repository: string;
2262
2262
  message: string;
@@ -2266,7 +2266,7 @@ export declare const RecoveryIssue: Readonly<{
2266
2266
  * This field is private and should not be used, use `tag` instead.
2267
2267
  */
2268
2268
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2269
- readonly tag: RecoveryIssue_Tags.ContentForm;
2269
+ readonly tag: RecoveryIssue_Tags.ContentFormUnsupported;
2270
2270
  readonly inner: Readonly<{
2271
2271
  repository: string;
2272
2272
  message: string;
@@ -2281,7 +2281,7 @@ export declare const RecoveryIssue: Readonly<{
2281
2281
  * This field is private and should not be used, use `tag` instead.
2282
2282
  */
2283
2283
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2284
- readonly tag: RecoveryIssue_Tags.ContentForm;
2284
+ readonly tag: RecoveryIssue_Tags.ContentFormUnsupported;
2285
2285
  readonly inner: Readonly<{
2286
2286
  repository: string;
2287
2287
  message: string;
@@ -2293,14 +2293,14 @@ export declare const RecoveryIssue: Readonly<{
2293
2293
  * This field is private and should not be used, use `tag` instead.
2294
2294
  */
2295
2295
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2296
- readonly tag: RecoveryIssue_Tags.ContentForm;
2296
+ readonly tag: RecoveryIssue_Tags.ContentFormUnsupported;
2297
2297
  readonly inner: Readonly<{
2298
2298
  repository: string;
2299
2299
  message: string;
2300
2300
  }>;
2301
2301
  };
2302
2302
  };
2303
- ContentQuery: {
2303
+ ContentQueryFailed: {
2304
2304
  new (inner: {
2305
2305
  repository: string;
2306
2306
  algorithm: string;
@@ -2311,7 +2311,7 @@ export declare const RecoveryIssue: Readonly<{
2311
2311
  * This field is private and should not be used, use `tag` instead.
2312
2312
  */
2313
2313
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2314
- readonly tag: RecoveryIssue_Tags.ContentQuery;
2314
+ readonly tag: RecoveryIssue_Tags.ContentQueryFailed;
2315
2315
  readonly inner: Readonly<{
2316
2316
  repository: string;
2317
2317
  algorithm: string;
@@ -2328,7 +2328,7 @@ export declare const RecoveryIssue: Readonly<{
2328
2328
  * This field is private and should not be used, use `tag` instead.
2329
2329
  */
2330
2330
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2331
- readonly tag: RecoveryIssue_Tags.ContentQuery;
2331
+ readonly tag: RecoveryIssue_Tags.ContentQueryFailed;
2332
2332
  readonly inner: Readonly<{
2333
2333
  repository: string;
2334
2334
  algorithm: string;
@@ -2341,7 +2341,7 @@ export declare const RecoveryIssue: Readonly<{
2341
2341
  * This field is private and should not be used, use `tag` instead.
2342
2342
  */
2343
2343
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2344
- readonly tag: RecoveryIssue_Tags.ContentQuery;
2344
+ readonly tag: RecoveryIssue_Tags.ContentQueryFailed;
2345
2345
  readonly inner: Readonly<{
2346
2346
  repository: string;
2347
2347
  algorithm: string;
@@ -2349,7 +2349,7 @@ export declare const RecoveryIssue: Readonly<{
2349
2349
  }>;
2350
2350
  };
2351
2351
  };
2352
- Capabilities: {
2352
+ CapabilitiesUnavailable: {
2353
2353
  new (inner: {
2354
2354
  repository: string;
2355
2355
  message: string;
@@ -2359,7 +2359,7 @@ export declare const RecoveryIssue: Readonly<{
2359
2359
  * This field is private and should not be used, use `tag` instead.
2360
2360
  */
2361
2361
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2362
- readonly tag: RecoveryIssue_Tags.Capabilities;
2362
+ readonly tag: RecoveryIssue_Tags.CapabilitiesUnavailable;
2363
2363
  readonly inner: Readonly<{
2364
2364
  repository: string;
2365
2365
  message: string;
@@ -2374,7 +2374,7 @@ export declare const RecoveryIssue: Readonly<{
2374
2374
  * This field is private and should not be used, use `tag` instead.
2375
2375
  */
2376
2376
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2377
- readonly tag: RecoveryIssue_Tags.Capabilities;
2377
+ readonly tag: RecoveryIssue_Tags.CapabilitiesUnavailable;
2378
2378
  readonly inner: Readonly<{
2379
2379
  repository: string;
2380
2380
  message: string;
@@ -2386,7 +2386,7 @@ export declare const RecoveryIssue: Readonly<{
2386
2386
  * This field is private and should not be used, use `tag` instead.
2387
2387
  */
2388
2388
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2389
- readonly tag: RecoveryIssue_Tags.Capabilities;
2389
+ readonly tag: RecoveryIssue_Tags.CapabilitiesUnavailable;
2390
2390
  readonly inner: Readonly<{
2391
2391
  repository: string;
2392
2392
  message: string;
@@ -2432,7 +2432,7 @@ export declare const RecoveryIssue: Readonly<{
2432
2432
  }>;
2433
2433
  };
2434
2434
  };
2435
- CandidateFetch: {
2435
+ CandidateFetchFailed: {
2436
2436
  new (inner: {
2437
2437
  repository: string;
2438
2438
  manifestId: string;
@@ -2443,7 +2443,7 @@ export declare const RecoveryIssue: Readonly<{
2443
2443
  * This field is private and should not be used, use `tag` instead.
2444
2444
  */
2445
2445
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2446
- readonly tag: RecoveryIssue_Tags.CandidateFetch;
2446
+ readonly tag: RecoveryIssue_Tags.CandidateFetchFailed;
2447
2447
  readonly inner: Readonly<{
2448
2448
  repository: string;
2449
2449
  manifestId: string;
@@ -2460,7 +2460,7 @@ export declare const RecoveryIssue: Readonly<{
2460
2460
  * This field is private and should not be used, use `tag` instead.
2461
2461
  */
2462
2462
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2463
- readonly tag: RecoveryIssue_Tags.CandidateFetch;
2463
+ readonly tag: RecoveryIssue_Tags.CandidateFetchFailed;
2464
2464
  readonly inner: Readonly<{
2465
2465
  repository: string;
2466
2466
  manifestId: string;
@@ -2473,7 +2473,7 @@ export declare const RecoveryIssue: Readonly<{
2473
2473
  * This field is private and should not be used, use `tag` instead.
2474
2474
  */
2475
2475
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2476
- readonly tag: RecoveryIssue_Tags.CandidateFetch;
2476
+ readonly tag: RecoveryIssue_Tags.CandidateFetchFailed;
2477
2477
  readonly inner: Readonly<{
2478
2478
  repository: string;
2479
2479
  manifestId: string;
@@ -2481,7 +2481,7 @@ export declare const RecoveryIssue: Readonly<{
2481
2481
  }>;
2482
2482
  };
2483
2483
  };
2484
- CandidateValidation: {
2484
+ CandidateInvalid: {
2485
2485
  new (inner: {
2486
2486
  manifestId: string;
2487
2487
  reason: string;
@@ -2491,7 +2491,7 @@ export declare const RecoveryIssue: Readonly<{
2491
2491
  * This field is private and should not be used, use `tag` instead.
2492
2492
  */
2493
2493
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2494
- readonly tag: RecoveryIssue_Tags.CandidateValidation;
2494
+ readonly tag: RecoveryIssue_Tags.CandidateInvalid;
2495
2495
  readonly inner: Readonly<{
2496
2496
  manifestId: string;
2497
2497
  reason: string;
@@ -2506,7 +2506,7 @@ export declare const RecoveryIssue: Readonly<{
2506
2506
  * This field is private and should not be used, use `tag` instead.
2507
2507
  */
2508
2508
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2509
- readonly tag: RecoveryIssue_Tags.CandidateValidation;
2509
+ readonly tag: RecoveryIssue_Tags.CandidateInvalid;
2510
2510
  readonly inner: Readonly<{
2511
2511
  manifestId: string;
2512
2512
  reason: string;
@@ -2518,7 +2518,7 @@ export declare const RecoveryIssue: Readonly<{
2518
2518
  * This field is private and should not be used, use `tag` instead.
2519
2519
  */
2520
2520
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2521
- readonly tag: RecoveryIssue_Tags.CandidateValidation;
2521
+ readonly tag: RecoveryIssue_Tags.CandidateInvalid;
2522
2522
  readonly inner: Readonly<{
2523
2523
  manifestId: string;
2524
2524
  reason: string;
@@ -2574,7 +2574,7 @@ export declare const RecoveryIssue: Readonly<{
2574
2574
  }>;
2575
2575
  };
2576
2576
  };
2577
- ResourceLimit: {
2577
+ ResourceLimitReached: {
2578
2578
  new (inner: {
2579
2579
  message: string;
2580
2580
  }): {
@@ -2583,7 +2583,7 @@ export declare const RecoveryIssue: Readonly<{
2583
2583
  * This field is private and should not be used, use `tag` instead.
2584
2584
  */
2585
2585
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2586
- readonly tag: RecoveryIssue_Tags.ResourceLimit;
2586
+ readonly tag: RecoveryIssue_Tags.ResourceLimitReached;
2587
2587
  readonly inner: Readonly<{
2588
2588
  message: string;
2589
2589
  }>;
@@ -2596,7 +2596,7 @@ export declare const RecoveryIssue: Readonly<{
2596
2596
  * This field is private and should not be used, use `tag` instead.
2597
2597
  */
2598
2598
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2599
- readonly tag: RecoveryIssue_Tags.ResourceLimit;
2599
+ readonly tag: RecoveryIssue_Tags.ResourceLimitReached;
2600
2600
  readonly inner: Readonly<{
2601
2601
  message: string;
2602
2602
  }>;
@@ -2607,7 +2607,7 @@ export declare const RecoveryIssue: Readonly<{
2607
2607
  * This field is private and should not be used, use `tag` instead.
2608
2608
  */
2609
2609
  readonly [uniffiTypeNameSymbol]: "RecoveryIssue";
2610
- readonly tag: RecoveryIssue_Tags.ResourceLimit;
2610
+ readonly tag: RecoveryIssue_Tags.ResourceLimitReached;
2611
2611
  readonly inner: Readonly<{
2612
2612
  message: string;
2613
2613
  }>;
@@ -2619,7 +2619,7 @@ export declare const RecoveryIssue: Readonly<{
2619
2619
  * succeeded. Kept as data so a partial recovery never loses the rest of the lookup outcome, and
2620
2620
  * each kind carries exactly what it is about.
2621
2621
  */
2622
- export type RecoveryIssue = InstanceType<typeof RecoveryIssue['Binder' | 'DeprecatedAlgorithm' | 'BindingUndeclared' | 'BindingQuery' | 'QueryRefused' | 'ContentForm' | 'ContentQuery' | 'Capabilities' | 'ContentTooLarge' | 'CandidateFetch' | 'CandidateValidation' | 'EndpointRefused' | 'ResourceLimit']>;
2622
+ export type RecoveryIssue = InstanceType<typeof RecoveryIssue['BinderFailed' | 'AlgorithmDeprecated' | 'BindingUndeclared' | 'BindingQueryFailed' | 'QueryRefused' | 'ContentFormUnsupported' | 'ContentQueryFailed' | 'CapabilitiesUnavailable' | 'ContentTooLarge' | 'CandidateFetchFailed' | 'CandidateInvalid' | 'EndpointRefused' | 'ResourceLimitReached']>;
2623
2623
  /**
2624
2624
  * Repository recovery outcome and every non-fatal issue encountered on the way.
2625
2625
  */
@@ -3185,7 +3185,7 @@ export type Verdict = InstanceType<typeof Verdict['Unsigned' | 'Inconclusive' |
3185
3185
  * golden-flow comparison, and the verdict the SDK's rules choose. See [`asset::Verdict`].
3186
3186
  */
3187
3187
  export type AssetVerification = {
3188
- credentials: Array<FoundCredential>;
3188
+ credentials: Array<Credential>;
3189
3189
  recovery: RecoverySummary;
3190
3190
  goldenComparison: GoldenComparison;
3191
3191
  verdict: Verdict;
@@ -3369,20 +3369,15 @@ export declare const ByContent: Readonly<{
3369
3369
  defaults: () => Partial<ByContent>;
3370
3370
  }>;
3371
3371
  /**
3372
- * `matches/byReference`: each repository downloads the asset from `url`, one request per
3373
- * algorithm it is declared for, so the client reads no bytes for it.
3372
+ * [`crate::asset::ByReference`] with the region as the reader's own `Range` record, so a range
3373
+ * read off one credential's actions scopes the query for another.
3374
3374
  */
3375
3375
  export type ByReference = {
3376
3376
  after: ContentTrigger;
3377
- /**
3378
- * A short-lived https URL without credentials.
3379
- */
3380
3377
  url: string;
3381
- /**
3382
- * The asset's size in bytes, which caps the repository's download.
3383
- */
3384
3378
  length: bigint;
3385
3379
  mediaType?: string;
3380
+ region: Array<Range>;
3386
3381
  };
3387
3382
  /**
3388
3383
  * Generated factory for {@link ByReference} record objects.
@@ -3636,13 +3631,13 @@ export declare const MediaValidation: Readonly<{
3636
3631
  /**
3637
3632
  * When [`AssetVerifier::verify_asset`] queries the repository.
3638
3633
  */
3639
- export declare enum RecoveryPolicy {
3634
+ export declare enum RecoveryTrigger {
3640
3635
  /**
3641
3636
  * When the asset has no embedded manifest or its active manifest is invalid. This includes
3642
3637
  * stripped assets and invalid manifests, for which C2PA 2.4 permits soft-binding discovery.
3643
3638
  * A valid embedded manifest costs no repository round trip.
3644
3639
  */
3645
- WhenMissing = 0,
3640
+ ManifestMissing = 0,
3646
3641
  /**
3647
3642
  * On every verify, alongside the embedded manifest, so the two can be compared.
3648
3643
  *
@@ -3662,8 +3657,9 @@ export declare enum RecoveryPolicy {
3662
3657
  /**
3663
3658
  * A canonical gRPC/Connect status code: the coarse, closed failure class.
3664
3659
  *
3665
- * The wasm lane projects this as the Connect `snake_case` string, so a consumer
3666
- * narrows on `err.code === "resource_exhausted"`; the native lane projects an enum.
3660
+ * The wasm lane projects this as a camelCase string like every other tagged value
3661
+ * there, so a consumer narrows on `err.code === "resourceExhausted"`; the native lane
3662
+ * projects an enum.
3667
3663
  */
3668
3664
  export declare enum Code {
3669
3665
  Canceled = 0,
@@ -4126,7 +4122,7 @@ export declare class BinderImpl extends UniffiAbstractObject implements Binder {
4126
4122
  * absent when not to be called. It needs a configured repository and at least one query.
4127
4123
  */
4128
4124
  export type Recovery = {
4129
- when: RecoveryPolicy;
4125
+ when: RecoveryTrigger;
4130
4126
  binders: Array<Binder>;
4131
4127
  byContent?: ByContent;
4132
4128
  byReference?: ByReference;
@@ -4206,7 +4202,7 @@ export declare enum SegmentValidation_Tags {
4206
4202
  Unknown = "Unknown"
4207
4203
  }
4208
4204
  /**
4209
- * Result of `StreamValidation.validate`.
4205
+ * Result of `StreamSession.validate`.
4210
4206
  */
4211
4207
  export declare const SegmentValidation: Readonly<{
4212
4208
  instanceOf: (obj: any) => obj is SegmentValidation;
@@ -4296,7 +4292,7 @@ export declare const SegmentValidation: Readonly<{
4296
4292
  };
4297
4293
  }>;
4298
4294
  /**
4299
- * Result of `StreamValidation.validate`.
4295
+ * Result of `StreamSession.validate`.
4300
4296
  */
4301
4297
  export type SegmentValidation = InstanceType<typeof SegmentValidation['Init' | 'Media' | 'Unknown']>;
4302
4298
  /**
@@ -4306,7 +4302,7 @@ export type SegmentValidation = InstanceType<typeof SegmentValidation['Init' | '
4306
4302
  * Every method is given the asset as a [`RangeSource`], so a plugin never opens its own
4307
4303
  * view and the bytes it parses are the bytes the core hashes.
4308
4304
  */
4309
- export interface PluginRead {
4305
+ export interface PluginReader {
4310
4306
  /**
4311
4307
  * The media types this plugin owns: its dispatch set, declared as data. The core
4312
4308
  * asserts a [`sniff`](Self::sniff) result is a member of this list.
@@ -4344,7 +4340,7 @@ export interface AssetVerifierLike {
4344
4340
  * involving the asset backend, repository, or a fetched manifest. Local binder faults,
4345
4341
  * refused queries, and skipped oversized uploads are retained in the recovery summary.
4346
4342
  */
4347
- verify(source: RangeSource, recovery: Recovery | undefined, plugins: Array<PluginRead>, asyncOpts_?: {
4343
+ verify(source: RangeSource, recovery: Recovery | undefined, plugins: Array<PluginReader>, asyncOpts_?: {
4348
4344
  signal: AbortSignal;
4349
4345
  }): Promise<AssetVerification>;
4350
4346
  }
@@ -4382,7 +4378,7 @@ export declare class AssetVerifier extends UniffiAbstractObject implements Asset
4382
4378
  * involving the asset backend, repository, or a fetched manifest. Local binder faults,
4383
4379
  * refused queries, and skipped oversized uploads are retained in the recovery summary.
4384
4380
  */
4385
- verify(source: RangeSource, recovery: Recovery | undefined, plugins: Array<PluginRead>, asyncOpts_?: {
4381
+ verify(source: RangeSource, recovery: Recovery | undefined, plugins: Array<PluginReader>, asyncOpts_?: {
4386
4382
  signal: AbortSignal;
4387
4383
  }): Promise<AssetVerification>;
4388
4384
  uniffiDestroy(): void;
@@ -4584,7 +4580,7 @@ export declare class MemorySource extends UniffiAbstractObject implements Memory
4584
4580
  * One stream being validated. It owns the session keys and manifest ids its init segments
4585
4581
  * advertised, so releasing the stream is dropping this object.
4586
4582
  */
4587
- export interface StreamValidationLike {
4583
+ export interface StreamSessionLike {
4588
4584
  /**
4589
4585
  * Everything this stream's init segments have registered, as CBOR for another node to
4590
4586
  * [`resume`](StreamVerifier::resume) from.
@@ -4605,7 +4601,7 @@ export interface StreamValidationLike {
4605
4601
  *
4606
4602
  * # Errors
4607
4603
  *
4608
- * A `stream.invalid` fault when an init segment is malformed or carries no valid
4604
+ * A `STREAM_INVALID` fault when an init segment is malformed or carries no valid
4609
4605
  * manifest, or when a media segment arrives before any init was processed for the
4610
4606
  * stream.
4611
4607
  */
@@ -4614,15 +4610,15 @@ export interface StreamValidationLike {
4614
4610
  }): Promise<SegmentValidation>;
4615
4611
  }
4616
4612
  /**
4617
- * @deprecated Use `StreamValidationLike` instead.
4613
+ * @deprecated Use `StreamSessionLike` instead.
4618
4614
  */
4619
- export type StreamValidationInterface = StreamValidationLike;
4615
+ export type StreamSessionInterface = StreamSessionLike;
4620
4616
  /**
4621
4617
  * One stream being validated. It owns the session keys and manifest ids its init segments
4622
4618
  * advertised, so releasing the stream is dropping this object.
4623
4619
  */
4624
- export declare class StreamValidation extends UniffiAbstractObject implements StreamValidationLike {
4625
- readonly [uniffiTypeNameSymbol] = "StreamValidation";
4620
+ export declare class StreamSession extends UniffiAbstractObject implements StreamSessionLike {
4621
+ readonly [uniffiTypeNameSymbol] = "StreamSession";
4626
4622
  readonly [destructorGuardSymbol]: UniffiGcObject;
4627
4623
  readonly [pointerLiteralSymbol]: UniffiHandle;
4628
4624
  private constructor();
@@ -4646,7 +4642,7 @@ export declare class StreamValidation extends UniffiAbstractObject implements St
4646
4642
  *
4647
4643
  * # Errors
4648
4644
  *
4649
- * A `stream.invalid` fault when an init segment is malformed or carries no valid
4645
+ * A `STREAM_INVALID` fault when an init segment is malformed or carries no valid
4650
4646
  * manifest, or when a media segment arrives before any init was processed for the
4651
4647
  * stream.
4652
4648
  */
@@ -4654,7 +4650,7 @@ export declare class StreamValidation extends UniffiAbstractObject implements St
4654
4650
  signal: AbortSignal;
4655
4651
  }): Promise<SegmentValidation>;
4656
4652
  uniffiDestroy(): void;
4657
- static instanceOf(obj_: any): obj_ is StreamValidation;
4653
+ static instanceOf(obj_: any): obj_ is StreamSession;
4658
4654
  }
4659
4655
  /**
4660
4656
  * A live-stream verifier bound to a trust configuration. Construct once with
@@ -4662,7 +4658,7 @@ export declare class StreamValidation extends UniffiAbstractObject implements St
4662
4658
  */
4663
4659
  export interface StreamVerifierLike {
4664
4660
  /**
4665
- * Open `stream_id` for validation, handing back a [`StreamValidation`] to feed
4661
+ * Open `stream_id` for validation, handing back a [`StreamSession`] to feed
4666
4662
  * segments to.
4667
4663
  *
4668
4664
  * No I/O: the handle carries the id so it cannot be mistyped or confused with another
@@ -4670,17 +4666,17 @@ export interface StreamVerifierLike {
4670
4666
  * back the same live session, so a caller that reconnects keeps the state its earlier
4671
4667
  * handle accumulated.
4672
4668
  */
4673
- open(streamId: string): StreamValidationLike;
4669
+ open(streamId: string): StreamSessionLike;
4674
4670
  /**
4675
4671
  * Open `stream_id` on the state another node exported, merged into whatever this one
4676
4672
  * holds for that id already.
4677
4673
  *
4678
4674
  * # Errors
4679
4675
  *
4680
- * `STREAM_INVALID` when `state` is not a value [`StreamValidation::export`] produced,
4676
+ * `STREAM_INVALID` when `state` is not a value [`StreamSession::export`] produced,
4681
4677
  * or carries a version this SDK no longer reads.
4682
4678
  */
4683
- resume(streamId: string, state: ArrayBuffer): StreamValidationLike;
4679
+ resume(streamId: string, state: ArrayBuffer): StreamSessionLike;
4684
4680
  }
4685
4681
  /**
4686
4682
  * @deprecated Use `StreamVerifierLike` instead.
@@ -4704,7 +4700,7 @@ export declare class StreamVerifier extends UniffiAbstractObject implements Stre
4704
4700
  */
4705
4701
  static create(options: StreamVerifierOptions): StreamVerifierLike;
4706
4702
  /**
4707
- * Open `stream_id` for validation, handing back a [`StreamValidation`] to feed
4703
+ * Open `stream_id` for validation, handing back a [`StreamSession`] to feed
4708
4704
  * segments to.
4709
4705
  *
4710
4706
  * No I/O: the handle carries the id so it cannot be mistyped or confused with another
@@ -4712,17 +4708,17 @@ export declare class StreamVerifier extends UniffiAbstractObject implements Stre
4712
4708
  * back the same live session, so a caller that reconnects keeps the state its earlier
4713
4709
  * handle accumulated.
4714
4710
  */
4715
- open(streamId: string): StreamValidationLike;
4711
+ open(streamId: string): StreamSessionLike;
4716
4712
  /**
4717
4713
  * Open `stream_id` on the state another node exported, merged into whatever this one
4718
4714
  * holds for that id already.
4719
4715
  *
4720
4716
  * # Errors
4721
4717
  *
4722
- * `STREAM_INVALID` when `state` is not a value [`StreamValidation::export`] produced,
4718
+ * `STREAM_INVALID` when `state` is not a value [`StreamSession::export`] produced,
4723
4719
  * or carries a version this SDK no longer reads.
4724
4720
  */
4725
- resume(streamId: string, state: ArrayBuffer): StreamValidationLike;
4721
+ resume(streamId: string, state: ArrayBuffer): StreamSessionLike;
4726
4722
  uniffiDestroy(): void;
4727
4723
  static instanceOf(obj_: any): obj_ is StreamVerifier;
4728
4724
  }
@@ -4833,6 +4829,13 @@ declare const _default$1: Readonly<{
4833
4829
  lift(value: UniffiByteArray): Coordinate;
4834
4830
  lower(value: Coordinate, alloc: RustBufferAllocator): UniffiByteArray;
4835
4831
  };
4832
+ FfiConverterTypeCredential: {
4833
+ readFromCursor(c: Cursor): Credential;
4834
+ writeIntoCursor(value: Credential, c: Cursor): void;
4835
+ allocationSize(value: Credential): number;
4836
+ lift(value: UniffiByteArray): Credential;
4837
+ lower(value: Credential, alloc: RustBufferAllocator): UniffiByteArray;
4838
+ };
4836
4839
  FfiConverterTypeCredentialOrigin: {
4837
4840
  readFromCursor(c: Cursor): CredentialOrigin;
4838
4841
  writeIntoCursor(value: CredentialOrigin, c: Cursor): void;
@@ -4876,13 +4879,6 @@ declare const _default$1: Readonly<{
4876
4879
  lift(value: UniffiByteArray): FingerprintCheck;
4877
4880
  lower(value: FingerprintCheck, alloc: RustBufferAllocator): UniffiByteArray;
4878
4881
  };
4879
- FfiConverterTypeFoundCredential: {
4880
- readFromCursor(c: Cursor): FoundCredential;
4881
- writeIntoCursor(value: FoundCredential, c: Cursor): void;
4882
- allocationSize(value: FoundCredential): number;
4883
- lift(value: UniffiByteArray): FoundCredential;
4884
- lower(value: FoundCredential, alloc: RustBufferAllocator): UniffiByteArray;
4885
- };
4886
4882
  FfiConverterTypeFrame: {
4887
4883
  readFromCursor(c: Cursor): Frame;
4888
4884
  writeIntoCursor(value: Frame, c: Cursor): void;
@@ -4941,6 +4937,7 @@ declare const _default$1: Readonly<{
4941
4937
  lift(value: UniffiByteArray): Item;
4942
4938
  lower(value: Item, alloc: RustBufferAllocator): UniffiByteArray;
4943
4939
  };
4940
+ FfiConverterTypeJsonValue: FfiConverter<UniffiByteArray, string>;
4944
4941
  FfiConverterTypeLineage: {
4945
4942
  readFromCursor(c: Cursor): Lineage;
4946
4943
  writeIntoCursor(value: Lineage, c: Cursor): void;
@@ -5020,13 +5017,6 @@ declare const _default$1: Readonly<{
5020
5017
  lift(value: UniffiByteArray): RecoveryIssue;
5021
5018
  lower(value: RecoveryIssue, alloc: RustBufferAllocator): UniffiByteArray;
5022
5019
  };
5023
- FfiConverterTypeRecoveryPolicy: {
5024
- readFromCursor(c: Cursor): RecoveryPolicy;
5025
- writeIntoCursor(value: RecoveryPolicy, c: Cursor): void;
5026
- allocationSize(value: RecoveryPolicy): number;
5027
- lift(value: UniffiByteArray): RecoveryPolicy;
5028
- lower(value: RecoveryPolicy, alloc: RustBufferAllocator): UniffiByteArray;
5029
- };
5030
5020
  FfiConverterTypeRecoveryStatus: {
5031
5021
  readFromCursor(c: Cursor): RecoveryStatus;
5032
5022
  writeIntoCursor(value: RecoveryStatus, c: Cursor): void;
@@ -5041,6 +5031,13 @@ declare const _default$1: Readonly<{
5041
5031
  lift(value: UniffiByteArray): RecoverySummary;
5042
5032
  lower(value: RecoverySummary, alloc: RustBufferAllocator): UniffiByteArray;
5043
5033
  };
5034
+ FfiConverterTypeRecoveryTrigger: {
5035
+ readFromCursor(c: Cursor): RecoveryTrigger;
5036
+ writeIntoCursor(value: RecoveryTrigger, c: Cursor): void;
5037
+ allocationSize(value: RecoveryTrigger): number;
5038
+ lift(value: UniffiByteArray): RecoveryTrigger;
5039
+ lower(value: RecoveryTrigger, alloc: RustBufferAllocator): UniffiByteArray;
5040
+ };
5044
5041
  FfiConverterTypeRegion: {
5045
5042
  readFromCursor(c: Cursor): Region;
5046
5043
  writeIntoCursor(value: Region, c: Cursor): void;
@@ -5161,7 +5158,7 @@ declare const _default$1: Readonly<{
5161
5158
  lift(value: UniffiByteArray): StatusCodes;
5162
5159
  lower(value: StatusCodes, alloc: RustBufferAllocator): UniffiByteArray;
5163
5160
  };
5164
- FfiConverterTypeStreamValidation: FfiConverterObject<StreamValidationLike>;
5161
+ FfiConverterTypeStreamSession: FfiConverterObject<StreamSessionLike>;
5165
5162
  FfiConverterTypeStreamVerifier: FfiConverterObject<StreamVerifierLike>;
5166
5163
  FfiConverterTypeStreamVerifierOptions: {
5167
5164
  readFromCursor(c: Cursor): StreamVerifierOptions;
@@ -5254,7 +5251,6 @@ declare const _default$1: Readonly<{
5254
5251
  lift(value: UniffiByteArray): ValidationStatus;
5255
5252
  lower(value: ValidationStatus, alloc: RustBufferAllocator): UniffiByteArray;
5256
5253
  };
5257
- FfiConverterTypeValue: FfiConverter<UniffiByteArray, string>;
5258
5254
  FfiConverterTypeVerdict: {
5259
5255
  readFromCursor(c: Cursor): Verdict;
5260
5256
  writeIntoCursor(value: Verdict, c: Cursor): void;