@typecaast/schema 0.1.0 → 0.2.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
@@ -18,15 +18,27 @@ declare const fitModeSchema: z.ZodEnum<{
18
18
  fixed: "fixed";
19
19
  }>;
20
20
  type FitMode = z.infer<typeof fitModeSchema>;
21
+ /**
22
+ * Reply-box (composer) visibility:
23
+ * - `auto`: shown only while someone is typing/sending (default).
24
+ * - `always`: keep the message input visible the whole time.
25
+ * - `never`: never show it.
26
+ */
27
+ declare const composerModeSchema: z.ZodEnum<{
28
+ auto: "auto";
29
+ always: "always";
30
+ never: "never";
31
+ }>;
32
+ type ComposerMode = z.infer<typeof composerModeSchema>;
21
33
  /**
22
34
  * Color theme. `auto` inherits the host page's `prefers-color-scheme` (live
23
35
  * preview) and falls back to `light`; video export resolves `auto` to a
24
36
  * concrete mode and defaults to `light` when unspecified.
25
37
  */
26
38
  declare const themeModeSchema: z.ZodEnum<{
39
+ auto: "auto";
27
40
  light: "light";
28
41
  dark: "dark";
29
- auto: "auto";
30
42
  }>;
31
43
  type ThemeMode = z.infer<typeof themeModeSchema>;
32
44
  /**
@@ -58,9 +70,9 @@ declare const metaSchema: z.ZodObject<{
58
70
  fixed: "fixed";
59
71
  }>>;
60
72
  theme: z.ZodDefault<z.ZodEnum<{
73
+ auto: "auto";
61
74
  light: "light";
62
75
  dark: "dark";
63
- auto: "auto";
64
76
  }>>;
65
77
  skin: z.ZodObject<{
66
78
  id: z.ZodString;
@@ -72,6 +84,12 @@ declare const metaSchema: z.ZodObject<{
72
84
  inline: "inline";
73
85
  url: "url";
74
86
  }>>;
87
+ composer: z.ZodDefault<z.ZodEnum<{
88
+ auto: "auto";
89
+ always: "always";
90
+ never: "never";
91
+ }>>;
92
+ loop: z.ZodDefault<z.ZodBoolean>;
75
93
  }, z.core.$strip>;
76
94
  /** `meta` as it appears after parsing (defaults applied). */
77
95
  type Meta = z.infer<typeof metaSchema>;
@@ -118,8 +136,6 @@ declare const participantsSchema: z.ZodArray<z.ZodObject<{
118
136
  declare const pacingSchema: z.ZodObject<{
119
137
  readingWpm: z.ZodDefault<z.ZodNumber>;
120
138
  typingCps: z.ZodDefault<z.ZodNumber>;
121
- reactionDelayMs: z.ZodDefault<z.ZodNumber>;
122
- interMessageGapMs: z.ZodDefault<z.ZodNumber>;
123
139
  humanize: z.ZodDefault<z.ZodNumber>;
124
140
  startDelayMs: z.ZodDefault<z.ZodNumber>;
125
141
  }, z.core.$strip>;
@@ -280,9 +296,7 @@ declare const imageSugarSchema: z.ZodObject<{
280
296
  /** An incoming message, optionally preceded by a typing indicator. */
281
297
  declare const messageStepSchema: z.ZodObject<{
282
298
  id: z.ZodOptional<z.ZodString>;
283
- delay: z.ZodOptional<z.ZodNumber>;
284
299
  instant: z.ZodOptional<z.ZodBoolean>;
285
- holdAfter: z.ZodOptional<z.ZodNumber>;
286
300
  text: z.ZodOptional<z.ZodString>;
287
301
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
288
302
  src: z.ZodString;
@@ -300,20 +314,18 @@ declare const messageStepSchema: z.ZodObject<{
300
314
  /** A reaction landing on a target message (`$prev` or a message id). */
301
315
  declare const reactionStepSchema: z.ZodObject<{
302
316
  id: z.ZodOptional<z.ZodString>;
303
- delay: z.ZodOptional<z.ZodNumber>;
304
317
  instant: z.ZodOptional<z.ZodBoolean>;
305
- holdAfter: z.ZodOptional<z.ZodNumber>;
306
318
  type: z.ZodLiteral<"reaction">;
307
- target: z.ZodString;
319
+ target: z.ZodOptional<z.ZodString>;
308
320
  emoji: z.ZodString;
321
+ shortcode: z.ZodOptional<z.ZodString>;
309
322
  from: z.ZodOptional<z.ZodString>;
323
+ delay: z.ZodOptional<z.ZodNumber>;
310
324
  }, z.core.$strip>;
311
325
  /** A standalone typing indicator (no message necessarily follows). */
312
326
  declare const typingStepSchema: z.ZodObject<{
313
327
  id: z.ZodOptional<z.ZodString>;
314
- delay: z.ZodOptional<z.ZodNumber>;
315
328
  instant: z.ZodOptional<z.ZodBoolean>;
316
- holdAfter: z.ZodOptional<z.ZodNumber>;
317
329
  type: z.ZodLiteral<"typing">;
318
330
  from: z.ZodString;
319
331
  showTypingFor: z.ZodOptional<z.ZodNumber>;
@@ -321,9 +333,7 @@ declare const typingStepSchema: z.ZodObject<{
321
333
  /** The self participant typing into the composer, char by char. */
322
334
  declare const composerTypeStepSchema: z.ZodObject<{
323
335
  id: z.ZodOptional<z.ZodString>;
324
- delay: z.ZodOptional<z.ZodNumber>;
325
336
  instant: z.ZodOptional<z.ZodBoolean>;
326
- holdAfter: z.ZodOptional<z.ZodNumber>;
327
337
  type: z.ZodLiteral<"composerType">;
328
338
  from: z.ZodString;
329
339
  text: z.ZodString;
@@ -332,18 +342,14 @@ declare const composerTypeStepSchema: z.ZodObject<{
332
342
  /** Commit the composer's current text to the thread. */
333
343
  declare const sendStepSchema: z.ZodObject<{
334
344
  id: z.ZodOptional<z.ZodString>;
335
- delay: z.ZodOptional<z.ZodNumber>;
336
345
  instant: z.ZodOptional<z.ZodBoolean>;
337
- holdAfter: z.ZodOptional<z.ZodNumber>;
338
346
  type: z.ZodLiteral<"send">;
339
347
  from: z.ZodOptional<z.ZodString>;
340
348
  }, z.core.$strip>;
341
349
  /** Edit a previously sent message's body. */
342
350
  declare const editStepSchema: z.ZodObject<{
343
351
  id: z.ZodOptional<z.ZodString>;
344
- delay: z.ZodOptional<z.ZodNumber>;
345
352
  instant: z.ZodOptional<z.ZodBoolean>;
346
- holdAfter: z.ZodOptional<z.ZodNumber>;
347
353
  text: z.ZodOptional<z.ZodString>;
348
354
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
349
355
  src: z.ZodString;
@@ -353,23 +359,19 @@ declare const editStepSchema: z.ZodObject<{
353
359
  }, z.core.$strip>>>;
354
360
  content: z.ZodOptional<z.ZodArray<z.ZodType<ContentNode, unknown, z.core.$ZodTypeInternals<ContentNode, unknown>>>>;
355
361
  type: z.ZodLiteral<"edit">;
356
- target: z.ZodString;
362
+ target: z.ZodOptional<z.ZodString>;
357
363
  }, z.core.$strip>;
358
364
  /** Delete a previously sent message. */
359
365
  declare const deleteStepSchema: z.ZodObject<{
360
366
  id: z.ZodOptional<z.ZodString>;
361
- delay: z.ZodOptional<z.ZodNumber>;
362
367
  instant: z.ZodOptional<z.ZodBoolean>;
363
- holdAfter: z.ZodOptional<z.ZodNumber>;
364
368
  type: z.ZodLiteral<"delete">;
365
- target: z.ZodString;
369
+ target: z.ZodOptional<z.ZodString>;
366
370
  }, z.core.$strip>;
367
371
  /** A read receipt (optionally by a participant, optionally up to a message). */
368
372
  declare const readReceiptStepSchema: z.ZodObject<{
369
373
  id: z.ZodOptional<z.ZodString>;
370
- delay: z.ZodOptional<z.ZodNumber>;
371
374
  instant: z.ZodOptional<z.ZodBoolean>;
372
- holdAfter: z.ZodOptional<z.ZodNumber>;
373
375
  type: z.ZodLiteral<"readReceipt">;
374
376
  by: z.ZodOptional<z.ZodString>;
375
377
  target: z.ZodOptional<z.ZodString>;
@@ -377,9 +379,7 @@ declare const readReceiptStepSchema: z.ZodObject<{
377
379
  /** An app/system card (e.g. "Pull request opened" with action buttons). */
378
380
  declare const systemStepSchema: z.ZodObject<{
379
381
  id: z.ZodOptional<z.ZodString>;
380
- delay: z.ZodOptional<z.ZodNumber>;
381
382
  instant: z.ZodOptional<z.ZodBoolean>;
382
- holdAfter: z.ZodOptional<z.ZodNumber>;
383
383
  text: z.ZodOptional<z.ZodString>;
384
384
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
385
385
  src: z.ZodString;
@@ -394,22 +394,22 @@ declare const systemStepSchema: z.ZodObject<{
394
394
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
395
395
  label: z.ZodString;
396
396
  href: z.ZodOptional<z.ZodString>;
397
+ variant: z.ZodOptional<z.ZodEnum<{
398
+ primary: "primary";
399
+ secondary: "secondary";
400
+ }>>;
397
401
  }, z.core.$strip>>>;
398
402
  }, z.core.$strip>;
399
- /** An explicit pause in the timeline. */
400
- declare const beatStepSchema: z.ZodObject<{
403
+ /** An explicit pause in the timeline (formerly `beat`). */
404
+ declare const delayStepSchema: z.ZodObject<{
401
405
  id: z.ZodOptional<z.ZodString>;
402
- delay: z.ZodOptional<z.ZodNumber>;
403
406
  instant: z.ZodOptional<z.ZodBoolean>;
404
- holdAfter: z.ZodOptional<z.ZodNumber>;
405
- type: z.ZodLiteral<"beat">;
407
+ type: z.ZodLiteral<"delay">;
406
408
  duration: z.ZodNumber;
407
409
  }, z.core.$strip>;
408
410
  declare const timelineStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
409
411
  id: z.ZodOptional<z.ZodString>;
410
- delay: z.ZodOptional<z.ZodNumber>;
411
412
  instant: z.ZodOptional<z.ZodBoolean>;
412
- holdAfter: z.ZodOptional<z.ZodNumber>;
413
413
  text: z.ZodOptional<z.ZodString>;
414
414
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
415
415
  src: z.ZodString;
@@ -425,42 +425,34 @@ declare const timelineStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
425
425
  }, z.core.$strip>]>>;
426
426
  }, z.core.$strip>, z.ZodObject<{
427
427
  id: z.ZodOptional<z.ZodString>;
428
- delay: z.ZodOptional<z.ZodNumber>;
429
428
  instant: z.ZodOptional<z.ZodBoolean>;
430
- holdAfter: z.ZodOptional<z.ZodNumber>;
431
429
  type: z.ZodLiteral<"reaction">;
432
- target: z.ZodString;
430
+ target: z.ZodOptional<z.ZodString>;
433
431
  emoji: z.ZodString;
432
+ shortcode: z.ZodOptional<z.ZodString>;
434
433
  from: z.ZodOptional<z.ZodString>;
434
+ delay: z.ZodOptional<z.ZodNumber>;
435
435
  }, z.core.$strip>, z.ZodObject<{
436
436
  id: z.ZodOptional<z.ZodString>;
437
- delay: z.ZodOptional<z.ZodNumber>;
438
437
  instant: z.ZodOptional<z.ZodBoolean>;
439
- holdAfter: z.ZodOptional<z.ZodNumber>;
440
438
  type: z.ZodLiteral<"typing">;
441
439
  from: z.ZodString;
442
440
  showTypingFor: z.ZodOptional<z.ZodNumber>;
443
441
  }, z.core.$strip>, z.ZodObject<{
444
442
  id: z.ZodOptional<z.ZodString>;
445
- delay: z.ZodOptional<z.ZodNumber>;
446
443
  instant: z.ZodOptional<z.ZodBoolean>;
447
- holdAfter: z.ZodOptional<z.ZodNumber>;
448
444
  type: z.ZodLiteral<"composerType">;
449
445
  from: z.ZodString;
450
446
  text: z.ZodString;
451
447
  typingDuration: z.ZodOptional<z.ZodNumber>;
452
448
  }, z.core.$strip>, z.ZodObject<{
453
449
  id: z.ZodOptional<z.ZodString>;
454
- delay: z.ZodOptional<z.ZodNumber>;
455
450
  instant: z.ZodOptional<z.ZodBoolean>;
456
- holdAfter: z.ZodOptional<z.ZodNumber>;
457
451
  type: z.ZodLiteral<"send">;
458
452
  from: z.ZodOptional<z.ZodString>;
459
453
  }, z.core.$strip>, z.ZodObject<{
460
454
  id: z.ZodOptional<z.ZodString>;
461
- delay: z.ZodOptional<z.ZodNumber>;
462
455
  instant: z.ZodOptional<z.ZodBoolean>;
463
- holdAfter: z.ZodOptional<z.ZodNumber>;
464
456
  text: z.ZodOptional<z.ZodString>;
465
457
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
466
458
  src: z.ZodString;
@@ -470,27 +462,21 @@ declare const timelineStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
470
462
  }, z.core.$strip>>>;
471
463
  content: z.ZodOptional<z.ZodArray<z.ZodType<ContentNode, unknown, z.core.$ZodTypeInternals<ContentNode, unknown>>>>;
472
464
  type: z.ZodLiteral<"edit">;
473
- target: z.ZodString;
465
+ target: z.ZodOptional<z.ZodString>;
474
466
  }, z.core.$strip>, z.ZodObject<{
475
467
  id: z.ZodOptional<z.ZodString>;
476
- delay: z.ZodOptional<z.ZodNumber>;
477
468
  instant: z.ZodOptional<z.ZodBoolean>;
478
- holdAfter: z.ZodOptional<z.ZodNumber>;
479
469
  type: z.ZodLiteral<"delete">;
480
- target: z.ZodString;
470
+ target: z.ZodOptional<z.ZodString>;
481
471
  }, z.core.$strip>, z.ZodObject<{
482
472
  id: z.ZodOptional<z.ZodString>;
483
- delay: z.ZodOptional<z.ZodNumber>;
484
473
  instant: z.ZodOptional<z.ZodBoolean>;
485
- holdAfter: z.ZodOptional<z.ZodNumber>;
486
474
  type: z.ZodLiteral<"readReceipt">;
487
475
  by: z.ZodOptional<z.ZodString>;
488
476
  target: z.ZodOptional<z.ZodString>;
489
477
  }, z.core.$strip>, z.ZodObject<{
490
478
  id: z.ZodOptional<z.ZodString>;
491
- delay: z.ZodOptional<z.ZodNumber>;
492
479
  instant: z.ZodOptional<z.ZodBoolean>;
493
- holdAfter: z.ZodOptional<z.ZodNumber>;
494
480
  text: z.ZodOptional<z.ZodString>;
495
481
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
496
482
  src: z.ZodString;
@@ -505,22 +491,22 @@ declare const timelineStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
505
491
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
506
492
  label: z.ZodString;
507
493
  href: z.ZodOptional<z.ZodString>;
494
+ variant: z.ZodOptional<z.ZodEnum<{
495
+ primary: "primary";
496
+ secondary: "secondary";
497
+ }>>;
508
498
  }, z.core.$strip>>>;
509
499
  }, z.core.$strip>, z.ZodObject<{
510
500
  id: z.ZodOptional<z.ZodString>;
511
- delay: z.ZodOptional<z.ZodNumber>;
512
501
  instant: z.ZodOptional<z.ZodBoolean>;
513
- holdAfter: z.ZodOptional<z.ZodNumber>;
514
- type: z.ZodLiteral<"beat">;
502
+ type: z.ZodLiteral<"delay">;
515
503
  duration: z.ZodNumber;
516
504
  }, z.core.$strip>], "type">;
517
505
  type TimelineStep = z.infer<typeof timelineStepSchema>;
518
506
  type TimelineStepInput = z.input<typeof timelineStepSchema>;
519
507
  declare const timelineSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
520
508
  id: z.ZodOptional<z.ZodString>;
521
- delay: z.ZodOptional<z.ZodNumber>;
522
509
  instant: z.ZodOptional<z.ZodBoolean>;
523
- holdAfter: z.ZodOptional<z.ZodNumber>;
524
510
  text: z.ZodOptional<z.ZodString>;
525
511
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
526
512
  src: z.ZodString;
@@ -536,42 +522,34 @@ declare const timelineSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
536
522
  }, z.core.$strip>]>>;
537
523
  }, z.core.$strip>, z.ZodObject<{
538
524
  id: z.ZodOptional<z.ZodString>;
539
- delay: z.ZodOptional<z.ZodNumber>;
540
525
  instant: z.ZodOptional<z.ZodBoolean>;
541
- holdAfter: z.ZodOptional<z.ZodNumber>;
542
526
  type: z.ZodLiteral<"reaction">;
543
- target: z.ZodString;
527
+ target: z.ZodOptional<z.ZodString>;
544
528
  emoji: z.ZodString;
529
+ shortcode: z.ZodOptional<z.ZodString>;
545
530
  from: z.ZodOptional<z.ZodString>;
531
+ delay: z.ZodOptional<z.ZodNumber>;
546
532
  }, z.core.$strip>, z.ZodObject<{
547
533
  id: z.ZodOptional<z.ZodString>;
548
- delay: z.ZodOptional<z.ZodNumber>;
549
534
  instant: z.ZodOptional<z.ZodBoolean>;
550
- holdAfter: z.ZodOptional<z.ZodNumber>;
551
535
  type: z.ZodLiteral<"typing">;
552
536
  from: z.ZodString;
553
537
  showTypingFor: z.ZodOptional<z.ZodNumber>;
554
538
  }, z.core.$strip>, z.ZodObject<{
555
539
  id: z.ZodOptional<z.ZodString>;
556
- delay: z.ZodOptional<z.ZodNumber>;
557
540
  instant: z.ZodOptional<z.ZodBoolean>;
558
- holdAfter: z.ZodOptional<z.ZodNumber>;
559
541
  type: z.ZodLiteral<"composerType">;
560
542
  from: z.ZodString;
561
543
  text: z.ZodString;
562
544
  typingDuration: z.ZodOptional<z.ZodNumber>;
563
545
  }, z.core.$strip>, z.ZodObject<{
564
546
  id: z.ZodOptional<z.ZodString>;
565
- delay: z.ZodOptional<z.ZodNumber>;
566
547
  instant: z.ZodOptional<z.ZodBoolean>;
567
- holdAfter: z.ZodOptional<z.ZodNumber>;
568
548
  type: z.ZodLiteral<"send">;
569
549
  from: z.ZodOptional<z.ZodString>;
570
550
  }, z.core.$strip>, z.ZodObject<{
571
551
  id: z.ZodOptional<z.ZodString>;
572
- delay: z.ZodOptional<z.ZodNumber>;
573
552
  instant: z.ZodOptional<z.ZodBoolean>;
574
- holdAfter: z.ZodOptional<z.ZodNumber>;
575
553
  text: z.ZodOptional<z.ZodString>;
576
554
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
577
555
  src: z.ZodString;
@@ -581,27 +559,21 @@ declare const timelineSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
581
559
  }, z.core.$strip>>>;
582
560
  content: z.ZodOptional<z.ZodArray<z.ZodType<ContentNode, unknown, z.core.$ZodTypeInternals<ContentNode, unknown>>>>;
583
561
  type: z.ZodLiteral<"edit">;
584
- target: z.ZodString;
562
+ target: z.ZodOptional<z.ZodString>;
585
563
  }, z.core.$strip>, z.ZodObject<{
586
564
  id: z.ZodOptional<z.ZodString>;
587
- delay: z.ZodOptional<z.ZodNumber>;
588
565
  instant: z.ZodOptional<z.ZodBoolean>;
589
- holdAfter: z.ZodOptional<z.ZodNumber>;
590
566
  type: z.ZodLiteral<"delete">;
591
- target: z.ZodString;
567
+ target: z.ZodOptional<z.ZodString>;
592
568
  }, z.core.$strip>, z.ZodObject<{
593
569
  id: z.ZodOptional<z.ZodString>;
594
- delay: z.ZodOptional<z.ZodNumber>;
595
570
  instant: z.ZodOptional<z.ZodBoolean>;
596
- holdAfter: z.ZodOptional<z.ZodNumber>;
597
571
  type: z.ZodLiteral<"readReceipt">;
598
572
  by: z.ZodOptional<z.ZodString>;
599
573
  target: z.ZodOptional<z.ZodString>;
600
574
  }, z.core.$strip>, z.ZodObject<{
601
575
  id: z.ZodOptional<z.ZodString>;
602
- delay: z.ZodOptional<z.ZodNumber>;
603
576
  instant: z.ZodOptional<z.ZodBoolean>;
604
- holdAfter: z.ZodOptional<z.ZodNumber>;
605
577
  text: z.ZodOptional<z.ZodString>;
606
578
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
607
579
  src: z.ZodString;
@@ -616,17 +588,19 @@ declare const timelineSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
616
588
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
617
589
  label: z.ZodString;
618
590
  href: z.ZodOptional<z.ZodString>;
591
+ variant: z.ZodOptional<z.ZodEnum<{
592
+ primary: "primary";
593
+ secondary: "secondary";
594
+ }>>;
619
595
  }, z.core.$strip>>>;
620
596
  }, z.core.$strip>, z.ZodObject<{
621
597
  id: z.ZodOptional<z.ZodString>;
622
- delay: z.ZodOptional<z.ZodNumber>;
623
598
  instant: z.ZodOptional<z.ZodBoolean>;
624
- holdAfter: z.ZodOptional<z.ZodNumber>;
625
- type: z.ZodLiteral<"beat">;
599
+ type: z.ZodLiteral<"delay">;
626
600
  duration: z.ZodNumber;
627
601
  }, z.core.$strip>], "type">>;
628
602
  /** The discriminant values of every timeline step. */
629
- declare const STEP_TYPES: readonly ["message", "reaction", "typing", "composerType", "send", "edit", "delete", "readReceipt", "system", "beat"];
603
+ declare const STEP_TYPES: readonly ["message", "reaction", "typing", "composerType", "send", "edit", "delete", "readReceipt", "system", "delay"];
630
604
  type StepType = (typeof STEP_TYPES)[number];
631
605
 
632
606
  /**
@@ -650,9 +624,9 @@ declare const configSchema: z.ZodObject<{
650
624
  fixed: "fixed";
651
625
  }>>;
652
626
  theme: z.ZodDefault<z.ZodEnum<{
627
+ auto: "auto";
653
628
  light: "light";
654
629
  dark: "dark";
655
- auto: "auto";
656
630
  }>>;
657
631
  skin: z.ZodObject<{
658
632
  id: z.ZodString;
@@ -664,6 +638,12 @@ declare const configSchema: z.ZodObject<{
664
638
  inline: "inline";
665
639
  url: "url";
666
640
  }>>;
641
+ composer: z.ZodDefault<z.ZodEnum<{
642
+ auto: "auto";
643
+ always: "always";
644
+ never: "never";
645
+ }>>;
646
+ loop: z.ZodDefault<z.ZodBoolean>;
667
647
  }, z.core.$strip>;
668
648
  participants: z.ZodArray<z.ZodObject<{
669
649
  id: z.ZodString;
@@ -679,16 +659,12 @@ declare const configSchema: z.ZodObject<{
679
659
  pacing: z.ZodDefault<z.ZodObject<{
680
660
  readingWpm: z.ZodDefault<z.ZodNumber>;
681
661
  typingCps: z.ZodDefault<z.ZodNumber>;
682
- reactionDelayMs: z.ZodDefault<z.ZodNumber>;
683
- interMessageGapMs: z.ZodDefault<z.ZodNumber>;
684
662
  humanize: z.ZodDefault<z.ZodNumber>;
685
663
  startDelayMs: z.ZodDefault<z.ZodNumber>;
686
664
  }, z.core.$strip>>;
687
665
  timeline: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
688
666
  id: z.ZodOptional<z.ZodString>;
689
- delay: z.ZodOptional<z.ZodNumber>;
690
667
  instant: z.ZodOptional<z.ZodBoolean>;
691
- holdAfter: z.ZodOptional<z.ZodNumber>;
692
668
  text: z.ZodOptional<z.ZodString>;
693
669
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
694
670
  src: z.ZodString;
@@ -704,42 +680,34 @@ declare const configSchema: z.ZodObject<{
704
680
  }, z.core.$strip>]>>;
705
681
  }, z.core.$strip>, z.ZodObject<{
706
682
  id: z.ZodOptional<z.ZodString>;
707
- delay: z.ZodOptional<z.ZodNumber>;
708
683
  instant: z.ZodOptional<z.ZodBoolean>;
709
- holdAfter: z.ZodOptional<z.ZodNumber>;
710
684
  type: z.ZodLiteral<"reaction">;
711
- target: z.ZodString;
685
+ target: z.ZodOptional<z.ZodString>;
712
686
  emoji: z.ZodString;
687
+ shortcode: z.ZodOptional<z.ZodString>;
713
688
  from: z.ZodOptional<z.ZodString>;
689
+ delay: z.ZodOptional<z.ZodNumber>;
714
690
  }, z.core.$strip>, z.ZodObject<{
715
691
  id: z.ZodOptional<z.ZodString>;
716
- delay: z.ZodOptional<z.ZodNumber>;
717
692
  instant: z.ZodOptional<z.ZodBoolean>;
718
- holdAfter: z.ZodOptional<z.ZodNumber>;
719
693
  type: z.ZodLiteral<"typing">;
720
694
  from: z.ZodString;
721
695
  showTypingFor: z.ZodOptional<z.ZodNumber>;
722
696
  }, z.core.$strip>, z.ZodObject<{
723
697
  id: z.ZodOptional<z.ZodString>;
724
- delay: z.ZodOptional<z.ZodNumber>;
725
698
  instant: z.ZodOptional<z.ZodBoolean>;
726
- holdAfter: z.ZodOptional<z.ZodNumber>;
727
699
  type: z.ZodLiteral<"composerType">;
728
700
  from: z.ZodString;
729
701
  text: z.ZodString;
730
702
  typingDuration: z.ZodOptional<z.ZodNumber>;
731
703
  }, z.core.$strip>, z.ZodObject<{
732
704
  id: z.ZodOptional<z.ZodString>;
733
- delay: z.ZodOptional<z.ZodNumber>;
734
705
  instant: z.ZodOptional<z.ZodBoolean>;
735
- holdAfter: z.ZodOptional<z.ZodNumber>;
736
706
  type: z.ZodLiteral<"send">;
737
707
  from: z.ZodOptional<z.ZodString>;
738
708
  }, z.core.$strip>, z.ZodObject<{
739
709
  id: z.ZodOptional<z.ZodString>;
740
- delay: z.ZodOptional<z.ZodNumber>;
741
710
  instant: z.ZodOptional<z.ZodBoolean>;
742
- holdAfter: z.ZodOptional<z.ZodNumber>;
743
711
  text: z.ZodOptional<z.ZodString>;
744
712
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
745
713
  src: z.ZodString;
@@ -749,27 +717,21 @@ declare const configSchema: z.ZodObject<{
749
717
  }, z.core.$strip>>>;
750
718
  content: z.ZodOptional<z.ZodArray<z.ZodType<ContentNode, unknown, z.core.$ZodTypeInternals<ContentNode, unknown>>>>;
751
719
  type: z.ZodLiteral<"edit">;
752
- target: z.ZodString;
720
+ target: z.ZodOptional<z.ZodString>;
753
721
  }, z.core.$strip>, z.ZodObject<{
754
722
  id: z.ZodOptional<z.ZodString>;
755
- delay: z.ZodOptional<z.ZodNumber>;
756
723
  instant: z.ZodOptional<z.ZodBoolean>;
757
- holdAfter: z.ZodOptional<z.ZodNumber>;
758
724
  type: z.ZodLiteral<"delete">;
759
- target: z.ZodString;
725
+ target: z.ZodOptional<z.ZodString>;
760
726
  }, z.core.$strip>, z.ZodObject<{
761
727
  id: z.ZodOptional<z.ZodString>;
762
- delay: z.ZodOptional<z.ZodNumber>;
763
728
  instant: z.ZodOptional<z.ZodBoolean>;
764
- holdAfter: z.ZodOptional<z.ZodNumber>;
765
729
  type: z.ZodLiteral<"readReceipt">;
766
730
  by: z.ZodOptional<z.ZodString>;
767
731
  target: z.ZodOptional<z.ZodString>;
768
732
  }, z.core.$strip>, z.ZodObject<{
769
733
  id: z.ZodOptional<z.ZodString>;
770
- delay: z.ZodOptional<z.ZodNumber>;
771
734
  instant: z.ZodOptional<z.ZodBoolean>;
772
- holdAfter: z.ZodOptional<z.ZodNumber>;
773
735
  text: z.ZodOptional<z.ZodString>;
774
736
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
775
737
  src: z.ZodString;
@@ -784,13 +746,15 @@ declare const configSchema: z.ZodObject<{
784
746
  actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
785
747
  label: z.ZodString;
786
748
  href: z.ZodOptional<z.ZodString>;
749
+ variant: z.ZodOptional<z.ZodEnum<{
750
+ primary: "primary";
751
+ secondary: "secondary";
752
+ }>>;
787
753
  }, z.core.$strip>>>;
788
754
  }, z.core.$strip>, z.ZodObject<{
789
755
  id: z.ZodOptional<z.ZodString>;
790
- delay: z.ZodOptional<z.ZodNumber>;
791
756
  instant: z.ZodOptional<z.ZodBoolean>;
792
- holdAfter: z.ZodOptional<z.ZodNumber>;
793
- type: z.ZodLiteral<"beat">;
757
+ type: z.ZodLiteral<"delay">;
794
758
  duration: z.ZodNumber;
795
759
  }, z.core.$strip>], "type">>;
796
760
  }, z.core.$strip>;
@@ -829,4 +793,4 @@ interface Diagnostic {
829
793
  */
830
794
  declare function validateConfig(raw: unknown): Diagnostic[];
831
795
 
832
- export { type AssetMode, CONFIG_VERSION, type Config, type ConfigInput, type ContentNode, type Diagnostic, type FitMode, type ImageNode, type ImageSugar, type InlineNode, type MessageBodySugar, type Meta, type MetaInput, type Pacing, type PacingInput, type Participant, type ParticipantInput, type ParticipantKind, STEP_TYPES, type Severity, type Size, type SkinRef, type StepType, type TextNode, type ThemeMode, type TimelineStep, type TimelineStepInput, type UnknownContentNode, assetModeSchema, beatStepSchema, buildContentNodeSchema, composerTypeStepSchema, configJsonSchema, configSchema, contentNodeSchema, contentSchema, deleteStepSchema, editStepSchema, fitModeSchema, imageNodeSchema, imageSugarSchema, imageToContentNode, inlineCodeSchema, inlineEmojiSchema, inlineLinkSchema, inlineMentionSchema, inlineNodeSchema, inlineTextSchema, isKnownContentNodeType, knownContentNodeTypes, messageStepSchema, metaSchema, pacingSchema, parseInline, participantKindSchema, participantSchema, participantsSchema, reactionStepSchema, readReceiptStepSchema, registerContentNodeType, sendStepSchema, sizeSchema, skinRefSchema, systemStepSchema, textNodeSchema, textToContentNode, themeModeSchema, timelineSchema, timelineStepSchema, toContentNodes, typingStepSchema, validateConfig };
796
+ export { type AssetMode, CONFIG_VERSION, type ComposerMode, type Config, type ConfigInput, type ContentNode, type Diagnostic, type FitMode, type ImageNode, type ImageSugar, type InlineNode, type MessageBodySugar, type Meta, type MetaInput, type Pacing, type PacingInput, type Participant, type ParticipantInput, type ParticipantKind, STEP_TYPES, type Severity, type Size, type SkinRef, type StepType, type TextNode, type ThemeMode, type TimelineStep, type TimelineStepInput, type UnknownContentNode, assetModeSchema, buildContentNodeSchema, composerModeSchema, composerTypeStepSchema, configJsonSchema, configSchema, contentNodeSchema, contentSchema, delayStepSchema, deleteStepSchema, editStepSchema, fitModeSchema, imageNodeSchema, imageSugarSchema, imageToContentNode, inlineCodeSchema, inlineEmojiSchema, inlineLinkSchema, inlineMentionSchema, inlineNodeSchema, inlineTextSchema, isKnownContentNodeType, knownContentNodeTypes, messageStepSchema, metaSchema, pacingSchema, parseInline, participantKindSchema, participantSchema, participantsSchema, reactionStepSchema, readReceiptStepSchema, registerContentNodeType, sendStepSchema, sizeSchema, skinRefSchema, systemStepSchema, textNodeSchema, textToContentNode, themeModeSchema, timelineSchema, timelineStepSchema, toContentNodes, typingStepSchema, validateConfig };