@trylimbo/sdk-issuer 0.1.0-canary.100

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.
@@ -0,0 +1,1296 @@
1
+ // @generated by protoc-gen-es v2.12.1 with parameter "target=js+dts,import_extension=js"
2
+ // @generated from file trylimbo/signer/v2/signer.proto (package trylimbo.signer.v2, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
8
+
9
+ /**
10
+ * Describes the file trylimbo/signer/v2/signer.proto.
11
+ */
12
+ export declare const file_trylimbo_signer_v2_signer: GenFile;
13
+
14
+ /**
15
+ * @generated from message trylimbo.signer.v2.InfoRequest
16
+ */
17
+ export declare type InfoRequest = Message<"trylimbo.signer.v2.InfoRequest"> & {
18
+ };
19
+
20
+ /**
21
+ * Describes the message trylimbo.signer.v2.InfoRequest.
22
+ * Use `create(InfoRequestSchema)` to create a new message.
23
+ */
24
+ export declare const InfoRequestSchema: GenMessage<InfoRequest>;
25
+
26
+ /**
27
+ * @generated from message trylimbo.signer.v2.InfoResponse
28
+ */
29
+ export declare type InfoResponse = Message<"trylimbo.signer.v2.InfoResponse"> & {
30
+ /**
31
+ * @generated from field: string alg = 1;
32
+ */
33
+ alg: string;
34
+
35
+ /**
36
+ * @generated from field: string tsa_url = 2;
37
+ */
38
+ tsaUrl: string;
39
+
40
+ /**
41
+ * @generated from field: uint32 reserve_size = 3;
42
+ */
43
+ reserveSize: number;
44
+
45
+ /**
46
+ * @generated from field: repeated bytes certs = 4;
47
+ */
48
+ certs: Uint8Array[];
49
+ };
50
+
51
+ /**
52
+ * Describes the message trylimbo.signer.v2.InfoResponse.
53
+ * Use `create(InfoResponseSchema)` to create a new message.
54
+ */
55
+ export declare const InfoResponseSchema: GenMessage<InfoResponse>;
56
+
57
+ /**
58
+ * @generated from message trylimbo.signer.v2.BeginSignRequest
59
+ */
60
+ export declare type BeginSignRequest = Message<"trylimbo.signer.v2.BeginSignRequest"> & {
61
+ /**
62
+ * ── The asset ──
63
+ *
64
+ * @generated from field: string format = 1;
65
+ */
66
+ format: string;
67
+
68
+ /**
69
+ * @generated from field: optional string title = 2;
70
+ */
71
+ title?: string | undefined;
72
+
73
+ /**
74
+ * The complete delivery mode. Each variant owns the soft bindings that make sense for that
75
+ * mode, so a caller cannot select remote delivery independently from its recovery contract.
76
+ * Embedded and both may declare none; remote must declare at least one because it leaves the
77
+ * asset untouched and otherwise creates a manifest with no route back to it.
78
+ *
79
+ * @generated from oneof trylimbo.signer.v2.BeginSignRequest.mode
80
+ */
81
+ mode: {
82
+ /**
83
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Embedded embedded = 3;
84
+ */
85
+ value: BeginSignRequest_Embedded;
86
+ case: "embedded";
87
+ } | {
88
+ /**
89
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Remote remote = 4;
90
+ */
91
+ value: BeginSignRequest_Remote;
92
+ case: "remote";
93
+ } | {
94
+ /**
95
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Both both = 5;
96
+ */
97
+ value: BeginSignRequest_Both;
98
+ case: "both";
99
+ } | { case: undefined; value?: undefined };
100
+
101
+ /**
102
+ * Mode-specific payloads live inside their mode: a streaming init segment
103
+ * cannot carry a claim thumbnail, nor a static asset session keys — by
104
+ * construction, not validation.
105
+ *
106
+ * @generated from oneof trylimbo.signer.v2.BeginSignRequest.session
107
+ */
108
+ session: {
109
+ /**
110
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Static static = 6;
111
+ */
112
+ value: BeginSignRequest_Static;
113
+ case: "static";
114
+ } | {
115
+ /**
116
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Streaming streaming = 7;
117
+ */
118
+ value: BeginSignRequest_Streaming;
119
+ case: "streaming";
120
+ } | { case: undefined; value?: undefined };
121
+
122
+ /**
123
+ * ── The content ──
124
+ *
125
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Provenance provenance = 8;
126
+ */
127
+ provenance?: BeginSignRequest_Provenance | undefined;
128
+
129
+ /**
130
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Identity identity = 9;
131
+ */
132
+ identity?: BeginSignRequest_Identity | undefined;
133
+
134
+ /**
135
+ * Client-owned assertions in the client's namespace. The `c2pa.` namespace
136
+ * and `cawg.identity` belong to the signer; the configured allowlist applies
137
+ * on top.
138
+ *
139
+ * @generated from field: repeated trylimbo.signer.v2.BeginSignRequest.Assertion assertions = 10;
140
+ */
141
+ assertions: BeginSignRequest_Assertion[];
142
+
143
+ /**
144
+ * ── The hard binding ──
145
+ * The client — the only party that can inspect the asset — declares which hard
146
+ * binding it will submit, so the signer picks a compatible manifest layout before
147
+ * it sees any hash: BMFF and box hash allow manifest compression (neither depends
148
+ * on JUMBF size); DATA does not (its placeholder is size-stable only uncompressed).
149
+ * The signer authors the binding but rejects one the format can't honour, and the
150
+ * submitted `SubmitHashRequest.hash` must match it.
151
+ *
152
+ * @generated from oneof trylimbo.signer.v2.BeginSignRequest.binding
153
+ */
154
+ binding: {
155
+ /**
156
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Bmff bmff = 11;
157
+ */
158
+ value: BeginSignRequest_Bmff;
159
+ case: "bmff";
160
+ } | {
161
+ /**
162
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Data data = 12;
163
+ */
164
+ value: BeginSignRequest_Data;
165
+ case: "data";
166
+ } | {
167
+ /**
168
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Boxes boxes = 13;
169
+ */
170
+ value: BeginSignRequest_Boxes;
171
+ case: "boxes";
172
+ } | { case: undefined; value?: undefined };
173
+ };
174
+
175
+ /**
176
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.
177
+ * Use `create(BeginSignRequestSchema)` to create a new message.
178
+ */
179
+ export declare const BeginSignRequestSchema: GenMessage<BeginSignRequest>;
180
+
181
+ /**
182
+ * No remote storage and no URL stamped: the caller embeds the returned JUMBF. Bindings are
183
+ * still meaningful here: for example, a `c2pa.watermarked.bound` action must be described by
184
+ * a signed soft-binding assertion even when no registry index is created.
185
+ *
186
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Embedded
187
+ */
188
+ export declare type BeginSignRequest_Embedded = Message<"trylimbo.signer.v2.BeginSignRequest.Embedded"> & {
189
+ /**
190
+ * @generated from field: repeated trylimbo.signer.v2.BeginSignRequest.SoftBinding soft_bindings = 1;
191
+ */
192
+ softBindings: BeginSignRequest_SoftBinding[];
193
+ };
194
+
195
+ /**
196
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Embedded.
197
+ * Use `create(BeginSignRequest_EmbeddedSchema)` to create a new message.
198
+ */
199
+ export declare const BeginSignRequest_EmbeddedSchema: GenMessage<BeginSignRequest_Embedded>;
200
+
201
+ /**
202
+ * Persisted server-side; a remote URL is stamped on the JUMBF. Requires at least one
203
+ * declared soft binding: this mode
204
+ * leaves the asset untouched, so a binding is the only way back to the manifest and an
205
+ * empty list would persist one nothing can ever find.
206
+ *
207
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Remote
208
+ */
209
+ export declare type BeginSignRequest_Remote = Message<"trylimbo.signer.v2.BeginSignRequest.Remote"> & {
210
+ /**
211
+ * @generated from field: repeated trylimbo.signer.v2.BeginSignRequest.SoftBinding soft_bindings = 1;
212
+ */
213
+ softBindings: BeginSignRequest_SoftBinding[];
214
+ };
215
+
216
+ /**
217
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Remote.
218
+ * Use `create(BeginSignRequest_RemoteSchema)` to create a new message.
219
+ */
220
+ export declare const BeginSignRequest_RemoteSchema: GenMessage<BeginSignRequest_Remote>;
221
+
222
+ /**
223
+ * Persisted server-side, remote URL stamped, AND embedded by the caller. Declared
224
+ * bindings are indexed as for `remote`, and none is required: the asset itself is
225
+ * already a way back to the manifest.
226
+ *
227
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Both
228
+ */
229
+ export declare type BeginSignRequest_Both = Message<"trylimbo.signer.v2.BeginSignRequest.Both"> & {
230
+ /**
231
+ * @generated from field: repeated trylimbo.signer.v2.BeginSignRequest.SoftBinding soft_bindings = 1;
232
+ */
233
+ softBindings: BeginSignRequest_SoftBinding[];
234
+ };
235
+
236
+ /**
237
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Both.
238
+ * Use `create(BeginSignRequest_BothSchema)` to create a new message.
239
+ */
240
+ export declare const BeginSignRequest_BothSchema: GenMessage<BeginSignRequest_Both>;
241
+
242
+ /**
243
+ * One C2PA soft binding: an algorithm identifier plus its value.
244
+ *
245
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.SoftBinding
246
+ */
247
+ export declare type BeginSignRequest_SoftBinding = Message<"trylimbo.signer.v2.BeginSignRequest.SoftBinding"> & {
248
+ /**
249
+ * The algorithm, as an enum rather than its registry id: the signer maps
250
+ * each one to the storage index recovery reads, so the set is closed and
251
+ * ours. A registry id the signer cannot index is not a value this contract
252
+ * can carry.
253
+ *
254
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.SoftBinding.Alg alg = 1;
255
+ */
256
+ alg: BeginSignRequest_SoftBinding_Alg;
257
+
258
+ /**
259
+ * Algorithm-specific binding value (for ISCC: the canonical
260
+ * "ISCC:…" code string as UTF-8 bytes).
261
+ *
262
+ * @generated from field: bytes value = 2;
263
+ */
264
+ value: Uint8Array;
265
+ };
266
+
267
+ /**
268
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.SoftBinding.
269
+ * Use `create(BeginSignRequest_SoftBindingSchema)` to create a new message.
270
+ */
271
+ export declare const BeginSignRequest_SoftBindingSchema: GenMessage<BeginSignRequest_SoftBinding>;
272
+
273
+ /**
274
+ * Each maps to one entry of the C2PA softbinding-algorithm-list; the signer
275
+ * writes the registry id into the assertion.
276
+ *
277
+ * @generated from enum trylimbo.signer.v2.BeginSignRequest.SoftBinding.Alg
278
+ */
279
+ export enum BeginSignRequest_SoftBinding_Alg {
280
+ /**
281
+ * @generated from enum value: ALG_UNSPECIFIED = 0;
282
+ */
283
+ UNSPECIFIED = 0,
284
+
285
+ /**
286
+ * `io.iscc.v0`, a perceptual code derived from the content.
287
+ *
288
+ * @generated from enum value: ALG_ISCC_V0 = 1;
289
+ */
290
+ ISCC_V0 = 1,
291
+
292
+ /**
293
+ * `com.imatag.lamark.v1`, an embedded watermark.
294
+ *
295
+ * @generated from enum value: ALG_IMATAG_LAMARK_V1 = 2;
296
+ */
297
+ IMATAG_LAMARK_V1 = 2,
298
+ }
299
+
300
+ /**
301
+ * Describes the enum trylimbo.signer.v2.BeginSignRequest.SoftBinding.Alg.
302
+ */
303
+ export declare const BeginSignRequest_SoftBinding_AlgSchema: GenEnum<BeginSignRequest_SoftBinding_Alg>;
304
+
305
+ /**
306
+ * A static asset (image, video file, ...) — the default mode.
307
+ *
308
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Static
309
+ */
310
+ export declare type BeginSignRequest_Static = Message<"trylimbo.signer.v2.BeginSignRequest.Static"> & {
311
+ /**
312
+ * Pre-rendered claim thumbnail; client-supplied since the split-signer
313
+ * never sees asset bytes.
314
+ *
315
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Thumbnail thumbnail = 1;
316
+ */
317
+ thumbnail?: BeginSignRequest_Thumbnail | undefined;
318
+ };
319
+
320
+ /**
321
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Static.
322
+ * Use `create(BeginSignRequest_StaticSchema)` to create a new message.
323
+ */
324
+ export declare const BeginSignRequest_StaticSchema: GenMessage<BeginSignRequest_Static>;
325
+
326
+ /**
327
+ * A streaming init segment (C2PA §19). BMFF-only — the signer rejects a
328
+ * non-BMFF `format` (the MIME predicate is owned by the c2pa SDK).
329
+ *
330
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Streaming
331
+ */
332
+ export declare type BeginSignRequest_Streaming = Message<"trylimbo.signer.v2.BeginSignRequest.Streaming"> & {
333
+ /**
334
+ * CBOR content of the `c2pa.session-keys` assertion, produced by the
335
+ * streaming SDK.
336
+ *
337
+ * @generated from field: bytes session_keys_cbor = 1;
338
+ */
339
+ sessionKeysCbor: Uint8Array;
340
+ };
341
+
342
+ /**
343
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Streaming.
344
+ * Use `create(BeginSignRequest_StreamingSchema)` to create a new message.
345
+ */
346
+ export declare const BeginSignRequest_StreamingSchema: GenMessage<BeginSignRequest_Streaming>;
347
+
348
+ /**
349
+ * Structural BMFF hash (`c2pa.hash.bmff`) — for ISOBMFF formats.
350
+ *
351
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Bmff
352
+ */
353
+ export declare type BeginSignRequest_Bmff = Message<"trylimbo.signer.v2.BeginSignRequest.Bmff"> & {
354
+ };
355
+
356
+ /**
357
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Bmff.
358
+ * Use `create(BeginSignRequest_BmffSchema)` to create a new message.
359
+ */
360
+ export declare const BeginSignRequest_BmffSchema: GenMessage<BeginSignRequest_Bmff>;
361
+
362
+ /**
363
+ * Whole-file data hash (`c2pa.hash.data`) — the interoperable fallback for any
364
+ * non-BMFF asset the box path can't take: a box-capable image whose box structure
365
+ * won't parse (a Motion Photo's trailing MP4).
366
+ *
367
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Data
368
+ */
369
+ export declare type BeginSignRequest_Data = Message<"trylimbo.signer.v2.BeginSignRequest.Data"> & {
370
+ };
371
+
372
+ /**
373
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Data.
374
+ * Use `create(BeginSignRequest_DataSchema)` to create a new message.
375
+ */
376
+ export declare const BeginSignRequest_DataSchema: GenMessage<BeginSignRequest_Data>;
377
+
378
+ /**
379
+ * Per-box hash (`c2pa.hash.boxes`) for a box-capable image (JPEG/PNG/GIF/JPEG-XL)
380
+ * — strip-robust, so a manifest-stripped copy still recovers as Valid.
381
+ *
382
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Boxes
383
+ */
384
+ export declare type BeginSignRequest_Boxes = Message<"trylimbo.signer.v2.BeginSignRequest.Boxes"> & {
385
+ };
386
+
387
+ /**
388
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Boxes.
389
+ * Use `create(BeginSignRequest_BoxesSchema)` to create a new message.
390
+ */
391
+ export declare const BeginSignRequest_BoxesSchema: GenMessage<BeginSignRequest_Boxes>;
392
+
393
+ /**
394
+ * What happened to the asset being signed. The signer compiles this into
395
+ * the claim's `c2pa.actions` assertion and ingredient assertions, wiring
396
+ * every hashed-URI ingredient reference itself.
397
+ *
398
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Provenance
399
+ */
400
+ export declare type BeginSignRequest_Provenance = Message<"trylimbo.signer.v2.BeginSignRequest.Provenance"> & {
401
+ /**
402
+ * C2PA requires the claim's first action to be exactly one of
403
+ * `c2pa.created` / `c2pa.opened`. The spec's XOR is this oneof.
404
+ *
405
+ * @generated from oneof trylimbo.signer.v2.BeginSignRequest.Provenance.origin
406
+ */
407
+ origin: {
408
+ /**
409
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Created created = 1;
410
+ */
411
+ value: BeginSignRequest_Created;
412
+ case: "created";
413
+ } | {
414
+ /**
415
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Opened opened = 2;
416
+ */
417
+ value: BeginSignRequest_Opened;
418
+ case: "opened";
419
+ } | { case: undefined; value?: undefined };
420
+
421
+ /**
422
+ * @generated from field: repeated trylimbo.signer.v2.BeginSignRequest.Component components = 3;
423
+ */
424
+ components: BeginSignRequest_Component[];
425
+
426
+ /**
427
+ * @generated from field: repeated trylimbo.signer.v2.BeginSignRequest.Action actions = 4;
428
+ */
429
+ actions: BeginSignRequest_Action[];
430
+ };
431
+
432
+ /**
433
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Provenance.
434
+ * Use `create(BeginSignRequest_ProvenanceSchema)` to create a new message.
435
+ */
436
+ export declare const BeginSignRequest_ProvenanceSchema: GenMessage<BeginSignRequest_Provenance>;
437
+
438
+ /**
439
+ * The asset is an original: the signer emits `c2pa.created`.
440
+ *
441
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Created
442
+ */
443
+ export declare type BeginSignRequest_Created = Message<"trylimbo.signer.v2.BeginSignRequest.Created"> & {
444
+ /**
445
+ * A digital source type: see `ActionDetail.source_type`.
446
+ *
447
+ * @generated from field: string source_type = 1;
448
+ */
449
+ sourceType: string;
450
+
451
+ /**
452
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.ActionDetail detail = 2;
453
+ */
454
+ detail?: BeginSignRequest_ActionDetail | undefined;
455
+ };
456
+
457
+ /**
458
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Created.
459
+ * Use `create(BeginSignRequest_CreatedSchema)` to create a new message.
460
+ */
461
+ export declare const BeginSignRequest_CreatedSchema: GenMessage<BeginSignRequest_Created>;
462
+
463
+ /**
464
+ * The asset derives from `parent`: the signer adds it as the `parentOf`
465
+ * ingredient and emits `c2pa.opened` referencing it. Required, so an
466
+ * unparented `opened` is unrepresentable.
467
+ *
468
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Opened
469
+ */
470
+ export declare type BeginSignRequest_Opened = Message<"trylimbo.signer.v2.BeginSignRequest.Opened"> & {
471
+ /**
472
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Ingredient parent = 1;
473
+ */
474
+ parent?: BeginSignRequest_Ingredient | undefined;
475
+
476
+ /**
477
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.ActionDetail detail = 2;
478
+ */
479
+ detail?: BeginSignRequest_ActionDetail | undefined;
480
+ };
481
+
482
+ /**
483
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Opened.
484
+ * Use `create(BeginSignRequest_OpenedSchema)` to create a new message.
485
+ */
486
+ export declare const BeginSignRequest_OpenedSchema: GenMessage<BeginSignRequest_Opened>;
487
+
488
+ /**
489
+ * A non-parent ingredient and the event that brought it into (or out of)
490
+ * the asset. The `componentOf`/`inputTo` relationship is derived from the
491
+ * event.
492
+ *
493
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Component
494
+ */
495
+ export declare type BeginSignRequest_Component = Message<"trylimbo.signer.v2.BeginSignRequest.Component"> & {
496
+ /**
497
+ * Client-chosen handle, request-scoped. Actions reference components by
498
+ * this id; the signer resolves ids to hashed-URI references at assembly.
499
+ *
500
+ * @generated from field: string id = 1;
501
+ */
502
+ id: string;
503
+
504
+ /**
505
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Ingredient asset = 2;
506
+ */
507
+ asset?: BeginSignRequest_Ingredient | undefined;
508
+
509
+ /**
510
+ * @generated from oneof trylimbo.signer.v2.BeginSignRequest.Component.event
511
+ */
512
+ event: {
513
+ /**
514
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Placed placed = 3;
515
+ */
516
+ value: BeginSignRequest_Placed;
517
+ case: "placed";
518
+ } | {
519
+ /**
520
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Removed removed = 4;
521
+ */
522
+ value: BeginSignRequest_Removed;
523
+ case: "removed";
524
+ } | {
525
+ /**
526
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.InputTo input_to = 5;
527
+ */
528
+ value: BeginSignRequest_InputTo;
529
+ case: "inputTo";
530
+ } | { case: undefined; value?: undefined };
531
+ };
532
+
533
+ /**
534
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Component.
535
+ * Use `create(BeginSignRequest_ComponentSchema)` to create a new message.
536
+ */
537
+ export declare const BeginSignRequest_ComponentSchema: GenMessage<BeginSignRequest_Component>;
538
+
539
+ /**
540
+ * The component was placed into the asset: `c2pa.placed` + `componentOf`.
541
+ *
542
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Placed
543
+ */
544
+ export declare type BeginSignRequest_Placed = Message<"trylimbo.signer.v2.BeginSignRequest.Placed"> & {
545
+ /**
546
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.ActionDetail detail = 1;
547
+ */
548
+ detail?: BeginSignRequest_ActionDetail | undefined;
549
+ };
550
+
551
+ /**
552
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Placed.
553
+ * Use `create(BeginSignRequest_PlacedSchema)` to create a new message.
554
+ */
555
+ export declare const BeginSignRequest_PlacedSchema: GenMessage<BeginSignRequest_Placed>;
556
+
557
+ /**
558
+ * The component was removed from the asset: `c2pa.removed` + `componentOf`.
559
+ *
560
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Removed
561
+ */
562
+ export declare type BeginSignRequest_Removed = Message<"trylimbo.signer.v2.BeginSignRequest.Removed"> & {
563
+ /**
564
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.ActionDetail detail = 1;
565
+ */
566
+ detail?: BeginSignRequest_ActionDetail | undefined;
567
+ };
568
+
569
+ /**
570
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Removed.
571
+ * Use `create(BeginSignRequest_RemovedSchema)` to create a new message.
572
+ */
573
+ export declare const BeginSignRequest_RemovedSchema: GenMessage<BeginSignRequest_Removed>;
574
+
575
+ /**
576
+ * The component was an input to the computation that produced the asset
577
+ * (e.g. a generative-model prompt image): `inputTo` relationship, no
578
+ * action.
579
+ *
580
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.InputTo
581
+ */
582
+ export declare type BeginSignRequest_InputTo = Message<"trylimbo.signer.v2.BeginSignRequest.InputTo"> & {
583
+ };
584
+
585
+ /**
586
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.InputTo.
587
+ * Use `create(BeginSignRequest_InputToSchema)` to create a new message.
588
+ */
589
+ export declare const BeginSignRequest_InputToSchema: GenMessage<BeginSignRequest_InputTo>;
590
+
591
+ /**
592
+ * One workflow action applied to the asset, in application order. Lifecycle
593
+ * actions are not representable here — they derive from `origin` and
594
+ * `components`.
595
+ *
596
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Action
597
+ */
598
+ export declare type BeginSignRequest_Action = Message<"trylimbo.signer.v2.BeginSignRequest.Action"> & {
599
+ /**
600
+ * @generated from oneof trylimbo.signer.v2.BeginSignRequest.Action.kind
601
+ */
602
+ kind: {
603
+ /**
604
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Action.ActionKind standard = 1;
605
+ */
606
+ value: BeginSignRequest_Action_ActionKind;
607
+ case: "standard";
608
+ } | {
609
+ /**
610
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Action.Custom custom = 2;
611
+ */
612
+ value: BeginSignRequest_Action_Custom;
613
+ case: "custom";
614
+ } | { case: undefined; value?: undefined };
615
+
616
+ /**
617
+ * Components this action acted on, by `Component.id`; resolved to
618
+ * hashed-URI references at assembly. Unique: a duplicate would author the
619
+ * same reference twice.
620
+ *
621
+ * @generated from field: repeated string component_ids = 3;
622
+ */
623
+ componentIds: string[];
624
+
625
+ /**
626
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.ActionDetail detail = 4;
627
+ */
628
+ detail?: BeginSignRequest_ActionDetail | undefined;
629
+ };
630
+
631
+ /**
632
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Action.
633
+ * Use `create(BeginSignRequest_ActionSchema)` to create a new message.
634
+ */
635
+ export declare const BeginSignRequest_ActionSchema: GenMessage<BeginSignRequest_Action>;
636
+
637
+ /**
638
+ * An action in the client's own vocabulary, entity-namespaced like an
639
+ * assertion label. `custom` is the escape hatch for what this contract does
640
+ * not model: it may not restate what it does. The whole `c2pa.` action
641
+ * vocabulary is the signer's, authored from `standard` and the typed
642
+ * provenance, so a `c2pa.` label here is a spec action smuggled past its
643
+ * typed field.
644
+ *
645
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Action.Custom
646
+ */
647
+ export declare type BeginSignRequest_Action_Custom = Message<"trylimbo.signer.v2.BeginSignRequest.Action.Custom"> & {
648
+ /**
649
+ * @generated from field: string label = 1;
650
+ */
651
+ label: string;
652
+
653
+ /**
654
+ * CBOR map merged into the action's `parameters`. Keys are entity-
655
+ * namespaced like the label, so every C2PA-defined parameter name
656
+ * (`ingredients`, `redacted`, ...) is reserved: reference components via
657
+ * `component_ids`.
658
+ *
659
+ * @generated from field: bytes params_cbor = 2;
660
+ */
661
+ paramsCbor: Uint8Array;
662
+ };
663
+
664
+ /**
665
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Action.Custom.
666
+ * Use `create(BeginSignRequest_Action_CustomSchema)` to create a new message.
667
+ */
668
+ export declare const BeginSignRequest_Action_CustomSchema: GenMessage<BeginSignRequest_Action_Custom>;
669
+
670
+ /**
671
+ * Spec-defined workflow vocabulary (`c2pa.<name>`).
672
+ *
673
+ * @generated from enum trylimbo.signer.v2.BeginSignRequest.Action.ActionKind
674
+ */
675
+ export enum BeginSignRequest_Action_ActionKind {
676
+ /**
677
+ * @generated from enum value: ACTION_KIND_UNSPECIFIED = 0;
678
+ */
679
+ UNSPECIFIED = 0,
680
+
681
+ /**
682
+ * @generated from enum value: ACTION_KIND_COLOR_ADJUSTMENTS = 1;
683
+ */
684
+ COLOR_ADJUSTMENTS = 1,
685
+
686
+ /**
687
+ * @generated from enum value: ACTION_KIND_CONVERTED = 2;
688
+ */
689
+ CONVERTED = 2,
690
+
691
+ /**
692
+ * @generated from enum value: ACTION_KIND_CROPPED = 3;
693
+ */
694
+ CROPPED = 3,
695
+
696
+ /**
697
+ * @generated from enum value: ACTION_KIND_DRAWING = 4;
698
+ */
699
+ DRAWING = 4,
700
+
701
+ /**
702
+ * @generated from enum value: ACTION_KIND_EDITED = 5;
703
+ */
704
+ EDITED = 5,
705
+
706
+ /**
707
+ * @generated from enum value: ACTION_KIND_FILTERED = 6;
708
+ */
709
+ FILTERED = 6,
710
+
711
+ /**
712
+ * @generated from enum value: ACTION_KIND_ORIENTATION = 7;
713
+ */
714
+ ORIENTATION = 7,
715
+
716
+ /**
717
+ * @generated from enum value: ACTION_KIND_PUBLISHED = 8;
718
+ */
719
+ PUBLISHED = 8,
720
+
721
+ /**
722
+ * @generated from enum value: ACTION_KIND_REPACKAGED = 9;
723
+ */
724
+ REPACKAGED = 9,
725
+
726
+ /**
727
+ * @generated from enum value: ACTION_KIND_RESIZED = 10;
728
+ */
729
+ RESIZED = 10,
730
+
731
+ /**
732
+ * @generated from enum value: ACTION_KIND_TRANSCODED = 11;
733
+ */
734
+ TRANSCODED = 11,
735
+
736
+ /**
737
+ * @generated from enum value: ACTION_KIND_UNKNOWN = 12;
738
+ */
739
+ UNKNOWN = 12,
740
+
741
+ /**
742
+ * An invisible watermark was inserted, creating a soft binding that
743
+ * resolves back to this manifest. The request must carry a watermark-class
744
+ * entry in the selected mode's `soft_bindings`: C2PA 2.4 §18.15.5 requires a soft binding
745
+ * assertion describing the watermark, and a manifest without one is graded
746
+ * `assertion.action.softBindingMissing` by any conformant validator.
747
+ *
748
+ * @generated from enum value: ACTION_KIND_WATERMARKED_BOUND = 13;
749
+ */
750
+ WATERMARKED_BOUND = 13,
751
+
752
+ /**
753
+ * An invisible watermark was inserted that creates no soft binding, so
754
+ * nothing resolves it back to this manifest. A signposting layer is one.
755
+ *
756
+ * @generated from enum value: ACTION_KIND_WATERMARKED_UNBOUND = 14;
757
+ */
758
+ WATERMARKED_UNBOUND = 14,
759
+ }
760
+
761
+ /**
762
+ * Describes the enum trylimbo.signer.v2.BeginSignRequest.Action.ActionKind.
763
+ */
764
+ export declare const BeginSignRequest_Action_ActionKindSchema: GenEnum<BeginSignRequest_Action_ActionKind>;
765
+
766
+ /**
767
+ * CAWG identity: the verified-identities payload the signer aggregates
768
+ * into the `cawg.identity` assertion it signs.
769
+ *
770
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Identity
771
+ */
772
+ export declare type BeginSignRequest_Identity = Message<"trylimbo.signer.v2.BeginSignRequest.Identity"> & {
773
+ /**
774
+ * @generated from field: bytes cbor = 1;
775
+ */
776
+ cbor: Uint8Array;
777
+
778
+ /**
779
+ * CAWG role strings, signed into the identity assertion, so bounded like
780
+ * every other string the client contributes to a manifest.
781
+ *
782
+ * @generated from field: repeated string roles = 2;
783
+ */
784
+ roles: string[];
785
+ };
786
+
787
+ /**
788
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Identity.
789
+ * Use `create(BeginSignRequest_IdentitySchema)` to create a new message.
790
+ */
791
+ export declare const BeginSignRequest_IdentitySchema: GenMessage<BeginSignRequest_Identity>;
792
+
793
+ /**
794
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Assertion
795
+ */
796
+ export declare type BeginSignRequest_Assertion = Message<"trylimbo.signer.v2.BeginSignRequest.Assertion"> & {
797
+ /**
798
+ * @generated from field: string label = 1;
799
+ */
800
+ label: string;
801
+
802
+ /**
803
+ * @generated from field: bytes cbor = 2;
804
+ */
805
+ cbor: Uint8Array;
806
+ };
807
+
808
+ /**
809
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Assertion.
810
+ * Use `create(BeginSignRequest_AssertionSchema)` to create a new message.
811
+ */
812
+ export declare const BeginSignRequest_AssertionSchema: GenMessage<BeginSignRequest_Assertion>;
813
+
814
+ /**
815
+ * An ingredient asset. Identity (instance id), title, and format are
816
+ * derived by c2pa from the provenance data where present; `title`/`format`
817
+ * override for provenance-less ingredients.
818
+ *
819
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Ingredient
820
+ */
821
+ export declare type BeginSignRequest_Ingredient = Message<"trylimbo.signer.v2.BeginSignRequest.Ingredient"> & {
822
+ /**
823
+ * The ingredient's C2PA store: a working-store archive or raw signed
824
+ * JUMBF. Empty for ingredients with no provenance of their own.
825
+ *
826
+ * 8 MiB bounds one store: a manifest, not asset essence, so the size a deep
827
+ * edit chain reaches (a claim plus thumbnails per generation), not the size
828
+ * of the asset it describes. It is the shape of a field, not an entitlement:
829
+ * nothing server-side caps what a request carries in aggregate, and what a
830
+ * given caller may send is the gateway's to decide. What a sign can produce
831
+ * is bounded instead by the store the repository keeps, at `MAX_STORE_BYTES`.
832
+ *
833
+ * @generated from field: bytes data = 1;
834
+ */
835
+ data: Uint8Array;
836
+
837
+ /**
838
+ * @generated from field: optional string title = 2;
839
+ */
840
+ title?: string | undefined;
841
+
842
+ /**
843
+ * @generated from field: optional string format = 3;
844
+ */
845
+ format?: string | undefined;
846
+
847
+ /**
848
+ * @generated from field: trylimbo.signer.v2.BeginSignRequest.Thumbnail thumbnail = 4;
849
+ */
850
+ thumbnail?: BeginSignRequest_Thumbnail | undefined;
851
+
852
+ /**
853
+ * The algorithms whose soft-binding lookup found this ingredient's manifest,
854
+ * when `data` came from a registry recovery rather than out of the asset.
855
+ * C2PA requires an ingredient discovered that way to say so, because its hard
856
+ * binding will not match the asset it was recovered for and a validator has to
857
+ * read that as expected rather than as tampering. The companion
858
+ * `softBindingsMatched` flag is derived from this being non-empty, so the two
859
+ * cannot disagree.
860
+ *
861
+ * @generated from field: repeated string discovered_by = 5;
862
+ */
863
+ discoveredBy: string[];
864
+ };
865
+
866
+ /**
867
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Ingredient.
868
+ * Use `create(BeginSignRequest_IngredientSchema)` to create a new message.
869
+ */
870
+ export declare const BeginSignRequest_IngredientSchema: GenMessage<BeginSignRequest_Ingredient>;
871
+
872
+ /**
873
+ * Optional facts folded into a derived or workflow action.
874
+ *
875
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.ActionDetail
876
+ */
877
+ export declare type BeginSignRequest_ActionDetail = Message<"trylimbo.signer.v2.BeginSignRequest.ActionDetail"> & {
878
+ /**
879
+ * @generated from field: google.protobuf.Timestamp when = 1;
880
+ */
881
+ when?: Timestamp | undefined;
882
+
883
+ /**
884
+ * @generated from field: optional string software_agent = 2;
885
+ */
886
+ softwareAgent?: string | undefined;
887
+
888
+ /**
889
+ * @generated from field: optional string description = 3;
890
+ */
891
+ description?: string | undefined;
892
+
893
+ /**
894
+ * A digital source type, as the URI its term is published at:
895
+ * `http://cv.iptc.org/newscodes/digitalsourcetype/digitalCapture`,
896
+ * `http://c2pa.org/digitalsourcetype/empty`, or a vocabulary neither owns.
897
+ * c2pa defines the field as one of those URI values, so a bare term is
898
+ * refused: it names no vocabulary, and the manifest would carry a
899
+ * `digitalSourceType` nothing resolves.
900
+ *
901
+ * Which URIs exist is IPTC's business, not this contract's, so nothing here
902
+ * enumerates them: a term IPTC publishes is usable the day it lands, with
903
+ * no release anywhere.
904
+ *
905
+ * @generated from field: optional string source_type = 4;
906
+ */
907
+ sourceType?: string | undefined;
908
+ };
909
+
910
+ /**
911
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.ActionDetail.
912
+ * Use `create(BeginSignRequest_ActionDetailSchema)` to create a new message.
913
+ */
914
+ export declare const BeginSignRequest_ActionDetailSchema: GenMessage<BeginSignRequest_ActionDetail>;
915
+
916
+ /**
917
+ * A pre-rendered thumbnail (claim or ingredient).
918
+ *
919
+ * @generated from message trylimbo.signer.v2.BeginSignRequest.Thumbnail
920
+ */
921
+ export declare type BeginSignRequest_Thumbnail = Message<"trylimbo.signer.v2.BeginSignRequest.Thumbnail"> & {
922
+ /**
923
+ * @generated from field: bytes data = 1;
924
+ */
925
+ data: Uint8Array;
926
+
927
+ /**
928
+ * @generated from field: string format = 2;
929
+ */
930
+ format: string;
931
+ };
932
+
933
+ /**
934
+ * Describes the message trylimbo.signer.v2.BeginSignRequest.Thumbnail.
935
+ * Use `create(BeginSignRequest_ThumbnailSchema)` to create a new message.
936
+ */
937
+ export declare const BeginSignRequest_ThumbnailSchema: GenMessage<BeginSignRequest_Thumbnail>;
938
+
939
+ /**
940
+ * @generated from message trylimbo.signer.v2.BeginSignResponse
941
+ */
942
+ export declare type BeginSignResponse = Message<"trylimbo.signer.v2.BeginSignResponse"> & {
943
+ /**
944
+ * @generated from field: bytes continuation = 1;
945
+ */
946
+ continuation: Uint8Array;
947
+
948
+ /**
949
+ * @generated from field: trylimbo.signer.v2.BeginSignResponse.HashInstruction instruction = 2;
950
+ */
951
+ instruction?: BeginSignResponse_HashInstruction | undefined;
952
+ };
953
+
954
+ /**
955
+ * Describes the message trylimbo.signer.v2.BeginSignResponse.
956
+ * Use `create(BeginSignResponseSchema)` to create a new message.
957
+ */
958
+ export declare const BeginSignResponseSchema: GenMessage<BeginSignResponse>;
959
+
960
+ /**
961
+ * @generated from message trylimbo.signer.v2.BeginSignResponse.HashInstruction
962
+ */
963
+ export declare type BeginSignResponse_HashInstruction = Message<"trylimbo.signer.v2.BeginSignResponse.HashInstruction"> & {
964
+ /**
965
+ * @generated from oneof trylimbo.signer.v2.BeginSignResponse.HashInstruction.strategy
966
+ */
967
+ strategy: {
968
+ /**
969
+ * @generated from field: trylimbo.signer.v2.BeginSignResponse.HashInstruction.BmffHash bmff = 1;
970
+ */
971
+ value: BeginSignResponse_HashInstruction_BmffHash;
972
+ case: "bmff";
973
+ } | {
974
+ /**
975
+ * @generated from field: trylimbo.signer.v2.BeginSignResponse.HashInstruction.DataHash data = 2;
976
+ */
977
+ value: BeginSignResponse_HashInstruction_DataHash;
978
+ case: "data";
979
+ } | {
980
+ /**
981
+ * @generated from field: trylimbo.signer.v2.BeginSignResponse.HashInstruction.BoxHash boxes = 3;
982
+ */
983
+ value: BeginSignResponse_HashInstruction_BoxHash;
984
+ case: "boxes";
985
+ } | { case: undefined; value?: undefined };
986
+ };
987
+
988
+ /**
989
+ * Describes the message trylimbo.signer.v2.BeginSignResponse.HashInstruction.
990
+ * Use `create(BeginSignResponse_HashInstructionSchema)` to create a new message.
991
+ */
992
+ export declare const BeginSignResponse_HashInstructionSchema: GenMessage<BeginSignResponse_HashInstruction>;
993
+
994
+ /**
995
+ * For static BMFF, `placeholder_size` is the size of the `free` box the
996
+ * client injects after `ftyp` (c2pa::bmff_io::inject_placeholder); it
997
+ * already accounts for dynamic-assertion reserves. For streaming init
998
+ * segments it is 0 and the client uses the init-hash flow.
999
+ *
1000
+ * @generated from message trylimbo.signer.v2.BeginSignResponse.HashInstruction.BmffHash
1001
+ */
1002
+ export declare type BeginSignResponse_HashInstruction_BmffHash = Message<"trylimbo.signer.v2.BeginSignResponse.HashInstruction.BmffHash"> & {
1003
+ /**
1004
+ * @generated from field: uint32 placeholder_size = 1;
1005
+ */
1006
+ placeholderSize: number;
1007
+ };
1008
+
1009
+ /**
1010
+ * Describes the message trylimbo.signer.v2.BeginSignResponse.HashInstruction.BmffHash.
1011
+ * Use `create(BeginSignResponse_HashInstruction_BmffHashSchema)` to create a new message.
1012
+ */
1013
+ export declare const BeginSignResponse_HashInstruction_BmffHashSchema: GenMessage<BeginSignResponse_HashInstruction_BmffHash>;
1014
+
1015
+ /**
1016
+ * @generated from message trylimbo.signer.v2.BeginSignResponse.HashInstruction.DataHash
1017
+ */
1018
+ export declare type BeginSignResponse_HashInstruction_DataHash = Message<"trylimbo.signer.v2.BeginSignResponse.HashInstruction.DataHash"> & {
1019
+ /**
1020
+ * @generated from field: bytes placeholder = 1;
1021
+ */
1022
+ placeholder: Uint8Array;
1023
+ };
1024
+
1025
+ /**
1026
+ * Describes the message trylimbo.signer.v2.BeginSignResponse.HashInstruction.DataHash.
1027
+ * Use `create(BeginSignResponse_HashInstruction_DataHashSchema)` to create a new message.
1028
+ */
1029
+ export declare const BeginSignResponse_HashInstruction_DataHashSchema: GenMessage<BeginSignResponse_HashInstruction_DataHash>;
1030
+
1031
+ /**
1032
+ * Box hash needs no placeholder: the client hashes the asset's box structure in
1033
+ * place and the C2PA box is excluded. A marker that says "compute a box hash"
1034
+ * for a box-capable format (JPEG/PNG/GIF/JPEG-XL).
1035
+ *
1036
+ * @generated from message trylimbo.signer.v2.BeginSignResponse.HashInstruction.BoxHash
1037
+ */
1038
+ export declare type BeginSignResponse_HashInstruction_BoxHash = Message<"trylimbo.signer.v2.BeginSignResponse.HashInstruction.BoxHash"> & {
1039
+ };
1040
+
1041
+ /**
1042
+ * Describes the message trylimbo.signer.v2.BeginSignResponse.HashInstruction.BoxHash.
1043
+ * Use `create(BeginSignResponse_HashInstruction_BoxHashSchema)` to create a new message.
1044
+ */
1045
+ export declare const BeginSignResponse_HashInstruction_BoxHashSchema: GenMessage<BeginSignResponse_HashInstruction_BoxHash>;
1046
+
1047
+ /**
1048
+ * @generated from message trylimbo.signer.v2.SubmitHashRequest
1049
+ */
1050
+ export declare type SubmitHashRequest = Message<"trylimbo.signer.v2.SubmitHashRequest"> & {
1051
+ /**
1052
+ * @generated from field: bytes continuation = 1;
1053
+ */
1054
+ continuation: Uint8Array;
1055
+
1056
+ /**
1057
+ * The computed hash, mirroring the `HashInstruction.strategy` variant
1058
+ * `BeginSign` returned; a mismatched kind is rejected. Exclusions exist only
1059
+ * in the data flow, so a BMFF submission cannot carry (ignored) ones.
1060
+ *
1061
+ * The hash algorithm is pinned to SHA-256 by the protocol
1062
+ * (`trylimbo_credential::binding::LOOKUP_HASH_ALG`) — it never travels.
1063
+ *
1064
+ * @generated from oneof trylimbo.signer.v2.SubmitHashRequest.hash
1065
+ */
1066
+ hash: {
1067
+ /**
1068
+ * @generated from field: trylimbo.signer.v2.SubmitHashRequest.BmffHash bmff = 2;
1069
+ */
1070
+ value: SubmitHashRequest_BmffHash;
1071
+ case: "bmff";
1072
+ } | {
1073
+ /**
1074
+ * @generated from field: trylimbo.signer.v2.SubmitHashRequest.DataHash data = 3;
1075
+ */
1076
+ value: SubmitHashRequest_DataHash;
1077
+ case: "data";
1078
+ } | {
1079
+ /**
1080
+ * @generated from field: trylimbo.signer.v2.SubmitHashRequest.BoxHashMap boxes = 4;
1081
+ */
1082
+ value: SubmitHashRequest_BoxHashMap;
1083
+ case: "boxes";
1084
+ } | { case: undefined; value?: undefined };
1085
+ };
1086
+
1087
+ /**
1088
+ * Describes the message trylimbo.signer.v2.SubmitHashRequest.
1089
+ * Use `create(SubmitHashRequestSchema)` to create a new message.
1090
+ */
1091
+ export declare const SubmitHashRequestSchema: GenMessage<SubmitHashRequest>;
1092
+
1093
+ /**
1094
+ * Structural BMFF hash (static placeholder or streaming init flow — the
1095
+ * session, not the submission, knows which).
1096
+ *
1097
+ * @generated from message trylimbo.signer.v2.SubmitHashRequest.BmffHash
1098
+ */
1099
+ export declare type SubmitHashRequest_BmffHash = Message<"trylimbo.signer.v2.SubmitHashRequest.BmffHash"> & {
1100
+ /**
1101
+ * @generated from field: bytes value = 1;
1102
+ */
1103
+ value: Uint8Array;
1104
+ };
1105
+
1106
+ /**
1107
+ * Describes the message trylimbo.signer.v2.SubmitHashRequest.BmffHash.
1108
+ * Use `create(SubmitHashRequest_BmffHashSchema)` to create a new message.
1109
+ */
1110
+ export declare const SubmitHashRequest_BmffHashSchema: GenMessage<SubmitHashRequest_BmffHash>;
1111
+
1112
+ /**
1113
+ * Hash of the asset bytes minus the exclusion ranges (the manifest slot).
1114
+ *
1115
+ * @generated from message trylimbo.signer.v2.SubmitHashRequest.DataHash
1116
+ */
1117
+ export declare type SubmitHashRequest_DataHash = Message<"trylimbo.signer.v2.SubmitHashRequest.DataHash"> & {
1118
+ /**
1119
+ * @generated from field: bytes value = 1;
1120
+ */
1121
+ value: Uint8Array;
1122
+
1123
+ /**
1124
+ * @generated from field: repeated trylimbo.signer.v2.SubmitHashRequest.DataHash.Exclusion exclusions = 2;
1125
+ */
1126
+ exclusions: SubmitHashRequest_DataHash_Exclusion[];
1127
+ };
1128
+
1129
+ /**
1130
+ * Describes the message trylimbo.signer.v2.SubmitHashRequest.DataHash.
1131
+ * Use `create(SubmitHashRequest_DataHashSchema)` to create a new message.
1132
+ */
1133
+ export declare const SubmitHashRequest_DataHashSchema: GenMessage<SubmitHashRequest_DataHash>;
1134
+
1135
+ /**
1136
+ * @generated from message trylimbo.signer.v2.SubmitHashRequest.DataHash.Exclusion
1137
+ */
1138
+ export declare type SubmitHashRequest_DataHash_Exclusion = Message<"trylimbo.signer.v2.SubmitHashRequest.DataHash.Exclusion"> & {
1139
+ /**
1140
+ * @generated from field: uint64 start = 1;
1141
+ */
1142
+ start: bigint;
1143
+
1144
+ /**
1145
+ * @generated from field: uint64 length = 2;
1146
+ */
1147
+ length: bigint;
1148
+ };
1149
+
1150
+ /**
1151
+ * Describes the message trylimbo.signer.v2.SubmitHashRequest.DataHash.Exclusion.
1152
+ * Use `create(SubmitHashRequest_DataHash_ExclusionSchema)` to create a new message.
1153
+ */
1154
+ export declare const SubmitHashRequest_DataHash_ExclusionSchema: GenMessage<SubmitHashRequest_DataHash_Exclusion>;
1155
+
1156
+ /**
1157
+ * Box hash: the client-computed box-structure FACTS (per-box names + hash). The
1158
+ * SIGNER authors the `c2pa.hash.boxes` assertion from them — symmetric with the
1159
+ * data flow, so the client never encodes a `c2pa.*` assertion. The verifier
1160
+ * re-derives box positions from the asset and re-hashes, so a forged map cannot
1161
+ * validate.
1162
+ *
1163
+ * @generated from message trylimbo.signer.v2.SubmitHashRequest.BoxHashMap
1164
+ */
1165
+ export declare type SubmitHashRequest_BoxHashMap = Message<"trylimbo.signer.v2.SubmitHashRequest.BoxHashMap"> & {
1166
+ /**
1167
+ * Deliberately uncapped: a box is one structural unit of the asset (a PNG
1168
+ * chunk, a JPEG segment), so the count is the asset's structure and nothing
1169
+ * else. A large PNG runs to tens of thousands of IDAT chunks, and a count
1170
+ * cap would refuse it at `SubmitHash`, after the client has hashed the whole
1171
+ * asset. `max_message_size` bounds the list.
1172
+ *
1173
+ * @generated from field: repeated trylimbo.signer.v2.SubmitHashRequest.BoxHashMap.Box boxes = 2;
1174
+ */
1175
+ boxes: SubmitHashRequest_BoxHashMap_Box[];
1176
+ };
1177
+
1178
+ /**
1179
+ * Describes the message trylimbo.signer.v2.SubmitHashRequest.BoxHashMap.
1180
+ * Use `create(SubmitHashRequest_BoxHashMapSchema)` to create a new message.
1181
+ */
1182
+ export declare const SubmitHashRequest_BoxHashMapSchema: GenMessage<SubmitHashRequest_BoxHashMap>;
1183
+
1184
+ /**
1185
+ * One hashed box (or run of boxes) and its SHA-256. A structural box is exactly
1186
+ * 32 bytes; c2pa marks the manifest box with a ≤1-byte placeholder (its content
1187
+ * isn't known until the manifest is embedded) — so a box's hash is one width or
1188
+ * the other, independent of `excluded`.
1189
+ *
1190
+ * @generated from message trylimbo.signer.v2.SubmitHashRequest.BoxHashMap.Box
1191
+ */
1192
+ export declare type SubmitHashRequest_BoxHashMap_Box = Message<"trylimbo.signer.v2.SubmitHashRequest.BoxHashMap.Box"> & {
1193
+ /**
1194
+ * @generated from field: repeated string names = 1;
1195
+ */
1196
+ names: string[];
1197
+
1198
+ /**
1199
+ * @generated from field: bytes hash = 2;
1200
+ */
1201
+ hash: Uint8Array;
1202
+
1203
+ /**
1204
+ * @generated from field: bool excluded = 3;
1205
+ */
1206
+ excluded: boolean;
1207
+ };
1208
+
1209
+ /**
1210
+ * Describes the message trylimbo.signer.v2.SubmitHashRequest.BoxHashMap.Box.
1211
+ * Use `create(SubmitHashRequest_BoxHashMap_BoxSchema)` to create a new message.
1212
+ */
1213
+ export declare const SubmitHashRequest_BoxHashMap_BoxSchema: GenMessage<SubmitHashRequest_BoxHashMap_Box>;
1214
+
1215
+ /**
1216
+ * @generated from message trylimbo.signer.v2.SubmitHashResponse
1217
+ */
1218
+ export declare type SubmitHashResponse = Message<"trylimbo.signer.v2.SubmitHashResponse"> & {
1219
+ /**
1220
+ * @generated from field: trylimbo.signer.v2.SubmitHashResponse.SignedManifest signed = 1;
1221
+ */
1222
+ signed?: SubmitHashResponse_SignedManifest | undefined;
1223
+ };
1224
+
1225
+ /**
1226
+ * Describes the message trylimbo.signer.v2.SubmitHashResponse.
1227
+ * Use `create(SubmitHashResponseSchema)` to create a new message.
1228
+ */
1229
+ export declare const SubmitHashResponseSchema: GenMessage<SubmitHashResponse>;
1230
+
1231
+ /**
1232
+ * @generated from message trylimbo.signer.v2.SubmitHashResponse.SignedManifest
1233
+ */
1234
+ export declare type SubmitHashResponse_SignedManifest = Message<"trylimbo.signer.v2.SubmitHashResponse.SignedManifest"> & {
1235
+ /**
1236
+ * @generated from field: bytes manifest = 1;
1237
+ */
1238
+ manifest: Uint8Array;
1239
+
1240
+ /**
1241
+ * @generated from field: string manifest_id = 2;
1242
+ */
1243
+ manifestId: string;
1244
+ };
1245
+
1246
+ /**
1247
+ * Describes the message trylimbo.signer.v2.SubmitHashResponse.SignedManifest.
1248
+ * Use `create(SubmitHashResponse_SignedManifestSchema)` to create a new message.
1249
+ */
1250
+ export declare const SubmitHashResponse_SignedManifestSchema: GenMessage<SubmitHashResponse_SignedManifest>;
1251
+
1252
+ /**
1253
+ * Split-signing: BeginSign returns a hash instruction and an opaque
1254
+ * continuation; SubmitHash echoes it with the computed hash.
1255
+ *
1256
+ * The request speaks provenance FACTS, never claim encoding. The signer is the
1257
+ * sole author of every C2PA structural assertion (lifecycle actions, ingredient
1258
+ * relationships, hard bindings, hashed-URI references), all derived server-side
1259
+ * at claim assembly.
1260
+ *
1261
+ * ENFORCEMENT: the `buf.validate` field/CEL constraints below are the wire
1262
+ * contract's single source of truth, enforced server-side with protovalidate
1263
+ * (`rpc::validate`). No SDK runs them client-side. Only checks CEL
1264
+ * cannot express live in Rust (`sign`): CBOR content, the aggregate
1265
+ * ingredient size (CEL sums nothing), the exclusion/session-slot binding,
1266
+ * continuation auth.
1267
+ *
1268
+ * @generated from service trylimbo.signer.v2.SignerService
1269
+ */
1270
+ export declare const SignerService: GenService<{
1271
+ /**
1272
+ * @generated from rpc trylimbo.signer.v2.SignerService.Info
1273
+ */
1274
+ info: {
1275
+ methodKind: "unary";
1276
+ input: typeof InfoRequestSchema;
1277
+ output: typeof InfoResponseSchema;
1278
+ },
1279
+ /**
1280
+ * @generated from rpc trylimbo.signer.v2.SignerService.BeginSign
1281
+ */
1282
+ beginSign: {
1283
+ methodKind: "unary";
1284
+ input: typeof BeginSignRequestSchema;
1285
+ output: typeof BeginSignResponseSchema;
1286
+ },
1287
+ /**
1288
+ * @generated from rpc trylimbo.signer.v2.SignerService.SubmitHash
1289
+ */
1290
+ submitHash: {
1291
+ methodKind: "unary";
1292
+ input: typeof SubmitHashRequestSchema;
1293
+ output: typeof SubmitHashResponseSchema;
1294
+ },
1295
+ }>;
1296
+