foundry-design-protocol 0.2.0-beta.2 → 0.2.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ export declare const changeCategorySchema: z.ZodEnum<{
24
24
  }>;
25
25
  export declare const scopeSchema: z.ZodEnum<{
26
26
  instance: "instance";
27
+ variant: "variant";
27
28
  component: "component";
28
29
  }>;
29
30
  export declare const confidenceSchema: z.ZodEnum<{
@@ -163,6 +164,16 @@ export declare const designTokenSchema: z.ZodObject<{
163
164
  other: "other";
164
165
  }>;
165
166
  cssVariable: z.ZodOptional<z.ZodString>;
167
+ aliasOfTokenId: z.ZodOptional<z.ZodString>;
168
+ aliasOfTokenName: z.ZodOptional<z.ZodString>;
169
+ resolvedValue: z.ZodOptional<z.ZodString>;
170
+ aliasChain: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
+ aliasStatus: z.ZodOptional<z.ZodEnum<{
172
+ direct: "direct";
173
+ resolved: "resolved";
174
+ broken: "broken";
175
+ circular: "circular";
176
+ }>>;
166
177
  source: z.ZodOptional<z.ZodObject<{
167
178
  file: z.ZodString;
168
179
  line: z.ZodOptional<z.ZodNumber>;
@@ -177,17 +188,85 @@ export declare const designTokenSchema: z.ZodObject<{
177
188
  }>>;
178
189
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
179
190
  }, z.core.$strip>;
191
+ export declare const tokenPromotionCandidateSchema: z.ZodObject<{
192
+ id: z.ZodString;
193
+ value: z.ZodString;
194
+ category: z.ZodEnum<{
195
+ spacing: "spacing";
196
+ typography: "typography";
197
+ color: "color";
198
+ motion: "motion";
199
+ size: "size";
200
+ radius: "radius";
201
+ shadow: "shadow";
202
+ other: "other";
203
+ }>;
204
+ property: z.ZodString;
205
+ occurrenceCount: z.ZodNumber;
206
+ sources: z.ZodArray<z.ZodObject<{
207
+ file: z.ZodString;
208
+ line: z.ZodOptional<z.ZodNumber>;
209
+ column: z.ZodOptional<z.ZodNumber>;
210
+ symbol: z.ZodOptional<z.ZodString>;
211
+ }, z.core.$strip>>;
212
+ componentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
213
+ recommendation: z.ZodEnum<{
214
+ "use-existing": "use-existing";
215
+ "create-token": "create-token";
216
+ }>;
217
+ relation: z.ZodEnum<{
218
+ exact: "exact";
219
+ near: "near";
220
+ new: "new";
221
+ }>;
222
+ suggestedTokenId: z.ZodOptional<z.ZodString>;
223
+ suggestedTokenName: z.ZodString;
224
+ suggestedValue: z.ZodString;
225
+ aliasChain: z.ZodDefault<z.ZodArray<z.ZodString>>;
226
+ canStage: z.ZodDefault<z.ZodBoolean>;
227
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
228
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
229
+ }, z.core.$strip>;
180
230
  export declare const componentVariantSchema: z.ZodObject<{
181
231
  id: z.ZodString;
182
232
  label: z.ZodString;
183
233
  property: z.ZodString;
184
234
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
235
+ props: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
185
236
  source: z.ZodOptional<z.ZodObject<{
186
237
  file: z.ZodString;
187
238
  line: z.ZodOptional<z.ZodNumber>;
188
239
  column: z.ZodOptional<z.ZodNumber>;
189
240
  symbol: z.ZodOptional<z.ZodString>;
190
241
  }, z.core.$strip>>;
242
+ adapter: z.ZodOptional<z.ZodEnum<{
243
+ storybook: "storybook";
244
+ cva: "cva";
245
+ typescript: "typescript";
246
+ configured: "configured";
247
+ }>>;
248
+ sourceProperty: z.ZodOptional<z.ZodString>;
249
+ }, z.core.$strip>;
250
+ export declare const componentVariantAxisSchema: z.ZodObject<{
251
+ id: z.ZodString;
252
+ label: z.ZodString;
253
+ property: z.ZodString;
254
+ values: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
255
+ adapter: z.ZodEnum<{
256
+ storybook: "storybook";
257
+ cva: "cva";
258
+ typescript: "typescript";
259
+ configured: "configured";
260
+ }>;
261
+ source: z.ZodObject<{
262
+ file: z.ZodString;
263
+ line: z.ZodOptional<z.ZodNumber>;
264
+ column: z.ZodOptional<z.ZodNumber>;
265
+ symbol: z.ZodOptional<z.ZodString>;
266
+ }, z.core.$strip>;
267
+ sourceProperty: z.ZodString;
268
+ canCreate: z.ZodDefault<z.ZodBoolean>;
269
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
191
270
  }, z.core.$strip>;
192
271
  export declare const componentDefinitionSchema: z.ZodObject<{
193
272
  id: z.ZodString;
@@ -205,12 +284,41 @@ export declare const componentDefinitionSchema: z.ZodObject<{
205
284
  label: z.ZodString;
206
285
  property: z.ZodString;
207
286
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
287
+ props: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
208
288
  source: z.ZodOptional<z.ZodObject<{
209
289
  file: z.ZodString;
210
290
  line: z.ZodOptional<z.ZodNumber>;
211
291
  column: z.ZodOptional<z.ZodNumber>;
212
292
  symbol: z.ZodOptional<z.ZodString>;
213
293
  }, z.core.$strip>>;
294
+ adapter: z.ZodOptional<z.ZodEnum<{
295
+ storybook: "storybook";
296
+ cva: "cva";
297
+ typescript: "typescript";
298
+ configured: "configured";
299
+ }>>;
300
+ sourceProperty: z.ZodOptional<z.ZodString>;
301
+ }, z.core.$strip>>>;
302
+ variantAxes: z.ZodDefault<z.ZodArray<z.ZodObject<{
303
+ id: z.ZodString;
304
+ label: z.ZodString;
305
+ property: z.ZodString;
306
+ values: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
307
+ adapter: z.ZodEnum<{
308
+ storybook: "storybook";
309
+ cva: "cva";
310
+ typescript: "typescript";
311
+ configured: "configured";
312
+ }>;
313
+ source: z.ZodObject<{
314
+ file: z.ZodString;
315
+ line: z.ZodOptional<z.ZodNumber>;
316
+ column: z.ZodOptional<z.ZodNumber>;
317
+ symbol: z.ZodOptional<z.ZodString>;
318
+ }, z.core.$strip>;
319
+ sourceProperty: z.ZodString;
320
+ canCreate: z.ZodDefault<z.ZodBoolean>;
321
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
214
322
  }, z.core.$strip>>>;
215
323
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
216
324
  }, z.core.$strip>;
@@ -252,6 +360,26 @@ export declare const breakpointDefinitionSchema: z.ZodObject<{
252
360
  symbol: z.ZodOptional<z.ZodString>;
253
361
  }, z.core.$strip>>;
254
362
  }, z.core.$strip>;
363
+ export declare const containerQueryDefinitionSchema: z.ZodObject<{
364
+ id: z.ZodString;
365
+ label: z.ZodString;
366
+ name: z.ZodOptional<z.ZodString>;
367
+ condition: z.ZodString;
368
+ axis: z.ZodDefault<z.ZodEnum<{
369
+ size: "size";
370
+ "inline-size": "inline-size";
371
+ "block-size": "block-size";
372
+ }>>;
373
+ minWidth: z.ZodOptional<z.ZodNumber>;
374
+ maxWidth: z.ZodOptional<z.ZodNumber>;
375
+ source: z.ZodObject<{
376
+ file: z.ZodString;
377
+ line: z.ZodOptional<z.ZodNumber>;
378
+ column: z.ZodOptional<z.ZodNumber>;
379
+ symbol: z.ZodOptional<z.ZodString>;
380
+ }, z.core.$strip>;
381
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
382
+ }, z.core.$strip>;
255
383
  export declare const themeDefinitionSchema: z.ZodObject<{
256
384
  id: z.ZodString;
257
385
  label: z.ZodString;
@@ -271,12 +399,87 @@ export declare const motionPresetSchema: z.ZodObject<{
271
399
  duration: z.ZodOptional<z.ZodNumber>;
272
400
  easing: z.ZodOptional<z.ZodString>;
273
401
  delay: z.ZodOptional<z.ZodNumber>;
402
+ adapter: z.ZodOptional<z.ZodEnum<{
403
+ motion: "motion";
404
+ css: "css";
405
+ gsap: "gsap";
406
+ "react-spring": "react-spring";
407
+ }>>;
408
+ sourceProperty: z.ZodOptional<z.ZodString>;
409
+ configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
410
+ source: z.ZodOptional<z.ZodObject<{
411
+ file: z.ZodString;
412
+ line: z.ZodOptional<z.ZodNumber>;
413
+ column: z.ZodOptional<z.ZodNumber>;
414
+ symbol: z.ZodOptional<z.ZodString>;
415
+ }, z.core.$strip>>;
416
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
417
+ }, z.core.$strip>;
418
+ export declare const designTokenUsageSchema: z.ZodObject<{
419
+ id: z.ZodString;
420
+ tokenId: z.ZodString;
421
+ tokenName: z.ZodString;
422
+ value: z.ZodString;
423
+ category: z.ZodEnum<{
424
+ spacing: "spacing";
425
+ typography: "typography";
426
+ color: "color";
427
+ motion: "motion";
428
+ size: "size";
429
+ radius: "radius";
430
+ shadow: "shadow";
431
+ other: "other";
432
+ }>;
433
+ kind: z.ZodEnum<{
434
+ literal: "literal";
435
+ reference: "reference";
436
+ alias: "alias";
437
+ }>;
438
+ property: z.ZodOptional<z.ZodString>;
439
+ componentId: z.ZodOptional<z.ZodString>;
440
+ source: z.ZodObject<{
441
+ file: z.ZodString;
442
+ line: z.ZodOptional<z.ZodNumber>;
443
+ column: z.ZodOptional<z.ZodNumber>;
444
+ symbol: z.ZodOptional<z.ZodString>;
445
+ }, z.core.$strip>;
446
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
447
+ }, z.core.$strip>;
448
+ export declare const designSystemFindingSchema: z.ZodObject<{
449
+ id: z.ZodString;
450
+ kind: z.ZodEnum<{
451
+ "near-duplicate": "near-duplicate";
452
+ "literal-drift": "literal-drift";
453
+ "unused-token": "unused-token";
454
+ "component-drift": "component-drift";
455
+ }>;
456
+ severity: z.ZodDefault<z.ZodEnum<{
457
+ info: "info";
458
+ warning: "warning";
459
+ }>>;
460
+ title: z.ZodString;
461
+ detail: z.ZodString;
462
+ category: z.ZodOptional<z.ZodEnum<{
463
+ spacing: "spacing";
464
+ typography: "typography";
465
+ color: "color";
466
+ motion: "motion";
467
+ size: "size";
468
+ radius: "radius";
469
+ shadow: "shadow";
470
+ other: "other";
471
+ }>>;
472
+ tokenIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
473
+ usageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
474
+ componentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
475
+ suggestedTokenId: z.ZodOptional<z.ZodString>;
274
476
  source: z.ZodOptional<z.ZodObject<{
275
477
  file: z.ZodString;
276
478
  line: z.ZodOptional<z.ZodNumber>;
277
479
  column: z.ZodOptional<z.ZodNumber>;
278
480
  symbol: z.ZodOptional<z.ZodString>;
279
481
  }, z.core.$strip>>;
482
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
280
483
  }, z.core.$strip>;
281
484
  export declare const projectDesignGraphSchema: z.ZodObject<{
282
485
  protocolVersion: z.ZodLiteral<"1.2.0">;
@@ -297,6 +500,16 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
297
500
  other: "other";
298
501
  }>;
299
502
  cssVariable: z.ZodOptional<z.ZodString>;
503
+ aliasOfTokenId: z.ZodOptional<z.ZodString>;
504
+ aliasOfTokenName: z.ZodOptional<z.ZodString>;
505
+ resolvedValue: z.ZodOptional<z.ZodString>;
506
+ aliasChain: z.ZodOptional<z.ZodArray<z.ZodString>>;
507
+ aliasStatus: z.ZodOptional<z.ZodEnum<{
508
+ direct: "direct";
509
+ resolved: "resolved";
510
+ broken: "broken";
511
+ circular: "circular";
512
+ }>>;
300
513
  source: z.ZodOptional<z.ZodObject<{
301
514
  file: z.ZodString;
302
515
  line: z.ZodOptional<z.ZodNumber>;
@@ -327,12 +540,41 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
327
540
  label: z.ZodString;
328
541
  property: z.ZodString;
329
542
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
543
+ props: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
330
544
  source: z.ZodOptional<z.ZodObject<{
331
545
  file: z.ZodString;
332
546
  line: z.ZodOptional<z.ZodNumber>;
333
547
  column: z.ZodOptional<z.ZodNumber>;
334
548
  symbol: z.ZodOptional<z.ZodString>;
335
549
  }, z.core.$strip>>;
550
+ adapter: z.ZodOptional<z.ZodEnum<{
551
+ storybook: "storybook";
552
+ cva: "cva";
553
+ typescript: "typescript";
554
+ configured: "configured";
555
+ }>>;
556
+ sourceProperty: z.ZodOptional<z.ZodString>;
557
+ }, z.core.$strip>>>;
558
+ variantAxes: z.ZodDefault<z.ZodArray<z.ZodObject<{
559
+ id: z.ZodString;
560
+ label: z.ZodString;
561
+ property: z.ZodString;
562
+ values: z.ZodDefault<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
563
+ adapter: z.ZodEnum<{
564
+ storybook: "storybook";
565
+ cva: "cva";
566
+ typescript: "typescript";
567
+ configured: "configured";
568
+ }>;
569
+ source: z.ZodObject<{
570
+ file: z.ZodString;
571
+ line: z.ZodOptional<z.ZodNumber>;
572
+ column: z.ZodOptional<z.ZodNumber>;
573
+ symbol: z.ZodOptional<z.ZodString>;
574
+ }, z.core.$strip>;
575
+ sourceProperty: z.ZodString;
576
+ canCreate: z.ZodDefault<z.ZodBoolean>;
577
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
336
578
  }, z.core.$strip>>>;
337
579
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
338
580
  }, z.core.$strip>>>;
@@ -349,6 +591,26 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
349
591
  symbol: z.ZodOptional<z.ZodString>;
350
592
  }, z.core.$strip>>;
351
593
  }, z.core.$strip>>>;
594
+ containerQueries: z.ZodOptional<z.ZodArray<z.ZodObject<{
595
+ id: z.ZodString;
596
+ label: z.ZodString;
597
+ name: z.ZodOptional<z.ZodString>;
598
+ condition: z.ZodString;
599
+ axis: z.ZodDefault<z.ZodEnum<{
600
+ size: "size";
601
+ "inline-size": "inline-size";
602
+ "block-size": "block-size";
603
+ }>>;
604
+ minWidth: z.ZodOptional<z.ZodNumber>;
605
+ maxWidth: z.ZodOptional<z.ZodNumber>;
606
+ source: z.ZodObject<{
607
+ file: z.ZodString;
608
+ line: z.ZodOptional<z.ZodNumber>;
609
+ column: z.ZodOptional<z.ZodNumber>;
610
+ symbol: z.ZodOptional<z.ZodString>;
611
+ }, z.core.$strip>;
612
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
613
+ }, z.core.$strip>>>;
352
614
  themes: z.ZodDefault<z.ZodArray<z.ZodObject<{
353
615
  id: z.ZodString;
354
616
  label: z.ZodString;
@@ -393,12 +655,126 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
393
655
  duration: z.ZodOptional<z.ZodNumber>;
394
656
  easing: z.ZodOptional<z.ZodString>;
395
657
  delay: z.ZodOptional<z.ZodNumber>;
658
+ adapter: z.ZodOptional<z.ZodEnum<{
659
+ motion: "motion";
660
+ css: "css";
661
+ gsap: "gsap";
662
+ "react-spring": "react-spring";
663
+ }>>;
664
+ sourceProperty: z.ZodOptional<z.ZodString>;
665
+ configuration: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
666
+ source: z.ZodOptional<z.ZodObject<{
667
+ file: z.ZodString;
668
+ line: z.ZodOptional<z.ZodNumber>;
669
+ column: z.ZodOptional<z.ZodNumber>;
670
+ symbol: z.ZodOptional<z.ZodString>;
671
+ }, z.core.$strip>>;
672
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
673
+ }, z.core.$strip>>>;
674
+ tokenUsages: z.ZodDefault<z.ZodArray<z.ZodObject<{
675
+ id: z.ZodString;
676
+ tokenId: z.ZodString;
677
+ tokenName: z.ZodString;
678
+ value: z.ZodString;
679
+ category: z.ZodEnum<{
680
+ spacing: "spacing";
681
+ typography: "typography";
682
+ color: "color";
683
+ motion: "motion";
684
+ size: "size";
685
+ radius: "radius";
686
+ shadow: "shadow";
687
+ other: "other";
688
+ }>;
689
+ kind: z.ZodEnum<{
690
+ literal: "literal";
691
+ reference: "reference";
692
+ alias: "alias";
693
+ }>;
694
+ property: z.ZodOptional<z.ZodString>;
695
+ componentId: z.ZodOptional<z.ZodString>;
696
+ source: z.ZodObject<{
697
+ file: z.ZodString;
698
+ line: z.ZodOptional<z.ZodNumber>;
699
+ column: z.ZodOptional<z.ZodNumber>;
700
+ symbol: z.ZodOptional<z.ZodString>;
701
+ }, z.core.$strip>;
702
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
703
+ }, z.core.$strip>>>;
704
+ designSystemFindings: z.ZodDefault<z.ZodArray<z.ZodObject<{
705
+ id: z.ZodString;
706
+ kind: z.ZodEnum<{
707
+ "near-duplicate": "near-duplicate";
708
+ "literal-drift": "literal-drift";
709
+ "unused-token": "unused-token";
710
+ "component-drift": "component-drift";
711
+ }>;
712
+ severity: z.ZodDefault<z.ZodEnum<{
713
+ info: "info";
714
+ warning: "warning";
715
+ }>>;
716
+ title: z.ZodString;
717
+ detail: z.ZodString;
718
+ category: z.ZodOptional<z.ZodEnum<{
719
+ spacing: "spacing";
720
+ typography: "typography";
721
+ color: "color";
722
+ motion: "motion";
723
+ size: "size";
724
+ radius: "radius";
725
+ shadow: "shadow";
726
+ other: "other";
727
+ }>>;
728
+ tokenIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
729
+ usageIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
730
+ componentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
731
+ suggestedTokenId: z.ZodOptional<z.ZodString>;
396
732
  source: z.ZodOptional<z.ZodObject<{
397
733
  file: z.ZodString;
398
734
  line: z.ZodOptional<z.ZodNumber>;
399
735
  column: z.ZodOptional<z.ZodNumber>;
400
736
  symbol: z.ZodOptional<z.ZodString>;
401
737
  }, z.core.$strip>>;
738
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
739
+ }, z.core.$strip>>>;
740
+ tokenPromotions: z.ZodOptional<z.ZodArray<z.ZodObject<{
741
+ id: z.ZodString;
742
+ value: z.ZodString;
743
+ category: z.ZodEnum<{
744
+ spacing: "spacing";
745
+ typography: "typography";
746
+ color: "color";
747
+ motion: "motion";
748
+ size: "size";
749
+ radius: "radius";
750
+ shadow: "shadow";
751
+ other: "other";
752
+ }>;
753
+ property: z.ZodString;
754
+ occurrenceCount: z.ZodNumber;
755
+ sources: z.ZodArray<z.ZodObject<{
756
+ file: z.ZodString;
757
+ line: z.ZodOptional<z.ZodNumber>;
758
+ column: z.ZodOptional<z.ZodNumber>;
759
+ symbol: z.ZodOptional<z.ZodString>;
760
+ }, z.core.$strip>>;
761
+ componentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
762
+ recommendation: z.ZodEnum<{
763
+ "use-existing": "use-existing";
764
+ "create-token": "create-token";
765
+ }>;
766
+ relation: z.ZodEnum<{
767
+ exact: "exact";
768
+ near: "near";
769
+ new: "new";
770
+ }>;
771
+ suggestedTokenId: z.ZodOptional<z.ZodString>;
772
+ suggestedTokenName: z.ZodString;
773
+ suggestedValue: z.ZodString;
774
+ aliasChain: z.ZodDefault<z.ZodArray<z.ZodString>>;
775
+ canStage: z.ZodDefault<z.ZodBoolean>;
776
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
777
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
402
778
  }, z.core.$strip>>>;
403
779
  indexedAt: z.ZodString;
404
780
  }, z.core.$strip>;
@@ -415,6 +791,8 @@ export declare const sourceMappingCandidateSchema: z.ZodObject<{
415
791
  distribute: "distribute";
416
792
  position: "position";
417
793
  style: "style";
794
+ "component-variant": "component-variant";
795
+ "token-refactor": "token-refactor";
418
796
  }>;
419
797
  property: z.ZodString;
420
798
  targetId: z.ZodOptional<z.ZodString>;
@@ -427,6 +805,7 @@ export declare const sourceMappingCandidateSchema: z.ZodObject<{
427
805
  }, z.core.$strip>>;
428
806
  scope: z.ZodDefault<z.ZodEnum<{
429
807
  instance: "instance";
808
+ variant: "variant";
430
809
  component: "component";
431
810
  }>>;
432
811
  confidence: z.ZodEnum<{
@@ -449,6 +828,8 @@ export declare const designOperationSchema: z.ZodObject<{
449
828
  align: "align";
450
829
  distribute: "distribute";
451
830
  style: "style";
831
+ "component-variant": "component-variant";
832
+ "token-refactor": "token-refactor";
452
833
  }>;
453
834
  label: z.ZodString;
454
835
  targetIds: z.ZodArray<z.ZodString>;
@@ -467,6 +848,8 @@ export declare const designOperationSchema: z.ZodObject<{
467
848
  distribute: "distribute";
468
849
  position: "position";
469
850
  style: "style";
851
+ "component-variant": "component-variant";
852
+ "token-refactor": "token-refactor";
470
853
  }>;
471
854
  property: z.ZodString;
472
855
  targetId: z.ZodOptional<z.ZodString>;
@@ -479,6 +862,7 @@ export declare const designOperationSchema: z.ZodObject<{
479
862
  }, z.core.$strip>>;
480
863
  scope: z.ZodDefault<z.ZodEnum<{
481
864
  instance: "instance";
865
+ variant: "variant";
482
866
  component: "component";
483
867
  }>>;
484
868
  confidence: z.ZodEnum<{
@@ -493,8 +877,8 @@ export declare const designOperationSchema: z.ZodObject<{
493
877
  selectedMappingId: z.ZodOptional<z.ZodString>;
494
878
  status: z.ZodDefault<z.ZodEnum<{
495
879
  unresolved: "unresolved";
496
- preview: "preview";
497
880
  resolved: "resolved";
881
+ preview: "preview";
498
882
  }>>;
499
883
  createdAt: z.ZodString;
500
884
  updatedAt: z.ZodString;
@@ -568,6 +952,8 @@ export declare const designChangeSchema: z.ZodObject<{
568
952
  distribute: "distribute";
569
953
  position: "position";
570
954
  style: "style";
955
+ "component-variant": "component-variant";
956
+ "token-refactor": "token-refactor";
571
957
  }>;
572
958
  property: z.ZodString;
573
959
  targetId: z.ZodOptional<z.ZodString>;
@@ -580,6 +966,7 @@ export declare const designChangeSchema: z.ZodObject<{
580
966
  }, z.core.$strip>>;
581
967
  scope: z.ZodDefault<z.ZodEnum<{
582
968
  instance: "instance";
969
+ variant: "variant";
583
970
  component: "component";
584
971
  }>>;
585
972
  confidence: z.ZodEnum<{
@@ -594,6 +981,7 @@ export declare const designChangeSchema: z.ZodObject<{
594
981
  selectedMappingId: z.ZodOptional<z.ZodString>;
595
982
  scope: z.ZodDefault<z.ZodEnum<{
596
983
  instance: "instance";
984
+ variant: "variant";
597
985
  component: "component";
598
986
  }>>;
599
987
  context: z.ZodObject<{
@@ -715,6 +1103,8 @@ export declare const changeSetSchema: z.ZodObject<{
715
1103
  distribute: "distribute";
716
1104
  position: "position";
717
1105
  style: "style";
1106
+ "component-variant": "component-variant";
1107
+ "token-refactor": "token-refactor";
718
1108
  }>;
719
1109
  property: z.ZodString;
720
1110
  targetId: z.ZodOptional<z.ZodString>;
@@ -727,6 +1117,7 @@ export declare const changeSetSchema: z.ZodObject<{
727
1117
  }, z.core.$strip>>;
728
1118
  scope: z.ZodDefault<z.ZodEnum<{
729
1119
  instance: "instance";
1120
+ variant: "variant";
730
1121
  component: "component";
731
1122
  }>>;
732
1123
  confidence: z.ZodEnum<{
@@ -741,6 +1132,7 @@ export declare const changeSetSchema: z.ZodObject<{
741
1132
  selectedMappingId: z.ZodOptional<z.ZodString>;
742
1133
  scope: z.ZodDefault<z.ZodEnum<{
743
1134
  instance: "instance";
1135
+ variant: "variant";
744
1136
  component: "component";
745
1137
  }>>;
746
1138
  context: z.ZodObject<{
@@ -776,6 +1168,8 @@ export declare const changeSetSchema: z.ZodObject<{
776
1168
  align: "align";
777
1169
  distribute: "distribute";
778
1170
  style: "style";
1171
+ "component-variant": "component-variant";
1172
+ "token-refactor": "token-refactor";
779
1173
  }>;
780
1174
  label: z.ZodString;
781
1175
  targetIds: z.ZodArray<z.ZodString>;
@@ -794,6 +1188,8 @@ export declare const changeSetSchema: z.ZodObject<{
794
1188
  distribute: "distribute";
795
1189
  position: "position";
796
1190
  style: "style";
1191
+ "component-variant": "component-variant";
1192
+ "token-refactor": "token-refactor";
797
1193
  }>;
798
1194
  property: z.ZodString;
799
1195
  targetId: z.ZodOptional<z.ZodString>;
@@ -806,6 +1202,7 @@ export declare const changeSetSchema: z.ZodObject<{
806
1202
  }, z.core.$strip>>;
807
1203
  scope: z.ZodDefault<z.ZodEnum<{
808
1204
  instance: "instance";
1205
+ variant: "variant";
809
1206
  component: "component";
810
1207
  }>>;
811
1208
  confidence: z.ZodEnum<{
@@ -820,8 +1217,8 @@ export declare const changeSetSchema: z.ZodObject<{
820
1217
  selectedMappingId: z.ZodOptional<z.ZodString>;
821
1218
  status: z.ZodDefault<z.ZodEnum<{
822
1219
  unresolved: "unresolved";
823
- preview: "preview";
824
1220
  resolved: "resolved";
1221
+ preview: "preview";
825
1222
  }>>;
826
1223
  createdAt: z.ZodString;
827
1224
  updatedAt: z.ZodString;
@@ -835,63 +1232,785 @@ export declare const changeSetSchema: z.ZodObject<{
835
1232
  createdAt: z.ZodString;
836
1233
  updatedAt: z.ZodString;
837
1234
  }, z.core.$strip>;
838
- export declare const verificationResultSchema: z.ZodObject<{
839
- changeId: z.ZodString;
840
- property: z.ZodString;
841
- requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
842
- rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
843
- passed: z.ZodBoolean;
844
- reason: z.ZodOptional<z.ZodString>;
845
- geometry: z.ZodOptional<z.ZodObject<{
846
- x: z.ZodNumber;
847
- y: z.ZodNumber;
848
- width: z.ZodNumber;
849
- height: z.ZodNumber;
850
- scale: z.ZodDefault<z.ZodNumber>;
851
- }, z.core.$strip>>;
852
- screenshotPath: z.ZodOptional<z.ZodString>;
853
- verifiedAt: z.ZodString;
854
- }, z.core.$strip>;
855
- export declare const applyRunStateSchema: z.ZodEnum<{
856
- passed: "passed";
857
- reviewing: "reviewing";
858
- queued: "queued";
859
- claimed: "claimed";
860
- applying: "applying";
861
- rebuilding: "rebuilding";
862
- verifying: "verifying";
863
- needs_attention: "needs_attention";
864
- cancelled: "cancelled";
865
- failed: "failed";
866
- }>;
867
- export declare const applyRunMessageSchema: z.ZodObject<{
868
- state: z.ZodEnum<{
869
- passed: "passed";
870
- reviewing: "reviewing";
871
- queued: "queued";
872
- claimed: "claimed";
873
- applying: "applying";
874
- rebuilding: "rebuilding";
875
- verifying: "verifying";
876
- needs_attention: "needs_attention";
877
- cancelled: "cancelled";
878
- failed: "failed";
879
- }>;
880
- message: z.ZodString;
881
- createdAt: z.ZodString;
882
- }, z.core.$strip>;
883
- export declare const validationResultSchema: z.ZodObject<{
884
- name: z.ZodString;
885
- passed: z.ZodBoolean;
886
- summary: z.ZodOptional<z.ZodString>;
887
- }, z.core.$strip>;
888
- export declare const applyRunSchema: z.ZodObject<{
1235
+ export declare const designBranchSchema: z.ZodObject<{
889
1236
  id: z.ZodString;
890
- sessionId: z.ZodString;
891
- changeIds: z.ZodArray<z.ZodString>;
892
- revision: z.ZodOptional<z.ZodString>;
893
- designGraphRevision: z.ZodOptional<z.ZodString>;
894
- state: z.ZodEnum<{
1237
+ name: z.ZodString;
1238
+ status: z.ZodDefault<z.ZodEnum<{
1239
+ rejected: "rejected";
1240
+ exploring: "exploring";
1241
+ chosen: "chosen";
1242
+ archived: "archived";
1243
+ }>>;
1244
+ originBranchId: z.ZodOptional<z.ZodString>;
1245
+ changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1246
+ id: z.ZodString;
1247
+ target: z.ZodObject<{
1248
+ id: z.ZodString;
1249
+ platform: z.ZodEnum<{
1250
+ web: "web";
1251
+ swiftui: "swiftui";
1252
+ "react-native": "react-native";
1253
+ }>;
1254
+ semanticRole: z.ZodDefault<z.ZodString>;
1255
+ label: z.ZodDefault<z.ZodString>;
1256
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
1257
+ source: z.ZodOptional<z.ZodObject<{
1258
+ file: z.ZodString;
1259
+ line: z.ZodOptional<z.ZodNumber>;
1260
+ column: z.ZodOptional<z.ZodNumber>;
1261
+ symbol: z.ZodOptional<z.ZodString>;
1262
+ }, z.core.$strip>>;
1263
+ geometry: z.ZodObject<{
1264
+ x: z.ZodNumber;
1265
+ y: z.ZodNumber;
1266
+ width: z.ZodNumber;
1267
+ height: z.ZodNumber;
1268
+ scale: z.ZodDefault<z.ZodNumber>;
1269
+ }, z.core.$strip>;
1270
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1271
+ confidence: z.ZodEnum<{
1272
+ measured: "measured";
1273
+ instrumented: "instrumented";
1274
+ inferred: "inferred";
1275
+ unresolved: "unresolved";
1276
+ }>;
1277
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1278
+ }, z.core.$strip>;
1279
+ category: z.ZodEnum<{
1280
+ layout: "layout";
1281
+ spacing: "spacing";
1282
+ typography: "typography";
1283
+ color: "color";
1284
+ border: "border";
1285
+ effect: "effect";
1286
+ content: "content";
1287
+ asset: "asset";
1288
+ visibility: "visibility";
1289
+ accessibility: "accessibility";
1290
+ responsive: "responsive";
1291
+ state: "state";
1292
+ motion: "motion";
1293
+ }>;
1294
+ property: z.ZodString;
1295
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1296
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1297
+ unit: z.ZodOptional<z.ZodString>;
1298
+ token: z.ZodOptional<z.ZodString>;
1299
+ operationId: z.ZodOptional<z.ZodString>;
1300
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1301
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
1302
+ id: z.ZodString;
1303
+ label: z.ZodString;
1304
+ intent: z.ZodEnum<{
1305
+ spacing: "spacing";
1306
+ content: "content";
1307
+ state: "state";
1308
+ motion: "motion";
1309
+ resize: "resize";
1310
+ align: "align";
1311
+ distribute: "distribute";
1312
+ position: "position";
1313
+ style: "style";
1314
+ "component-variant": "component-variant";
1315
+ "token-refactor": "token-refactor";
1316
+ }>;
1317
+ property: z.ZodString;
1318
+ targetId: z.ZodOptional<z.ZodString>;
1319
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1320
+ source: z.ZodOptional<z.ZodObject<{
1321
+ file: z.ZodString;
1322
+ line: z.ZodOptional<z.ZodNumber>;
1323
+ column: z.ZodOptional<z.ZodNumber>;
1324
+ symbol: z.ZodOptional<z.ZodString>;
1325
+ }, z.core.$strip>>;
1326
+ scope: z.ZodDefault<z.ZodEnum<{
1327
+ instance: "instance";
1328
+ variant: "variant";
1329
+ component: "component";
1330
+ }>>;
1331
+ confidence: z.ZodEnum<{
1332
+ measured: "measured";
1333
+ instrumented: "instrumented";
1334
+ inferred: "inferred";
1335
+ unresolved: "unresolved";
1336
+ }>;
1337
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1338
+ blastRadius: z.ZodDefault<z.ZodNumber>;
1339
+ }, z.core.$strip>>>;
1340
+ selectedMappingId: z.ZodOptional<z.ZodString>;
1341
+ scope: z.ZodDefault<z.ZodEnum<{
1342
+ instance: "instance";
1343
+ variant: "variant";
1344
+ component: "component";
1345
+ }>>;
1346
+ context: z.ZodObject<{
1347
+ breakpoint: z.ZodDefault<z.ZodString>;
1348
+ theme: z.ZodDefault<z.ZodString>;
1349
+ state: z.ZodDefault<z.ZodString>;
1350
+ }, z.core.$strip>;
1351
+ confidence: z.ZodEnum<{
1352
+ measured: "measured";
1353
+ instrumented: "instrumented";
1354
+ inferred: "inferred";
1355
+ unresolved: "unresolved";
1356
+ }>;
1357
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1358
+ createdAt: z.ZodString;
1359
+ updatedAt: z.ZodString;
1360
+ status: z.ZodDefault<z.ZodEnum<{
1361
+ unresolved: "unresolved";
1362
+ draft: "draft";
1363
+ approved: "approved";
1364
+ applied: "applied";
1365
+ rejected: "rejected";
1366
+ }>>;
1367
+ }, z.core.$strip>>>;
1368
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1369
+ id: z.ZodString;
1370
+ kind: z.ZodEnum<{
1371
+ spacing: "spacing";
1372
+ content: "content";
1373
+ state: "state";
1374
+ motion: "motion";
1375
+ resize: "resize";
1376
+ align: "align";
1377
+ distribute: "distribute";
1378
+ style: "style";
1379
+ "component-variant": "component-variant";
1380
+ "token-refactor": "token-refactor";
1381
+ }>;
1382
+ label: z.ZodString;
1383
+ targetIds: z.ZodArray<z.ZodString>;
1384
+ changeIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1385
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1386
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
1387
+ id: z.ZodString;
1388
+ label: z.ZodString;
1389
+ intent: z.ZodEnum<{
1390
+ spacing: "spacing";
1391
+ content: "content";
1392
+ state: "state";
1393
+ motion: "motion";
1394
+ resize: "resize";
1395
+ align: "align";
1396
+ distribute: "distribute";
1397
+ position: "position";
1398
+ style: "style";
1399
+ "component-variant": "component-variant";
1400
+ "token-refactor": "token-refactor";
1401
+ }>;
1402
+ property: z.ZodString;
1403
+ targetId: z.ZodOptional<z.ZodString>;
1404
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1405
+ source: z.ZodOptional<z.ZodObject<{
1406
+ file: z.ZodString;
1407
+ line: z.ZodOptional<z.ZodNumber>;
1408
+ column: z.ZodOptional<z.ZodNumber>;
1409
+ symbol: z.ZodOptional<z.ZodString>;
1410
+ }, z.core.$strip>>;
1411
+ scope: z.ZodDefault<z.ZodEnum<{
1412
+ instance: "instance";
1413
+ variant: "variant";
1414
+ component: "component";
1415
+ }>>;
1416
+ confidence: z.ZodEnum<{
1417
+ measured: "measured";
1418
+ instrumented: "instrumented";
1419
+ inferred: "inferred";
1420
+ unresolved: "unresolved";
1421
+ }>;
1422
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1423
+ blastRadius: z.ZodDefault<z.ZodNumber>;
1424
+ }, z.core.$strip>>>;
1425
+ selectedMappingId: z.ZodOptional<z.ZodString>;
1426
+ status: z.ZodDefault<z.ZodEnum<{
1427
+ unresolved: "unresolved";
1428
+ resolved: "resolved";
1429
+ preview: "preview";
1430
+ }>>;
1431
+ createdAt: z.ZodString;
1432
+ updatedAt: z.ZodString;
1433
+ }, z.core.$strip>>>;
1434
+ rejectionReason: z.ZodOptional<z.ZodString>;
1435
+ createdAt: z.ZodString;
1436
+ updatedAt: z.ZodString;
1437
+ }, z.core.$strip>;
1438
+ export declare const designBranchRecordSourceSchema: z.ZodObject<{
1439
+ targetId: z.ZodString;
1440
+ targetLabel: z.ZodString;
1441
+ property: z.ZodString;
1442
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
1443
+ source: z.ZodOptional<z.ZodObject<{
1444
+ file: z.ZodString;
1445
+ line: z.ZodOptional<z.ZodNumber>;
1446
+ column: z.ZodOptional<z.ZodNumber>;
1447
+ symbol: z.ZodOptional<z.ZodString>;
1448
+ }, z.core.$strip>>;
1449
+ }, z.core.$strip>;
1450
+ export declare const designBranchRecordSchema: z.ZodObject<{
1451
+ version: z.ZodLiteral<1>;
1452
+ id: z.ZodString;
1453
+ branchId: z.ZodString;
1454
+ name: z.ZodString;
1455
+ outcome: z.ZodEnum<{
1456
+ rejected: "rejected";
1457
+ chosen: "chosen";
1458
+ }>;
1459
+ rationale: z.ZodOptional<z.ZodString>;
1460
+ context: z.ZodObject<{
1461
+ projectRoot: z.ZodString;
1462
+ revision: z.ZodOptional<z.ZodString>;
1463
+ designGraphRevision: z.ZodOptional<z.ZodString>;
1464
+ platform: z.ZodEnum<{
1465
+ web: "web";
1466
+ swiftui: "swiftui";
1467
+ "react-native": "react-native";
1468
+ }>;
1469
+ targetUrl: z.ZodOptional<z.ZodString>;
1470
+ targetName: z.ZodOptional<z.ZodString>;
1471
+ device: z.ZodOptional<z.ZodString>;
1472
+ viewport: z.ZodOptional<z.ZodObject<{
1473
+ width: z.ZodNumber;
1474
+ height: z.ZodNumber;
1475
+ }, z.core.$strip>>;
1476
+ theme: z.ZodDefault<z.ZodEnum<{
1477
+ light: "light";
1478
+ dark: "dark";
1479
+ system: "system";
1480
+ custom: "custom";
1481
+ }>>;
1482
+ breakpoint: z.ZodDefault<z.ZodString>;
1483
+ state: z.ZodDefault<z.ZodString>;
1484
+ }, z.core.$strip>;
1485
+ changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1486
+ id: z.ZodString;
1487
+ target: z.ZodObject<{
1488
+ id: z.ZodString;
1489
+ platform: z.ZodEnum<{
1490
+ web: "web";
1491
+ swiftui: "swiftui";
1492
+ "react-native": "react-native";
1493
+ }>;
1494
+ semanticRole: z.ZodDefault<z.ZodString>;
1495
+ label: z.ZodDefault<z.ZodString>;
1496
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
1497
+ source: z.ZodOptional<z.ZodObject<{
1498
+ file: z.ZodString;
1499
+ line: z.ZodOptional<z.ZodNumber>;
1500
+ column: z.ZodOptional<z.ZodNumber>;
1501
+ symbol: z.ZodOptional<z.ZodString>;
1502
+ }, z.core.$strip>>;
1503
+ geometry: z.ZodObject<{
1504
+ x: z.ZodNumber;
1505
+ y: z.ZodNumber;
1506
+ width: z.ZodNumber;
1507
+ height: z.ZodNumber;
1508
+ scale: z.ZodDefault<z.ZodNumber>;
1509
+ }, z.core.$strip>;
1510
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1511
+ confidence: z.ZodEnum<{
1512
+ measured: "measured";
1513
+ instrumented: "instrumented";
1514
+ inferred: "inferred";
1515
+ unresolved: "unresolved";
1516
+ }>;
1517
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1518
+ }, z.core.$strip>;
1519
+ category: z.ZodEnum<{
1520
+ layout: "layout";
1521
+ spacing: "spacing";
1522
+ typography: "typography";
1523
+ color: "color";
1524
+ border: "border";
1525
+ effect: "effect";
1526
+ content: "content";
1527
+ asset: "asset";
1528
+ visibility: "visibility";
1529
+ accessibility: "accessibility";
1530
+ responsive: "responsive";
1531
+ state: "state";
1532
+ motion: "motion";
1533
+ }>;
1534
+ property: z.ZodString;
1535
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1536
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1537
+ unit: z.ZodOptional<z.ZodString>;
1538
+ token: z.ZodOptional<z.ZodString>;
1539
+ operationId: z.ZodOptional<z.ZodString>;
1540
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1541
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
1542
+ id: z.ZodString;
1543
+ label: z.ZodString;
1544
+ intent: z.ZodEnum<{
1545
+ spacing: "spacing";
1546
+ content: "content";
1547
+ state: "state";
1548
+ motion: "motion";
1549
+ resize: "resize";
1550
+ align: "align";
1551
+ distribute: "distribute";
1552
+ position: "position";
1553
+ style: "style";
1554
+ "component-variant": "component-variant";
1555
+ "token-refactor": "token-refactor";
1556
+ }>;
1557
+ property: z.ZodString;
1558
+ targetId: z.ZodOptional<z.ZodString>;
1559
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1560
+ source: z.ZodOptional<z.ZodObject<{
1561
+ file: z.ZodString;
1562
+ line: z.ZodOptional<z.ZodNumber>;
1563
+ column: z.ZodOptional<z.ZodNumber>;
1564
+ symbol: z.ZodOptional<z.ZodString>;
1565
+ }, z.core.$strip>>;
1566
+ scope: z.ZodDefault<z.ZodEnum<{
1567
+ instance: "instance";
1568
+ variant: "variant";
1569
+ component: "component";
1570
+ }>>;
1571
+ confidence: z.ZodEnum<{
1572
+ measured: "measured";
1573
+ instrumented: "instrumented";
1574
+ inferred: "inferred";
1575
+ unresolved: "unresolved";
1576
+ }>;
1577
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1578
+ blastRadius: z.ZodDefault<z.ZodNumber>;
1579
+ }, z.core.$strip>>>;
1580
+ selectedMappingId: z.ZodOptional<z.ZodString>;
1581
+ scope: z.ZodDefault<z.ZodEnum<{
1582
+ instance: "instance";
1583
+ variant: "variant";
1584
+ component: "component";
1585
+ }>>;
1586
+ context: z.ZodObject<{
1587
+ breakpoint: z.ZodDefault<z.ZodString>;
1588
+ theme: z.ZodDefault<z.ZodString>;
1589
+ state: z.ZodDefault<z.ZodString>;
1590
+ }, z.core.$strip>;
1591
+ confidence: z.ZodEnum<{
1592
+ measured: "measured";
1593
+ instrumented: "instrumented";
1594
+ inferred: "inferred";
1595
+ unresolved: "unresolved";
1596
+ }>;
1597
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1598
+ createdAt: z.ZodString;
1599
+ updatedAt: z.ZodString;
1600
+ status: z.ZodDefault<z.ZodEnum<{
1601
+ unresolved: "unresolved";
1602
+ draft: "draft";
1603
+ approved: "approved";
1604
+ applied: "applied";
1605
+ rejected: "rejected";
1606
+ }>>;
1607
+ }, z.core.$strip>>>;
1608
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1609
+ id: z.ZodString;
1610
+ kind: z.ZodEnum<{
1611
+ spacing: "spacing";
1612
+ content: "content";
1613
+ state: "state";
1614
+ motion: "motion";
1615
+ resize: "resize";
1616
+ align: "align";
1617
+ distribute: "distribute";
1618
+ style: "style";
1619
+ "component-variant": "component-variant";
1620
+ "token-refactor": "token-refactor";
1621
+ }>;
1622
+ label: z.ZodString;
1623
+ targetIds: z.ZodArray<z.ZodString>;
1624
+ changeIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1625
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1626
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
1627
+ id: z.ZodString;
1628
+ label: z.ZodString;
1629
+ intent: z.ZodEnum<{
1630
+ spacing: "spacing";
1631
+ content: "content";
1632
+ state: "state";
1633
+ motion: "motion";
1634
+ resize: "resize";
1635
+ align: "align";
1636
+ distribute: "distribute";
1637
+ position: "position";
1638
+ style: "style";
1639
+ "component-variant": "component-variant";
1640
+ "token-refactor": "token-refactor";
1641
+ }>;
1642
+ property: z.ZodString;
1643
+ targetId: z.ZodOptional<z.ZodString>;
1644
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1645
+ source: z.ZodOptional<z.ZodObject<{
1646
+ file: z.ZodString;
1647
+ line: z.ZodOptional<z.ZodNumber>;
1648
+ column: z.ZodOptional<z.ZodNumber>;
1649
+ symbol: z.ZodOptional<z.ZodString>;
1650
+ }, z.core.$strip>>;
1651
+ scope: z.ZodDefault<z.ZodEnum<{
1652
+ instance: "instance";
1653
+ variant: "variant";
1654
+ component: "component";
1655
+ }>>;
1656
+ confidence: z.ZodEnum<{
1657
+ measured: "measured";
1658
+ instrumented: "instrumented";
1659
+ inferred: "inferred";
1660
+ unresolved: "unresolved";
1661
+ }>;
1662
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1663
+ blastRadius: z.ZodDefault<z.ZodNumber>;
1664
+ }, z.core.$strip>>>;
1665
+ selectedMappingId: z.ZodOptional<z.ZodString>;
1666
+ status: z.ZodDefault<z.ZodEnum<{
1667
+ unresolved: "unresolved";
1668
+ resolved: "resolved";
1669
+ preview: "preview";
1670
+ }>>;
1671
+ createdAt: z.ZodString;
1672
+ updatedAt: z.ZodString;
1673
+ }, z.core.$strip>>>;
1674
+ sourceRelationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
1675
+ targetId: z.ZodString;
1676
+ targetLabel: z.ZodString;
1677
+ property: z.ZodString;
1678
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
1679
+ source: z.ZodOptional<z.ZodObject<{
1680
+ file: z.ZodString;
1681
+ line: z.ZodOptional<z.ZodNumber>;
1682
+ column: z.ZodOptional<z.ZodNumber>;
1683
+ symbol: z.ZodOptional<z.ZodString>;
1684
+ }, z.core.$strip>>;
1685
+ }, z.core.$strip>>>;
1686
+ compatibility: z.ZodObject<{
1687
+ status: z.ZodEnum<{
1688
+ current: "current";
1689
+ stale: "stale";
1690
+ missing: "missing";
1691
+ }>;
1692
+ matchedSources: z.ZodNumber;
1693
+ totalSources: z.ZodNumber;
1694
+ warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
1695
+ checkedAt: z.ZodString;
1696
+ }, z.core.$strip>;
1697
+ importedAt: z.ZodOptional<z.ZodString>;
1698
+ createdAt: z.ZodString;
1699
+ updatedAt: z.ZodString;
1700
+ }, z.core.$strip>;
1701
+ export declare const designBranchRecordBundleSchema: z.ZodObject<{
1702
+ format: z.ZodLiteral<"foundry.design-branch-records">;
1703
+ version: z.ZodLiteral<1>;
1704
+ exportedAt: z.ZodString;
1705
+ records: z.ZodArray<z.ZodObject<{
1706
+ version: z.ZodLiteral<1>;
1707
+ id: z.ZodString;
1708
+ branchId: z.ZodString;
1709
+ name: z.ZodString;
1710
+ outcome: z.ZodEnum<{
1711
+ rejected: "rejected";
1712
+ chosen: "chosen";
1713
+ }>;
1714
+ rationale: z.ZodOptional<z.ZodString>;
1715
+ context: z.ZodObject<{
1716
+ projectRoot: z.ZodString;
1717
+ revision: z.ZodOptional<z.ZodString>;
1718
+ designGraphRevision: z.ZodOptional<z.ZodString>;
1719
+ platform: z.ZodEnum<{
1720
+ web: "web";
1721
+ swiftui: "swiftui";
1722
+ "react-native": "react-native";
1723
+ }>;
1724
+ targetUrl: z.ZodOptional<z.ZodString>;
1725
+ targetName: z.ZodOptional<z.ZodString>;
1726
+ device: z.ZodOptional<z.ZodString>;
1727
+ viewport: z.ZodOptional<z.ZodObject<{
1728
+ width: z.ZodNumber;
1729
+ height: z.ZodNumber;
1730
+ }, z.core.$strip>>;
1731
+ theme: z.ZodDefault<z.ZodEnum<{
1732
+ light: "light";
1733
+ dark: "dark";
1734
+ system: "system";
1735
+ custom: "custom";
1736
+ }>>;
1737
+ breakpoint: z.ZodDefault<z.ZodString>;
1738
+ state: z.ZodDefault<z.ZodString>;
1739
+ }, z.core.$strip>;
1740
+ changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
1741
+ id: z.ZodString;
1742
+ target: z.ZodObject<{
1743
+ id: z.ZodString;
1744
+ platform: z.ZodEnum<{
1745
+ web: "web";
1746
+ swiftui: "swiftui";
1747
+ "react-native": "react-native";
1748
+ }>;
1749
+ semanticRole: z.ZodDefault<z.ZodString>;
1750
+ label: z.ZodDefault<z.ZodString>;
1751
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
1752
+ source: z.ZodOptional<z.ZodObject<{
1753
+ file: z.ZodString;
1754
+ line: z.ZodOptional<z.ZodNumber>;
1755
+ column: z.ZodOptional<z.ZodNumber>;
1756
+ symbol: z.ZodOptional<z.ZodString>;
1757
+ }, z.core.$strip>>;
1758
+ geometry: z.ZodObject<{
1759
+ x: z.ZodNumber;
1760
+ y: z.ZodNumber;
1761
+ width: z.ZodNumber;
1762
+ height: z.ZodNumber;
1763
+ scale: z.ZodDefault<z.ZodNumber>;
1764
+ }, z.core.$strip>;
1765
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1766
+ confidence: z.ZodEnum<{
1767
+ measured: "measured";
1768
+ instrumented: "instrumented";
1769
+ inferred: "inferred";
1770
+ unresolved: "unresolved";
1771
+ }>;
1772
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1773
+ }, z.core.$strip>;
1774
+ category: z.ZodEnum<{
1775
+ layout: "layout";
1776
+ spacing: "spacing";
1777
+ typography: "typography";
1778
+ color: "color";
1779
+ border: "border";
1780
+ effect: "effect";
1781
+ content: "content";
1782
+ asset: "asset";
1783
+ visibility: "visibility";
1784
+ accessibility: "accessibility";
1785
+ responsive: "responsive";
1786
+ state: "state";
1787
+ motion: "motion";
1788
+ }>;
1789
+ property: z.ZodString;
1790
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1791
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1792
+ unit: z.ZodOptional<z.ZodString>;
1793
+ token: z.ZodOptional<z.ZodString>;
1794
+ operationId: z.ZodOptional<z.ZodString>;
1795
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1796
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
1797
+ id: z.ZodString;
1798
+ label: z.ZodString;
1799
+ intent: z.ZodEnum<{
1800
+ spacing: "spacing";
1801
+ content: "content";
1802
+ state: "state";
1803
+ motion: "motion";
1804
+ resize: "resize";
1805
+ align: "align";
1806
+ distribute: "distribute";
1807
+ position: "position";
1808
+ style: "style";
1809
+ "component-variant": "component-variant";
1810
+ "token-refactor": "token-refactor";
1811
+ }>;
1812
+ property: z.ZodString;
1813
+ targetId: z.ZodOptional<z.ZodString>;
1814
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1815
+ source: z.ZodOptional<z.ZodObject<{
1816
+ file: z.ZodString;
1817
+ line: z.ZodOptional<z.ZodNumber>;
1818
+ column: z.ZodOptional<z.ZodNumber>;
1819
+ symbol: z.ZodOptional<z.ZodString>;
1820
+ }, z.core.$strip>>;
1821
+ scope: z.ZodDefault<z.ZodEnum<{
1822
+ instance: "instance";
1823
+ variant: "variant";
1824
+ component: "component";
1825
+ }>>;
1826
+ confidence: z.ZodEnum<{
1827
+ measured: "measured";
1828
+ instrumented: "instrumented";
1829
+ inferred: "inferred";
1830
+ unresolved: "unresolved";
1831
+ }>;
1832
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1833
+ blastRadius: z.ZodDefault<z.ZodNumber>;
1834
+ }, z.core.$strip>>>;
1835
+ selectedMappingId: z.ZodOptional<z.ZodString>;
1836
+ scope: z.ZodDefault<z.ZodEnum<{
1837
+ instance: "instance";
1838
+ variant: "variant";
1839
+ component: "component";
1840
+ }>>;
1841
+ context: z.ZodObject<{
1842
+ breakpoint: z.ZodDefault<z.ZodString>;
1843
+ theme: z.ZodDefault<z.ZodString>;
1844
+ state: z.ZodDefault<z.ZodString>;
1845
+ }, z.core.$strip>;
1846
+ confidence: z.ZodEnum<{
1847
+ measured: "measured";
1848
+ instrumented: "instrumented";
1849
+ inferred: "inferred";
1850
+ unresolved: "unresolved";
1851
+ }>;
1852
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1853
+ createdAt: z.ZodString;
1854
+ updatedAt: z.ZodString;
1855
+ status: z.ZodDefault<z.ZodEnum<{
1856
+ unresolved: "unresolved";
1857
+ draft: "draft";
1858
+ approved: "approved";
1859
+ applied: "applied";
1860
+ rejected: "rejected";
1861
+ }>>;
1862
+ }, z.core.$strip>>>;
1863
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
1864
+ id: z.ZodString;
1865
+ kind: z.ZodEnum<{
1866
+ spacing: "spacing";
1867
+ content: "content";
1868
+ state: "state";
1869
+ motion: "motion";
1870
+ resize: "resize";
1871
+ align: "align";
1872
+ distribute: "distribute";
1873
+ style: "style";
1874
+ "component-variant": "component-variant";
1875
+ "token-refactor": "token-refactor";
1876
+ }>;
1877
+ label: z.ZodString;
1878
+ targetIds: z.ZodArray<z.ZodString>;
1879
+ changeIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1880
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
1881
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
1882
+ id: z.ZodString;
1883
+ label: z.ZodString;
1884
+ intent: z.ZodEnum<{
1885
+ spacing: "spacing";
1886
+ content: "content";
1887
+ state: "state";
1888
+ motion: "motion";
1889
+ resize: "resize";
1890
+ align: "align";
1891
+ distribute: "distribute";
1892
+ position: "position";
1893
+ style: "style";
1894
+ "component-variant": "component-variant";
1895
+ "token-refactor": "token-refactor";
1896
+ }>;
1897
+ property: z.ZodString;
1898
+ targetId: z.ZodOptional<z.ZodString>;
1899
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1900
+ source: z.ZodOptional<z.ZodObject<{
1901
+ file: z.ZodString;
1902
+ line: z.ZodOptional<z.ZodNumber>;
1903
+ column: z.ZodOptional<z.ZodNumber>;
1904
+ symbol: z.ZodOptional<z.ZodString>;
1905
+ }, z.core.$strip>>;
1906
+ scope: z.ZodDefault<z.ZodEnum<{
1907
+ instance: "instance";
1908
+ variant: "variant";
1909
+ component: "component";
1910
+ }>>;
1911
+ confidence: z.ZodEnum<{
1912
+ measured: "measured";
1913
+ instrumented: "instrumented";
1914
+ inferred: "inferred";
1915
+ unresolved: "unresolved";
1916
+ }>;
1917
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
1918
+ blastRadius: z.ZodDefault<z.ZodNumber>;
1919
+ }, z.core.$strip>>>;
1920
+ selectedMappingId: z.ZodOptional<z.ZodString>;
1921
+ status: z.ZodDefault<z.ZodEnum<{
1922
+ unresolved: "unresolved";
1923
+ resolved: "resolved";
1924
+ preview: "preview";
1925
+ }>>;
1926
+ createdAt: z.ZodString;
1927
+ updatedAt: z.ZodString;
1928
+ }, z.core.$strip>>>;
1929
+ sourceRelationships: z.ZodDefault<z.ZodArray<z.ZodObject<{
1930
+ targetId: z.ZodString;
1931
+ targetLabel: z.ZodString;
1932
+ property: z.ZodString;
1933
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
1934
+ source: z.ZodOptional<z.ZodObject<{
1935
+ file: z.ZodString;
1936
+ line: z.ZodOptional<z.ZodNumber>;
1937
+ column: z.ZodOptional<z.ZodNumber>;
1938
+ symbol: z.ZodOptional<z.ZodString>;
1939
+ }, z.core.$strip>>;
1940
+ }, z.core.$strip>>>;
1941
+ compatibility: z.ZodObject<{
1942
+ status: z.ZodEnum<{
1943
+ current: "current";
1944
+ stale: "stale";
1945
+ missing: "missing";
1946
+ }>;
1947
+ matchedSources: z.ZodNumber;
1948
+ totalSources: z.ZodNumber;
1949
+ warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
1950
+ checkedAt: z.ZodString;
1951
+ }, z.core.$strip>;
1952
+ importedAt: z.ZodOptional<z.ZodString>;
1953
+ createdAt: z.ZodString;
1954
+ updatedAt: z.ZodString;
1955
+ }, z.core.$strip>>;
1956
+ }, z.core.$strip>;
1957
+ export declare const verificationResultSchema: z.ZodObject<{
1958
+ changeId: z.ZodString;
1959
+ property: z.ZodString;
1960
+ requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1961
+ rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1962
+ passed: z.ZodBoolean;
1963
+ reason: z.ZodOptional<z.ZodString>;
1964
+ geometry: z.ZodOptional<z.ZodObject<{
1965
+ x: z.ZodNumber;
1966
+ y: z.ZodNumber;
1967
+ width: z.ZodNumber;
1968
+ height: z.ZodNumber;
1969
+ scale: z.ZodDefault<z.ZodNumber>;
1970
+ }, z.core.$strip>>;
1971
+ screenshotPath: z.ZodOptional<z.ZodString>;
1972
+ verifiedAt: z.ZodString;
1973
+ }, z.core.$strip>;
1974
+ export declare const applyRunStateSchema: z.ZodEnum<{
1975
+ passed: "passed";
1976
+ reviewing: "reviewing";
1977
+ queued: "queued";
1978
+ claimed: "claimed";
1979
+ applying: "applying";
1980
+ rebuilding: "rebuilding";
1981
+ verifying: "verifying";
1982
+ needs_attention: "needs_attention";
1983
+ cancelled: "cancelled";
1984
+ failed: "failed";
1985
+ }>;
1986
+ export declare const applyRunMessageSchema: z.ZodObject<{
1987
+ state: z.ZodEnum<{
1988
+ passed: "passed";
1989
+ reviewing: "reviewing";
1990
+ queued: "queued";
1991
+ claimed: "claimed";
1992
+ applying: "applying";
1993
+ rebuilding: "rebuilding";
1994
+ verifying: "verifying";
1995
+ needs_attention: "needs_attention";
1996
+ cancelled: "cancelled";
1997
+ failed: "failed";
1998
+ }>;
1999
+ message: z.ZodString;
2000
+ createdAt: z.ZodString;
2001
+ }, z.core.$strip>;
2002
+ export declare const validationResultSchema: z.ZodObject<{
2003
+ name: z.ZodString;
2004
+ passed: z.ZodBoolean;
2005
+ summary: z.ZodOptional<z.ZodString>;
2006
+ }, z.core.$strip>;
2007
+ export declare const applyRunSchema: z.ZodObject<{
2008
+ id: z.ZodString;
2009
+ sessionId: z.ZodString;
2010
+ changeIds: z.ZodArray<z.ZodString>;
2011
+ revision: z.ZodOptional<z.ZodString>;
2012
+ designGraphRevision: z.ZodOptional<z.ZodString>;
2013
+ state: z.ZodEnum<{
895
2014
  passed: "passed";
896
2015
  reviewing: "reviewing";
897
2016
  queued: "queued";
@@ -921,40 +2040,807 @@ export declare const applyRunSchema: z.ZodObject<{
921
2040
  cancelled: "cancelled";
922
2041
  failed: "failed";
923
2042
  }>;
924
- message: z.ZodString;
2043
+ message: z.ZodString;
2044
+ createdAt: z.ZodString;
2045
+ }, z.core.$strip>>>;
2046
+ changedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
2047
+ validationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
2048
+ name: z.ZodString;
2049
+ passed: z.ZodBoolean;
2050
+ summary: z.ZodOptional<z.ZodString>;
2051
+ }, z.core.$strip>>>;
2052
+ verificationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
2053
+ changeId: z.ZodString;
2054
+ property: z.ZodString;
2055
+ requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2056
+ rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2057
+ passed: z.ZodBoolean;
2058
+ reason: z.ZodOptional<z.ZodString>;
2059
+ geometry: z.ZodOptional<z.ZodObject<{
2060
+ x: z.ZodNumber;
2061
+ y: z.ZodNumber;
2062
+ width: z.ZodNumber;
2063
+ height: z.ZodNumber;
2064
+ scale: z.ZodDefault<z.ZodNumber>;
2065
+ }, z.core.$strip>>;
2066
+ screenshotPath: z.ZodOptional<z.ZodString>;
2067
+ verifiedAt: z.ZodString;
2068
+ }, z.core.$strip>>>;
2069
+ attempts: z.ZodDefault<z.ZodNumber>;
2070
+ claimAttemptId: z.ZodOptional<z.ZodString>;
2071
+ claimExpiresAt: z.ZodOptional<z.ZodString>;
2072
+ claimHeartbeatAt: z.ZodOptional<z.ZodString>;
2073
+ requeueCount: z.ZodDefault<z.ZodNumber>;
2074
+ interruptedState: z.ZodOptional<z.ZodEnum<{
2075
+ applying: "applying";
2076
+ rebuilding: "rebuilding";
2077
+ verifying: "verifying";
2078
+ }>>;
2079
+ resumedAt: z.ZodOptional<z.ZodString>;
2080
+ retryOf: z.ZodOptional<z.ZodString>;
2081
+ error: z.ZodOptional<z.ZodString>;
2082
+ requestedAt: z.ZodString;
2083
+ claimedAt: z.ZodOptional<z.ZodString>;
2084
+ completedAt: z.ZodOptional<z.ZodString>;
2085
+ updatedAt: z.ZodString;
2086
+ }, z.core.$strip>;
2087
+ export declare const deliveryRecordStatusSchema: z.ZodEnum<{
2088
+ draft: "draft";
2089
+ ready: "ready";
2090
+ implementing: "implementing";
2091
+ verified: "verified";
2092
+ superseded: "superseded";
2093
+ }>;
2094
+ export declare const deliveryNarrativeSourceSchema: z.ZodEnum<{
2095
+ agent: "agent";
2096
+ deterministic: "deterministic";
2097
+ authored: "authored";
2098
+ }>;
2099
+ export declare const deliveryAcceptanceCriterionSchema: z.ZodObject<{
2100
+ id: z.ZodString;
2101
+ label: z.ZodString;
2102
+ status: z.ZodDefault<z.ZodEnum<{
2103
+ passed: "passed";
2104
+ failed: "failed";
2105
+ pending: "pending";
2106
+ }>>;
2107
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2108
+ }, z.core.$strip>;
2109
+ export declare const deliveryRecordSchema: z.ZodObject<{
2110
+ version: z.ZodLiteral<1>;
2111
+ id: z.ZodString;
2112
+ sessionId: z.ZodString;
2113
+ applyRunId: z.ZodString;
2114
+ title: z.ZodString;
2115
+ summary: z.ZodDefault<z.ZodString>;
2116
+ intent: z.ZodDefault<z.ZodString>;
2117
+ narrativeSource: z.ZodDefault<z.ZodEnum<{
2118
+ agent: "agent";
2119
+ deterministic: "deterministic";
2120
+ authored: "authored";
2121
+ }>>;
2122
+ status: z.ZodEnum<{
2123
+ draft: "draft";
2124
+ ready: "ready";
2125
+ implementing: "implementing";
2126
+ verified: "verified";
2127
+ superseded: "superseded";
2128
+ }>;
2129
+ changeIds: z.ZodArray<z.ZodString>;
2130
+ operationIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2131
+ affectedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
2132
+ affectedComponents: z.ZodDefault<z.ZodArray<z.ZodString>>;
2133
+ affectedTokens: z.ZodDefault<z.ZodArray<z.ZodString>>;
2134
+ contexts: z.ZodDefault<z.ZodArray<z.ZodObject<{
2135
+ breakpoint: z.ZodString;
2136
+ theme: z.ZodString;
2137
+ state: z.ZodString;
2138
+ }, z.core.$strip>>>;
2139
+ risks: z.ZodDefault<z.ZodArray<z.ZodString>>;
2140
+ questions: z.ZodDefault<z.ZodArray<z.ZodString>>;
2141
+ acceptanceCriteria: z.ZodDefault<z.ZodArray<z.ZodObject<{
2142
+ id: z.ZodString;
2143
+ label: z.ZodString;
2144
+ status: z.ZodDefault<z.ZodEnum<{
2145
+ passed: "passed";
2146
+ failed: "failed";
2147
+ pending: "pending";
2148
+ }>>;
2149
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2150
+ }, z.core.$strip>>>;
2151
+ blockers: z.ZodDefault<z.ZodArray<z.ZodString>>;
2152
+ validationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
2153
+ name: z.ZodString;
2154
+ passed: z.ZodBoolean;
2155
+ summary: z.ZodOptional<z.ZodString>;
2156
+ }, z.core.$strip>>>;
2157
+ verificationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
2158
+ changeId: z.ZodString;
2159
+ property: z.ZodString;
2160
+ requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2161
+ rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2162
+ passed: z.ZodBoolean;
2163
+ reason: z.ZodOptional<z.ZodString>;
2164
+ geometry: z.ZodOptional<z.ZodObject<{
2165
+ x: z.ZodNumber;
2166
+ y: z.ZodNumber;
2167
+ width: z.ZodNumber;
2168
+ height: z.ZodNumber;
2169
+ scale: z.ZodDefault<z.ZodNumber>;
2170
+ }, z.core.$strip>>;
2171
+ screenshotPath: z.ZodOptional<z.ZodString>;
2172
+ verifiedAt: z.ZodString;
2173
+ }, z.core.$strip>>>;
2174
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
2175
+ label: z.ZodString;
2176
+ path: z.ZodString;
2177
+ createdAt: z.ZodString;
2178
+ }, z.core.$strip>>>;
2179
+ revision: z.ZodOptional<z.ZodString>;
2180
+ designGraphRevision: z.ZodOptional<z.ZodString>;
2181
+ createdAt: z.ZodString;
2182
+ updatedAt: z.ZodString;
2183
+ verifiedAt: z.ZodOptional<z.ZodString>;
2184
+ supersededAt: z.ZodOptional<z.ZodString>;
2185
+ }, z.core.$strip>;
2186
+ export declare const documentationPageSchema: z.ZodObject<{
2187
+ version: z.ZodLiteral<1>;
2188
+ id: z.ZodString;
2189
+ kind: z.ZodEnum<{
2190
+ component: "component";
2191
+ system: "system";
2192
+ feature: "feature";
2193
+ screen: "screen";
2194
+ }>;
2195
+ slug: z.ZodString;
2196
+ title: z.ZodString;
2197
+ summary: z.ZodDefault<z.ZodString>;
2198
+ body: z.ZodDefault<z.ZodString>;
2199
+ narrativeSource: z.ZodDefault<z.ZodEnum<{
2200
+ agent: "agent";
2201
+ deterministic: "deterministic";
2202
+ authored: "authored";
2203
+ }>>;
2204
+ freshness: z.ZodDefault<z.ZodEnum<{
2205
+ current: "current";
2206
+ stale: "stale";
2207
+ conflicted: "conflicted";
2208
+ }>>;
2209
+ sourceFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
2210
+ componentIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2211
+ deliveryRecordIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2212
+ revision: z.ZodOptional<z.ZodString>;
2213
+ designGraphRevision: z.ZodOptional<z.ZodString>;
2214
+ contentHash: z.ZodString;
2215
+ exportedHash: z.ZodOptional<z.ZodString>;
2216
+ exportedPath: z.ZodOptional<z.ZodString>;
2217
+ createdAt: z.ZodString;
2218
+ updatedAt: z.ZodString;
2219
+ }, z.core.$strip>;
2220
+ export declare const designHistoryEntrySchema: z.ZodObject<{
2221
+ version: z.ZodLiteral<1>;
2222
+ id: z.ZodString;
2223
+ deliveryRecordId: z.ZodString;
2224
+ applyRunId: z.ZodString;
2225
+ title: z.ZodString;
2226
+ summary: z.ZodDefault<z.ZodString>;
2227
+ changeIds: z.ZodArray<z.ZodString>;
2228
+ affectedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
2229
+ contexts: z.ZodArray<z.ZodObject<{
2230
+ breakpoint: z.ZodString;
2231
+ theme: z.ZodString;
2232
+ state: z.ZodString;
2233
+ }, z.core.$strip>>;
2234
+ validationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
2235
+ name: z.ZodString;
2236
+ passed: z.ZodBoolean;
2237
+ summary: z.ZodOptional<z.ZodString>;
2238
+ }, z.core.$strip>>>;
2239
+ verificationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
2240
+ changeId: z.ZodString;
2241
+ property: z.ZodString;
2242
+ requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2243
+ rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2244
+ passed: z.ZodBoolean;
2245
+ reason: z.ZodOptional<z.ZodString>;
2246
+ geometry: z.ZodOptional<z.ZodObject<{
2247
+ x: z.ZodNumber;
2248
+ y: z.ZodNumber;
2249
+ width: z.ZodNumber;
2250
+ height: z.ZodNumber;
2251
+ scale: z.ZodDefault<z.ZodNumber>;
2252
+ }, z.core.$strip>>;
2253
+ screenshotPath: z.ZodOptional<z.ZodString>;
2254
+ verifiedAt: z.ZodString;
2255
+ }, z.core.$strip>>>;
2256
+ revision: z.ZodOptional<z.ZodString>;
2257
+ createdAt: z.ZodString;
2258
+ }, z.core.$strip>;
2259
+ export declare const deliveryMilestoneSchema: z.ZodObject<{
2260
+ version: z.ZodLiteral<1>;
2261
+ id: z.ZodString;
2262
+ name: z.ZodString;
2263
+ summary: z.ZodDefault<z.ZodString>;
2264
+ entryIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2265
+ status: z.ZodDefault<z.ZodEnum<{
2266
+ draft: "draft";
2267
+ published: "published";
2268
+ }>>;
2269
+ createdAt: z.ZodString;
2270
+ updatedAt: z.ZodString;
2271
+ publishedAt: z.ZodOptional<z.ZodString>;
2272
+ }, z.core.$strip>;
2273
+ export declare const visualAgentContextTargetSchema: z.ZodObject<{
2274
+ id: z.ZodString;
2275
+ selector: z.ZodString;
2276
+ label: z.ZodString;
2277
+ kind: z.ZodString;
2278
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2279
+ source: z.ZodOptional<z.ZodString>;
2280
+ confidence: z.ZodEnum<{
2281
+ measured: "measured";
2282
+ instrumented: "instrumented";
2283
+ inferred: "inferred";
2284
+ unresolved: "unresolved";
2285
+ }>;
2286
+ geometry: z.ZodObject<{
2287
+ x: z.ZodNumber;
2288
+ y: z.ZodNumber;
2289
+ width: z.ZodNumber;
2290
+ height: z.ZodNumber;
2291
+ scale: z.ZodDefault<z.ZodNumber>;
2292
+ }, z.core.$strip>;
2293
+ measurements: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
2294
+ }, z.core.$strip>;
2295
+ export declare const visualAgentCommentSchema: z.ZodObject<{
2296
+ id: z.ZodString;
2297
+ body: z.ZodString;
2298
+ targetId: z.ZodOptional<z.ZodString>;
2299
+ regionId: z.ZodOptional<z.ZodString>;
2300
+ createdAt: z.ZodString;
2301
+ }, z.core.$strip>;
2302
+ export declare const visualAgentContextSchema: z.ZodObject<{
2303
+ targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2304
+ id: z.ZodString;
2305
+ selector: z.ZodString;
2306
+ label: z.ZodString;
2307
+ kind: z.ZodString;
2308
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2309
+ source: z.ZodOptional<z.ZodString>;
2310
+ confidence: z.ZodEnum<{
2311
+ measured: "measured";
2312
+ instrumented: "instrumented";
2313
+ inferred: "inferred";
2314
+ unresolved: "unresolved";
2315
+ }>;
2316
+ geometry: z.ZodObject<{
2317
+ x: z.ZodNumber;
2318
+ y: z.ZodNumber;
2319
+ width: z.ZodNumber;
2320
+ height: z.ZodNumber;
2321
+ scale: z.ZodDefault<z.ZodNumber>;
2322
+ }, z.core.$strip>;
2323
+ measurements: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
2324
+ }, z.core.$strip>>>;
2325
+ region: z.ZodOptional<z.ZodObject<{
2326
+ id: z.ZodString;
2327
+ x: z.ZodNumber;
2328
+ y: z.ZodNumber;
2329
+ width: z.ZodNumber;
2330
+ height: z.ZodNumber;
2331
+ label: z.ZodDefault<z.ZodString>;
2332
+ }, z.core.$strip>>;
2333
+ comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2334
+ id: z.ZodString;
2335
+ body: z.ZodString;
2336
+ targetId: z.ZodOptional<z.ZodString>;
2337
+ regionId: z.ZodOptional<z.ZodString>;
2338
+ createdAt: z.ZodString;
2339
+ }, z.core.$strip>>>;
2340
+ viewport: z.ZodObject<{
2341
+ width: z.ZodNumber;
2342
+ height: z.ZodNumber;
2343
+ }, z.core.$strip>;
2344
+ breakpoint: z.ZodDefault<z.ZodString>;
2345
+ theme: z.ZodDefault<z.ZodString>;
2346
+ state: z.ZodDefault<z.ZodString>;
2347
+ tokens: z.ZodDefault<z.ZodArray<z.ZodObject<{
2348
+ id: z.ZodString;
2349
+ name: z.ZodString;
2350
+ value: z.ZodString;
2351
+ category: z.ZodEnum<{
2352
+ spacing: "spacing";
2353
+ typography: "typography";
2354
+ color: "color";
2355
+ motion: "motion";
2356
+ size: "size";
2357
+ radius: "radius";
2358
+ shadow: "shadow";
2359
+ other: "other";
2360
+ }>;
2361
+ cssVariable: z.ZodOptional<z.ZodString>;
2362
+ aliasOfTokenId: z.ZodOptional<z.ZodString>;
2363
+ aliasOfTokenName: z.ZodOptional<z.ZodString>;
2364
+ resolvedValue: z.ZodOptional<z.ZodString>;
2365
+ aliasChain: z.ZodOptional<z.ZodArray<z.ZodString>>;
2366
+ aliasStatus: z.ZodOptional<z.ZodEnum<{
2367
+ direct: "direct";
2368
+ resolved: "resolved";
2369
+ broken: "broken";
2370
+ circular: "circular";
2371
+ }>>;
2372
+ source: z.ZodOptional<z.ZodObject<{
2373
+ file: z.ZodString;
2374
+ line: z.ZodOptional<z.ZodNumber>;
2375
+ column: z.ZodOptional<z.ZodNumber>;
2376
+ symbol: z.ZodOptional<z.ZodString>;
2377
+ }, z.core.$strip>>;
2378
+ confidence: z.ZodDefault<z.ZodEnum<{
2379
+ measured: "measured";
2380
+ instrumented: "instrumented";
2381
+ inferred: "inferred";
2382
+ unresolved: "unresolved";
2383
+ }>>;
2384
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2385
+ }, z.core.$strip>>>;
2386
+ designGraphRevision: z.ZodOptional<z.ZodString>;
2387
+ }, z.core.$strip>;
2388
+ export declare const visualAgentProposalSchema: z.ZodObject<{
2389
+ id: z.ZodString;
2390
+ name: z.ZodString;
2391
+ summary: z.ZodString;
2392
+ reasoning: z.ZodDefault<z.ZodArray<z.ZodString>>;
2393
+ exactValues: z.ZodDefault<z.ZodArray<z.ZodString>>;
2394
+ sourceLocations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2395
+ responsiveImpact: z.ZodString;
2396
+ verificationPlan: z.ZodDefault<z.ZodArray<z.ZodString>>;
2397
+ changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2398
+ id: z.ZodString;
2399
+ target: z.ZodObject<{
2400
+ id: z.ZodString;
2401
+ platform: z.ZodEnum<{
2402
+ web: "web";
2403
+ swiftui: "swiftui";
2404
+ "react-native": "react-native";
2405
+ }>;
2406
+ semanticRole: z.ZodDefault<z.ZodString>;
2407
+ label: z.ZodDefault<z.ZodString>;
2408
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
2409
+ source: z.ZodOptional<z.ZodObject<{
2410
+ file: z.ZodString;
2411
+ line: z.ZodOptional<z.ZodNumber>;
2412
+ column: z.ZodOptional<z.ZodNumber>;
2413
+ symbol: z.ZodOptional<z.ZodString>;
2414
+ }, z.core.$strip>>;
2415
+ geometry: z.ZodObject<{
2416
+ x: z.ZodNumber;
2417
+ y: z.ZodNumber;
2418
+ width: z.ZodNumber;
2419
+ height: z.ZodNumber;
2420
+ scale: z.ZodDefault<z.ZodNumber>;
2421
+ }, z.core.$strip>;
2422
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2423
+ confidence: z.ZodEnum<{
2424
+ measured: "measured";
2425
+ instrumented: "instrumented";
2426
+ inferred: "inferred";
2427
+ unresolved: "unresolved";
2428
+ }>;
2429
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2430
+ }, z.core.$strip>;
2431
+ category: z.ZodEnum<{
2432
+ layout: "layout";
2433
+ spacing: "spacing";
2434
+ typography: "typography";
2435
+ color: "color";
2436
+ border: "border";
2437
+ effect: "effect";
2438
+ content: "content";
2439
+ asset: "asset";
2440
+ visibility: "visibility";
2441
+ accessibility: "accessibility";
2442
+ responsive: "responsive";
2443
+ state: "state";
2444
+ motion: "motion";
2445
+ }>;
2446
+ property: z.ZodString;
2447
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2448
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2449
+ unit: z.ZodOptional<z.ZodString>;
2450
+ token: z.ZodOptional<z.ZodString>;
2451
+ operationId: z.ZodOptional<z.ZodString>;
2452
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2453
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
2454
+ id: z.ZodString;
2455
+ label: z.ZodString;
2456
+ intent: z.ZodEnum<{
2457
+ spacing: "spacing";
2458
+ content: "content";
2459
+ state: "state";
2460
+ motion: "motion";
2461
+ resize: "resize";
2462
+ align: "align";
2463
+ distribute: "distribute";
2464
+ position: "position";
2465
+ style: "style";
2466
+ "component-variant": "component-variant";
2467
+ "token-refactor": "token-refactor";
2468
+ }>;
2469
+ property: z.ZodString;
2470
+ targetId: z.ZodOptional<z.ZodString>;
2471
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2472
+ source: z.ZodOptional<z.ZodObject<{
2473
+ file: z.ZodString;
2474
+ line: z.ZodOptional<z.ZodNumber>;
2475
+ column: z.ZodOptional<z.ZodNumber>;
2476
+ symbol: z.ZodOptional<z.ZodString>;
2477
+ }, z.core.$strip>>;
2478
+ scope: z.ZodDefault<z.ZodEnum<{
2479
+ instance: "instance";
2480
+ variant: "variant";
2481
+ component: "component";
2482
+ }>>;
2483
+ confidence: z.ZodEnum<{
2484
+ measured: "measured";
2485
+ instrumented: "instrumented";
2486
+ inferred: "inferred";
2487
+ unresolved: "unresolved";
2488
+ }>;
2489
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2490
+ blastRadius: z.ZodDefault<z.ZodNumber>;
2491
+ }, z.core.$strip>>>;
2492
+ selectedMappingId: z.ZodOptional<z.ZodString>;
2493
+ scope: z.ZodDefault<z.ZodEnum<{
2494
+ instance: "instance";
2495
+ variant: "variant";
2496
+ component: "component";
2497
+ }>>;
2498
+ context: z.ZodObject<{
2499
+ breakpoint: z.ZodDefault<z.ZodString>;
2500
+ theme: z.ZodDefault<z.ZodString>;
2501
+ state: z.ZodDefault<z.ZodString>;
2502
+ }, z.core.$strip>;
2503
+ confidence: z.ZodEnum<{
2504
+ measured: "measured";
2505
+ instrumented: "instrumented";
2506
+ inferred: "inferred";
2507
+ unresolved: "unresolved";
2508
+ }>;
2509
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
925
2510
  createdAt: z.ZodString;
2511
+ updatedAt: z.ZodString;
2512
+ status: z.ZodDefault<z.ZodEnum<{
2513
+ unresolved: "unresolved";
2514
+ draft: "draft";
2515
+ approved: "approved";
2516
+ applied: "applied";
2517
+ rejected: "rejected";
2518
+ }>>;
926
2519
  }, z.core.$strip>>>;
927
- changedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
928
- validationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
929
- name: z.ZodString;
930
- passed: z.ZodBoolean;
931
- summary: z.ZodOptional<z.ZodString>;
932
- }, z.core.$strip>>>;
933
- verificationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
934
- changeId: z.ZodString;
935
- property: z.ZodString;
936
- requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
937
- rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
938
- passed: z.ZodBoolean;
939
- reason: z.ZodOptional<z.ZodString>;
940
- geometry: z.ZodOptional<z.ZodObject<{
2520
+ branchId: z.ZodOptional<z.ZodString>;
2521
+ status: z.ZodDefault<z.ZodEnum<{
2522
+ rejected: "rejected";
2523
+ proposed: "proposed";
2524
+ previewing: "previewing";
2525
+ promoted: "promoted";
2526
+ }>>;
2527
+ createdAt: z.ZodString;
2528
+ updatedAt: z.ZodString;
2529
+ }, z.core.$strip>;
2530
+ export declare const visualAgentMessageSchema: z.ZodObject<{
2531
+ id: z.ZodString;
2532
+ role: z.ZodEnum<{
2533
+ system: "system";
2534
+ agent: "agent";
2535
+ user: "user";
2536
+ }>;
2537
+ body: z.ZodString;
2538
+ createdAt: z.ZodString;
2539
+ }, z.core.$strip>;
2540
+ export declare const visualAgentRequestSchema: z.ZodObject<{
2541
+ id: z.ZodString;
2542
+ sessionId: z.ZodString;
2543
+ title: z.ZodString;
2544
+ prompt: z.ZodString;
2545
+ status: z.ZodEnum<{
2546
+ queued: "queued";
2547
+ needs_attention: "needs_attention";
2548
+ ready: "ready";
2549
+ thinking: "thinking";
2550
+ closed: "closed";
2551
+ }>;
2552
+ context: z.ZodObject<{
2553
+ targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2554
+ id: z.ZodString;
2555
+ selector: z.ZodString;
2556
+ label: z.ZodString;
2557
+ kind: z.ZodString;
2558
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2559
+ source: z.ZodOptional<z.ZodString>;
2560
+ confidence: z.ZodEnum<{
2561
+ measured: "measured";
2562
+ instrumented: "instrumented";
2563
+ inferred: "inferred";
2564
+ unresolved: "unresolved";
2565
+ }>;
2566
+ geometry: z.ZodObject<{
2567
+ x: z.ZodNumber;
2568
+ y: z.ZodNumber;
2569
+ width: z.ZodNumber;
2570
+ height: z.ZodNumber;
2571
+ scale: z.ZodDefault<z.ZodNumber>;
2572
+ }, z.core.$strip>;
2573
+ measurements: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
2574
+ }, z.core.$strip>>>;
2575
+ region: z.ZodOptional<z.ZodObject<{
2576
+ id: z.ZodString;
941
2577
  x: z.ZodNumber;
942
2578
  y: z.ZodNumber;
943
2579
  width: z.ZodNumber;
944
2580
  height: z.ZodNumber;
945
- scale: z.ZodDefault<z.ZodNumber>;
2581
+ label: z.ZodDefault<z.ZodString>;
946
2582
  }, z.core.$strip>>;
947
- screenshotPath: z.ZodOptional<z.ZodString>;
948
- verifiedAt: z.ZodString;
2583
+ comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2584
+ id: z.ZodString;
2585
+ body: z.ZodString;
2586
+ targetId: z.ZodOptional<z.ZodString>;
2587
+ regionId: z.ZodOptional<z.ZodString>;
2588
+ createdAt: z.ZodString;
2589
+ }, z.core.$strip>>>;
2590
+ viewport: z.ZodObject<{
2591
+ width: z.ZodNumber;
2592
+ height: z.ZodNumber;
2593
+ }, z.core.$strip>;
2594
+ breakpoint: z.ZodDefault<z.ZodString>;
2595
+ theme: z.ZodDefault<z.ZodString>;
2596
+ state: z.ZodDefault<z.ZodString>;
2597
+ tokens: z.ZodDefault<z.ZodArray<z.ZodObject<{
2598
+ id: z.ZodString;
2599
+ name: z.ZodString;
2600
+ value: z.ZodString;
2601
+ category: z.ZodEnum<{
2602
+ spacing: "spacing";
2603
+ typography: "typography";
2604
+ color: "color";
2605
+ motion: "motion";
2606
+ size: "size";
2607
+ radius: "radius";
2608
+ shadow: "shadow";
2609
+ other: "other";
2610
+ }>;
2611
+ cssVariable: z.ZodOptional<z.ZodString>;
2612
+ aliasOfTokenId: z.ZodOptional<z.ZodString>;
2613
+ aliasOfTokenName: z.ZodOptional<z.ZodString>;
2614
+ resolvedValue: z.ZodOptional<z.ZodString>;
2615
+ aliasChain: z.ZodOptional<z.ZodArray<z.ZodString>>;
2616
+ aliasStatus: z.ZodOptional<z.ZodEnum<{
2617
+ direct: "direct";
2618
+ resolved: "resolved";
2619
+ broken: "broken";
2620
+ circular: "circular";
2621
+ }>>;
2622
+ source: z.ZodOptional<z.ZodObject<{
2623
+ file: z.ZodString;
2624
+ line: z.ZodOptional<z.ZodNumber>;
2625
+ column: z.ZodOptional<z.ZodNumber>;
2626
+ symbol: z.ZodOptional<z.ZodString>;
2627
+ }, z.core.$strip>>;
2628
+ confidence: z.ZodDefault<z.ZodEnum<{
2629
+ measured: "measured";
2630
+ instrumented: "instrumented";
2631
+ inferred: "inferred";
2632
+ unresolved: "unresolved";
2633
+ }>>;
2634
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2635
+ }, z.core.$strip>>>;
2636
+ designGraphRevision: z.ZodOptional<z.ZodString>;
2637
+ }, z.core.$strip>;
2638
+ messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
2639
+ id: z.ZodString;
2640
+ role: z.ZodEnum<{
2641
+ system: "system";
2642
+ agent: "agent";
2643
+ user: "user";
2644
+ }>;
2645
+ body: z.ZodString;
2646
+ createdAt: z.ZodString;
949
2647
  }, z.core.$strip>>>;
950
- attempts: z.ZodDefault<z.ZodNumber>;
951
- retryOf: z.ZodOptional<z.ZodString>;
2648
+ proposals: z.ZodDefault<z.ZodArray<z.ZodObject<{
2649
+ id: z.ZodString;
2650
+ name: z.ZodString;
2651
+ summary: z.ZodString;
2652
+ reasoning: z.ZodDefault<z.ZodArray<z.ZodString>>;
2653
+ exactValues: z.ZodDefault<z.ZodArray<z.ZodString>>;
2654
+ sourceLocations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2655
+ responsiveImpact: z.ZodString;
2656
+ verificationPlan: z.ZodDefault<z.ZodArray<z.ZodString>>;
2657
+ changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2658
+ id: z.ZodString;
2659
+ target: z.ZodObject<{
2660
+ id: z.ZodString;
2661
+ platform: z.ZodEnum<{
2662
+ web: "web";
2663
+ swiftui: "swiftui";
2664
+ "react-native": "react-native";
2665
+ }>;
2666
+ semanticRole: z.ZodDefault<z.ZodString>;
2667
+ label: z.ZodDefault<z.ZodString>;
2668
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
2669
+ source: z.ZodOptional<z.ZodObject<{
2670
+ file: z.ZodString;
2671
+ line: z.ZodOptional<z.ZodNumber>;
2672
+ column: z.ZodOptional<z.ZodNumber>;
2673
+ symbol: z.ZodOptional<z.ZodString>;
2674
+ }, z.core.$strip>>;
2675
+ geometry: z.ZodObject<{
2676
+ x: z.ZodNumber;
2677
+ y: z.ZodNumber;
2678
+ width: z.ZodNumber;
2679
+ height: z.ZodNumber;
2680
+ scale: z.ZodDefault<z.ZodNumber>;
2681
+ }, z.core.$strip>;
2682
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2683
+ confidence: z.ZodEnum<{
2684
+ measured: "measured";
2685
+ instrumented: "instrumented";
2686
+ inferred: "inferred";
2687
+ unresolved: "unresolved";
2688
+ }>;
2689
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2690
+ }, z.core.$strip>;
2691
+ category: z.ZodEnum<{
2692
+ layout: "layout";
2693
+ spacing: "spacing";
2694
+ typography: "typography";
2695
+ color: "color";
2696
+ border: "border";
2697
+ effect: "effect";
2698
+ content: "content";
2699
+ asset: "asset";
2700
+ visibility: "visibility";
2701
+ accessibility: "accessibility";
2702
+ responsive: "responsive";
2703
+ state: "state";
2704
+ motion: "motion";
2705
+ }>;
2706
+ property: z.ZodString;
2707
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2708
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2709
+ unit: z.ZodOptional<z.ZodString>;
2710
+ token: z.ZodOptional<z.ZodString>;
2711
+ operationId: z.ZodOptional<z.ZodString>;
2712
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2713
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
2714
+ id: z.ZodString;
2715
+ label: z.ZodString;
2716
+ intent: z.ZodEnum<{
2717
+ spacing: "spacing";
2718
+ content: "content";
2719
+ state: "state";
2720
+ motion: "motion";
2721
+ resize: "resize";
2722
+ align: "align";
2723
+ distribute: "distribute";
2724
+ position: "position";
2725
+ style: "style";
2726
+ "component-variant": "component-variant";
2727
+ "token-refactor": "token-refactor";
2728
+ }>;
2729
+ property: z.ZodString;
2730
+ targetId: z.ZodOptional<z.ZodString>;
2731
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2732
+ source: z.ZodOptional<z.ZodObject<{
2733
+ file: z.ZodString;
2734
+ line: z.ZodOptional<z.ZodNumber>;
2735
+ column: z.ZodOptional<z.ZodNumber>;
2736
+ symbol: z.ZodOptional<z.ZodString>;
2737
+ }, z.core.$strip>>;
2738
+ scope: z.ZodDefault<z.ZodEnum<{
2739
+ instance: "instance";
2740
+ variant: "variant";
2741
+ component: "component";
2742
+ }>>;
2743
+ confidence: z.ZodEnum<{
2744
+ measured: "measured";
2745
+ instrumented: "instrumented";
2746
+ inferred: "inferred";
2747
+ unresolved: "unresolved";
2748
+ }>;
2749
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2750
+ blastRadius: z.ZodDefault<z.ZodNumber>;
2751
+ }, z.core.$strip>>>;
2752
+ selectedMappingId: z.ZodOptional<z.ZodString>;
2753
+ scope: z.ZodDefault<z.ZodEnum<{
2754
+ instance: "instance";
2755
+ variant: "variant";
2756
+ component: "component";
2757
+ }>>;
2758
+ context: z.ZodObject<{
2759
+ breakpoint: z.ZodDefault<z.ZodString>;
2760
+ theme: z.ZodDefault<z.ZodString>;
2761
+ state: z.ZodDefault<z.ZodString>;
2762
+ }, z.core.$strip>;
2763
+ confidence: z.ZodEnum<{
2764
+ measured: "measured";
2765
+ instrumented: "instrumented";
2766
+ inferred: "inferred";
2767
+ unresolved: "unresolved";
2768
+ }>;
2769
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2770
+ createdAt: z.ZodString;
2771
+ updatedAt: z.ZodString;
2772
+ status: z.ZodDefault<z.ZodEnum<{
2773
+ unresolved: "unresolved";
2774
+ draft: "draft";
2775
+ approved: "approved";
2776
+ applied: "applied";
2777
+ rejected: "rejected";
2778
+ }>>;
2779
+ }, z.core.$strip>>>;
2780
+ branchId: z.ZodOptional<z.ZodString>;
2781
+ status: z.ZodDefault<z.ZodEnum<{
2782
+ rejected: "rejected";
2783
+ proposed: "proposed";
2784
+ previewing: "previewing";
2785
+ promoted: "promoted";
2786
+ }>>;
2787
+ createdAt: z.ZodString;
2788
+ updatedAt: z.ZodString;
2789
+ }, z.core.$strip>>>;
2790
+ agent: z.ZodOptional<z.ZodObject<{
2791
+ name: z.ZodString;
2792
+ version: z.ZodOptional<z.ZodString>;
2793
+ taskId: z.ZodOptional<z.ZodString>;
2794
+ }, z.core.$strip>>;
2795
+ claimAttemptId: z.ZodOptional<z.ZodString>;
2796
+ claimExpiresAt: z.ZodOptional<z.ZodString>;
952
2797
  error: z.ZodOptional<z.ZodString>;
953
- requestedAt: z.ZodString;
954
- claimedAt: z.ZodOptional<z.ZodString>;
955
- completedAt: z.ZodOptional<z.ZodString>;
2798
+ createdAt: z.ZodString;
956
2799
  updatedAt: z.ZodString;
957
2800
  }, z.core.$strip>;
2801
+ export declare const stressConditionIdSchema: z.ZodEnum<{
2802
+ "long-content": "long-content";
2803
+ "empty-content": "empty-content";
2804
+ "large-numbers": "large-numbers";
2805
+ "missing-images": "missing-images";
2806
+ "loading-state": "loading-state";
2807
+ "error-state": "error-state";
2808
+ "offline-state": "offline-state";
2809
+ "text-200": "text-200";
2810
+ "browser-zoom-200": "browser-zoom-200";
2811
+ "high-contrast": "high-contrast";
2812
+ monochrome: "monochrome";
2813
+ "reduced-motion": "reduced-motion";
2814
+ "keyboard-only": "keyboard-only";
2815
+ }>;
2816
+ export declare const stressTestSessionSchema: z.ZodObject<{
2817
+ conditions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2818
+ "long-content": "long-content";
2819
+ "empty-content": "empty-content";
2820
+ "large-numbers": "large-numbers";
2821
+ "missing-images": "missing-images";
2822
+ "loading-state": "loading-state";
2823
+ "error-state": "error-state";
2824
+ "offline-state": "offline-state";
2825
+ "text-200": "text-200";
2826
+ "browser-zoom-200": "browser-zoom-200";
2827
+ "high-contrast": "high-contrast";
2828
+ monochrome: "monochrome";
2829
+ "reduced-motion": "reduced-motion";
2830
+ "keyboard-only": "keyboard-only";
2831
+ }>>>;
2832
+ scope: z.ZodDefault<z.ZodEnum<{
2833
+ selection: "selection";
2834
+ canvas: "canvas";
2835
+ }>>;
2836
+ targetId: z.ZodOptional<z.ZodString>;
2837
+ viewport: z.ZodObject<{
2838
+ width: z.ZodNumber;
2839
+ height: z.ZodNumber;
2840
+ }, z.core.$strip>;
2841
+ temporary: z.ZodLiteral<true>;
2842
+ appliedAt: z.ZodString;
2843
+ }, z.core.$strip>;
958
2844
  export declare const surfaceSnapshotSchema: z.ZodObject<{
959
2845
  platform: z.ZodEnum<{
960
2846
  swiftui: "swiftui";
@@ -1053,6 +2939,7 @@ export declare const previewCommandSchema: z.ZodObject<{
1053
2939
  }, z.core.$strip>;
1054
2940
  export type Platform = z.infer<typeof platformSchema>;
1055
2941
  export type ChangeCategory = z.infer<typeof changeCategorySchema>;
2942
+ export type SourceRef = z.infer<typeof sourceRefSchema>;
1056
2943
  export type SessionContext = z.infer<typeof sessionContextSchema>;
1057
2944
  export type TargetRef = z.infer<typeof targetRefSchema>;
1058
2945
  export type ControlDescriptor = z.infer<typeof controlDescriptorSchema>;
@@ -1060,20 +2947,44 @@ export type DesignChange = z.infer<typeof designChangeSchema>;
1060
2947
  export type DesignChangeInput = z.input<typeof designChangeSchema>;
1061
2948
  export type DesignToken = z.infer<typeof designTokenSchema>;
1062
2949
  export type ComponentDefinition = z.infer<typeof componentDefinitionSchema>;
2950
+ export type ComponentVariantAxis = z.infer<typeof componentVariantAxisSchema>;
2951
+ export type ContainerQueryDefinition = z.infer<typeof containerQueryDefinitionSchema>;
1063
2952
  export type StateDefinition = z.infer<typeof stateDefinitionSchema>;
1064
2953
  export type BreakpointDefinition = z.infer<typeof breakpointDefinitionSchema>;
1065
2954
  export type ThemeDefinition = z.infer<typeof themeDefinitionSchema>;
1066
2955
  export type MotionPreset = z.infer<typeof motionPresetSchema>;
1067
2956
  export type ProjectDesignGraph = z.infer<typeof projectDesignGraphSchema>;
2957
+ export type DesignTokenUsage = z.infer<typeof designTokenUsageSchema>;
2958
+ export type DesignSystemFinding = z.infer<typeof designSystemFindingSchema>;
2959
+ export type TokenPromotionCandidate = z.infer<typeof tokenPromotionCandidateSchema>;
1068
2960
  export type SourceMappingCandidate = z.infer<typeof sourceMappingCandidateSchema>;
1069
2961
  export type DesignOperation = z.infer<typeof designOperationSchema>;
1070
2962
  export type DesignOperationInput = z.input<typeof designOperationSchema>;
1071
2963
  export type ChangeSet = z.infer<typeof changeSetSchema>;
2964
+ export type DesignBranch = z.infer<typeof designBranchSchema>;
2965
+ export type DesignBranchRecordSource = z.infer<typeof designBranchRecordSourceSchema>;
2966
+ export type DesignBranchRecord = z.infer<typeof designBranchRecordSchema>;
2967
+ export type DesignBranchRecordBundle = z.infer<typeof designBranchRecordBundleSchema>;
1072
2968
  export type VerificationResult = z.infer<typeof verificationResultSchema>;
1073
2969
  export type ApplyRunState = z.infer<typeof applyRunStateSchema>;
1074
2970
  export type ApplyRunMessage = z.infer<typeof applyRunMessageSchema>;
1075
2971
  export type ValidationResult = z.infer<typeof validationResultSchema>;
1076
2972
  export type ApplyRun = z.infer<typeof applyRunSchema>;
2973
+ export type DeliveryRecordStatus = z.infer<typeof deliveryRecordStatusSchema>;
2974
+ export type DeliveryNarrativeSource = z.infer<typeof deliveryNarrativeSourceSchema>;
2975
+ export type DeliveryAcceptanceCriterion = z.infer<typeof deliveryAcceptanceCriterionSchema>;
2976
+ export type DeliveryRecord = z.infer<typeof deliveryRecordSchema>;
2977
+ export type DocumentationPage = z.infer<typeof documentationPageSchema>;
2978
+ export type DesignHistoryEntry = z.infer<typeof designHistoryEntrySchema>;
2979
+ export type DeliveryMilestone = z.infer<typeof deliveryMilestoneSchema>;
2980
+ export type VisualAgentContextTarget = z.infer<typeof visualAgentContextTargetSchema>;
2981
+ export type VisualAgentComment = z.infer<typeof visualAgentCommentSchema>;
2982
+ export type VisualAgentContext = z.infer<typeof visualAgentContextSchema>;
2983
+ export type VisualAgentProposal = z.infer<typeof visualAgentProposalSchema>;
2984
+ export type VisualAgentMessage = z.infer<typeof visualAgentMessageSchema>;
2985
+ export type VisualAgentRequest = z.infer<typeof visualAgentRequestSchema>;
2986
+ export type StressConditionId = z.infer<typeof stressConditionIdSchema>;
2987
+ export type StressTestSession = z.infer<typeof stressTestSessionSchema>;
1077
2988
  export type SurfaceSnapshot = z.infer<typeof surfaceSnapshotSchema>;
1078
2989
  export type PreviewCommand = z.infer<typeof previewCommandSchema>;
1079
2990
  export declare function changeKey(change: DesignChange): string;