@wise/dynamic-flow-types 3.14.0 → 3.15.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.
@@ -107,6 +107,84 @@ export declare const avatarTextContentSchema: z.ZodObject<{
107
107
  text: string;
108
108
  badgeUri?: string | undefined;
109
109
  }>;
110
+ export declare const avatarContentSchema: z.ZodUnion<[z.ZodObject<{
111
+ type: z.ZodLiteral<"text">;
112
+ text: z.ZodString;
113
+ badgeUri: z.ZodOptional<z.ZodString>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ type: "text";
116
+ text: string;
117
+ badgeUri?: string | undefined;
118
+ }, {
119
+ type: "text";
120
+ text: string;
121
+ badgeUri?: string | undefined;
122
+ }>, z.ZodObject<{
123
+ type: z.ZodLiteral<"uri">;
124
+ uri: z.ZodString;
125
+ badgeUri: z.ZodOptional<z.ZodString>;
126
+ }, "strip", z.ZodTypeAny, {
127
+ type: "uri";
128
+ uri: string;
129
+ badgeUri?: string | undefined;
130
+ }, {
131
+ type: "uri";
132
+ uri: string;
133
+ badgeUri?: string | undefined;
134
+ }>]>;
135
+ export declare const mediaAvatarSchema: z.ZodObject<{
136
+ type: z.ZodLiteral<"avatar">;
137
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
138
+ type: z.ZodLiteral<"text">;
139
+ text: z.ZodString;
140
+ badgeUri: z.ZodOptional<z.ZodString>;
141
+ }, "strip", z.ZodTypeAny, {
142
+ type: "text";
143
+ text: string;
144
+ badgeUri?: string | undefined;
145
+ }, {
146
+ type: "text";
147
+ text: string;
148
+ badgeUri?: string | undefined;
149
+ }>, z.ZodObject<{
150
+ type: z.ZodLiteral<"uri">;
151
+ uri: z.ZodString;
152
+ badgeUri: z.ZodOptional<z.ZodString>;
153
+ }, "strip", z.ZodTypeAny, {
154
+ type: "uri";
155
+ uri: string;
156
+ badgeUri?: string | undefined;
157
+ }, {
158
+ type: "uri";
159
+ uri: string;
160
+ badgeUri?: string | undefined;
161
+ }>]>, "many">;
162
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ type: "avatar";
165
+ content: ({
166
+ type: "uri";
167
+ uri: string;
168
+ badgeUri?: string | undefined;
169
+ } | {
170
+ type: "text";
171
+ text: string;
172
+ badgeUri?: string | undefined;
173
+ })[];
174
+ accessibilityDescription?: string | undefined;
175
+ }, {
176
+ type: "avatar";
177
+ content: ({
178
+ type: "uri";
179
+ uri: string;
180
+ badgeUri?: string | undefined;
181
+ } | {
182
+ type: "text";
183
+ text: string;
184
+ badgeUri?: string | undefined;
185
+ })[];
186
+ accessibilityDescription?: string | undefined;
187
+ }>;
110
188
  export declare const autocompleteTokenSchema: z.ZodUnion<[z.ZodLiteral<"on">, z.ZodLiteral<"name">, z.ZodLiteral<"name-prefix">, z.ZodLiteral<"given-name">, z.ZodLiteral<"additional-name">, z.ZodLiteral<"family-name">, z.ZodLiteral<"name-suffix">, z.ZodLiteral<"nickname">, z.ZodLiteral<"email">, z.ZodLiteral<"username">, z.ZodLiteral<"new-username">, z.ZodLiteral<"new-password">, z.ZodLiteral<"password">, z.ZodLiteral<"one-time-code">, z.ZodLiteral<"job-title">, z.ZodLiteral<"organization-name">, z.ZodLiteral<"full-street-address">, z.ZodLiteral<"street-address-line-1">, z.ZodLiteral<"street-address-line-2">, z.ZodLiteral<"street-address-line-3">, z.ZodLiteral<"address-level-1">, z.ZodLiteral<"address-level-2">, z.ZodLiteral<"address-level-3">, z.ZodLiteral<"address-level-4">, z.ZodLiteral<"country-code">, z.ZodLiteral<"country-name">, z.ZodLiteral<"postal-code">, z.ZodLiteral<"credit-card-name">, z.ZodLiteral<"credit-card-given-name">, z.ZodLiteral<"credit-card-middle-name">, z.ZodLiteral<"credit-card-family-name">, z.ZodLiteral<"credit-card-number">, z.ZodLiteral<"credit-card-expiration">, z.ZodLiteral<"credit-card-expiration-month">, z.ZodLiteral<"credit-card-expiration-year">, z.ZodLiteral<"credit-card-security-code">, z.ZodLiteral<"credit-card-type">, z.ZodLiteral<"transaction-currency">, z.ZodLiteral<"transaction-amount">, z.ZodLiteral<"language">, z.ZodLiteral<"birthdate">, z.ZodLiteral<"birthdate-day">, z.ZodLiteral<"birthdate-month">, z.ZodLiteral<"birthdate-year">, z.ZodLiteral<"gender">, z.ZodLiteral<"phone-number">, z.ZodLiteral<"phone-country-code">, z.ZodLiteral<"phone-national">, z.ZodLiteral<"phone-area-code">, z.ZodLiteral<"phone-local">, z.ZodLiteral<"phone-local-prefix">, z.ZodLiteral<"phone-local-suffix">, z.ZodLiteral<"phone-extension">, z.ZodLiteral<"url">, z.ZodLiteral<"photo">, z.ZodLiteral<"impp">, z.ZodLiteral<"shipping">, z.ZodLiteral<"billing">, z.ZodLiteral<"home">, z.ZodLiteral<"work">, z.ZodLiteral<"mobile">, z.ZodLiteral<"fax">, z.ZodLiteral<"pager">]>;
111
189
  export declare const loadingIndicatorLayoutSchema: z.ZodObject<{
112
190
  type: z.ZodLiteral<"loading-indicator">;
@@ -373,6 +451,53 @@ export declare const headingLayoutSchema: z.ZodObject<{
373
451
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
374
452
  align?: "left" | "right" | "center" | undefined;
375
453
  }>;
454
+ export declare const instructionsLayoutSchema: z.ZodObject<{
455
+ type: z.ZodLiteral<"instructions">;
456
+ title: z.ZodOptional<z.ZodString>;
457
+ items: z.ZodArray<z.ZodObject<{
458
+ text: z.ZodString;
459
+ context: z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>;
460
+ tag: z.ZodOptional<z.ZodString>;
461
+ analyticsId: z.ZodOptional<z.ZodString>;
462
+ }, "strip", z.ZodTypeAny, {
463
+ text: string;
464
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
465
+ analyticsId?: string | undefined;
466
+ tag?: string | undefined;
467
+ }, {
468
+ text: string;
469
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
470
+ analyticsId?: string | undefined;
471
+ tag?: string | undefined;
472
+ }>, "many">;
473
+ control: z.ZodOptional<z.ZodString>;
474
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
475
+ analyticsId: z.ZodOptional<z.ZodString>;
476
+ }, "strip", z.ZodTypeAny, {
477
+ type: "instructions";
478
+ items: {
479
+ text: string;
480
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
481
+ analyticsId?: string | undefined;
482
+ tag?: string | undefined;
483
+ }[];
484
+ analyticsId?: string | undefined;
485
+ title?: string | undefined;
486
+ control?: string | undefined;
487
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
488
+ }, {
489
+ type: "instructions";
490
+ items: {
491
+ text: string;
492
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
493
+ analyticsId?: string | undefined;
494
+ tag?: string | undefined;
495
+ }[];
496
+ analyticsId?: string | undefined;
497
+ title?: string | undefined;
498
+ control?: string | undefined;
499
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
500
+ }>;
376
501
  export declare const markdownLayoutSchema: z.ZodObject<{
377
502
  type: z.ZodLiteral<"markdown">;
378
503
  content: z.ZodString;
@@ -395,7 +520,116 @@ export declare const markdownLayoutSchema: z.ZodObject<{
395
520
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
396
521
  align?: "left" | "right" | "center" | undefined;
397
522
  }>;
523
+ export declare const progressLayoutSchema: z.ZodObject<{
524
+ type: z.ZodLiteral<"progress">;
525
+ title: z.ZodOptional<z.ZodString>;
526
+ description: z.ZodOptional<z.ZodString>;
527
+ progress: z.ZodNumber;
528
+ progressText: z.ZodString;
529
+ context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
530
+ help: z.ZodOptional<z.ZodObject<{
531
+ markdown: z.ZodString;
532
+ }, "strip", z.ZodTypeAny, {
533
+ markdown: string;
534
+ }, {
535
+ markdown: string;
536
+ }>>;
537
+ control: z.ZodOptional<z.ZodString>;
538
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
539
+ analyticsId: z.ZodOptional<z.ZodString>;
540
+ }, "strip", z.ZodTypeAny, {
541
+ type: "progress";
542
+ progress: number;
543
+ progressText: string;
544
+ analyticsId?: string | undefined;
545
+ description?: string | undefined;
546
+ help?: {
547
+ markdown: string;
548
+ } | undefined;
549
+ title?: string | undefined;
550
+ control?: string | undefined;
551
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
552
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
553
+ }, {
554
+ type: "progress";
555
+ progress: number;
556
+ progressText: string;
557
+ analyticsId?: string | undefined;
558
+ description?: string | undefined;
559
+ help?: {
560
+ markdown: string;
561
+ } | undefined;
562
+ title?: string | undefined;
563
+ control?: string | undefined;
564
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
565
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
566
+ }>;
398
567
  export declare const columnsLayoutBiasSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>;
568
+ export declare const mediaSchema: z.ZodUnion<[z.ZodObject<{
569
+ type: z.ZodLiteral<"avatar">;
570
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
571
+ type: z.ZodLiteral<"text">;
572
+ text: z.ZodString;
573
+ badgeUri: z.ZodOptional<z.ZodString>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ type: "text";
576
+ text: string;
577
+ badgeUri?: string | undefined;
578
+ }, {
579
+ type: "text";
580
+ text: string;
581
+ badgeUri?: string | undefined;
582
+ }>, z.ZodObject<{
583
+ type: z.ZodLiteral<"uri">;
584
+ uri: z.ZodString;
585
+ badgeUri: z.ZodOptional<z.ZodString>;
586
+ }, "strip", z.ZodTypeAny, {
587
+ type: "uri";
588
+ uri: string;
589
+ badgeUri?: string | undefined;
590
+ }, {
591
+ type: "uri";
592
+ uri: string;
593
+ badgeUri?: string | undefined;
594
+ }>]>, "many">;
595
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ type: "avatar";
598
+ content: ({
599
+ type: "uri";
600
+ uri: string;
601
+ badgeUri?: string | undefined;
602
+ } | {
603
+ type: "text";
604
+ text: string;
605
+ badgeUri?: string | undefined;
606
+ })[];
607
+ accessibilityDescription?: string | undefined;
608
+ }, {
609
+ type: "avatar";
610
+ content: ({
611
+ type: "uri";
612
+ uri: string;
613
+ badgeUri?: string | undefined;
614
+ } | {
615
+ type: "text";
616
+ text: string;
617
+ badgeUri?: string | undefined;
618
+ })[];
619
+ accessibilityDescription?: string | undefined;
620
+ }>, z.ZodObject<{
621
+ type: z.ZodLiteral<"image">;
622
+ uri: z.ZodString;
623
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
624
+ }, "strip", z.ZodTypeAny, {
625
+ type: "image";
626
+ uri: string;
627
+ accessibilityDescription?: string | undefined;
628
+ }, {
629
+ type: "image";
630
+ uri: string;
631
+ accessibilityDescription?: string | undefined;
632
+ }>]>;
399
633
  export declare const searchSearchRequestSchema: z.ZodObject<{
400
634
  url: z.ZodString;
401
635
  method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
@@ -412,729 +646,674 @@ export declare const searchSearchRequestSchema: z.ZodObject<{
412
646
  param: string;
413
647
  query: string;
414
648
  }>;
415
- export declare const jsonElementSchema: z.ZodSchema<JsonElement>;
416
- export declare const externalSchema: z.ZodObject<{
417
- url: z.ZodString;
418
- }, "strip", z.ZodTypeAny, {
419
- url: string;
420
- }, {
421
- url: string;
422
- }>;
423
- export declare const stepErrorSchema: z.ZodObject<{
424
- error: z.ZodOptional<z.ZodString>;
425
- validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
426
- }, "strip", z.ZodTypeAny, {
427
- validation?: JsonElement | undefined;
428
- error?: string | undefined;
429
- }, {
430
- validation?: JsonElement | undefined;
431
- error?: string | undefined;
432
- }>;
433
- export declare const stringSchemaFormatSchema: z.ZodUnion<[z.ZodLiteral<"date">, z.ZodLiteral<"email">, z.ZodLiteral<"numeric">, z.ZodLiteral<"password">, z.ZodLiteral<"phone-number">, z.ZodLiteral<"base64url">]>;
434
- export declare const validateAsyncSchema: z.ZodObject<{
435
- param: z.ZodString;
436
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
437
- url: z.ZodString;
438
- }, "strip", z.ZodTypeAny, {
439
- url: string;
440
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
441
- param: string;
442
- }, {
443
- url: string;
444
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
445
- param: string;
446
- }>;
447
- export declare const summaryProviderSchema: z.ZodObject<{
448
- providesTitle: z.ZodOptional<z.ZodBoolean>;
449
- providesDescription: z.ZodOptional<z.ZodBoolean>;
450
- providesIcon: z.ZodOptional<z.ZodBoolean>;
451
- providesImage: z.ZodOptional<z.ZodBoolean>;
452
- providesMedia: z.ZodOptional<z.ZodBoolean>;
453
- }, "strip", z.ZodTypeAny, {
454
- providesTitle?: boolean | undefined;
455
- providesDescription?: boolean | undefined;
456
- providesIcon?: boolean | undefined;
457
- providesImage?: boolean | undefined;
458
- providesMedia?: boolean | undefined;
459
- }, {
460
- providesTitle?: boolean | undefined;
461
- providesDescription?: boolean | undefined;
462
- providesIcon?: boolean | undefined;
463
- providesImage?: boolean | undefined;
464
- providesMedia?: boolean | undefined;
465
- }>;
466
- export declare const uploadSourceSchema: z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>;
467
- export declare const dismissBehaviorSchema: z.ZodObject<{
468
- type: z.ZodLiteral<"dismiss">;
469
- }, "strip", z.ZodTypeAny, {
470
- type: "dismiss";
471
- }, {
472
- type: "dismiss";
473
- }>;
474
- export declare const copyBehaviorSchema: z.ZodObject<{
475
- type: z.ZodLiteral<"copy">;
476
- content: z.ZodString;
649
+ export declare const searchResultSearchSchema: z.ZodObject<{
650
+ type: z.ZodLiteral<"search">;
651
+ title: z.ZodString;
652
+ description: z.ZodOptional<z.ZodString>;
653
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
654
+ name: z.ZodString;
655
+ }, "strip", z.ZodTypeAny, {
656
+ name: string;
657
+ }, {
658
+ name: string;
659
+ }>, z.ZodObject<{
660
+ text: z.ZodString;
661
+ }, "strip", z.ZodTypeAny, {
662
+ text: string;
663
+ }, {
664
+ text: string;
665
+ }>]>>;
666
+ image: z.ZodOptional<z.ZodObject<{
667
+ text: z.ZodOptional<z.ZodString>;
668
+ url: z.ZodOptional<z.ZodString>;
669
+ uri: z.ZodOptional<z.ZodString>;
670
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
671
+ }, "strip", z.ZodTypeAny, {
672
+ url?: string | undefined;
673
+ text?: string | undefined;
674
+ uri?: string | undefined;
675
+ accessibilityDescription?: string | undefined;
676
+ }, {
677
+ url?: string | undefined;
678
+ text?: string | undefined;
679
+ uri?: string | undefined;
680
+ accessibilityDescription?: string | undefined;
681
+ }>>;
682
+ value: z.ZodObject<{
683
+ url: z.ZodString;
684
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
685
+ param: z.ZodString;
686
+ query: z.ZodString;
687
+ }, "strip", z.ZodTypeAny, {
688
+ url: string;
689
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
690
+ param: string;
691
+ query: string;
692
+ }, {
693
+ url: string;
694
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
695
+ param: string;
696
+ query: string;
697
+ }>;
698
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
699
+ type: z.ZodLiteral<"avatar">;
700
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
701
+ type: z.ZodLiteral<"text">;
702
+ text: z.ZodString;
703
+ badgeUri: z.ZodOptional<z.ZodString>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ type: "text";
706
+ text: string;
707
+ badgeUri?: string | undefined;
708
+ }, {
709
+ type: "text";
710
+ text: string;
711
+ badgeUri?: string | undefined;
712
+ }>, z.ZodObject<{
713
+ type: z.ZodLiteral<"uri">;
714
+ uri: z.ZodString;
715
+ badgeUri: z.ZodOptional<z.ZodString>;
716
+ }, "strip", z.ZodTypeAny, {
717
+ type: "uri";
718
+ uri: string;
719
+ badgeUri?: string | undefined;
720
+ }, {
721
+ type: "uri";
722
+ uri: string;
723
+ badgeUri?: string | undefined;
724
+ }>]>, "many">;
725
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
726
+ }, "strip", z.ZodTypeAny, {
727
+ type: "avatar";
728
+ content: ({
729
+ type: "uri";
730
+ uri: string;
731
+ badgeUri?: string | undefined;
732
+ } | {
733
+ type: "text";
734
+ text: string;
735
+ badgeUri?: string | undefined;
736
+ })[];
737
+ accessibilityDescription?: string | undefined;
738
+ }, {
739
+ type: "avatar";
740
+ content: ({
741
+ type: "uri";
742
+ uri: string;
743
+ badgeUri?: string | undefined;
744
+ } | {
745
+ type: "text";
746
+ text: string;
747
+ badgeUri?: string | undefined;
748
+ })[];
749
+ accessibilityDescription?: string | undefined;
750
+ }>, z.ZodObject<{
751
+ type: z.ZodLiteral<"image">;
752
+ uri: z.ZodString;
753
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
754
+ }, "strip", z.ZodTypeAny, {
755
+ type: "image";
756
+ uri: string;
757
+ accessibilityDescription?: string | undefined;
758
+ }, {
759
+ type: "image";
760
+ uri: string;
761
+ accessibilityDescription?: string | undefined;
762
+ }>]>>;
477
763
  }, "strip", z.ZodTypeAny, {
478
- type: "copy";
479
- content: string;
764
+ type: "search";
765
+ title: string;
766
+ value: {
767
+ url: string;
768
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
769
+ param: string;
770
+ query: string;
771
+ };
772
+ image?: {
773
+ url?: string | undefined;
774
+ text?: string | undefined;
775
+ uri?: string | undefined;
776
+ accessibilityDescription?: string | undefined;
777
+ } | undefined;
778
+ description?: string | undefined;
779
+ icon?: {
780
+ name: string;
781
+ } | {
782
+ text: string;
783
+ } | undefined;
784
+ media?: {
785
+ type: "image";
786
+ uri: string;
787
+ accessibilityDescription?: string | undefined;
788
+ } | {
789
+ type: "avatar";
790
+ content: ({
791
+ type: "uri";
792
+ uri: string;
793
+ badgeUri?: string | undefined;
794
+ } | {
795
+ type: "text";
796
+ text: string;
797
+ badgeUri?: string | undefined;
798
+ })[];
799
+ accessibilityDescription?: string | undefined;
800
+ } | undefined;
480
801
  }, {
481
- type: "copy";
482
- content: string;
802
+ type: "search";
803
+ title: string;
804
+ value: {
805
+ url: string;
806
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
807
+ param: string;
808
+ query: string;
809
+ };
810
+ image?: {
811
+ url?: string | undefined;
812
+ text?: string | undefined;
813
+ uri?: string | undefined;
814
+ accessibilityDescription?: string | undefined;
815
+ } | undefined;
816
+ description?: string | undefined;
817
+ icon?: {
818
+ name: string;
819
+ } | {
820
+ text: string;
821
+ } | undefined;
822
+ media?: {
823
+ type: "image";
824
+ uri: string;
825
+ accessibilityDescription?: string | undefined;
826
+ } | {
827
+ type: "avatar";
828
+ content: ({
829
+ type: "uri";
830
+ uri: string;
831
+ badgeUri?: string | undefined;
832
+ } | {
833
+ type: "text";
834
+ text: string;
835
+ badgeUri?: string | undefined;
836
+ })[];
837
+ accessibilityDescription?: string | undefined;
838
+ } | undefined;
483
839
  }>;
484
- export declare const navigationStackBehaviorSchema: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>;
485
- export declare const actionTypeSchema: z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>;
486
- export declare const linkBehaviorSchema: z.ZodObject<{
487
- type: z.ZodLiteral<"link">;
840
+ export declare const jsonElementSchema: z.ZodSchema<JsonElement>;
841
+ export declare const externalSchema: z.ZodObject<{
488
842
  url: z.ZodString;
489
843
  }, "strip", z.ZodTypeAny, {
490
844
  url: string;
491
- type: "link";
492
845
  }, {
493
846
  url: string;
494
- type: "link";
495
847
  }>;
496
- export declare const refreshBehaviorSchema: z.ZodObject<{
497
- type: z.ZodLiteral<"refresh">;
848
+ export declare const stepErrorSchema: z.ZodObject<{
849
+ error: z.ZodOptional<z.ZodString>;
850
+ validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
498
851
  }, "strip", z.ZodTypeAny, {
499
- type: "refresh";
852
+ validation?: JsonElement | undefined;
853
+ error?: string | undefined;
500
854
  }, {
501
- type: "refresh";
855
+ validation?: JsonElement | undefined;
856
+ error?: string | undefined;
502
857
  }>;
503
- export declare const linkSchema: z.ZodObject<{
504
- url: z.ZodString;
505
- }, "strip", z.ZodTypeAny, {
506
- url: string;
507
- }, {
508
- url: string;
509
- }>;
510
- export declare const avatarContentSchema: z.ZodUnion<[z.ZodObject<{
511
- type: z.ZodLiteral<"text">;
512
- text: z.ZodString;
513
- badgeUri: z.ZodOptional<z.ZodString>;
514
- }, "strip", z.ZodTypeAny, {
515
- type: "text";
516
- text: string;
517
- badgeUri?: string | undefined;
518
- }, {
519
- type: "text";
520
- text: string;
521
- badgeUri?: string | undefined;
522
- }>, z.ZodObject<{
523
- type: z.ZodLiteral<"uri">;
524
- uri: z.ZodString;
525
- badgeUri: z.ZodOptional<z.ZodString>;
526
- }, "strip", z.ZodTypeAny, {
527
- type: "uri";
528
- uri: string;
529
- badgeUri?: string | undefined;
530
- }, {
531
- type: "uri";
532
- uri: string;
533
- badgeUri?: string | undefined;
534
- }>]>;
535
- export declare const actionSchema: z.ZodObject<{
536
- title: z.ZodOptional<z.ZodString>;
537
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
538
- disabled: z.ZodOptional<z.ZodBoolean>;
539
- $id: z.ZodOptional<z.ZodString>;
540
- $ref: z.ZodOptional<z.ZodString>;
541
- id: z.ZodOptional<z.ZodString>;
542
- url: z.ZodOptional<z.ZodString>;
543
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
544
- exit: z.ZodOptional<z.ZodBoolean>;
545
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
546
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
547
- timeout: z.ZodOptional<z.ZodNumber>;
548
- skipValidation: z.ZodOptional<z.ZodBoolean>;
549
- }, "strip", z.ZodTypeAny, {
550
- url?: string | undefined;
551
- $id?: string | undefined;
552
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
553
- disabled?: boolean | undefined;
554
- title?: string | undefined;
555
- timeout?: number | undefined;
556
- id?: string | undefined;
557
- $ref?: string | undefined;
558
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
559
- exit?: boolean | undefined;
560
- result?: JsonElement | undefined;
561
- data?: JsonElement | undefined;
562
- skipValidation?: boolean | undefined;
563
- }, {
564
- url?: string | undefined;
565
- $id?: string | undefined;
566
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
567
- disabled?: boolean | undefined;
568
- title?: string | undefined;
569
- timeout?: number | undefined;
570
- id?: string | undefined;
571
- $ref?: string | undefined;
572
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
573
- exit?: boolean | undefined;
574
- result?: JsonElement | undefined;
575
- data?: JsonElement | undefined;
576
- skipValidation?: boolean | undefined;
577
- }>;
578
- export declare const instructionsLayoutSchema: z.ZodObject<{
579
- type: z.ZodLiteral<"instructions">;
580
- title: z.ZodOptional<z.ZodString>;
581
- items: z.ZodArray<z.ZodObject<{
858
+ export declare const stringSchemaFormatSchema: z.ZodUnion<[z.ZodLiteral<"date">, z.ZodLiteral<"email">, z.ZodLiteral<"numeric">, z.ZodLiteral<"password">, z.ZodLiteral<"phone-number">, z.ZodLiteral<"base64url">]>;
859
+ export declare const summarySummariserSchema: z.ZodObject<{
860
+ defaultTitle: z.ZodOptional<z.ZodString>;
861
+ defaultDescription: z.ZodOptional<z.ZodString>;
862
+ defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
863
+ name: z.ZodString;
864
+ }, "strip", z.ZodTypeAny, {
865
+ name: string;
866
+ }, {
867
+ name: string;
868
+ }>, z.ZodObject<{
582
869
  text: z.ZodString;
583
- context: z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>;
584
- tag: z.ZodOptional<z.ZodString>;
585
- analyticsId: z.ZodOptional<z.ZodString>;
586
870
  }, "strip", z.ZodTypeAny, {
587
871
  text: string;
588
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
589
- analyticsId?: string | undefined;
590
- tag?: string | undefined;
591
872
  }, {
592
873
  text: string;
593
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
594
- analyticsId?: string | undefined;
595
- tag?: string | undefined;
596
- }>, "many">;
597
- control: z.ZodOptional<z.ZodString>;
598
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
599
- analyticsId: z.ZodOptional<z.ZodString>;
600
- }, "strip", z.ZodTypeAny, {
601
- type: "instructions";
602
- items: {
603
- text: string;
604
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
605
- analyticsId?: string | undefined;
606
- tag?: string | undefined;
607
- }[];
608
- analyticsId?: string | undefined;
609
- title?: string | undefined;
610
- control?: string | undefined;
611
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
612
- }, {
613
- type: "instructions";
614
- items: {
615
- text: string;
616
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
617
- analyticsId?: string | undefined;
618
- tag?: string | undefined;
619
- }[];
620
- analyticsId?: string | undefined;
621
- title?: string | undefined;
622
- control?: string | undefined;
623
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
624
- }>;
625
- export declare const progressLayoutSchema: z.ZodObject<{
626
- type: z.ZodLiteral<"progress">;
627
- title: z.ZodOptional<z.ZodString>;
628
- description: z.ZodOptional<z.ZodString>;
629
- progress: z.ZodNumber;
630
- progressText: z.ZodString;
631
- context: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"positive">, z.ZodLiteral<"neutral">, z.ZodLiteral<"warning">, z.ZodLiteral<"negative">, z.ZodLiteral<"success">, z.ZodLiteral<"failure">, z.ZodLiteral<"info">, z.ZodLiteral<"primary">]>>;
632
- help: z.ZodOptional<z.ZodObject<{
633
- markdown: z.ZodString;
874
+ }>]>>;
875
+ defaultImage: z.ZodOptional<z.ZodObject<{
876
+ text: z.ZodOptional<z.ZodString>;
877
+ url: z.ZodOptional<z.ZodString>;
878
+ uri: z.ZodOptional<z.ZodString>;
879
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
634
880
  }, "strip", z.ZodTypeAny, {
635
- markdown: string;
881
+ url?: string | undefined;
882
+ text?: string | undefined;
883
+ uri?: string | undefined;
884
+ accessibilityDescription?: string | undefined;
636
885
  }, {
637
- markdown: string;
886
+ url?: string | undefined;
887
+ text?: string | undefined;
888
+ uri?: string | undefined;
889
+ accessibilityDescription?: string | undefined;
638
890
  }>>;
639
- control: z.ZodOptional<z.ZodString>;
640
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
641
- analyticsId: z.ZodOptional<z.ZodString>;
891
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
892
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
893
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
894
+ providesImage: z.ZodOptional<z.ZodBoolean>;
895
+ defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
896
+ type: z.ZodLiteral<"avatar">;
897
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
898
+ type: z.ZodLiteral<"text">;
899
+ text: z.ZodString;
900
+ badgeUri: z.ZodOptional<z.ZodString>;
901
+ }, "strip", z.ZodTypeAny, {
902
+ type: "text";
903
+ text: string;
904
+ badgeUri?: string | undefined;
905
+ }, {
906
+ type: "text";
907
+ text: string;
908
+ badgeUri?: string | undefined;
909
+ }>, z.ZodObject<{
910
+ type: z.ZodLiteral<"uri">;
911
+ uri: z.ZodString;
912
+ badgeUri: z.ZodOptional<z.ZodString>;
913
+ }, "strip", z.ZodTypeAny, {
914
+ type: "uri";
915
+ uri: string;
916
+ badgeUri?: string | undefined;
917
+ }, {
918
+ type: "uri";
919
+ uri: string;
920
+ badgeUri?: string | undefined;
921
+ }>]>, "many">;
922
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
923
+ }, "strip", z.ZodTypeAny, {
924
+ type: "avatar";
925
+ content: ({
926
+ type: "uri";
927
+ uri: string;
928
+ badgeUri?: string | undefined;
929
+ } | {
930
+ type: "text";
931
+ text: string;
932
+ badgeUri?: string | undefined;
933
+ })[];
934
+ accessibilityDescription?: string | undefined;
935
+ }, {
936
+ type: "avatar";
937
+ content: ({
938
+ type: "uri";
939
+ uri: string;
940
+ badgeUri?: string | undefined;
941
+ } | {
942
+ type: "text";
943
+ text: string;
944
+ badgeUri?: string | undefined;
945
+ })[];
946
+ accessibilityDescription?: string | undefined;
947
+ }>, z.ZodObject<{
948
+ type: z.ZodLiteral<"image">;
949
+ uri: z.ZodString;
950
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
951
+ }, "strip", z.ZodTypeAny, {
952
+ type: "image";
953
+ uri: string;
954
+ accessibilityDescription?: string | undefined;
955
+ }, {
956
+ type: "image";
957
+ uri: string;
958
+ accessibilityDescription?: string | undefined;
959
+ }>]>>;
960
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
642
961
  }, "strip", z.ZodTypeAny, {
643
- type: "progress";
644
- progress: number;
645
- progressText: string;
646
- analyticsId?: string | undefined;
647
- description?: string | undefined;
648
- help?: {
649
- markdown: string;
962
+ defaultTitle?: string | undefined;
963
+ defaultDescription?: string | undefined;
964
+ defaultIcon?: {
965
+ name: string;
966
+ } | {
967
+ text: string;
650
968
  } | undefined;
651
- title?: string | undefined;
652
- control?: string | undefined;
653
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
654
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
655
- }, {
656
- type: "progress";
657
- progress: number;
658
- progressText: string;
659
- analyticsId?: string | undefined;
660
- description?: string | undefined;
661
- help?: {
662
- markdown: string;
969
+ defaultImage?: {
970
+ url?: string | undefined;
971
+ text?: string | undefined;
972
+ uri?: string | undefined;
973
+ accessibilityDescription?: string | undefined;
663
974
  } | undefined;
664
- title?: string | undefined;
665
- control?: string | undefined;
666
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
667
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
668
- }>;
669
- export declare const actionResponseBodySchema: z.ZodObject<{
670
- action: z.ZodObject<{
671
- title: z.ZodOptional<z.ZodString>;
672
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
673
- disabled: z.ZodOptional<z.ZodBoolean>;
674
- $id: z.ZodOptional<z.ZodString>;
675
- $ref: z.ZodOptional<z.ZodString>;
676
- id: z.ZodOptional<z.ZodString>;
677
- url: z.ZodOptional<z.ZodString>;
678
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
679
- exit: z.ZodOptional<z.ZodBoolean>;
680
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
681
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
682
- timeout: z.ZodOptional<z.ZodNumber>;
683
- skipValidation: z.ZodOptional<z.ZodBoolean>;
684
- }, "strip", z.ZodTypeAny, {
685
- url?: string | undefined;
686
- $id?: string | undefined;
687
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
688
- disabled?: boolean | undefined;
689
- title?: string | undefined;
690
- timeout?: number | undefined;
691
- id?: string | undefined;
692
- $ref?: string | undefined;
693
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
694
- exit?: boolean | undefined;
695
- result?: JsonElement | undefined;
696
- data?: JsonElement | undefined;
697
- skipValidation?: boolean | undefined;
698
- }, {
975
+ providesTitle?: boolean | undefined;
976
+ providesDescription?: boolean | undefined;
977
+ providesIcon?: boolean | undefined;
978
+ providesImage?: boolean | undefined;
979
+ defaultMedia?: {
980
+ type: "image";
981
+ uri: string;
982
+ accessibilityDescription?: string | undefined;
983
+ } | {
984
+ type: "avatar";
985
+ content: ({
986
+ type: "uri";
987
+ uri: string;
988
+ badgeUri?: string | undefined;
989
+ } | {
990
+ type: "text";
991
+ text: string;
992
+ badgeUri?: string | undefined;
993
+ })[];
994
+ accessibilityDescription?: string | undefined;
995
+ } | undefined;
996
+ providesMedia?: boolean | undefined;
997
+ }, {
998
+ defaultTitle?: string | undefined;
999
+ defaultDescription?: string | undefined;
1000
+ defaultIcon?: {
1001
+ name: string;
1002
+ } | {
1003
+ text: string;
1004
+ } | undefined;
1005
+ defaultImage?: {
699
1006
  url?: string | undefined;
700
- $id?: string | undefined;
701
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
702
- disabled?: boolean | undefined;
703
- title?: string | undefined;
704
- timeout?: number | undefined;
705
- id?: string | undefined;
706
- $ref?: string | undefined;
707
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
708
- exit?: boolean | undefined;
709
- result?: JsonElement | undefined;
710
- data?: JsonElement | undefined;
711
- skipValidation?: boolean | undefined;
712
- }>;
1007
+ text?: string | undefined;
1008
+ uri?: string | undefined;
1009
+ accessibilityDescription?: string | undefined;
1010
+ } | undefined;
1011
+ providesTitle?: boolean | undefined;
1012
+ providesDescription?: boolean | undefined;
1013
+ providesIcon?: boolean | undefined;
1014
+ providesImage?: boolean | undefined;
1015
+ defaultMedia?: {
1016
+ type: "image";
1017
+ uri: string;
1018
+ accessibilityDescription?: string | undefined;
1019
+ } | {
1020
+ type: "avatar";
1021
+ content: ({
1022
+ type: "uri";
1023
+ uri: string;
1024
+ badgeUri?: string | undefined;
1025
+ } | {
1026
+ type: "text";
1027
+ text: string;
1028
+ badgeUri?: string | undefined;
1029
+ })[];
1030
+ accessibilityDescription?: string | undefined;
1031
+ } | undefined;
1032
+ providesMedia?: boolean | undefined;
1033
+ }>;
1034
+ export declare const validateAsyncSchema: z.ZodObject<{
1035
+ param: z.ZodString;
1036
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
1037
+ url: z.ZodString;
713
1038
  }, "strip", z.ZodTypeAny, {
714
- action: {
715
- url?: string | undefined;
716
- $id?: string | undefined;
717
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
718
- disabled?: boolean | undefined;
719
- title?: string | undefined;
720
- timeout?: number | undefined;
721
- id?: string | undefined;
722
- $ref?: string | undefined;
723
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
724
- exit?: boolean | undefined;
725
- result?: JsonElement | undefined;
726
- data?: JsonElement | undefined;
727
- skipValidation?: boolean | undefined;
728
- };
1039
+ url: string;
1040
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1041
+ param: string;
729
1042
  }, {
730
- action: {
731
- url?: string | undefined;
732
- $id?: string | undefined;
733
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
734
- disabled?: boolean | undefined;
735
- title?: string | undefined;
736
- timeout?: number | undefined;
737
- id?: string | undefined;
738
- $ref?: string | undefined;
739
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
740
- exit?: boolean | undefined;
741
- result?: JsonElement | undefined;
742
- data?: JsonElement | undefined;
743
- skipValidation?: boolean | undefined;
744
- };
1043
+ url: string;
1044
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1045
+ param: string;
745
1046
  }>;
746
- export declare const errorResponseBodySchema: z.ZodObject<{
747
- refreshFormUrl: z.ZodOptional<z.ZodString>;
748
- analytics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
749
- error: z.ZodOptional<z.ZodString>;
750
- validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
751
- refreshUrl: z.ZodOptional<z.ZodString>;
1047
+ export declare const summaryProviderSchema: z.ZodObject<{
1048
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
1049
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
1050
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
1051
+ providesImage: z.ZodOptional<z.ZodBoolean>;
1052
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
752
1053
  }, "strip", z.ZodTypeAny, {
753
- refreshUrl?: string | undefined;
754
- refreshFormUrl?: string | undefined;
755
- analytics?: Record<string, string> | undefined;
756
- validation?: JsonElement | undefined;
757
- error?: string | undefined;
1054
+ providesTitle?: boolean | undefined;
1055
+ providesDescription?: boolean | undefined;
1056
+ providesIcon?: boolean | undefined;
1057
+ providesImage?: boolean | undefined;
1058
+ providesMedia?: boolean | undefined;
758
1059
  }, {
759
- refreshUrl?: string | undefined;
760
- refreshFormUrl?: string | undefined;
761
- analytics?: Record<string, string> | undefined;
762
- validation?: JsonElement | undefined;
763
- error?: string | undefined;
1060
+ providesTitle?: boolean | undefined;
1061
+ providesDescription?: boolean | undefined;
1062
+ providesIcon?: boolean | undefined;
1063
+ providesImage?: boolean | undefined;
1064
+ providesMedia?: boolean | undefined;
764
1065
  }>;
765
- export declare const navigationBackBehaviorSchema: z.ZodObject<{
766
- title: z.ZodOptional<z.ZodString>;
767
- action: z.ZodObject<{
768
- title: z.ZodOptional<z.ZodString>;
769
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
770
- disabled: z.ZodOptional<z.ZodBoolean>;
771
- $id: z.ZodOptional<z.ZodString>;
772
- $ref: z.ZodOptional<z.ZodString>;
773
- id: z.ZodOptional<z.ZodString>;
1066
+ export declare const uploadSourceSchema: z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>;
1067
+ export declare const suggestionsValueSchema: z.ZodObject<{
1068
+ label: z.ZodString;
1069
+ value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
1070
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1071
+ name: z.ZodString;
1072
+ }, "strip", z.ZodTypeAny, {
1073
+ name: string;
1074
+ }, {
1075
+ name: string;
1076
+ }>, z.ZodObject<{
1077
+ text: z.ZodString;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ text: string;
1080
+ }, {
1081
+ text: string;
1082
+ }>]>>;
1083
+ image: z.ZodOptional<z.ZodObject<{
1084
+ text: z.ZodOptional<z.ZodString>;
774
1085
  url: z.ZodOptional<z.ZodString>;
775
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
776
- exit: z.ZodOptional<z.ZodBoolean>;
777
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
778
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
779
- timeout: z.ZodOptional<z.ZodNumber>;
780
- skipValidation: z.ZodOptional<z.ZodBoolean>;
1086
+ uri: z.ZodOptional<z.ZodString>;
1087
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
781
1088
  }, "strip", z.ZodTypeAny, {
782
1089
  url?: string | undefined;
783
- $id?: string | undefined;
784
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
785
- disabled?: boolean | undefined;
786
- title?: string | undefined;
787
- timeout?: number | undefined;
788
- id?: string | undefined;
789
- $ref?: string | undefined;
790
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
791
- exit?: boolean | undefined;
792
- result?: JsonElement | undefined;
793
- data?: JsonElement | undefined;
794
- skipValidation?: boolean | undefined;
1090
+ text?: string | undefined;
1091
+ uri?: string | undefined;
1092
+ accessibilityDescription?: string | undefined;
795
1093
  }, {
796
1094
  url?: string | undefined;
797
- $id?: string | undefined;
798
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
799
- disabled?: boolean | undefined;
800
- title?: string | undefined;
801
- timeout?: number | undefined;
802
- id?: string | undefined;
803
- $ref?: string | undefined;
804
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
805
- exit?: boolean | undefined;
806
- result?: JsonElement | undefined;
807
- data?: JsonElement | undefined;
808
- skipValidation?: boolean | undefined;
809
- }>;
810
- }, "strip", z.ZodTypeAny, {
811
- action: {
812
- url?: string | undefined;
813
- $id?: string | undefined;
814
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
815
- disabled?: boolean | undefined;
816
- title?: string | undefined;
817
- timeout?: number | undefined;
818
- id?: string | undefined;
819
- $ref?: string | undefined;
820
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
821
- exit?: boolean | undefined;
822
- result?: JsonElement | undefined;
823
- data?: JsonElement | undefined;
824
- skipValidation?: boolean | undefined;
825
- };
826
- title?: string | undefined;
827
- }, {
828
- action: {
829
- url?: string | undefined;
830
- $id?: string | undefined;
831
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
832
- disabled?: boolean | undefined;
833
- title?: string | undefined;
834
- timeout?: number | undefined;
835
- id?: string | undefined;
836
- $ref?: string | undefined;
837
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
838
- exit?: boolean | undefined;
839
- result?: JsonElement | undefined;
840
- data?: JsonElement | undefined;
841
- skipValidation?: boolean | undefined;
842
- };
843
- title?: string | undefined;
844
- }>;
845
- export declare const actionBehaviorSchema: z.ZodObject<{
846
- type: z.ZodLiteral<"action">;
847
- action: z.ZodObject<{
848
- title: z.ZodOptional<z.ZodString>;
849
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
850
- disabled: z.ZodOptional<z.ZodBoolean>;
851
- $id: z.ZodOptional<z.ZodString>;
852
- $ref: z.ZodOptional<z.ZodString>;
853
- id: z.ZodOptional<z.ZodString>;
854
- url: z.ZodOptional<z.ZodString>;
855
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
856
- exit: z.ZodOptional<z.ZodBoolean>;
857
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
858
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
859
- timeout: z.ZodOptional<z.ZodNumber>;
860
- skipValidation: z.ZodOptional<z.ZodBoolean>;
861
- }, "strip", z.ZodTypeAny, {
862
- url?: string | undefined;
863
- $id?: string | undefined;
864
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
865
- disabled?: boolean | undefined;
866
- title?: string | undefined;
867
- timeout?: number | undefined;
868
- id?: string | undefined;
869
- $ref?: string | undefined;
870
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
871
- exit?: boolean | undefined;
872
- result?: JsonElement | undefined;
873
- data?: JsonElement | undefined;
874
- skipValidation?: boolean | undefined;
875
- }, {
876
- url?: string | undefined;
877
- $id?: string | undefined;
878
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
879
- disabled?: boolean | undefined;
880
- title?: string | undefined;
881
- timeout?: number | undefined;
882
- id?: string | undefined;
883
- $ref?: string | undefined;
884
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
885
- exit?: boolean | undefined;
886
- result?: JsonElement | undefined;
887
- data?: JsonElement | undefined;
888
- skipValidation?: boolean | undefined;
889
- }>;
890
- }, "strip", z.ZodTypeAny, {
891
- action: {
892
- url?: string | undefined;
893
- $id?: string | undefined;
894
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
895
- disabled?: boolean | undefined;
896
- title?: string | undefined;
897
- timeout?: number | undefined;
898
- id?: string | undefined;
899
- $ref?: string | undefined;
900
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
901
- exit?: boolean | undefined;
902
- result?: JsonElement | undefined;
903
- data?: JsonElement | undefined;
904
- skipValidation?: boolean | undefined;
905
- };
906
- type: "action";
907
- }, {
908
- action: {
909
- url?: string | undefined;
910
- $id?: string | undefined;
911
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
912
- disabled?: boolean | undefined;
913
- title?: string | undefined;
914
- timeout?: number | undefined;
915
- id?: string | undefined;
916
- $ref?: string | undefined;
917
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
918
- exit?: boolean | undefined;
919
- result?: JsonElement | undefined;
920
- data?: JsonElement | undefined;
921
- skipValidation?: boolean | undefined;
922
- };
923
- type: "action";
924
- }>;
925
- export declare const containerBehaviorSchema: z.ZodObject<{
926
- action: z.ZodOptional<z.ZodObject<{
927
- title: z.ZodOptional<z.ZodString>;
928
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
929
- disabled: z.ZodOptional<z.ZodBoolean>;
930
- $id: z.ZodOptional<z.ZodString>;
931
- $ref: z.ZodOptional<z.ZodString>;
932
- id: z.ZodOptional<z.ZodString>;
933
- url: z.ZodOptional<z.ZodString>;
934
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
935
- exit: z.ZodOptional<z.ZodBoolean>;
936
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
937
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
938
- timeout: z.ZodOptional<z.ZodNumber>;
939
- skipValidation: z.ZodOptional<z.ZodBoolean>;
940
- }, "strip", z.ZodTypeAny, {
941
- url?: string | undefined;
942
- $id?: string | undefined;
943
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
944
- disabled?: boolean | undefined;
945
- title?: string | undefined;
946
- timeout?: number | undefined;
947
- id?: string | undefined;
948
- $ref?: string | undefined;
949
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
950
- exit?: boolean | undefined;
951
- result?: JsonElement | undefined;
952
- data?: JsonElement | undefined;
953
- skipValidation?: boolean | undefined;
954
- }, {
955
- url?: string | undefined;
956
- $id?: string | undefined;
957
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
958
- disabled?: boolean | undefined;
959
- title?: string | undefined;
960
- timeout?: number | undefined;
961
- id?: string | undefined;
962
- $ref?: string | undefined;
963
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
964
- exit?: boolean | undefined;
965
- result?: JsonElement | undefined;
966
- data?: JsonElement | undefined;
967
- skipValidation?: boolean | undefined;
968
- }>>;
969
- link: z.ZodOptional<z.ZodObject<{
970
- url: z.ZodString;
971
- }, "strip", z.ZodTypeAny, {
972
- url: string;
973
- }, {
974
- url: string;
1095
+ text?: string | undefined;
1096
+ uri?: string | undefined;
1097
+ accessibilityDescription?: string | undefined;
975
1098
  }>>;
976
- }, "strip", z.ZodTypeAny, {
977
- action?: {
978
- url?: string | undefined;
979
- $id?: string | undefined;
980
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
981
- disabled?: boolean | undefined;
982
- title?: string | undefined;
983
- timeout?: number | undefined;
984
- id?: string | undefined;
985
- $ref?: string | undefined;
986
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
987
- exit?: boolean | undefined;
988
- result?: JsonElement | undefined;
989
- data?: JsonElement | undefined;
990
- skipValidation?: boolean | undefined;
991
- } | undefined;
992
- link?: {
993
- url: string;
994
- } | undefined;
995
- }, {
996
- action?: {
997
- url?: string | undefined;
998
- $id?: string | undefined;
999
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1000
- disabled?: boolean | undefined;
1001
- title?: string | undefined;
1002
- timeout?: number | undefined;
1003
- id?: string | undefined;
1004
- $ref?: string | undefined;
1005
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1006
- exit?: boolean | undefined;
1007
- result?: JsonElement | undefined;
1008
- data?: JsonElement | undefined;
1009
- skipValidation?: boolean | undefined;
1010
- } | undefined;
1011
- link?: {
1012
- url: string;
1013
- } | undefined;
1014
- }>;
1015
- export declare const mediaAvatarSchema: z.ZodObject<{
1016
- type: z.ZodLiteral<"avatar">;
1017
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1018
- type: z.ZodLiteral<"text">;
1019
- text: z.ZodString;
1020
- badgeUri: z.ZodOptional<z.ZodString>;
1021
- }, "strip", z.ZodTypeAny, {
1022
- type: "text";
1023
- text: string;
1024
- badgeUri?: string | undefined;
1025
- }, {
1026
- type: "text";
1027
- text: string;
1028
- badgeUri?: string | undefined;
1029
- }>, z.ZodObject<{
1030
- type: z.ZodLiteral<"uri">;
1031
- uri: z.ZodString;
1032
- badgeUri: z.ZodOptional<z.ZodString>;
1033
- }, "strip", z.ZodTypeAny, {
1034
- type: "uri";
1035
- uri: string;
1036
- badgeUri?: string | undefined;
1037
- }, {
1038
- type: "uri";
1039
- uri: string;
1040
- badgeUri?: string | undefined;
1041
- }>]>, "many">;
1042
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1043
- }, "strip", z.ZodTypeAny, {
1044
- type: "avatar";
1045
- content: ({
1046
- type: "uri";
1047
- uri: string;
1048
- badgeUri?: string | undefined;
1049
- } | {
1050
- type: "text";
1051
- text: string;
1052
- badgeUri?: string | undefined;
1053
- })[];
1054
- accessibilityDescription?: string | undefined;
1055
- }, {
1056
- type: "avatar";
1057
- content: ({
1058
- type: "uri";
1059
- uri: string;
1060
- badgeUri?: string | undefined;
1061
- } | {
1062
- type: "text";
1063
- text: string;
1064
- badgeUri?: string | undefined;
1065
- })[];
1066
- accessibilityDescription?: string | undefined;
1067
- }>;
1068
- export declare const mediaSchema: z.ZodUnion<[z.ZodObject<{
1069
- type: z.ZodLiteral<"avatar">;
1070
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1071
- type: z.ZodLiteral<"text">;
1072
- text: z.ZodString;
1073
- badgeUri: z.ZodOptional<z.ZodString>;
1099
+ tag: z.ZodOptional<z.ZodString>;
1100
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1101
+ type: z.ZodLiteral<"avatar">;
1102
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1103
+ type: z.ZodLiteral<"text">;
1104
+ text: z.ZodString;
1105
+ badgeUri: z.ZodOptional<z.ZodString>;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ type: "text";
1108
+ text: string;
1109
+ badgeUri?: string | undefined;
1110
+ }, {
1111
+ type: "text";
1112
+ text: string;
1113
+ badgeUri?: string | undefined;
1114
+ }>, z.ZodObject<{
1115
+ type: z.ZodLiteral<"uri">;
1116
+ uri: z.ZodString;
1117
+ badgeUri: z.ZodOptional<z.ZodString>;
1118
+ }, "strip", z.ZodTypeAny, {
1119
+ type: "uri";
1120
+ uri: string;
1121
+ badgeUri?: string | undefined;
1122
+ }, {
1123
+ type: "uri";
1124
+ uri: string;
1125
+ badgeUri?: string | undefined;
1126
+ }>]>, "many">;
1127
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1074
1128
  }, "strip", z.ZodTypeAny, {
1075
- type: "text";
1076
- text: string;
1077
- badgeUri?: string | undefined;
1129
+ type: "avatar";
1130
+ content: ({
1131
+ type: "uri";
1132
+ uri: string;
1133
+ badgeUri?: string | undefined;
1134
+ } | {
1135
+ type: "text";
1136
+ text: string;
1137
+ badgeUri?: string | undefined;
1138
+ })[];
1139
+ accessibilityDescription?: string | undefined;
1078
1140
  }, {
1079
- type: "text";
1080
- text: string;
1081
- badgeUri?: string | undefined;
1141
+ type: "avatar";
1142
+ content: ({
1143
+ type: "uri";
1144
+ uri: string;
1145
+ badgeUri?: string | undefined;
1146
+ } | {
1147
+ type: "text";
1148
+ text: string;
1149
+ badgeUri?: string | undefined;
1150
+ })[];
1151
+ accessibilityDescription?: string | undefined;
1082
1152
  }>, z.ZodObject<{
1083
- type: z.ZodLiteral<"uri">;
1153
+ type: z.ZodLiteral<"image">;
1084
1154
  uri: z.ZodString;
1085
- badgeUri: z.ZodOptional<z.ZodString>;
1155
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1086
1156
  }, "strip", z.ZodTypeAny, {
1087
- type: "uri";
1157
+ type: "image";
1088
1158
  uri: string;
1089
- badgeUri?: string | undefined;
1159
+ accessibilityDescription?: string | undefined;
1090
1160
  }, {
1091
- type: "uri";
1161
+ type: "image";
1092
1162
  uri: string;
1093
- badgeUri?: string | undefined;
1094
- }>]>, "many">;
1095
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1163
+ accessibilityDescription?: string | undefined;
1164
+ }>]>>;
1165
+ analyticsId: z.ZodOptional<z.ZodString>;
1096
1166
  }, "strip", z.ZodTypeAny, {
1097
- type: "avatar";
1098
- content: ({
1099
- type: "uri";
1100
- uri: string;
1101
- badgeUri?: string | undefined;
1167
+ value: JsonElement;
1168
+ label: string;
1169
+ image?: {
1170
+ url?: string | undefined;
1171
+ text?: string | undefined;
1172
+ uri?: string | undefined;
1173
+ accessibilityDescription?: string | undefined;
1174
+ } | undefined;
1175
+ analyticsId?: string | undefined;
1176
+ icon?: {
1177
+ name: string;
1102
1178
  } | {
1103
- type: "text";
1104
1179
  text: string;
1105
- badgeUri?: string | undefined;
1106
- })[];
1107
- accessibilityDescription?: string | undefined;
1108
- }, {
1109
- type: "avatar";
1110
- content: ({
1111
- type: "uri";
1180
+ } | undefined;
1181
+ tag?: string | undefined;
1182
+ media?: {
1183
+ type: "image";
1112
1184
  uri: string;
1113
- badgeUri?: string | undefined;
1185
+ accessibilityDescription?: string | undefined;
1186
+ } | {
1187
+ type: "avatar";
1188
+ content: ({
1189
+ type: "uri";
1190
+ uri: string;
1191
+ badgeUri?: string | undefined;
1192
+ } | {
1193
+ type: "text";
1194
+ text: string;
1195
+ badgeUri?: string | undefined;
1196
+ })[];
1197
+ accessibilityDescription?: string | undefined;
1198
+ } | undefined;
1199
+ }, {
1200
+ value: JsonElement;
1201
+ label: string;
1202
+ image?: {
1203
+ url?: string | undefined;
1204
+ text?: string | undefined;
1205
+ uri?: string | undefined;
1206
+ accessibilityDescription?: string | undefined;
1207
+ } | undefined;
1208
+ analyticsId?: string | undefined;
1209
+ icon?: {
1210
+ name: string;
1114
1211
  } | {
1115
- type: "text";
1116
1212
  text: string;
1117
- badgeUri?: string | undefined;
1118
- })[];
1119
- accessibilityDescription?: string | undefined;
1120
- }>, z.ZodObject<{
1121
- type: z.ZodLiteral<"image">;
1122
- uri: z.ZodString;
1123
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1213
+ } | undefined;
1214
+ tag?: string | undefined;
1215
+ media?: {
1216
+ type: "image";
1217
+ uri: string;
1218
+ accessibilityDescription?: string | undefined;
1219
+ } | {
1220
+ type: "avatar";
1221
+ content: ({
1222
+ type: "uri";
1223
+ uri: string;
1224
+ badgeUri?: string | undefined;
1225
+ } | {
1226
+ type: "text";
1227
+ text: string;
1228
+ badgeUri?: string | undefined;
1229
+ })[];
1230
+ accessibilityDescription?: string | undefined;
1231
+ } | undefined;
1232
+ }>;
1233
+ export declare const dismissBehaviorSchema: z.ZodObject<{
1234
+ type: z.ZodLiteral<"dismiss">;
1124
1235
  }, "strip", z.ZodTypeAny, {
1125
- type: "image";
1126
- uri: string;
1127
- accessibilityDescription?: string | undefined;
1236
+ type: "dismiss";
1128
1237
  }, {
1129
- type: "image";
1130
- uri: string;
1131
- accessibilityDescription?: string | undefined;
1132
- }>]>;
1133
- export declare const searchResultSearchSchema: z.ZodObject<{
1134
- type: z.ZodLiteral<"search">;
1135
- title: z.ZodString;
1136
- description: z.ZodOptional<z.ZodString>;
1137
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1238
+ type: "dismiss";
1239
+ }>;
1240
+ export declare const copyBehaviorSchema: z.ZodObject<{
1241
+ type: z.ZodLiteral<"copy">;
1242
+ content: z.ZodString;
1243
+ }, "strip", z.ZodTypeAny, {
1244
+ type: "copy";
1245
+ content: string;
1246
+ }, {
1247
+ type: "copy";
1248
+ content: string;
1249
+ }>;
1250
+ export declare const navigationStackBehaviorSchema: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>;
1251
+ export declare const actionTypeSchema: z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>;
1252
+ export declare const actionSchema: z.ZodObject<{
1253
+ title: z.ZodOptional<z.ZodString>;
1254
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1255
+ disabled: z.ZodOptional<z.ZodBoolean>;
1256
+ $id: z.ZodOptional<z.ZodString>;
1257
+ $ref: z.ZodOptional<z.ZodString>;
1258
+ id: z.ZodOptional<z.ZodString>;
1259
+ url: z.ZodOptional<z.ZodString>;
1260
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1261
+ exit: z.ZodOptional<z.ZodBoolean>;
1262
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1263
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1264
+ timeout: z.ZodOptional<z.ZodNumber>;
1265
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1266
+ }, "strip", z.ZodTypeAny, {
1267
+ url?: string | undefined;
1268
+ $id?: string | undefined;
1269
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1270
+ disabled?: boolean | undefined;
1271
+ title?: string | undefined;
1272
+ timeout?: number | undefined;
1273
+ id?: string | undefined;
1274
+ $ref?: string | undefined;
1275
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1276
+ exit?: boolean | undefined;
1277
+ result?: JsonElement | undefined;
1278
+ data?: JsonElement | undefined;
1279
+ skipValidation?: boolean | undefined;
1280
+ }, {
1281
+ url?: string | undefined;
1282
+ $id?: string | undefined;
1283
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1284
+ disabled?: boolean | undefined;
1285
+ title?: string | undefined;
1286
+ timeout?: number | undefined;
1287
+ id?: string | undefined;
1288
+ $ref?: string | undefined;
1289
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1290
+ exit?: boolean | undefined;
1291
+ result?: JsonElement | undefined;
1292
+ data?: JsonElement | undefined;
1293
+ skipValidation?: boolean | undefined;
1294
+ }>;
1295
+ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
1296
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
1297
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
1298
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
1299
+ providesImage: z.ZodOptional<z.ZodBoolean>;
1300
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
1301
+ }, "strip", z.ZodTypeAny, {
1302
+ providesTitle?: boolean | undefined;
1303
+ providesDescription?: boolean | undefined;
1304
+ providesIcon?: boolean | undefined;
1305
+ providesImage?: boolean | undefined;
1306
+ providesMedia?: boolean | undefined;
1307
+ }, {
1308
+ providesTitle?: boolean | undefined;
1309
+ providesDescription?: boolean | undefined;
1310
+ providesIcon?: boolean | undefined;
1311
+ providesImage?: boolean | undefined;
1312
+ providesMedia?: boolean | undefined;
1313
+ }>, z.ZodObject<{
1314
+ defaultTitle: z.ZodOptional<z.ZodString>;
1315
+ defaultDescription: z.ZodOptional<z.ZodString>;
1316
+ defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1138
1317
  name: z.ZodString;
1139
1318
  }, "strip", z.ZodTypeAny, {
1140
1319
  name: string;
@@ -1147,7 +1326,7 @@ export declare const searchResultSearchSchema: z.ZodObject<{
1147
1326
  }, {
1148
1327
  text: string;
1149
1328
  }>]>>;
1150
- image: z.ZodOptional<z.ZodObject<{
1329
+ defaultImage: z.ZodOptional<z.ZodObject<{
1151
1330
  text: z.ZodOptional<z.ZodString>;
1152
1331
  url: z.ZodOptional<z.ZodString>;
1153
1332
  uri: z.ZodOptional<z.ZodString>;
@@ -1163,23 +1342,11 @@ export declare const searchResultSearchSchema: z.ZodObject<{
1163
1342
  uri?: string | undefined;
1164
1343
  accessibilityDescription?: string | undefined;
1165
1344
  }>>;
1166
- value: z.ZodObject<{
1167
- url: z.ZodString;
1168
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
1169
- param: z.ZodString;
1170
- query: z.ZodString;
1171
- }, "strip", z.ZodTypeAny, {
1172
- url: string;
1173
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1174
- param: string;
1175
- query: string;
1176
- }, {
1177
- url: string;
1178
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1179
- param: string;
1180
- query: string;
1181
- }>;
1182
- media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1345
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
1346
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
1347
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
1348
+ providesImage: z.ZodOptional<z.ZodBoolean>;
1349
+ defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1183
1350
  type: z.ZodLiteral<"avatar">;
1184
1351
  content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1185
1352
  type: z.ZodLiteral<"text">;
@@ -1244,28 +1411,26 @@ export declare const searchResultSearchSchema: z.ZodObject<{
1244
1411
  uri: string;
1245
1412
  accessibilityDescription?: string | undefined;
1246
1413
  }>]>>;
1414
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
1247
1415
  }, "strip", z.ZodTypeAny, {
1248
- type: "search";
1249
- title: string;
1250
- value: {
1251
- url: string;
1252
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1253
- param: string;
1254
- query: string;
1255
- };
1256
- image?: {
1416
+ defaultTitle?: string | undefined;
1417
+ defaultDescription?: string | undefined;
1418
+ defaultIcon?: {
1419
+ name: string;
1420
+ } | {
1421
+ text: string;
1422
+ } | undefined;
1423
+ defaultImage?: {
1257
1424
  url?: string | undefined;
1258
1425
  text?: string | undefined;
1259
1426
  uri?: string | undefined;
1260
1427
  accessibilityDescription?: string | undefined;
1261
1428
  } | undefined;
1262
- description?: string | undefined;
1263
- icon?: {
1264
- name: string;
1265
- } | {
1266
- text: string;
1267
- } | undefined;
1268
- media?: {
1429
+ providesTitle?: boolean | undefined;
1430
+ providesDescription?: boolean | undefined;
1431
+ providesIcon?: boolean | undefined;
1432
+ providesImage?: boolean | undefined;
1433
+ defaultMedia?: {
1269
1434
  type: "image";
1270
1435
  uri: string;
1271
1436
  accessibilityDescription?: string | undefined;
@@ -1282,28 +1447,26 @@ export declare const searchResultSearchSchema: z.ZodObject<{
1282
1447
  })[];
1283
1448
  accessibilityDescription?: string | undefined;
1284
1449
  } | undefined;
1285
- }, {
1286
- type: "search";
1287
- title: string;
1288
- value: {
1289
- url: string;
1290
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1291
- param: string;
1292
- query: string;
1293
- };
1294
- image?: {
1295
- url?: string | undefined;
1296
- text?: string | undefined;
1297
- uri?: string | undefined;
1298
- accessibilityDescription?: string | undefined;
1299
- } | undefined;
1300
- description?: string | undefined;
1301
- icon?: {
1450
+ providesMedia?: boolean | undefined;
1451
+ }, {
1452
+ defaultTitle?: string | undefined;
1453
+ defaultDescription?: string | undefined;
1454
+ defaultIcon?: {
1302
1455
  name: string;
1303
1456
  } | {
1304
1457
  text: string;
1305
1458
  } | undefined;
1306
- media?: {
1459
+ defaultImage?: {
1460
+ url?: string | undefined;
1461
+ text?: string | undefined;
1462
+ uri?: string | undefined;
1463
+ accessibilityDescription?: string | undefined;
1464
+ } | undefined;
1465
+ providesTitle?: boolean | undefined;
1466
+ providesDescription?: boolean | undefined;
1467
+ providesIcon?: boolean | undefined;
1468
+ providesImage?: boolean | undefined;
1469
+ defaultMedia?: {
1307
1470
  type: "image";
1308
1471
  uri: string;
1309
1472
  accessibilityDescription?: string | undefined;
@@ -1320,41 +1483,115 @@ export declare const searchResultSearchSchema: z.ZodObject<{
1320
1483
  })[];
1321
1484
  accessibilityDescription?: string | undefined;
1322
1485
  } | undefined;
1486
+ providesMedia?: boolean | undefined;
1487
+ }>]>;
1488
+ export declare const linkBehaviorSchema: z.ZodObject<{
1489
+ type: z.ZodLiteral<"link">;
1490
+ url: z.ZodString;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ url: string;
1493
+ type: "link";
1494
+ }, {
1495
+ url: string;
1496
+ type: "link";
1323
1497
  }>;
1324
- export declare const searchResultActionSchema: z.ZodObject<{
1325
- type: z.ZodLiteral<"action">;
1326
- title: z.ZodString;
1327
- description: z.ZodOptional<z.ZodString>;
1328
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1329
- name: z.ZodString;
1330
- }, "strip", z.ZodTypeAny, {
1331
- name: string;
1332
- }, {
1333
- name: string;
1334
- }>, z.ZodObject<{
1335
- text: z.ZodString;
1336
- }, "strip", z.ZodTypeAny, {
1337
- text: string;
1338
- }, {
1339
- text: string;
1340
- }>]>>;
1341
- image: z.ZodOptional<z.ZodObject<{
1342
- text: z.ZodOptional<z.ZodString>;
1498
+ export declare const refreshBehaviorSchema: z.ZodObject<{
1499
+ type: z.ZodLiteral<"refresh">;
1500
+ }, "strip", z.ZodTypeAny, {
1501
+ type: "refresh";
1502
+ }, {
1503
+ type: "refresh";
1504
+ }>;
1505
+ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1506
+ title: z.ZodOptional<z.ZodString>;
1507
+ action: z.ZodObject<{
1508
+ title: z.ZodOptional<z.ZodString>;
1509
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1510
+ disabled: z.ZodOptional<z.ZodBoolean>;
1511
+ $id: z.ZodOptional<z.ZodString>;
1512
+ $ref: z.ZodOptional<z.ZodString>;
1513
+ id: z.ZodOptional<z.ZodString>;
1343
1514
  url: z.ZodOptional<z.ZodString>;
1344
- uri: z.ZodOptional<z.ZodString>;
1345
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1515
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1516
+ exit: z.ZodOptional<z.ZodBoolean>;
1517
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1518
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1519
+ timeout: z.ZodOptional<z.ZodNumber>;
1520
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1346
1521
  }, "strip", z.ZodTypeAny, {
1347
1522
  url?: string | undefined;
1348
- text?: string | undefined;
1349
- uri?: string | undefined;
1350
- accessibilityDescription?: string | undefined;
1523
+ $id?: string | undefined;
1524
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1525
+ disabled?: boolean | undefined;
1526
+ title?: string | undefined;
1527
+ timeout?: number | undefined;
1528
+ id?: string | undefined;
1529
+ $ref?: string | undefined;
1530
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1531
+ exit?: boolean | undefined;
1532
+ result?: JsonElement | undefined;
1533
+ data?: JsonElement | undefined;
1534
+ skipValidation?: boolean | undefined;
1351
1535
  }, {
1352
1536
  url?: string | undefined;
1353
- text?: string | undefined;
1354
- uri?: string | undefined;
1355
- accessibilityDescription?: string | undefined;
1356
- }>>;
1357
- value: z.ZodObject<{
1537
+ $id?: string | undefined;
1538
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1539
+ disabled?: boolean | undefined;
1540
+ title?: string | undefined;
1541
+ timeout?: number | undefined;
1542
+ id?: string | undefined;
1543
+ $ref?: string | undefined;
1544
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1545
+ exit?: boolean | undefined;
1546
+ result?: JsonElement | undefined;
1547
+ data?: JsonElement | undefined;
1548
+ skipValidation?: boolean | undefined;
1549
+ }>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ action: {
1552
+ url?: string | undefined;
1553
+ $id?: string | undefined;
1554
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1555
+ disabled?: boolean | undefined;
1556
+ title?: string | undefined;
1557
+ timeout?: number | undefined;
1558
+ id?: string | undefined;
1559
+ $ref?: string | undefined;
1560
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1561
+ exit?: boolean | undefined;
1562
+ result?: JsonElement | undefined;
1563
+ data?: JsonElement | undefined;
1564
+ skipValidation?: boolean | undefined;
1565
+ };
1566
+ title?: string | undefined;
1567
+ }, {
1568
+ action: {
1569
+ url?: string | undefined;
1570
+ $id?: string | undefined;
1571
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1572
+ disabled?: boolean | undefined;
1573
+ title?: string | undefined;
1574
+ timeout?: number | undefined;
1575
+ id?: string | undefined;
1576
+ $ref?: string | undefined;
1577
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1578
+ exit?: boolean | undefined;
1579
+ result?: JsonElement | undefined;
1580
+ data?: JsonElement | undefined;
1581
+ skipValidation?: boolean | undefined;
1582
+ };
1583
+ title?: string | undefined;
1584
+ }>;
1585
+ export declare const linkSchema: z.ZodObject<{
1586
+ url: z.ZodString;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ url: string;
1589
+ }, {
1590
+ url: string;
1591
+ }>;
1592
+ export declare const actionBehaviorSchema: z.ZodObject<{
1593
+ type: z.ZodLiteral<"action">;
1594
+ action: z.ZodObject<{
1358
1595
  title: z.ZodOptional<z.ZodString>;
1359
1596
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1360
1597
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -1397,75 +1634,57 @@ export declare const searchResultActionSchema: z.ZodObject<{
1397
1634
  data?: JsonElement | undefined;
1398
1635
  skipValidation?: boolean | undefined;
1399
1636
  }>;
1400
- media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1401
- type: z.ZodLiteral<"avatar">;
1402
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1403
- type: z.ZodLiteral<"text">;
1404
- text: z.ZodString;
1405
- badgeUri: z.ZodOptional<z.ZodString>;
1406
- }, "strip", z.ZodTypeAny, {
1407
- type: "text";
1408
- text: string;
1409
- badgeUri?: string | undefined;
1410
- }, {
1411
- type: "text";
1412
- text: string;
1413
- badgeUri?: string | undefined;
1414
- }>, z.ZodObject<{
1415
- type: z.ZodLiteral<"uri">;
1416
- uri: z.ZodString;
1417
- badgeUri: z.ZodOptional<z.ZodString>;
1418
- }, "strip", z.ZodTypeAny, {
1419
- type: "uri";
1420
- uri: string;
1421
- badgeUri?: string | undefined;
1422
- }, {
1423
- type: "uri";
1424
- uri: string;
1425
- badgeUri?: string | undefined;
1426
- }>]>, "many">;
1427
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1428
- }, "strip", z.ZodTypeAny, {
1429
- type: "avatar";
1430
- content: ({
1431
- type: "uri";
1432
- uri: string;
1433
- badgeUri?: string | undefined;
1434
- } | {
1435
- type: "text";
1436
- text: string;
1437
- badgeUri?: string | undefined;
1438
- })[];
1439
- accessibilityDescription?: string | undefined;
1440
- }, {
1441
- type: "avatar";
1442
- content: ({
1443
- type: "uri";
1444
- uri: string;
1445
- badgeUri?: string | undefined;
1446
- } | {
1447
- type: "text";
1448
- text: string;
1449
- badgeUri?: string | undefined;
1450
- })[];
1451
- accessibilityDescription?: string | undefined;
1452
- }>, z.ZodObject<{
1453
- type: z.ZodLiteral<"image">;
1454
- uri: z.ZodString;
1455
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1456
- }, "strip", z.ZodTypeAny, {
1457
- type: "image";
1458
- uri: string;
1459
- accessibilityDescription?: string | undefined;
1460
- }, {
1461
- type: "image";
1462
- uri: string;
1463
- accessibilityDescription?: string | undefined;
1464
- }>]>>;
1465
1637
  }, "strip", z.ZodTypeAny, {
1638
+ action: {
1639
+ url?: string | undefined;
1640
+ $id?: string | undefined;
1641
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1642
+ disabled?: boolean | undefined;
1643
+ title?: string | undefined;
1644
+ timeout?: number | undefined;
1645
+ id?: string | undefined;
1646
+ $ref?: string | undefined;
1647
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1648
+ exit?: boolean | undefined;
1649
+ result?: JsonElement | undefined;
1650
+ data?: JsonElement | undefined;
1651
+ skipValidation?: boolean | undefined;
1652
+ };
1466
1653
  type: "action";
1467
- title: string;
1468
- value: {
1654
+ }, {
1655
+ action: {
1656
+ url?: string | undefined;
1657
+ $id?: string | undefined;
1658
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1659
+ disabled?: boolean | undefined;
1660
+ title?: string | undefined;
1661
+ timeout?: number | undefined;
1662
+ id?: string | undefined;
1663
+ $ref?: string | undefined;
1664
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1665
+ exit?: boolean | undefined;
1666
+ result?: JsonElement | undefined;
1667
+ data?: JsonElement | undefined;
1668
+ skipValidation?: boolean | undefined;
1669
+ };
1670
+ type: "action";
1671
+ }>;
1672
+ export declare const containerBehaviorSchema: z.ZodObject<{
1673
+ action: z.ZodOptional<z.ZodObject<{
1674
+ title: z.ZodOptional<z.ZodString>;
1675
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1676
+ disabled: z.ZodOptional<z.ZodBoolean>;
1677
+ $id: z.ZodOptional<z.ZodString>;
1678
+ $ref: z.ZodOptional<z.ZodString>;
1679
+ id: z.ZodOptional<z.ZodString>;
1680
+ url: z.ZodOptional<z.ZodString>;
1681
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1682
+ exit: z.ZodOptional<z.ZodBoolean>;
1683
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1684
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1685
+ timeout: z.ZodOptional<z.ZodNumber>;
1686
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1687
+ }, "strip", z.ZodTypeAny, {
1469
1688
  url?: string | undefined;
1470
1689
  $id?: string | undefined;
1471
1690
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
@@ -1479,40 +1698,7 @@ export declare const searchResultActionSchema: z.ZodObject<{
1479
1698
  result?: JsonElement | undefined;
1480
1699
  data?: JsonElement | undefined;
1481
1700
  skipValidation?: boolean | undefined;
1482
- };
1483
- image?: {
1484
- url?: string | undefined;
1485
- text?: string | undefined;
1486
- uri?: string | undefined;
1487
- accessibilityDescription?: string | undefined;
1488
- } | undefined;
1489
- description?: string | undefined;
1490
- icon?: {
1491
- name: string;
1492
- } | {
1493
- text: string;
1494
- } | undefined;
1495
- media?: {
1496
- type: "image";
1497
- uri: string;
1498
- accessibilityDescription?: string | undefined;
1499
- } | {
1500
- type: "avatar";
1501
- content: ({
1502
- type: "uri";
1503
- uri: string;
1504
- badgeUri?: string | undefined;
1505
- } | {
1506
- type: "text";
1507
- text: string;
1508
- badgeUri?: string | undefined;
1509
- })[];
1510
- accessibilityDescription?: string | undefined;
1511
- } | undefined;
1512
- }, {
1513
- type: "action";
1514
- title: string;
1515
- value: {
1701
+ }, {
1516
1702
  url?: string | undefined;
1517
1703
  $id?: string | undefined;
1518
1704
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
@@ -1526,454 +1712,295 @@ export declare const searchResultActionSchema: z.ZodObject<{
1526
1712
  result?: JsonElement | undefined;
1527
1713
  data?: JsonElement | undefined;
1528
1714
  skipValidation?: boolean | undefined;
1529
- };
1530
- image?: {
1531
- url?: string | undefined;
1532
- text?: string | undefined;
1533
- uri?: string | undefined;
1534
- accessibilityDescription?: string | undefined;
1535
- } | undefined;
1536
- description?: string | undefined;
1537
- icon?: {
1538
- name: string;
1539
- } | {
1540
- text: string;
1541
- } | undefined;
1542
- media?: {
1543
- type: "image";
1544
- uri: string;
1545
- accessibilityDescription?: string | undefined;
1546
- } | {
1547
- type: "avatar";
1548
- content: ({
1549
- type: "uri";
1550
- uri: string;
1551
- badgeUri?: string | undefined;
1552
- } | {
1553
- type: "text";
1554
- text: string;
1555
- badgeUri?: string | undefined;
1556
- })[];
1557
- accessibilityDescription?: string | undefined;
1558
- } | undefined;
1559
- }>;
1560
- export declare const navigationSchema: z.ZodObject<{
1561
- backButton: z.ZodOptional<z.ZodObject<{
1562
- title: z.ZodOptional<z.ZodString>;
1563
- action: z.ZodObject<{
1564
- title: z.ZodOptional<z.ZodString>;
1565
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1566
- disabled: z.ZodOptional<z.ZodBoolean>;
1567
- $id: z.ZodOptional<z.ZodString>;
1568
- $ref: z.ZodOptional<z.ZodString>;
1569
- id: z.ZodOptional<z.ZodString>;
1570
- url: z.ZodOptional<z.ZodString>;
1571
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1572
- exit: z.ZodOptional<z.ZodBoolean>;
1573
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1574
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1575
- timeout: z.ZodOptional<z.ZodNumber>;
1576
- skipValidation: z.ZodOptional<z.ZodBoolean>;
1577
- }, "strip", z.ZodTypeAny, {
1578
- url?: string | undefined;
1579
- $id?: string | undefined;
1580
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1581
- disabled?: boolean | undefined;
1582
- title?: string | undefined;
1583
- timeout?: number | undefined;
1584
- id?: string | undefined;
1585
- $ref?: string | undefined;
1586
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1587
- exit?: boolean | undefined;
1588
- result?: JsonElement | undefined;
1589
- data?: JsonElement | undefined;
1590
- skipValidation?: boolean | undefined;
1591
- }, {
1592
- url?: string | undefined;
1593
- $id?: string | undefined;
1594
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1595
- disabled?: boolean | undefined;
1596
- title?: string | undefined;
1597
- timeout?: number | undefined;
1598
- id?: string | undefined;
1599
- $ref?: string | undefined;
1600
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1601
- exit?: boolean | undefined;
1602
- result?: JsonElement | undefined;
1603
- data?: JsonElement | undefined;
1604
- skipValidation?: boolean | undefined;
1605
- }>;
1606
- }, "strip", z.ZodTypeAny, {
1607
- action: {
1608
- url?: string | undefined;
1609
- $id?: string | undefined;
1610
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1611
- disabled?: boolean | undefined;
1612
- title?: string | undefined;
1613
- timeout?: number | undefined;
1614
- id?: string | undefined;
1615
- $ref?: string | undefined;
1616
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1617
- exit?: boolean | undefined;
1618
- result?: JsonElement | undefined;
1619
- data?: JsonElement | undefined;
1620
- skipValidation?: boolean | undefined;
1621
- };
1622
- title?: string | undefined;
1623
- }, {
1624
- action: {
1625
- url?: string | undefined;
1626
- $id?: string | undefined;
1627
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1628
- disabled?: boolean | undefined;
1629
- title?: string | undefined;
1630
- timeout?: number | undefined;
1631
- id?: string | undefined;
1632
- $ref?: string | undefined;
1633
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1634
- exit?: boolean | undefined;
1635
- result?: JsonElement | undefined;
1636
- data?: JsonElement | undefined;
1637
- skipValidation?: boolean | undefined;
1638
- };
1639
- title?: string | undefined;
1640
1715
  }>>;
1641
- back: z.ZodOptional<z.ZodObject<{
1642
- title: z.ZodOptional<z.ZodString>;
1643
- action: z.ZodObject<{
1644
- title: z.ZodOptional<z.ZodString>;
1645
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1646
- disabled: z.ZodOptional<z.ZodBoolean>;
1647
- $id: z.ZodOptional<z.ZodString>;
1648
- $ref: z.ZodOptional<z.ZodString>;
1649
- id: z.ZodOptional<z.ZodString>;
1650
- url: z.ZodOptional<z.ZodString>;
1651
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1652
- exit: z.ZodOptional<z.ZodBoolean>;
1653
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1654
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1655
- timeout: z.ZodOptional<z.ZodNumber>;
1656
- skipValidation: z.ZodOptional<z.ZodBoolean>;
1657
- }, "strip", z.ZodTypeAny, {
1658
- url?: string | undefined;
1659
- $id?: string | undefined;
1660
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1661
- disabled?: boolean | undefined;
1662
- title?: string | undefined;
1663
- timeout?: number | undefined;
1664
- id?: string | undefined;
1665
- $ref?: string | undefined;
1666
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1667
- exit?: boolean | undefined;
1668
- result?: JsonElement | undefined;
1669
- data?: JsonElement | undefined;
1670
- skipValidation?: boolean | undefined;
1671
- }, {
1672
- url?: string | undefined;
1673
- $id?: string | undefined;
1674
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1675
- disabled?: boolean | undefined;
1676
- title?: string | undefined;
1677
- timeout?: number | undefined;
1678
- id?: string | undefined;
1679
- $ref?: string | undefined;
1680
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1681
- exit?: boolean | undefined;
1682
- result?: JsonElement | undefined;
1683
- data?: JsonElement | undefined;
1684
- skipValidation?: boolean | undefined;
1685
- }>;
1716
+ link: z.ZodOptional<z.ZodObject<{
1717
+ url: z.ZodString;
1686
1718
  }, "strip", z.ZodTypeAny, {
1687
- action: {
1688
- url?: string | undefined;
1689
- $id?: string | undefined;
1690
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1691
- disabled?: boolean | undefined;
1692
- title?: string | undefined;
1693
- timeout?: number | undefined;
1694
- id?: string | undefined;
1695
- $ref?: string | undefined;
1696
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1697
- exit?: boolean | undefined;
1698
- result?: JsonElement | undefined;
1699
- data?: JsonElement | undefined;
1700
- skipValidation?: boolean | undefined;
1701
- };
1702
- title?: string | undefined;
1703
- }, {
1704
- action: {
1705
- url?: string | undefined;
1706
- $id?: string | undefined;
1707
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1708
- disabled?: boolean | undefined;
1709
- title?: string | undefined;
1710
- timeout?: number | undefined;
1711
- id?: string | undefined;
1712
- $ref?: string | undefined;
1713
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1714
- exit?: boolean | undefined;
1715
- result?: JsonElement | undefined;
1716
- data?: JsonElement | undefined;
1717
- skipValidation?: boolean | undefined;
1718
- };
1719
- title?: string | undefined;
1720
- }>>;
1721
- stackBehavior: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>>;
1722
- }, "strip", z.ZodTypeAny, {
1723
- back?: {
1724
- action: {
1725
- url?: string | undefined;
1726
- $id?: string | undefined;
1727
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1728
- disabled?: boolean | undefined;
1729
- title?: string | undefined;
1730
- timeout?: number | undefined;
1731
- id?: string | undefined;
1732
- $ref?: string | undefined;
1733
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1734
- exit?: boolean | undefined;
1735
- result?: JsonElement | undefined;
1736
- data?: JsonElement | undefined;
1737
- skipValidation?: boolean | undefined;
1738
- };
1719
+ url: string;
1720
+ }, {
1721
+ url: string;
1722
+ }>>;
1723
+ }, "strip", z.ZodTypeAny, {
1724
+ action?: {
1725
+ url?: string | undefined;
1726
+ $id?: string | undefined;
1727
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1728
+ disabled?: boolean | undefined;
1739
1729
  title?: string | undefined;
1730
+ timeout?: number | undefined;
1731
+ id?: string | undefined;
1732
+ $ref?: string | undefined;
1733
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1734
+ exit?: boolean | undefined;
1735
+ result?: JsonElement | undefined;
1736
+ data?: JsonElement | undefined;
1737
+ skipValidation?: boolean | undefined;
1740
1738
  } | undefined;
1741
- backButton?: {
1742
- action: {
1743
- url?: string | undefined;
1744
- $id?: string | undefined;
1745
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1746
- disabled?: boolean | undefined;
1747
- title?: string | undefined;
1748
- timeout?: number | undefined;
1749
- id?: string | undefined;
1750
- $ref?: string | undefined;
1751
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1752
- exit?: boolean | undefined;
1753
- result?: JsonElement | undefined;
1754
- data?: JsonElement | undefined;
1755
- skipValidation?: boolean | undefined;
1756
- };
1757
- title?: string | undefined;
1739
+ link?: {
1740
+ url: string;
1758
1741
  } | undefined;
1759
- stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
1760
1742
  }, {
1761
- back?: {
1762
- action: {
1763
- url?: string | undefined;
1764
- $id?: string | undefined;
1765
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1766
- disabled?: boolean | undefined;
1767
- title?: string | undefined;
1768
- timeout?: number | undefined;
1769
- id?: string | undefined;
1770
- $ref?: string | undefined;
1771
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1772
- exit?: boolean | undefined;
1773
- result?: JsonElement | undefined;
1774
- data?: JsonElement | undefined;
1775
- skipValidation?: boolean | undefined;
1776
- };
1743
+ action?: {
1744
+ url?: string | undefined;
1745
+ $id?: string | undefined;
1746
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1747
+ disabled?: boolean | undefined;
1777
1748
  title?: string | undefined;
1749
+ timeout?: number | undefined;
1750
+ id?: string | undefined;
1751
+ $ref?: string | undefined;
1752
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1753
+ exit?: boolean | undefined;
1754
+ result?: JsonElement | undefined;
1755
+ data?: JsonElement | undefined;
1756
+ skipValidation?: boolean | undefined;
1778
1757
  } | undefined;
1779
- backButton?: {
1780
- action: {
1781
- url?: string | undefined;
1782
- $id?: string | undefined;
1783
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1784
- disabled?: boolean | undefined;
1785
- title?: string | undefined;
1786
- timeout?: number | undefined;
1787
- id?: string | undefined;
1788
- $ref?: string | undefined;
1789
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1790
- exit?: boolean | undefined;
1791
- result?: JsonElement | undefined;
1792
- data?: JsonElement | undefined;
1793
- skipValidation?: boolean | undefined;
1794
- };
1795
- title?: string | undefined;
1758
+ link?: {
1759
+ url: string;
1796
1760
  } | undefined;
1797
- stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
1798
1761
  }>;
1799
- export declare const summarySummariserSchema: z.ZodObject<{
1800
- defaultTitle: z.ZodOptional<z.ZodString>;
1801
- defaultDescription: z.ZodOptional<z.ZodString>;
1802
- defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1803
- name: z.ZodString;
1804
- }, "strip", z.ZodTypeAny, {
1805
- name: string;
1806
- }, {
1807
- name: string;
1808
- }>, z.ZodObject<{
1809
- text: z.ZodString;
1810
- }, "strip", z.ZodTypeAny, {
1811
- text: string;
1812
- }, {
1813
- text: string;
1814
- }>]>>;
1815
- defaultImage: z.ZodOptional<z.ZodObject<{
1816
- text: z.ZodOptional<z.ZodString>;
1817
- url: z.ZodOptional<z.ZodString>;
1818
- uri: z.ZodOptional<z.ZodString>;
1819
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1820
- }, "strip", z.ZodTypeAny, {
1821
- url?: string | undefined;
1822
- text?: string | undefined;
1823
- uri?: string | undefined;
1824
- accessibilityDescription?: string | undefined;
1825
- }, {
1826
- url?: string | undefined;
1827
- text?: string | undefined;
1828
- uri?: string | undefined;
1829
- accessibilityDescription?: string | undefined;
1830
- }>>;
1831
- providesTitle: z.ZodOptional<z.ZodBoolean>;
1832
- providesDescription: z.ZodOptional<z.ZodBoolean>;
1833
- providesIcon: z.ZodOptional<z.ZodBoolean>;
1834
- providesImage: z.ZodOptional<z.ZodBoolean>;
1835
- defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1836
- type: z.ZodLiteral<"avatar">;
1837
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1838
- type: z.ZodLiteral<"text">;
1762
+ export declare const suggestionsSchema: z.ZodObject<{
1763
+ values: z.ZodArray<z.ZodObject<{
1764
+ label: z.ZodString;
1765
+ value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
1766
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1767
+ name: z.ZodString;
1768
+ }, "strip", z.ZodTypeAny, {
1769
+ name: string;
1770
+ }, {
1771
+ name: string;
1772
+ }>, z.ZodObject<{
1839
1773
  text: z.ZodString;
1840
- badgeUri: z.ZodOptional<z.ZodString>;
1841
1774
  }, "strip", z.ZodTypeAny, {
1842
- type: "text";
1843
1775
  text: string;
1844
- badgeUri?: string | undefined;
1845
1776
  }, {
1846
- type: "text";
1847
1777
  text: string;
1848
- badgeUri?: string | undefined;
1778
+ }>]>>;
1779
+ image: z.ZodOptional<z.ZodObject<{
1780
+ text: z.ZodOptional<z.ZodString>;
1781
+ url: z.ZodOptional<z.ZodString>;
1782
+ uri: z.ZodOptional<z.ZodString>;
1783
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1784
+ }, "strip", z.ZodTypeAny, {
1785
+ url?: string | undefined;
1786
+ text?: string | undefined;
1787
+ uri?: string | undefined;
1788
+ accessibilityDescription?: string | undefined;
1789
+ }, {
1790
+ url?: string | undefined;
1791
+ text?: string | undefined;
1792
+ uri?: string | undefined;
1793
+ accessibilityDescription?: string | undefined;
1794
+ }>>;
1795
+ tag: z.ZodOptional<z.ZodString>;
1796
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1797
+ type: z.ZodLiteral<"avatar">;
1798
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1799
+ type: z.ZodLiteral<"text">;
1800
+ text: z.ZodString;
1801
+ badgeUri: z.ZodOptional<z.ZodString>;
1802
+ }, "strip", z.ZodTypeAny, {
1803
+ type: "text";
1804
+ text: string;
1805
+ badgeUri?: string | undefined;
1806
+ }, {
1807
+ type: "text";
1808
+ text: string;
1809
+ badgeUri?: string | undefined;
1810
+ }>, z.ZodObject<{
1811
+ type: z.ZodLiteral<"uri">;
1812
+ uri: z.ZodString;
1813
+ badgeUri: z.ZodOptional<z.ZodString>;
1814
+ }, "strip", z.ZodTypeAny, {
1815
+ type: "uri";
1816
+ uri: string;
1817
+ badgeUri?: string | undefined;
1818
+ }, {
1819
+ type: "uri";
1820
+ uri: string;
1821
+ badgeUri?: string | undefined;
1822
+ }>]>, "many">;
1823
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1824
+ }, "strip", z.ZodTypeAny, {
1825
+ type: "avatar";
1826
+ content: ({
1827
+ type: "uri";
1828
+ uri: string;
1829
+ badgeUri?: string | undefined;
1830
+ } | {
1831
+ type: "text";
1832
+ text: string;
1833
+ badgeUri?: string | undefined;
1834
+ })[];
1835
+ accessibilityDescription?: string | undefined;
1836
+ }, {
1837
+ type: "avatar";
1838
+ content: ({
1839
+ type: "uri";
1840
+ uri: string;
1841
+ badgeUri?: string | undefined;
1842
+ } | {
1843
+ type: "text";
1844
+ text: string;
1845
+ badgeUri?: string | undefined;
1846
+ })[];
1847
+ accessibilityDescription?: string | undefined;
1849
1848
  }>, z.ZodObject<{
1850
- type: z.ZodLiteral<"uri">;
1849
+ type: z.ZodLiteral<"image">;
1851
1850
  uri: z.ZodString;
1852
- badgeUri: z.ZodOptional<z.ZodString>;
1851
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1853
1852
  }, "strip", z.ZodTypeAny, {
1854
- type: "uri";
1853
+ type: "image";
1855
1854
  uri: string;
1856
- badgeUri?: string | undefined;
1855
+ accessibilityDescription?: string | undefined;
1857
1856
  }, {
1858
- type: "uri";
1857
+ type: "image";
1859
1858
  uri: string;
1860
- badgeUri?: string | undefined;
1861
- }>]>, "many">;
1862
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1859
+ accessibilityDescription?: string | undefined;
1860
+ }>]>>;
1861
+ analyticsId: z.ZodOptional<z.ZodString>;
1863
1862
  }, "strip", z.ZodTypeAny, {
1864
- type: "avatar";
1865
- content: ({
1866
- type: "uri";
1863
+ value: JsonElement;
1864
+ label: string;
1865
+ image?: {
1866
+ url?: string | undefined;
1867
+ text?: string | undefined;
1868
+ uri?: string | undefined;
1869
+ accessibilityDescription?: string | undefined;
1870
+ } | undefined;
1871
+ analyticsId?: string | undefined;
1872
+ icon?: {
1873
+ name: string;
1874
+ } | {
1875
+ text: string;
1876
+ } | undefined;
1877
+ tag?: string | undefined;
1878
+ media?: {
1879
+ type: "image";
1867
1880
  uri: string;
1868
- badgeUri?: string | undefined;
1881
+ accessibilityDescription?: string | undefined;
1882
+ } | {
1883
+ type: "avatar";
1884
+ content: ({
1885
+ type: "uri";
1886
+ uri: string;
1887
+ badgeUri?: string | undefined;
1888
+ } | {
1889
+ type: "text";
1890
+ text: string;
1891
+ badgeUri?: string | undefined;
1892
+ })[];
1893
+ accessibilityDescription?: string | undefined;
1894
+ } | undefined;
1895
+ }, {
1896
+ value: JsonElement;
1897
+ label: string;
1898
+ image?: {
1899
+ url?: string | undefined;
1900
+ text?: string | undefined;
1901
+ uri?: string | undefined;
1902
+ accessibilityDescription?: string | undefined;
1903
+ } | undefined;
1904
+ analyticsId?: string | undefined;
1905
+ icon?: {
1906
+ name: string;
1869
1907
  } | {
1870
- type: "text";
1871
1908
  text: string;
1872
- badgeUri?: string | undefined;
1873
- })[];
1874
- accessibilityDescription?: string | undefined;
1875
- }, {
1876
- type: "avatar";
1877
- content: ({
1878
- type: "uri";
1909
+ } | undefined;
1910
+ tag?: string | undefined;
1911
+ media?: {
1912
+ type: "image";
1879
1913
  uri: string;
1880
- badgeUri?: string | undefined;
1914
+ accessibilityDescription?: string | undefined;
1881
1915
  } | {
1882
- type: "text";
1883
- text: string;
1884
- badgeUri?: string | undefined;
1885
- })[];
1886
- accessibilityDescription?: string | undefined;
1887
- }>, z.ZodObject<{
1888
- type: z.ZodLiteral<"image">;
1889
- uri: z.ZodString;
1890
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1891
- }, "strip", z.ZodTypeAny, {
1892
- type: "image";
1893
- uri: string;
1894
- accessibilityDescription?: string | undefined;
1895
- }, {
1896
- type: "image";
1897
- uri: string;
1898
- accessibilityDescription?: string | undefined;
1899
- }>]>>;
1900
- providesMedia: z.ZodOptional<z.ZodBoolean>;
1916
+ type: "avatar";
1917
+ content: ({
1918
+ type: "uri";
1919
+ uri: string;
1920
+ badgeUri?: string | undefined;
1921
+ } | {
1922
+ type: "text";
1923
+ text: string;
1924
+ badgeUri?: string | undefined;
1925
+ })[];
1926
+ accessibilityDescription?: string | undefined;
1927
+ } | undefined;
1928
+ }>, "many">;
1901
1929
  }, "strip", z.ZodTypeAny, {
1902
- providesTitle?: boolean | undefined;
1903
- providesDescription?: boolean | undefined;
1904
- providesIcon?: boolean | undefined;
1905
- providesImage?: boolean | undefined;
1906
- providesMedia?: boolean | undefined;
1907
- defaultTitle?: string | undefined;
1908
- defaultDescription?: string | undefined;
1909
- defaultIcon?: {
1910
- name: string;
1911
- } | {
1912
- text: string;
1913
- } | undefined;
1914
- defaultImage?: {
1915
- url?: string | undefined;
1916
- text?: string | undefined;
1917
- uri?: string | undefined;
1918
- accessibilityDescription?: string | undefined;
1919
- } | undefined;
1920
- defaultMedia?: {
1921
- type: "image";
1922
- uri: string;
1923
- accessibilityDescription?: string | undefined;
1924
- } | {
1925
- type: "avatar";
1926
- content: ({
1927
- type: "uri";
1928
- uri: string;
1929
- badgeUri?: string | undefined;
1930
+ values: {
1931
+ value: JsonElement;
1932
+ label: string;
1933
+ image?: {
1934
+ url?: string | undefined;
1935
+ text?: string | undefined;
1936
+ uri?: string | undefined;
1937
+ accessibilityDescription?: string | undefined;
1938
+ } | undefined;
1939
+ analyticsId?: string | undefined;
1940
+ icon?: {
1941
+ name: string;
1930
1942
  } | {
1931
- type: "text";
1932
1943
  text: string;
1933
- badgeUri?: string | undefined;
1934
- })[];
1935
- accessibilityDescription?: string | undefined;
1936
- } | undefined;
1937
- }, {
1938
- providesTitle?: boolean | undefined;
1939
- providesDescription?: boolean | undefined;
1940
- providesIcon?: boolean | undefined;
1941
- providesImage?: boolean | undefined;
1942
- providesMedia?: boolean | undefined;
1943
- defaultTitle?: string | undefined;
1944
- defaultDescription?: string | undefined;
1945
- defaultIcon?: {
1946
- name: string;
1947
- } | {
1948
- text: string;
1949
- } | undefined;
1950
- defaultImage?: {
1951
- url?: string | undefined;
1952
- text?: string | undefined;
1953
- uri?: string | undefined;
1954
- accessibilityDescription?: string | undefined;
1955
- } | undefined;
1956
- defaultMedia?: {
1957
- type: "image";
1958
- uri: string;
1959
- accessibilityDescription?: string | undefined;
1960
- } | {
1961
- type: "avatar";
1962
- content: ({
1963
- type: "uri";
1944
+ } | undefined;
1945
+ tag?: string | undefined;
1946
+ media?: {
1947
+ type: "image";
1964
1948
  uri: string;
1965
- badgeUri?: string | undefined;
1949
+ accessibilityDescription?: string | undefined;
1950
+ } | {
1951
+ type: "avatar";
1952
+ content: ({
1953
+ type: "uri";
1954
+ uri: string;
1955
+ badgeUri?: string | undefined;
1956
+ } | {
1957
+ type: "text";
1958
+ text: string;
1959
+ badgeUri?: string | undefined;
1960
+ })[];
1961
+ accessibilityDescription?: string | undefined;
1962
+ } | undefined;
1963
+ }[];
1964
+ }, {
1965
+ values: {
1966
+ value: JsonElement;
1967
+ label: string;
1968
+ image?: {
1969
+ url?: string | undefined;
1970
+ text?: string | undefined;
1971
+ uri?: string | undefined;
1972
+ accessibilityDescription?: string | undefined;
1973
+ } | undefined;
1974
+ analyticsId?: string | undefined;
1975
+ icon?: {
1976
+ name: string;
1966
1977
  } | {
1967
- type: "text";
1968
1978
  text: string;
1969
- badgeUri?: string | undefined;
1970
- })[];
1971
- accessibilityDescription?: string | undefined;
1972
- } | undefined;
1979
+ } | undefined;
1980
+ tag?: string | undefined;
1981
+ media?: {
1982
+ type: "image";
1983
+ uri: string;
1984
+ accessibilityDescription?: string | undefined;
1985
+ } | {
1986
+ type: "avatar";
1987
+ content: ({
1988
+ type: "uri";
1989
+ uri: string;
1990
+ badgeUri?: string | undefined;
1991
+ } | {
1992
+ type: "text";
1993
+ text: string;
1994
+ badgeUri?: string | undefined;
1995
+ })[];
1996
+ accessibilityDescription?: string | undefined;
1997
+ } | undefined;
1998
+ }[];
1973
1999
  }>;
1974
- export declare const suggestionsValueSchema: z.ZodObject<{
1975
- label: z.ZodString;
1976
- value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
2000
+ export declare const searchResultActionSchema: z.ZodObject<{
2001
+ type: z.ZodLiteral<"action">;
2002
+ title: z.ZodString;
2003
+ description: z.ZodOptional<z.ZodString>;
1977
2004
  icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1978
2005
  name: z.ZodString;
1979
2006
  }, "strip", z.ZodTypeAny, {
@@ -2003,7 +2030,49 @@ export declare const suggestionsValueSchema: z.ZodObject<{
2003
2030
  uri?: string | undefined;
2004
2031
  accessibilityDescription?: string | undefined;
2005
2032
  }>>;
2006
- tag: z.ZodOptional<z.ZodString>;
2033
+ value: z.ZodObject<{
2034
+ title: z.ZodOptional<z.ZodString>;
2035
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
2036
+ disabled: z.ZodOptional<z.ZodBoolean>;
2037
+ $id: z.ZodOptional<z.ZodString>;
2038
+ $ref: z.ZodOptional<z.ZodString>;
2039
+ id: z.ZodOptional<z.ZodString>;
2040
+ url: z.ZodOptional<z.ZodString>;
2041
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
2042
+ exit: z.ZodOptional<z.ZodBoolean>;
2043
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2044
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2045
+ timeout: z.ZodOptional<z.ZodNumber>;
2046
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
2047
+ }, "strip", z.ZodTypeAny, {
2048
+ url?: string | undefined;
2049
+ $id?: string | undefined;
2050
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2051
+ disabled?: boolean | undefined;
2052
+ title?: string | undefined;
2053
+ timeout?: number | undefined;
2054
+ id?: string | undefined;
2055
+ $ref?: string | undefined;
2056
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2057
+ exit?: boolean | undefined;
2058
+ result?: JsonElement | undefined;
2059
+ data?: JsonElement | undefined;
2060
+ skipValidation?: boolean | undefined;
2061
+ }, {
2062
+ url?: string | undefined;
2063
+ $id?: string | undefined;
2064
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2065
+ disabled?: boolean | undefined;
2066
+ title?: string | undefined;
2067
+ timeout?: number | undefined;
2068
+ id?: string | undefined;
2069
+ $ref?: string | undefined;
2070
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2071
+ exit?: boolean | undefined;
2072
+ result?: JsonElement | undefined;
2073
+ data?: JsonElement | undefined;
2074
+ skipValidation?: boolean | undefined;
2075
+ }>;
2007
2076
  media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2008
2077
  type: z.ZodLiteral<"avatar">;
2009
2078
  content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -2069,23 +2138,36 @@ export declare const suggestionsValueSchema: z.ZodObject<{
2069
2138
  uri: string;
2070
2139
  accessibilityDescription?: string | undefined;
2071
2140
  }>]>>;
2072
- analyticsId: z.ZodOptional<z.ZodString>;
2073
2141
  }, "strip", z.ZodTypeAny, {
2074
- value: JsonElement;
2075
- label: string;
2142
+ type: "action";
2143
+ title: string;
2144
+ value: {
2145
+ url?: string | undefined;
2146
+ $id?: string | undefined;
2147
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2148
+ disabled?: boolean | undefined;
2149
+ title?: string | undefined;
2150
+ timeout?: number | undefined;
2151
+ id?: string | undefined;
2152
+ $ref?: string | undefined;
2153
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2154
+ exit?: boolean | undefined;
2155
+ result?: JsonElement | undefined;
2156
+ data?: JsonElement | undefined;
2157
+ skipValidation?: boolean | undefined;
2158
+ };
2076
2159
  image?: {
2077
2160
  url?: string | undefined;
2078
2161
  text?: string | undefined;
2079
2162
  uri?: string | undefined;
2080
2163
  accessibilityDescription?: string | undefined;
2081
2164
  } | undefined;
2082
- analyticsId?: string | undefined;
2165
+ description?: string | undefined;
2083
2166
  icon?: {
2084
2167
  name: string;
2085
2168
  } | {
2086
2169
  text: string;
2087
2170
  } | undefined;
2088
- tag?: string | undefined;
2089
2171
  media?: {
2090
2172
  type: "image";
2091
2173
  uri: string;
@@ -2104,21 +2186,35 @@ export declare const suggestionsValueSchema: z.ZodObject<{
2104
2186
  accessibilityDescription?: string | undefined;
2105
2187
  } | undefined;
2106
2188
  }, {
2107
- value: JsonElement;
2108
- label: string;
2189
+ type: "action";
2190
+ title: string;
2191
+ value: {
2192
+ url?: string | undefined;
2193
+ $id?: string | undefined;
2194
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2195
+ disabled?: boolean | undefined;
2196
+ title?: string | undefined;
2197
+ timeout?: number | undefined;
2198
+ id?: string | undefined;
2199
+ $ref?: string | undefined;
2200
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2201
+ exit?: boolean | undefined;
2202
+ result?: JsonElement | undefined;
2203
+ data?: JsonElement | undefined;
2204
+ skipValidation?: boolean | undefined;
2205
+ };
2109
2206
  image?: {
2110
2207
  url?: string | undefined;
2111
2208
  text?: string | undefined;
2112
2209
  uri?: string | undefined;
2113
2210
  accessibilityDescription?: string | undefined;
2114
2211
  } | undefined;
2115
- analyticsId?: string | undefined;
2212
+ description?: string | undefined;
2116
2213
  icon?: {
2117
2214
  name: string;
2118
2215
  } | {
2119
2216
  text: string;
2120
2217
  } | undefined;
2121
- tag?: string | undefined;
2122
2218
  media?: {
2123
2219
  type: "image";
2124
2220
  uri: string;
@@ -2137,199 +2233,341 @@ export declare const suggestionsValueSchema: z.ZodObject<{
2137
2233
  accessibilityDescription?: string | undefined;
2138
2234
  } | undefined;
2139
2235
  }>;
2140
- export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
2141
- providesTitle: z.ZodOptional<z.ZodBoolean>;
2142
- providesDescription: z.ZodOptional<z.ZodBoolean>;
2143
- providesIcon: z.ZodOptional<z.ZodBoolean>;
2144
- providesImage: z.ZodOptional<z.ZodBoolean>;
2145
- providesMedia: z.ZodOptional<z.ZodBoolean>;
2146
- }, "strip", z.ZodTypeAny, {
2147
- providesTitle?: boolean | undefined;
2148
- providesDescription?: boolean | undefined;
2149
- providesIcon?: boolean | undefined;
2150
- providesImage?: boolean | undefined;
2151
- providesMedia?: boolean | undefined;
2152
- }, {
2153
- providesTitle?: boolean | undefined;
2154
- providesDescription?: boolean | undefined;
2155
- providesIcon?: boolean | undefined;
2156
- providesImage?: boolean | undefined;
2157
- providesMedia?: boolean | undefined;
2158
- }>, z.ZodObject<{
2159
- defaultTitle: z.ZodOptional<z.ZodString>;
2160
- defaultDescription: z.ZodOptional<z.ZodString>;
2161
- defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2162
- name: z.ZodString;
2163
- }, "strip", z.ZodTypeAny, {
2164
- name: string;
2165
- }, {
2166
- name: string;
2167
- }>, z.ZodObject<{
2168
- text: z.ZodString;
2169
- }, "strip", z.ZodTypeAny, {
2170
- text: string;
2171
- }, {
2172
- text: string;
2173
- }>]>>;
2174
- defaultImage: z.ZodOptional<z.ZodObject<{
2175
- text: z.ZodOptional<z.ZodString>;
2236
+ export declare const actionResponseBodySchema: z.ZodObject<{
2237
+ action: z.ZodObject<{
2238
+ title: z.ZodOptional<z.ZodString>;
2239
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
2240
+ disabled: z.ZodOptional<z.ZodBoolean>;
2241
+ $id: z.ZodOptional<z.ZodString>;
2242
+ $ref: z.ZodOptional<z.ZodString>;
2243
+ id: z.ZodOptional<z.ZodString>;
2176
2244
  url: z.ZodOptional<z.ZodString>;
2177
- uri: z.ZodOptional<z.ZodString>;
2178
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2245
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
2246
+ exit: z.ZodOptional<z.ZodBoolean>;
2247
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2248
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2249
+ timeout: z.ZodOptional<z.ZodNumber>;
2250
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
2179
2251
  }, "strip", z.ZodTypeAny, {
2180
2252
  url?: string | undefined;
2181
- text?: string | undefined;
2182
- uri?: string | undefined;
2183
- accessibilityDescription?: string | undefined;
2253
+ $id?: string | undefined;
2254
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2255
+ disabled?: boolean | undefined;
2256
+ title?: string | undefined;
2257
+ timeout?: number | undefined;
2258
+ id?: string | undefined;
2259
+ $ref?: string | undefined;
2260
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2261
+ exit?: boolean | undefined;
2262
+ result?: JsonElement | undefined;
2263
+ data?: JsonElement | undefined;
2264
+ skipValidation?: boolean | undefined;
2184
2265
  }, {
2185
2266
  url?: string | undefined;
2186
- text?: string | undefined;
2187
- uri?: string | undefined;
2188
- accessibilityDescription?: string | undefined;
2189
- }>>;
2190
- providesTitle: z.ZodOptional<z.ZodBoolean>;
2191
- providesDescription: z.ZodOptional<z.ZodBoolean>;
2192
- providesIcon: z.ZodOptional<z.ZodBoolean>;
2193
- providesImage: z.ZodOptional<z.ZodBoolean>;
2194
- defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2195
- type: z.ZodLiteral<"avatar">;
2196
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2197
- type: z.ZodLiteral<"text">;
2198
- text: z.ZodString;
2199
- badgeUri: z.ZodOptional<z.ZodString>;
2267
+ $id?: string | undefined;
2268
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2269
+ disabled?: boolean | undefined;
2270
+ title?: string | undefined;
2271
+ timeout?: number | undefined;
2272
+ id?: string | undefined;
2273
+ $ref?: string | undefined;
2274
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2275
+ exit?: boolean | undefined;
2276
+ result?: JsonElement | undefined;
2277
+ data?: JsonElement | undefined;
2278
+ skipValidation?: boolean | undefined;
2279
+ }>;
2280
+ }, "strip", z.ZodTypeAny, {
2281
+ action: {
2282
+ url?: string | undefined;
2283
+ $id?: string | undefined;
2284
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2285
+ disabled?: boolean | undefined;
2286
+ title?: string | undefined;
2287
+ timeout?: number | undefined;
2288
+ id?: string | undefined;
2289
+ $ref?: string | undefined;
2290
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2291
+ exit?: boolean | undefined;
2292
+ result?: JsonElement | undefined;
2293
+ data?: JsonElement | undefined;
2294
+ skipValidation?: boolean | undefined;
2295
+ };
2296
+ }, {
2297
+ action: {
2298
+ url?: string | undefined;
2299
+ $id?: string | undefined;
2300
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2301
+ disabled?: boolean | undefined;
2302
+ title?: string | undefined;
2303
+ timeout?: number | undefined;
2304
+ id?: string | undefined;
2305
+ $ref?: string | undefined;
2306
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2307
+ exit?: boolean | undefined;
2308
+ result?: JsonElement | undefined;
2309
+ data?: JsonElement | undefined;
2310
+ skipValidation?: boolean | undefined;
2311
+ };
2312
+ }>;
2313
+ export declare const errorResponseBodySchema: z.ZodObject<{
2314
+ refreshFormUrl: z.ZodOptional<z.ZodString>;
2315
+ analytics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2316
+ error: z.ZodOptional<z.ZodString>;
2317
+ validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2318
+ refreshUrl: z.ZodOptional<z.ZodString>;
2319
+ }, "strip", z.ZodTypeAny, {
2320
+ refreshUrl?: string | undefined;
2321
+ refreshFormUrl?: string | undefined;
2322
+ analytics?: Record<string, string> | undefined;
2323
+ validation?: JsonElement | undefined;
2324
+ error?: string | undefined;
2325
+ }, {
2326
+ refreshUrl?: string | undefined;
2327
+ refreshFormUrl?: string | undefined;
2328
+ analytics?: Record<string, string> | undefined;
2329
+ validation?: JsonElement | undefined;
2330
+ error?: string | undefined;
2331
+ }>;
2332
+ export declare const navigationSchema: z.ZodObject<{
2333
+ backButton: z.ZodOptional<z.ZodObject<{
2334
+ title: z.ZodOptional<z.ZodString>;
2335
+ action: z.ZodObject<{
2336
+ title: z.ZodOptional<z.ZodString>;
2337
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
2338
+ disabled: z.ZodOptional<z.ZodBoolean>;
2339
+ $id: z.ZodOptional<z.ZodString>;
2340
+ $ref: z.ZodOptional<z.ZodString>;
2341
+ id: z.ZodOptional<z.ZodString>;
2342
+ url: z.ZodOptional<z.ZodString>;
2343
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
2344
+ exit: z.ZodOptional<z.ZodBoolean>;
2345
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2346
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2347
+ timeout: z.ZodOptional<z.ZodNumber>;
2348
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
2200
2349
  }, "strip", z.ZodTypeAny, {
2201
- type: "text";
2202
- text: string;
2203
- badgeUri?: string | undefined;
2350
+ url?: string | undefined;
2351
+ $id?: string | undefined;
2352
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2353
+ disabled?: boolean | undefined;
2354
+ title?: string | undefined;
2355
+ timeout?: number | undefined;
2356
+ id?: string | undefined;
2357
+ $ref?: string | undefined;
2358
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2359
+ exit?: boolean | undefined;
2360
+ result?: JsonElement | undefined;
2361
+ data?: JsonElement | undefined;
2362
+ skipValidation?: boolean | undefined;
2204
2363
  }, {
2205
- type: "text";
2206
- text: string;
2207
- badgeUri?: string | undefined;
2208
- }>, z.ZodObject<{
2209
- type: z.ZodLiteral<"uri">;
2210
- uri: z.ZodString;
2211
- badgeUri: z.ZodOptional<z.ZodString>;
2364
+ url?: string | undefined;
2365
+ $id?: string | undefined;
2366
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2367
+ disabled?: boolean | undefined;
2368
+ title?: string | undefined;
2369
+ timeout?: number | undefined;
2370
+ id?: string | undefined;
2371
+ $ref?: string | undefined;
2372
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2373
+ exit?: boolean | undefined;
2374
+ result?: JsonElement | undefined;
2375
+ data?: JsonElement | undefined;
2376
+ skipValidation?: boolean | undefined;
2377
+ }>;
2378
+ }, "strip", z.ZodTypeAny, {
2379
+ action: {
2380
+ url?: string | undefined;
2381
+ $id?: string | undefined;
2382
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2383
+ disabled?: boolean | undefined;
2384
+ title?: string | undefined;
2385
+ timeout?: number | undefined;
2386
+ id?: string | undefined;
2387
+ $ref?: string | undefined;
2388
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2389
+ exit?: boolean | undefined;
2390
+ result?: JsonElement | undefined;
2391
+ data?: JsonElement | undefined;
2392
+ skipValidation?: boolean | undefined;
2393
+ };
2394
+ title?: string | undefined;
2395
+ }, {
2396
+ action: {
2397
+ url?: string | undefined;
2398
+ $id?: string | undefined;
2399
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2400
+ disabled?: boolean | undefined;
2401
+ title?: string | undefined;
2402
+ timeout?: number | undefined;
2403
+ id?: string | undefined;
2404
+ $ref?: string | undefined;
2405
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2406
+ exit?: boolean | undefined;
2407
+ result?: JsonElement | undefined;
2408
+ data?: JsonElement | undefined;
2409
+ skipValidation?: boolean | undefined;
2410
+ };
2411
+ title?: string | undefined;
2412
+ }>>;
2413
+ back: z.ZodOptional<z.ZodObject<{
2414
+ title: z.ZodOptional<z.ZodString>;
2415
+ action: z.ZodObject<{
2416
+ title: z.ZodOptional<z.ZodString>;
2417
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
2418
+ disabled: z.ZodOptional<z.ZodBoolean>;
2419
+ $id: z.ZodOptional<z.ZodString>;
2420
+ $ref: z.ZodOptional<z.ZodString>;
2421
+ id: z.ZodOptional<z.ZodString>;
2422
+ url: z.ZodOptional<z.ZodString>;
2423
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
2424
+ exit: z.ZodOptional<z.ZodBoolean>;
2425
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2426
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
2427
+ timeout: z.ZodOptional<z.ZodNumber>;
2428
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
2212
2429
  }, "strip", z.ZodTypeAny, {
2213
- type: "uri";
2214
- uri: string;
2215
- badgeUri?: string | undefined;
2430
+ url?: string | undefined;
2431
+ $id?: string | undefined;
2432
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2433
+ disabled?: boolean | undefined;
2434
+ title?: string | undefined;
2435
+ timeout?: number | undefined;
2436
+ id?: string | undefined;
2437
+ $ref?: string | undefined;
2438
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2439
+ exit?: boolean | undefined;
2440
+ result?: JsonElement | undefined;
2441
+ data?: JsonElement | undefined;
2442
+ skipValidation?: boolean | undefined;
2216
2443
  }, {
2217
- type: "uri";
2218
- uri: string;
2219
- badgeUri?: string | undefined;
2220
- }>]>, "many">;
2221
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2222
- }, "strip", z.ZodTypeAny, {
2223
- type: "avatar";
2224
- content: ({
2225
- type: "uri";
2226
- uri: string;
2227
- badgeUri?: string | undefined;
2228
- } | {
2229
- type: "text";
2230
- text: string;
2231
- badgeUri?: string | undefined;
2232
- })[];
2233
- accessibilityDescription?: string | undefined;
2234
- }, {
2235
- type: "avatar";
2236
- content: ({
2237
- type: "uri";
2238
- uri: string;
2239
- badgeUri?: string | undefined;
2240
- } | {
2241
- type: "text";
2242
- text: string;
2243
- badgeUri?: string | undefined;
2244
- })[];
2245
- accessibilityDescription?: string | undefined;
2246
- }>, z.ZodObject<{
2247
- type: z.ZodLiteral<"image">;
2248
- uri: z.ZodString;
2249
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2444
+ url?: string | undefined;
2445
+ $id?: string | undefined;
2446
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2447
+ disabled?: boolean | undefined;
2448
+ title?: string | undefined;
2449
+ timeout?: number | undefined;
2450
+ id?: string | undefined;
2451
+ $ref?: string | undefined;
2452
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2453
+ exit?: boolean | undefined;
2454
+ result?: JsonElement | undefined;
2455
+ data?: JsonElement | undefined;
2456
+ skipValidation?: boolean | undefined;
2457
+ }>;
2250
2458
  }, "strip", z.ZodTypeAny, {
2251
- type: "image";
2252
- uri: string;
2253
- accessibilityDescription?: string | undefined;
2459
+ action: {
2460
+ url?: string | undefined;
2461
+ $id?: string | undefined;
2462
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2463
+ disabled?: boolean | undefined;
2464
+ title?: string | undefined;
2465
+ timeout?: number | undefined;
2466
+ id?: string | undefined;
2467
+ $ref?: string | undefined;
2468
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2469
+ exit?: boolean | undefined;
2470
+ result?: JsonElement | undefined;
2471
+ data?: JsonElement | undefined;
2472
+ skipValidation?: boolean | undefined;
2473
+ };
2474
+ title?: string | undefined;
2254
2475
  }, {
2255
- type: "image";
2256
- uri: string;
2257
- accessibilityDescription?: string | undefined;
2258
- }>]>>;
2259
- providesMedia: z.ZodOptional<z.ZodBoolean>;
2476
+ action: {
2477
+ url?: string | undefined;
2478
+ $id?: string | undefined;
2479
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2480
+ disabled?: boolean | undefined;
2481
+ title?: string | undefined;
2482
+ timeout?: number | undefined;
2483
+ id?: string | undefined;
2484
+ $ref?: string | undefined;
2485
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2486
+ exit?: boolean | undefined;
2487
+ result?: JsonElement | undefined;
2488
+ data?: JsonElement | undefined;
2489
+ skipValidation?: boolean | undefined;
2490
+ };
2491
+ title?: string | undefined;
2492
+ }>>;
2493
+ stackBehavior: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>>;
2260
2494
  }, "strip", z.ZodTypeAny, {
2261
- providesTitle?: boolean | undefined;
2262
- providesDescription?: boolean | undefined;
2263
- providesIcon?: boolean | undefined;
2264
- providesImage?: boolean | undefined;
2265
- providesMedia?: boolean | undefined;
2266
- defaultTitle?: string | undefined;
2267
- defaultDescription?: string | undefined;
2268
- defaultIcon?: {
2269
- name: string;
2270
- } | {
2271
- text: string;
2272
- } | undefined;
2273
- defaultImage?: {
2274
- url?: string | undefined;
2275
- text?: string | undefined;
2276
- uri?: string | undefined;
2277
- accessibilityDescription?: string | undefined;
2495
+ back?: {
2496
+ action: {
2497
+ url?: string | undefined;
2498
+ $id?: string | undefined;
2499
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2500
+ disabled?: boolean | undefined;
2501
+ title?: string | undefined;
2502
+ timeout?: number | undefined;
2503
+ id?: string | undefined;
2504
+ $ref?: string | undefined;
2505
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2506
+ exit?: boolean | undefined;
2507
+ result?: JsonElement | undefined;
2508
+ data?: JsonElement | undefined;
2509
+ skipValidation?: boolean | undefined;
2510
+ };
2511
+ title?: string | undefined;
2278
2512
  } | undefined;
2279
- defaultMedia?: {
2280
- type: "image";
2281
- uri: string;
2282
- accessibilityDescription?: string | undefined;
2283
- } | {
2284
- type: "avatar";
2285
- content: ({
2286
- type: "uri";
2287
- uri: string;
2288
- badgeUri?: string | undefined;
2289
- } | {
2290
- type: "text";
2291
- text: string;
2292
- badgeUri?: string | undefined;
2293
- })[];
2294
- accessibilityDescription?: string | undefined;
2513
+ backButton?: {
2514
+ action: {
2515
+ url?: string | undefined;
2516
+ $id?: string | undefined;
2517
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2518
+ disabled?: boolean | undefined;
2519
+ title?: string | undefined;
2520
+ timeout?: number | undefined;
2521
+ id?: string | undefined;
2522
+ $ref?: string | undefined;
2523
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2524
+ exit?: boolean | undefined;
2525
+ result?: JsonElement | undefined;
2526
+ data?: JsonElement | undefined;
2527
+ skipValidation?: boolean | undefined;
2528
+ };
2529
+ title?: string | undefined;
2295
2530
  } | undefined;
2531
+ stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
2296
2532
  }, {
2297
- providesTitle?: boolean | undefined;
2298
- providesDescription?: boolean | undefined;
2299
- providesIcon?: boolean | undefined;
2300
- providesImage?: boolean | undefined;
2301
- providesMedia?: boolean | undefined;
2302
- defaultTitle?: string | undefined;
2303
- defaultDescription?: string | undefined;
2304
- defaultIcon?: {
2305
- name: string;
2306
- } | {
2307
- text: string;
2308
- } | undefined;
2309
- defaultImage?: {
2310
- url?: string | undefined;
2311
- text?: string | undefined;
2312
- uri?: string | undefined;
2313
- accessibilityDescription?: string | undefined;
2533
+ back?: {
2534
+ action: {
2535
+ url?: string | undefined;
2536
+ $id?: string | undefined;
2537
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2538
+ disabled?: boolean | undefined;
2539
+ title?: string | undefined;
2540
+ timeout?: number | undefined;
2541
+ id?: string | undefined;
2542
+ $ref?: string | undefined;
2543
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2544
+ exit?: boolean | undefined;
2545
+ result?: JsonElement | undefined;
2546
+ data?: JsonElement | undefined;
2547
+ skipValidation?: boolean | undefined;
2548
+ };
2549
+ title?: string | undefined;
2314
2550
  } | undefined;
2315
- defaultMedia?: {
2316
- type: "image";
2317
- uri: string;
2318
- accessibilityDescription?: string | undefined;
2319
- } | {
2320
- type: "avatar";
2321
- content: ({
2322
- type: "uri";
2323
- uri: string;
2324
- badgeUri?: string | undefined;
2325
- } | {
2326
- type: "text";
2327
- text: string;
2328
- badgeUri?: string | undefined;
2329
- })[];
2330
- accessibilityDescription?: string | undefined;
2551
+ backButton?: {
2552
+ action: {
2553
+ url?: string | undefined;
2554
+ $id?: string | undefined;
2555
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2556
+ disabled?: boolean | undefined;
2557
+ title?: string | undefined;
2558
+ timeout?: number | undefined;
2559
+ id?: string | undefined;
2560
+ $ref?: string | undefined;
2561
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2562
+ exit?: boolean | undefined;
2563
+ result?: JsonElement | undefined;
2564
+ data?: JsonElement | undefined;
2565
+ skipValidation?: boolean | undefined;
2566
+ };
2567
+ title?: string | undefined;
2331
2568
  } | undefined;
2332
- }>]>;
2569
+ stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
2570
+ }>;
2333
2571
  export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
2334
2572
  type: z.ZodLiteral<"action">;
2335
2573
  title: z.ZodString;
@@ -2756,244 +2994,6 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
2756
2994
  accessibilityDescription?: string | undefined;
2757
2995
  } | undefined;
2758
2996
  }>]>;
2759
- export declare const suggestionsSchema: z.ZodObject<{
2760
- values: z.ZodArray<z.ZodObject<{
2761
- label: z.ZodString;
2762
- value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
2763
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2764
- name: z.ZodString;
2765
- }, "strip", z.ZodTypeAny, {
2766
- name: string;
2767
- }, {
2768
- name: string;
2769
- }>, z.ZodObject<{
2770
- text: z.ZodString;
2771
- }, "strip", z.ZodTypeAny, {
2772
- text: string;
2773
- }, {
2774
- text: string;
2775
- }>]>>;
2776
- image: z.ZodOptional<z.ZodObject<{
2777
- text: z.ZodOptional<z.ZodString>;
2778
- url: z.ZodOptional<z.ZodString>;
2779
- uri: z.ZodOptional<z.ZodString>;
2780
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2781
- }, "strip", z.ZodTypeAny, {
2782
- url?: string | undefined;
2783
- text?: string | undefined;
2784
- uri?: string | undefined;
2785
- accessibilityDescription?: string | undefined;
2786
- }, {
2787
- url?: string | undefined;
2788
- text?: string | undefined;
2789
- uri?: string | undefined;
2790
- accessibilityDescription?: string | undefined;
2791
- }>>;
2792
- tag: z.ZodOptional<z.ZodString>;
2793
- media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2794
- type: z.ZodLiteral<"avatar">;
2795
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2796
- type: z.ZodLiteral<"text">;
2797
- text: z.ZodString;
2798
- badgeUri: z.ZodOptional<z.ZodString>;
2799
- }, "strip", z.ZodTypeAny, {
2800
- type: "text";
2801
- text: string;
2802
- badgeUri?: string | undefined;
2803
- }, {
2804
- type: "text";
2805
- text: string;
2806
- badgeUri?: string | undefined;
2807
- }>, z.ZodObject<{
2808
- type: z.ZodLiteral<"uri">;
2809
- uri: z.ZodString;
2810
- badgeUri: z.ZodOptional<z.ZodString>;
2811
- }, "strip", z.ZodTypeAny, {
2812
- type: "uri";
2813
- uri: string;
2814
- badgeUri?: string | undefined;
2815
- }, {
2816
- type: "uri";
2817
- uri: string;
2818
- badgeUri?: string | undefined;
2819
- }>]>, "many">;
2820
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2821
- }, "strip", z.ZodTypeAny, {
2822
- type: "avatar";
2823
- content: ({
2824
- type: "uri";
2825
- uri: string;
2826
- badgeUri?: string | undefined;
2827
- } | {
2828
- type: "text";
2829
- text: string;
2830
- badgeUri?: string | undefined;
2831
- })[];
2832
- accessibilityDescription?: string | undefined;
2833
- }, {
2834
- type: "avatar";
2835
- content: ({
2836
- type: "uri";
2837
- uri: string;
2838
- badgeUri?: string | undefined;
2839
- } | {
2840
- type: "text";
2841
- text: string;
2842
- badgeUri?: string | undefined;
2843
- })[];
2844
- accessibilityDescription?: string | undefined;
2845
- }>, z.ZodObject<{
2846
- type: z.ZodLiteral<"image">;
2847
- uri: z.ZodString;
2848
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2849
- }, "strip", z.ZodTypeAny, {
2850
- type: "image";
2851
- uri: string;
2852
- accessibilityDescription?: string | undefined;
2853
- }, {
2854
- type: "image";
2855
- uri: string;
2856
- accessibilityDescription?: string | undefined;
2857
- }>]>>;
2858
- analyticsId: z.ZodOptional<z.ZodString>;
2859
- }, "strip", z.ZodTypeAny, {
2860
- value: JsonElement;
2861
- label: string;
2862
- image?: {
2863
- url?: string | undefined;
2864
- text?: string | undefined;
2865
- uri?: string | undefined;
2866
- accessibilityDescription?: string | undefined;
2867
- } | undefined;
2868
- analyticsId?: string | undefined;
2869
- icon?: {
2870
- name: string;
2871
- } | {
2872
- text: string;
2873
- } | undefined;
2874
- tag?: string | undefined;
2875
- media?: {
2876
- type: "image";
2877
- uri: string;
2878
- accessibilityDescription?: string | undefined;
2879
- } | {
2880
- type: "avatar";
2881
- content: ({
2882
- type: "uri";
2883
- uri: string;
2884
- badgeUri?: string | undefined;
2885
- } | {
2886
- type: "text";
2887
- text: string;
2888
- badgeUri?: string | undefined;
2889
- })[];
2890
- accessibilityDescription?: string | undefined;
2891
- } | undefined;
2892
- }, {
2893
- value: JsonElement;
2894
- label: string;
2895
- image?: {
2896
- url?: string | undefined;
2897
- text?: string | undefined;
2898
- uri?: string | undefined;
2899
- accessibilityDescription?: string | undefined;
2900
- } | undefined;
2901
- analyticsId?: string | undefined;
2902
- icon?: {
2903
- name: string;
2904
- } | {
2905
- text: string;
2906
- } | undefined;
2907
- tag?: string | undefined;
2908
- media?: {
2909
- type: "image";
2910
- uri: string;
2911
- accessibilityDescription?: string | undefined;
2912
- } | {
2913
- type: "avatar";
2914
- content: ({
2915
- type: "uri";
2916
- uri: string;
2917
- badgeUri?: string | undefined;
2918
- } | {
2919
- type: "text";
2920
- text: string;
2921
- badgeUri?: string | undefined;
2922
- })[];
2923
- accessibilityDescription?: string | undefined;
2924
- } | undefined;
2925
- }>, "many">;
2926
- }, "strip", z.ZodTypeAny, {
2927
- values: {
2928
- value: JsonElement;
2929
- label: string;
2930
- image?: {
2931
- url?: string | undefined;
2932
- text?: string | undefined;
2933
- uri?: string | undefined;
2934
- accessibilityDescription?: string | undefined;
2935
- } | undefined;
2936
- analyticsId?: string | undefined;
2937
- icon?: {
2938
- name: string;
2939
- } | {
2940
- text: string;
2941
- } | undefined;
2942
- tag?: string | undefined;
2943
- media?: {
2944
- type: "image";
2945
- uri: string;
2946
- accessibilityDescription?: string | undefined;
2947
- } | {
2948
- type: "avatar";
2949
- content: ({
2950
- type: "uri";
2951
- uri: string;
2952
- badgeUri?: string | undefined;
2953
- } | {
2954
- type: "text";
2955
- text: string;
2956
- badgeUri?: string | undefined;
2957
- })[];
2958
- accessibilityDescription?: string | undefined;
2959
- } | undefined;
2960
- }[];
2961
- }, {
2962
- values: {
2963
- value: JsonElement;
2964
- label: string;
2965
- image?: {
2966
- url?: string | undefined;
2967
- text?: string | undefined;
2968
- uri?: string | undefined;
2969
- accessibilityDescription?: string | undefined;
2970
- } | undefined;
2971
- analyticsId?: string | undefined;
2972
- icon?: {
2973
- name: string;
2974
- } | {
2975
- text: string;
2976
- } | undefined;
2977
- tag?: string | undefined;
2978
- media?: {
2979
- type: "image";
2980
- uri: string;
2981
- accessibilityDescription?: string | undefined;
2982
- } | {
2983
- type: "avatar";
2984
- content: ({
2985
- type: "uri";
2986
- uri: string;
2987
- badgeUri?: string | undefined;
2988
- } | {
2989
- type: "text";
2990
- text: string;
2991
- badgeUri?: string | undefined;
2992
- })[];
2993
- accessibilityDescription?: string | undefined;
2994
- } | undefined;
2995
- }[];
2996
- }>;
2997
2997
  export declare const searchResponseBodySchema: z.ZodObject<{
2998
2998
  results: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2999
2999
  type: z.ZodLiteral<"action">;