@auto-engineer/narrative 1.134.0 → 1.136.0

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.
@@ -1958,6 +1958,77 @@ export declare const ImageAssetSchema: z.ZodObject<{
1958
1958
  url?: string | undefined;
1959
1959
  originatingPrompt?: string | undefined;
1960
1960
  }>;
1961
+ declare const RegionEntrySchema: z.ZodObject<{
1962
+ id: z.ZodString;
1963
+ name: z.ZodString;
1964
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1965
+ }, "strip", z.ZodTypeAny, {
1966
+ name: string;
1967
+ id: string;
1968
+ slots?: Record<string, unknown> | undefined;
1969
+ }, {
1970
+ name: string;
1971
+ id: string;
1972
+ slots?: Record<string, unknown> | undefined;
1973
+ }>;
1974
+ declare const UISchema: z.ZodObject<{
1975
+ layoutId: z.ZodString;
1976
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
1977
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1978
+ id: z.ZodString;
1979
+ name: z.ZodString;
1980
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ name: string;
1983
+ id: string;
1984
+ slots?: Record<string, unknown> | undefined;
1985
+ }, {
1986
+ name: string;
1987
+ id: string;
1988
+ slots?: Record<string, unknown> | undefined;
1989
+ }>, "many">>;
1990
+ customizationNotes: z.ZodOptional<z.ZodString>;
1991
+ }, "strip", z.ZodTypeAny, {
1992
+ layoutId: string;
1993
+ mode: "custom" | "as-is" | "modify";
1994
+ regions: Record<string, {
1995
+ name: string;
1996
+ id: string;
1997
+ slots?: Record<string, unknown> | undefined;
1998
+ }[]>;
1999
+ customizationNotes?: string | undefined;
2000
+ }, {
2001
+ layoutId: string;
2002
+ mode: "custom" | "as-is" | "modify";
2003
+ regions: Record<string, {
2004
+ name: string;
2005
+ id: string;
2006
+ slots?: Record<string, unknown> | undefined;
2007
+ }[]>;
2008
+ customizationNotes?: string | undefined;
2009
+ }>;
2010
+ declare const ComponentDefinitionSchema: z.ZodObject<{
2011
+ id: z.ZodString;
2012
+ name: z.ZodString;
2013
+ category: z.ZodString;
2014
+ description: z.ZodString;
2015
+ slots: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2016
+ template: z.ZodString;
2017
+ }, "strip", z.ZodTypeAny, {
2018
+ name: string;
2019
+ description: string;
2020
+ id: string;
2021
+ slots: Record<string, unknown>;
2022
+ category: string;
2023
+ template: string;
2024
+ }, {
2025
+ name: string;
2026
+ description: string;
2027
+ id: string;
2028
+ slots: Record<string, unknown>;
2029
+ category: string;
2030
+ template: string;
2031
+ }>;
1961
2032
  export declare const DesignSchema: z.ZodObject<{
1962
2033
  imageAsset: z.ZodOptional<z.ZodObject<{
1963
2034
  url: z.ZodOptional<z.ZodString>;
@@ -1970,18 +2041,74 @@ export declare const DesignSchema: z.ZodObject<{
1970
2041
  originatingPrompt?: string | undefined;
1971
2042
  }>>;
1972
2043
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2044
+ ui: z.ZodOptional<z.ZodObject<{
2045
+ layoutId: z.ZodString;
2046
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
2047
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2048
+ id: z.ZodString;
2049
+ name: z.ZodString;
2050
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2051
+ }, "strip", z.ZodTypeAny, {
2052
+ name: string;
2053
+ id: string;
2054
+ slots?: Record<string, unknown> | undefined;
2055
+ }, {
2056
+ name: string;
2057
+ id: string;
2058
+ slots?: Record<string, unknown> | undefined;
2059
+ }>, "many">>;
2060
+ customizationNotes: z.ZodOptional<z.ZodString>;
2061
+ }, "strip", z.ZodTypeAny, {
2062
+ layoutId: string;
2063
+ mode: "custom" | "as-is" | "modify";
2064
+ regions: Record<string, {
2065
+ name: string;
2066
+ id: string;
2067
+ slots?: Record<string, unknown> | undefined;
2068
+ }[]>;
2069
+ customizationNotes?: string | undefined;
2070
+ }, {
2071
+ layoutId: string;
2072
+ mode: "custom" | "as-is" | "modify";
2073
+ regions: Record<string, {
2074
+ name: string;
2075
+ id: string;
2076
+ slots?: Record<string, unknown> | undefined;
2077
+ }[]>;
2078
+ customizationNotes?: string | undefined;
2079
+ }>>;
1973
2080
  }, "strip", z.ZodTypeAny, {
1974
2081
  metadata?: Record<string, unknown> | undefined;
1975
2082
  imageAsset?: {
1976
2083
  url?: string | undefined;
1977
2084
  originatingPrompt?: string | undefined;
1978
2085
  } | undefined;
2086
+ ui?: {
2087
+ layoutId: string;
2088
+ mode: "custom" | "as-is" | "modify";
2089
+ regions: Record<string, {
2090
+ name: string;
2091
+ id: string;
2092
+ slots?: Record<string, unknown> | undefined;
2093
+ }[]>;
2094
+ customizationNotes?: string | undefined;
2095
+ } | undefined;
1979
2096
  }, {
1980
2097
  metadata?: Record<string, unknown> | undefined;
1981
2098
  imageAsset?: {
1982
2099
  url?: string | undefined;
1983
2100
  originatingPrompt?: string | undefined;
1984
2101
  } | undefined;
2102
+ ui?: {
2103
+ layoutId: string;
2104
+ mode: "custom" | "as-is" | "modify";
2105
+ regions: Record<string, {
2106
+ name: string;
2107
+ id: string;
2108
+ slots?: Record<string, unknown> | undefined;
2109
+ }[]>;
2110
+ customizationNotes?: string | undefined;
2111
+ } | undefined;
1985
2112
  }>;
1986
2113
  declare const StepErrorSchema: z.ZodObject<{
1987
2114
  type: z.ZodEnum<["IllegalStateError", "ValidationError", "NotFoundError"]>;
@@ -2491,18 +2618,74 @@ declare const CommandSliceSchema: z.ZodObject<{
2491
2618
  originatingPrompt?: string | undefined;
2492
2619
  }>>;
2493
2620
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2621
+ ui: z.ZodOptional<z.ZodObject<{
2622
+ layoutId: z.ZodString;
2623
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
2624
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2625
+ id: z.ZodString;
2626
+ name: z.ZodString;
2627
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2628
+ }, "strip", z.ZodTypeAny, {
2629
+ name: string;
2630
+ id: string;
2631
+ slots?: Record<string, unknown> | undefined;
2632
+ }, {
2633
+ name: string;
2634
+ id: string;
2635
+ slots?: Record<string, unknown> | undefined;
2636
+ }>, "many">>;
2637
+ customizationNotes: z.ZodOptional<z.ZodString>;
2638
+ }, "strip", z.ZodTypeAny, {
2639
+ layoutId: string;
2640
+ mode: "custom" | "as-is" | "modify";
2641
+ regions: Record<string, {
2642
+ name: string;
2643
+ id: string;
2644
+ slots?: Record<string, unknown> | undefined;
2645
+ }[]>;
2646
+ customizationNotes?: string | undefined;
2647
+ }, {
2648
+ layoutId: string;
2649
+ mode: "custom" | "as-is" | "modify";
2650
+ regions: Record<string, {
2651
+ name: string;
2652
+ id: string;
2653
+ slots?: Record<string, unknown> | undefined;
2654
+ }[]>;
2655
+ customizationNotes?: string | undefined;
2656
+ }>>;
2494
2657
  }, "strip", z.ZodTypeAny, {
2495
2658
  metadata?: Record<string, unknown> | undefined;
2496
2659
  imageAsset?: {
2497
2660
  url?: string | undefined;
2498
2661
  originatingPrompt?: string | undefined;
2499
2662
  } | undefined;
2663
+ ui?: {
2664
+ layoutId: string;
2665
+ mode: "custom" | "as-is" | "modify";
2666
+ regions: Record<string, {
2667
+ name: string;
2668
+ id: string;
2669
+ slots?: Record<string, unknown> | undefined;
2670
+ }[]>;
2671
+ customizationNotes?: string | undefined;
2672
+ } | undefined;
2500
2673
  }, {
2501
2674
  metadata?: Record<string, unknown> | undefined;
2502
2675
  imageAsset?: {
2503
2676
  url?: string | undefined;
2504
2677
  originatingPrompt?: string | undefined;
2505
2678
  } | undefined;
2679
+ ui?: {
2680
+ layoutId: string;
2681
+ mode: "custom" | "as-is" | "modify";
2682
+ regions: Record<string, {
2683
+ name: string;
2684
+ id: string;
2685
+ slots?: Record<string, unknown> | undefined;
2686
+ }[]>;
2687
+ customizationNotes?: string | undefined;
2688
+ } | undefined;
2506
2689
  }>>;
2507
2690
  } & {
2508
2691
  type: z.ZodLiteral<"command">;
@@ -3829,6 +4012,16 @@ declare const CommandSliceSchema: z.ZodObject<{
3829
4012
  url?: string | undefined;
3830
4013
  originatingPrompt?: string | undefined;
3831
4014
  } | undefined;
4015
+ ui?: {
4016
+ layoutId: string;
4017
+ mode: "custom" | "as-is" | "modify";
4018
+ regions: Record<string, {
4019
+ name: string;
4020
+ id: string;
4021
+ slots?: Record<string, unknown> | undefined;
4022
+ }[]>;
4023
+ customizationNotes?: string | undefined;
4024
+ } | undefined;
3832
4025
  } | undefined;
3833
4026
  request?: string | undefined;
3834
4027
  mappings?: {
@@ -3988,6 +4181,16 @@ declare const CommandSliceSchema: z.ZodObject<{
3988
4181
  url?: string | undefined;
3989
4182
  originatingPrompt?: string | undefined;
3990
4183
  } | undefined;
4184
+ ui?: {
4185
+ layoutId: string;
4186
+ mode: "custom" | "as-is" | "modify";
4187
+ regions: Record<string, {
4188
+ name: string;
4189
+ id: string;
4190
+ slots?: Record<string, unknown> | undefined;
4191
+ }[]>;
4192
+ customizationNotes?: string | undefined;
4193
+ } | undefined;
3991
4194
  } | undefined;
3992
4195
  request?: string | undefined;
3993
4196
  mappings?: {
@@ -4023,18 +4226,74 @@ declare const QuerySliceSchema: z.ZodObject<{
4023
4226
  originatingPrompt?: string | undefined;
4024
4227
  }>>;
4025
4228
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4229
+ ui: z.ZodOptional<z.ZodObject<{
4230
+ layoutId: z.ZodString;
4231
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
4232
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
4233
+ id: z.ZodString;
4234
+ name: z.ZodString;
4235
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4236
+ }, "strip", z.ZodTypeAny, {
4237
+ name: string;
4238
+ id: string;
4239
+ slots?: Record<string, unknown> | undefined;
4240
+ }, {
4241
+ name: string;
4242
+ id: string;
4243
+ slots?: Record<string, unknown> | undefined;
4244
+ }>, "many">>;
4245
+ customizationNotes: z.ZodOptional<z.ZodString>;
4246
+ }, "strip", z.ZodTypeAny, {
4247
+ layoutId: string;
4248
+ mode: "custom" | "as-is" | "modify";
4249
+ regions: Record<string, {
4250
+ name: string;
4251
+ id: string;
4252
+ slots?: Record<string, unknown> | undefined;
4253
+ }[]>;
4254
+ customizationNotes?: string | undefined;
4255
+ }, {
4256
+ layoutId: string;
4257
+ mode: "custom" | "as-is" | "modify";
4258
+ regions: Record<string, {
4259
+ name: string;
4260
+ id: string;
4261
+ slots?: Record<string, unknown> | undefined;
4262
+ }[]>;
4263
+ customizationNotes?: string | undefined;
4264
+ }>>;
4026
4265
  }, "strip", z.ZodTypeAny, {
4027
4266
  metadata?: Record<string, unknown> | undefined;
4028
4267
  imageAsset?: {
4029
4268
  url?: string | undefined;
4030
4269
  originatingPrompt?: string | undefined;
4031
4270
  } | undefined;
4271
+ ui?: {
4272
+ layoutId: string;
4273
+ mode: "custom" | "as-is" | "modify";
4274
+ regions: Record<string, {
4275
+ name: string;
4276
+ id: string;
4277
+ slots?: Record<string, unknown> | undefined;
4278
+ }[]>;
4279
+ customizationNotes?: string | undefined;
4280
+ } | undefined;
4032
4281
  }, {
4033
4282
  metadata?: Record<string, unknown> | undefined;
4034
4283
  imageAsset?: {
4035
4284
  url?: string | undefined;
4036
4285
  originatingPrompt?: string | undefined;
4037
4286
  } | undefined;
4287
+ ui?: {
4288
+ layoutId: string;
4289
+ mode: "custom" | "as-is" | "modify";
4290
+ regions: Record<string, {
4291
+ name: string;
4292
+ id: string;
4293
+ slots?: Record<string, unknown> | undefined;
4294
+ }[]>;
4295
+ customizationNotes?: string | undefined;
4296
+ } | undefined;
4038
4297
  }>>;
4039
4298
  } & {
4040
4299
  type: z.ZodLiteral<"query">;
@@ -5361,6 +5620,16 @@ declare const QuerySliceSchema: z.ZodObject<{
5361
5620
  url?: string | undefined;
5362
5621
  originatingPrompt?: string | undefined;
5363
5622
  } | undefined;
5623
+ ui?: {
5624
+ layoutId: string;
5625
+ mode: "custom" | "as-is" | "modify";
5626
+ regions: Record<string, {
5627
+ name: string;
5628
+ id: string;
5629
+ slots?: Record<string, unknown> | undefined;
5630
+ }[]>;
5631
+ customizationNotes?: string | undefined;
5632
+ } | undefined;
5364
5633
  } | undefined;
5365
5634
  request?: string | undefined;
5366
5635
  mappings?: {
@@ -5520,6 +5789,16 @@ declare const QuerySliceSchema: z.ZodObject<{
5520
5789
  url?: string | undefined;
5521
5790
  originatingPrompt?: string | undefined;
5522
5791
  } | undefined;
5792
+ ui?: {
5793
+ layoutId: string;
5794
+ mode: "custom" | "as-is" | "modify";
5795
+ regions: Record<string, {
5796
+ name: string;
5797
+ id: string;
5798
+ slots?: Record<string, unknown> | undefined;
5799
+ }[]>;
5800
+ customizationNotes?: string | undefined;
5801
+ } | undefined;
5523
5802
  } | undefined;
5524
5803
  request?: string | undefined;
5525
5804
  mappings?: {
@@ -5555,18 +5834,74 @@ declare const ReactSliceSchema: z.ZodObject<{
5555
5834
  originatingPrompt?: string | undefined;
5556
5835
  }>>;
5557
5836
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5837
+ ui: z.ZodOptional<z.ZodObject<{
5838
+ layoutId: z.ZodString;
5839
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
5840
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
5841
+ id: z.ZodString;
5842
+ name: z.ZodString;
5843
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
5844
+ }, "strip", z.ZodTypeAny, {
5845
+ name: string;
5846
+ id: string;
5847
+ slots?: Record<string, unknown> | undefined;
5848
+ }, {
5849
+ name: string;
5850
+ id: string;
5851
+ slots?: Record<string, unknown> | undefined;
5852
+ }>, "many">>;
5853
+ customizationNotes: z.ZodOptional<z.ZodString>;
5854
+ }, "strip", z.ZodTypeAny, {
5855
+ layoutId: string;
5856
+ mode: "custom" | "as-is" | "modify";
5857
+ regions: Record<string, {
5858
+ name: string;
5859
+ id: string;
5860
+ slots?: Record<string, unknown> | undefined;
5861
+ }[]>;
5862
+ customizationNotes?: string | undefined;
5863
+ }, {
5864
+ layoutId: string;
5865
+ mode: "custom" | "as-is" | "modify";
5866
+ regions: Record<string, {
5867
+ name: string;
5868
+ id: string;
5869
+ slots?: Record<string, unknown> | undefined;
5870
+ }[]>;
5871
+ customizationNotes?: string | undefined;
5872
+ }>>;
5558
5873
  }, "strip", z.ZodTypeAny, {
5559
5874
  metadata?: Record<string, unknown> | undefined;
5560
5875
  imageAsset?: {
5561
5876
  url?: string | undefined;
5562
5877
  originatingPrompt?: string | undefined;
5563
5878
  } | undefined;
5879
+ ui?: {
5880
+ layoutId: string;
5881
+ mode: "custom" | "as-is" | "modify";
5882
+ regions: Record<string, {
5883
+ name: string;
5884
+ id: string;
5885
+ slots?: Record<string, unknown> | undefined;
5886
+ }[]>;
5887
+ customizationNotes?: string | undefined;
5888
+ } | undefined;
5564
5889
  }, {
5565
5890
  metadata?: Record<string, unknown> | undefined;
5566
5891
  imageAsset?: {
5567
5892
  url?: string | undefined;
5568
5893
  originatingPrompt?: string | undefined;
5569
5894
  } | undefined;
5895
+ ui?: {
5896
+ layoutId: string;
5897
+ mode: "custom" | "as-is" | "modify";
5898
+ regions: Record<string, {
5899
+ name: string;
5900
+ id: string;
5901
+ slots?: Record<string, unknown> | undefined;
5902
+ }[]>;
5903
+ customizationNotes?: string | undefined;
5904
+ } | undefined;
5570
5905
  }>>;
5571
5906
  } & {
5572
5907
  type: z.ZodLiteral<"react">;
@@ -6829,6 +7164,16 @@ declare const ReactSliceSchema: z.ZodObject<{
6829
7164
  url?: string | undefined;
6830
7165
  originatingPrompt?: string | undefined;
6831
7166
  } | undefined;
7167
+ ui?: {
7168
+ layoutId: string;
7169
+ mode: "custom" | "as-is" | "modify";
7170
+ regions: Record<string, {
7171
+ name: string;
7172
+ id: string;
7173
+ slots?: Record<string, unknown> | undefined;
7174
+ }[]>;
7175
+ customizationNotes?: string | undefined;
7176
+ } | undefined;
6832
7177
  } | undefined;
6833
7178
  }, {
6834
7179
  type: "react";
@@ -6971,6 +7316,16 @@ declare const ReactSliceSchema: z.ZodObject<{
6971
7316
  url?: string | undefined;
6972
7317
  originatingPrompt?: string | undefined;
6973
7318
  } | undefined;
7319
+ ui?: {
7320
+ layoutId: string;
7321
+ mode: "custom" | "as-is" | "modify";
7322
+ regions: Record<string, {
7323
+ name: string;
7324
+ id: string;
7325
+ slots?: Record<string, unknown> | undefined;
7326
+ }[]>;
7327
+ customizationNotes?: string | undefined;
7328
+ } | undefined;
6974
7329
  } | undefined;
6975
7330
  }>;
6976
7331
  declare const ExperienceSliceSchema: z.ZodObject<{
@@ -6992,18 +7347,74 @@ declare const ExperienceSliceSchema: z.ZodObject<{
6992
7347
  originatingPrompt?: string | undefined;
6993
7348
  }>>;
6994
7349
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7350
+ ui: z.ZodOptional<z.ZodObject<{
7351
+ layoutId: z.ZodString;
7352
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
7353
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
7354
+ id: z.ZodString;
7355
+ name: z.ZodString;
7356
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7357
+ }, "strip", z.ZodTypeAny, {
7358
+ name: string;
7359
+ id: string;
7360
+ slots?: Record<string, unknown> | undefined;
7361
+ }, {
7362
+ name: string;
7363
+ id: string;
7364
+ slots?: Record<string, unknown> | undefined;
7365
+ }>, "many">>;
7366
+ customizationNotes: z.ZodOptional<z.ZodString>;
7367
+ }, "strip", z.ZodTypeAny, {
7368
+ layoutId: string;
7369
+ mode: "custom" | "as-is" | "modify";
7370
+ regions: Record<string, {
7371
+ name: string;
7372
+ id: string;
7373
+ slots?: Record<string, unknown> | undefined;
7374
+ }[]>;
7375
+ customizationNotes?: string | undefined;
7376
+ }, {
7377
+ layoutId: string;
7378
+ mode: "custom" | "as-is" | "modify";
7379
+ regions: Record<string, {
7380
+ name: string;
7381
+ id: string;
7382
+ slots?: Record<string, unknown> | undefined;
7383
+ }[]>;
7384
+ customizationNotes?: string | undefined;
7385
+ }>>;
6995
7386
  }, "strip", z.ZodTypeAny, {
6996
7387
  metadata?: Record<string, unknown> | undefined;
6997
7388
  imageAsset?: {
6998
7389
  url?: string | undefined;
6999
7390
  originatingPrompt?: string | undefined;
7000
7391
  } | undefined;
7392
+ ui?: {
7393
+ layoutId: string;
7394
+ mode: "custom" | "as-is" | "modify";
7395
+ regions: Record<string, {
7396
+ name: string;
7397
+ id: string;
7398
+ slots?: Record<string, unknown> | undefined;
7399
+ }[]>;
7400
+ customizationNotes?: string | undefined;
7401
+ } | undefined;
7001
7402
  }, {
7002
7403
  metadata?: Record<string, unknown> | undefined;
7003
7404
  imageAsset?: {
7004
7405
  url?: string | undefined;
7005
7406
  originatingPrompt?: string | undefined;
7006
7407
  } | undefined;
7408
+ ui?: {
7409
+ layoutId: string;
7410
+ mode: "custom" | "as-is" | "modify";
7411
+ regions: Record<string, {
7412
+ name: string;
7413
+ id: string;
7414
+ slots?: Record<string, unknown> | undefined;
7415
+ }[]>;
7416
+ customizationNotes?: string | undefined;
7417
+ } | undefined;
7007
7418
  }>>;
7008
7419
  } & {
7009
7420
  type: z.ZodLiteral<"experience">;
@@ -7031,6 +7442,16 @@ declare const ExperienceSliceSchema: z.ZodObject<{
7031
7442
  url?: string | undefined;
7032
7443
  originatingPrompt?: string | undefined;
7033
7444
  } | undefined;
7445
+ ui?: {
7446
+ layoutId: string;
7447
+ mode: "custom" | "as-is" | "modify";
7448
+ regions: Record<string, {
7449
+ name: string;
7450
+ id: string;
7451
+ slots?: Record<string, unknown> | undefined;
7452
+ }[]>;
7453
+ customizationNotes?: string | undefined;
7454
+ } | undefined;
7034
7455
  } | undefined;
7035
7456
  }, {
7036
7457
  type: "experience";
@@ -7049,6 +7470,16 @@ declare const ExperienceSliceSchema: z.ZodObject<{
7049
7470
  url?: string | undefined;
7050
7471
  originatingPrompt?: string | undefined;
7051
7472
  } | undefined;
7473
+ ui?: {
7474
+ layoutId: string;
7475
+ mode: "custom" | "as-is" | "modify";
7476
+ regions: Record<string, {
7477
+ name: string;
7478
+ id: string;
7479
+ slots?: Record<string, unknown> | undefined;
7480
+ }[]>;
7481
+ customizationNotes?: string | undefined;
7482
+ } | undefined;
7052
7483
  } | undefined;
7053
7484
  }>;
7054
7485
  declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -7070,18 +7501,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7070
7501
  originatingPrompt?: string | undefined;
7071
7502
  }>>;
7072
7503
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7504
+ ui: z.ZodOptional<z.ZodObject<{
7505
+ layoutId: z.ZodString;
7506
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
7507
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
7508
+ id: z.ZodString;
7509
+ name: z.ZodString;
7510
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
7511
+ }, "strip", z.ZodTypeAny, {
7512
+ name: string;
7513
+ id: string;
7514
+ slots?: Record<string, unknown> | undefined;
7515
+ }, {
7516
+ name: string;
7517
+ id: string;
7518
+ slots?: Record<string, unknown> | undefined;
7519
+ }>, "many">>;
7520
+ customizationNotes: z.ZodOptional<z.ZodString>;
7521
+ }, "strip", z.ZodTypeAny, {
7522
+ layoutId: string;
7523
+ mode: "custom" | "as-is" | "modify";
7524
+ regions: Record<string, {
7525
+ name: string;
7526
+ id: string;
7527
+ slots?: Record<string, unknown> | undefined;
7528
+ }[]>;
7529
+ customizationNotes?: string | undefined;
7530
+ }, {
7531
+ layoutId: string;
7532
+ mode: "custom" | "as-is" | "modify";
7533
+ regions: Record<string, {
7534
+ name: string;
7535
+ id: string;
7536
+ slots?: Record<string, unknown> | undefined;
7537
+ }[]>;
7538
+ customizationNotes?: string | undefined;
7539
+ }>>;
7073
7540
  }, "strip", z.ZodTypeAny, {
7074
7541
  metadata?: Record<string, unknown> | undefined;
7075
7542
  imageAsset?: {
7076
7543
  url?: string | undefined;
7077
7544
  originatingPrompt?: string | undefined;
7078
7545
  } | undefined;
7546
+ ui?: {
7547
+ layoutId: string;
7548
+ mode: "custom" | "as-is" | "modify";
7549
+ regions: Record<string, {
7550
+ name: string;
7551
+ id: string;
7552
+ slots?: Record<string, unknown> | undefined;
7553
+ }[]>;
7554
+ customizationNotes?: string | undefined;
7555
+ } | undefined;
7079
7556
  }, {
7080
7557
  metadata?: Record<string, unknown> | undefined;
7081
7558
  imageAsset?: {
7082
7559
  url?: string | undefined;
7083
7560
  originatingPrompt?: string | undefined;
7084
7561
  } | undefined;
7562
+ ui?: {
7563
+ layoutId: string;
7564
+ mode: "custom" | "as-is" | "modify";
7565
+ regions: Record<string, {
7566
+ name: string;
7567
+ id: string;
7568
+ slots?: Record<string, unknown> | undefined;
7569
+ }[]>;
7570
+ customizationNotes?: string | undefined;
7571
+ } | undefined;
7085
7572
  }>>;
7086
7573
  } & {
7087
7574
  type: z.ZodLiteral<"command">;
@@ -8408,6 +8895,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8408
8895
  url?: string | undefined;
8409
8896
  originatingPrompt?: string | undefined;
8410
8897
  } | undefined;
8898
+ ui?: {
8899
+ layoutId: string;
8900
+ mode: "custom" | "as-is" | "modify";
8901
+ regions: Record<string, {
8902
+ name: string;
8903
+ id: string;
8904
+ slots?: Record<string, unknown> | undefined;
8905
+ }[]>;
8906
+ customizationNotes?: string | undefined;
8907
+ } | undefined;
8411
8908
  } | undefined;
8412
8909
  request?: string | undefined;
8413
8910
  mappings?: {
@@ -8567,6 +9064,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8567
9064
  url?: string | undefined;
8568
9065
  originatingPrompt?: string | undefined;
8569
9066
  } | undefined;
9067
+ ui?: {
9068
+ layoutId: string;
9069
+ mode: "custom" | "as-is" | "modify";
9070
+ regions: Record<string, {
9071
+ name: string;
9072
+ id: string;
9073
+ slots?: Record<string, unknown> | undefined;
9074
+ }[]>;
9075
+ customizationNotes?: string | undefined;
9076
+ } | undefined;
8570
9077
  } | undefined;
8571
9078
  request?: string | undefined;
8572
9079
  mappings?: {
@@ -8601,18 +9108,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8601
9108
  originatingPrompt?: string | undefined;
8602
9109
  }>>;
8603
9110
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9111
+ ui: z.ZodOptional<z.ZodObject<{
9112
+ layoutId: z.ZodString;
9113
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
9114
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
9115
+ id: z.ZodString;
9116
+ name: z.ZodString;
9117
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
9118
+ }, "strip", z.ZodTypeAny, {
9119
+ name: string;
9120
+ id: string;
9121
+ slots?: Record<string, unknown> | undefined;
9122
+ }, {
9123
+ name: string;
9124
+ id: string;
9125
+ slots?: Record<string, unknown> | undefined;
9126
+ }>, "many">>;
9127
+ customizationNotes: z.ZodOptional<z.ZodString>;
9128
+ }, "strip", z.ZodTypeAny, {
9129
+ layoutId: string;
9130
+ mode: "custom" | "as-is" | "modify";
9131
+ regions: Record<string, {
9132
+ name: string;
9133
+ id: string;
9134
+ slots?: Record<string, unknown> | undefined;
9135
+ }[]>;
9136
+ customizationNotes?: string | undefined;
9137
+ }, {
9138
+ layoutId: string;
9139
+ mode: "custom" | "as-is" | "modify";
9140
+ regions: Record<string, {
9141
+ name: string;
9142
+ id: string;
9143
+ slots?: Record<string, unknown> | undefined;
9144
+ }[]>;
9145
+ customizationNotes?: string | undefined;
9146
+ }>>;
8604
9147
  }, "strip", z.ZodTypeAny, {
8605
9148
  metadata?: Record<string, unknown> | undefined;
8606
9149
  imageAsset?: {
8607
9150
  url?: string | undefined;
8608
9151
  originatingPrompt?: string | undefined;
8609
9152
  } | undefined;
9153
+ ui?: {
9154
+ layoutId: string;
9155
+ mode: "custom" | "as-is" | "modify";
9156
+ regions: Record<string, {
9157
+ name: string;
9158
+ id: string;
9159
+ slots?: Record<string, unknown> | undefined;
9160
+ }[]>;
9161
+ customizationNotes?: string | undefined;
9162
+ } | undefined;
8610
9163
  }, {
8611
9164
  metadata?: Record<string, unknown> | undefined;
8612
9165
  imageAsset?: {
8613
9166
  url?: string | undefined;
8614
9167
  originatingPrompt?: string | undefined;
8615
9168
  } | undefined;
9169
+ ui?: {
9170
+ layoutId: string;
9171
+ mode: "custom" | "as-is" | "modify";
9172
+ regions: Record<string, {
9173
+ name: string;
9174
+ id: string;
9175
+ slots?: Record<string, unknown> | undefined;
9176
+ }[]>;
9177
+ customizationNotes?: string | undefined;
9178
+ } | undefined;
8616
9179
  }>>;
8617
9180
  } & {
8618
9181
  type: z.ZodLiteral<"query">;
@@ -9939,6 +10502,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9939
10502
  url?: string | undefined;
9940
10503
  originatingPrompt?: string | undefined;
9941
10504
  } | undefined;
10505
+ ui?: {
10506
+ layoutId: string;
10507
+ mode: "custom" | "as-is" | "modify";
10508
+ regions: Record<string, {
10509
+ name: string;
10510
+ id: string;
10511
+ slots?: Record<string, unknown> | undefined;
10512
+ }[]>;
10513
+ customizationNotes?: string | undefined;
10514
+ } | undefined;
9942
10515
  } | undefined;
9943
10516
  request?: string | undefined;
9944
10517
  mappings?: {
@@ -10098,6 +10671,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10098
10671
  url?: string | undefined;
10099
10672
  originatingPrompt?: string | undefined;
10100
10673
  } | undefined;
10674
+ ui?: {
10675
+ layoutId: string;
10676
+ mode: "custom" | "as-is" | "modify";
10677
+ regions: Record<string, {
10678
+ name: string;
10679
+ id: string;
10680
+ slots?: Record<string, unknown> | undefined;
10681
+ }[]>;
10682
+ customizationNotes?: string | undefined;
10683
+ } | undefined;
10101
10684
  } | undefined;
10102
10685
  request?: string | undefined;
10103
10686
  mappings?: {
@@ -10132,18 +10715,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10132
10715
  originatingPrompt?: string | undefined;
10133
10716
  }>>;
10134
10717
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10718
+ ui: z.ZodOptional<z.ZodObject<{
10719
+ layoutId: z.ZodString;
10720
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
10721
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
10722
+ id: z.ZodString;
10723
+ name: z.ZodString;
10724
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10725
+ }, "strip", z.ZodTypeAny, {
10726
+ name: string;
10727
+ id: string;
10728
+ slots?: Record<string, unknown> | undefined;
10729
+ }, {
10730
+ name: string;
10731
+ id: string;
10732
+ slots?: Record<string, unknown> | undefined;
10733
+ }>, "many">>;
10734
+ customizationNotes: z.ZodOptional<z.ZodString>;
10735
+ }, "strip", z.ZodTypeAny, {
10736
+ layoutId: string;
10737
+ mode: "custom" | "as-is" | "modify";
10738
+ regions: Record<string, {
10739
+ name: string;
10740
+ id: string;
10741
+ slots?: Record<string, unknown> | undefined;
10742
+ }[]>;
10743
+ customizationNotes?: string | undefined;
10744
+ }, {
10745
+ layoutId: string;
10746
+ mode: "custom" | "as-is" | "modify";
10747
+ regions: Record<string, {
10748
+ name: string;
10749
+ id: string;
10750
+ slots?: Record<string, unknown> | undefined;
10751
+ }[]>;
10752
+ customizationNotes?: string | undefined;
10753
+ }>>;
10135
10754
  }, "strip", z.ZodTypeAny, {
10136
10755
  metadata?: Record<string, unknown> | undefined;
10137
10756
  imageAsset?: {
10138
10757
  url?: string | undefined;
10139
10758
  originatingPrompt?: string | undefined;
10140
10759
  } | undefined;
10760
+ ui?: {
10761
+ layoutId: string;
10762
+ mode: "custom" | "as-is" | "modify";
10763
+ regions: Record<string, {
10764
+ name: string;
10765
+ id: string;
10766
+ slots?: Record<string, unknown> | undefined;
10767
+ }[]>;
10768
+ customizationNotes?: string | undefined;
10769
+ } | undefined;
10141
10770
  }, {
10142
10771
  metadata?: Record<string, unknown> | undefined;
10143
10772
  imageAsset?: {
10144
10773
  url?: string | undefined;
10145
10774
  originatingPrompt?: string | undefined;
10146
10775
  } | undefined;
10776
+ ui?: {
10777
+ layoutId: string;
10778
+ mode: "custom" | "as-is" | "modify";
10779
+ regions: Record<string, {
10780
+ name: string;
10781
+ id: string;
10782
+ slots?: Record<string, unknown> | undefined;
10783
+ }[]>;
10784
+ customizationNotes?: string | undefined;
10785
+ } | undefined;
10147
10786
  }>>;
10148
10787
  } & {
10149
10788
  type: z.ZodLiteral<"react">;
@@ -11406,6 +12045,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11406
12045
  url?: string | undefined;
11407
12046
  originatingPrompt?: string | undefined;
11408
12047
  } | undefined;
12048
+ ui?: {
12049
+ layoutId: string;
12050
+ mode: "custom" | "as-is" | "modify";
12051
+ regions: Record<string, {
12052
+ name: string;
12053
+ id: string;
12054
+ slots?: Record<string, unknown> | undefined;
12055
+ }[]>;
12056
+ customizationNotes?: string | undefined;
12057
+ } | undefined;
11409
12058
  } | undefined;
11410
12059
  }, {
11411
12060
  type: "react";
@@ -11548,6 +12197,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11548
12197
  url?: string | undefined;
11549
12198
  originatingPrompt?: string | undefined;
11550
12199
  } | undefined;
12200
+ ui?: {
12201
+ layoutId: string;
12202
+ mode: "custom" | "as-is" | "modify";
12203
+ regions: Record<string, {
12204
+ name: string;
12205
+ id: string;
12206
+ slots?: Record<string, unknown> | undefined;
12207
+ }[]>;
12208
+ customizationNotes?: string | undefined;
12209
+ } | undefined;
11551
12210
  } | undefined;
11552
12211
  }>, z.ZodObject<{
11553
12212
  name: z.ZodString;
@@ -11568,18 +12227,74 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11568
12227
  originatingPrompt?: string | undefined;
11569
12228
  }>>;
11570
12229
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12230
+ ui: z.ZodOptional<z.ZodObject<{
12231
+ layoutId: z.ZodString;
12232
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
12233
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12234
+ id: z.ZodString;
12235
+ name: z.ZodString;
12236
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12237
+ }, "strip", z.ZodTypeAny, {
12238
+ name: string;
12239
+ id: string;
12240
+ slots?: Record<string, unknown> | undefined;
12241
+ }, {
12242
+ name: string;
12243
+ id: string;
12244
+ slots?: Record<string, unknown> | undefined;
12245
+ }>, "many">>;
12246
+ customizationNotes: z.ZodOptional<z.ZodString>;
12247
+ }, "strip", z.ZodTypeAny, {
12248
+ layoutId: string;
12249
+ mode: "custom" | "as-is" | "modify";
12250
+ regions: Record<string, {
12251
+ name: string;
12252
+ id: string;
12253
+ slots?: Record<string, unknown> | undefined;
12254
+ }[]>;
12255
+ customizationNotes?: string | undefined;
12256
+ }, {
12257
+ layoutId: string;
12258
+ mode: "custom" | "as-is" | "modify";
12259
+ regions: Record<string, {
12260
+ name: string;
12261
+ id: string;
12262
+ slots?: Record<string, unknown> | undefined;
12263
+ }[]>;
12264
+ customizationNotes?: string | undefined;
12265
+ }>>;
11571
12266
  }, "strip", z.ZodTypeAny, {
11572
12267
  metadata?: Record<string, unknown> | undefined;
11573
12268
  imageAsset?: {
11574
12269
  url?: string | undefined;
11575
12270
  originatingPrompt?: string | undefined;
11576
12271
  } | undefined;
12272
+ ui?: {
12273
+ layoutId: string;
12274
+ mode: "custom" | "as-is" | "modify";
12275
+ regions: Record<string, {
12276
+ name: string;
12277
+ id: string;
12278
+ slots?: Record<string, unknown> | undefined;
12279
+ }[]>;
12280
+ customizationNotes?: string | undefined;
12281
+ } | undefined;
11577
12282
  }, {
11578
12283
  metadata?: Record<string, unknown> | undefined;
11579
12284
  imageAsset?: {
11580
12285
  url?: string | undefined;
11581
12286
  originatingPrompt?: string | undefined;
11582
12287
  } | undefined;
12288
+ ui?: {
12289
+ layoutId: string;
12290
+ mode: "custom" | "as-is" | "modify";
12291
+ regions: Record<string, {
12292
+ name: string;
12293
+ id: string;
12294
+ slots?: Record<string, unknown> | undefined;
12295
+ }[]>;
12296
+ customizationNotes?: string | undefined;
12297
+ } | undefined;
11583
12298
  }>>;
11584
12299
  } & {
11585
12300
  type: z.ZodLiteral<"experience">;
@@ -11607,6 +12322,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11607
12322
  url?: string | undefined;
11608
12323
  originatingPrompt?: string | undefined;
11609
12324
  } | undefined;
12325
+ ui?: {
12326
+ layoutId: string;
12327
+ mode: "custom" | "as-is" | "modify";
12328
+ regions: Record<string, {
12329
+ name: string;
12330
+ id: string;
12331
+ slots?: Record<string, unknown> | undefined;
12332
+ }[]>;
12333
+ customizationNotes?: string | undefined;
12334
+ } | undefined;
11610
12335
  } | undefined;
11611
12336
  }, {
11612
12337
  type: "experience";
@@ -11625,6 +12350,16 @@ declare const SliceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11625
12350
  url?: string | undefined;
11626
12351
  originatingPrompt?: string | undefined;
11627
12352
  } | undefined;
12353
+ ui?: {
12354
+ layoutId: string;
12355
+ mode: "custom" | "as-is" | "modify";
12356
+ regions: Record<string, {
12357
+ name: string;
12358
+ id: string;
12359
+ slots?: Record<string, unknown> | undefined;
12360
+ }[]>;
12361
+ customizationNotes?: string | undefined;
12362
+ } | undefined;
11628
12363
  } | undefined;
11629
12364
  }>]>;
11630
12365
  export declare const SceneRouteSchema: z.ZodObject<{
@@ -11699,18 +12434,74 @@ export declare const JourneySchema: z.ZodObject<{
11699
12434
  originatingPrompt?: string | undefined;
11700
12435
  }>>;
11701
12436
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12437
+ ui: z.ZodOptional<z.ZodObject<{
12438
+ layoutId: z.ZodString;
12439
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
12440
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12441
+ id: z.ZodString;
12442
+ name: z.ZodString;
12443
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12444
+ }, "strip", z.ZodTypeAny, {
12445
+ name: string;
12446
+ id: string;
12447
+ slots?: Record<string, unknown> | undefined;
12448
+ }, {
12449
+ name: string;
12450
+ id: string;
12451
+ slots?: Record<string, unknown> | undefined;
12452
+ }>, "many">>;
12453
+ customizationNotes: z.ZodOptional<z.ZodString>;
12454
+ }, "strip", z.ZodTypeAny, {
12455
+ layoutId: string;
12456
+ mode: "custom" | "as-is" | "modify";
12457
+ regions: Record<string, {
12458
+ name: string;
12459
+ id: string;
12460
+ slots?: Record<string, unknown> | undefined;
12461
+ }[]>;
12462
+ customizationNotes?: string | undefined;
12463
+ }, {
12464
+ layoutId: string;
12465
+ mode: "custom" | "as-is" | "modify";
12466
+ regions: Record<string, {
12467
+ name: string;
12468
+ id: string;
12469
+ slots?: Record<string, unknown> | undefined;
12470
+ }[]>;
12471
+ customizationNotes?: string | undefined;
12472
+ }>>;
11702
12473
  }, "strip", z.ZodTypeAny, {
11703
12474
  metadata?: Record<string, unknown> | undefined;
11704
12475
  imageAsset?: {
11705
12476
  url?: string | undefined;
11706
12477
  originatingPrompt?: string | undefined;
11707
12478
  } | undefined;
12479
+ ui?: {
12480
+ layoutId: string;
12481
+ mode: "custom" | "as-is" | "modify";
12482
+ regions: Record<string, {
12483
+ name: string;
12484
+ id: string;
12485
+ slots?: Record<string, unknown> | undefined;
12486
+ }[]>;
12487
+ customizationNotes?: string | undefined;
12488
+ } | undefined;
11708
12489
  }, {
11709
12490
  metadata?: Record<string, unknown> | undefined;
11710
12491
  imageAsset?: {
11711
12492
  url?: string | undefined;
11712
12493
  originatingPrompt?: string | undefined;
11713
12494
  } | undefined;
12495
+ ui?: {
12496
+ layoutId: string;
12497
+ mode: "custom" | "as-is" | "modify";
12498
+ regions: Record<string, {
12499
+ name: string;
12500
+ id: string;
12501
+ slots?: Record<string, unknown> | undefined;
12502
+ }[]>;
12503
+ customizationNotes?: string | undefined;
12504
+ } | undefined;
11714
12505
  }>>;
11715
12506
  }, "strip", z.ZodTypeAny, {
11716
12507
  name: string;
@@ -11723,6 +12514,16 @@ export declare const JourneySchema: z.ZodObject<{
11723
12514
  url?: string | undefined;
11724
12515
  originatingPrompt?: string | undefined;
11725
12516
  } | undefined;
12517
+ ui?: {
12518
+ layoutId: string;
12519
+ mode: "custom" | "as-is" | "modify";
12520
+ regions: Record<string, {
12521
+ name: string;
12522
+ id: string;
12523
+ slots?: Record<string, unknown> | undefined;
12524
+ }[]>;
12525
+ customizationNotes?: string | undefined;
12526
+ } | undefined;
11726
12527
  } | undefined;
11727
12528
  actors?: string[] | undefined;
11728
12529
  }, {
@@ -11736,6 +12537,16 @@ export declare const JourneySchema: z.ZodObject<{
11736
12537
  url?: string | undefined;
11737
12538
  originatingPrompt?: string | undefined;
11738
12539
  } | undefined;
12540
+ ui?: {
12541
+ layoutId: string;
12542
+ mode: "custom" | "as-is" | "modify";
12543
+ regions: Record<string, {
12544
+ name: string;
12545
+ id: string;
12546
+ slots?: Record<string, unknown> | undefined;
12547
+ }[]>;
12548
+ customizationNotes?: string | undefined;
12549
+ } | undefined;
11739
12550
  } | undefined;
11740
12551
  actors?: string[] | undefined;
11741
12552
  }>;
@@ -11762,18 +12573,74 @@ declare const NarrativeSchema: z.ZodObject<{
11762
12573
  originatingPrompt?: string | undefined;
11763
12574
  }>>;
11764
12575
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12576
+ ui: z.ZodOptional<z.ZodObject<{
12577
+ layoutId: z.ZodString;
12578
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
12579
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
12580
+ id: z.ZodString;
12581
+ name: z.ZodString;
12582
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
12583
+ }, "strip", z.ZodTypeAny, {
12584
+ name: string;
12585
+ id: string;
12586
+ slots?: Record<string, unknown> | undefined;
12587
+ }, {
12588
+ name: string;
12589
+ id: string;
12590
+ slots?: Record<string, unknown> | undefined;
12591
+ }>, "many">>;
12592
+ customizationNotes: z.ZodOptional<z.ZodString>;
12593
+ }, "strip", z.ZodTypeAny, {
12594
+ layoutId: string;
12595
+ mode: "custom" | "as-is" | "modify";
12596
+ regions: Record<string, {
12597
+ name: string;
12598
+ id: string;
12599
+ slots?: Record<string, unknown> | undefined;
12600
+ }[]>;
12601
+ customizationNotes?: string | undefined;
12602
+ }, {
12603
+ layoutId: string;
12604
+ mode: "custom" | "as-is" | "modify";
12605
+ regions: Record<string, {
12606
+ name: string;
12607
+ id: string;
12608
+ slots?: Record<string, unknown> | undefined;
12609
+ }[]>;
12610
+ customizationNotes?: string | undefined;
12611
+ }>>;
11765
12612
  }, "strip", z.ZodTypeAny, {
11766
12613
  metadata?: Record<string, unknown> | undefined;
11767
12614
  imageAsset?: {
11768
12615
  url?: string | undefined;
11769
12616
  originatingPrompt?: string | undefined;
11770
12617
  } | undefined;
12618
+ ui?: {
12619
+ layoutId: string;
12620
+ mode: "custom" | "as-is" | "modify";
12621
+ regions: Record<string, {
12622
+ name: string;
12623
+ id: string;
12624
+ slots?: Record<string, unknown> | undefined;
12625
+ }[]>;
12626
+ customizationNotes?: string | undefined;
12627
+ } | undefined;
11771
12628
  }, {
11772
12629
  metadata?: Record<string, unknown> | undefined;
11773
12630
  imageAsset?: {
11774
12631
  url?: string | undefined;
11775
12632
  originatingPrompt?: string | undefined;
11776
12633
  } | undefined;
12634
+ ui?: {
12635
+ layoutId: string;
12636
+ mode: "custom" | "as-is" | "modify";
12637
+ regions: Record<string, {
12638
+ name: string;
12639
+ id: string;
12640
+ slots?: Record<string, unknown> | undefined;
12641
+ }[]>;
12642
+ customizationNotes?: string | undefined;
12643
+ } | undefined;
11777
12644
  }>>;
11778
12645
  } & {
11779
12646
  type: z.ZodLiteral<"command">;
@@ -13100,6 +13967,16 @@ declare const NarrativeSchema: z.ZodObject<{
13100
13967
  url?: string | undefined;
13101
13968
  originatingPrompt?: string | undefined;
13102
13969
  } | undefined;
13970
+ ui?: {
13971
+ layoutId: string;
13972
+ mode: "custom" | "as-is" | "modify";
13973
+ regions: Record<string, {
13974
+ name: string;
13975
+ id: string;
13976
+ slots?: Record<string, unknown> | undefined;
13977
+ }[]>;
13978
+ customizationNotes?: string | undefined;
13979
+ } | undefined;
13103
13980
  } | undefined;
13104
13981
  request?: string | undefined;
13105
13982
  mappings?: {
@@ -13259,6 +14136,16 @@ declare const NarrativeSchema: z.ZodObject<{
13259
14136
  url?: string | undefined;
13260
14137
  originatingPrompt?: string | undefined;
13261
14138
  } | undefined;
14139
+ ui?: {
14140
+ layoutId: string;
14141
+ mode: "custom" | "as-is" | "modify";
14142
+ regions: Record<string, {
14143
+ name: string;
14144
+ id: string;
14145
+ slots?: Record<string, unknown> | undefined;
14146
+ }[]>;
14147
+ customizationNotes?: string | undefined;
14148
+ } | undefined;
13262
14149
  } | undefined;
13263
14150
  request?: string | undefined;
13264
14151
  mappings?: {
@@ -13293,18 +14180,74 @@ declare const NarrativeSchema: z.ZodObject<{
13293
14180
  originatingPrompt?: string | undefined;
13294
14181
  }>>;
13295
14182
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14183
+ ui: z.ZodOptional<z.ZodObject<{
14184
+ layoutId: z.ZodString;
14185
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
14186
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
14187
+ id: z.ZodString;
14188
+ name: z.ZodString;
14189
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14190
+ }, "strip", z.ZodTypeAny, {
14191
+ name: string;
14192
+ id: string;
14193
+ slots?: Record<string, unknown> | undefined;
14194
+ }, {
14195
+ name: string;
14196
+ id: string;
14197
+ slots?: Record<string, unknown> | undefined;
14198
+ }>, "many">>;
14199
+ customizationNotes: z.ZodOptional<z.ZodString>;
14200
+ }, "strip", z.ZodTypeAny, {
14201
+ layoutId: string;
14202
+ mode: "custom" | "as-is" | "modify";
14203
+ regions: Record<string, {
14204
+ name: string;
14205
+ id: string;
14206
+ slots?: Record<string, unknown> | undefined;
14207
+ }[]>;
14208
+ customizationNotes?: string | undefined;
14209
+ }, {
14210
+ layoutId: string;
14211
+ mode: "custom" | "as-is" | "modify";
14212
+ regions: Record<string, {
14213
+ name: string;
14214
+ id: string;
14215
+ slots?: Record<string, unknown> | undefined;
14216
+ }[]>;
14217
+ customizationNotes?: string | undefined;
14218
+ }>>;
13296
14219
  }, "strip", z.ZodTypeAny, {
13297
14220
  metadata?: Record<string, unknown> | undefined;
13298
14221
  imageAsset?: {
13299
14222
  url?: string | undefined;
13300
14223
  originatingPrompt?: string | undefined;
13301
14224
  } | undefined;
14225
+ ui?: {
14226
+ layoutId: string;
14227
+ mode: "custom" | "as-is" | "modify";
14228
+ regions: Record<string, {
14229
+ name: string;
14230
+ id: string;
14231
+ slots?: Record<string, unknown> | undefined;
14232
+ }[]>;
14233
+ customizationNotes?: string | undefined;
14234
+ } | undefined;
13302
14235
  }, {
13303
14236
  metadata?: Record<string, unknown> | undefined;
13304
14237
  imageAsset?: {
13305
14238
  url?: string | undefined;
13306
14239
  originatingPrompt?: string | undefined;
13307
14240
  } | undefined;
14241
+ ui?: {
14242
+ layoutId: string;
14243
+ mode: "custom" | "as-is" | "modify";
14244
+ regions: Record<string, {
14245
+ name: string;
14246
+ id: string;
14247
+ slots?: Record<string, unknown> | undefined;
14248
+ }[]>;
14249
+ customizationNotes?: string | undefined;
14250
+ } | undefined;
13308
14251
  }>>;
13309
14252
  } & {
13310
14253
  type: z.ZodLiteral<"query">;
@@ -14631,6 +15574,16 @@ declare const NarrativeSchema: z.ZodObject<{
14631
15574
  url?: string | undefined;
14632
15575
  originatingPrompt?: string | undefined;
14633
15576
  } | undefined;
15577
+ ui?: {
15578
+ layoutId: string;
15579
+ mode: "custom" | "as-is" | "modify";
15580
+ regions: Record<string, {
15581
+ name: string;
15582
+ id: string;
15583
+ slots?: Record<string, unknown> | undefined;
15584
+ }[]>;
15585
+ customizationNotes?: string | undefined;
15586
+ } | undefined;
14634
15587
  } | undefined;
14635
15588
  request?: string | undefined;
14636
15589
  mappings?: {
@@ -14790,6 +15743,16 @@ declare const NarrativeSchema: z.ZodObject<{
14790
15743
  url?: string | undefined;
14791
15744
  originatingPrompt?: string | undefined;
14792
15745
  } | undefined;
15746
+ ui?: {
15747
+ layoutId: string;
15748
+ mode: "custom" | "as-is" | "modify";
15749
+ regions: Record<string, {
15750
+ name: string;
15751
+ id: string;
15752
+ slots?: Record<string, unknown> | undefined;
15753
+ }[]>;
15754
+ customizationNotes?: string | undefined;
15755
+ } | undefined;
14793
15756
  } | undefined;
14794
15757
  request?: string | undefined;
14795
15758
  mappings?: {
@@ -14824,18 +15787,74 @@ declare const NarrativeSchema: z.ZodObject<{
14824
15787
  originatingPrompt?: string | undefined;
14825
15788
  }>>;
14826
15789
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15790
+ ui: z.ZodOptional<z.ZodObject<{
15791
+ layoutId: z.ZodString;
15792
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
15793
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
15794
+ id: z.ZodString;
15795
+ name: z.ZodString;
15796
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15797
+ }, "strip", z.ZodTypeAny, {
15798
+ name: string;
15799
+ id: string;
15800
+ slots?: Record<string, unknown> | undefined;
15801
+ }, {
15802
+ name: string;
15803
+ id: string;
15804
+ slots?: Record<string, unknown> | undefined;
15805
+ }>, "many">>;
15806
+ customizationNotes: z.ZodOptional<z.ZodString>;
15807
+ }, "strip", z.ZodTypeAny, {
15808
+ layoutId: string;
15809
+ mode: "custom" | "as-is" | "modify";
15810
+ regions: Record<string, {
15811
+ name: string;
15812
+ id: string;
15813
+ slots?: Record<string, unknown> | undefined;
15814
+ }[]>;
15815
+ customizationNotes?: string | undefined;
15816
+ }, {
15817
+ layoutId: string;
15818
+ mode: "custom" | "as-is" | "modify";
15819
+ regions: Record<string, {
15820
+ name: string;
15821
+ id: string;
15822
+ slots?: Record<string, unknown> | undefined;
15823
+ }[]>;
15824
+ customizationNotes?: string | undefined;
15825
+ }>>;
14827
15826
  }, "strip", z.ZodTypeAny, {
14828
15827
  metadata?: Record<string, unknown> | undefined;
14829
15828
  imageAsset?: {
14830
15829
  url?: string | undefined;
14831
15830
  originatingPrompt?: string | undefined;
14832
15831
  } | undefined;
15832
+ ui?: {
15833
+ layoutId: string;
15834
+ mode: "custom" | "as-is" | "modify";
15835
+ regions: Record<string, {
15836
+ name: string;
15837
+ id: string;
15838
+ slots?: Record<string, unknown> | undefined;
15839
+ }[]>;
15840
+ customizationNotes?: string | undefined;
15841
+ } | undefined;
14833
15842
  }, {
14834
15843
  metadata?: Record<string, unknown> | undefined;
14835
15844
  imageAsset?: {
14836
15845
  url?: string | undefined;
14837
15846
  originatingPrompt?: string | undefined;
14838
15847
  } | undefined;
15848
+ ui?: {
15849
+ layoutId: string;
15850
+ mode: "custom" | "as-is" | "modify";
15851
+ regions: Record<string, {
15852
+ name: string;
15853
+ id: string;
15854
+ slots?: Record<string, unknown> | undefined;
15855
+ }[]>;
15856
+ customizationNotes?: string | undefined;
15857
+ } | undefined;
14839
15858
  }>>;
14840
15859
  } & {
14841
15860
  type: z.ZodLiteral<"react">;
@@ -16098,6 +17117,16 @@ declare const NarrativeSchema: z.ZodObject<{
16098
17117
  url?: string | undefined;
16099
17118
  originatingPrompt?: string | undefined;
16100
17119
  } | undefined;
17120
+ ui?: {
17121
+ layoutId: string;
17122
+ mode: "custom" | "as-is" | "modify";
17123
+ regions: Record<string, {
17124
+ name: string;
17125
+ id: string;
17126
+ slots?: Record<string, unknown> | undefined;
17127
+ }[]>;
17128
+ customizationNotes?: string | undefined;
17129
+ } | undefined;
16101
17130
  } | undefined;
16102
17131
  }, {
16103
17132
  type: "react";
@@ -16240,6 +17269,16 @@ declare const NarrativeSchema: z.ZodObject<{
16240
17269
  url?: string | undefined;
16241
17270
  originatingPrompt?: string | undefined;
16242
17271
  } | undefined;
17272
+ ui?: {
17273
+ layoutId: string;
17274
+ mode: "custom" | "as-is" | "modify";
17275
+ regions: Record<string, {
17276
+ name: string;
17277
+ id: string;
17278
+ slots?: Record<string, unknown> | undefined;
17279
+ }[]>;
17280
+ customizationNotes?: string | undefined;
17281
+ } | undefined;
16243
17282
  } | undefined;
16244
17283
  }>, z.ZodObject<{
16245
17284
  name: z.ZodString;
@@ -16260,18 +17299,74 @@ declare const NarrativeSchema: z.ZodObject<{
16260
17299
  originatingPrompt?: string | undefined;
16261
17300
  }>>;
16262
17301
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17302
+ ui: z.ZodOptional<z.ZodObject<{
17303
+ layoutId: z.ZodString;
17304
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
17305
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
17306
+ id: z.ZodString;
17307
+ name: z.ZodString;
17308
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17309
+ }, "strip", z.ZodTypeAny, {
17310
+ name: string;
17311
+ id: string;
17312
+ slots?: Record<string, unknown> | undefined;
17313
+ }, {
17314
+ name: string;
17315
+ id: string;
17316
+ slots?: Record<string, unknown> | undefined;
17317
+ }>, "many">>;
17318
+ customizationNotes: z.ZodOptional<z.ZodString>;
17319
+ }, "strip", z.ZodTypeAny, {
17320
+ layoutId: string;
17321
+ mode: "custom" | "as-is" | "modify";
17322
+ regions: Record<string, {
17323
+ name: string;
17324
+ id: string;
17325
+ slots?: Record<string, unknown> | undefined;
17326
+ }[]>;
17327
+ customizationNotes?: string | undefined;
17328
+ }, {
17329
+ layoutId: string;
17330
+ mode: "custom" | "as-is" | "modify";
17331
+ regions: Record<string, {
17332
+ name: string;
17333
+ id: string;
17334
+ slots?: Record<string, unknown> | undefined;
17335
+ }[]>;
17336
+ customizationNotes?: string | undefined;
17337
+ }>>;
16263
17338
  }, "strip", z.ZodTypeAny, {
16264
17339
  metadata?: Record<string, unknown> | undefined;
16265
17340
  imageAsset?: {
16266
17341
  url?: string | undefined;
16267
17342
  originatingPrompt?: string | undefined;
16268
17343
  } | undefined;
17344
+ ui?: {
17345
+ layoutId: string;
17346
+ mode: "custom" | "as-is" | "modify";
17347
+ regions: Record<string, {
17348
+ name: string;
17349
+ id: string;
17350
+ slots?: Record<string, unknown> | undefined;
17351
+ }[]>;
17352
+ customizationNotes?: string | undefined;
17353
+ } | undefined;
16269
17354
  }, {
16270
17355
  metadata?: Record<string, unknown> | undefined;
16271
17356
  imageAsset?: {
16272
17357
  url?: string | undefined;
16273
17358
  originatingPrompt?: string | undefined;
16274
17359
  } | undefined;
17360
+ ui?: {
17361
+ layoutId: string;
17362
+ mode: "custom" | "as-is" | "modify";
17363
+ regions: Record<string, {
17364
+ name: string;
17365
+ id: string;
17366
+ slots?: Record<string, unknown> | undefined;
17367
+ }[]>;
17368
+ customizationNotes?: string | undefined;
17369
+ } | undefined;
16275
17370
  }>>;
16276
17371
  } & {
16277
17372
  type: z.ZodLiteral<"experience">;
@@ -16299,6 +17394,16 @@ declare const NarrativeSchema: z.ZodObject<{
16299
17394
  url?: string | undefined;
16300
17395
  originatingPrompt?: string | undefined;
16301
17396
  } | undefined;
17397
+ ui?: {
17398
+ layoutId: string;
17399
+ mode: "custom" | "as-is" | "modify";
17400
+ regions: Record<string, {
17401
+ name: string;
17402
+ id: string;
17403
+ slots?: Record<string, unknown> | undefined;
17404
+ }[]>;
17405
+ customizationNotes?: string | undefined;
17406
+ } | undefined;
16302
17407
  } | undefined;
16303
17408
  }, {
16304
17409
  type: "experience";
@@ -16317,6 +17422,16 @@ declare const NarrativeSchema: z.ZodObject<{
16317
17422
  url?: string | undefined;
16318
17423
  originatingPrompt?: string | undefined;
16319
17424
  } | undefined;
17425
+ ui?: {
17426
+ layoutId: string;
17427
+ mode: "custom" | "as-is" | "modify";
17428
+ regions: Record<string, {
17429
+ name: string;
17430
+ id: string;
17431
+ slots?: Record<string, unknown> | undefined;
17432
+ }[]>;
17433
+ customizationNotes?: string | undefined;
17434
+ } | undefined;
16320
17435
  } | undefined;
16321
17436
  }>]>, "many">;
16322
17437
  sourceFile: z.ZodOptional<z.ZodString>;
@@ -16370,18 +17485,74 @@ declare const NarrativeSchema: z.ZodObject<{
16370
17485
  originatingPrompt?: string | undefined;
16371
17486
  }>>;
16372
17487
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17488
+ ui: z.ZodOptional<z.ZodObject<{
17489
+ layoutId: z.ZodString;
17490
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
17491
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
17492
+ id: z.ZodString;
17493
+ name: z.ZodString;
17494
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
17495
+ }, "strip", z.ZodTypeAny, {
17496
+ name: string;
17497
+ id: string;
17498
+ slots?: Record<string, unknown> | undefined;
17499
+ }, {
17500
+ name: string;
17501
+ id: string;
17502
+ slots?: Record<string, unknown> | undefined;
17503
+ }>, "many">>;
17504
+ customizationNotes: z.ZodOptional<z.ZodString>;
17505
+ }, "strip", z.ZodTypeAny, {
17506
+ layoutId: string;
17507
+ mode: "custom" | "as-is" | "modify";
17508
+ regions: Record<string, {
17509
+ name: string;
17510
+ id: string;
17511
+ slots?: Record<string, unknown> | undefined;
17512
+ }[]>;
17513
+ customizationNotes?: string | undefined;
17514
+ }, {
17515
+ layoutId: string;
17516
+ mode: "custom" | "as-is" | "modify";
17517
+ regions: Record<string, {
17518
+ name: string;
17519
+ id: string;
17520
+ slots?: Record<string, unknown> | undefined;
17521
+ }[]>;
17522
+ customizationNotes?: string | undefined;
17523
+ }>>;
16373
17524
  }, "strip", z.ZodTypeAny, {
16374
17525
  metadata?: Record<string, unknown> | undefined;
16375
17526
  imageAsset?: {
16376
17527
  url?: string | undefined;
16377
17528
  originatingPrompt?: string | undefined;
16378
17529
  } | undefined;
17530
+ ui?: {
17531
+ layoutId: string;
17532
+ mode: "custom" | "as-is" | "modify";
17533
+ regions: Record<string, {
17534
+ name: string;
17535
+ id: string;
17536
+ slots?: Record<string, unknown> | undefined;
17537
+ }[]>;
17538
+ customizationNotes?: string | undefined;
17539
+ } | undefined;
16379
17540
  }, {
16380
17541
  metadata?: Record<string, unknown> | undefined;
16381
17542
  imageAsset?: {
16382
17543
  url?: string | undefined;
16383
17544
  originatingPrompt?: string | undefined;
16384
17545
  } | undefined;
17546
+ ui?: {
17547
+ layoutId: string;
17548
+ mode: "custom" | "as-is" | "modify";
17549
+ regions: Record<string, {
17550
+ name: string;
17551
+ id: string;
17552
+ slots?: Record<string, unknown> | undefined;
17553
+ }[]>;
17554
+ customizationNotes?: string | undefined;
17555
+ } | undefined;
16385
17556
  }>>;
16386
17557
  }, "strip", z.ZodTypeAny, {
16387
17558
  name: string;
@@ -16529,6 +17700,16 @@ declare const NarrativeSchema: z.ZodObject<{
16529
17700
  url?: string | undefined;
16530
17701
  originatingPrompt?: string | undefined;
16531
17702
  } | undefined;
17703
+ ui?: {
17704
+ layoutId: string;
17705
+ mode: "custom" | "as-is" | "modify";
17706
+ regions: Record<string, {
17707
+ name: string;
17708
+ id: string;
17709
+ slots?: Record<string, unknown> | undefined;
17710
+ }[]>;
17711
+ customizationNotes?: string | undefined;
17712
+ } | undefined;
16532
17713
  } | undefined;
16533
17714
  request?: string | undefined;
16534
17715
  mappings?: {
@@ -16688,6 +17869,16 @@ declare const NarrativeSchema: z.ZodObject<{
16688
17869
  url?: string | undefined;
16689
17870
  originatingPrompt?: string | undefined;
16690
17871
  } | undefined;
17872
+ ui?: {
17873
+ layoutId: string;
17874
+ mode: "custom" | "as-is" | "modify";
17875
+ regions: Record<string, {
17876
+ name: string;
17877
+ id: string;
17878
+ slots?: Record<string, unknown> | undefined;
17879
+ }[]>;
17880
+ customizationNotes?: string | undefined;
17881
+ } | undefined;
16691
17882
  } | undefined;
16692
17883
  request?: string | undefined;
16693
17884
  mappings?: {
@@ -16844,6 +18035,16 @@ declare const NarrativeSchema: z.ZodObject<{
16844
18035
  url?: string | undefined;
16845
18036
  originatingPrompt?: string | undefined;
16846
18037
  } | undefined;
18038
+ ui?: {
18039
+ layoutId: string;
18040
+ mode: "custom" | "as-is" | "modify";
18041
+ regions: Record<string, {
18042
+ name: string;
18043
+ id: string;
18044
+ slots?: Record<string, unknown> | undefined;
18045
+ }[]>;
18046
+ customizationNotes?: string | undefined;
18047
+ } | undefined;
16847
18048
  } | undefined;
16848
18049
  } | {
16849
18050
  type: "experience";
@@ -16862,6 +18063,16 @@ declare const NarrativeSchema: z.ZodObject<{
16862
18063
  url?: string | undefined;
16863
18064
  originatingPrompt?: string | undefined;
16864
18065
  } | undefined;
18066
+ ui?: {
18067
+ layoutId: string;
18068
+ mode: "custom" | "as-is" | "modify";
18069
+ regions: Record<string, {
18070
+ name: string;
18071
+ id: string;
18072
+ slots?: Record<string, unknown> | undefined;
18073
+ }[]>;
18074
+ customizationNotes?: string | undefined;
18075
+ } | undefined;
16865
18076
  } | undefined;
16866
18077
  })[];
16867
18078
  sourceFile?: string | undefined;
@@ -16873,6 +18084,16 @@ declare const NarrativeSchema: z.ZodObject<{
16873
18084
  url?: string | undefined;
16874
18085
  originatingPrompt?: string | undefined;
16875
18086
  } | undefined;
18087
+ ui?: {
18088
+ layoutId: string;
18089
+ mode: "custom" | "as-is" | "modify";
18090
+ regions: Record<string, {
18091
+ name: string;
18092
+ id: string;
18093
+ slots?: Record<string, unknown> | undefined;
18094
+ }[]>;
18095
+ customizationNotes?: string | undefined;
18096
+ } | undefined;
16876
18097
  } | undefined;
16877
18098
  scene?: {
16878
18099
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -17030,6 +18251,16 @@ declare const NarrativeSchema: z.ZodObject<{
17030
18251
  url?: string | undefined;
17031
18252
  originatingPrompt?: string | undefined;
17032
18253
  } | undefined;
18254
+ ui?: {
18255
+ layoutId: string;
18256
+ mode: "custom" | "as-is" | "modify";
18257
+ regions: Record<string, {
18258
+ name: string;
18259
+ id: string;
18260
+ slots?: Record<string, unknown> | undefined;
18261
+ }[]>;
18262
+ customizationNotes?: string | undefined;
18263
+ } | undefined;
17033
18264
  } | undefined;
17034
18265
  request?: string | undefined;
17035
18266
  mappings?: {
@@ -17189,6 +18420,16 @@ declare const NarrativeSchema: z.ZodObject<{
17189
18420
  url?: string | undefined;
17190
18421
  originatingPrompt?: string | undefined;
17191
18422
  } | undefined;
18423
+ ui?: {
18424
+ layoutId: string;
18425
+ mode: "custom" | "as-is" | "modify";
18426
+ regions: Record<string, {
18427
+ name: string;
18428
+ id: string;
18429
+ slots?: Record<string, unknown> | undefined;
18430
+ }[]>;
18431
+ customizationNotes?: string | undefined;
18432
+ } | undefined;
17192
18433
  } | undefined;
17193
18434
  request?: string | undefined;
17194
18435
  mappings?: {
@@ -17345,6 +18586,16 @@ declare const NarrativeSchema: z.ZodObject<{
17345
18586
  url?: string | undefined;
17346
18587
  originatingPrompt?: string | undefined;
17347
18588
  } | undefined;
18589
+ ui?: {
18590
+ layoutId: string;
18591
+ mode: "custom" | "as-is" | "modify";
18592
+ regions: Record<string, {
18593
+ name: string;
18594
+ id: string;
18595
+ slots?: Record<string, unknown> | undefined;
18596
+ }[]>;
18597
+ customizationNotes?: string | undefined;
18598
+ } | undefined;
17348
18599
  } | undefined;
17349
18600
  } | {
17350
18601
  type: "experience";
@@ -17363,6 +18614,16 @@ declare const NarrativeSchema: z.ZodObject<{
17363
18614
  url?: string | undefined;
17364
18615
  originatingPrompt?: string | undefined;
17365
18616
  } | undefined;
18617
+ ui?: {
18618
+ layoutId: string;
18619
+ mode: "custom" | "as-is" | "modify";
18620
+ regions: Record<string, {
18621
+ name: string;
18622
+ id: string;
18623
+ slots?: Record<string, unknown> | undefined;
18624
+ }[]>;
18625
+ customizationNotes?: string | undefined;
18626
+ } | undefined;
17366
18627
  } | undefined;
17367
18628
  })[];
17368
18629
  sourceFile?: string | undefined;
@@ -17374,6 +18635,16 @@ declare const NarrativeSchema: z.ZodObject<{
17374
18635
  url?: string | undefined;
17375
18636
  originatingPrompt?: string | undefined;
17376
18637
  } | undefined;
18638
+ ui?: {
18639
+ layoutId: string;
18640
+ mode: "custom" | "as-is" | "modify";
18641
+ regions: Record<string, {
18642
+ name: string;
18643
+ id: string;
18644
+ slots?: Record<string, unknown> | undefined;
18645
+ }[]>;
18646
+ customizationNotes?: string | undefined;
18647
+ } | undefined;
17377
18648
  } | undefined;
17378
18649
  scene?: {
17379
18650
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -17702,18 +18973,74 @@ export declare const modelSchema: z.ZodObject<{
17702
18973
  originatingPrompt?: string | undefined;
17703
18974
  }>>;
17704
18975
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18976
+ ui: z.ZodOptional<z.ZodObject<{
18977
+ layoutId: z.ZodString;
18978
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
18979
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
18980
+ id: z.ZodString;
18981
+ name: z.ZodString;
18982
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
18983
+ }, "strip", z.ZodTypeAny, {
18984
+ name: string;
18985
+ id: string;
18986
+ slots?: Record<string, unknown> | undefined;
18987
+ }, {
18988
+ name: string;
18989
+ id: string;
18990
+ slots?: Record<string, unknown> | undefined;
18991
+ }>, "many">>;
18992
+ customizationNotes: z.ZodOptional<z.ZodString>;
18993
+ }, "strip", z.ZodTypeAny, {
18994
+ layoutId: string;
18995
+ mode: "custom" | "as-is" | "modify";
18996
+ regions: Record<string, {
18997
+ name: string;
18998
+ id: string;
18999
+ slots?: Record<string, unknown> | undefined;
19000
+ }[]>;
19001
+ customizationNotes?: string | undefined;
19002
+ }, {
19003
+ layoutId: string;
19004
+ mode: "custom" | "as-is" | "modify";
19005
+ regions: Record<string, {
19006
+ name: string;
19007
+ id: string;
19008
+ slots?: Record<string, unknown> | undefined;
19009
+ }[]>;
19010
+ customizationNotes?: string | undefined;
19011
+ }>>;
17705
19012
  }, "strip", z.ZodTypeAny, {
17706
19013
  metadata?: Record<string, unknown> | undefined;
17707
19014
  imageAsset?: {
17708
19015
  url?: string | undefined;
17709
19016
  originatingPrompt?: string | undefined;
17710
19017
  } | undefined;
19018
+ ui?: {
19019
+ layoutId: string;
19020
+ mode: "custom" | "as-is" | "modify";
19021
+ regions: Record<string, {
19022
+ name: string;
19023
+ id: string;
19024
+ slots?: Record<string, unknown> | undefined;
19025
+ }[]>;
19026
+ customizationNotes?: string | undefined;
19027
+ } | undefined;
17711
19028
  }, {
17712
19029
  metadata?: Record<string, unknown> | undefined;
17713
19030
  imageAsset?: {
17714
19031
  url?: string | undefined;
17715
19032
  originatingPrompt?: string | undefined;
17716
19033
  } | undefined;
19034
+ ui?: {
19035
+ layoutId: string;
19036
+ mode: "custom" | "as-is" | "modify";
19037
+ regions: Record<string, {
19038
+ name: string;
19039
+ id: string;
19040
+ slots?: Record<string, unknown> | undefined;
19041
+ }[]>;
19042
+ customizationNotes?: string | undefined;
19043
+ } | undefined;
17717
19044
  }>>;
17718
19045
  } & {
17719
19046
  type: z.ZodLiteral<"command">;
@@ -19040,6 +20367,16 @@ export declare const modelSchema: z.ZodObject<{
19040
20367
  url?: string | undefined;
19041
20368
  originatingPrompt?: string | undefined;
19042
20369
  } | undefined;
20370
+ ui?: {
20371
+ layoutId: string;
20372
+ mode: "custom" | "as-is" | "modify";
20373
+ regions: Record<string, {
20374
+ name: string;
20375
+ id: string;
20376
+ slots?: Record<string, unknown> | undefined;
20377
+ }[]>;
20378
+ customizationNotes?: string | undefined;
20379
+ } | undefined;
19043
20380
  } | undefined;
19044
20381
  request?: string | undefined;
19045
20382
  mappings?: {
@@ -19199,6 +20536,16 @@ export declare const modelSchema: z.ZodObject<{
19199
20536
  url?: string | undefined;
19200
20537
  originatingPrompt?: string | undefined;
19201
20538
  } | undefined;
20539
+ ui?: {
20540
+ layoutId: string;
20541
+ mode: "custom" | "as-is" | "modify";
20542
+ regions: Record<string, {
20543
+ name: string;
20544
+ id: string;
20545
+ slots?: Record<string, unknown> | undefined;
20546
+ }[]>;
20547
+ customizationNotes?: string | undefined;
20548
+ } | undefined;
19202
20549
  } | undefined;
19203
20550
  request?: string | undefined;
19204
20551
  mappings?: {
@@ -19233,18 +20580,74 @@ export declare const modelSchema: z.ZodObject<{
19233
20580
  originatingPrompt?: string | undefined;
19234
20581
  }>>;
19235
20582
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20583
+ ui: z.ZodOptional<z.ZodObject<{
20584
+ layoutId: z.ZodString;
20585
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
20586
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
20587
+ id: z.ZodString;
20588
+ name: z.ZodString;
20589
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20590
+ }, "strip", z.ZodTypeAny, {
20591
+ name: string;
20592
+ id: string;
20593
+ slots?: Record<string, unknown> | undefined;
20594
+ }, {
20595
+ name: string;
20596
+ id: string;
20597
+ slots?: Record<string, unknown> | undefined;
20598
+ }>, "many">>;
20599
+ customizationNotes: z.ZodOptional<z.ZodString>;
20600
+ }, "strip", z.ZodTypeAny, {
20601
+ layoutId: string;
20602
+ mode: "custom" | "as-is" | "modify";
20603
+ regions: Record<string, {
20604
+ name: string;
20605
+ id: string;
20606
+ slots?: Record<string, unknown> | undefined;
20607
+ }[]>;
20608
+ customizationNotes?: string | undefined;
20609
+ }, {
20610
+ layoutId: string;
20611
+ mode: "custom" | "as-is" | "modify";
20612
+ regions: Record<string, {
20613
+ name: string;
20614
+ id: string;
20615
+ slots?: Record<string, unknown> | undefined;
20616
+ }[]>;
20617
+ customizationNotes?: string | undefined;
20618
+ }>>;
19236
20619
  }, "strip", z.ZodTypeAny, {
19237
20620
  metadata?: Record<string, unknown> | undefined;
19238
20621
  imageAsset?: {
19239
20622
  url?: string | undefined;
19240
20623
  originatingPrompt?: string | undefined;
19241
20624
  } | undefined;
20625
+ ui?: {
20626
+ layoutId: string;
20627
+ mode: "custom" | "as-is" | "modify";
20628
+ regions: Record<string, {
20629
+ name: string;
20630
+ id: string;
20631
+ slots?: Record<string, unknown> | undefined;
20632
+ }[]>;
20633
+ customizationNotes?: string | undefined;
20634
+ } | undefined;
19242
20635
  }, {
19243
20636
  metadata?: Record<string, unknown> | undefined;
19244
20637
  imageAsset?: {
19245
20638
  url?: string | undefined;
19246
20639
  originatingPrompt?: string | undefined;
19247
20640
  } | undefined;
20641
+ ui?: {
20642
+ layoutId: string;
20643
+ mode: "custom" | "as-is" | "modify";
20644
+ regions: Record<string, {
20645
+ name: string;
20646
+ id: string;
20647
+ slots?: Record<string, unknown> | undefined;
20648
+ }[]>;
20649
+ customizationNotes?: string | undefined;
20650
+ } | undefined;
19248
20651
  }>>;
19249
20652
  } & {
19250
20653
  type: z.ZodLiteral<"query">;
@@ -20571,6 +21974,16 @@ export declare const modelSchema: z.ZodObject<{
20571
21974
  url?: string | undefined;
20572
21975
  originatingPrompt?: string | undefined;
20573
21976
  } | undefined;
21977
+ ui?: {
21978
+ layoutId: string;
21979
+ mode: "custom" | "as-is" | "modify";
21980
+ regions: Record<string, {
21981
+ name: string;
21982
+ id: string;
21983
+ slots?: Record<string, unknown> | undefined;
21984
+ }[]>;
21985
+ customizationNotes?: string | undefined;
21986
+ } | undefined;
20574
21987
  } | undefined;
20575
21988
  request?: string | undefined;
20576
21989
  mappings?: {
@@ -20730,6 +22143,16 @@ export declare const modelSchema: z.ZodObject<{
20730
22143
  url?: string | undefined;
20731
22144
  originatingPrompt?: string | undefined;
20732
22145
  } | undefined;
22146
+ ui?: {
22147
+ layoutId: string;
22148
+ mode: "custom" | "as-is" | "modify";
22149
+ regions: Record<string, {
22150
+ name: string;
22151
+ id: string;
22152
+ slots?: Record<string, unknown> | undefined;
22153
+ }[]>;
22154
+ customizationNotes?: string | undefined;
22155
+ } | undefined;
20733
22156
  } | undefined;
20734
22157
  request?: string | undefined;
20735
22158
  mappings?: {
@@ -20764,18 +22187,74 @@ export declare const modelSchema: z.ZodObject<{
20764
22187
  originatingPrompt?: string | undefined;
20765
22188
  }>>;
20766
22189
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22190
+ ui: z.ZodOptional<z.ZodObject<{
22191
+ layoutId: z.ZodString;
22192
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
22193
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
22194
+ id: z.ZodString;
22195
+ name: z.ZodString;
22196
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
22197
+ }, "strip", z.ZodTypeAny, {
22198
+ name: string;
22199
+ id: string;
22200
+ slots?: Record<string, unknown> | undefined;
22201
+ }, {
22202
+ name: string;
22203
+ id: string;
22204
+ slots?: Record<string, unknown> | undefined;
22205
+ }>, "many">>;
22206
+ customizationNotes: z.ZodOptional<z.ZodString>;
22207
+ }, "strip", z.ZodTypeAny, {
22208
+ layoutId: string;
22209
+ mode: "custom" | "as-is" | "modify";
22210
+ regions: Record<string, {
22211
+ name: string;
22212
+ id: string;
22213
+ slots?: Record<string, unknown> | undefined;
22214
+ }[]>;
22215
+ customizationNotes?: string | undefined;
22216
+ }, {
22217
+ layoutId: string;
22218
+ mode: "custom" | "as-is" | "modify";
22219
+ regions: Record<string, {
22220
+ name: string;
22221
+ id: string;
22222
+ slots?: Record<string, unknown> | undefined;
22223
+ }[]>;
22224
+ customizationNotes?: string | undefined;
22225
+ }>>;
20767
22226
  }, "strip", z.ZodTypeAny, {
20768
22227
  metadata?: Record<string, unknown> | undefined;
20769
22228
  imageAsset?: {
20770
22229
  url?: string | undefined;
20771
22230
  originatingPrompt?: string | undefined;
20772
22231
  } | undefined;
22232
+ ui?: {
22233
+ layoutId: string;
22234
+ mode: "custom" | "as-is" | "modify";
22235
+ regions: Record<string, {
22236
+ name: string;
22237
+ id: string;
22238
+ slots?: Record<string, unknown> | undefined;
22239
+ }[]>;
22240
+ customizationNotes?: string | undefined;
22241
+ } | undefined;
20773
22242
  }, {
20774
22243
  metadata?: Record<string, unknown> | undefined;
20775
22244
  imageAsset?: {
20776
22245
  url?: string | undefined;
20777
22246
  originatingPrompt?: string | undefined;
20778
22247
  } | undefined;
22248
+ ui?: {
22249
+ layoutId: string;
22250
+ mode: "custom" | "as-is" | "modify";
22251
+ regions: Record<string, {
22252
+ name: string;
22253
+ id: string;
22254
+ slots?: Record<string, unknown> | undefined;
22255
+ }[]>;
22256
+ customizationNotes?: string | undefined;
22257
+ } | undefined;
20779
22258
  }>>;
20780
22259
  } & {
20781
22260
  type: z.ZodLiteral<"react">;
@@ -22038,6 +23517,16 @@ export declare const modelSchema: z.ZodObject<{
22038
23517
  url?: string | undefined;
22039
23518
  originatingPrompt?: string | undefined;
22040
23519
  } | undefined;
23520
+ ui?: {
23521
+ layoutId: string;
23522
+ mode: "custom" | "as-is" | "modify";
23523
+ regions: Record<string, {
23524
+ name: string;
23525
+ id: string;
23526
+ slots?: Record<string, unknown> | undefined;
23527
+ }[]>;
23528
+ customizationNotes?: string | undefined;
23529
+ } | undefined;
22041
23530
  } | undefined;
22042
23531
  }, {
22043
23532
  type: "react";
@@ -22180,6 +23669,16 @@ export declare const modelSchema: z.ZodObject<{
22180
23669
  url?: string | undefined;
22181
23670
  originatingPrompt?: string | undefined;
22182
23671
  } | undefined;
23672
+ ui?: {
23673
+ layoutId: string;
23674
+ mode: "custom" | "as-is" | "modify";
23675
+ regions: Record<string, {
23676
+ name: string;
23677
+ id: string;
23678
+ slots?: Record<string, unknown> | undefined;
23679
+ }[]>;
23680
+ customizationNotes?: string | undefined;
23681
+ } | undefined;
22183
23682
  } | undefined;
22184
23683
  }>, z.ZodObject<{
22185
23684
  name: z.ZodString;
@@ -22200,18 +23699,74 @@ export declare const modelSchema: z.ZodObject<{
22200
23699
  originatingPrompt?: string | undefined;
22201
23700
  }>>;
22202
23701
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23702
+ ui: z.ZodOptional<z.ZodObject<{
23703
+ layoutId: z.ZodString;
23704
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
23705
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
23706
+ id: z.ZodString;
23707
+ name: z.ZodString;
23708
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23709
+ }, "strip", z.ZodTypeAny, {
23710
+ name: string;
23711
+ id: string;
23712
+ slots?: Record<string, unknown> | undefined;
23713
+ }, {
23714
+ name: string;
23715
+ id: string;
23716
+ slots?: Record<string, unknown> | undefined;
23717
+ }>, "many">>;
23718
+ customizationNotes: z.ZodOptional<z.ZodString>;
23719
+ }, "strip", z.ZodTypeAny, {
23720
+ layoutId: string;
23721
+ mode: "custom" | "as-is" | "modify";
23722
+ regions: Record<string, {
23723
+ name: string;
23724
+ id: string;
23725
+ slots?: Record<string, unknown> | undefined;
23726
+ }[]>;
23727
+ customizationNotes?: string | undefined;
23728
+ }, {
23729
+ layoutId: string;
23730
+ mode: "custom" | "as-is" | "modify";
23731
+ regions: Record<string, {
23732
+ name: string;
23733
+ id: string;
23734
+ slots?: Record<string, unknown> | undefined;
23735
+ }[]>;
23736
+ customizationNotes?: string | undefined;
23737
+ }>>;
22203
23738
  }, "strip", z.ZodTypeAny, {
22204
23739
  metadata?: Record<string, unknown> | undefined;
22205
23740
  imageAsset?: {
22206
23741
  url?: string | undefined;
22207
23742
  originatingPrompt?: string | undefined;
22208
23743
  } | undefined;
23744
+ ui?: {
23745
+ layoutId: string;
23746
+ mode: "custom" | "as-is" | "modify";
23747
+ regions: Record<string, {
23748
+ name: string;
23749
+ id: string;
23750
+ slots?: Record<string, unknown> | undefined;
23751
+ }[]>;
23752
+ customizationNotes?: string | undefined;
23753
+ } | undefined;
22209
23754
  }, {
22210
23755
  metadata?: Record<string, unknown> | undefined;
22211
23756
  imageAsset?: {
22212
23757
  url?: string | undefined;
22213
23758
  originatingPrompt?: string | undefined;
22214
23759
  } | undefined;
23760
+ ui?: {
23761
+ layoutId: string;
23762
+ mode: "custom" | "as-is" | "modify";
23763
+ regions: Record<string, {
23764
+ name: string;
23765
+ id: string;
23766
+ slots?: Record<string, unknown> | undefined;
23767
+ }[]>;
23768
+ customizationNotes?: string | undefined;
23769
+ } | undefined;
22215
23770
  }>>;
22216
23771
  } & {
22217
23772
  type: z.ZodLiteral<"experience">;
@@ -22239,6 +23794,16 @@ export declare const modelSchema: z.ZodObject<{
22239
23794
  url?: string | undefined;
22240
23795
  originatingPrompt?: string | undefined;
22241
23796
  } | undefined;
23797
+ ui?: {
23798
+ layoutId: string;
23799
+ mode: "custom" | "as-is" | "modify";
23800
+ regions: Record<string, {
23801
+ name: string;
23802
+ id: string;
23803
+ slots?: Record<string, unknown> | undefined;
23804
+ }[]>;
23805
+ customizationNotes?: string | undefined;
23806
+ } | undefined;
22242
23807
  } | undefined;
22243
23808
  }, {
22244
23809
  type: "experience";
@@ -22257,6 +23822,16 @@ export declare const modelSchema: z.ZodObject<{
22257
23822
  url?: string | undefined;
22258
23823
  originatingPrompt?: string | undefined;
22259
23824
  } | undefined;
23825
+ ui?: {
23826
+ layoutId: string;
23827
+ mode: "custom" | "as-is" | "modify";
23828
+ regions: Record<string, {
23829
+ name: string;
23830
+ id: string;
23831
+ slots?: Record<string, unknown> | undefined;
23832
+ }[]>;
23833
+ customizationNotes?: string | undefined;
23834
+ } | undefined;
22260
23835
  } | undefined;
22261
23836
  }>]>, "many">;
22262
23837
  sourceFile: z.ZodOptional<z.ZodString>;
@@ -22310,18 +23885,74 @@ export declare const modelSchema: z.ZodObject<{
22310
23885
  originatingPrompt?: string | undefined;
22311
23886
  }>>;
22312
23887
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23888
+ ui: z.ZodOptional<z.ZodObject<{
23889
+ layoutId: z.ZodString;
23890
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
23891
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
23892
+ id: z.ZodString;
23893
+ name: z.ZodString;
23894
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
23895
+ }, "strip", z.ZodTypeAny, {
23896
+ name: string;
23897
+ id: string;
23898
+ slots?: Record<string, unknown> | undefined;
23899
+ }, {
23900
+ name: string;
23901
+ id: string;
23902
+ slots?: Record<string, unknown> | undefined;
23903
+ }>, "many">>;
23904
+ customizationNotes: z.ZodOptional<z.ZodString>;
23905
+ }, "strip", z.ZodTypeAny, {
23906
+ layoutId: string;
23907
+ mode: "custom" | "as-is" | "modify";
23908
+ regions: Record<string, {
23909
+ name: string;
23910
+ id: string;
23911
+ slots?: Record<string, unknown> | undefined;
23912
+ }[]>;
23913
+ customizationNotes?: string | undefined;
23914
+ }, {
23915
+ layoutId: string;
23916
+ mode: "custom" | "as-is" | "modify";
23917
+ regions: Record<string, {
23918
+ name: string;
23919
+ id: string;
23920
+ slots?: Record<string, unknown> | undefined;
23921
+ }[]>;
23922
+ customizationNotes?: string | undefined;
23923
+ }>>;
22313
23924
  }, "strip", z.ZodTypeAny, {
22314
23925
  metadata?: Record<string, unknown> | undefined;
22315
23926
  imageAsset?: {
22316
23927
  url?: string | undefined;
22317
23928
  originatingPrompt?: string | undefined;
22318
23929
  } | undefined;
23930
+ ui?: {
23931
+ layoutId: string;
23932
+ mode: "custom" | "as-is" | "modify";
23933
+ regions: Record<string, {
23934
+ name: string;
23935
+ id: string;
23936
+ slots?: Record<string, unknown> | undefined;
23937
+ }[]>;
23938
+ customizationNotes?: string | undefined;
23939
+ } | undefined;
22319
23940
  }, {
22320
23941
  metadata?: Record<string, unknown> | undefined;
22321
23942
  imageAsset?: {
22322
23943
  url?: string | undefined;
22323
23944
  originatingPrompt?: string | undefined;
22324
23945
  } | undefined;
23946
+ ui?: {
23947
+ layoutId: string;
23948
+ mode: "custom" | "as-is" | "modify";
23949
+ regions: Record<string, {
23950
+ name: string;
23951
+ id: string;
23952
+ slots?: Record<string, unknown> | undefined;
23953
+ }[]>;
23954
+ customizationNotes?: string | undefined;
23955
+ } | undefined;
22325
23956
  }>>;
22326
23957
  }, "strip", z.ZodTypeAny, {
22327
23958
  name: string;
@@ -22469,6 +24100,16 @@ export declare const modelSchema: z.ZodObject<{
22469
24100
  url?: string | undefined;
22470
24101
  originatingPrompt?: string | undefined;
22471
24102
  } | undefined;
24103
+ ui?: {
24104
+ layoutId: string;
24105
+ mode: "custom" | "as-is" | "modify";
24106
+ regions: Record<string, {
24107
+ name: string;
24108
+ id: string;
24109
+ slots?: Record<string, unknown> | undefined;
24110
+ }[]>;
24111
+ customizationNotes?: string | undefined;
24112
+ } | undefined;
22472
24113
  } | undefined;
22473
24114
  request?: string | undefined;
22474
24115
  mappings?: {
@@ -22628,6 +24269,16 @@ export declare const modelSchema: z.ZodObject<{
22628
24269
  url?: string | undefined;
22629
24270
  originatingPrompt?: string | undefined;
22630
24271
  } | undefined;
24272
+ ui?: {
24273
+ layoutId: string;
24274
+ mode: "custom" | "as-is" | "modify";
24275
+ regions: Record<string, {
24276
+ name: string;
24277
+ id: string;
24278
+ slots?: Record<string, unknown> | undefined;
24279
+ }[]>;
24280
+ customizationNotes?: string | undefined;
24281
+ } | undefined;
22631
24282
  } | undefined;
22632
24283
  request?: string | undefined;
22633
24284
  mappings?: {
@@ -22784,6 +24435,16 @@ export declare const modelSchema: z.ZodObject<{
22784
24435
  url?: string | undefined;
22785
24436
  originatingPrompt?: string | undefined;
22786
24437
  } | undefined;
24438
+ ui?: {
24439
+ layoutId: string;
24440
+ mode: "custom" | "as-is" | "modify";
24441
+ regions: Record<string, {
24442
+ name: string;
24443
+ id: string;
24444
+ slots?: Record<string, unknown> | undefined;
24445
+ }[]>;
24446
+ customizationNotes?: string | undefined;
24447
+ } | undefined;
22787
24448
  } | undefined;
22788
24449
  } | {
22789
24450
  type: "experience";
@@ -22802,6 +24463,16 @@ export declare const modelSchema: z.ZodObject<{
22802
24463
  url?: string | undefined;
22803
24464
  originatingPrompt?: string | undefined;
22804
24465
  } | undefined;
24466
+ ui?: {
24467
+ layoutId: string;
24468
+ mode: "custom" | "as-is" | "modify";
24469
+ regions: Record<string, {
24470
+ name: string;
24471
+ id: string;
24472
+ slots?: Record<string, unknown> | undefined;
24473
+ }[]>;
24474
+ customizationNotes?: string | undefined;
24475
+ } | undefined;
22805
24476
  } | undefined;
22806
24477
  })[];
22807
24478
  sourceFile?: string | undefined;
@@ -22813,6 +24484,16 @@ export declare const modelSchema: z.ZodObject<{
22813
24484
  url?: string | undefined;
22814
24485
  originatingPrompt?: string | undefined;
22815
24486
  } | undefined;
24487
+ ui?: {
24488
+ layoutId: string;
24489
+ mode: "custom" | "as-is" | "modify";
24490
+ regions: Record<string, {
24491
+ name: string;
24492
+ id: string;
24493
+ slots?: Record<string, unknown> | undefined;
24494
+ }[]>;
24495
+ customizationNotes?: string | undefined;
24496
+ } | undefined;
22816
24497
  } | undefined;
22817
24498
  scene?: {
22818
24499
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -22970,6 +24651,16 @@ export declare const modelSchema: z.ZodObject<{
22970
24651
  url?: string | undefined;
22971
24652
  originatingPrompt?: string | undefined;
22972
24653
  } | undefined;
24654
+ ui?: {
24655
+ layoutId: string;
24656
+ mode: "custom" | "as-is" | "modify";
24657
+ regions: Record<string, {
24658
+ name: string;
24659
+ id: string;
24660
+ slots?: Record<string, unknown> | undefined;
24661
+ }[]>;
24662
+ customizationNotes?: string | undefined;
24663
+ } | undefined;
22973
24664
  } | undefined;
22974
24665
  request?: string | undefined;
22975
24666
  mappings?: {
@@ -23129,6 +24820,16 @@ export declare const modelSchema: z.ZodObject<{
23129
24820
  url?: string | undefined;
23130
24821
  originatingPrompt?: string | undefined;
23131
24822
  } | undefined;
24823
+ ui?: {
24824
+ layoutId: string;
24825
+ mode: "custom" | "as-is" | "modify";
24826
+ regions: Record<string, {
24827
+ name: string;
24828
+ id: string;
24829
+ slots?: Record<string, unknown> | undefined;
24830
+ }[]>;
24831
+ customizationNotes?: string | undefined;
24832
+ } | undefined;
23132
24833
  } | undefined;
23133
24834
  request?: string | undefined;
23134
24835
  mappings?: {
@@ -23285,6 +24986,16 @@ export declare const modelSchema: z.ZodObject<{
23285
24986
  url?: string | undefined;
23286
24987
  originatingPrompt?: string | undefined;
23287
24988
  } | undefined;
24989
+ ui?: {
24990
+ layoutId: string;
24991
+ mode: "custom" | "as-is" | "modify";
24992
+ regions: Record<string, {
24993
+ name: string;
24994
+ id: string;
24995
+ slots?: Record<string, unknown> | undefined;
24996
+ }[]>;
24997
+ customizationNotes?: string | undefined;
24998
+ } | undefined;
23288
24999
  } | undefined;
23289
25000
  } | {
23290
25001
  type: "experience";
@@ -23303,6 +25014,16 @@ export declare const modelSchema: z.ZodObject<{
23303
25014
  url?: string | undefined;
23304
25015
  originatingPrompt?: string | undefined;
23305
25016
  } | undefined;
25017
+ ui?: {
25018
+ layoutId: string;
25019
+ mode: "custom" | "as-is" | "modify";
25020
+ regions: Record<string, {
25021
+ name: string;
25022
+ id: string;
25023
+ slots?: Record<string, unknown> | undefined;
25024
+ }[]>;
25025
+ customizationNotes?: string | undefined;
25026
+ } | undefined;
23306
25027
  } | undefined;
23307
25028
  })[];
23308
25029
  sourceFile?: string | undefined;
@@ -23314,6 +25035,16 @@ export declare const modelSchema: z.ZodObject<{
23314
25035
  url?: string | undefined;
23315
25036
  originatingPrompt?: string | undefined;
23316
25037
  } | undefined;
25038
+ ui?: {
25039
+ layoutId: string;
25040
+ mode: "custom" | "as-is" | "modify";
25041
+ regions: Record<string, {
25042
+ name: string;
25043
+ id: string;
25044
+ slots?: Record<string, unknown> | undefined;
25045
+ }[]>;
25046
+ customizationNotes?: string | undefined;
25047
+ } | undefined;
23317
25048
  } | undefined;
23318
25049
  scene?: {
23319
25050
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -23654,18 +25385,74 @@ export declare const modelSchema: z.ZodObject<{
23654
25385
  originatingPrompt?: string | undefined;
23655
25386
  }>>;
23656
25387
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25388
+ ui: z.ZodOptional<z.ZodObject<{
25389
+ layoutId: z.ZodString;
25390
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
25391
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
25392
+ id: z.ZodString;
25393
+ name: z.ZodString;
25394
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25395
+ }, "strip", z.ZodTypeAny, {
25396
+ name: string;
25397
+ id: string;
25398
+ slots?: Record<string, unknown> | undefined;
25399
+ }, {
25400
+ name: string;
25401
+ id: string;
25402
+ slots?: Record<string, unknown> | undefined;
25403
+ }>, "many">>;
25404
+ customizationNotes: z.ZodOptional<z.ZodString>;
25405
+ }, "strip", z.ZodTypeAny, {
25406
+ layoutId: string;
25407
+ mode: "custom" | "as-is" | "modify";
25408
+ regions: Record<string, {
25409
+ name: string;
25410
+ id: string;
25411
+ slots?: Record<string, unknown> | undefined;
25412
+ }[]>;
25413
+ customizationNotes?: string | undefined;
25414
+ }, {
25415
+ layoutId: string;
25416
+ mode: "custom" | "as-is" | "modify";
25417
+ regions: Record<string, {
25418
+ name: string;
25419
+ id: string;
25420
+ slots?: Record<string, unknown> | undefined;
25421
+ }[]>;
25422
+ customizationNotes?: string | undefined;
25423
+ }>>;
23657
25424
  }, "strip", z.ZodTypeAny, {
23658
25425
  metadata?: Record<string, unknown> | undefined;
23659
25426
  imageAsset?: {
23660
25427
  url?: string | undefined;
23661
25428
  originatingPrompt?: string | undefined;
23662
25429
  } | undefined;
25430
+ ui?: {
25431
+ layoutId: string;
25432
+ mode: "custom" | "as-is" | "modify";
25433
+ regions: Record<string, {
25434
+ name: string;
25435
+ id: string;
25436
+ slots?: Record<string, unknown> | undefined;
25437
+ }[]>;
25438
+ customizationNotes?: string | undefined;
25439
+ } | undefined;
23663
25440
  }, {
23664
25441
  metadata?: Record<string, unknown> | undefined;
23665
25442
  imageAsset?: {
23666
25443
  url?: string | undefined;
23667
25444
  originatingPrompt?: string | undefined;
23668
25445
  } | undefined;
25446
+ ui?: {
25447
+ layoutId: string;
25448
+ mode: "custom" | "as-is" | "modify";
25449
+ regions: Record<string, {
25450
+ name: string;
25451
+ id: string;
25452
+ slots?: Record<string, unknown> | undefined;
25453
+ }[]>;
25454
+ customizationNotes?: string | undefined;
25455
+ } | undefined;
23669
25456
  }>>;
23670
25457
  }, "strip", z.ZodTypeAny, {
23671
25458
  name: string;
@@ -23678,6 +25465,16 @@ export declare const modelSchema: z.ZodObject<{
23678
25465
  url?: string | undefined;
23679
25466
  originatingPrompt?: string | undefined;
23680
25467
  } | undefined;
25468
+ ui?: {
25469
+ layoutId: string;
25470
+ mode: "custom" | "as-is" | "modify";
25471
+ regions: Record<string, {
25472
+ name: string;
25473
+ id: string;
25474
+ slots?: Record<string, unknown> | undefined;
25475
+ }[]>;
25476
+ customizationNotes?: string | undefined;
25477
+ } | undefined;
23681
25478
  } | undefined;
23682
25479
  actors?: string[] | undefined;
23683
25480
  }, {
@@ -23691,6 +25488,16 @@ export declare const modelSchema: z.ZodObject<{
23691
25488
  url?: string | undefined;
23692
25489
  originatingPrompt?: string | undefined;
23693
25490
  } | undefined;
25491
+ ui?: {
25492
+ layoutId: string;
25493
+ mode: "custom" | "as-is" | "modify";
25494
+ regions: Record<string, {
25495
+ name: string;
25496
+ id: string;
25497
+ slots?: Record<string, unknown> | undefined;
25498
+ }[]>;
25499
+ customizationNotes?: string | undefined;
25500
+ } | undefined;
23694
25501
  } | undefined;
23695
25502
  actors?: string[] | undefined;
23696
25503
  }>, "many">>;
@@ -23706,18 +25513,113 @@ export declare const modelSchema: z.ZodObject<{
23706
25513
  originatingPrompt?: string | undefined;
23707
25514
  }>>;
23708
25515
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25516
+ ui: z.ZodOptional<z.ZodObject<{
25517
+ layoutId: z.ZodString;
25518
+ mode: z.ZodEnum<["as-is", "modify", "custom"]>;
25519
+ regions: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
25520
+ id: z.ZodString;
25521
+ name: z.ZodString;
25522
+ slots: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
25523
+ }, "strip", z.ZodTypeAny, {
25524
+ name: string;
25525
+ id: string;
25526
+ slots?: Record<string, unknown> | undefined;
25527
+ }, {
25528
+ name: string;
25529
+ id: string;
25530
+ slots?: Record<string, unknown> | undefined;
25531
+ }>, "many">>;
25532
+ customizationNotes: z.ZodOptional<z.ZodString>;
25533
+ }, "strip", z.ZodTypeAny, {
25534
+ layoutId: string;
25535
+ mode: "custom" | "as-is" | "modify";
25536
+ regions: Record<string, {
25537
+ name: string;
25538
+ id: string;
25539
+ slots?: Record<string, unknown> | undefined;
25540
+ }[]>;
25541
+ customizationNotes?: string | undefined;
25542
+ }, {
25543
+ layoutId: string;
25544
+ mode: "custom" | "as-is" | "modify";
25545
+ regions: Record<string, {
25546
+ name: string;
25547
+ id: string;
25548
+ slots?: Record<string, unknown> | undefined;
25549
+ }[]>;
25550
+ customizationNotes?: string | undefined;
25551
+ }>>;
25552
+ } & {
25553
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
25554
+ id: z.ZodString;
25555
+ name: z.ZodString;
25556
+ category: z.ZodString;
25557
+ description: z.ZodString;
25558
+ slots: z.ZodRecord<z.ZodString, z.ZodUnknown>;
25559
+ template: z.ZodString;
25560
+ }, "strip", z.ZodTypeAny, {
25561
+ name: string;
25562
+ description: string;
25563
+ id: string;
25564
+ slots: Record<string, unknown>;
25565
+ category: string;
25566
+ template: string;
25567
+ }, {
25568
+ name: string;
25569
+ description: string;
25570
+ id: string;
25571
+ slots: Record<string, unknown>;
25572
+ category: string;
25573
+ template: string;
25574
+ }>, "many">>;
23709
25575
  }, "strip", z.ZodTypeAny, {
23710
25576
  metadata?: Record<string, unknown> | undefined;
23711
25577
  imageAsset?: {
23712
25578
  url?: string | undefined;
23713
25579
  originatingPrompt?: string | undefined;
23714
25580
  } | undefined;
25581
+ ui?: {
25582
+ layoutId: string;
25583
+ mode: "custom" | "as-is" | "modify";
25584
+ regions: Record<string, {
25585
+ name: string;
25586
+ id: string;
25587
+ slots?: Record<string, unknown> | undefined;
25588
+ }[]>;
25589
+ customizationNotes?: string | undefined;
25590
+ } | undefined;
25591
+ components?: {
25592
+ name: string;
25593
+ description: string;
25594
+ id: string;
25595
+ slots: Record<string, unknown>;
25596
+ category: string;
25597
+ template: string;
25598
+ }[] | undefined;
23715
25599
  }, {
23716
25600
  metadata?: Record<string, unknown> | undefined;
23717
25601
  imageAsset?: {
23718
25602
  url?: string | undefined;
23719
25603
  originatingPrompt?: string | undefined;
23720
25604
  } | undefined;
25605
+ ui?: {
25606
+ layoutId: string;
25607
+ mode: "custom" | "as-is" | "modify";
25608
+ regions: Record<string, {
25609
+ name: string;
25610
+ id: string;
25611
+ slots?: Record<string, unknown> | undefined;
25612
+ }[]>;
25613
+ customizationNotes?: string | undefined;
25614
+ } | undefined;
25615
+ components?: {
25616
+ name: string;
25617
+ description: string;
25618
+ id: string;
25619
+ slots: Record<string, unknown>;
25620
+ category: string;
25621
+ template: string;
25622
+ }[] | undefined;
23721
25623
  }>>;
23722
25624
  }, "strip", z.ZodTypeAny, {
23723
25625
  messages: ({
@@ -23925,6 +25827,16 @@ export declare const modelSchema: z.ZodObject<{
23925
25827
  url?: string | undefined;
23926
25828
  originatingPrompt?: string | undefined;
23927
25829
  } | undefined;
25830
+ ui?: {
25831
+ layoutId: string;
25832
+ mode: "custom" | "as-is" | "modify";
25833
+ regions: Record<string, {
25834
+ name: string;
25835
+ id: string;
25836
+ slots?: Record<string, unknown> | undefined;
25837
+ }[]>;
25838
+ customizationNotes?: string | undefined;
25839
+ } | undefined;
23928
25840
  } | undefined;
23929
25841
  request?: string | undefined;
23930
25842
  mappings?: {
@@ -24084,6 +25996,16 @@ export declare const modelSchema: z.ZodObject<{
24084
25996
  url?: string | undefined;
24085
25997
  originatingPrompt?: string | undefined;
24086
25998
  } | undefined;
25999
+ ui?: {
26000
+ layoutId: string;
26001
+ mode: "custom" | "as-is" | "modify";
26002
+ regions: Record<string, {
26003
+ name: string;
26004
+ id: string;
26005
+ slots?: Record<string, unknown> | undefined;
26006
+ }[]>;
26007
+ customizationNotes?: string | undefined;
26008
+ } | undefined;
24087
26009
  } | undefined;
24088
26010
  request?: string | undefined;
24089
26011
  mappings?: {
@@ -24240,6 +26162,16 @@ export declare const modelSchema: z.ZodObject<{
24240
26162
  url?: string | undefined;
24241
26163
  originatingPrompt?: string | undefined;
24242
26164
  } | undefined;
26165
+ ui?: {
26166
+ layoutId: string;
26167
+ mode: "custom" | "as-is" | "modify";
26168
+ regions: Record<string, {
26169
+ name: string;
26170
+ id: string;
26171
+ slots?: Record<string, unknown> | undefined;
26172
+ }[]>;
26173
+ customizationNotes?: string | undefined;
26174
+ } | undefined;
24243
26175
  } | undefined;
24244
26176
  } | {
24245
26177
  type: "experience";
@@ -24258,6 +26190,16 @@ export declare const modelSchema: z.ZodObject<{
24258
26190
  url?: string | undefined;
24259
26191
  originatingPrompt?: string | undefined;
24260
26192
  } | undefined;
26193
+ ui?: {
26194
+ layoutId: string;
26195
+ mode: "custom" | "as-is" | "modify";
26196
+ regions: Record<string, {
26197
+ name: string;
26198
+ id: string;
26199
+ slots?: Record<string, unknown> | undefined;
26200
+ }[]>;
26201
+ customizationNotes?: string | undefined;
26202
+ } | undefined;
24261
26203
  } | undefined;
24262
26204
  })[];
24263
26205
  sourceFile?: string | undefined;
@@ -24269,6 +26211,16 @@ export declare const modelSchema: z.ZodObject<{
24269
26211
  url?: string | undefined;
24270
26212
  originatingPrompt?: string | undefined;
24271
26213
  } | undefined;
26214
+ ui?: {
26215
+ layoutId: string;
26216
+ mode: "custom" | "as-is" | "modify";
26217
+ regions: Record<string, {
26218
+ name: string;
26219
+ id: string;
26220
+ slots?: Record<string, unknown> | undefined;
26221
+ }[]>;
26222
+ customizationNotes?: string | undefined;
26223
+ } | undefined;
24272
26224
  } | undefined;
24273
26225
  scene?: {
24274
26226
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -24300,6 +26252,24 @@ export declare const modelSchema: z.ZodObject<{
24300
26252
  url?: string | undefined;
24301
26253
  originatingPrompt?: string | undefined;
24302
26254
  } | undefined;
26255
+ ui?: {
26256
+ layoutId: string;
26257
+ mode: "custom" | "as-is" | "modify";
26258
+ regions: Record<string, {
26259
+ name: string;
26260
+ id: string;
26261
+ slots?: Record<string, unknown> | undefined;
26262
+ }[]>;
26263
+ customizationNotes?: string | undefined;
26264
+ } | undefined;
26265
+ components?: {
26266
+ name: string;
26267
+ description: string;
26268
+ id: string;
26269
+ slots: Record<string, unknown>;
26270
+ category: string;
26271
+ template: string;
26272
+ }[] | undefined;
24303
26273
  } | undefined;
24304
26274
  journeys?: {
24305
26275
  name: string;
@@ -24312,6 +26282,16 @@ export declare const modelSchema: z.ZodObject<{
24312
26282
  url?: string | undefined;
24313
26283
  originatingPrompt?: string | undefined;
24314
26284
  } | undefined;
26285
+ ui?: {
26286
+ layoutId: string;
26287
+ mode: "custom" | "as-is" | "modify";
26288
+ regions: Record<string, {
26289
+ name: string;
26290
+ id: string;
26291
+ slots?: Record<string, unknown> | undefined;
26292
+ }[]>;
26293
+ customizationNotes?: string | undefined;
26294
+ } | undefined;
24315
26295
  } | undefined;
24316
26296
  actors?: string[] | undefined;
24317
26297
  }[] | undefined;
@@ -24526,6 +26506,16 @@ export declare const modelSchema: z.ZodObject<{
24526
26506
  url?: string | undefined;
24527
26507
  originatingPrompt?: string | undefined;
24528
26508
  } | undefined;
26509
+ ui?: {
26510
+ layoutId: string;
26511
+ mode: "custom" | "as-is" | "modify";
26512
+ regions: Record<string, {
26513
+ name: string;
26514
+ id: string;
26515
+ slots?: Record<string, unknown> | undefined;
26516
+ }[]>;
26517
+ customizationNotes?: string | undefined;
26518
+ } | undefined;
24529
26519
  } | undefined;
24530
26520
  request?: string | undefined;
24531
26521
  mappings?: {
@@ -24685,6 +26675,16 @@ export declare const modelSchema: z.ZodObject<{
24685
26675
  url?: string | undefined;
24686
26676
  originatingPrompt?: string | undefined;
24687
26677
  } | undefined;
26678
+ ui?: {
26679
+ layoutId: string;
26680
+ mode: "custom" | "as-is" | "modify";
26681
+ regions: Record<string, {
26682
+ name: string;
26683
+ id: string;
26684
+ slots?: Record<string, unknown> | undefined;
26685
+ }[]>;
26686
+ customizationNotes?: string | undefined;
26687
+ } | undefined;
24688
26688
  } | undefined;
24689
26689
  request?: string | undefined;
24690
26690
  mappings?: {
@@ -24841,6 +26841,16 @@ export declare const modelSchema: z.ZodObject<{
24841
26841
  url?: string | undefined;
24842
26842
  originatingPrompt?: string | undefined;
24843
26843
  } | undefined;
26844
+ ui?: {
26845
+ layoutId: string;
26846
+ mode: "custom" | "as-is" | "modify";
26847
+ regions: Record<string, {
26848
+ name: string;
26849
+ id: string;
26850
+ slots?: Record<string, unknown> | undefined;
26851
+ }[]>;
26852
+ customizationNotes?: string | undefined;
26853
+ } | undefined;
24844
26854
  } | undefined;
24845
26855
  } | {
24846
26856
  type: "experience";
@@ -24859,6 +26869,16 @@ export declare const modelSchema: z.ZodObject<{
24859
26869
  url?: string | undefined;
24860
26870
  originatingPrompt?: string | undefined;
24861
26871
  } | undefined;
26872
+ ui?: {
26873
+ layoutId: string;
26874
+ mode: "custom" | "as-is" | "modify";
26875
+ regions: Record<string, {
26876
+ name: string;
26877
+ id: string;
26878
+ slots?: Record<string, unknown> | undefined;
26879
+ }[]>;
26880
+ customizationNotes?: string | undefined;
26881
+ } | undefined;
24862
26882
  } | undefined;
24863
26883
  })[];
24864
26884
  sourceFile?: string | undefined;
@@ -24870,6 +26890,16 @@ export declare const modelSchema: z.ZodObject<{
24870
26890
  url?: string | undefined;
24871
26891
  originatingPrompt?: string | undefined;
24872
26892
  } | undefined;
26893
+ ui?: {
26894
+ layoutId: string;
26895
+ mode: "custom" | "as-is" | "modify";
26896
+ regions: Record<string, {
26897
+ name: string;
26898
+ id: string;
26899
+ slots?: Record<string, unknown> | undefined;
26900
+ }[]>;
26901
+ customizationNotes?: string | undefined;
26902
+ } | undefined;
24873
26903
  } | undefined;
24874
26904
  scene?: {
24875
26905
  kind?: "page" | "modal" | "drawer" | "tab-panel" | "wizard-step" | "embedded-panel" | "popover" | undefined;
@@ -24901,6 +26931,24 @@ export declare const modelSchema: z.ZodObject<{
24901
26931
  url?: string | undefined;
24902
26932
  originatingPrompt?: string | undefined;
24903
26933
  } | undefined;
26934
+ ui?: {
26935
+ layoutId: string;
26936
+ mode: "custom" | "as-is" | "modify";
26937
+ regions: Record<string, {
26938
+ name: string;
26939
+ id: string;
26940
+ slots?: Record<string, unknown> | undefined;
26941
+ }[]>;
26942
+ customizationNotes?: string | undefined;
26943
+ } | undefined;
26944
+ components?: {
26945
+ name: string;
26946
+ description: string;
26947
+ id: string;
26948
+ slots: Record<string, unknown>;
26949
+ category: string;
26950
+ template: string;
26951
+ }[] | undefined;
24904
26952
  } | undefined;
24905
26953
  journeys?: {
24906
26954
  name: string;
@@ -24913,6 +26961,16 @@ export declare const modelSchema: z.ZodObject<{
24913
26961
  url?: string | undefined;
24914
26962
  originatingPrompt?: string | undefined;
24915
26963
  } | undefined;
26964
+ ui?: {
26965
+ layoutId: string;
26966
+ mode: "custom" | "as-is" | "modify";
26967
+ regions: Record<string, {
26968
+ name: string;
26969
+ id: string;
26970
+ slots?: Record<string, unknown> | undefined;
26971
+ }[]>;
26972
+ customizationNotes?: string | undefined;
26973
+ } | undefined;
24916
26974
  } | undefined;
24917
26975
  actors?: string[] | undefined;
24918
26976
  }[] | undefined;
@@ -24923,7 +26981,7 @@ export declare const modelSchema: z.ZodObject<{
24923
26981
  }[] | undefined;
24924
26982
  }>;
24925
26983
  export type { ClientSpecNode };
24926
- export { MessageFieldSchema, MessageSchema, CommandSchema, EventSchema, StateSchema, QuerySchema, IntegrationSchema, CommandSliceSchema, QuerySliceSchema, ReactSliceSchema, ExperienceSliceSchema, SliceSchema, NarrativeSchema, ExampleSchema, RuleSchema, SpecSchema, DataSinkSchema, DataSourceSchema, DataTargetSchema, StepSchema, StepErrorSchema, StepWithDocStringSchema, StepWithErrorSchema, };
26984
+ export { MessageFieldSchema, MessageSchema, CommandSchema, EventSchema, StateSchema, QuerySchema, IntegrationSchema, CommandSliceSchema, QuerySliceSchema, ReactSliceSchema, ExperienceSliceSchema, SliceSchema, NarrativeSchema, ExampleSchema, RuleSchema, SpecSchema, DataSinkSchema, DataSourceSchema, DataTargetSchema, StepSchema, StepErrorSchema, StepWithDocStringSchema, StepWithErrorSchema, RegionEntrySchema, UISchema, ComponentDefinitionSchema, };
24927
26985
  export type Model = z.infer<typeof modelSchema>;
24928
26986
  export type Narrative = z.infer<typeof NarrativeSchema>;
24929
26987
  export type Slice = z.infer<typeof SliceSchema>;
@@ -24948,4 +27006,7 @@ export type SceneRoute = z.infer<typeof SceneRouteSchema>;
24948
27006
  export type JourneyPlanning = z.infer<typeof JourneyPlanningSchema>;
24949
27007
  export type ImageAsset = z.infer<typeof ImageAssetSchema>;
24950
27008
  export type Design = z.infer<typeof DesignSchema>;
27009
+ export type RegionEntry = z.infer<typeof RegionEntrySchema>;
27010
+ export type UI = z.infer<typeof UISchema>;
27011
+ export type ComponentDefinition = z.infer<typeof ComponentDefinitionSchema>;
24951
27012
  //# sourceMappingURL=schema.d.ts.map