foundry-design-protocol 0.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1082 @@
1
+ import { z } from 'zod';
2
+ export declare const PROTOCOL_VERSION: "1.2.0";
3
+ export declare const LEGACY_PROTOCOL_VERSION: "1.0.0";
4
+ export declare const APPLY_RUN_PROTOCOL_VERSION: "1.1.0";
5
+ export declare const platformSchema: z.ZodEnum<{
6
+ web: "web";
7
+ swiftui: "swiftui";
8
+ "react-native": "react-native";
9
+ }>;
10
+ export declare const changeCategorySchema: z.ZodEnum<{
11
+ layout: "layout";
12
+ spacing: "spacing";
13
+ typography: "typography";
14
+ color: "color";
15
+ border: "border";
16
+ effect: "effect";
17
+ content: "content";
18
+ asset: "asset";
19
+ visibility: "visibility";
20
+ accessibility: "accessibility";
21
+ responsive: "responsive";
22
+ state: "state";
23
+ motion: "motion";
24
+ }>;
25
+ export declare const scopeSchema: z.ZodEnum<{
26
+ instance: "instance";
27
+ component: "component";
28
+ }>;
29
+ export declare const confidenceSchema: z.ZodEnum<{
30
+ measured: "measured";
31
+ instrumented: "instrumented";
32
+ inferred: "inferred";
33
+ unresolved: "unresolved";
34
+ }>;
35
+ export declare const geometrySchema: z.ZodObject<{
36
+ x: z.ZodNumber;
37
+ y: z.ZodNumber;
38
+ width: z.ZodNumber;
39
+ height: z.ZodNumber;
40
+ scale: z.ZodDefault<z.ZodNumber>;
41
+ }, z.core.$strip>;
42
+ export declare const sourceRefSchema: z.ZodObject<{
43
+ file: z.ZodString;
44
+ line: z.ZodOptional<z.ZodNumber>;
45
+ column: z.ZodOptional<z.ZodNumber>;
46
+ symbol: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>;
48
+ export declare const sessionContextSchema: z.ZodObject<{
49
+ projectRoot: z.ZodString;
50
+ revision: z.ZodOptional<z.ZodString>;
51
+ designGraphRevision: z.ZodOptional<z.ZodString>;
52
+ platform: z.ZodEnum<{
53
+ web: "web";
54
+ swiftui: "swiftui";
55
+ "react-native": "react-native";
56
+ }>;
57
+ targetUrl: z.ZodOptional<z.ZodString>;
58
+ targetName: z.ZodOptional<z.ZodString>;
59
+ device: z.ZodOptional<z.ZodString>;
60
+ viewport: z.ZodOptional<z.ZodObject<{
61
+ width: z.ZodNumber;
62
+ height: z.ZodNumber;
63
+ }, z.core.$strip>>;
64
+ theme: z.ZodDefault<z.ZodEnum<{
65
+ light: "light";
66
+ dark: "dark";
67
+ system: "system";
68
+ custom: "custom";
69
+ }>>;
70
+ breakpoint: z.ZodDefault<z.ZodString>;
71
+ state: z.ZodDefault<z.ZodString>;
72
+ }, z.core.$strip>;
73
+ export declare const targetRefSchema: z.ZodObject<{
74
+ id: z.ZodString;
75
+ platform: z.ZodEnum<{
76
+ web: "web";
77
+ swiftui: "swiftui";
78
+ "react-native": "react-native";
79
+ }>;
80
+ semanticRole: z.ZodDefault<z.ZodString>;
81
+ label: z.ZodDefault<z.ZodString>;
82
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
83
+ source: z.ZodOptional<z.ZodObject<{
84
+ file: z.ZodString;
85
+ line: z.ZodOptional<z.ZodNumber>;
86
+ column: z.ZodOptional<z.ZodNumber>;
87
+ symbol: z.ZodOptional<z.ZodString>;
88
+ }, z.core.$strip>>;
89
+ geometry: z.ZodObject<{
90
+ x: z.ZodNumber;
91
+ y: z.ZodNumber;
92
+ width: z.ZodNumber;
93
+ height: z.ZodNumber;
94
+ scale: z.ZodDefault<z.ZodNumber>;
95
+ }, z.core.$strip>;
96
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
97
+ confidence: z.ZodEnum<{
98
+ measured: "measured";
99
+ instrumented: "instrumented";
100
+ inferred: "inferred";
101
+ unresolved: "unresolved";
102
+ }>;
103
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
104
+ }, z.core.$strip>;
105
+ export declare const controlDescriptorSchema: z.ZodObject<{
106
+ id: z.ZodString;
107
+ category: z.ZodEnum<{
108
+ layout: "layout";
109
+ spacing: "spacing";
110
+ typography: "typography";
111
+ color: "color";
112
+ border: "border";
113
+ effect: "effect";
114
+ content: "content";
115
+ asset: "asset";
116
+ visibility: "visibility";
117
+ accessibility: "accessibility";
118
+ responsive: "responsive";
119
+ state: "state";
120
+ motion: "motion";
121
+ }>;
122
+ property: z.ZodString;
123
+ label: z.ZodString;
124
+ valueType: z.ZodEnum<{
125
+ string: "string";
126
+ number: "number";
127
+ boolean: "boolean";
128
+ color: "color";
129
+ asset: "asset";
130
+ motion: "motion";
131
+ length: "length";
132
+ select: "select";
133
+ }>;
134
+ value: z.ZodUnknown;
135
+ min: z.ZodOptional<z.ZodNumber>;
136
+ max: z.ZodOptional<z.ZodNumber>;
137
+ step: z.ZodOptional<z.ZodNumber>;
138
+ unit: z.ZodOptional<z.ZodString>;
139
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
+ label: z.ZodString;
141
+ value: z.ZodUnknown;
142
+ }, z.core.$strip>>>;
143
+ tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
144
+ name: z.ZodString;
145
+ value: z.ZodString;
146
+ }, z.core.$strip>>>;
147
+ previewable: z.ZodDefault<z.ZodBoolean>;
148
+ supported: z.ZodDefault<z.ZodBoolean>;
149
+ unsupportedReason: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strip>;
151
+ export declare const designTokenSchema: z.ZodObject<{
152
+ id: z.ZodString;
153
+ name: z.ZodString;
154
+ value: z.ZodString;
155
+ category: z.ZodEnum<{
156
+ spacing: "spacing";
157
+ typography: "typography";
158
+ color: "color";
159
+ motion: "motion";
160
+ size: "size";
161
+ radius: "radius";
162
+ shadow: "shadow";
163
+ other: "other";
164
+ }>;
165
+ cssVariable: z.ZodOptional<z.ZodString>;
166
+ source: z.ZodOptional<z.ZodObject<{
167
+ file: z.ZodString;
168
+ line: z.ZodOptional<z.ZodNumber>;
169
+ column: z.ZodOptional<z.ZodNumber>;
170
+ symbol: z.ZodOptional<z.ZodString>;
171
+ }, z.core.$strip>>;
172
+ confidence: z.ZodDefault<z.ZodEnum<{
173
+ measured: "measured";
174
+ instrumented: "instrumented";
175
+ inferred: "inferred";
176
+ unresolved: "unresolved";
177
+ }>>;
178
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
179
+ }, z.core.$strip>;
180
+ export declare const componentVariantSchema: z.ZodObject<{
181
+ id: z.ZodString;
182
+ label: z.ZodString;
183
+ property: z.ZodString;
184
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
185
+ source: z.ZodOptional<z.ZodObject<{
186
+ file: z.ZodString;
187
+ line: z.ZodOptional<z.ZodNumber>;
188
+ column: z.ZodOptional<z.ZodNumber>;
189
+ symbol: z.ZodOptional<z.ZodString>;
190
+ }, z.core.$strip>>;
191
+ }, z.core.$strip>;
192
+ export declare const componentDefinitionSchema: z.ZodObject<{
193
+ id: z.ZodString;
194
+ name: z.ZodString;
195
+ source: z.ZodOptional<z.ZodObject<{
196
+ file: z.ZodString;
197
+ line: z.ZodOptional<z.ZodNumber>;
198
+ column: z.ZodOptional<z.ZodNumber>;
199
+ symbol: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>>;
201
+ selector: z.ZodOptional<z.ZodString>;
202
+ instances: z.ZodDefault<z.ZodNumber>;
203
+ variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
204
+ id: z.ZodString;
205
+ label: z.ZodString;
206
+ property: z.ZodString;
207
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
208
+ source: z.ZodOptional<z.ZodObject<{
209
+ file: z.ZodString;
210
+ line: z.ZodOptional<z.ZodNumber>;
211
+ column: z.ZodOptional<z.ZodNumber>;
212
+ symbol: z.ZodOptional<z.ZodString>;
213
+ }, z.core.$strip>>;
214
+ }, z.core.$strip>>>;
215
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
216
+ }, z.core.$strip>;
217
+ export declare const stateDefinitionSchema: z.ZodObject<{
218
+ id: z.ZodString;
219
+ label: z.ZodString;
220
+ viewport: z.ZodOptional<z.ZodObject<{
221
+ width: z.ZodNumber;
222
+ height: z.ZodNumber;
223
+ }, z.core.$strip>>;
224
+ theme: z.ZodOptional<z.ZodString>;
225
+ variant: z.ZodOptional<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>]>>>;
226
+ pseudoStates: z.ZodDefault<z.ZodArray<z.ZodEnum<{
227
+ hover: "hover";
228
+ focus: "focus";
229
+ active: "active";
230
+ disabled: "disabled";
231
+ }>>>;
232
+ reducedMotion: z.ZodOptional<z.ZodBoolean>;
233
+ query: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
234
+ confidence: z.ZodDefault<z.ZodEnum<{
235
+ measured: "measured";
236
+ instrumented: "instrumented";
237
+ inferred: "inferred";
238
+ unresolved: "unresolved";
239
+ }>>;
240
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
241
+ }, z.core.$strip>;
242
+ export declare const breakpointDefinitionSchema: z.ZodObject<{
243
+ id: z.ZodString;
244
+ label: z.ZodString;
245
+ width: z.ZodNumber;
246
+ height: z.ZodDefault<z.ZodNumber>;
247
+ mediaQuery: z.ZodOptional<z.ZodString>;
248
+ source: z.ZodOptional<z.ZodObject<{
249
+ file: z.ZodString;
250
+ line: z.ZodOptional<z.ZodNumber>;
251
+ column: z.ZodOptional<z.ZodNumber>;
252
+ symbol: z.ZodOptional<z.ZodString>;
253
+ }, z.core.$strip>>;
254
+ }, z.core.$strip>;
255
+ export declare const themeDefinitionSchema: z.ZodObject<{
256
+ id: z.ZodString;
257
+ label: z.ZodString;
258
+ selector: z.ZodOptional<z.ZodString>;
259
+ attribute: z.ZodOptional<z.ZodString>;
260
+ value: z.ZodOptional<z.ZodString>;
261
+ source: z.ZodOptional<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
+ }, z.core.$strip>;
268
+ export declare const motionPresetSchema: z.ZodObject<{
269
+ id: z.ZodString;
270
+ label: z.ZodString;
271
+ duration: z.ZodOptional<z.ZodNumber>;
272
+ easing: z.ZodOptional<z.ZodString>;
273
+ delay: z.ZodOptional<z.ZodNumber>;
274
+ source: z.ZodOptional<z.ZodObject<{
275
+ file: z.ZodString;
276
+ line: z.ZodOptional<z.ZodNumber>;
277
+ column: z.ZodOptional<z.ZodNumber>;
278
+ symbol: z.ZodOptional<z.ZodString>;
279
+ }, z.core.$strip>>;
280
+ }, z.core.$strip>;
281
+ export declare const projectDesignGraphSchema: z.ZodObject<{
282
+ protocolVersion: z.ZodLiteral<"1.2.0">;
283
+ projectRoot: z.ZodString;
284
+ revision: z.ZodOptional<z.ZodString>;
285
+ tokens: z.ZodDefault<z.ZodArray<z.ZodObject<{
286
+ id: z.ZodString;
287
+ name: z.ZodString;
288
+ value: z.ZodString;
289
+ category: z.ZodEnum<{
290
+ spacing: "spacing";
291
+ typography: "typography";
292
+ color: "color";
293
+ motion: "motion";
294
+ size: "size";
295
+ radius: "radius";
296
+ shadow: "shadow";
297
+ other: "other";
298
+ }>;
299
+ cssVariable: z.ZodOptional<z.ZodString>;
300
+ source: z.ZodOptional<z.ZodObject<{
301
+ file: z.ZodString;
302
+ line: z.ZodOptional<z.ZodNumber>;
303
+ column: z.ZodOptional<z.ZodNumber>;
304
+ symbol: z.ZodOptional<z.ZodString>;
305
+ }, z.core.$strip>>;
306
+ confidence: z.ZodDefault<z.ZodEnum<{
307
+ measured: "measured";
308
+ instrumented: "instrumented";
309
+ inferred: "inferred";
310
+ unresolved: "unresolved";
311
+ }>>;
312
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
313
+ }, z.core.$strip>>>;
314
+ components: z.ZodDefault<z.ZodArray<z.ZodObject<{
315
+ id: z.ZodString;
316
+ name: z.ZodString;
317
+ source: z.ZodOptional<z.ZodObject<{
318
+ file: z.ZodString;
319
+ line: z.ZodOptional<z.ZodNumber>;
320
+ column: z.ZodOptional<z.ZodNumber>;
321
+ symbol: z.ZodOptional<z.ZodString>;
322
+ }, z.core.$strip>>;
323
+ selector: z.ZodOptional<z.ZodString>;
324
+ instances: z.ZodDefault<z.ZodNumber>;
325
+ variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
326
+ id: z.ZodString;
327
+ label: z.ZodString;
328
+ property: z.ZodString;
329
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
330
+ source: z.ZodOptional<z.ZodObject<{
331
+ file: z.ZodString;
332
+ line: z.ZodOptional<z.ZodNumber>;
333
+ column: z.ZodOptional<z.ZodNumber>;
334
+ symbol: z.ZodOptional<z.ZodString>;
335
+ }, z.core.$strip>>;
336
+ }, z.core.$strip>>>;
337
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
338
+ }, z.core.$strip>>>;
339
+ breakpoints: z.ZodDefault<z.ZodArray<z.ZodObject<{
340
+ id: z.ZodString;
341
+ label: z.ZodString;
342
+ width: z.ZodNumber;
343
+ height: z.ZodDefault<z.ZodNumber>;
344
+ mediaQuery: z.ZodOptional<z.ZodString>;
345
+ source: z.ZodOptional<z.ZodObject<{
346
+ file: z.ZodString;
347
+ line: z.ZodOptional<z.ZodNumber>;
348
+ column: z.ZodOptional<z.ZodNumber>;
349
+ symbol: z.ZodOptional<z.ZodString>;
350
+ }, z.core.$strip>>;
351
+ }, z.core.$strip>>>;
352
+ themes: z.ZodDefault<z.ZodArray<z.ZodObject<{
353
+ id: z.ZodString;
354
+ label: z.ZodString;
355
+ selector: z.ZodOptional<z.ZodString>;
356
+ attribute: z.ZodOptional<z.ZodString>;
357
+ value: z.ZodOptional<z.ZodString>;
358
+ source: z.ZodOptional<z.ZodObject<{
359
+ file: z.ZodString;
360
+ line: z.ZodOptional<z.ZodNumber>;
361
+ column: z.ZodOptional<z.ZodNumber>;
362
+ symbol: z.ZodOptional<z.ZodString>;
363
+ }, z.core.$strip>>;
364
+ }, z.core.$strip>>>;
365
+ states: z.ZodDefault<z.ZodArray<z.ZodObject<{
366
+ id: z.ZodString;
367
+ label: z.ZodString;
368
+ viewport: z.ZodOptional<z.ZodObject<{
369
+ width: z.ZodNumber;
370
+ height: z.ZodNumber;
371
+ }, z.core.$strip>>;
372
+ theme: z.ZodOptional<z.ZodString>;
373
+ variant: z.ZodOptional<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>]>>>;
374
+ pseudoStates: z.ZodDefault<z.ZodArray<z.ZodEnum<{
375
+ hover: "hover";
376
+ focus: "focus";
377
+ active: "active";
378
+ disabled: "disabled";
379
+ }>>>;
380
+ reducedMotion: z.ZodOptional<z.ZodBoolean>;
381
+ query: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
382
+ confidence: z.ZodDefault<z.ZodEnum<{
383
+ measured: "measured";
384
+ instrumented: "instrumented";
385
+ inferred: "inferred";
386
+ unresolved: "unresolved";
387
+ }>>;
388
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
389
+ }, z.core.$strip>>>;
390
+ motionPresets: z.ZodDefault<z.ZodArray<z.ZodObject<{
391
+ id: z.ZodString;
392
+ label: z.ZodString;
393
+ duration: z.ZodOptional<z.ZodNumber>;
394
+ easing: z.ZodOptional<z.ZodString>;
395
+ delay: z.ZodOptional<z.ZodNumber>;
396
+ source: z.ZodOptional<z.ZodObject<{
397
+ file: z.ZodString;
398
+ line: z.ZodOptional<z.ZodNumber>;
399
+ column: z.ZodOptional<z.ZodNumber>;
400
+ symbol: z.ZodOptional<z.ZodString>;
401
+ }, z.core.$strip>>;
402
+ }, z.core.$strip>>>;
403
+ indexedAt: z.ZodString;
404
+ }, z.core.$strip>;
405
+ export declare const sourceMappingCandidateSchema: z.ZodObject<{
406
+ id: z.ZodString;
407
+ label: z.ZodString;
408
+ intent: z.ZodEnum<{
409
+ spacing: "spacing";
410
+ content: "content";
411
+ state: "state";
412
+ motion: "motion";
413
+ resize: "resize";
414
+ align: "align";
415
+ distribute: "distribute";
416
+ position: "position";
417
+ style: "style";
418
+ }>;
419
+ property: z.ZodString;
420
+ targetId: z.ZodOptional<z.ZodString>;
421
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
422
+ source: z.ZodOptional<z.ZodObject<{
423
+ file: z.ZodString;
424
+ line: z.ZodOptional<z.ZodNumber>;
425
+ column: z.ZodOptional<z.ZodNumber>;
426
+ symbol: z.ZodOptional<z.ZodString>;
427
+ }, z.core.$strip>>;
428
+ scope: z.ZodDefault<z.ZodEnum<{
429
+ instance: "instance";
430
+ component: "component";
431
+ }>>;
432
+ confidence: z.ZodEnum<{
433
+ measured: "measured";
434
+ instrumented: "instrumented";
435
+ inferred: "inferred";
436
+ unresolved: "unresolved";
437
+ }>;
438
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
439
+ blastRadius: z.ZodDefault<z.ZodNumber>;
440
+ }, z.core.$strip>;
441
+ export declare const designOperationSchema: z.ZodObject<{
442
+ id: z.ZodString;
443
+ kind: z.ZodEnum<{
444
+ spacing: "spacing";
445
+ content: "content";
446
+ state: "state";
447
+ motion: "motion";
448
+ resize: "resize";
449
+ align: "align";
450
+ distribute: "distribute";
451
+ style: "style";
452
+ }>;
453
+ label: z.ZodString;
454
+ targetIds: z.ZodArray<z.ZodString>;
455
+ changeIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
456
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
457
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
458
+ id: z.ZodString;
459
+ label: z.ZodString;
460
+ intent: z.ZodEnum<{
461
+ spacing: "spacing";
462
+ content: "content";
463
+ state: "state";
464
+ motion: "motion";
465
+ resize: "resize";
466
+ align: "align";
467
+ distribute: "distribute";
468
+ position: "position";
469
+ style: "style";
470
+ }>;
471
+ property: z.ZodString;
472
+ targetId: z.ZodOptional<z.ZodString>;
473
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
474
+ source: z.ZodOptional<z.ZodObject<{
475
+ file: z.ZodString;
476
+ line: z.ZodOptional<z.ZodNumber>;
477
+ column: z.ZodOptional<z.ZodNumber>;
478
+ symbol: z.ZodOptional<z.ZodString>;
479
+ }, z.core.$strip>>;
480
+ scope: z.ZodDefault<z.ZodEnum<{
481
+ instance: "instance";
482
+ component: "component";
483
+ }>>;
484
+ confidence: z.ZodEnum<{
485
+ measured: "measured";
486
+ instrumented: "instrumented";
487
+ inferred: "inferred";
488
+ unresolved: "unresolved";
489
+ }>;
490
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
491
+ blastRadius: z.ZodDefault<z.ZodNumber>;
492
+ }, z.core.$strip>>>;
493
+ selectedMappingId: z.ZodOptional<z.ZodString>;
494
+ status: z.ZodDefault<z.ZodEnum<{
495
+ unresolved: "unresolved";
496
+ preview: "preview";
497
+ resolved: "resolved";
498
+ }>>;
499
+ createdAt: z.ZodString;
500
+ updatedAt: z.ZodString;
501
+ }, z.core.$strip>;
502
+ export declare const designChangeSchema: z.ZodObject<{
503
+ id: z.ZodString;
504
+ target: z.ZodObject<{
505
+ id: z.ZodString;
506
+ platform: z.ZodEnum<{
507
+ web: "web";
508
+ swiftui: "swiftui";
509
+ "react-native": "react-native";
510
+ }>;
511
+ semanticRole: z.ZodDefault<z.ZodString>;
512
+ label: z.ZodDefault<z.ZodString>;
513
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
514
+ source: z.ZodOptional<z.ZodObject<{
515
+ file: z.ZodString;
516
+ line: z.ZodOptional<z.ZodNumber>;
517
+ column: z.ZodOptional<z.ZodNumber>;
518
+ symbol: z.ZodOptional<z.ZodString>;
519
+ }, z.core.$strip>>;
520
+ geometry: z.ZodObject<{
521
+ x: z.ZodNumber;
522
+ y: z.ZodNumber;
523
+ width: z.ZodNumber;
524
+ height: z.ZodNumber;
525
+ scale: z.ZodDefault<z.ZodNumber>;
526
+ }, z.core.$strip>;
527
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
528
+ confidence: z.ZodEnum<{
529
+ measured: "measured";
530
+ instrumented: "instrumented";
531
+ inferred: "inferred";
532
+ unresolved: "unresolved";
533
+ }>;
534
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
535
+ }, z.core.$strip>;
536
+ category: z.ZodEnum<{
537
+ layout: "layout";
538
+ spacing: "spacing";
539
+ typography: "typography";
540
+ color: "color";
541
+ border: "border";
542
+ effect: "effect";
543
+ content: "content";
544
+ asset: "asset";
545
+ visibility: "visibility";
546
+ accessibility: "accessibility";
547
+ responsive: "responsive";
548
+ state: "state";
549
+ motion: "motion";
550
+ }>;
551
+ property: z.ZodString;
552
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
553
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
554
+ unit: z.ZodOptional<z.ZodString>;
555
+ token: z.ZodOptional<z.ZodString>;
556
+ operationId: z.ZodOptional<z.ZodString>;
557
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
558
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
559
+ id: z.ZodString;
560
+ label: z.ZodString;
561
+ intent: z.ZodEnum<{
562
+ spacing: "spacing";
563
+ content: "content";
564
+ state: "state";
565
+ motion: "motion";
566
+ resize: "resize";
567
+ align: "align";
568
+ distribute: "distribute";
569
+ position: "position";
570
+ style: "style";
571
+ }>;
572
+ property: z.ZodString;
573
+ targetId: z.ZodOptional<z.ZodString>;
574
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
575
+ source: z.ZodOptional<z.ZodObject<{
576
+ file: z.ZodString;
577
+ line: z.ZodOptional<z.ZodNumber>;
578
+ column: z.ZodOptional<z.ZodNumber>;
579
+ symbol: z.ZodOptional<z.ZodString>;
580
+ }, z.core.$strip>>;
581
+ scope: z.ZodDefault<z.ZodEnum<{
582
+ instance: "instance";
583
+ component: "component";
584
+ }>>;
585
+ confidence: z.ZodEnum<{
586
+ measured: "measured";
587
+ instrumented: "instrumented";
588
+ inferred: "inferred";
589
+ unresolved: "unresolved";
590
+ }>;
591
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
592
+ blastRadius: z.ZodDefault<z.ZodNumber>;
593
+ }, z.core.$strip>>>;
594
+ selectedMappingId: z.ZodOptional<z.ZodString>;
595
+ scope: z.ZodDefault<z.ZodEnum<{
596
+ instance: "instance";
597
+ component: "component";
598
+ }>>;
599
+ context: z.ZodObject<{
600
+ breakpoint: z.ZodDefault<z.ZodString>;
601
+ theme: z.ZodDefault<z.ZodString>;
602
+ state: z.ZodDefault<z.ZodString>;
603
+ }, z.core.$strip>;
604
+ confidence: z.ZodEnum<{
605
+ measured: "measured";
606
+ instrumented: "instrumented";
607
+ inferred: "inferred";
608
+ unresolved: "unresolved";
609
+ }>;
610
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
611
+ createdAt: z.ZodString;
612
+ updatedAt: z.ZodString;
613
+ status: z.ZodDefault<z.ZodEnum<{
614
+ unresolved: "unresolved";
615
+ draft: "draft";
616
+ approved: "approved";
617
+ applied: "applied";
618
+ rejected: "rejected";
619
+ }>>;
620
+ }, z.core.$strip>;
621
+ export declare const changeSetSchema: z.ZodObject<{
622
+ protocolVersion: z.ZodLiteral<"1.2.0">;
623
+ sessionId: z.ZodString;
624
+ context: z.ZodObject<{
625
+ projectRoot: z.ZodString;
626
+ revision: z.ZodOptional<z.ZodString>;
627
+ designGraphRevision: z.ZodOptional<z.ZodString>;
628
+ platform: z.ZodEnum<{
629
+ web: "web";
630
+ swiftui: "swiftui";
631
+ "react-native": "react-native";
632
+ }>;
633
+ targetUrl: z.ZodOptional<z.ZodString>;
634
+ targetName: z.ZodOptional<z.ZodString>;
635
+ device: z.ZodOptional<z.ZodString>;
636
+ viewport: z.ZodOptional<z.ZodObject<{
637
+ width: z.ZodNumber;
638
+ height: z.ZodNumber;
639
+ }, z.core.$strip>>;
640
+ theme: z.ZodDefault<z.ZodEnum<{
641
+ light: "light";
642
+ dark: "dark";
643
+ system: "system";
644
+ custom: "custom";
645
+ }>>;
646
+ breakpoint: z.ZodDefault<z.ZodString>;
647
+ state: z.ZodDefault<z.ZodString>;
648
+ }, z.core.$strip>;
649
+ changes: z.ZodArray<z.ZodObject<{
650
+ id: z.ZodString;
651
+ target: z.ZodObject<{
652
+ id: z.ZodString;
653
+ platform: z.ZodEnum<{
654
+ web: "web";
655
+ swiftui: "swiftui";
656
+ "react-native": "react-native";
657
+ }>;
658
+ semanticRole: z.ZodDefault<z.ZodString>;
659
+ label: z.ZodDefault<z.ZodString>;
660
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
661
+ source: z.ZodOptional<z.ZodObject<{
662
+ file: z.ZodString;
663
+ line: z.ZodOptional<z.ZodNumber>;
664
+ column: z.ZodOptional<z.ZodNumber>;
665
+ symbol: z.ZodOptional<z.ZodString>;
666
+ }, z.core.$strip>>;
667
+ geometry: z.ZodObject<{
668
+ x: z.ZodNumber;
669
+ y: z.ZodNumber;
670
+ width: z.ZodNumber;
671
+ height: z.ZodNumber;
672
+ scale: z.ZodDefault<z.ZodNumber>;
673
+ }, z.core.$strip>;
674
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
675
+ confidence: z.ZodEnum<{
676
+ measured: "measured";
677
+ instrumented: "instrumented";
678
+ inferred: "inferred";
679
+ unresolved: "unresolved";
680
+ }>;
681
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
682
+ }, z.core.$strip>;
683
+ category: z.ZodEnum<{
684
+ layout: "layout";
685
+ spacing: "spacing";
686
+ typography: "typography";
687
+ color: "color";
688
+ border: "border";
689
+ effect: "effect";
690
+ content: "content";
691
+ asset: "asset";
692
+ visibility: "visibility";
693
+ accessibility: "accessibility";
694
+ responsive: "responsive";
695
+ state: "state";
696
+ motion: "motion";
697
+ }>;
698
+ property: z.ZodString;
699
+ before: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
700
+ after: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
701
+ unit: z.ZodOptional<z.ZodString>;
702
+ token: z.ZodOptional<z.ZodString>;
703
+ operationId: z.ZodOptional<z.ZodString>;
704
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
705
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
706
+ id: z.ZodString;
707
+ label: z.ZodString;
708
+ intent: z.ZodEnum<{
709
+ spacing: "spacing";
710
+ content: "content";
711
+ state: "state";
712
+ motion: "motion";
713
+ resize: "resize";
714
+ align: "align";
715
+ distribute: "distribute";
716
+ position: "position";
717
+ style: "style";
718
+ }>;
719
+ property: z.ZodString;
720
+ targetId: z.ZodOptional<z.ZodString>;
721
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
722
+ source: z.ZodOptional<z.ZodObject<{
723
+ file: z.ZodString;
724
+ line: z.ZodOptional<z.ZodNumber>;
725
+ column: z.ZodOptional<z.ZodNumber>;
726
+ symbol: z.ZodOptional<z.ZodString>;
727
+ }, z.core.$strip>>;
728
+ scope: z.ZodDefault<z.ZodEnum<{
729
+ instance: "instance";
730
+ component: "component";
731
+ }>>;
732
+ confidence: z.ZodEnum<{
733
+ measured: "measured";
734
+ instrumented: "instrumented";
735
+ inferred: "inferred";
736
+ unresolved: "unresolved";
737
+ }>;
738
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
739
+ blastRadius: z.ZodDefault<z.ZodNumber>;
740
+ }, z.core.$strip>>>;
741
+ selectedMappingId: z.ZodOptional<z.ZodString>;
742
+ scope: z.ZodDefault<z.ZodEnum<{
743
+ instance: "instance";
744
+ component: "component";
745
+ }>>;
746
+ context: z.ZodObject<{
747
+ breakpoint: z.ZodDefault<z.ZodString>;
748
+ theme: z.ZodDefault<z.ZodString>;
749
+ state: z.ZodDefault<z.ZodString>;
750
+ }, z.core.$strip>;
751
+ confidence: z.ZodEnum<{
752
+ measured: "measured";
753
+ instrumented: "instrumented";
754
+ inferred: "inferred";
755
+ unresolved: "unresolved";
756
+ }>;
757
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
758
+ createdAt: z.ZodString;
759
+ updatedAt: z.ZodString;
760
+ status: z.ZodDefault<z.ZodEnum<{
761
+ unresolved: "unresolved";
762
+ draft: "draft";
763
+ approved: "approved";
764
+ applied: "applied";
765
+ rejected: "rejected";
766
+ }>>;
767
+ }, z.core.$strip>>;
768
+ operations: z.ZodDefault<z.ZodArray<z.ZodObject<{
769
+ id: z.ZodString;
770
+ kind: z.ZodEnum<{
771
+ spacing: "spacing";
772
+ content: "content";
773
+ state: "state";
774
+ motion: "motion";
775
+ resize: "resize";
776
+ align: "align";
777
+ distribute: "distribute";
778
+ style: "style";
779
+ }>;
780
+ label: z.ZodString;
781
+ targetIds: z.ZodArray<z.ZodString>;
782
+ changeIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
783
+ stateIds: z.ZodDefault<z.ZodArray<z.ZodString>>;
784
+ mappingCandidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
785
+ id: z.ZodString;
786
+ label: z.ZodString;
787
+ intent: z.ZodEnum<{
788
+ spacing: "spacing";
789
+ content: "content";
790
+ state: "state";
791
+ motion: "motion";
792
+ resize: "resize";
793
+ align: "align";
794
+ distribute: "distribute";
795
+ position: "position";
796
+ style: "style";
797
+ }>;
798
+ property: z.ZodString;
799
+ targetId: z.ZodOptional<z.ZodString>;
800
+ value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
801
+ source: z.ZodOptional<z.ZodObject<{
802
+ file: z.ZodString;
803
+ line: z.ZodOptional<z.ZodNumber>;
804
+ column: z.ZodOptional<z.ZodNumber>;
805
+ symbol: z.ZodOptional<z.ZodString>;
806
+ }, z.core.$strip>>;
807
+ scope: z.ZodDefault<z.ZodEnum<{
808
+ instance: "instance";
809
+ component: "component";
810
+ }>>;
811
+ confidence: z.ZodEnum<{
812
+ measured: "measured";
813
+ instrumented: "instrumented";
814
+ inferred: "inferred";
815
+ unresolved: "unresolved";
816
+ }>;
817
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
818
+ blastRadius: z.ZodDefault<z.ZodNumber>;
819
+ }, z.core.$strip>>>;
820
+ selectedMappingId: z.ZodOptional<z.ZodString>;
821
+ status: z.ZodDefault<z.ZodEnum<{
822
+ unresolved: "unresolved";
823
+ preview: "preview";
824
+ resolved: "resolved";
825
+ }>>;
826
+ createdAt: z.ZodString;
827
+ updatedAt: z.ZodString;
828
+ }, z.core.$strip>>>;
829
+ designGraphRevision: z.ZodOptional<z.ZodString>;
830
+ screenshots: z.ZodDefault<z.ZodArray<z.ZodObject<{
831
+ label: z.ZodString;
832
+ path: z.ZodString;
833
+ createdAt: z.ZodString;
834
+ }, z.core.$strip>>>;
835
+ createdAt: z.ZodString;
836
+ updatedAt: z.ZodString;
837
+ }, 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<{
889
+ 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<{
895
+ passed: "passed";
896
+ reviewing: "reviewing";
897
+ queued: "queued";
898
+ claimed: "claimed";
899
+ applying: "applying";
900
+ rebuilding: "rebuilding";
901
+ verifying: "verifying";
902
+ needs_attention: "needs_attention";
903
+ cancelled: "cancelled";
904
+ failed: "failed";
905
+ }>;
906
+ agent: z.ZodOptional<z.ZodObject<{
907
+ name: z.ZodString;
908
+ version: z.ZodOptional<z.ZodString>;
909
+ taskId: z.ZodOptional<z.ZodString>;
910
+ }, z.core.$strip>>;
911
+ messages: z.ZodDefault<z.ZodArray<z.ZodObject<{
912
+ state: z.ZodEnum<{
913
+ passed: "passed";
914
+ reviewing: "reviewing";
915
+ queued: "queued";
916
+ claimed: "claimed";
917
+ applying: "applying";
918
+ rebuilding: "rebuilding";
919
+ verifying: "verifying";
920
+ needs_attention: "needs_attention";
921
+ cancelled: "cancelled";
922
+ failed: "failed";
923
+ }>;
924
+ message: z.ZodString;
925
+ createdAt: z.ZodString;
926
+ }, 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<{
941
+ x: z.ZodNumber;
942
+ y: z.ZodNumber;
943
+ width: z.ZodNumber;
944
+ height: z.ZodNumber;
945
+ scale: z.ZodDefault<z.ZodNumber>;
946
+ }, z.core.$strip>>;
947
+ screenshotPath: z.ZodOptional<z.ZodString>;
948
+ verifiedAt: z.ZodString;
949
+ }, z.core.$strip>>>;
950
+ attempts: z.ZodDefault<z.ZodNumber>;
951
+ retryOf: z.ZodOptional<z.ZodString>;
952
+ error: z.ZodOptional<z.ZodString>;
953
+ requestedAt: z.ZodString;
954
+ claimedAt: z.ZodOptional<z.ZodString>;
955
+ completedAt: z.ZodOptional<z.ZodString>;
956
+ updatedAt: z.ZodString;
957
+ }, z.core.$strip>;
958
+ export declare const surfaceSnapshotSchema: z.ZodObject<{
959
+ platform: z.ZodEnum<{
960
+ swiftui: "swiftui";
961
+ "react-native": "react-native";
962
+ }>;
963
+ width: z.ZodNumber;
964
+ height: z.ZodNumber;
965
+ frameDataUrl: z.ZodOptional<z.ZodString>;
966
+ targets: z.ZodArray<z.ZodObject<{
967
+ id: z.ZodString;
968
+ platform: z.ZodEnum<{
969
+ web: "web";
970
+ swiftui: "swiftui";
971
+ "react-native": "react-native";
972
+ }>;
973
+ semanticRole: z.ZodDefault<z.ZodString>;
974
+ label: z.ZodDefault<z.ZodString>;
975
+ componentPath: z.ZodDefault<z.ZodArray<z.ZodString>>;
976
+ source: z.ZodOptional<z.ZodObject<{
977
+ file: z.ZodString;
978
+ line: z.ZodOptional<z.ZodNumber>;
979
+ column: z.ZodOptional<z.ZodNumber>;
980
+ symbol: z.ZodOptional<z.ZodString>;
981
+ }, z.core.$strip>>;
982
+ geometry: z.ZodObject<{
983
+ x: z.ZodNumber;
984
+ y: z.ZodNumber;
985
+ width: z.ZodNumber;
986
+ height: z.ZodNumber;
987
+ scale: z.ZodDefault<z.ZodNumber>;
988
+ }, z.core.$strip>;
989
+ locator: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
990
+ confidence: z.ZodEnum<{
991
+ measured: "measured";
992
+ instrumented: "instrumented";
993
+ inferred: "inferred";
994
+ unresolved: "unresolved";
995
+ }>;
996
+ evidence: z.ZodDefault<z.ZodArray<z.ZodString>>;
997
+ }, z.core.$strip>>;
998
+ controlsByTarget: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
999
+ id: z.ZodString;
1000
+ category: z.ZodEnum<{
1001
+ layout: "layout";
1002
+ spacing: "spacing";
1003
+ typography: "typography";
1004
+ color: "color";
1005
+ border: "border";
1006
+ effect: "effect";
1007
+ content: "content";
1008
+ asset: "asset";
1009
+ visibility: "visibility";
1010
+ accessibility: "accessibility";
1011
+ responsive: "responsive";
1012
+ state: "state";
1013
+ motion: "motion";
1014
+ }>;
1015
+ property: z.ZodString;
1016
+ label: z.ZodString;
1017
+ valueType: z.ZodEnum<{
1018
+ string: "string";
1019
+ number: "number";
1020
+ boolean: "boolean";
1021
+ color: "color";
1022
+ asset: "asset";
1023
+ motion: "motion";
1024
+ length: "length";
1025
+ select: "select";
1026
+ }>;
1027
+ value: z.ZodUnknown;
1028
+ min: z.ZodOptional<z.ZodNumber>;
1029
+ max: z.ZodOptional<z.ZodNumber>;
1030
+ step: z.ZodOptional<z.ZodNumber>;
1031
+ unit: z.ZodOptional<z.ZodString>;
1032
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1033
+ label: z.ZodString;
1034
+ value: z.ZodUnknown;
1035
+ }, z.core.$strip>>>;
1036
+ tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
1037
+ name: z.ZodString;
1038
+ value: z.ZodString;
1039
+ }, z.core.$strip>>>;
1040
+ previewable: z.ZodDefault<z.ZodBoolean>;
1041
+ supported: z.ZodDefault<z.ZodBoolean>;
1042
+ unsupportedReason: z.ZodOptional<z.ZodString>;
1043
+ }, z.core.$strip>>>>;
1044
+ updatedAt: z.ZodString;
1045
+ }, z.core.$strip>;
1046
+ export declare const previewCommandSchema: z.ZodObject<{
1047
+ id: z.ZodString;
1048
+ targetId: z.ZodString;
1049
+ property: z.ZodString;
1050
+ value: z.ZodUnknown;
1051
+ operationId: z.ZodOptional<z.ZodString>;
1052
+ createdAt: z.ZodString;
1053
+ }, z.core.$strip>;
1054
+ export type Platform = z.infer<typeof platformSchema>;
1055
+ export type ChangeCategory = z.infer<typeof changeCategorySchema>;
1056
+ export type SessionContext = z.infer<typeof sessionContextSchema>;
1057
+ export type TargetRef = z.infer<typeof targetRefSchema>;
1058
+ export type ControlDescriptor = z.infer<typeof controlDescriptorSchema>;
1059
+ export type DesignChange = z.infer<typeof designChangeSchema>;
1060
+ export type DesignChangeInput = z.input<typeof designChangeSchema>;
1061
+ export type DesignToken = z.infer<typeof designTokenSchema>;
1062
+ export type ComponentDefinition = z.infer<typeof componentDefinitionSchema>;
1063
+ export type StateDefinition = z.infer<typeof stateDefinitionSchema>;
1064
+ export type BreakpointDefinition = z.infer<typeof breakpointDefinitionSchema>;
1065
+ export type ThemeDefinition = z.infer<typeof themeDefinitionSchema>;
1066
+ export type MotionPreset = z.infer<typeof motionPresetSchema>;
1067
+ export type ProjectDesignGraph = z.infer<typeof projectDesignGraphSchema>;
1068
+ export type SourceMappingCandidate = z.infer<typeof sourceMappingCandidateSchema>;
1069
+ export type DesignOperation = z.infer<typeof designOperationSchema>;
1070
+ export type DesignOperationInput = z.input<typeof designOperationSchema>;
1071
+ export type ChangeSet = z.infer<typeof changeSetSchema>;
1072
+ export type VerificationResult = z.infer<typeof verificationResultSchema>;
1073
+ export type ApplyRunState = z.infer<typeof applyRunStateSchema>;
1074
+ export type ApplyRunMessage = z.infer<typeof applyRunMessageSchema>;
1075
+ export type ValidationResult = z.infer<typeof validationResultSchema>;
1076
+ export type ApplyRun = z.infer<typeof applyRunSchema>;
1077
+ export type SurfaceSnapshot = z.infer<typeof surfaceSnapshotSchema>;
1078
+ export type PreviewCommand = z.infer<typeof previewCommandSchema>;
1079
+ export declare function changeKey(change: DesignChange): string;
1080
+ export declare function coalesceChanges(changes: DesignChange[]): DesignChange[];
1081
+ export declare function renderChangePrompt(changeSet: ChangeSet): string;
1082
+ //# sourceMappingURL=index.d.ts.map