@sudajs/cli 0.18.11 → 0.20.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.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { ThemeModule, ThemeStarterPage } from '@sudajs/theme-engine';
3
- import { ThemeRender, extractLayoutChrome, resolveAssetPath, ThemePreviewLocaleMessages } from '@sudajs/theme-engine/server';
3
+ import { ThemeRender, extractLayoutChrome, resolveAssetPath, ThemePreviewLocaleMessages, ThemeLocaleMessages } from '@sudajs/theme-engine/server';
4
4
  import { Command } from 'commander';
5
5
  import { createElement } from 'react';
6
6
  import { renderToString } from 'react-dom/server';
@@ -317,6 +317,239 @@ declare const updateContactFormInputSchema: z.ZodObject<{
317
317
  }[] | undefined;
318
318
  confirm?: boolean | undefined;
319
319
  }>;
320
+ declare const contactFormViewSchema: z.ZodObject<{
321
+ enabled: z.ZodBoolean;
322
+ title: z.ZodString;
323
+ successMessage: z.ZodString;
324
+ submitLabel: z.ZodString;
325
+ fields: z.ZodArray<z.ZodObject<{
326
+ id: z.ZodString;
327
+ type: z.ZodEnum<["text", "textarea", "checkbox", "radio", "select"]>;
328
+ label: z.ZodString;
329
+ placeholder: z.ZodOptional<z.ZodString>;
330
+ required: z.ZodDefault<z.ZodBoolean>;
331
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
332
+ label: z.ZodString;
333
+ value: z.ZodString;
334
+ }, "strip", z.ZodTypeAny, {
335
+ value: string;
336
+ label: string;
337
+ }, {
338
+ value: string;
339
+ label: string;
340
+ }>, "many">>;
341
+ validation: z.ZodDefault<z.ZodObject<{
342
+ format: z.ZodOptional<z.ZodEnum<["email"]>>;
343
+ maxLength: z.ZodOptional<z.ZodNumber>;
344
+ }, "strip", z.ZodTypeAny, {
345
+ format?: "email" | undefined;
346
+ maxLength?: number | undefined;
347
+ }, {
348
+ format?: "email" | undefined;
349
+ maxLength?: number | undefined;
350
+ }>>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ options: {
353
+ value: string;
354
+ label: string;
355
+ }[];
356
+ validation: {
357
+ format?: "email" | undefined;
358
+ maxLength?: number | undefined;
359
+ };
360
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
361
+ label: string;
362
+ id: string;
363
+ required: boolean;
364
+ placeholder?: string | undefined;
365
+ }, {
366
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
367
+ label: string;
368
+ id: string;
369
+ options?: {
370
+ value: string;
371
+ label: string;
372
+ }[] | undefined;
373
+ validation?: {
374
+ format?: "email" | undefined;
375
+ maxLength?: number | undefined;
376
+ } | undefined;
377
+ placeholder?: string | undefined;
378
+ required?: boolean | undefined;
379
+ }>, "many">;
380
+ notifications: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
381
+ id: z.ZodString;
382
+ type: z.ZodLiteral<"email">;
383
+ enabled: z.ZodBoolean;
384
+ label: z.ZodString;
385
+ recipients: z.ZodArray<z.ZodString, "many">;
386
+ }, "strip", z.ZodTypeAny, {
387
+ type: "email";
388
+ label: string;
389
+ id: string;
390
+ enabled: boolean;
391
+ recipients: string[];
392
+ }, {
393
+ type: "email";
394
+ label: string;
395
+ id: string;
396
+ enabled: boolean;
397
+ recipients: string[];
398
+ }>, z.ZodObject<{
399
+ id: z.ZodString;
400
+ type: z.ZodEnum<["slack", "wecom", "feishu", "dingtalk"]>;
401
+ enabled: z.ZodBoolean;
402
+ label: z.ZodString;
403
+ webhookUrlMasked: z.ZodNullable<z.ZodString>;
404
+ }, "strip", z.ZodTypeAny, {
405
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
406
+ label: string;
407
+ id: string;
408
+ enabled: boolean;
409
+ webhookUrlMasked: string | null;
410
+ }, {
411
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
412
+ label: string;
413
+ id: string;
414
+ enabled: boolean;
415
+ webhookUrlMasked: string | null;
416
+ }>]>, "many">;
417
+ webhooks: z.ZodArray<z.ZodObject<{
418
+ id: z.ZodString;
419
+ enabled: z.ZodBoolean;
420
+ label: z.ZodString;
421
+ event: z.ZodLiteral<"contact.submitted">;
422
+ urlMasked: z.ZodNullable<z.ZodString>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ label: string;
425
+ id: string;
426
+ enabled: boolean;
427
+ event: "contact.submitted";
428
+ urlMasked: string | null;
429
+ }, {
430
+ label: string;
431
+ id: string;
432
+ enabled: boolean;
433
+ event: "contact.submitted";
434
+ urlMasked: string | null;
435
+ }>, "many">;
436
+ limits: z.ZodObject<{
437
+ maxNotificationChannels: z.ZodNumber;
438
+ maxWebhooks: z.ZodNumber;
439
+ }, "strip", z.ZodTypeAny, {
440
+ maxNotificationChannels: number;
441
+ maxWebhooks: number;
442
+ }, {
443
+ maxNotificationChannels: number;
444
+ maxWebhooks: number;
445
+ }>;
446
+ features: z.ZodObject<{
447
+ contactNotifications: z.ZodBoolean;
448
+ contactWebhooks: z.ZodBoolean;
449
+ }, "strip", z.ZodTypeAny, {
450
+ contactNotifications: boolean;
451
+ contactWebhooks: boolean;
452
+ }, {
453
+ contactNotifications: boolean;
454
+ contactWebhooks: boolean;
455
+ }>;
456
+ }, "strip", z.ZodTypeAny, {
457
+ title: string;
458
+ enabled: boolean;
459
+ successMessage: string;
460
+ submitLabel: string;
461
+ fields: {
462
+ options: {
463
+ value: string;
464
+ label: string;
465
+ }[];
466
+ validation: {
467
+ format?: "email" | undefined;
468
+ maxLength?: number | undefined;
469
+ };
470
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
471
+ label: string;
472
+ id: string;
473
+ required: boolean;
474
+ placeholder?: string | undefined;
475
+ }[];
476
+ notifications: ({
477
+ type: "email";
478
+ label: string;
479
+ id: string;
480
+ enabled: boolean;
481
+ recipients: string[];
482
+ } | {
483
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
484
+ label: string;
485
+ id: string;
486
+ enabled: boolean;
487
+ webhookUrlMasked: string | null;
488
+ })[];
489
+ webhooks: {
490
+ label: string;
491
+ id: string;
492
+ enabled: boolean;
493
+ event: "contact.submitted";
494
+ urlMasked: string | null;
495
+ }[];
496
+ limits: {
497
+ maxNotificationChannels: number;
498
+ maxWebhooks: number;
499
+ };
500
+ features: {
501
+ contactNotifications: boolean;
502
+ contactWebhooks: boolean;
503
+ };
504
+ }, {
505
+ title: string;
506
+ enabled: boolean;
507
+ successMessage: string;
508
+ submitLabel: string;
509
+ fields: {
510
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
511
+ label: string;
512
+ id: string;
513
+ options?: {
514
+ value: string;
515
+ label: string;
516
+ }[] | undefined;
517
+ validation?: {
518
+ format?: "email" | undefined;
519
+ maxLength?: number | undefined;
520
+ } | undefined;
521
+ placeholder?: string | undefined;
522
+ required?: boolean | undefined;
523
+ }[];
524
+ notifications: ({
525
+ type: "email";
526
+ label: string;
527
+ id: string;
528
+ enabled: boolean;
529
+ recipients: string[];
530
+ } | {
531
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
532
+ label: string;
533
+ id: string;
534
+ enabled: boolean;
535
+ webhookUrlMasked: string | null;
536
+ })[];
537
+ webhooks: {
538
+ label: string;
539
+ id: string;
540
+ enabled: boolean;
541
+ event: "contact.submitted";
542
+ urlMasked: string | null;
543
+ }[];
544
+ limits: {
545
+ maxNotificationChannels: number;
546
+ maxWebhooks: number;
547
+ };
548
+ features: {
549
+ contactNotifications: boolean;
550
+ contactWebhooks: boolean;
551
+ };
552
+ }>;
320
553
  declare const updateContactFormOutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
321
554
  status: z.ZodLiteral<"needs_confirmation">;
322
555
  projectId: z.ZodString;
@@ -1063,6 +1296,26 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1063
1296
  card: string;
1064
1297
  button: string;
1065
1298
  }>;
1299
+ layout: z.ZodDefault<z.ZodObject<{
1300
+ contentWidth: z.ZodEnum<["1024px", "1200px", "1280px", "1440px"]>;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1303
+ }, {
1304
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1305
+ }>>;
1306
+ typography: z.ZodDefault<z.ZodObject<{
1307
+ heading: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
1308
+ body: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
1309
+ mono: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1312
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1313
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1314
+ }, {
1315
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1316
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1317
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1318
+ }>>;
1066
1319
  }, "strip", z.ZodTypeAny, {
1067
1320
  colors: {
1068
1321
  secondary: string;
@@ -1081,6 +1334,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1081
1334
  card: string;
1082
1335
  button: string;
1083
1336
  };
1337
+ layout: {
1338
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1339
+ };
1340
+ typography: {
1341
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1342
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1343
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1344
+ };
1084
1345
  }, {
1085
1346
  colors: {
1086
1347
  background: string;
@@ -1099,6 +1360,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1099
1360
  card: string;
1100
1361
  button: string;
1101
1362
  };
1363
+ layout?: {
1364
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1365
+ } | undefined;
1366
+ typography?: {
1367
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1368
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1369
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1370
+ } | undefined;
1102
1371
  }>;
1103
1372
  }, "strip", z.ZodTypeAny, {
1104
1373
  label: string;
@@ -1121,6 +1390,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1121
1390
  card: string;
1122
1391
  button: string;
1123
1392
  };
1393
+ layout: {
1394
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1395
+ };
1396
+ typography: {
1397
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1398
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1399
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1400
+ };
1124
1401
  };
1125
1402
  description?: string | undefined;
1126
1403
  }, {
@@ -1144,6 +1421,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1144
1421
  card: string;
1145
1422
  button: string;
1146
1423
  };
1424
+ layout?: {
1425
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1426
+ } | undefined;
1427
+ typography?: {
1428
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1429
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1430
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1431
+ } | undefined;
1147
1432
  };
1148
1433
  description?: string | undefined;
1149
1434
  }>, "many">;
@@ -1171,6 +1456,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1171
1456
  card: string;
1172
1457
  button: string;
1173
1458
  };
1459
+ layout: {
1460
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1461
+ };
1462
+ typography: {
1463
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1464
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1465
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1466
+ };
1174
1467
  };
1175
1468
  description?: string | undefined;
1176
1469
  }[];
@@ -1198,6 +1491,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1198
1491
  card: string;
1199
1492
  button: string;
1200
1493
  };
1494
+ layout?: {
1495
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1496
+ } | undefined;
1497
+ typography?: {
1498
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1499
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1500
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1501
+ } | undefined;
1201
1502
  };
1202
1503
  description?: string | undefined;
1203
1504
  }[];
@@ -1225,6 +1526,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1225
1526
  card: string;
1226
1527
  button: string;
1227
1528
  };
1529
+ layout: {
1530
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1531
+ };
1532
+ typography: {
1533
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1534
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1535
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1536
+ };
1228
1537
  };
1229
1538
  description?: string | undefined;
1230
1539
  }[];
@@ -1252,6 +1561,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1252
1561
  card: string;
1253
1562
  button: string;
1254
1563
  };
1564
+ layout?: {
1565
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1566
+ } | undefined;
1567
+ typography?: {
1568
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1569
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1570
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1571
+ } | undefined;
1255
1572
  };
1256
1573
  description?: string | undefined;
1257
1574
  }[];
@@ -1285,6 +1602,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1285
1602
  card: string;
1286
1603
  button: string;
1287
1604
  };
1605
+ layout: {
1606
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1607
+ };
1608
+ typography: {
1609
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1610
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1611
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1612
+ };
1288
1613
  };
1289
1614
  description?: string | undefined;
1290
1615
  }[];
@@ -1318,6 +1643,14 @@ declare const themeSettingsViewSchema: z.ZodObject<{
1318
1643
  card: string;
1319
1644
  button: string;
1320
1645
  };
1646
+ layout?: {
1647
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1648
+ } | undefined;
1649
+ typography?: {
1650
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1651
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1652
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1653
+ } | undefined;
1321
1654
  };
1322
1655
  description?: string | undefined;
1323
1656
  }[];
@@ -1452,6 +1785,26 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1452
1785
  card: string;
1453
1786
  button: string;
1454
1787
  }>;
1788
+ layout: z.ZodDefault<z.ZodObject<{
1789
+ contentWidth: z.ZodEnum<["1024px", "1200px", "1280px", "1440px"]>;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1792
+ }, {
1793
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1794
+ }>>;
1795
+ typography: z.ZodDefault<z.ZodObject<{
1796
+ heading: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
1797
+ body: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
1798
+ mono: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
1799
+ }, "strip", z.ZodTypeAny, {
1800
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1801
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1802
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1803
+ }, {
1804
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1805
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1806
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1807
+ }>>;
1455
1808
  }, "strip", z.ZodTypeAny, {
1456
1809
  colors: {
1457
1810
  secondary: string;
@@ -1470,6 +1823,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1470
1823
  card: string;
1471
1824
  button: string;
1472
1825
  };
1826
+ layout: {
1827
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1828
+ };
1829
+ typography: {
1830
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1831
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1832
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1833
+ };
1473
1834
  }, {
1474
1835
  colors: {
1475
1836
  background: string;
@@ -1488,6 +1849,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1488
1849
  card: string;
1489
1850
  button: string;
1490
1851
  };
1852
+ layout?: {
1853
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1854
+ } | undefined;
1855
+ typography?: {
1856
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1857
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1858
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1859
+ } | undefined;
1491
1860
  }>;
1492
1861
  }, "strip", z.ZodTypeAny, {
1493
1862
  label: string;
@@ -1510,6 +1879,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1510
1879
  card: string;
1511
1880
  button: string;
1512
1881
  };
1882
+ layout: {
1883
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1884
+ };
1885
+ typography: {
1886
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1887
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1888
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1889
+ };
1513
1890
  };
1514
1891
  description?: string | undefined;
1515
1892
  }, {
@@ -1533,6 +1910,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1533
1910
  card: string;
1534
1911
  button: string;
1535
1912
  };
1913
+ layout?: {
1914
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1915
+ } | undefined;
1916
+ typography?: {
1917
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1918
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1919
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1920
+ } | undefined;
1536
1921
  };
1537
1922
  description?: string | undefined;
1538
1923
  }>, "many">;
@@ -1560,6 +1945,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1560
1945
  card: string;
1561
1946
  button: string;
1562
1947
  };
1948
+ layout: {
1949
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1950
+ };
1951
+ typography: {
1952
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1953
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1954
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1955
+ };
1563
1956
  };
1564
1957
  description?: string | undefined;
1565
1958
  }[];
@@ -1587,6 +1980,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1587
1980
  card: string;
1588
1981
  button: string;
1589
1982
  };
1983
+ layout?: {
1984
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
1985
+ } | undefined;
1986
+ typography?: {
1987
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1988
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1989
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
1990
+ } | undefined;
1590
1991
  };
1591
1992
  description?: string | undefined;
1592
1993
  }[];
@@ -1614,6 +2015,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1614
2015
  card: string;
1615
2016
  button: string;
1616
2017
  };
2018
+ layout: {
2019
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2020
+ };
2021
+ typography: {
2022
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2023
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2024
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2025
+ };
1617
2026
  };
1618
2027
  description?: string | undefined;
1619
2028
  }[];
@@ -1641,6 +2050,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1641
2050
  card: string;
1642
2051
  button: string;
1643
2052
  };
2053
+ layout?: {
2054
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2055
+ } | undefined;
2056
+ typography?: {
2057
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2058
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2059
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2060
+ } | undefined;
1644
2061
  };
1645
2062
  description?: string | undefined;
1646
2063
  }[];
@@ -1674,6 +2091,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1674
2091
  card: string;
1675
2092
  button: string;
1676
2093
  };
2094
+ layout: {
2095
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2096
+ };
2097
+ typography: {
2098
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2099
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2100
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2101
+ };
1677
2102
  };
1678
2103
  description?: string | undefined;
1679
2104
  }[];
@@ -1707,6 +2132,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1707
2132
  card: string;
1708
2133
  button: string;
1709
2134
  };
2135
+ layout?: {
2136
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2137
+ } | undefined;
2138
+ typography?: {
2139
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2140
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2141
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2142
+ } | undefined;
1710
2143
  };
1711
2144
  description?: string | undefined;
1712
2145
  }[];
@@ -1744,6 +2177,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1744
2177
  card: string;
1745
2178
  button: string;
1746
2179
  };
2180
+ layout: {
2181
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2182
+ };
2183
+ typography: {
2184
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2185
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2186
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2187
+ };
1747
2188
  };
1748
2189
  description?: string | undefined;
1749
2190
  }[];
@@ -1781,6 +2222,14 @@ declare const updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status",
1781
2222
  card: string;
1782
2223
  button: string;
1783
2224
  };
2225
+ layout?: {
2226
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2227
+ } | undefined;
2228
+ typography?: {
2229
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2230
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2231
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2232
+ } | undefined;
1784
2233
  };
1785
2234
  description?: string | undefined;
1786
2235
  }[];
@@ -1802,67 +2251,2380 @@ declare function buildTheme(root: string): Promise<ValidatedTheme>;
1802
2251
  declare function finalizeTheme(root: string): Promise<ValidatedTheme>;
1803
2252
  declare function findAnchorTagByHref(html: string, href: string): string | null;
1804
2253
  declare const __testUtils: {
1805
- createThemeProjectRequire: typeof createThemeProjectRequire;
1806
- createRemotePageDraft: typeof createRemotePageDraft;
1807
- findAnchorTagByHref: typeof findAnchorTagByHref;
1808
- formatMissingSharpWarning: typeof formatMissingSharpWarning;
1809
- loadThemeScopedRenderer: typeof loadThemeScopedRenderer;
1810
- normalizePlaywrightModule: typeof normalizePlaywrightModule;
1811
- normalizeSharpModule: typeof normalizeSharpModule;
1812
- initThemeWithKey: typeof initThemeWithKey;
1813
- performActivateTheme: typeof performActivateTheme;
1814
- performConfirmedPageOperation: typeof performConfirmedPageOperation;
1815
- performUpdateContactForm: typeof performUpdateContactForm;
1816
- performUpdateThemeSettings: typeof performUpdateThemeSettings;
1817
- getRemoteThemeSettings: typeof getRemoteThemeSettings;
1818
- renderDevStarterPageHtml: typeof renderDevStarterPageHtml;
1819
- renderDevEditorPageHtml: typeof renderDevEditorPageHtml;
1820
- writeVitePreviewEntries: typeof writeVitePreviewEntries;
1821
- resolveDevEditorSlug: typeof resolveDevEditorSlug;
1822
- resolveDevStarterSlug: typeof resolveDevStarterSlug;
1823
- resolveScreenshotOptions: typeof resolveScreenshotOptions;
1824
- slugifyThemeName: typeof slugifyThemeName;
1825
- validateThemeKey: typeof validateThemeKey;
1826
- validateThemeName: typeof validateThemeName;
1827
- validateThemeCssTokenContract: typeof validateThemeCssTokenContract;
1828
- validateThemeTailwindContract: typeof validateThemeTailwindContract;
1829
- validateThemeLocales: typeof validateThemeLocales;
1830
- validateThemePreviewLocales: typeof validateThemePreviewLocales;
1831
- resolveThemePreviewLocale: typeof resolveThemePreviewLocale;
1832
- withSerializedVitePreviewLocaleLoad: typeof withSerializedVitePreviewLocaleLoad;
1833
- toViteModuleUrl: typeof toViteModuleUrl;
1834
- updateRemotePageDraft: typeof updateRemotePageDraft;
1835
- };
1836
- declare function watchTheme(root: string, port: number): Promise<void>;
1837
- declare function writeVitePreviewEntries(root: string): Promise<void>;
1838
- declare function withSerializedVitePreviewLocaleLoad<Result>(server: object, load: () => Promise<Result>): Promise<Result>;
1839
- declare function resolveDevEditorSlug(pathname: string): string | null | undefined;
1840
- declare function resolveDevStarterSlug(pathname: string): string | null | undefined;
1841
- declare function resolveThemePreviewLocale(params: {
1842
- previewLocales: string[] | undefined;
1843
- explicitLang?: string | null;
1844
- acceptLanguage?: string;
1845
- }): string;
1846
- /**
1847
- * Theme-project-scoped renderer bundle. We deliberately resolve `react`,
1848
- * `react-dom/server` and `@sudajs/theme-engine/server` through the theme
1849
- * project's own `require` graph instead of the CLI's, because the theme's
1850
- * local `dist/index.js` was already loaded against that copy of React. Importing
1851
- * a different React instance from the CLI side would yield two React
1852
- * dispatchers; client components inside the theme would call hooks against
1853
- * the CLI's React (whose dispatcher is `null` outside a render), producing
1854
- * `Cannot read properties of null (reading 'useState')`.
1855
- */
1856
- interface ThemeRenderer {
1857
- ThemeRender: typeof ThemeRender;
1858
- extractLayoutChrome: typeof extractLayoutChrome;
1859
- resolveAssetPath: typeof resolveAssetPath;
1860
- createElement: typeof createElement;
1861
- renderToString: typeof renderToString;
1862
- }
1863
- declare function loadThemeScopedRenderer(themeRoot: string): Promise<ThemeRenderer>;
1864
- declare function renderDevStarterPageHtml(theme: ValidatedTheme, page: ThemeStarterPage, renderer: ThemeRenderer, locale?: string, preserveLang?: boolean, previewLocaleMessages?: ThemePreviewLocaleMessages, searchParams?: URLSearchParams): string;
1865
- declare function renderDevEditorPageHtml(theme: ValidatedTheme, page: ThemeStarterPage, renderer: ThemeRenderer, locale?: string, searchParams?: URLSearchParams, previewLocaleMessages?: ThemePreviewLocaleMessages): string;
2254
+ activateThemeOutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
2255
+ status: z.ZodLiteral<"needs_confirmation">;
2256
+ projectId: z.ZodString;
2257
+ themeKey: z.ZodString;
2258
+ themeVersion: z.ZodNullable<z.ZodString>;
2259
+ impact: z.ZodString;
2260
+ }, "strip", z.ZodTypeAny, {
2261
+ projectId: string;
2262
+ status: "needs_confirmation";
2263
+ impact: string;
2264
+ themeKey: string;
2265
+ themeVersion: string | null;
2266
+ }, {
2267
+ projectId: string;
2268
+ status: "needs_confirmation";
2269
+ impact: string;
2270
+ themeKey: string;
2271
+ themeVersion: string | null;
2272
+ }>, z.ZodObject<{
2273
+ status: z.ZodLiteral<"activated">;
2274
+ projectId: z.ZodString;
2275
+ themeKey: z.ZodString;
2276
+ themeVersion: z.ZodNullable<z.ZodString>;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ projectId: string;
2279
+ status: "activated";
2280
+ themeKey: string;
2281
+ themeVersion: string | null;
2282
+ }, {
2283
+ projectId: string;
2284
+ status: "activated";
2285
+ themeKey: string;
2286
+ themeVersion: string | null;
2287
+ }>]>;
2288
+ contactFormOutputSchema: z.ZodObject<{
2289
+ contactForm: z.ZodObject<{
2290
+ enabled: z.ZodBoolean;
2291
+ title: z.ZodString;
2292
+ successMessage: z.ZodString;
2293
+ submitLabel: z.ZodString;
2294
+ fields: z.ZodArray<z.ZodObject<{
2295
+ id: z.ZodString;
2296
+ type: z.ZodEnum<["text", "textarea", "checkbox", "radio", "select"]>;
2297
+ label: z.ZodString;
2298
+ placeholder: z.ZodOptional<z.ZodString>;
2299
+ required: z.ZodDefault<z.ZodBoolean>;
2300
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
2301
+ label: z.ZodString;
2302
+ value: z.ZodString;
2303
+ }, "strip", z.ZodTypeAny, {
2304
+ value: string;
2305
+ label: string;
2306
+ }, {
2307
+ value: string;
2308
+ label: string;
2309
+ }>, "many">>;
2310
+ validation: z.ZodDefault<z.ZodObject<{
2311
+ format: z.ZodOptional<z.ZodEnum<["email"]>>;
2312
+ maxLength: z.ZodOptional<z.ZodNumber>;
2313
+ }, "strip", z.ZodTypeAny, {
2314
+ format?: "email" | undefined;
2315
+ maxLength?: number | undefined;
2316
+ }, {
2317
+ format?: "email" | undefined;
2318
+ maxLength?: number | undefined;
2319
+ }>>;
2320
+ }, "strip", z.ZodTypeAny, {
2321
+ options: {
2322
+ value: string;
2323
+ label: string;
2324
+ }[];
2325
+ validation: {
2326
+ format?: "email" | undefined;
2327
+ maxLength?: number | undefined;
2328
+ };
2329
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
2330
+ label: string;
2331
+ id: string;
2332
+ required: boolean;
2333
+ placeholder?: string | undefined;
2334
+ }, {
2335
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
2336
+ label: string;
2337
+ id: string;
2338
+ options?: {
2339
+ value: string;
2340
+ label: string;
2341
+ }[] | undefined;
2342
+ validation?: {
2343
+ format?: "email" | undefined;
2344
+ maxLength?: number | undefined;
2345
+ } | undefined;
2346
+ placeholder?: string | undefined;
2347
+ required?: boolean | undefined;
2348
+ }>, "many">;
2349
+ notifications: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2350
+ id: z.ZodString;
2351
+ type: z.ZodLiteral<"email">;
2352
+ enabled: z.ZodBoolean;
2353
+ label: z.ZodString;
2354
+ recipients: z.ZodArray<z.ZodString, "many">;
2355
+ }, "strip", z.ZodTypeAny, {
2356
+ type: "email";
2357
+ label: string;
2358
+ id: string;
2359
+ enabled: boolean;
2360
+ recipients: string[];
2361
+ }, {
2362
+ type: "email";
2363
+ label: string;
2364
+ id: string;
2365
+ enabled: boolean;
2366
+ recipients: string[];
2367
+ }>, z.ZodObject<{
2368
+ id: z.ZodString;
2369
+ type: z.ZodEnum<["slack", "wecom", "feishu", "dingtalk"]>;
2370
+ enabled: z.ZodBoolean;
2371
+ label: z.ZodString;
2372
+ webhookUrlMasked: z.ZodNullable<z.ZodString>;
2373
+ }, "strip", z.ZodTypeAny, {
2374
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
2375
+ label: string;
2376
+ id: string;
2377
+ enabled: boolean;
2378
+ webhookUrlMasked: string | null;
2379
+ }, {
2380
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
2381
+ label: string;
2382
+ id: string;
2383
+ enabled: boolean;
2384
+ webhookUrlMasked: string | null;
2385
+ }>]>, "many">;
2386
+ webhooks: z.ZodArray<z.ZodObject<{
2387
+ id: z.ZodString;
2388
+ enabled: z.ZodBoolean;
2389
+ label: z.ZodString;
2390
+ event: z.ZodLiteral<"contact.submitted">;
2391
+ urlMasked: z.ZodNullable<z.ZodString>;
2392
+ }, "strip", z.ZodTypeAny, {
2393
+ label: string;
2394
+ id: string;
2395
+ enabled: boolean;
2396
+ event: "contact.submitted";
2397
+ urlMasked: string | null;
2398
+ }, {
2399
+ label: string;
2400
+ id: string;
2401
+ enabled: boolean;
2402
+ event: "contact.submitted";
2403
+ urlMasked: string | null;
2404
+ }>, "many">;
2405
+ limits: z.ZodObject<{
2406
+ maxNotificationChannels: z.ZodNumber;
2407
+ maxWebhooks: z.ZodNumber;
2408
+ }, "strip", z.ZodTypeAny, {
2409
+ maxNotificationChannels: number;
2410
+ maxWebhooks: number;
2411
+ }, {
2412
+ maxNotificationChannels: number;
2413
+ maxWebhooks: number;
2414
+ }>;
2415
+ features: z.ZodObject<{
2416
+ contactNotifications: z.ZodBoolean;
2417
+ contactWebhooks: z.ZodBoolean;
2418
+ }, "strip", z.ZodTypeAny, {
2419
+ contactNotifications: boolean;
2420
+ contactWebhooks: boolean;
2421
+ }, {
2422
+ contactNotifications: boolean;
2423
+ contactWebhooks: boolean;
2424
+ }>;
2425
+ }, "strip", z.ZodTypeAny, {
2426
+ title: string;
2427
+ enabled: boolean;
2428
+ successMessage: string;
2429
+ submitLabel: string;
2430
+ fields: {
2431
+ options: {
2432
+ value: string;
2433
+ label: string;
2434
+ }[];
2435
+ validation: {
2436
+ format?: "email" | undefined;
2437
+ maxLength?: number | undefined;
2438
+ };
2439
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
2440
+ label: string;
2441
+ id: string;
2442
+ required: boolean;
2443
+ placeholder?: string | undefined;
2444
+ }[];
2445
+ notifications: ({
2446
+ type: "email";
2447
+ label: string;
2448
+ id: string;
2449
+ enabled: boolean;
2450
+ recipients: string[];
2451
+ } | {
2452
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
2453
+ label: string;
2454
+ id: string;
2455
+ enabled: boolean;
2456
+ webhookUrlMasked: string | null;
2457
+ })[];
2458
+ webhooks: {
2459
+ label: string;
2460
+ id: string;
2461
+ enabled: boolean;
2462
+ event: "contact.submitted";
2463
+ urlMasked: string | null;
2464
+ }[];
2465
+ limits: {
2466
+ maxNotificationChannels: number;
2467
+ maxWebhooks: number;
2468
+ };
2469
+ features: {
2470
+ contactNotifications: boolean;
2471
+ contactWebhooks: boolean;
2472
+ };
2473
+ }, {
2474
+ title: string;
2475
+ enabled: boolean;
2476
+ successMessage: string;
2477
+ submitLabel: string;
2478
+ fields: {
2479
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
2480
+ label: string;
2481
+ id: string;
2482
+ options?: {
2483
+ value: string;
2484
+ label: string;
2485
+ }[] | undefined;
2486
+ validation?: {
2487
+ format?: "email" | undefined;
2488
+ maxLength?: number | undefined;
2489
+ } | undefined;
2490
+ placeholder?: string | undefined;
2491
+ required?: boolean | undefined;
2492
+ }[];
2493
+ notifications: ({
2494
+ type: "email";
2495
+ label: string;
2496
+ id: string;
2497
+ enabled: boolean;
2498
+ recipients: string[];
2499
+ } | {
2500
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
2501
+ label: string;
2502
+ id: string;
2503
+ enabled: boolean;
2504
+ webhookUrlMasked: string | null;
2505
+ })[];
2506
+ webhooks: {
2507
+ label: string;
2508
+ id: string;
2509
+ enabled: boolean;
2510
+ event: "contact.submitted";
2511
+ urlMasked: string | null;
2512
+ }[];
2513
+ limits: {
2514
+ maxNotificationChannels: number;
2515
+ maxWebhooks: number;
2516
+ };
2517
+ features: {
2518
+ contactNotifications: boolean;
2519
+ contactWebhooks: boolean;
2520
+ };
2521
+ }>;
2522
+ }, "strip", z.ZodTypeAny, {
2523
+ contactForm: {
2524
+ title: string;
2525
+ enabled: boolean;
2526
+ successMessage: string;
2527
+ submitLabel: string;
2528
+ fields: {
2529
+ options: {
2530
+ value: string;
2531
+ label: string;
2532
+ }[];
2533
+ validation: {
2534
+ format?: "email" | undefined;
2535
+ maxLength?: number | undefined;
2536
+ };
2537
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
2538
+ label: string;
2539
+ id: string;
2540
+ required: boolean;
2541
+ placeholder?: string | undefined;
2542
+ }[];
2543
+ notifications: ({
2544
+ type: "email";
2545
+ label: string;
2546
+ id: string;
2547
+ enabled: boolean;
2548
+ recipients: string[];
2549
+ } | {
2550
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
2551
+ label: string;
2552
+ id: string;
2553
+ enabled: boolean;
2554
+ webhookUrlMasked: string | null;
2555
+ })[];
2556
+ webhooks: {
2557
+ label: string;
2558
+ id: string;
2559
+ enabled: boolean;
2560
+ event: "contact.submitted";
2561
+ urlMasked: string | null;
2562
+ }[];
2563
+ limits: {
2564
+ maxNotificationChannels: number;
2565
+ maxWebhooks: number;
2566
+ };
2567
+ features: {
2568
+ contactNotifications: boolean;
2569
+ contactWebhooks: boolean;
2570
+ };
2571
+ };
2572
+ }, {
2573
+ contactForm: {
2574
+ title: string;
2575
+ enabled: boolean;
2576
+ successMessage: string;
2577
+ submitLabel: string;
2578
+ fields: {
2579
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
2580
+ label: string;
2581
+ id: string;
2582
+ options?: {
2583
+ value: string;
2584
+ label: string;
2585
+ }[] | undefined;
2586
+ validation?: {
2587
+ format?: "email" | undefined;
2588
+ maxLength?: number | undefined;
2589
+ } | undefined;
2590
+ placeholder?: string | undefined;
2591
+ required?: boolean | undefined;
2592
+ }[];
2593
+ notifications: ({
2594
+ type: "email";
2595
+ label: string;
2596
+ id: string;
2597
+ enabled: boolean;
2598
+ recipients: string[];
2599
+ } | {
2600
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
2601
+ label: string;
2602
+ id: string;
2603
+ enabled: boolean;
2604
+ webhookUrlMasked: string | null;
2605
+ })[];
2606
+ webhooks: {
2607
+ label: string;
2608
+ id: string;
2609
+ enabled: boolean;
2610
+ event: "contact.submitted";
2611
+ urlMasked: string | null;
2612
+ }[];
2613
+ limits: {
2614
+ maxNotificationChannels: number;
2615
+ maxWebhooks: number;
2616
+ };
2617
+ features: {
2618
+ contactNotifications: boolean;
2619
+ contactWebhooks: boolean;
2620
+ };
2621
+ };
2622
+ }>;
2623
+ createPageDraftOutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
2624
+ status: z.ZodLiteral<"created">;
2625
+ pageId: z.ZodString;
2626
+ }, "strip", z.ZodTypeAny, {
2627
+ status: "created";
2628
+ pageId: string;
2629
+ }, {
2630
+ status: "created";
2631
+ pageId: string;
2632
+ }>, z.ZodObject<{
2633
+ status: z.ZodLiteral<"invalid">;
2634
+ valid: z.ZodLiteral<false>;
2635
+ issues: z.ZodArray<z.ZodObject<{
2636
+ path: z.ZodString;
2637
+ message: z.ZodString;
2638
+ }, "strip", z.ZodTypeAny, {
2639
+ path: string;
2640
+ message: string;
2641
+ }, {
2642
+ path: string;
2643
+ message: string;
2644
+ }>, "many">;
2645
+ }, "strip", z.ZodTypeAny, {
2646
+ status: "invalid";
2647
+ issues: {
2648
+ path: string;
2649
+ message: string;
2650
+ }[];
2651
+ valid: false;
2652
+ }, {
2653
+ status: "invalid";
2654
+ issues: {
2655
+ path: string;
2656
+ message: string;
2657
+ }[];
2658
+ valid: false;
2659
+ }>]>;
2660
+ createProjectOutputSchema: z.ZodObject<{
2661
+ projectId: z.ZodString;
2662
+ name: z.ZodString;
2663
+ defaultDomain: z.ZodNullable<z.ZodString>;
2664
+ dashboardUrl: z.ZodString;
2665
+ }, "strip", z.ZodTypeAny, {
2666
+ projectId: string;
2667
+ name: string;
2668
+ defaultDomain: string | null;
2669
+ dashboardUrl: string;
2670
+ }, {
2671
+ projectId: string;
2672
+ name: string;
2673
+ defaultDomain: string | null;
2674
+ dashboardUrl: string;
2675
+ }>;
2676
+ createThemeProjectRequire: typeof createThemeProjectRequire;
2677
+ createVisualAuditPage: typeof createVisualAuditPage;
2678
+ createRemotePageDraft: typeof createRemotePageDraft;
2679
+ destructivePageOperationOutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
2680
+ status: z.ZodLiteral<"needs_confirmation">;
2681
+ projectId: z.ZodString;
2682
+ slug: z.ZodString;
2683
+ impact: z.ZodString;
2684
+ }, "strip", z.ZodTypeAny, {
2685
+ projectId: string;
2686
+ slug: string;
2687
+ status: "needs_confirmation";
2688
+ impact: string;
2689
+ }, {
2690
+ projectId: string;
2691
+ slug: string;
2692
+ status: "needs_confirmation";
2693
+ impact: string;
2694
+ }>, z.ZodObject<{
2695
+ status: z.ZodEnum<["deleted", "published"]>;
2696
+ projectId: z.ZodString;
2697
+ slug: z.ZodString;
2698
+ pageId: z.ZodString;
2699
+ }, "strip", z.ZodTypeAny, {
2700
+ projectId: string;
2701
+ slug: string;
2702
+ status: "deleted" | "published";
2703
+ pageId: string;
2704
+ }, {
2705
+ projectId: string;
2706
+ slug: string;
2707
+ status: "deleted" | "published";
2708
+ pageId: string;
2709
+ }>]>;
2710
+ findAnchorTagByHref: typeof findAnchorTagByHref;
2711
+ formatMissingSharpWarning: typeof formatMissingSharpWarning;
2712
+ loadThemeScopedRenderer: typeof loadThemeScopedRenderer;
2713
+ normalizePlaywrightModule: typeof normalizePlaywrightModule;
2714
+ normalizeSharpModule: typeof normalizeSharpModule;
2715
+ initThemeWithKey: typeof initThemeWithKey;
2716
+ performActivateTheme: typeof performActivateTheme;
2717
+ performConfirmedPageOperation: typeof performConfirmedPageOperation;
2718
+ performUpdateContactForm: typeof performUpdateContactForm;
2719
+ performUpdateThemeSettings: typeof performUpdateThemeSettings;
2720
+ getRemoteContactForm: typeof getRemoteContactForm;
2721
+ getRemoteThemeSettings: typeof getRemoteThemeSettings;
2722
+ listProjectsOutputSchema: z.ZodObject<{
2723
+ projects: z.ZodArray<z.ZodObject<{
2724
+ projectId: z.ZodString;
2725
+ name: z.ZodString;
2726
+ defaultDomain: z.ZodNullable<z.ZodString>;
2727
+ role: z.ZodString;
2728
+ isOwner: z.ZodBoolean;
2729
+ activeThemeKey: z.ZodNullable<z.ZodString>;
2730
+ activeThemeVersion: z.ZodNullable<z.ZodString>;
2731
+ }, "strip", z.ZodTypeAny, {
2732
+ projectId: string;
2733
+ name: string;
2734
+ defaultDomain: string | null;
2735
+ role: string;
2736
+ isOwner: boolean;
2737
+ activeThemeKey: string | null;
2738
+ activeThemeVersion: string | null;
2739
+ }, {
2740
+ projectId: string;
2741
+ name: string;
2742
+ defaultDomain: string | null;
2743
+ role: string;
2744
+ isOwner: boolean;
2745
+ activeThemeKey: string | null;
2746
+ activeThemeVersion: string | null;
2747
+ }>, "many">;
2748
+ }, "strip", z.ZodTypeAny, {
2749
+ projects: {
2750
+ projectId: string;
2751
+ name: string;
2752
+ defaultDomain: string | null;
2753
+ role: string;
2754
+ isOwner: boolean;
2755
+ activeThemeKey: string | null;
2756
+ activeThemeVersion: string | null;
2757
+ }[];
2758
+ }, {
2759
+ projects: {
2760
+ projectId: string;
2761
+ name: string;
2762
+ defaultDomain: string | null;
2763
+ role: string;
2764
+ isOwner: boolean;
2765
+ activeThemeKey: string | null;
2766
+ activeThemeVersion: string | null;
2767
+ }[];
2768
+ }>;
2769
+ renderDevStarterPageHtml: typeof renderDevStarterPageHtml;
2770
+ renderDevEditorPageHtml: typeof renderDevEditorPageHtml;
2771
+ readDevThemeLocaleMessages: typeof readDevThemeLocaleMessages;
2772
+ writeVitePreviewEntries: typeof writeVitePreviewEntries;
2773
+ resolveDevEditorSlug: typeof resolveDevEditorSlug;
2774
+ resolveDevStarterSlug: typeof resolveDevStarterSlug;
2775
+ resolveDevVisualAuditComponent: typeof resolveDevVisualAuditComponent;
2776
+ getThemeVisualAuditComponentTypes: typeof getThemeVisualAuditComponentTypes;
2777
+ resolveScreenshotOptions: typeof resolveScreenshotOptions;
2778
+ resolveVisualCheckOptions: typeof resolveVisualCheckOptions;
2779
+ slugifyThemeName: typeof slugifyThemeName;
2780
+ validateThemeKey: typeof validateThemeKey;
2781
+ validateThemeName: typeof validateThemeName;
2782
+ validateThemeCssTokenContract: typeof validateThemeCssTokenContract;
2783
+ validateThemeTailwindContract: typeof validateThemeTailwindContract;
2784
+ validateThemeLocales: typeof validateThemeLocales;
2785
+ validateThemePreviewLocales: typeof validateThemePreviewLocales;
2786
+ resolveThemePreviewLocale: typeof resolveThemePreviewLocale;
2787
+ withSerializedVitePreviewLocaleLoad: typeof withSerializedVitePreviewLocaleLoad;
2788
+ toViteModuleUrl: typeof toViteModuleUrl;
2789
+ themeSettingsOutputSchema: z.ZodObject<{
2790
+ themeSettings: z.ZodObject<{
2791
+ themeKey: z.ZodString;
2792
+ themeVersion: z.ZodString;
2793
+ designSystem: z.ZodEffects<z.ZodObject<{
2794
+ version: z.ZodLiteral<1>;
2795
+ defaultPresetId: z.ZodString;
2796
+ presets: z.ZodArray<z.ZodObject<{
2797
+ id: z.ZodString;
2798
+ label: z.ZodString;
2799
+ description: z.ZodOptional<z.ZodString>;
2800
+ tokens: z.ZodObject<{
2801
+ colors: z.ZodEffects<z.ZodObject<{
2802
+ background: z.ZodString;
2803
+ foreground: z.ZodString;
2804
+ primary: z.ZodString;
2805
+ primaryForeground: z.ZodString;
2806
+ secondary: z.ZodOptional<z.ZodString>;
2807
+ secondaryForeground: z.ZodOptional<z.ZodString>;
2808
+ accent: z.ZodString;
2809
+ accentForeground: z.ZodString;
2810
+ muted: z.ZodString;
2811
+ mutedForeground: z.ZodString;
2812
+ }, "strip", z.ZodTypeAny, {
2813
+ background: string;
2814
+ foreground: string;
2815
+ primary: string;
2816
+ primaryForeground: string;
2817
+ accent: string;
2818
+ accentForeground: string;
2819
+ muted: string;
2820
+ mutedForeground: string;
2821
+ secondary?: string | undefined;
2822
+ secondaryForeground?: string | undefined;
2823
+ }, {
2824
+ background: string;
2825
+ foreground: string;
2826
+ primary: string;
2827
+ primaryForeground: string;
2828
+ accent: string;
2829
+ accentForeground: string;
2830
+ muted: string;
2831
+ mutedForeground: string;
2832
+ secondary?: string | undefined;
2833
+ secondaryForeground?: string | undefined;
2834
+ }>, {
2835
+ secondary: string;
2836
+ secondaryForeground: string;
2837
+ background: string;
2838
+ foreground: string;
2839
+ primary: string;
2840
+ primaryForeground: string;
2841
+ accent: string;
2842
+ accentForeground: string;
2843
+ muted: string;
2844
+ mutedForeground: string;
2845
+ }, {
2846
+ background: string;
2847
+ foreground: string;
2848
+ primary: string;
2849
+ primaryForeground: string;
2850
+ accent: string;
2851
+ accentForeground: string;
2852
+ muted: string;
2853
+ mutedForeground: string;
2854
+ secondary?: string | undefined;
2855
+ secondaryForeground?: string | undefined;
2856
+ }>;
2857
+ radius: z.ZodObject<{
2858
+ card: z.ZodString;
2859
+ button: z.ZodString;
2860
+ input: z.ZodString;
2861
+ }, "strip", z.ZodTypeAny, {
2862
+ input: string;
2863
+ card: string;
2864
+ button: string;
2865
+ }, {
2866
+ input: string;
2867
+ card: string;
2868
+ button: string;
2869
+ }>;
2870
+ layout: z.ZodDefault<z.ZodObject<{
2871
+ contentWidth: z.ZodEnum<["1024px", "1200px", "1280px", "1440px"]>;
2872
+ }, "strip", z.ZodTypeAny, {
2873
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2874
+ }, {
2875
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2876
+ }>>;
2877
+ typography: z.ZodDefault<z.ZodObject<{
2878
+ heading: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
2879
+ body: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
2880
+ mono: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
2881
+ }, "strip", z.ZodTypeAny, {
2882
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2883
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2884
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2885
+ }, {
2886
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2887
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2888
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2889
+ }>>;
2890
+ }, "strip", z.ZodTypeAny, {
2891
+ colors: {
2892
+ secondary: string;
2893
+ secondaryForeground: string;
2894
+ background: string;
2895
+ foreground: string;
2896
+ primary: string;
2897
+ primaryForeground: string;
2898
+ accent: string;
2899
+ accentForeground: string;
2900
+ muted: string;
2901
+ mutedForeground: string;
2902
+ };
2903
+ radius: {
2904
+ input: string;
2905
+ card: string;
2906
+ button: string;
2907
+ };
2908
+ layout: {
2909
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2910
+ };
2911
+ typography: {
2912
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2913
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2914
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2915
+ };
2916
+ }, {
2917
+ colors: {
2918
+ background: string;
2919
+ foreground: string;
2920
+ primary: string;
2921
+ primaryForeground: string;
2922
+ accent: string;
2923
+ accentForeground: string;
2924
+ muted: string;
2925
+ mutedForeground: string;
2926
+ secondary?: string | undefined;
2927
+ secondaryForeground?: string | undefined;
2928
+ };
2929
+ radius: {
2930
+ input: string;
2931
+ card: string;
2932
+ button: string;
2933
+ };
2934
+ layout?: {
2935
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2936
+ } | undefined;
2937
+ typography?: {
2938
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2939
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2940
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2941
+ } | undefined;
2942
+ }>;
2943
+ }, "strip", z.ZodTypeAny, {
2944
+ label: string;
2945
+ id: string;
2946
+ tokens: {
2947
+ colors: {
2948
+ secondary: string;
2949
+ secondaryForeground: string;
2950
+ background: string;
2951
+ foreground: string;
2952
+ primary: string;
2953
+ primaryForeground: string;
2954
+ accent: string;
2955
+ accentForeground: string;
2956
+ muted: string;
2957
+ mutedForeground: string;
2958
+ };
2959
+ radius: {
2960
+ input: string;
2961
+ card: string;
2962
+ button: string;
2963
+ };
2964
+ layout: {
2965
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2966
+ };
2967
+ typography: {
2968
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2969
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2970
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
2971
+ };
2972
+ };
2973
+ description?: string | undefined;
2974
+ }, {
2975
+ label: string;
2976
+ id: string;
2977
+ tokens: {
2978
+ colors: {
2979
+ background: string;
2980
+ foreground: string;
2981
+ primary: string;
2982
+ primaryForeground: string;
2983
+ accent: string;
2984
+ accentForeground: string;
2985
+ muted: string;
2986
+ mutedForeground: string;
2987
+ secondary?: string | undefined;
2988
+ secondaryForeground?: string | undefined;
2989
+ };
2990
+ radius: {
2991
+ input: string;
2992
+ card: string;
2993
+ button: string;
2994
+ };
2995
+ layout?: {
2996
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
2997
+ } | undefined;
2998
+ typography?: {
2999
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3000
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3001
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3002
+ } | undefined;
3003
+ };
3004
+ description?: string | undefined;
3005
+ }>, "many">;
3006
+ }, "strip", z.ZodTypeAny, {
3007
+ version: 1;
3008
+ defaultPresetId: string;
3009
+ presets: {
3010
+ label: string;
3011
+ id: string;
3012
+ tokens: {
3013
+ colors: {
3014
+ secondary: string;
3015
+ secondaryForeground: string;
3016
+ background: string;
3017
+ foreground: string;
3018
+ primary: string;
3019
+ primaryForeground: string;
3020
+ accent: string;
3021
+ accentForeground: string;
3022
+ muted: string;
3023
+ mutedForeground: string;
3024
+ };
3025
+ radius: {
3026
+ input: string;
3027
+ card: string;
3028
+ button: string;
3029
+ };
3030
+ layout: {
3031
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3032
+ };
3033
+ typography: {
3034
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3035
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3036
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3037
+ };
3038
+ };
3039
+ description?: string | undefined;
3040
+ }[];
3041
+ }, {
3042
+ version: 1;
3043
+ defaultPresetId: string;
3044
+ presets: {
3045
+ label: string;
3046
+ id: string;
3047
+ tokens: {
3048
+ colors: {
3049
+ background: string;
3050
+ foreground: string;
3051
+ primary: string;
3052
+ primaryForeground: string;
3053
+ accent: string;
3054
+ accentForeground: string;
3055
+ muted: string;
3056
+ mutedForeground: string;
3057
+ secondary?: string | undefined;
3058
+ secondaryForeground?: string | undefined;
3059
+ };
3060
+ radius: {
3061
+ input: string;
3062
+ card: string;
3063
+ button: string;
3064
+ };
3065
+ layout?: {
3066
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3067
+ } | undefined;
3068
+ typography?: {
3069
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3070
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3071
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3072
+ } | undefined;
3073
+ };
3074
+ description?: string | undefined;
3075
+ }[];
3076
+ }>, {
3077
+ version: 1;
3078
+ defaultPresetId: string;
3079
+ presets: {
3080
+ label: string;
3081
+ id: string;
3082
+ tokens: {
3083
+ colors: {
3084
+ secondary: string;
3085
+ secondaryForeground: string;
3086
+ background: string;
3087
+ foreground: string;
3088
+ primary: string;
3089
+ primaryForeground: string;
3090
+ accent: string;
3091
+ accentForeground: string;
3092
+ muted: string;
3093
+ mutedForeground: string;
3094
+ };
3095
+ radius: {
3096
+ input: string;
3097
+ card: string;
3098
+ button: string;
3099
+ };
3100
+ layout: {
3101
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3102
+ };
3103
+ typography: {
3104
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3105
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3106
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3107
+ };
3108
+ };
3109
+ description?: string | undefined;
3110
+ }[];
3111
+ }, {
3112
+ version: 1;
3113
+ defaultPresetId: string;
3114
+ presets: {
3115
+ label: string;
3116
+ id: string;
3117
+ tokens: {
3118
+ colors: {
3119
+ background: string;
3120
+ foreground: string;
3121
+ primary: string;
3122
+ primaryForeground: string;
3123
+ accent: string;
3124
+ accentForeground: string;
3125
+ muted: string;
3126
+ mutedForeground: string;
3127
+ secondary?: string | undefined;
3128
+ secondaryForeground?: string | undefined;
3129
+ };
3130
+ radius: {
3131
+ input: string;
3132
+ card: string;
3133
+ button: string;
3134
+ };
3135
+ layout?: {
3136
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3137
+ } | undefined;
3138
+ typography?: {
3139
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3140
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3141
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3142
+ } | undefined;
3143
+ };
3144
+ description?: string | undefined;
3145
+ }[];
3146
+ }>;
3147
+ rootProps: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3148
+ schema: z.ZodUnknown;
3149
+ }, "strip", z.ZodTypeAny, {
3150
+ themeKey: string;
3151
+ themeVersion: string;
3152
+ designSystem: {
3153
+ version: 1;
3154
+ defaultPresetId: string;
3155
+ presets: {
3156
+ label: string;
3157
+ id: string;
3158
+ tokens: {
3159
+ colors: {
3160
+ secondary: string;
3161
+ secondaryForeground: string;
3162
+ background: string;
3163
+ foreground: string;
3164
+ primary: string;
3165
+ primaryForeground: string;
3166
+ accent: string;
3167
+ accentForeground: string;
3168
+ muted: string;
3169
+ mutedForeground: string;
3170
+ };
3171
+ radius: {
3172
+ input: string;
3173
+ card: string;
3174
+ button: string;
3175
+ };
3176
+ layout: {
3177
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3178
+ };
3179
+ typography: {
3180
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3181
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3182
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3183
+ };
3184
+ };
3185
+ description?: string | undefined;
3186
+ }[];
3187
+ };
3188
+ rootProps: Record<string, unknown>;
3189
+ schema?: unknown;
3190
+ }, {
3191
+ themeKey: string;
3192
+ themeVersion: string;
3193
+ designSystem: {
3194
+ version: 1;
3195
+ defaultPresetId: string;
3196
+ presets: {
3197
+ label: string;
3198
+ id: string;
3199
+ tokens: {
3200
+ colors: {
3201
+ background: string;
3202
+ foreground: string;
3203
+ primary: string;
3204
+ primaryForeground: string;
3205
+ accent: string;
3206
+ accentForeground: string;
3207
+ muted: string;
3208
+ mutedForeground: string;
3209
+ secondary?: string | undefined;
3210
+ secondaryForeground?: string | undefined;
3211
+ };
3212
+ radius: {
3213
+ input: string;
3214
+ card: string;
3215
+ button: string;
3216
+ };
3217
+ layout?: {
3218
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3219
+ } | undefined;
3220
+ typography?: {
3221
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3222
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3223
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3224
+ } | undefined;
3225
+ };
3226
+ description?: string | undefined;
3227
+ }[];
3228
+ };
3229
+ rootProps: Record<string, unknown>;
3230
+ schema?: unknown;
3231
+ }>;
3232
+ }, "strip", z.ZodTypeAny, {
3233
+ themeSettings: {
3234
+ themeKey: string;
3235
+ themeVersion: string;
3236
+ designSystem: {
3237
+ version: 1;
3238
+ defaultPresetId: string;
3239
+ presets: {
3240
+ label: string;
3241
+ id: string;
3242
+ tokens: {
3243
+ colors: {
3244
+ secondary: string;
3245
+ secondaryForeground: string;
3246
+ background: string;
3247
+ foreground: string;
3248
+ primary: string;
3249
+ primaryForeground: string;
3250
+ accent: string;
3251
+ accentForeground: string;
3252
+ muted: string;
3253
+ mutedForeground: string;
3254
+ };
3255
+ radius: {
3256
+ input: string;
3257
+ card: string;
3258
+ button: string;
3259
+ };
3260
+ layout: {
3261
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3262
+ };
3263
+ typography: {
3264
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3265
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3266
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3267
+ };
3268
+ };
3269
+ description?: string | undefined;
3270
+ }[];
3271
+ };
3272
+ rootProps: Record<string, unknown>;
3273
+ schema?: unknown;
3274
+ };
3275
+ }, {
3276
+ themeSettings: {
3277
+ themeKey: string;
3278
+ themeVersion: string;
3279
+ designSystem: {
3280
+ version: 1;
3281
+ defaultPresetId: string;
3282
+ presets: {
3283
+ label: string;
3284
+ id: string;
3285
+ tokens: {
3286
+ colors: {
3287
+ background: string;
3288
+ foreground: string;
3289
+ primary: string;
3290
+ primaryForeground: string;
3291
+ accent: string;
3292
+ accentForeground: string;
3293
+ muted: string;
3294
+ mutedForeground: string;
3295
+ secondary?: string | undefined;
3296
+ secondaryForeground?: string | undefined;
3297
+ };
3298
+ radius: {
3299
+ input: string;
3300
+ card: string;
3301
+ button: string;
3302
+ };
3303
+ layout?: {
3304
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
3305
+ } | undefined;
3306
+ typography?: {
3307
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3308
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3309
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
3310
+ } | undefined;
3311
+ };
3312
+ description?: string | undefined;
3313
+ }[];
3314
+ };
3315
+ rootProps: Record<string, unknown>;
3316
+ schema?: unknown;
3317
+ };
3318
+ }>;
3319
+ updateContactFormOutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3320
+ status: z.ZodLiteral<"needs_confirmation">;
3321
+ projectId: z.ZodString;
3322
+ impact: z.ZodString;
3323
+ draft: z.ZodObject<Omit<{
3324
+ projectId: z.ZodString;
3325
+ enabled: z.ZodOptional<z.ZodBoolean>;
3326
+ title: z.ZodOptional<z.ZodString>;
3327
+ successMessage: z.ZodOptional<z.ZodString>;
3328
+ submitLabel: z.ZodOptional<z.ZodString>;
3329
+ fields: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
3330
+ id: z.ZodString;
3331
+ type: z.ZodEnum<["text", "textarea", "checkbox", "radio", "select"]>;
3332
+ label: z.ZodString;
3333
+ placeholder: z.ZodOptional<z.ZodString>;
3334
+ required: z.ZodDefault<z.ZodBoolean>;
3335
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
3336
+ label: z.ZodString;
3337
+ value: z.ZodString;
3338
+ }, "strip", z.ZodTypeAny, {
3339
+ value: string;
3340
+ label: string;
3341
+ }, {
3342
+ value: string;
3343
+ label: string;
3344
+ }>, "many">>;
3345
+ validation: z.ZodDefault<z.ZodObject<{
3346
+ format: z.ZodOptional<z.ZodEnum<["email"]>>;
3347
+ maxLength: z.ZodOptional<z.ZodNumber>;
3348
+ }, "strip", z.ZodTypeAny, {
3349
+ format?: "email" | undefined;
3350
+ maxLength?: number | undefined;
3351
+ }, {
3352
+ format?: "email" | undefined;
3353
+ maxLength?: number | undefined;
3354
+ }>>;
3355
+ }, "strip", z.ZodTypeAny, {
3356
+ options: {
3357
+ value: string;
3358
+ label: string;
3359
+ }[];
3360
+ validation: {
3361
+ format?: "email" | undefined;
3362
+ maxLength?: number | undefined;
3363
+ };
3364
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3365
+ label: string;
3366
+ id: string;
3367
+ required: boolean;
3368
+ placeholder?: string | undefined;
3369
+ }, {
3370
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3371
+ label: string;
3372
+ id: string;
3373
+ options?: {
3374
+ value: string;
3375
+ label: string;
3376
+ }[] | undefined;
3377
+ validation?: {
3378
+ format?: "email" | undefined;
3379
+ maxLength?: number | undefined;
3380
+ } | undefined;
3381
+ placeholder?: string | undefined;
3382
+ required?: boolean | undefined;
3383
+ }>, "many">, {
3384
+ options: {
3385
+ value: string;
3386
+ label: string;
3387
+ }[];
3388
+ validation: {
3389
+ format?: "email" | undefined;
3390
+ maxLength?: number | undefined;
3391
+ };
3392
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3393
+ label: string;
3394
+ id: string;
3395
+ required: boolean;
3396
+ placeholder?: string | undefined;
3397
+ }[], {
3398
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3399
+ label: string;
3400
+ id: string;
3401
+ options?: {
3402
+ value: string;
3403
+ label: string;
3404
+ }[] | undefined;
3405
+ validation?: {
3406
+ format?: "email" | undefined;
3407
+ maxLength?: number | undefined;
3408
+ } | undefined;
3409
+ placeholder?: string | undefined;
3410
+ required?: boolean | undefined;
3411
+ }[]>>;
3412
+ notifications: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3413
+ id: z.ZodString;
3414
+ type: z.ZodLiteral<"email">;
3415
+ enabled: z.ZodDefault<z.ZodBoolean>;
3416
+ label: z.ZodString;
3417
+ recipients: z.ZodArray<z.ZodString, "many">;
3418
+ }, "strip", z.ZodTypeAny, {
3419
+ type: "email";
3420
+ label: string;
3421
+ id: string;
3422
+ enabled: boolean;
3423
+ recipients: string[];
3424
+ }, {
3425
+ type: "email";
3426
+ label: string;
3427
+ id: string;
3428
+ recipients: string[];
3429
+ enabled?: boolean | undefined;
3430
+ }>, z.ZodObject<{
3431
+ id: z.ZodString;
3432
+ type: z.ZodEnum<["slack", "wecom", "feishu", "dingtalk"]>;
3433
+ enabled: z.ZodDefault<z.ZodBoolean>;
3434
+ label: z.ZodString;
3435
+ webhookUrl: z.ZodOptional<z.ZodString>;
3436
+ }, "strip", z.ZodTypeAny, {
3437
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3438
+ label: string;
3439
+ id: string;
3440
+ enabled: boolean;
3441
+ webhookUrl?: string | undefined;
3442
+ }, {
3443
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3444
+ label: string;
3445
+ id: string;
3446
+ enabled?: boolean | undefined;
3447
+ webhookUrl?: string | undefined;
3448
+ }>]>, "many">>;
3449
+ webhooks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3450
+ id: z.ZodString;
3451
+ enabled: z.ZodDefault<z.ZodBoolean>;
3452
+ label: z.ZodString;
3453
+ event: z.ZodDefault<z.ZodLiteral<"contact.submitted">>;
3454
+ url: z.ZodOptional<z.ZodString>;
3455
+ }, "strip", z.ZodTypeAny, {
3456
+ label: string;
3457
+ id: string;
3458
+ enabled: boolean;
3459
+ event: "contact.submitted";
3460
+ url?: string | undefined;
3461
+ }, {
3462
+ label: string;
3463
+ id: string;
3464
+ enabled?: boolean | undefined;
3465
+ event?: "contact.submitted" | undefined;
3466
+ url?: string | undefined;
3467
+ }>, "many">>;
3468
+ confirm: z.ZodOptional<z.ZodBoolean>;
3469
+ }, "confirm">, "strip", z.ZodTypeAny, {
3470
+ projectId: string;
3471
+ title?: string | undefined;
3472
+ enabled?: boolean | undefined;
3473
+ successMessage?: string | undefined;
3474
+ submitLabel?: string | undefined;
3475
+ fields?: {
3476
+ options: {
3477
+ value: string;
3478
+ label: string;
3479
+ }[];
3480
+ validation: {
3481
+ format?: "email" | undefined;
3482
+ maxLength?: number | undefined;
3483
+ };
3484
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3485
+ label: string;
3486
+ id: string;
3487
+ required: boolean;
3488
+ placeholder?: string | undefined;
3489
+ }[] | undefined;
3490
+ notifications?: ({
3491
+ type: "email";
3492
+ label: string;
3493
+ id: string;
3494
+ enabled: boolean;
3495
+ recipients: string[];
3496
+ } | {
3497
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3498
+ label: string;
3499
+ id: string;
3500
+ enabled: boolean;
3501
+ webhookUrl?: string | undefined;
3502
+ })[] | undefined;
3503
+ webhooks?: {
3504
+ label: string;
3505
+ id: string;
3506
+ enabled: boolean;
3507
+ event: "contact.submitted";
3508
+ url?: string | undefined;
3509
+ }[] | undefined;
3510
+ }, {
3511
+ projectId: string;
3512
+ title?: string | undefined;
3513
+ enabled?: boolean | undefined;
3514
+ successMessage?: string | undefined;
3515
+ submitLabel?: string | undefined;
3516
+ fields?: {
3517
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3518
+ label: string;
3519
+ id: string;
3520
+ options?: {
3521
+ value: string;
3522
+ label: string;
3523
+ }[] | undefined;
3524
+ validation?: {
3525
+ format?: "email" | undefined;
3526
+ maxLength?: number | undefined;
3527
+ } | undefined;
3528
+ placeholder?: string | undefined;
3529
+ required?: boolean | undefined;
3530
+ }[] | undefined;
3531
+ notifications?: ({
3532
+ type: "email";
3533
+ label: string;
3534
+ id: string;
3535
+ recipients: string[];
3536
+ enabled?: boolean | undefined;
3537
+ } | {
3538
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3539
+ label: string;
3540
+ id: string;
3541
+ enabled?: boolean | undefined;
3542
+ webhookUrl?: string | undefined;
3543
+ })[] | undefined;
3544
+ webhooks?: {
3545
+ label: string;
3546
+ id: string;
3547
+ enabled?: boolean | undefined;
3548
+ event?: "contact.submitted" | undefined;
3549
+ url?: string | undefined;
3550
+ }[] | undefined;
3551
+ }>;
3552
+ }, "strip", z.ZodTypeAny, {
3553
+ projectId: string;
3554
+ status: "needs_confirmation";
3555
+ impact: string;
3556
+ draft: {
3557
+ projectId: string;
3558
+ title?: string | undefined;
3559
+ enabled?: boolean | undefined;
3560
+ successMessage?: string | undefined;
3561
+ submitLabel?: string | undefined;
3562
+ fields?: {
3563
+ options: {
3564
+ value: string;
3565
+ label: string;
3566
+ }[];
3567
+ validation: {
3568
+ format?: "email" | undefined;
3569
+ maxLength?: number | undefined;
3570
+ };
3571
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3572
+ label: string;
3573
+ id: string;
3574
+ required: boolean;
3575
+ placeholder?: string | undefined;
3576
+ }[] | undefined;
3577
+ notifications?: ({
3578
+ type: "email";
3579
+ label: string;
3580
+ id: string;
3581
+ enabled: boolean;
3582
+ recipients: string[];
3583
+ } | {
3584
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3585
+ label: string;
3586
+ id: string;
3587
+ enabled: boolean;
3588
+ webhookUrl?: string | undefined;
3589
+ })[] | undefined;
3590
+ webhooks?: {
3591
+ label: string;
3592
+ id: string;
3593
+ enabled: boolean;
3594
+ event: "contact.submitted";
3595
+ url?: string | undefined;
3596
+ }[] | undefined;
3597
+ };
3598
+ }, {
3599
+ projectId: string;
3600
+ status: "needs_confirmation";
3601
+ impact: string;
3602
+ draft: {
3603
+ projectId: string;
3604
+ title?: string | undefined;
3605
+ enabled?: boolean | undefined;
3606
+ successMessage?: string | undefined;
3607
+ submitLabel?: string | undefined;
3608
+ fields?: {
3609
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3610
+ label: string;
3611
+ id: string;
3612
+ options?: {
3613
+ value: string;
3614
+ label: string;
3615
+ }[] | undefined;
3616
+ validation?: {
3617
+ format?: "email" | undefined;
3618
+ maxLength?: number | undefined;
3619
+ } | undefined;
3620
+ placeholder?: string | undefined;
3621
+ required?: boolean | undefined;
3622
+ }[] | undefined;
3623
+ notifications?: ({
3624
+ type: "email";
3625
+ label: string;
3626
+ id: string;
3627
+ recipients: string[];
3628
+ enabled?: boolean | undefined;
3629
+ } | {
3630
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3631
+ label: string;
3632
+ id: string;
3633
+ enabled?: boolean | undefined;
3634
+ webhookUrl?: string | undefined;
3635
+ })[] | undefined;
3636
+ webhooks?: {
3637
+ label: string;
3638
+ id: string;
3639
+ enabled?: boolean | undefined;
3640
+ event?: "contact.submitted" | undefined;
3641
+ url?: string | undefined;
3642
+ }[] | undefined;
3643
+ };
3644
+ }>, z.ZodObject<{
3645
+ status: z.ZodLiteral<"updated">;
3646
+ projectId: z.ZodString;
3647
+ contactForm: z.ZodObject<{
3648
+ enabled: z.ZodBoolean;
3649
+ title: z.ZodString;
3650
+ successMessage: z.ZodString;
3651
+ submitLabel: z.ZodString;
3652
+ fields: z.ZodArray<z.ZodObject<{
3653
+ id: z.ZodString;
3654
+ type: z.ZodEnum<["text", "textarea", "checkbox", "radio", "select"]>;
3655
+ label: z.ZodString;
3656
+ placeholder: z.ZodOptional<z.ZodString>;
3657
+ required: z.ZodDefault<z.ZodBoolean>;
3658
+ options: z.ZodDefault<z.ZodArray<z.ZodObject<{
3659
+ label: z.ZodString;
3660
+ value: z.ZodString;
3661
+ }, "strip", z.ZodTypeAny, {
3662
+ value: string;
3663
+ label: string;
3664
+ }, {
3665
+ value: string;
3666
+ label: string;
3667
+ }>, "many">>;
3668
+ validation: z.ZodDefault<z.ZodObject<{
3669
+ format: z.ZodOptional<z.ZodEnum<["email"]>>;
3670
+ maxLength: z.ZodOptional<z.ZodNumber>;
3671
+ }, "strip", z.ZodTypeAny, {
3672
+ format?: "email" | undefined;
3673
+ maxLength?: number | undefined;
3674
+ }, {
3675
+ format?: "email" | undefined;
3676
+ maxLength?: number | undefined;
3677
+ }>>;
3678
+ }, "strip", z.ZodTypeAny, {
3679
+ options: {
3680
+ value: string;
3681
+ label: string;
3682
+ }[];
3683
+ validation: {
3684
+ format?: "email" | undefined;
3685
+ maxLength?: number | undefined;
3686
+ };
3687
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3688
+ label: string;
3689
+ id: string;
3690
+ required: boolean;
3691
+ placeholder?: string | undefined;
3692
+ }, {
3693
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3694
+ label: string;
3695
+ id: string;
3696
+ options?: {
3697
+ value: string;
3698
+ label: string;
3699
+ }[] | undefined;
3700
+ validation?: {
3701
+ format?: "email" | undefined;
3702
+ maxLength?: number | undefined;
3703
+ } | undefined;
3704
+ placeholder?: string | undefined;
3705
+ required?: boolean | undefined;
3706
+ }>, "many">;
3707
+ notifications: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3708
+ id: z.ZodString;
3709
+ type: z.ZodLiteral<"email">;
3710
+ enabled: z.ZodBoolean;
3711
+ label: z.ZodString;
3712
+ recipients: z.ZodArray<z.ZodString, "many">;
3713
+ }, "strip", z.ZodTypeAny, {
3714
+ type: "email";
3715
+ label: string;
3716
+ id: string;
3717
+ enabled: boolean;
3718
+ recipients: string[];
3719
+ }, {
3720
+ type: "email";
3721
+ label: string;
3722
+ id: string;
3723
+ enabled: boolean;
3724
+ recipients: string[];
3725
+ }>, z.ZodObject<{
3726
+ id: z.ZodString;
3727
+ type: z.ZodEnum<["slack", "wecom", "feishu", "dingtalk"]>;
3728
+ enabled: z.ZodBoolean;
3729
+ label: z.ZodString;
3730
+ webhookUrlMasked: z.ZodNullable<z.ZodString>;
3731
+ }, "strip", z.ZodTypeAny, {
3732
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3733
+ label: string;
3734
+ id: string;
3735
+ enabled: boolean;
3736
+ webhookUrlMasked: string | null;
3737
+ }, {
3738
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3739
+ label: string;
3740
+ id: string;
3741
+ enabled: boolean;
3742
+ webhookUrlMasked: string | null;
3743
+ }>]>, "many">;
3744
+ webhooks: z.ZodArray<z.ZodObject<{
3745
+ id: z.ZodString;
3746
+ enabled: z.ZodBoolean;
3747
+ label: z.ZodString;
3748
+ event: z.ZodLiteral<"contact.submitted">;
3749
+ urlMasked: z.ZodNullable<z.ZodString>;
3750
+ }, "strip", z.ZodTypeAny, {
3751
+ label: string;
3752
+ id: string;
3753
+ enabled: boolean;
3754
+ event: "contact.submitted";
3755
+ urlMasked: string | null;
3756
+ }, {
3757
+ label: string;
3758
+ id: string;
3759
+ enabled: boolean;
3760
+ event: "contact.submitted";
3761
+ urlMasked: string | null;
3762
+ }>, "many">;
3763
+ limits: z.ZodObject<{
3764
+ maxNotificationChannels: z.ZodNumber;
3765
+ maxWebhooks: z.ZodNumber;
3766
+ }, "strip", z.ZodTypeAny, {
3767
+ maxNotificationChannels: number;
3768
+ maxWebhooks: number;
3769
+ }, {
3770
+ maxNotificationChannels: number;
3771
+ maxWebhooks: number;
3772
+ }>;
3773
+ features: z.ZodObject<{
3774
+ contactNotifications: z.ZodBoolean;
3775
+ contactWebhooks: z.ZodBoolean;
3776
+ }, "strip", z.ZodTypeAny, {
3777
+ contactNotifications: boolean;
3778
+ contactWebhooks: boolean;
3779
+ }, {
3780
+ contactNotifications: boolean;
3781
+ contactWebhooks: boolean;
3782
+ }>;
3783
+ }, "strip", z.ZodTypeAny, {
3784
+ title: string;
3785
+ enabled: boolean;
3786
+ successMessage: string;
3787
+ submitLabel: string;
3788
+ fields: {
3789
+ options: {
3790
+ value: string;
3791
+ label: string;
3792
+ }[];
3793
+ validation: {
3794
+ format?: "email" | undefined;
3795
+ maxLength?: number | undefined;
3796
+ };
3797
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3798
+ label: string;
3799
+ id: string;
3800
+ required: boolean;
3801
+ placeholder?: string | undefined;
3802
+ }[];
3803
+ notifications: ({
3804
+ type: "email";
3805
+ label: string;
3806
+ id: string;
3807
+ enabled: boolean;
3808
+ recipients: string[];
3809
+ } | {
3810
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3811
+ label: string;
3812
+ id: string;
3813
+ enabled: boolean;
3814
+ webhookUrlMasked: string | null;
3815
+ })[];
3816
+ webhooks: {
3817
+ label: string;
3818
+ id: string;
3819
+ enabled: boolean;
3820
+ event: "contact.submitted";
3821
+ urlMasked: string | null;
3822
+ }[];
3823
+ limits: {
3824
+ maxNotificationChannels: number;
3825
+ maxWebhooks: number;
3826
+ };
3827
+ features: {
3828
+ contactNotifications: boolean;
3829
+ contactWebhooks: boolean;
3830
+ };
3831
+ }, {
3832
+ title: string;
3833
+ enabled: boolean;
3834
+ successMessage: string;
3835
+ submitLabel: string;
3836
+ fields: {
3837
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3838
+ label: string;
3839
+ id: string;
3840
+ options?: {
3841
+ value: string;
3842
+ label: string;
3843
+ }[] | undefined;
3844
+ validation?: {
3845
+ format?: "email" | undefined;
3846
+ maxLength?: number | undefined;
3847
+ } | undefined;
3848
+ placeholder?: string | undefined;
3849
+ required?: boolean | undefined;
3850
+ }[];
3851
+ notifications: ({
3852
+ type: "email";
3853
+ label: string;
3854
+ id: string;
3855
+ enabled: boolean;
3856
+ recipients: string[];
3857
+ } | {
3858
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3859
+ label: string;
3860
+ id: string;
3861
+ enabled: boolean;
3862
+ webhookUrlMasked: string | null;
3863
+ })[];
3864
+ webhooks: {
3865
+ label: string;
3866
+ id: string;
3867
+ enabled: boolean;
3868
+ event: "contact.submitted";
3869
+ urlMasked: string | null;
3870
+ }[];
3871
+ limits: {
3872
+ maxNotificationChannels: number;
3873
+ maxWebhooks: number;
3874
+ };
3875
+ features: {
3876
+ contactNotifications: boolean;
3877
+ contactWebhooks: boolean;
3878
+ };
3879
+ }>;
3880
+ }, "strip", z.ZodTypeAny, {
3881
+ projectId: string;
3882
+ status: "updated";
3883
+ contactForm: {
3884
+ title: string;
3885
+ enabled: boolean;
3886
+ successMessage: string;
3887
+ submitLabel: string;
3888
+ fields: {
3889
+ options: {
3890
+ value: string;
3891
+ label: string;
3892
+ }[];
3893
+ validation: {
3894
+ format?: "email" | undefined;
3895
+ maxLength?: number | undefined;
3896
+ };
3897
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3898
+ label: string;
3899
+ id: string;
3900
+ required: boolean;
3901
+ placeholder?: string | undefined;
3902
+ }[];
3903
+ notifications: ({
3904
+ type: "email";
3905
+ label: string;
3906
+ id: string;
3907
+ enabled: boolean;
3908
+ recipients: string[];
3909
+ } | {
3910
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3911
+ label: string;
3912
+ id: string;
3913
+ enabled: boolean;
3914
+ webhookUrlMasked: string | null;
3915
+ })[];
3916
+ webhooks: {
3917
+ label: string;
3918
+ id: string;
3919
+ enabled: boolean;
3920
+ event: "contact.submitted";
3921
+ urlMasked: string | null;
3922
+ }[];
3923
+ limits: {
3924
+ maxNotificationChannels: number;
3925
+ maxWebhooks: number;
3926
+ };
3927
+ features: {
3928
+ contactNotifications: boolean;
3929
+ contactWebhooks: boolean;
3930
+ };
3931
+ };
3932
+ }, {
3933
+ projectId: string;
3934
+ status: "updated";
3935
+ contactForm: {
3936
+ title: string;
3937
+ enabled: boolean;
3938
+ successMessage: string;
3939
+ submitLabel: string;
3940
+ fields: {
3941
+ type: "text" | "textarea" | "checkbox" | "radio" | "select";
3942
+ label: string;
3943
+ id: string;
3944
+ options?: {
3945
+ value: string;
3946
+ label: string;
3947
+ }[] | undefined;
3948
+ validation?: {
3949
+ format?: "email" | undefined;
3950
+ maxLength?: number | undefined;
3951
+ } | undefined;
3952
+ placeholder?: string | undefined;
3953
+ required?: boolean | undefined;
3954
+ }[];
3955
+ notifications: ({
3956
+ type: "email";
3957
+ label: string;
3958
+ id: string;
3959
+ enabled: boolean;
3960
+ recipients: string[];
3961
+ } | {
3962
+ type: "slack" | "wecom" | "feishu" | "dingtalk";
3963
+ label: string;
3964
+ id: string;
3965
+ enabled: boolean;
3966
+ webhookUrlMasked: string | null;
3967
+ })[];
3968
+ webhooks: {
3969
+ label: string;
3970
+ id: string;
3971
+ enabled: boolean;
3972
+ event: "contact.submitted";
3973
+ urlMasked: string | null;
3974
+ }[];
3975
+ limits: {
3976
+ maxNotificationChannels: number;
3977
+ maxWebhooks: number;
3978
+ };
3979
+ features: {
3980
+ contactNotifications: boolean;
3981
+ contactWebhooks: boolean;
3982
+ };
3983
+ };
3984
+ }>]>;
3985
+ updatePageDraftOutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3986
+ status: z.ZodLiteral<"updated">;
3987
+ pageId: z.ZodString;
3988
+ }, "strip", z.ZodTypeAny, {
3989
+ status: "updated";
3990
+ pageId: string;
3991
+ }, {
3992
+ status: "updated";
3993
+ pageId: string;
3994
+ }>, z.ZodObject<{
3995
+ status: z.ZodLiteral<"invalid">;
3996
+ valid: z.ZodLiteral<false>;
3997
+ issues: z.ZodArray<z.ZodObject<{
3998
+ path: z.ZodString;
3999
+ message: z.ZodString;
4000
+ }, "strip", z.ZodTypeAny, {
4001
+ path: string;
4002
+ message: string;
4003
+ }, {
4004
+ path: string;
4005
+ message: string;
4006
+ }>, "many">;
4007
+ }, "strip", z.ZodTypeAny, {
4008
+ status: "invalid";
4009
+ issues: {
4010
+ path: string;
4011
+ message: string;
4012
+ }[];
4013
+ valid: false;
4014
+ }, {
4015
+ status: "invalid";
4016
+ issues: {
4017
+ path: string;
4018
+ message: string;
4019
+ }[];
4020
+ valid: false;
4021
+ }>]>;
4022
+ updateRemotePageDraft: typeof updateRemotePageDraft;
4023
+ updateThemeSettingsOutputSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
4024
+ status: z.ZodLiteral<"needs_confirmation">;
4025
+ projectId: z.ZodString;
4026
+ impact: z.ZodString;
4027
+ draft: z.ZodObject<Omit<{
4028
+ projectId: z.ZodString;
4029
+ rootProps: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4030
+ confirm: z.ZodOptional<z.ZodBoolean>;
4031
+ }, "confirm">, "strip", z.ZodTypeAny, {
4032
+ projectId: string;
4033
+ rootProps: Record<string, unknown>;
4034
+ }, {
4035
+ projectId: string;
4036
+ rootProps: Record<string, unknown>;
4037
+ }>;
4038
+ }, "strip", z.ZodTypeAny, {
4039
+ projectId: string;
4040
+ status: "needs_confirmation";
4041
+ impact: string;
4042
+ draft: {
4043
+ projectId: string;
4044
+ rootProps: Record<string, unknown>;
4045
+ };
4046
+ }, {
4047
+ projectId: string;
4048
+ status: "needs_confirmation";
4049
+ impact: string;
4050
+ draft: {
4051
+ projectId: string;
4052
+ rootProps: Record<string, unknown>;
4053
+ };
4054
+ }>, z.ZodObject<{
4055
+ status: z.ZodLiteral<"updated">;
4056
+ projectId: z.ZodString;
4057
+ themeSettings: z.ZodObject<{
4058
+ themeKey: z.ZodString;
4059
+ themeVersion: z.ZodString;
4060
+ designSystem: z.ZodEffects<z.ZodObject<{
4061
+ version: z.ZodLiteral<1>;
4062
+ defaultPresetId: z.ZodString;
4063
+ presets: z.ZodArray<z.ZodObject<{
4064
+ id: z.ZodString;
4065
+ label: z.ZodString;
4066
+ description: z.ZodOptional<z.ZodString>;
4067
+ tokens: z.ZodObject<{
4068
+ colors: z.ZodEffects<z.ZodObject<{
4069
+ background: z.ZodString;
4070
+ foreground: z.ZodString;
4071
+ primary: z.ZodString;
4072
+ primaryForeground: z.ZodString;
4073
+ secondary: z.ZodOptional<z.ZodString>;
4074
+ secondaryForeground: z.ZodOptional<z.ZodString>;
4075
+ accent: z.ZodString;
4076
+ accentForeground: z.ZodString;
4077
+ muted: z.ZodString;
4078
+ mutedForeground: z.ZodString;
4079
+ }, "strip", z.ZodTypeAny, {
4080
+ background: string;
4081
+ foreground: string;
4082
+ primary: string;
4083
+ primaryForeground: string;
4084
+ accent: string;
4085
+ accentForeground: string;
4086
+ muted: string;
4087
+ mutedForeground: string;
4088
+ secondary?: string | undefined;
4089
+ secondaryForeground?: string | undefined;
4090
+ }, {
4091
+ background: string;
4092
+ foreground: string;
4093
+ primary: string;
4094
+ primaryForeground: string;
4095
+ accent: string;
4096
+ accentForeground: string;
4097
+ muted: string;
4098
+ mutedForeground: string;
4099
+ secondary?: string | undefined;
4100
+ secondaryForeground?: string | undefined;
4101
+ }>, {
4102
+ secondary: string;
4103
+ secondaryForeground: string;
4104
+ background: string;
4105
+ foreground: string;
4106
+ primary: string;
4107
+ primaryForeground: string;
4108
+ accent: string;
4109
+ accentForeground: string;
4110
+ muted: string;
4111
+ mutedForeground: string;
4112
+ }, {
4113
+ background: string;
4114
+ foreground: string;
4115
+ primary: string;
4116
+ primaryForeground: string;
4117
+ accent: string;
4118
+ accentForeground: string;
4119
+ muted: string;
4120
+ mutedForeground: string;
4121
+ secondary?: string | undefined;
4122
+ secondaryForeground?: string | undefined;
4123
+ }>;
4124
+ radius: z.ZodObject<{
4125
+ card: z.ZodString;
4126
+ button: z.ZodString;
4127
+ input: z.ZodString;
4128
+ }, "strip", z.ZodTypeAny, {
4129
+ input: string;
4130
+ card: string;
4131
+ button: string;
4132
+ }, {
4133
+ input: string;
4134
+ card: string;
4135
+ button: string;
4136
+ }>;
4137
+ layout: z.ZodDefault<z.ZodObject<{
4138
+ contentWidth: z.ZodEnum<["1024px", "1200px", "1280px", "1440px"]>;
4139
+ }, "strip", z.ZodTypeAny, {
4140
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4141
+ }, {
4142
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4143
+ }>>;
4144
+ typography: z.ZodDefault<z.ZodObject<{
4145
+ heading: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
4146
+ body: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
4147
+ mono: z.ZodEnum<["system-sans", "system-serif", "system-mono", "geist", "inter", "noto-sans", "nunito-sans", "figtree", "roboto", "raleway", "dm-sans", "public-sans", "outfit", "oxanium", "manrope", "space-grotesk", "montserrat", "ibm-plex-sans", "source-sans-3", "instrument-sans", "noto-serif", "roboto-slab", "merriweather", "lora", "playfair-display", "eb-garamond", "instrument-serif", "geist-mono", "jetbrains-mono", "noto-sans-sc", "noto-serif-sc", "microsoft-yahei", "pingfang-sc", "songti-sc", "kaiti-sc"]>;
4148
+ }, "strip", z.ZodTypeAny, {
4149
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4150
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4151
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4152
+ }, {
4153
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4154
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4155
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4156
+ }>>;
4157
+ }, "strip", z.ZodTypeAny, {
4158
+ colors: {
4159
+ secondary: string;
4160
+ secondaryForeground: string;
4161
+ background: string;
4162
+ foreground: string;
4163
+ primary: string;
4164
+ primaryForeground: string;
4165
+ accent: string;
4166
+ accentForeground: string;
4167
+ muted: string;
4168
+ mutedForeground: string;
4169
+ };
4170
+ radius: {
4171
+ input: string;
4172
+ card: string;
4173
+ button: string;
4174
+ };
4175
+ layout: {
4176
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4177
+ };
4178
+ typography: {
4179
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4180
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4181
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4182
+ };
4183
+ }, {
4184
+ colors: {
4185
+ background: string;
4186
+ foreground: string;
4187
+ primary: string;
4188
+ primaryForeground: string;
4189
+ accent: string;
4190
+ accentForeground: string;
4191
+ muted: string;
4192
+ mutedForeground: string;
4193
+ secondary?: string | undefined;
4194
+ secondaryForeground?: string | undefined;
4195
+ };
4196
+ radius: {
4197
+ input: string;
4198
+ card: string;
4199
+ button: string;
4200
+ };
4201
+ layout?: {
4202
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4203
+ } | undefined;
4204
+ typography?: {
4205
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4206
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4207
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4208
+ } | undefined;
4209
+ }>;
4210
+ }, "strip", z.ZodTypeAny, {
4211
+ label: string;
4212
+ id: string;
4213
+ tokens: {
4214
+ colors: {
4215
+ secondary: string;
4216
+ secondaryForeground: string;
4217
+ background: string;
4218
+ foreground: string;
4219
+ primary: string;
4220
+ primaryForeground: string;
4221
+ accent: string;
4222
+ accentForeground: string;
4223
+ muted: string;
4224
+ mutedForeground: string;
4225
+ };
4226
+ radius: {
4227
+ input: string;
4228
+ card: string;
4229
+ button: string;
4230
+ };
4231
+ layout: {
4232
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4233
+ };
4234
+ typography: {
4235
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4236
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4237
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4238
+ };
4239
+ };
4240
+ description?: string | undefined;
4241
+ }, {
4242
+ label: string;
4243
+ id: string;
4244
+ tokens: {
4245
+ colors: {
4246
+ background: string;
4247
+ foreground: string;
4248
+ primary: string;
4249
+ primaryForeground: string;
4250
+ accent: string;
4251
+ accentForeground: string;
4252
+ muted: string;
4253
+ mutedForeground: string;
4254
+ secondary?: string | undefined;
4255
+ secondaryForeground?: string | undefined;
4256
+ };
4257
+ radius: {
4258
+ input: string;
4259
+ card: string;
4260
+ button: string;
4261
+ };
4262
+ layout?: {
4263
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4264
+ } | undefined;
4265
+ typography?: {
4266
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4267
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4268
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4269
+ } | undefined;
4270
+ };
4271
+ description?: string | undefined;
4272
+ }>, "many">;
4273
+ }, "strip", z.ZodTypeAny, {
4274
+ version: 1;
4275
+ defaultPresetId: string;
4276
+ presets: {
4277
+ label: string;
4278
+ id: string;
4279
+ tokens: {
4280
+ colors: {
4281
+ secondary: string;
4282
+ secondaryForeground: string;
4283
+ background: string;
4284
+ foreground: string;
4285
+ primary: string;
4286
+ primaryForeground: string;
4287
+ accent: string;
4288
+ accentForeground: string;
4289
+ muted: string;
4290
+ mutedForeground: string;
4291
+ };
4292
+ radius: {
4293
+ input: string;
4294
+ card: string;
4295
+ button: string;
4296
+ };
4297
+ layout: {
4298
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4299
+ };
4300
+ typography: {
4301
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4302
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4303
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4304
+ };
4305
+ };
4306
+ description?: string | undefined;
4307
+ }[];
4308
+ }, {
4309
+ version: 1;
4310
+ defaultPresetId: string;
4311
+ presets: {
4312
+ label: string;
4313
+ id: string;
4314
+ tokens: {
4315
+ colors: {
4316
+ background: string;
4317
+ foreground: string;
4318
+ primary: string;
4319
+ primaryForeground: string;
4320
+ accent: string;
4321
+ accentForeground: string;
4322
+ muted: string;
4323
+ mutedForeground: string;
4324
+ secondary?: string | undefined;
4325
+ secondaryForeground?: string | undefined;
4326
+ };
4327
+ radius: {
4328
+ input: string;
4329
+ card: string;
4330
+ button: string;
4331
+ };
4332
+ layout?: {
4333
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4334
+ } | undefined;
4335
+ typography?: {
4336
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4337
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4338
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4339
+ } | undefined;
4340
+ };
4341
+ description?: string | undefined;
4342
+ }[];
4343
+ }>, {
4344
+ version: 1;
4345
+ defaultPresetId: string;
4346
+ presets: {
4347
+ label: string;
4348
+ id: string;
4349
+ tokens: {
4350
+ colors: {
4351
+ secondary: string;
4352
+ secondaryForeground: string;
4353
+ background: string;
4354
+ foreground: string;
4355
+ primary: string;
4356
+ primaryForeground: string;
4357
+ accent: string;
4358
+ accentForeground: string;
4359
+ muted: string;
4360
+ mutedForeground: string;
4361
+ };
4362
+ radius: {
4363
+ input: string;
4364
+ card: string;
4365
+ button: string;
4366
+ };
4367
+ layout: {
4368
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4369
+ };
4370
+ typography: {
4371
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4372
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4373
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4374
+ };
4375
+ };
4376
+ description?: string | undefined;
4377
+ }[];
4378
+ }, {
4379
+ version: 1;
4380
+ defaultPresetId: string;
4381
+ presets: {
4382
+ label: string;
4383
+ id: string;
4384
+ tokens: {
4385
+ colors: {
4386
+ background: string;
4387
+ foreground: string;
4388
+ primary: string;
4389
+ primaryForeground: string;
4390
+ accent: string;
4391
+ accentForeground: string;
4392
+ muted: string;
4393
+ mutedForeground: string;
4394
+ secondary?: string | undefined;
4395
+ secondaryForeground?: string | undefined;
4396
+ };
4397
+ radius: {
4398
+ input: string;
4399
+ card: string;
4400
+ button: string;
4401
+ };
4402
+ layout?: {
4403
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4404
+ } | undefined;
4405
+ typography?: {
4406
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4407
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4408
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4409
+ } | undefined;
4410
+ };
4411
+ description?: string | undefined;
4412
+ }[];
4413
+ }>;
4414
+ rootProps: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4415
+ schema: z.ZodUnknown;
4416
+ }, "strip", z.ZodTypeAny, {
4417
+ themeKey: string;
4418
+ themeVersion: string;
4419
+ designSystem: {
4420
+ version: 1;
4421
+ defaultPresetId: string;
4422
+ presets: {
4423
+ label: string;
4424
+ id: string;
4425
+ tokens: {
4426
+ colors: {
4427
+ secondary: string;
4428
+ secondaryForeground: string;
4429
+ background: string;
4430
+ foreground: string;
4431
+ primary: string;
4432
+ primaryForeground: string;
4433
+ accent: string;
4434
+ accentForeground: string;
4435
+ muted: string;
4436
+ mutedForeground: string;
4437
+ };
4438
+ radius: {
4439
+ input: string;
4440
+ card: string;
4441
+ button: string;
4442
+ };
4443
+ layout: {
4444
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4445
+ };
4446
+ typography: {
4447
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4448
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4449
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4450
+ };
4451
+ };
4452
+ description?: string | undefined;
4453
+ }[];
4454
+ };
4455
+ rootProps: Record<string, unknown>;
4456
+ schema?: unknown;
4457
+ }, {
4458
+ themeKey: string;
4459
+ themeVersion: string;
4460
+ designSystem: {
4461
+ version: 1;
4462
+ defaultPresetId: string;
4463
+ presets: {
4464
+ label: string;
4465
+ id: string;
4466
+ tokens: {
4467
+ colors: {
4468
+ background: string;
4469
+ foreground: string;
4470
+ primary: string;
4471
+ primaryForeground: string;
4472
+ accent: string;
4473
+ accentForeground: string;
4474
+ muted: string;
4475
+ mutedForeground: string;
4476
+ secondary?: string | undefined;
4477
+ secondaryForeground?: string | undefined;
4478
+ };
4479
+ radius: {
4480
+ input: string;
4481
+ card: string;
4482
+ button: string;
4483
+ };
4484
+ layout?: {
4485
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4486
+ } | undefined;
4487
+ typography?: {
4488
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4489
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4490
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4491
+ } | undefined;
4492
+ };
4493
+ description?: string | undefined;
4494
+ }[];
4495
+ };
4496
+ rootProps: Record<string, unknown>;
4497
+ schema?: unknown;
4498
+ }>;
4499
+ }, "strip", z.ZodTypeAny, {
4500
+ projectId: string;
4501
+ status: "updated";
4502
+ themeSettings: {
4503
+ themeKey: string;
4504
+ themeVersion: string;
4505
+ designSystem: {
4506
+ version: 1;
4507
+ defaultPresetId: string;
4508
+ presets: {
4509
+ label: string;
4510
+ id: string;
4511
+ tokens: {
4512
+ colors: {
4513
+ secondary: string;
4514
+ secondaryForeground: string;
4515
+ background: string;
4516
+ foreground: string;
4517
+ primary: string;
4518
+ primaryForeground: string;
4519
+ accent: string;
4520
+ accentForeground: string;
4521
+ muted: string;
4522
+ mutedForeground: string;
4523
+ };
4524
+ radius: {
4525
+ input: string;
4526
+ card: string;
4527
+ button: string;
4528
+ };
4529
+ layout: {
4530
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4531
+ };
4532
+ typography: {
4533
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4534
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4535
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4536
+ };
4537
+ };
4538
+ description?: string | undefined;
4539
+ }[];
4540
+ };
4541
+ rootProps: Record<string, unknown>;
4542
+ schema?: unknown;
4543
+ };
4544
+ }, {
4545
+ projectId: string;
4546
+ status: "updated";
4547
+ themeSettings: {
4548
+ themeKey: string;
4549
+ themeVersion: string;
4550
+ designSystem: {
4551
+ version: 1;
4552
+ defaultPresetId: string;
4553
+ presets: {
4554
+ label: string;
4555
+ id: string;
4556
+ tokens: {
4557
+ colors: {
4558
+ background: string;
4559
+ foreground: string;
4560
+ primary: string;
4561
+ primaryForeground: string;
4562
+ accent: string;
4563
+ accentForeground: string;
4564
+ muted: string;
4565
+ mutedForeground: string;
4566
+ secondary?: string | undefined;
4567
+ secondaryForeground?: string | undefined;
4568
+ };
4569
+ radius: {
4570
+ input: string;
4571
+ card: string;
4572
+ button: string;
4573
+ };
4574
+ layout?: {
4575
+ contentWidth: "1024px" | "1200px" | "1280px" | "1440px";
4576
+ } | undefined;
4577
+ typography?: {
4578
+ heading: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4579
+ body: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4580
+ mono: "system-sans" | "system-serif" | "system-mono" | "geist" | "inter" | "noto-sans" | "nunito-sans" | "figtree" | "roboto" | "raleway" | "dm-sans" | "public-sans" | "outfit" | "oxanium" | "manrope" | "space-grotesk" | "montserrat" | "ibm-plex-sans" | "source-sans-3" | "instrument-sans" | "noto-serif" | "roboto-slab" | "merriweather" | "lora" | "playfair-display" | "eb-garamond" | "instrument-serif" | "geist-mono" | "jetbrains-mono" | "noto-sans-sc" | "noto-serif-sc" | "microsoft-yahei" | "pingfang-sc" | "songti-sc" | "kaiti-sc";
4581
+ } | undefined;
4582
+ };
4583
+ description?: string | undefined;
4584
+ }[];
4585
+ };
4586
+ rootProps: Record<string, unknown>;
4587
+ schema?: unknown;
4588
+ };
4589
+ }>]>;
4590
+ };
4591
+ declare function watchTheme(root: string, port: number): Promise<void>;
4592
+ interface ViteDevPreviewOptions {
4593
+ showDevTools?: boolean;
4594
+ }
4595
+ declare function writeVitePreviewEntries(root: string): Promise<void>;
4596
+ declare function withSerializedVitePreviewLocaleLoad<Result>(server: object, load: () => Promise<Result>): Promise<Result>;
4597
+ declare function resolveDevVisualAuditComponent(pathname: string): string | undefined;
4598
+ declare function getThemeVisualAuditComponentTypes(theme: Pick<ValidatedTheme, "module">): string[];
4599
+ declare function createVisualAuditPage(theme: ValidatedTheme, type: string): ThemeStarterPage | null;
4600
+ declare function resolveDevEditorSlug(pathname: string): string | null | undefined;
4601
+ declare function resolveDevStarterSlug(pathname: string): string | null | undefined;
4602
+ declare function resolveThemePreviewLocale(params: {
4603
+ previewLocales: string[] | undefined;
4604
+ explicitLang?: string | null;
4605
+ acceptLanguage?: string;
4606
+ }): string;
4607
+ declare function readDevThemeLocaleMessages(root: string, locale: string): Promise<ThemeLocaleMessages>;
4608
+ /**
4609
+ * Theme-project-scoped renderer bundle. We deliberately resolve `react`,
4610
+ * `react-dom/server` and `@sudajs/theme-engine/server` through the theme
4611
+ * project's own `require` graph instead of the CLI's, because the theme's
4612
+ * local `dist/index.js` was already loaded against that copy of React. Importing
4613
+ * a different React instance from the CLI side would yield two React
4614
+ * dispatchers; client components inside the theme would call hooks against
4615
+ * the CLI's React (whose dispatcher is `null` outside a render), producing
4616
+ * `Cannot read properties of null (reading 'useState')`.
4617
+ */
4618
+ interface ThemeRenderer {
4619
+ ThemeRender: typeof ThemeRender;
4620
+ extractLayoutChrome: typeof extractLayoutChrome;
4621
+ resolveAssetPath: typeof resolveAssetPath;
4622
+ createElement: typeof createElement;
4623
+ renderToString: typeof renderToString;
4624
+ }
4625
+ declare function loadThemeScopedRenderer(themeRoot: string): Promise<ThemeRenderer>;
4626
+ declare function renderDevStarterPageHtml(theme: ValidatedTheme, page: ThemeStarterPage, renderer: ThemeRenderer, locale?: string, preserveLang?: boolean, previewLocaleMessages?: ThemePreviewLocaleMessages, searchParams?: URLSearchParams, options?: ViteDevPreviewOptions): string;
4627
+ declare function renderDevEditorPageHtml(theme: ValidatedTheme, page: ThemeStarterPage, renderer: ThemeRenderer, locale?: string, searchParams?: URLSearchParams, previewLocaleMessages?: ThemePreviewLocaleMessages, themeLocaleMessages?: ThemeLocaleMessages): string;
1866
4628
  interface ScreenshotOptions extends ThemeRootOptions {
1867
4629
  device?: string[] | string;
1868
4630
  output?: string;
@@ -1871,11 +4633,25 @@ interface ScreenshotOptions extends ThemeRootOptions {
1871
4633
  port?: string;
1872
4634
  fullPage?: boolean;
1873
4635
  }
4636
+ interface VisualCheckOptions extends ThemeRootOptions {
4637
+ device?: string[] | string;
4638
+ output?: string;
4639
+ port?: string;
4640
+ preset?: string[] | string;
4641
+ fullPage?: boolean;
4642
+ }
1874
4643
  interface ResolvedScreenshotOptions {
1875
4644
  targets: ScreenshotTarget[];
1876
4645
  port: number;
1877
4646
  fullPage: boolean;
1878
4647
  }
4648
+ interface ResolvedVisualCheckOptions {
4649
+ devices: ScreenshotDevice[];
4650
+ fullPage: boolean;
4651
+ outputDir: string;
4652
+ port: number;
4653
+ presetIds: string[];
4654
+ }
1879
4655
  declare const SCREENSHOT_DEVICES: readonly ["desktop", "tablet", "mobile"];
1880
4656
  type ScreenshotDevice = (typeof SCREENSHOT_DEVICES)[number];
1881
4657
  interface ScreenshotTarget {
@@ -1887,6 +4663,7 @@ interface ScreenshotTarget {
1887
4663
  };
1888
4664
  }
1889
4665
  declare function resolveScreenshotOptions(root: string, options: ScreenshotOptions): ResolvedScreenshotOptions;
4666
+ declare function resolveVisualCheckOptions(root: string, theme: ValidatedTheme, options: VisualCheckOptions): ResolvedVisualCheckOptions;
1890
4667
  interface PlaywrightModule {
1891
4668
  chromium: {
1892
4669
  launch: (options?: {
@@ -1903,6 +4680,8 @@ interface PlaywrightModule {
1903
4680
  goto: (url: string, options?: {
1904
4681
  waitUntil?: string;
1905
4682
  }) => Promise<unknown>;
4683
+ evaluate: <Result>(pageFunction: () => Result) => Promise<Result>;
4684
+ on: (event: "pageerror", listener: (error: Error) => void) => void;
1906
4685
  screenshot: (options: {
1907
4686
  path: string;
1908
4687
  fullPage?: boolean;
@@ -1969,6 +4748,7 @@ declare function performActivateTheme(auth: CliAuthContext, input: {
1969
4748
  themeVersion?: string | undefined;
1970
4749
  confirm?: boolean | undefined;
1971
4750
  }, fetcher?: FetchJsonFn): Promise<z.infer<typeof activateThemeOutputSchema>>;
4751
+ declare function getRemoteContactForm(auth: CliAuthContext, projectId: string, fetcher?: FetchJsonFn): Promise<z.infer<typeof contactFormViewSchema>>;
1972
4752
  declare function performUpdateContactForm(auth: CliAuthContext, input: z.infer<typeof updateContactFormInputSchema>, fetcher?: FetchJsonFn): Promise<z.infer<typeof updateContactFormOutputSchema>>;
1973
4753
  declare function getRemoteThemeSettings(auth: CliAuthContext, projectId: string, fetcher?: FetchJsonFn): Promise<z.infer<typeof themeSettingsViewSchema>>;
1974
4754
  declare function performUpdateThemeSettings(auth: CliAuthContext, input: z.infer<typeof updateThemeSettingsInputSchema>, fetcher?: FetchJsonFn): Promise<z.infer<typeof updateThemeSettingsOutputSchema>>;