foundry-design-protocol 0.2.0-beta.17 → 0.2.0-beta.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -164,6 +164,16 @@ export declare const designTokenSchema: z.ZodObject<{
164
164
  other: "other";
165
165
  }>;
166
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
+ }>>;
167
177
  source: z.ZodOptional<z.ZodObject<{
168
178
  file: z.ZodString;
169
179
  line: z.ZodOptional<z.ZodNumber>;
@@ -178,6 +188,45 @@ export declare const designTokenSchema: z.ZodObject<{
178
188
  }>>;
179
189
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
180
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>;
181
230
  export declare const componentVariantSchema: z.ZodObject<{
182
231
  id: z.ZodString;
183
232
  label: z.ZodString;
@@ -190,6 +239,34 @@ export declare const componentVariantSchema: z.ZodObject<{
190
239
  column: z.ZodOptional<z.ZodNumber>;
191
240
  symbol: z.ZodOptional<z.ZodString>;
192
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>>;
193
270
  }, z.core.$strip>;
194
271
  export declare const componentDefinitionSchema: z.ZodObject<{
195
272
  id: z.ZodString;
@@ -214,6 +291,34 @@ export declare const componentDefinitionSchema: z.ZodObject<{
214
291
  column: z.ZodOptional<z.ZodNumber>;
215
292
  symbol: z.ZodOptional<z.ZodString>;
216
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>>;
217
322
  }, z.core.$strip>>>;
218
323
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
219
324
  }, z.core.$strip>;
@@ -255,6 +360,26 @@ export declare const breakpointDefinitionSchema: z.ZodObject<{
255
360
  symbol: z.ZodOptional<z.ZodString>;
256
361
  }, z.core.$strip>>;
257
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>;
258
383
  export declare const themeDefinitionSchema: z.ZodObject<{
259
384
  id: z.ZodString;
260
385
  label: z.ZodString;
@@ -274,12 +399,21 @@ export declare const motionPresetSchema: z.ZodObject<{
274
399
  duration: z.ZodOptional<z.ZodNumber>;
275
400
  easing: z.ZodOptional<z.ZodString>;
276
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>>;
277
410
  source: z.ZodOptional<z.ZodObject<{
278
411
  file: z.ZodString;
279
412
  line: z.ZodOptional<z.ZodNumber>;
280
413
  column: z.ZodOptional<z.ZodNumber>;
281
414
  symbol: z.ZodOptional<z.ZodString>;
282
415
  }, z.core.$strip>>;
416
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
283
417
  }, z.core.$strip>;
284
418
  export declare const designTokenUsageSchema: z.ZodObject<{
285
419
  id: z.ZodString;
@@ -366,6 +500,16 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
366
500
  other: "other";
367
501
  }>;
368
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
+ }>>;
369
513
  source: z.ZodOptional<z.ZodObject<{
370
514
  file: z.ZodString;
371
515
  line: z.ZodOptional<z.ZodNumber>;
@@ -403,6 +547,34 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
403
547
  column: z.ZodOptional<z.ZodNumber>;
404
548
  symbol: z.ZodOptional<z.ZodString>;
405
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>>;
406
578
  }, z.core.$strip>>>;
407
579
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
408
580
  }, z.core.$strip>>>;
@@ -419,6 +591,26 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
419
591
  symbol: z.ZodOptional<z.ZodString>;
420
592
  }, z.core.$strip>>;
421
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>>>;
422
614
  themes: z.ZodDefault<z.ZodArray<z.ZodObject<{
423
615
  id: z.ZodString;
424
616
  label: z.ZodString;
@@ -463,12 +655,21 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
463
655
  duration: z.ZodOptional<z.ZodNumber>;
464
656
  easing: z.ZodOptional<z.ZodString>;
465
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>>;
466
666
  source: z.ZodOptional<z.ZodObject<{
467
667
  file: z.ZodString;
468
668
  line: z.ZodOptional<z.ZodNumber>;
469
669
  column: z.ZodOptional<z.ZodNumber>;
470
670
  symbol: z.ZodOptional<z.ZodString>;
471
671
  }, z.core.$strip>>;
672
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
472
673
  }, z.core.$strip>>>;
473
674
  tokenUsages: z.ZodDefault<z.ZodArray<z.ZodObject<{
474
675
  id: z.ZodString;
@@ -536,6 +737,45 @@ export declare const projectDesignGraphSchema: z.ZodObject<{
536
737
  }, z.core.$strip>>;
537
738
  evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
538
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>>;
778
+ }, z.core.$strip>>>;
539
779
  indexedAt: z.ZodString;
540
780
  }, z.core.$strip>;
541
781
  export declare const sourceMappingCandidateSchema: z.ZodObject<{
@@ -551,6 +791,8 @@ export declare const sourceMappingCandidateSchema: z.ZodObject<{
551
791
  distribute: "distribute";
552
792
  position: "position";
553
793
  style: "style";
794
+ "component-variant": "component-variant";
795
+ "token-refactor": "token-refactor";
554
796
  }>;
555
797
  property: z.ZodString;
556
798
  targetId: z.ZodOptional<z.ZodString>;
@@ -586,6 +828,8 @@ export declare const designOperationSchema: z.ZodObject<{
586
828
  align: "align";
587
829
  distribute: "distribute";
588
830
  style: "style";
831
+ "component-variant": "component-variant";
832
+ "token-refactor": "token-refactor";
589
833
  }>;
590
834
  label: z.ZodString;
591
835
  targetIds: z.ZodArray<z.ZodString>;
@@ -604,6 +848,8 @@ export declare const designOperationSchema: z.ZodObject<{
604
848
  distribute: "distribute";
605
849
  position: "position";
606
850
  style: "style";
851
+ "component-variant": "component-variant";
852
+ "token-refactor": "token-refactor";
607
853
  }>;
608
854
  property: z.ZodString;
609
855
  targetId: z.ZodOptional<z.ZodString>;
@@ -631,8 +877,8 @@ export declare const designOperationSchema: z.ZodObject<{
631
877
  selectedMappingId: z.ZodOptional<z.ZodString>;
632
878
  status: z.ZodDefault<z.ZodEnum<{
633
879
  unresolved: "unresolved";
634
- preview: "preview";
635
880
  resolved: "resolved";
881
+ preview: "preview";
636
882
  }>>;
637
883
  createdAt: z.ZodString;
638
884
  updatedAt: z.ZodString;
@@ -706,6 +952,8 @@ export declare const designChangeSchema: z.ZodObject<{
706
952
  distribute: "distribute";
707
953
  position: "position";
708
954
  style: "style";
955
+ "component-variant": "component-variant";
956
+ "token-refactor": "token-refactor";
709
957
  }>;
710
958
  property: z.ZodString;
711
959
  targetId: z.ZodOptional<z.ZodString>;
@@ -855,6 +1103,8 @@ export declare const changeSetSchema: z.ZodObject<{
855
1103
  distribute: "distribute";
856
1104
  position: "position";
857
1105
  style: "style";
1106
+ "component-variant": "component-variant";
1107
+ "token-refactor": "token-refactor";
858
1108
  }>;
859
1109
  property: z.ZodString;
860
1110
  targetId: z.ZodOptional<z.ZodString>;
@@ -918,6 +1168,8 @@ export declare const changeSetSchema: z.ZodObject<{
918
1168
  align: "align";
919
1169
  distribute: "distribute";
920
1170
  style: "style";
1171
+ "component-variant": "component-variant";
1172
+ "token-refactor": "token-refactor";
921
1173
  }>;
922
1174
  label: z.ZodString;
923
1175
  targetIds: z.ZodArray<z.ZodString>;
@@ -936,6 +1188,8 @@ export declare const changeSetSchema: z.ZodObject<{
936
1188
  distribute: "distribute";
937
1189
  position: "position";
938
1190
  style: "style";
1191
+ "component-variant": "component-variant";
1192
+ "token-refactor": "token-refactor";
939
1193
  }>;
940
1194
  property: z.ZodString;
941
1195
  targetId: z.ZodOptional<z.ZodString>;
@@ -963,8 +1217,8 @@ export declare const changeSetSchema: z.ZodObject<{
963
1217
  selectedMappingId: z.ZodOptional<z.ZodString>;
964
1218
  status: z.ZodDefault<z.ZodEnum<{
965
1219
  unresolved: "unresolved";
966
- preview: "preview";
967
1220
  resolved: "resolved";
1221
+ preview: "preview";
968
1222
  }>>;
969
1223
  createdAt: z.ZodString;
970
1224
  updatedAt: z.ZodString;
@@ -1057,6 +1311,8 @@ export declare const designBranchSchema: z.ZodObject<{
1057
1311
  distribute: "distribute";
1058
1312
  position: "position";
1059
1313
  style: "style";
1314
+ "component-variant": "component-variant";
1315
+ "token-refactor": "token-refactor";
1060
1316
  }>;
1061
1317
  property: z.ZodString;
1062
1318
  targetId: z.ZodOptional<z.ZodString>;
@@ -1120,6 +1376,8 @@ export declare const designBranchSchema: z.ZodObject<{
1120
1376
  align: "align";
1121
1377
  distribute: "distribute";
1122
1378
  style: "style";
1379
+ "component-variant": "component-variant";
1380
+ "token-refactor": "token-refactor";
1123
1381
  }>;
1124
1382
  label: z.ZodString;
1125
1383
  targetIds: z.ZodArray<z.ZodString>;
@@ -1138,6 +1396,8 @@ export declare const designBranchSchema: z.ZodObject<{
1138
1396
  distribute: "distribute";
1139
1397
  position: "position";
1140
1398
  style: "style";
1399
+ "component-variant": "component-variant";
1400
+ "token-refactor": "token-refactor";
1141
1401
  }>;
1142
1402
  property: z.ZodString;
1143
1403
  targetId: z.ZodOptional<z.ZodString>;
@@ -1165,8 +1425,8 @@ export declare const designBranchSchema: z.ZodObject<{
1165
1425
  selectedMappingId: z.ZodOptional<z.ZodString>;
1166
1426
  status: z.ZodDefault<z.ZodEnum<{
1167
1427
  unresolved: "unresolved";
1168
- preview: "preview";
1169
1428
  resolved: "resolved";
1429
+ preview: "preview";
1170
1430
  }>>;
1171
1431
  createdAt: z.ZodString;
1172
1432
  updatedAt: z.ZodString;
@@ -1175,136 +1435,1226 @@ export declare const designBranchSchema: z.ZodObject<{
1175
1435
  createdAt: z.ZodString;
1176
1436
  updatedAt: z.ZodString;
1177
1437
  }, z.core.$strip>;
1178
- export declare const verificationResultSchema: z.ZodObject<{
1179
- changeId: z.ZodString;
1438
+ export declare const designBranchRecordSourceSchema: z.ZodObject<{
1439
+ targetId: z.ZodString;
1440
+ targetLabel: z.ZodString;
1180
1441
  property: z.ZodString;
1181
- requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1182
- rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1183
- passed: z.ZodBoolean;
1184
- reason: z.ZodOptional<z.ZodString>;
1185
- geometry: z.ZodOptional<z.ZodObject<{
1186
- x: z.ZodNumber;
1187
- y: z.ZodNumber;
1188
- width: z.ZodNumber;
1189
- height: z.ZodNumber;
1190
- scale: z.ZodDefault<z.ZodNumber>;
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>;
1191
1448
  }, z.core.$strip>>;
1192
- screenshotPath: z.ZodOptional<z.ZodString>;
1193
- verifiedAt: z.ZodString;
1194
- }, z.core.$strip>;
1195
- export declare const applyRunStateSchema: z.ZodEnum<{
1196
- passed: "passed";
1197
- reviewing: "reviewing";
1198
- queued: "queued";
1199
- claimed: "claimed";
1200
- applying: "applying";
1201
- rebuilding: "rebuilding";
1202
- verifying: "verifying";
1203
- needs_attention: "needs_attention";
1204
- cancelled: "cancelled";
1205
- failed: "failed";
1206
- }>;
1207
- export declare const applyRunMessageSchema: z.ZodObject<{
1208
- state: z.ZodEnum<{
1209
- passed: "passed";
1210
- reviewing: "reviewing";
1211
- queued: "queued";
1212
- claimed: "claimed";
1213
- applying: "applying";
1214
- rebuilding: "rebuilding";
1215
- verifying: "verifying";
1216
- needs_attention: "needs_attention";
1217
- cancelled: "cancelled";
1218
- failed: "failed";
1219
- }>;
1220
- message: z.ZodString;
1221
- createdAt: z.ZodString;
1222
- }, z.core.$strip>;
1223
- export declare const validationResultSchema: z.ZodObject<{
1224
- name: z.ZodString;
1225
- passed: z.ZodBoolean;
1226
- summary: z.ZodOptional<z.ZodString>;
1227
1449
  }, z.core.$strip>;
1228
- export declare const applyRunSchema: z.ZodObject<{
1450
+ export declare const designBranchRecordSchema: z.ZodObject<{
1451
+ version: z.ZodLiteral<1>;
1229
1452
  id: z.ZodString;
1230
- sessionId: z.ZodString;
1231
- changeIds: z.ZodArray<z.ZodString>;
1232
- revision: z.ZodOptional<z.ZodString>;
1233
- designGraphRevision: z.ZodOptional<z.ZodString>;
1234
- state: z.ZodEnum<{
1235
- passed: "passed";
1236
- reviewing: "reviewing";
1237
- queued: "queued";
1238
- claimed: "claimed";
1239
- applying: "applying";
1240
- rebuilding: "rebuilding";
1241
- verifying: "verifying";
1242
- needs_attention: "needs_attention";
1243
- cancelled: "cancelled";
1244
- failed: "failed";
1453
+ branchId: z.ZodString;
1454
+ name: z.ZodString;
1455
+ outcome: z.ZodEnum<{
1456
+ rejected: "rejected";
1457
+ chosen: "chosen";
1245
1458
  }>;
1246
- agent: z.ZodOptional<z.ZodObject<{
1247
- name: z.ZodString;
1248
- version: z.ZodOptional<z.ZodString>;
1249
- taskId: z.ZodOptional<z.ZodString>;
1250
- }, z.core.$strip>>;
1251
- messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
1252
- state: z.ZodEnum<{
1253
- passed: "passed";
1254
- reviewing: "reviewing";
1255
- queued: "queued";
1256
- claimed: "claimed";
1257
- applying: "applying";
1258
- rebuilding: "rebuilding";
1259
- verifying: "verifying";
1260
- needs_attention: "needs_attention";
1261
- cancelled: "cancelled";
1262
- failed: "failed";
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";
1263
1468
  }>;
1264
- message: z.ZodString;
1265
- createdAt: z.ZodString;
1266
- }, z.core.$strip>>>;
1267
- changedFiles: z.ZodDefault<z.ZodArray<z.ZodString>>;
1268
- validationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
1269
- name: z.ZodString;
1270
- passed: z.ZodBoolean;
1271
- summary: z.ZodOptional<z.ZodString>;
1272
- }, z.core.$strip>>>;
1273
- verificationResults: z.ZodDefault<z.ZodArray<z.ZodObject<{
1274
- changeId: z.ZodString;
1275
- property: z.ZodString;
1276
- requested: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1277
- rendered: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
1278
- passed: z.ZodBoolean;
1279
- reason: z.ZodOptional<z.ZodString>;
1280
- geometry: z.ZodOptional<z.ZodObject<{
1281
- x: z.ZodNumber;
1282
- y: z.ZodNumber;
1469
+ targetUrl: z.ZodOptional<z.ZodString>;
1470
+ targetName: z.ZodOptional<z.ZodString>;
1471
+ device: z.ZodOptional<z.ZodString>;
1472
+ viewport: z.ZodOptional<z.ZodObject<{
1283
1473
  width: z.ZodNumber;
1284
1474
  height: z.ZodNumber;
1285
- scale: z.ZodDefault<z.ZodNumber>;
1286
1475
  }, z.core.$strip>>;
1287
- screenshotPath: z.ZodOptional<z.ZodString>;
1288
- verifiedAt: z.ZodString;
1289
- }, z.core.$strip>>>;
1290
- attempts: z.ZodDefault<z.ZodNumber>;
1291
- claimAttemptId: z.ZodOptional<z.ZodString>;
1292
- claimExpiresAt: z.ZodOptional<z.ZodString>;
1293
- claimHeartbeatAt: z.ZodOptional<z.ZodString>;
1294
- requeueCount: z.ZodDefault<z.ZodNumber>;
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<{
2014
+ passed: "passed";
2015
+ reviewing: "reviewing";
2016
+ queued: "queued";
2017
+ claimed: "claimed";
2018
+ applying: "applying";
2019
+ rebuilding: "rebuilding";
2020
+ verifying: "verifying";
2021
+ needs_attention: "needs_attention";
2022
+ cancelled: "cancelled";
2023
+ failed: "failed";
2024
+ }>;
2025
+ agent: z.ZodOptional<z.ZodObject<{
2026
+ name: z.ZodString;
2027
+ version: z.ZodOptional<z.ZodString>;
2028
+ taskId: z.ZodOptional<z.ZodString>;
2029
+ }, z.core.$strip>>;
2030
+ messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
2031
+ state: z.ZodEnum<{
2032
+ passed: "passed";
2033
+ reviewing: "reviewing";
2034
+ queued: "queued";
2035
+ claimed: "claimed";
2036
+ applying: "applying";
2037
+ rebuilding: "rebuilding";
2038
+ verifying: "verifying";
2039
+ needs_attention: "needs_attention";
2040
+ cancelled: "cancelled";
2041
+ failed: "failed";
2042
+ }>;
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>;
1295
2074
  interruptedState: z.ZodOptional<z.ZodEnum<{
1296
2075
  applying: "applying";
1297
2076
  rebuilding: "rebuilding";
1298
2077
  verifying: "verifying";
1299
2078
  }>>;
1300
- resumedAt: z.ZodOptional<z.ZodString>;
1301
- retryOf: z.ZodOptional<z.ZodString>;
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 visualAgentContextTargetSchema: z.ZodObject<{
2088
+ id: z.ZodString;
2089
+ selector: z.ZodString;
2090
+ label: z.ZodString;
2091
+ kind: z.ZodString;
2092
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2093
+ source: z.ZodOptional<z.ZodString>;
2094
+ confidence: z.ZodEnum<{
2095
+ measured: "measured";
2096
+ instrumented: "instrumented";
2097
+ inferred: "inferred";
2098
+ unresolved: "unresolved";
2099
+ }>;
2100
+ geometry: z.ZodObject<{
2101
+ x: z.ZodNumber;
2102
+ y: z.ZodNumber;
2103
+ width: z.ZodNumber;
2104
+ height: z.ZodNumber;
2105
+ scale: z.ZodDefault<z.ZodNumber>;
2106
+ }, z.core.$strip>;
2107
+ 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>]>>>;
2108
+ }, z.core.$strip>;
2109
+ export declare const visualAgentCommentSchema: z.ZodObject<{
2110
+ id: z.ZodString;
2111
+ body: z.ZodString;
2112
+ targetId: z.ZodOptional<z.ZodString>;
2113
+ regionId: z.ZodOptional<z.ZodString>;
2114
+ createdAt: z.ZodString;
2115
+ }, z.core.$strip>;
2116
+ export declare const visualAgentContextSchema: z.ZodObject<{
2117
+ targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2118
+ id: z.ZodString;
2119
+ selector: z.ZodString;
2120
+ label: z.ZodString;
2121
+ kind: z.ZodString;
2122
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2123
+ source: z.ZodOptional<z.ZodString>;
2124
+ confidence: z.ZodEnum<{
2125
+ measured: "measured";
2126
+ instrumented: "instrumented";
2127
+ inferred: "inferred";
2128
+ unresolved: "unresolved";
2129
+ }>;
2130
+ geometry: z.ZodObject<{
2131
+ x: z.ZodNumber;
2132
+ y: z.ZodNumber;
2133
+ width: z.ZodNumber;
2134
+ height: z.ZodNumber;
2135
+ scale: z.ZodDefault<z.ZodNumber>;
2136
+ }, z.core.$strip>;
2137
+ 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>]>>>;
2138
+ }, z.core.$strip>>>;
2139
+ region: z.ZodOptional<z.ZodObject<{
2140
+ id: z.ZodString;
2141
+ x: z.ZodNumber;
2142
+ y: z.ZodNumber;
2143
+ width: z.ZodNumber;
2144
+ height: z.ZodNumber;
2145
+ label: z.ZodDefault<z.ZodString>;
2146
+ }, z.core.$strip>>;
2147
+ comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2148
+ id: z.ZodString;
2149
+ body: z.ZodString;
2150
+ targetId: z.ZodOptional<z.ZodString>;
2151
+ regionId: z.ZodOptional<z.ZodString>;
2152
+ createdAt: z.ZodString;
2153
+ }, z.core.$strip>>>;
2154
+ viewport: z.ZodObject<{
2155
+ width: z.ZodNumber;
2156
+ height: z.ZodNumber;
2157
+ }, z.core.$strip>;
2158
+ breakpoint: z.ZodDefault<z.ZodString>;
2159
+ theme: z.ZodDefault<z.ZodString>;
2160
+ state: z.ZodDefault<z.ZodString>;
2161
+ tokens: z.ZodDefault<z.ZodArray<z.ZodObject<{
2162
+ id: z.ZodString;
2163
+ name: z.ZodString;
2164
+ value: z.ZodString;
2165
+ category: z.ZodEnum<{
2166
+ spacing: "spacing";
2167
+ typography: "typography";
2168
+ color: "color";
2169
+ motion: "motion";
2170
+ size: "size";
2171
+ radius: "radius";
2172
+ shadow: "shadow";
2173
+ other: "other";
2174
+ }>;
2175
+ cssVariable: z.ZodOptional<z.ZodString>;
2176
+ aliasOfTokenId: z.ZodOptional<z.ZodString>;
2177
+ aliasOfTokenName: z.ZodOptional<z.ZodString>;
2178
+ resolvedValue: z.ZodOptional<z.ZodString>;
2179
+ aliasChain: z.ZodOptional<z.ZodArray<z.ZodString>>;
2180
+ aliasStatus: z.ZodOptional<z.ZodEnum<{
2181
+ direct: "direct";
2182
+ resolved: "resolved";
2183
+ broken: "broken";
2184
+ circular: "circular";
2185
+ }>>;
2186
+ source: z.ZodOptional<z.ZodObject<{
2187
+ file: z.ZodString;
2188
+ line: z.ZodOptional<z.ZodNumber>;
2189
+ column: z.ZodOptional<z.ZodNumber>;
2190
+ symbol: z.ZodOptional<z.ZodString>;
2191
+ }, z.core.$strip>>;
2192
+ confidence: z.ZodDefault<z.ZodEnum<{
2193
+ measured: "measured";
2194
+ instrumented: "instrumented";
2195
+ inferred: "inferred";
2196
+ unresolved: "unresolved";
2197
+ }>>;
2198
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2199
+ }, z.core.$strip>>>;
2200
+ designGraphRevision: z.ZodOptional<z.ZodString>;
2201
+ }, z.core.$strip>;
2202
+ export declare const visualAgentProposalSchema: z.ZodObject<{
2203
+ id: z.ZodString;
2204
+ name: z.ZodString;
2205
+ summary: z.ZodString;
2206
+ reasoning: z.ZodDefault<z.ZodArray<z.ZodString>>;
2207
+ exactValues: z.ZodDefault<z.ZodArray<z.ZodString>>;
2208
+ sourceLocations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2209
+ responsiveImpact: z.ZodString;
2210
+ verificationPlan: z.ZodDefault<z.ZodArray<z.ZodString>>;
2211
+ changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2212
+ id: z.ZodString;
2213
+ target: z.ZodObject<{
2214
+ id: z.ZodString;
2215
+ platform: z.ZodEnum<{
2216
+ web: "web";
2217
+ swiftui: "swiftui";
2218
+ "react-native": "react-native";
2219
+ }>;
2220
+ semanticRole: z.ZodDefault<z.ZodString>;
2221
+ label: z.ZodDefault<z.ZodString>;
2222
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
2223
+ source: z.ZodOptional<z.ZodObject<{
2224
+ file: z.ZodString;
2225
+ line: z.ZodOptional<z.ZodNumber>;
2226
+ column: z.ZodOptional<z.ZodNumber>;
2227
+ symbol: z.ZodOptional<z.ZodString>;
2228
+ }, z.core.$strip>>;
2229
+ geometry: z.ZodObject<{
2230
+ x: z.ZodNumber;
2231
+ y: z.ZodNumber;
2232
+ width: z.ZodNumber;
2233
+ height: z.ZodNumber;
2234
+ scale: z.ZodDefault<z.ZodNumber>;
2235
+ }, z.core.$strip>;
2236
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2237
+ confidence: z.ZodEnum<{
2238
+ measured: "measured";
2239
+ instrumented: "instrumented";
2240
+ inferred: "inferred";
2241
+ unresolved: "unresolved";
2242
+ }>;
2243
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2244
+ }, z.core.$strip>;
2245
+ category: z.ZodEnum<{
2246
+ layout: "layout";
2247
+ spacing: "spacing";
2248
+ typography: "typography";
2249
+ color: "color";
2250
+ border: "border";
2251
+ effect: "effect";
2252
+ content: "content";
2253
+ asset: "asset";
2254
+ visibility: "visibility";
2255
+ accessibility: "accessibility";
2256
+ responsive: "responsive";
2257
+ state: "state";
2258
+ motion: "motion";
2259
+ }>;
2260
+ property: z.ZodString;
2261
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2262
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2263
+ unit: z.ZodOptional<z.ZodString>;
2264
+ token: z.ZodOptional<z.ZodString>;
2265
+ operationId: z.ZodOptional<z.ZodString>;
2266
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2267
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
2268
+ id: z.ZodString;
2269
+ label: z.ZodString;
2270
+ intent: z.ZodEnum<{
2271
+ spacing: "spacing";
2272
+ content: "content";
2273
+ state: "state";
2274
+ motion: "motion";
2275
+ resize: "resize";
2276
+ align: "align";
2277
+ distribute: "distribute";
2278
+ position: "position";
2279
+ style: "style";
2280
+ "component-variant": "component-variant";
2281
+ "token-refactor": "token-refactor";
2282
+ }>;
2283
+ property: z.ZodString;
2284
+ targetId: z.ZodOptional<z.ZodString>;
2285
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2286
+ source: z.ZodOptional<z.ZodObject<{
2287
+ file: z.ZodString;
2288
+ line: z.ZodOptional<z.ZodNumber>;
2289
+ column: z.ZodOptional<z.ZodNumber>;
2290
+ symbol: z.ZodOptional<z.ZodString>;
2291
+ }, z.core.$strip>>;
2292
+ scope: z.ZodDefault<z.ZodEnum<{
2293
+ instance: "instance";
2294
+ variant: "variant";
2295
+ component: "component";
2296
+ }>>;
2297
+ confidence: z.ZodEnum<{
2298
+ measured: "measured";
2299
+ instrumented: "instrumented";
2300
+ inferred: "inferred";
2301
+ unresolved: "unresolved";
2302
+ }>;
2303
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2304
+ blastRadius: z.ZodDefault<z.ZodNumber>;
2305
+ }, z.core.$strip>>>;
2306
+ selectedMappingId: z.ZodOptional<z.ZodString>;
2307
+ scope: z.ZodDefault<z.ZodEnum<{
2308
+ instance: "instance";
2309
+ variant: "variant";
2310
+ component: "component";
2311
+ }>>;
2312
+ context: z.ZodObject<{
2313
+ breakpoint: z.ZodDefault<z.ZodString>;
2314
+ theme: z.ZodDefault<z.ZodString>;
2315
+ state: z.ZodDefault<z.ZodString>;
2316
+ }, z.core.$strip>;
2317
+ confidence: z.ZodEnum<{
2318
+ measured: "measured";
2319
+ instrumented: "instrumented";
2320
+ inferred: "inferred";
2321
+ unresolved: "unresolved";
2322
+ }>;
2323
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2324
+ createdAt: z.ZodString;
2325
+ updatedAt: z.ZodString;
2326
+ status: z.ZodDefault<z.ZodEnum<{
2327
+ unresolved: "unresolved";
2328
+ draft: "draft";
2329
+ approved: "approved";
2330
+ applied: "applied";
2331
+ rejected: "rejected";
2332
+ }>>;
2333
+ }, z.core.$strip>>>;
2334
+ branchId: z.ZodOptional<z.ZodString>;
2335
+ status: z.ZodDefault<z.ZodEnum<{
2336
+ rejected: "rejected";
2337
+ proposed: "proposed";
2338
+ previewing: "previewing";
2339
+ promoted: "promoted";
2340
+ }>>;
2341
+ createdAt: z.ZodString;
2342
+ updatedAt: z.ZodString;
2343
+ }, z.core.$strip>;
2344
+ export declare const visualAgentMessageSchema: z.ZodObject<{
2345
+ id: z.ZodString;
2346
+ role: z.ZodEnum<{
2347
+ system: "system";
2348
+ agent: "agent";
2349
+ user: "user";
2350
+ }>;
2351
+ body: z.ZodString;
2352
+ createdAt: z.ZodString;
2353
+ }, z.core.$strip>;
2354
+ export declare const visualAgentRequestSchema: z.ZodObject<{
2355
+ id: z.ZodString;
2356
+ sessionId: z.ZodString;
2357
+ title: z.ZodString;
2358
+ prompt: z.ZodString;
2359
+ status: z.ZodEnum<{
2360
+ queued: "queued";
2361
+ needs_attention: "needs_attention";
2362
+ thinking: "thinking";
2363
+ ready: "ready";
2364
+ closed: "closed";
2365
+ }>;
2366
+ context: z.ZodObject<{
2367
+ targets: z.ZodDefault<z.ZodArray<z.ZodObject<{
2368
+ id: z.ZodString;
2369
+ selector: z.ZodString;
2370
+ label: z.ZodString;
2371
+ kind: z.ZodString;
2372
+ component: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2373
+ source: z.ZodOptional<z.ZodString>;
2374
+ confidence: z.ZodEnum<{
2375
+ measured: "measured";
2376
+ instrumented: "instrumented";
2377
+ inferred: "inferred";
2378
+ unresolved: "unresolved";
2379
+ }>;
2380
+ geometry: z.ZodObject<{
2381
+ x: z.ZodNumber;
2382
+ y: z.ZodNumber;
2383
+ width: z.ZodNumber;
2384
+ height: z.ZodNumber;
2385
+ scale: z.ZodDefault<z.ZodNumber>;
2386
+ }, z.core.$strip>;
2387
+ 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>]>>>;
2388
+ }, z.core.$strip>>>;
2389
+ region: z.ZodOptional<z.ZodObject<{
2390
+ id: z.ZodString;
2391
+ x: z.ZodNumber;
2392
+ y: z.ZodNumber;
2393
+ width: z.ZodNumber;
2394
+ height: z.ZodNumber;
2395
+ label: z.ZodDefault<z.ZodString>;
2396
+ }, z.core.$strip>>;
2397
+ comments: z.ZodDefault<z.ZodArray<z.ZodObject<{
2398
+ id: z.ZodString;
2399
+ body: z.ZodString;
2400
+ targetId: z.ZodOptional<z.ZodString>;
2401
+ regionId: z.ZodOptional<z.ZodString>;
2402
+ createdAt: z.ZodString;
2403
+ }, z.core.$strip>>>;
2404
+ viewport: z.ZodObject<{
2405
+ width: z.ZodNumber;
2406
+ height: z.ZodNumber;
2407
+ }, z.core.$strip>;
2408
+ breakpoint: z.ZodDefault<z.ZodString>;
2409
+ theme: z.ZodDefault<z.ZodString>;
2410
+ state: z.ZodDefault<z.ZodString>;
2411
+ tokens: z.ZodDefault<z.ZodArray<z.ZodObject<{
2412
+ id: z.ZodString;
2413
+ name: z.ZodString;
2414
+ value: z.ZodString;
2415
+ category: z.ZodEnum<{
2416
+ spacing: "spacing";
2417
+ typography: "typography";
2418
+ color: "color";
2419
+ motion: "motion";
2420
+ size: "size";
2421
+ radius: "radius";
2422
+ shadow: "shadow";
2423
+ other: "other";
2424
+ }>;
2425
+ cssVariable: z.ZodOptional<z.ZodString>;
2426
+ aliasOfTokenId: z.ZodOptional<z.ZodString>;
2427
+ aliasOfTokenName: z.ZodOptional<z.ZodString>;
2428
+ resolvedValue: z.ZodOptional<z.ZodString>;
2429
+ aliasChain: z.ZodOptional<z.ZodArray<z.ZodString>>;
2430
+ aliasStatus: z.ZodOptional<z.ZodEnum<{
2431
+ direct: "direct";
2432
+ resolved: "resolved";
2433
+ broken: "broken";
2434
+ circular: "circular";
2435
+ }>>;
2436
+ source: z.ZodOptional<z.ZodObject<{
2437
+ file: z.ZodString;
2438
+ line: z.ZodOptional<z.ZodNumber>;
2439
+ column: z.ZodOptional<z.ZodNumber>;
2440
+ symbol: z.ZodOptional<z.ZodString>;
2441
+ }, z.core.$strip>>;
2442
+ confidence: z.ZodDefault<z.ZodEnum<{
2443
+ measured: "measured";
2444
+ instrumented: "instrumented";
2445
+ inferred: "inferred";
2446
+ unresolved: "unresolved";
2447
+ }>>;
2448
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2449
+ }, z.core.$strip>>>;
2450
+ designGraphRevision: z.ZodOptional<z.ZodString>;
2451
+ }, z.core.$strip>;
2452
+ messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
2453
+ id: z.ZodString;
2454
+ role: z.ZodEnum<{
2455
+ system: "system";
2456
+ agent: "agent";
2457
+ user: "user";
2458
+ }>;
2459
+ body: z.ZodString;
2460
+ createdAt: z.ZodString;
2461
+ }, z.core.$strip>>>;
2462
+ proposals: z.ZodDefault<z.ZodArray<z.ZodObject<{
2463
+ id: z.ZodString;
2464
+ name: z.ZodString;
2465
+ summary: z.ZodString;
2466
+ reasoning: z.ZodDefault<z.ZodArray<z.ZodString>>;
2467
+ exactValues: z.ZodDefault<z.ZodArray<z.ZodString>>;
2468
+ sourceLocations: z.ZodDefault<z.ZodArray<z.ZodString>>;
2469
+ responsiveImpact: z.ZodString;
2470
+ verificationPlan: z.ZodDefault<z.ZodArray<z.ZodString>>;
2471
+ changes: z.ZodDefault<z.ZodArray<z.ZodObject<{
2472
+ id: z.ZodString;
2473
+ target: z.ZodObject<{
2474
+ id: z.ZodString;
2475
+ platform: z.ZodEnum<{
2476
+ web: "web";
2477
+ swiftui: "swiftui";
2478
+ "react-native": "react-native";
2479
+ }>;
2480
+ semanticRole: z.ZodDefault<z.ZodString>;
2481
+ label: z.ZodDefault<z.ZodString>;
2482
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
2483
+ source: z.ZodOptional<z.ZodObject<{
2484
+ file: z.ZodString;
2485
+ line: z.ZodOptional<z.ZodNumber>;
2486
+ column: z.ZodOptional<z.ZodNumber>;
2487
+ symbol: z.ZodOptional<z.ZodString>;
2488
+ }, z.core.$strip>>;
2489
+ geometry: z.ZodObject<{
2490
+ x: z.ZodNumber;
2491
+ y: z.ZodNumber;
2492
+ width: z.ZodNumber;
2493
+ height: z.ZodNumber;
2494
+ scale: z.ZodDefault<z.ZodNumber>;
2495
+ }, z.core.$strip>;
2496
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2497
+ confidence: z.ZodEnum<{
2498
+ measured: "measured";
2499
+ instrumented: "instrumented";
2500
+ inferred: "inferred";
2501
+ unresolved: "unresolved";
2502
+ }>;
2503
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2504
+ }, z.core.$strip>;
2505
+ category: z.ZodEnum<{
2506
+ layout: "layout";
2507
+ spacing: "spacing";
2508
+ typography: "typography";
2509
+ color: "color";
2510
+ border: "border";
2511
+ effect: "effect";
2512
+ content: "content";
2513
+ asset: "asset";
2514
+ visibility: "visibility";
2515
+ accessibility: "accessibility";
2516
+ responsive: "responsive";
2517
+ state: "state";
2518
+ motion: "motion";
2519
+ }>;
2520
+ property: z.ZodString;
2521
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2522
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2523
+ unit: z.ZodOptional<z.ZodString>;
2524
+ token: z.ZodOptional<z.ZodString>;
2525
+ operationId: z.ZodOptional<z.ZodString>;
2526
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
2527
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
2528
+ id: z.ZodString;
2529
+ label: z.ZodString;
2530
+ intent: z.ZodEnum<{
2531
+ spacing: "spacing";
2532
+ content: "content";
2533
+ state: "state";
2534
+ motion: "motion";
2535
+ resize: "resize";
2536
+ align: "align";
2537
+ distribute: "distribute";
2538
+ position: "position";
2539
+ style: "style";
2540
+ "component-variant": "component-variant";
2541
+ "token-refactor": "token-refactor";
2542
+ }>;
2543
+ property: z.ZodString;
2544
+ targetId: z.ZodOptional<z.ZodString>;
2545
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
2546
+ source: z.ZodOptional<z.ZodObject<{
2547
+ file: z.ZodString;
2548
+ line: z.ZodOptional<z.ZodNumber>;
2549
+ column: z.ZodOptional<z.ZodNumber>;
2550
+ symbol: z.ZodOptional<z.ZodString>;
2551
+ }, z.core.$strip>>;
2552
+ scope: z.ZodDefault<z.ZodEnum<{
2553
+ instance: "instance";
2554
+ variant: "variant";
2555
+ component: "component";
2556
+ }>>;
2557
+ confidence: z.ZodEnum<{
2558
+ measured: "measured";
2559
+ instrumented: "instrumented";
2560
+ inferred: "inferred";
2561
+ unresolved: "unresolved";
2562
+ }>;
2563
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2564
+ blastRadius: z.ZodDefault<z.ZodNumber>;
2565
+ }, z.core.$strip>>>;
2566
+ selectedMappingId: z.ZodOptional<z.ZodString>;
2567
+ scope: z.ZodDefault<z.ZodEnum<{
2568
+ instance: "instance";
2569
+ variant: "variant";
2570
+ component: "component";
2571
+ }>>;
2572
+ context: z.ZodObject<{
2573
+ breakpoint: z.ZodDefault<z.ZodString>;
2574
+ theme: z.ZodDefault<z.ZodString>;
2575
+ state: z.ZodDefault<z.ZodString>;
2576
+ }, z.core.$strip>;
2577
+ confidence: z.ZodEnum<{
2578
+ measured: "measured";
2579
+ instrumented: "instrumented";
2580
+ inferred: "inferred";
2581
+ unresolved: "unresolved";
2582
+ }>;
2583
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
2584
+ createdAt: z.ZodString;
2585
+ updatedAt: z.ZodString;
2586
+ status: z.ZodDefault<z.ZodEnum<{
2587
+ unresolved: "unresolved";
2588
+ draft: "draft";
2589
+ approved: "approved";
2590
+ applied: "applied";
2591
+ rejected: "rejected";
2592
+ }>>;
2593
+ }, z.core.$strip>>>;
2594
+ branchId: z.ZodOptional<z.ZodString>;
2595
+ status: z.ZodDefault<z.ZodEnum<{
2596
+ rejected: "rejected";
2597
+ proposed: "proposed";
2598
+ previewing: "previewing";
2599
+ promoted: "promoted";
2600
+ }>>;
2601
+ createdAt: z.ZodString;
2602
+ updatedAt: z.ZodString;
2603
+ }, z.core.$strip>>>;
2604
+ agent: z.ZodOptional<z.ZodObject<{
2605
+ name: z.ZodString;
2606
+ version: z.ZodOptional<z.ZodString>;
2607
+ taskId: z.ZodOptional<z.ZodString>;
2608
+ }, z.core.$strip>>;
2609
+ claimAttemptId: z.ZodOptional<z.ZodString>;
2610
+ claimExpiresAt: z.ZodOptional<z.ZodString>;
1302
2611
  error: z.ZodOptional<z.ZodString>;
1303
- requestedAt: z.ZodString;
1304
- claimedAt: z.ZodOptional<z.ZodString>;
1305
- completedAt: z.ZodOptional<z.ZodString>;
2612
+ createdAt: z.ZodString;
1306
2613
  updatedAt: z.ZodString;
1307
2614
  }, z.core.$strip>;
2615
+ export declare const stressConditionIdSchema: z.ZodEnum<{
2616
+ "long-content": "long-content";
2617
+ "empty-content": "empty-content";
2618
+ "large-numbers": "large-numbers";
2619
+ "missing-images": "missing-images";
2620
+ "loading-state": "loading-state";
2621
+ "error-state": "error-state";
2622
+ "offline-state": "offline-state";
2623
+ "text-200": "text-200";
2624
+ "browser-zoom-200": "browser-zoom-200";
2625
+ "high-contrast": "high-contrast";
2626
+ monochrome: "monochrome";
2627
+ "reduced-motion": "reduced-motion";
2628
+ "keyboard-only": "keyboard-only";
2629
+ }>;
2630
+ export declare const stressTestSessionSchema: z.ZodObject<{
2631
+ conditions: z.ZodDefault<z.ZodArray<z.ZodEnum<{
2632
+ "long-content": "long-content";
2633
+ "empty-content": "empty-content";
2634
+ "large-numbers": "large-numbers";
2635
+ "missing-images": "missing-images";
2636
+ "loading-state": "loading-state";
2637
+ "error-state": "error-state";
2638
+ "offline-state": "offline-state";
2639
+ "text-200": "text-200";
2640
+ "browser-zoom-200": "browser-zoom-200";
2641
+ "high-contrast": "high-contrast";
2642
+ monochrome: "monochrome";
2643
+ "reduced-motion": "reduced-motion";
2644
+ "keyboard-only": "keyboard-only";
2645
+ }>>>;
2646
+ scope: z.ZodDefault<z.ZodEnum<{
2647
+ selection: "selection";
2648
+ canvas: "canvas";
2649
+ }>>;
2650
+ targetId: z.ZodOptional<z.ZodString>;
2651
+ viewport: z.ZodObject<{
2652
+ width: z.ZodNumber;
2653
+ height: z.ZodNumber;
2654
+ }, z.core.$strip>;
2655
+ temporary: z.ZodLiteral<true>;
2656
+ appliedAt: z.ZodString;
2657
+ }, z.core.$strip>;
1308
2658
  export declare const surfaceSnapshotSchema: z.ZodObject<{
1309
2659
  platform: z.ZodEnum<{
1310
2660
  swiftui: "swiftui";
@@ -1403,6 +2753,7 @@ export declare const previewCommandSchema: z.ZodObject<{
1403
2753
  }, z.core.$strip>;
1404
2754
  export type Platform = z.infer<typeof platformSchema>;
1405
2755
  export type ChangeCategory = z.infer<typeof changeCategorySchema>;
2756
+ export type SourceRef = z.infer<typeof sourceRefSchema>;
1406
2757
  export type SessionContext = z.infer<typeof sessionContextSchema>;
1407
2758
  export type TargetRef = z.infer<typeof targetRefSchema>;
1408
2759
  export type ControlDescriptor = z.infer<typeof controlDescriptorSchema>;
@@ -1410,6 +2761,8 @@ export type DesignChange = z.infer<typeof designChangeSchema>;
1410
2761
  export type DesignChangeInput = z.input<typeof designChangeSchema>;
1411
2762
  export type DesignToken = z.infer<typeof designTokenSchema>;
1412
2763
  export type ComponentDefinition = z.infer<typeof componentDefinitionSchema>;
2764
+ export type ComponentVariantAxis = z.infer<typeof componentVariantAxisSchema>;
2765
+ export type ContainerQueryDefinition = z.infer<typeof containerQueryDefinitionSchema>;
1413
2766
  export type StateDefinition = z.infer<typeof stateDefinitionSchema>;
1414
2767
  export type BreakpointDefinition = z.infer<typeof breakpointDefinitionSchema>;
1415
2768
  export type ThemeDefinition = z.infer<typeof themeDefinitionSchema>;
@@ -1417,16 +2770,28 @@ export type MotionPreset = z.infer<typeof motionPresetSchema>;
1417
2770
  export type ProjectDesignGraph = z.infer<typeof projectDesignGraphSchema>;
1418
2771
  export type DesignTokenUsage = z.infer<typeof designTokenUsageSchema>;
1419
2772
  export type DesignSystemFinding = z.infer<typeof designSystemFindingSchema>;
2773
+ export type TokenPromotionCandidate = z.infer<typeof tokenPromotionCandidateSchema>;
1420
2774
  export type SourceMappingCandidate = z.infer<typeof sourceMappingCandidateSchema>;
1421
2775
  export type DesignOperation = z.infer<typeof designOperationSchema>;
1422
2776
  export type DesignOperationInput = z.input<typeof designOperationSchema>;
1423
2777
  export type ChangeSet = z.infer<typeof changeSetSchema>;
1424
2778
  export type DesignBranch = z.infer<typeof designBranchSchema>;
2779
+ export type DesignBranchRecordSource = z.infer<typeof designBranchRecordSourceSchema>;
2780
+ export type DesignBranchRecord = z.infer<typeof designBranchRecordSchema>;
2781
+ export type DesignBranchRecordBundle = z.infer<typeof designBranchRecordBundleSchema>;
1425
2782
  export type VerificationResult = z.infer<typeof verificationResultSchema>;
1426
2783
  export type ApplyRunState = z.infer<typeof applyRunStateSchema>;
1427
2784
  export type ApplyRunMessage = z.infer<typeof applyRunMessageSchema>;
1428
2785
  export type ValidationResult = z.infer<typeof validationResultSchema>;
1429
2786
  export type ApplyRun = z.infer<typeof applyRunSchema>;
2787
+ export type VisualAgentContextTarget = z.infer<typeof visualAgentContextTargetSchema>;
2788
+ export type VisualAgentComment = z.infer<typeof visualAgentCommentSchema>;
2789
+ export type VisualAgentContext = z.infer<typeof visualAgentContextSchema>;
2790
+ export type VisualAgentProposal = z.infer<typeof visualAgentProposalSchema>;
2791
+ export type VisualAgentMessage = z.infer<typeof visualAgentMessageSchema>;
2792
+ export type VisualAgentRequest = z.infer<typeof visualAgentRequestSchema>;
2793
+ export type StressConditionId = z.infer<typeof stressConditionIdSchema>;
2794
+ export type StressTestSession = z.infer<typeof stressTestSessionSchema>;
1430
2795
  export type SurfaceSnapshot = z.infer<typeof surfaceSnapshotSchema>;
1431
2796
  export type PreviewCommand = z.infer<typeof previewCommandSchema>;
1432
2797
  export declare function changeKey(change: DesignChange): string;