@wise/dynamic-flow-types 3.9.0 → 3.10.0-experimental-5de9758

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.
Files changed (40) hide show
  1. package/build/main.js +731 -690
  2. package/build/main.mjs +731 -690
  3. package/build/next/feature/SuggestionsValue.d.ts +5 -0
  4. package/build/next/feature/SummaryProvider.d.ts +4 -0
  5. package/build/next/feature/SummarySummariser.d.ts +9 -0
  6. package/build/next/feature/toolbar/Toolbar.d.ts +14 -0
  7. package/build/next/feature/toolbar/ToolbarButton.d.ts +41 -0
  8. package/build/next/feature/toolbar/ToolbarItem.d.ts +2 -0
  9. package/build/next/index.d.ts +4 -0
  10. package/build/next/layout/DecisionLayoutOption.d.ts +5 -0
  11. package/build/next/layout/ListLayoutItem.d.ts +5 -0
  12. package/build/next/layout/ReviewLayoutField.d.ts +7 -2
  13. package/build/next/responses/search/SearchResultAction.d.ts +5 -0
  14. package/build/next/responses/search/SearchResultSearch.d.ts +5 -0
  15. package/build/next/schema/AllOfSchema.d.ts +7 -2
  16. package/build/next/schema/ArraySchemaList.d.ts +7 -2
  17. package/build/next/schema/ArraySchemaTuple.d.ts +7 -2
  18. package/build/next/schema/BlobSchema.d.ts +7 -2
  19. package/build/next/schema/BooleanSchema.d.ts +7 -2
  20. package/build/next/schema/ConstSchema.d.ts +7 -2
  21. package/build/next/schema/IntegerSchema.d.ts +7 -2
  22. package/build/next/schema/NumberSchema.d.ts +7 -2
  23. package/build/next/schema/ObjectSchema.d.ts +7 -2
  24. package/build/next/schema/OneOfSchema.d.ts +7 -2
  25. package/build/next/schema/StringSchema.d.ts +6 -0
  26. package/build/next/step/Step.d.ts +6 -0
  27. package/build/renderers/BaseInputRendererProps.d.ts +2 -0
  28. package/build/renderers/DecisionRendererProps.d.ts +2 -0
  29. package/build/renderers/FormSectionRendererProps.d.ts +2 -0
  30. package/build/renderers/ListRendererProps.d.ts +2 -0
  31. package/build/renderers/Media.d.ts +28 -0
  32. package/build/renderers/RepeatableRendererProps.d.ts +3 -0
  33. package/build/renderers/ReviewRendererProps.d.ts +2 -0
  34. package/build/renderers/SearchRendererProps.d.ts +2 -0
  35. package/build/renderers/SelectInputRendererProps.d.ts +2 -0
  36. package/build/renderers/Suggestions.d.ts +2 -0
  37. package/build/renderers/index.d.ts +2 -0
  38. package/build/zod/schemas.d.ts +2503 -1396
  39. package/build/zod/schemas.ts +780 -733
  40. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import type { JsonElement, AdditionalInfo, Behavior, ReviewLayoutCallToAction, TabsLayout, TabsLayoutTab, AlertLayout, AlertLayoutCallToAction, ListLayout, ListLayoutCallToAction, ListLayoutItem, DecisionLayout, DecisionLayoutOption, SectionLayoutCallToAction, StatusListLayout, StatusListLayoutItem, SectionLayout, Layout, ItemCallToAction, BoxLayout, ButtonLayout, ColumnsLayout, ModalLayout, ReviewLayout, ReviewLayoutField, ModalLayoutContent, ModalResponseBody, Step, Schema, Polling, LinkHandler, AllOfSchema, ArraySchema, BlobSchema, BooleanSchema, ConstSchema, IntegerSchema, NumberSchema, ObjectSchema, OneOfSchema, StringSchema, ArraySchemaList, PersistAsync, ArraySchemaTuple, PollingOnError, ModalBehavior } from '../next';
2
+ import type { JsonElement, AllOfSchema, Schema, AlertLayout, StringSchema, PersistAsync, Behavior, IntegerSchema, ArraySchemaTuple, OneOfSchema, ConstSchema, ArraySchema, BlobSchema, BooleanSchema, NumberSchema, ObjectSchema, ArraySchemaList, ModalResponseBody, Layout, ToolbarItem, ToolbarButton, Toolbar, ModalBehavior, Polling, PollingOnError, LinkHandler, Step, StatusListLayout, StatusListLayoutItem, TabsLayoutTab, ListLayoutItem, AdditionalInfo, ColumnsLayout, DecisionLayout, DecisionLayoutOption, AlertLayoutCallToAction, ReviewLayoutCallToAction, SectionLayoutCallToAction, ReviewLayout, ReviewLayoutField, BoxLayout, ButtonLayout, ListLayout, ModalLayout, SectionLayout, TabsLayout, ModalLayoutContent, ItemCallToAction, ListLayoutCallToAction } from '../next';
3
3
  export declare const imageSchema: z.ZodObject<{
4
4
  text: z.ZodOptional<z.ZodString>;
5
5
  url: z.ZodOptional<z.ZodString>;
@@ -16,163 +16,142 @@ export declare const imageSchema: z.ZodObject<{
16
16
  uri?: string | undefined;
17
17
  accessibilityDescription?: string | undefined;
18
18
  }>;
19
- export declare const httpMethodSchema: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
20
- export declare const iconNamedSchema: z.ZodObject<{
21
- name: z.ZodString;
19
+ export declare const summaryProviderSchema: z.ZodObject<{
20
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
21
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
22
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
23
+ providesImage: z.ZodOptional<z.ZodBoolean>;
24
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
22
25
  }, "strip", z.ZodTypeAny, {
23
- name: string;
26
+ providesTitle?: boolean | undefined;
27
+ providesDescription?: boolean | undefined;
28
+ providesIcon?: boolean | undefined;
29
+ providesImage?: boolean | undefined;
30
+ providesMedia?: boolean | undefined;
24
31
  }, {
25
- name: string;
32
+ providesTitle?: boolean | undefined;
33
+ providesDescription?: boolean | undefined;
34
+ providesIcon?: boolean | undefined;
35
+ providesImage?: boolean | undefined;
36
+ providesMedia?: boolean | undefined;
26
37
  }>;
27
- export declare const supportingValuesSchema: z.ZodObject<{
28
- value: z.ZodOptional<z.ZodString>;
29
- subvalue: z.ZodOptional<z.ZodString>;
38
+ 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">]>;
39
+ export declare const autocapitalizationTypeSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"characters">, z.ZodLiteral<"sentences">, z.ZodLiteral<"words">]>;
40
+ export declare const jsonElementSchema: z.ZodSchema<JsonElement>;
41
+ export declare const uploadSourceSchema: z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>;
42
+ 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">]>;
43
+ export declare const helpSchema: z.ZodObject<{
44
+ markdown: z.ZodString;
30
45
  }, "strip", z.ZodTypeAny, {
31
- value?: string | undefined;
32
- subvalue?: string | undefined;
46
+ markdown: string;
33
47
  }, {
34
- value?: string | undefined;
35
- subvalue?: string | undefined;
48
+ markdown: string;
36
49
  }>;
37
- export declare const contextSchema: 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">]>;
38
- export declare const inlineAlertSchema: z.ZodObject<{
39
- content: z.ZodString;
40
- 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">]>>;
50
+ export declare const httpMethodSchema: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
51
+ export declare const errorResponseBodySchema: z.ZodObject<{
52
+ refreshFormUrl: z.ZodOptional<z.ZodString>;
53
+ analytics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
54
+ error: z.ZodOptional<z.ZodString>;
55
+ validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
56
+ refreshUrl: z.ZodOptional<z.ZodString>;
41
57
  }, "strip", z.ZodTypeAny, {
42
- content: string;
43
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
58
+ refreshUrl?: string | undefined;
59
+ refreshFormUrl?: string | undefined;
60
+ analytics?: Record<string, string> | undefined;
61
+ validation?: JsonElement | undefined;
62
+ error?: string | undefined;
44
63
  }, {
45
- content: string;
46
- context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
64
+ refreshUrl?: string | undefined;
65
+ refreshFormUrl?: string | undefined;
66
+ analytics?: Record<string, string> | undefined;
67
+ validation?: JsonElement | undefined;
68
+ error?: string | undefined;
47
69
  }>;
48
- export declare const iconTextSchema: z.ZodObject<{
49
- text: z.ZodString;
70
+ export declare const linkSchema: z.ZodObject<{
71
+ url: z.ZodString;
50
72
  }, "strip", z.ZodTypeAny, {
51
- text: string;
73
+ url: string;
52
74
  }, {
53
- text: string;
75
+ url: string;
54
76
  }>;
55
- export declare const sizeSchema: z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>;
56
- export declare const autocapitalizationTypeSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"characters">, z.ZodLiteral<"sentences">, z.ZodLiteral<"words">]>;
57
- export declare const alignSchema: z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>;
58
- export declare const iconSchema: z.ZodUnion<[z.ZodObject<{
59
- name: z.ZodString;
60
- }, "strip", z.ZodTypeAny, {
61
- name: string;
62
- }, {
63
- name: string;
64
- }>, z.ZodObject<{
65
- text: z.ZodString;
77
+ export declare const refreshBehaviorSchema: z.ZodObject<{
78
+ type: z.ZodLiteral<"refresh">;
66
79
  }, "strip", z.ZodTypeAny, {
67
- text: string;
80
+ type: "refresh";
68
81
  }, {
69
- text: string;
70
- }>]>;
71
- export declare const mediaImageSchema: z.ZodObject<{
72
- type: z.ZodLiteral<"image">;
73
- uri: z.ZodString;
74
- accessibilityDescription: z.ZodOptional<z.ZodString>;
82
+ type: "refresh";
83
+ }>;
84
+ export declare const contextSchema: 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">]>;
85
+ export declare const dismissBehaviorSchema: z.ZodObject<{
86
+ type: z.ZodLiteral<"dismiss">;
75
87
  }, "strip", z.ZodTypeAny, {
76
- type: "image";
77
- uri: string;
78
- accessibilityDescription?: string | undefined;
88
+ type: "dismiss";
79
89
  }, {
80
- type: "image";
81
- uri: string;
82
- accessibilityDescription?: string | undefined;
90
+ type: "dismiss";
83
91
  }>;
84
- export declare const avatarUriContentSchema: z.ZodObject<{
85
- type: z.ZodLiteral<"uri">;
86
- uri: z.ZodString;
87
- badgeUri: z.ZodOptional<z.ZodString>;
92
+ export declare const actionTypeSchema: z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>;
93
+ export declare const stepErrorSchema: z.ZodObject<{
94
+ error: z.ZodOptional<z.ZodString>;
95
+ validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
88
96
  }, "strip", z.ZodTypeAny, {
89
- type: "uri";
90
- uri: string;
91
- badgeUri?: string | undefined;
97
+ validation?: JsonElement | undefined;
98
+ error?: string | undefined;
92
99
  }, {
93
- type: "uri";
94
- uri: string;
95
- badgeUri?: string | undefined;
100
+ validation?: JsonElement | undefined;
101
+ error?: string | undefined;
96
102
  }>;
97
- export declare const avatarTextContentSchema: z.ZodObject<{
98
- type: z.ZodLiteral<"text">;
99
- text: z.ZodString;
100
- badgeUri: z.ZodOptional<z.ZodString>;
103
+ export declare const copyBehaviorSchema: z.ZodObject<{
104
+ type: z.ZodLiteral<"copy">;
105
+ content: z.ZodString;
101
106
  }, "strip", z.ZodTypeAny, {
102
- type: "text";
103
- text: string;
104
- badgeUri?: string | undefined;
107
+ type: "copy";
108
+ content: string;
105
109
  }, {
106
- type: "text";
107
- text: string;
108
- badgeUri?: string | undefined;
110
+ type: "copy";
111
+ content: string;
109
112
  }>;
110
- 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
- export declare const loadingIndicatorLayoutSchema: z.ZodObject<{
112
- type: z.ZodLiteral<"loading-indicator">;
113
- size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
114
- control: z.ZodOptional<z.ZodString>;
115
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
116
- analyticsId: z.ZodOptional<z.ZodString>;
113
+ export declare const linkBehaviorSchema: z.ZodObject<{
114
+ type: z.ZodLiteral<"link">;
115
+ url: z.ZodString;
117
116
  }, "strip", z.ZodTypeAny, {
118
- type: "loading-indicator";
119
- analyticsId?: string | undefined;
120
- control?: string | undefined;
121
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
122
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
117
+ url: string;
118
+ type: "link";
123
119
  }, {
124
- type: "loading-indicator";
125
- analyticsId?: string | undefined;
126
- control?: string | undefined;
127
- size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
128
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
120
+ url: string;
121
+ type: "link";
129
122
  }>;
130
- export declare const paragraphLayoutSchema: z.ZodObject<{
131
- type: z.ZodLiteral<"paragraph">;
132
- text: z.ZodString;
133
- align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
134
- control: z.ZodOptional<z.ZodString>;
135
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
136
- analyticsId: z.ZodOptional<z.ZodString>;
123
+ export declare const navigationStackBehaviorSchema: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>;
124
+ export declare const externalSchema: z.ZodObject<{
125
+ url: z.ZodString;
137
126
  }, "strip", z.ZodTypeAny, {
138
- type: "paragraph";
139
- text: string;
140
- analyticsId?: string | undefined;
141
- control?: string | undefined;
142
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
143
- align?: "left" | "right" | "center" | undefined;
127
+ url: string;
144
128
  }, {
145
- type: "paragraph";
146
- text: string;
147
- analyticsId?: string | undefined;
148
- control?: string | undefined;
149
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
150
- align?: "left" | "right" | "center" | undefined;
129
+ url: string;
151
130
  }>;
152
- export declare const dividerLayoutSchema: z.ZodObject<{
153
- type: z.ZodLiteral<"divider">;
154
- control: z.ZodOptional<z.ZodString>;
155
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
156
- analyticsId: z.ZodOptional<z.ZodString>;
131
+ export declare const sizeSchema: z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>;
132
+ export declare const alignSchema: z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>;
133
+ export declare const listLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"warning">, z.ZodLiteral<"neutral">, z.ZodLiteral<"positive">]>;
134
+ export declare const supportingValuesSchema: z.ZodObject<{
135
+ value: z.ZodOptional<z.ZodString>;
136
+ subvalue: z.ZodOptional<z.ZodString>;
157
137
  }, "strip", z.ZodTypeAny, {
158
- type: "divider";
159
- analyticsId?: string | undefined;
160
- control?: string | undefined;
161
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
138
+ value?: string | undefined;
139
+ subvalue?: string | undefined;
162
140
  }, {
163
- type: "divider";
164
- analyticsId?: string | undefined;
165
- control?: string | undefined;
166
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
141
+ value?: string | undefined;
142
+ subvalue?: string | undefined;
167
143
  }>;
168
- export declare const listLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"warning">, z.ZodLiteral<"neutral">, z.ZodLiteral<"positive">]>;
169
- export declare const formLayoutSchemaReferenceSchema: z.ZodObject<{
170
- $ref: z.ZodString;
144
+ export declare const inlineAlertSchema: z.ZodObject<{
145
+ content: z.ZodString;
146
+ 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">]>>;
171
147
  }, "strip", z.ZodTypeAny, {
172
- $ref: string;
148
+ content: string;
149
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
173
150
  }, {
174
- $ref: string;
151
+ content: string;
152
+ context?: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary" | undefined;
175
153
  }>;
154
+ export declare const columnsLayoutBiasSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>;
176
155
  export declare const imageLayoutSchema: z.ZodObject<{
177
156
  type: z.ZodLiteral<"image">;
178
157
  text: z.ZodOptional<z.ZodString>;
@@ -232,139 +211,87 @@ export declare const imageLayoutSchema: z.ZodObject<{
232
211
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
233
212
  align?: "left" | "right" | "center" | undefined;
234
213
  }>;
235
- export declare const statusListLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"not-done">, z.ZodLiteral<"pending">, z.ZodLiteral<"done">]>;
236
- export declare const instructionsLayoutItemSchema: z.ZodObject<{
237
- text: z.ZodString;
238
- 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">]>;
239
- tag: z.ZodOptional<z.ZodString>;
214
+ export declare const infoLayoutSchema: z.ZodObject<{
215
+ type: z.ZodLiteral<"info">;
216
+ markdown: z.ZodString;
217
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
218
+ control: z.ZodOptional<z.ZodString>;
219
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
240
220
  analyticsId: z.ZodOptional<z.ZodString>;
241
221
  }, "strip", z.ZodTypeAny, {
242
- text: string;
243
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
222
+ type: "info";
223
+ markdown: string;
244
224
  analyticsId?: string | undefined;
245
- tag?: string | undefined;
225
+ control?: string | undefined;
226
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
227
+ align?: "left" | "right" | "center" | undefined;
246
228
  }, {
247
- text: string;
248
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
229
+ type: "info";
230
+ markdown: string;
249
231
  analyticsId?: string | undefined;
250
- tag?: string | undefined;
251
- }>;
252
- export declare const modalLayoutTriggerSchema: z.ZodObject<{
253
- title: z.ZodString;
254
- }, "strip", z.ZodTypeAny, {
255
- title: string;
256
- }, {
257
- title: string;
232
+ control?: string | undefined;
233
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
234
+ align?: "left" | "right" | "center" | undefined;
258
235
  }>;
259
- export declare const searchLayoutSchema: z.ZodObject<{
260
- type: z.ZodLiteral<"search">;
261
- title: z.ZodString;
262
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
263
- url: z.ZodString;
264
- param: z.ZodString;
265
- emptyMessage: z.ZodOptional<z.ZodString>;
266
- control: z.ZodOptional<z.ZodString>;
267
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
268
- analyticsId: z.ZodOptional<z.ZodString>;
269
- }, "strip", z.ZodTypeAny, {
270
- url: string;
271
- type: "search";
272
- title: string;
273
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
274
- param: string;
275
- analyticsId?: string | undefined;
276
- control?: string | undefined;
277
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
278
- emptyMessage?: string | undefined;
279
- }, {
280
- url: string;
281
- type: "search";
282
- title: string;
283
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
284
- param: string;
285
- analyticsId?: string | undefined;
286
- control?: string | undefined;
287
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
288
- emptyMessage?: string | undefined;
289
- }>;
290
- export declare const infoLayoutSchema: z.ZodObject<{
291
- type: z.ZodLiteral<"info">;
292
- markdown: z.ZodString;
236
+ export declare const headingLayoutSchema: z.ZodObject<{
237
+ type: z.ZodLiteral<"heading">;
238
+ text: z.ZodString;
239
+ size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
293
240
  align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
294
241
  control: z.ZodOptional<z.ZodString>;
295
242
  margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
296
243
  analyticsId: z.ZodOptional<z.ZodString>;
297
244
  }, "strip", z.ZodTypeAny, {
298
- type: "info";
299
- markdown: string;
245
+ type: "heading";
246
+ text: string;
300
247
  analyticsId?: string | undefined;
301
248
  control?: string | undefined;
249
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
302
250
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
303
251
  align?: "left" | "right" | "center" | undefined;
304
252
  }, {
305
- type: "info";
306
- markdown: string;
253
+ type: "heading";
254
+ text: string;
307
255
  analyticsId?: string | undefined;
308
256
  control?: string | undefined;
257
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
309
258
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
310
259
  align?: "left" | "right" | "center" | undefined;
311
260
  }>;
312
- export declare const formLayoutSchema: z.ZodObject<{
313
- type: z.ZodLiteral<"form">;
314
- schema: z.ZodOptional<z.ZodObject<{
315
- $ref: z.ZodString;
316
- }, "strip", z.ZodTypeAny, {
317
- $ref: string;
318
- }, {
319
- $ref: string;
320
- }>>;
321
- schemaId: z.ZodString;
261
+ export declare const dividerLayoutSchema: z.ZodObject<{
262
+ type: z.ZodLiteral<"divider">;
322
263
  control: z.ZodOptional<z.ZodString>;
323
264
  margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
324
265
  analyticsId: z.ZodOptional<z.ZodString>;
325
266
  }, "strip", z.ZodTypeAny, {
326
- type: "form";
327
- schemaId: string;
267
+ type: "divider";
328
268
  analyticsId?: string | undefined;
329
269
  control?: string | undefined;
330
270
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
331
- schema?: {
332
- $ref: string;
333
- } | undefined;
334
271
  }, {
335
- type: "form";
336
- schemaId: string;
272
+ type: "divider";
337
273
  analyticsId?: string | undefined;
338
274
  control?: string | undefined;
339
275
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
340
- schema?: {
341
- $ref: string;
342
- } | undefined;
343
276
  }>;
344
- export declare const headingLayoutSchema: z.ZodObject<{
345
- type: z.ZodLiteral<"heading">;
346
- text: z.ZodString;
277
+ export declare const loadingIndicatorLayoutSchema: z.ZodObject<{
278
+ type: z.ZodLiteral<"loading-indicator">;
347
279
  size: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
348
- align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
349
280
  control: z.ZodOptional<z.ZodString>;
350
281
  margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
351
282
  analyticsId: z.ZodOptional<z.ZodString>;
352
283
  }, "strip", z.ZodTypeAny, {
353
- type: "heading";
354
- text: string;
284
+ type: "loading-indicator";
355
285
  analyticsId?: string | undefined;
356
286
  control?: string | undefined;
357
287
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
358
288
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
359
- align?: "left" | "right" | "center" | undefined;
360
289
  }, {
361
- type: "heading";
362
- text: string;
290
+ type: "loading-indicator";
363
291
  analyticsId?: string | undefined;
364
292
  control?: string | undefined;
365
293
  size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
366
294
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
367
- align?: "left" | "right" | "center" | undefined;
368
295
  }>;
369
296
  export declare const markdownLayoutSchema: z.ZodObject<{
370
297
  type: z.ZodLiteral<"markdown">;
@@ -388,375 +315,147 @@ export declare const markdownLayoutSchema: z.ZodObject<{
388
315
  margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
389
316
  align?: "left" | "right" | "center" | undefined;
390
317
  }>;
391
- export declare const columnsLayoutBiasSchema: z.ZodUnion<[z.ZodLiteral<"none">, z.ZodLiteral<"left">, z.ZodLiteral<"right">]>;
392
- export declare const helpSchema: z.ZodObject<{
393
- markdown: z.ZodString;
394
- }, "strip", z.ZodTypeAny, {
395
- markdown: string;
396
- }, {
397
- markdown: string;
398
- }>;
399
- export declare const searchSearchRequestSchema: z.ZodObject<{
400
- url: z.ZodString;
318
+ export declare const searchLayoutSchema: z.ZodObject<{
319
+ type: z.ZodLiteral<"search">;
320
+ title: z.ZodString;
401
321
  method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
322
+ url: z.ZodString;
402
323
  param: z.ZodString;
403
- query: z.ZodString;
324
+ emptyMessage: z.ZodOptional<z.ZodString>;
325
+ control: z.ZodOptional<z.ZodString>;
326
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
327
+ analyticsId: z.ZodOptional<z.ZodString>;
404
328
  }, "strip", z.ZodTypeAny, {
405
329
  url: string;
330
+ type: "search";
331
+ title: string;
406
332
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
407
333
  param: string;
408
- query: string;
334
+ analyticsId?: string | undefined;
335
+ control?: string | undefined;
336
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
337
+ emptyMessage?: string | undefined;
409
338
  }, {
410
339
  url: string;
340
+ type: "search";
341
+ title: string;
411
342
  method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
412
343
  param: string;
413
- query: string;
344
+ analyticsId?: string | undefined;
345
+ control?: string | undefined;
346
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
347
+ emptyMessage?: string | undefined;
414
348
  }>;
415
- export declare const jsonElementSchema: z.ZodSchema<JsonElement>;
416
- export declare const externalSchema: z.ZodObject<{
417
- url: z.ZodString;
349
+ export declare const formLayoutSchemaReferenceSchema: z.ZodObject<{
350
+ $ref: z.ZodString;
418
351
  }, "strip", z.ZodTypeAny, {
419
- url: string;
352
+ $ref: string;
420
353
  }, {
421
- url: string;
354
+ $ref: string;
422
355
  }>;
423
- export declare const stepErrorSchema: z.ZodObject<{
424
- error: z.ZodOptional<z.ZodString>;
425
- validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
356
+ export declare const modalLayoutTriggerSchema: z.ZodObject<{
357
+ title: z.ZodString;
426
358
  }, "strip", z.ZodTypeAny, {
427
- validation?: JsonElement | undefined;
428
- error?: string | undefined;
359
+ title: string;
429
360
  }, {
430
- validation?: JsonElement | undefined;
431
- error?: string | undefined;
361
+ title: string;
432
362
  }>;
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 summarySummariserSchema: z.ZodObject<{
435
- defaultTitle: z.ZodOptional<z.ZodString>;
436
- defaultDescription: z.ZodOptional<z.ZodString>;
437
- defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
438
- name: z.ZodString;
439
- }, "strip", z.ZodTypeAny, {
440
- name: string;
441
- }, {
442
- name: string;
443
- }>, z.ZodObject<{
444
- text: z.ZodString;
445
- }, "strip", z.ZodTypeAny, {
446
- text: string;
447
- }, {
448
- text: string;
449
- }>]>>;
450
- defaultImage: z.ZodOptional<z.ZodObject<{
451
- text: z.ZodOptional<z.ZodString>;
452
- url: z.ZodOptional<z.ZodString>;
453
- uri: z.ZodOptional<z.ZodString>;
454
- accessibilityDescription: z.ZodOptional<z.ZodString>;
455
- }, "strip", z.ZodTypeAny, {
456
- url?: string | undefined;
457
- text?: string | undefined;
458
- uri?: string | undefined;
459
- accessibilityDescription?: string | undefined;
460
- }, {
461
- url?: string | undefined;
462
- text?: string | undefined;
463
- uri?: string | undefined;
464
- accessibilityDescription?: string | undefined;
465
- }>>;
466
- providesTitle: z.ZodOptional<z.ZodBoolean>;
467
- providesDescription: z.ZodOptional<z.ZodBoolean>;
468
- providesIcon: z.ZodOptional<z.ZodBoolean>;
469
- providesImage: z.ZodOptional<z.ZodBoolean>;
363
+ export declare const statusListLayoutStatusSchema: z.ZodUnion<[z.ZodLiteral<"not-done">, z.ZodLiteral<"pending">, z.ZodLiteral<"done">]>;
364
+ export declare const instructionsLayoutItemSchema: z.ZodObject<{
365
+ text: z.ZodString;
366
+ 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">]>;
367
+ tag: z.ZodOptional<z.ZodString>;
368
+ analyticsId: z.ZodOptional<z.ZodString>;
470
369
  }, "strip", z.ZodTypeAny, {
471
- defaultTitle?: string | undefined;
472
- defaultDescription?: string | undefined;
473
- defaultIcon?: {
474
- name: string;
475
- } | {
476
- text: string;
477
- } | undefined;
478
- defaultImage?: {
479
- url?: string | undefined;
480
- text?: string | undefined;
481
- uri?: string | undefined;
482
- accessibilityDescription?: string | undefined;
483
- } | undefined;
484
- providesTitle?: boolean | undefined;
485
- providesDescription?: boolean | undefined;
486
- providesIcon?: boolean | undefined;
487
- providesImage?: boolean | undefined;
370
+ text: string;
371
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
372
+ analyticsId?: string | undefined;
373
+ tag?: string | undefined;
488
374
  }, {
489
- defaultTitle?: string | undefined;
490
- defaultDescription?: string | undefined;
491
- defaultIcon?: {
492
- name: string;
493
- } | {
494
- text: string;
495
- } | undefined;
496
- defaultImage?: {
497
- url?: string | undefined;
498
- text?: string | undefined;
499
- uri?: string | undefined;
500
- accessibilityDescription?: string | undefined;
501
- } | undefined;
502
- providesTitle?: boolean | undefined;
503
- providesDescription?: boolean | undefined;
504
- providesIcon?: boolean | undefined;
505
- providesImage?: boolean | undefined;
375
+ text: string;
376
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
377
+ analyticsId?: string | undefined;
378
+ tag?: string | undefined;
506
379
  }>;
507
- export declare const validateAsyncSchema: z.ZodObject<{
508
- param: z.ZodString;
509
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
510
- url: z.ZodString;
380
+ export declare const avatarTextContentSchema: z.ZodObject<{
381
+ type: z.ZodLiteral<"text">;
382
+ text: z.ZodString;
383
+ badgeUri: z.ZodOptional<z.ZodString>;
511
384
  }, "strip", z.ZodTypeAny, {
512
- url: string;
513
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
514
- param: string;
385
+ type: "text";
386
+ text: string;
387
+ badgeUri?: string | undefined;
515
388
  }, {
516
- url: string;
517
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
518
- param: string;
389
+ type: "text";
390
+ text: string;
391
+ badgeUri?: string | undefined;
519
392
  }>;
520
- export declare const summaryProviderSchema: z.ZodObject<{
521
- providesTitle: z.ZodOptional<z.ZodBoolean>;
522
- providesDescription: z.ZodOptional<z.ZodBoolean>;
523
- providesIcon: z.ZodOptional<z.ZodBoolean>;
524
- providesImage: z.ZodOptional<z.ZodBoolean>;
393
+ export declare const avatarUriContentSchema: z.ZodObject<{
394
+ type: z.ZodLiteral<"uri">;
395
+ uri: z.ZodString;
396
+ badgeUri: z.ZodOptional<z.ZodString>;
525
397
  }, "strip", z.ZodTypeAny, {
526
- providesTitle?: boolean | undefined;
527
- providesDescription?: boolean | undefined;
528
- providesIcon?: boolean | undefined;
529
- providesImage?: boolean | undefined;
530
- }, {
531
- providesTitle?: boolean | undefined;
532
- providesDescription?: boolean | undefined;
533
- providesIcon?: boolean | undefined;
534
- providesImage?: boolean | undefined;
398
+ type: "uri";
399
+ uri: string;
400
+ badgeUri?: string | undefined;
401
+ }, {
402
+ type: "uri";
403
+ uri: string;
404
+ badgeUri?: string | undefined;
535
405
  }>;
536
- export declare const uploadSourceSchema: z.ZodUnion<[z.ZodLiteral<"camera">, z.ZodLiteral<"file">]>;
537
- export declare const suggestionsValueSchema: z.ZodObject<{
538
- label: z.ZodString;
539
- value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
540
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
541
- name: z.ZodString;
542
- }, "strip", z.ZodTypeAny, {
543
- name: string;
544
- }, {
545
- name: string;
546
- }>, z.ZodObject<{
547
- text: z.ZodString;
548
- }, "strip", z.ZodTypeAny, {
549
- text: string;
550
- }, {
551
- text: string;
552
- }>]>>;
553
- image: z.ZodOptional<z.ZodObject<{
554
- text: z.ZodOptional<z.ZodString>;
555
- url: z.ZodOptional<z.ZodString>;
556
- uri: z.ZodOptional<z.ZodString>;
557
- accessibilityDescription: z.ZodOptional<z.ZodString>;
558
- }, "strip", z.ZodTypeAny, {
559
- url?: string | undefined;
560
- text?: string | undefined;
561
- uri?: string | undefined;
562
- accessibilityDescription?: string | undefined;
563
- }, {
564
- url?: string | undefined;
565
- text?: string | undefined;
566
- uri?: string | undefined;
567
- accessibilityDescription?: string | undefined;
568
- }>>;
569
- tag: z.ZodOptional<z.ZodString>;
570
- analyticsId: z.ZodOptional<z.ZodString>;
406
+ export declare const mediaImageSchema: z.ZodObject<{
407
+ type: z.ZodLiteral<"image">;
408
+ uri: z.ZodString;
409
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
571
410
  }, "strip", z.ZodTypeAny, {
572
- value: JsonElement;
573
- label: string;
574
- image?: {
575
- url?: string | undefined;
576
- text?: string | undefined;
577
- uri?: string | undefined;
578
- accessibilityDescription?: string | undefined;
579
- } | undefined;
580
- analyticsId?: string | undefined;
581
- icon?: {
582
- name: string;
583
- } | {
584
- text: string;
585
- } | undefined;
586
- tag?: string | undefined;
411
+ type: "image";
412
+ uri: string;
413
+ accessibilityDescription?: string | undefined;
587
414
  }, {
588
- value: JsonElement;
589
- label: string;
590
- image?: {
591
- url?: string | undefined;
592
- text?: string | undefined;
593
- uri?: string | undefined;
594
- accessibilityDescription?: string | undefined;
595
- } | undefined;
596
- analyticsId?: string | undefined;
597
- icon?: {
598
- name: string;
599
- } | {
600
- text: string;
601
- } | undefined;
602
- tag?: string | undefined;
415
+ type: "image";
416
+ uri: string;
417
+ accessibilityDescription?: string | undefined;
603
418
  }>;
604
- export declare const dismissBehaviorSchema: z.ZodObject<{
605
- type: z.ZodLiteral<"dismiss">;
419
+ export declare const iconNamedSchema: z.ZodObject<{
420
+ name: z.ZodString;
606
421
  }, "strip", z.ZodTypeAny, {
607
- type: "dismiss";
422
+ name: string;
608
423
  }, {
609
- type: "dismiss";
424
+ name: string;
610
425
  }>;
611
- export declare const copyBehaviorSchema: z.ZodObject<{
612
- type: z.ZodLiteral<"copy">;
613
- content: z.ZodString;
426
+ export declare const iconTextSchema: z.ZodObject<{
427
+ text: z.ZodString;
614
428
  }, "strip", z.ZodTypeAny, {
615
- type: "copy";
616
- content: string;
429
+ text: string;
617
430
  }, {
618
- type: "copy";
619
- content: string;
431
+ text: string;
620
432
  }>;
621
- export declare const navigationStackBehaviorSchema: z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>;
622
- export declare const actionTypeSchema: z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>;
623
- export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
624
- providesTitle: z.ZodOptional<z.ZodBoolean>;
625
- providesDescription: z.ZodOptional<z.ZodBoolean>;
626
- providesIcon: z.ZodOptional<z.ZodBoolean>;
627
- providesImage: z.ZodOptional<z.ZodBoolean>;
433
+ export declare const iconSchema: z.ZodUnion<[z.ZodObject<{
434
+ name: z.ZodString;
628
435
  }, "strip", z.ZodTypeAny, {
629
- providesTitle?: boolean | undefined;
630
- providesDescription?: boolean | undefined;
631
- providesIcon?: boolean | undefined;
632
- providesImage?: boolean | undefined;
436
+ name: string;
633
437
  }, {
634
- providesTitle?: boolean | undefined;
635
- providesDescription?: boolean | undefined;
636
- providesIcon?: boolean | undefined;
637
- providesImage?: boolean | undefined;
438
+ name: string;
638
439
  }>, z.ZodObject<{
639
- defaultTitle: z.ZodOptional<z.ZodString>;
640
- defaultDescription: z.ZodOptional<z.ZodString>;
641
- defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
642
- name: z.ZodString;
643
- }, "strip", z.ZodTypeAny, {
644
- name: string;
645
- }, {
646
- name: string;
647
- }>, z.ZodObject<{
648
- text: z.ZodString;
649
- }, "strip", z.ZodTypeAny, {
650
- text: string;
651
- }, {
652
- text: string;
653
- }>]>>;
654
- defaultImage: z.ZodOptional<z.ZodObject<{
655
- text: z.ZodOptional<z.ZodString>;
656
- url: z.ZodOptional<z.ZodString>;
657
- uri: z.ZodOptional<z.ZodString>;
658
- accessibilityDescription: z.ZodOptional<z.ZodString>;
659
- }, "strip", z.ZodTypeAny, {
660
- url?: string | undefined;
661
- text?: string | undefined;
662
- uri?: string | undefined;
663
- accessibilityDescription?: string | undefined;
664
- }, {
665
- url?: string | undefined;
666
- text?: string | undefined;
667
- uri?: string | undefined;
668
- accessibilityDescription?: string | undefined;
669
- }>>;
670
- providesTitle: z.ZodOptional<z.ZodBoolean>;
671
- providesDescription: z.ZodOptional<z.ZodBoolean>;
672
- providesIcon: z.ZodOptional<z.ZodBoolean>;
673
- providesImage: z.ZodOptional<z.ZodBoolean>;
440
+ text: z.ZodString;
674
441
  }, "strip", z.ZodTypeAny, {
675
- defaultTitle?: string | undefined;
676
- defaultDescription?: string | undefined;
677
- defaultIcon?: {
678
- name: string;
679
- } | {
680
- text: string;
681
- } | undefined;
682
- defaultImage?: {
683
- url?: string | undefined;
684
- text?: string | undefined;
685
- uri?: string | undefined;
686
- accessibilityDescription?: string | undefined;
687
- } | undefined;
688
- providesTitle?: boolean | undefined;
689
- providesDescription?: boolean | undefined;
690
- providesIcon?: boolean | undefined;
691
- providesImage?: boolean | undefined;
442
+ text: string;
692
443
  }, {
693
- defaultTitle?: string | undefined;
694
- defaultDescription?: string | undefined;
695
- defaultIcon?: {
696
- name: string;
697
- } | {
698
- text: string;
699
- } | undefined;
700
- defaultImage?: {
701
- url?: string | undefined;
702
- text?: string | undefined;
703
- uri?: string | undefined;
704
- accessibilityDescription?: string | undefined;
705
- } | undefined;
706
- providesTitle?: boolean | undefined;
707
- providesDescription?: boolean | undefined;
708
- providesIcon?: boolean | undefined;
709
- providesImage?: boolean | undefined;
444
+ text: string;
710
445
  }>]>;
711
- export declare const linkBehaviorSchema: z.ZodObject<{
712
- type: z.ZodLiteral<"link">;
713
- url: z.ZodString;
714
- }, "strip", z.ZodTypeAny, {
715
- url: string;
716
- type: "link";
717
- }, {
718
- url: string;
719
- type: "link";
720
- }>;
721
- export declare const refreshBehaviorSchema: z.ZodObject<{
722
- type: z.ZodLiteral<"refresh">;
723
- }, "strip", z.ZodTypeAny, {
724
- type: "refresh";
725
- }, {
726
- type: "refresh";
727
- }>;
728
- export declare const linkSchema: z.ZodObject<{
446
+ export declare const validateAsyncSchema: z.ZodObject<{
447
+ param: z.ZodString;
448
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
729
449
  url: z.ZodString;
730
450
  }, "strip", z.ZodTypeAny, {
731
451
  url: string;
452
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
453
+ param: string;
732
454
  }, {
733
455
  url: string;
456
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
457
+ param: string;
734
458
  }>;
735
- export declare const avatarContentSchema: z.ZodUnion<[z.ZodObject<{
736
- type: z.ZodLiteral<"text">;
737
- text: z.ZodString;
738
- badgeUri: z.ZodOptional<z.ZodString>;
739
- }, "strip", z.ZodTypeAny, {
740
- type: "text";
741
- text: string;
742
- badgeUri?: string | undefined;
743
- }, {
744
- type: "text";
745
- text: string;
746
- badgeUri?: string | undefined;
747
- }>, z.ZodObject<{
748
- type: z.ZodLiteral<"uri">;
749
- uri: z.ZodString;
750
- badgeUri: z.ZodOptional<z.ZodString>;
751
- }, "strip", z.ZodTypeAny, {
752
- type: "uri";
753
- uri: string;
754
- badgeUri?: string | undefined;
755
- }, {
756
- type: "uri";
757
- uri: string;
758
- badgeUri?: string | undefined;
759
- }>]>;
760
459
  export declare const actionSchema: z.ZodObject<{
761
460
  title: z.ZodOptional<z.ZodString>;
762
461
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
@@ -779,8 +478,8 @@ export declare const actionSchema: z.ZodObject<{
779
478
  title?: string | undefined;
780
479
  timeout?: number | undefined;
781
480
  id?: string | undefined;
782
- $ref?: string | undefined;
783
481
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
482
+ $ref?: string | undefined;
784
483
  exit?: boolean | undefined;
785
484
  result?: JsonElement | undefined;
786
485
  data?: JsonElement | undefined;
@@ -793,186 +492,31 @@ export declare const actionSchema: z.ZodObject<{
793
492
  title?: string | undefined;
794
493
  timeout?: number | undefined;
795
494
  id?: string | undefined;
796
- $ref?: string | undefined;
797
495
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
496
+ $ref?: string | undefined;
798
497
  exit?: boolean | undefined;
799
498
  result?: JsonElement | undefined;
800
499
  data?: JsonElement | undefined;
801
500
  skipValidation?: boolean | undefined;
802
501
  }>;
803
- export declare const instructionsLayoutSchema: z.ZodObject<{
804
- type: z.ZodLiteral<"instructions">;
805
- title: z.ZodOptional<z.ZodString>;
806
- items: z.ZodArray<z.ZodObject<{
807
- text: z.ZodString;
808
- 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">]>;
809
- tag: z.ZodOptional<z.ZodString>;
810
- analyticsId: z.ZodOptional<z.ZodString>;
811
- }, "strip", z.ZodTypeAny, {
812
- text: string;
813
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
814
- analyticsId?: string | undefined;
815
- tag?: string | undefined;
816
- }, {
817
- text: string;
818
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
819
- analyticsId?: string | undefined;
820
- tag?: string | undefined;
821
- }>, "many">;
822
- control: z.ZodOptional<z.ZodString>;
823
- margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
824
- analyticsId: z.ZodOptional<z.ZodString>;
825
- }, "strip", z.ZodTypeAny, {
826
- type: "instructions";
827
- items: {
828
- text: string;
829
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
830
- analyticsId?: string | undefined;
831
- tag?: string | undefined;
832
- }[];
833
- analyticsId?: string | undefined;
834
- title?: string | undefined;
835
- control?: string | undefined;
836
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
837
- }, {
838
- type: "instructions";
839
- items: {
840
- text: string;
841
- context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
842
- analyticsId?: string | undefined;
843
- tag?: string | undefined;
844
- }[];
845
- analyticsId?: string | undefined;
846
- title?: string | undefined;
847
- control?: string | undefined;
848
- margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
849
- }>;
850
- export declare const searchResultSearchSchema: z.ZodObject<{
851
- type: z.ZodLiteral<"search">;
852
- title: z.ZodString;
853
- description: z.ZodOptional<z.ZodString>;
854
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
855
- name: z.ZodString;
856
- }, "strip", z.ZodTypeAny, {
857
- name: string;
858
- }, {
859
- name: string;
860
- }>, z.ZodObject<{
861
- text: z.ZodString;
862
- }, "strip", z.ZodTypeAny, {
863
- text: string;
864
- }, {
865
- text: string;
866
- }>]>>;
867
- image: z.ZodOptional<z.ZodObject<{
868
- text: z.ZodOptional<z.ZodString>;
869
- url: z.ZodOptional<z.ZodString>;
870
- uri: z.ZodOptional<z.ZodString>;
871
- accessibilityDescription: z.ZodOptional<z.ZodString>;
872
- }, "strip", z.ZodTypeAny, {
873
- url?: string | undefined;
874
- text?: string | undefined;
875
- uri?: string | undefined;
876
- accessibilityDescription?: string | undefined;
877
- }, {
878
- url?: string | undefined;
879
- text?: string | undefined;
880
- uri?: string | undefined;
881
- accessibilityDescription?: string | undefined;
882
- }>>;
883
- value: z.ZodObject<{
884
- url: z.ZodString;
885
- method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
886
- param: z.ZodString;
887
- query: z.ZodString;
888
- }, "strip", z.ZodTypeAny, {
889
- url: string;
890
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
891
- param: string;
892
- query: string;
893
- }, {
894
- url: string;
895
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
896
- param: string;
897
- query: string;
898
- }>;
502
+ export declare const searchSearchRequestSchema: z.ZodObject<{
503
+ url: z.ZodString;
504
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
505
+ param: z.ZodString;
506
+ query: z.ZodString;
899
507
  }, "strip", z.ZodTypeAny, {
900
- type: "search";
901
- title: string;
902
- value: {
903
- url: string;
904
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
905
- param: string;
906
- query: string;
907
- };
908
- image?: {
909
- url?: string | undefined;
910
- text?: string | undefined;
911
- uri?: string | undefined;
912
- accessibilityDescription?: string | undefined;
913
- } | undefined;
914
- description?: string | undefined;
915
- icon?: {
916
- name: string;
917
- } | {
918
- text: string;
919
- } | undefined;
508
+ url: string;
509
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
510
+ param: string;
511
+ query: string;
920
512
  }, {
921
- type: "search";
922
- title: string;
923
- value: {
924
- url: string;
925
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
926
- param: string;
927
- query: string;
928
- };
929
- image?: {
930
- url?: string | undefined;
931
- text?: string | undefined;
932
- uri?: string | undefined;
933
- accessibilityDescription?: string | undefined;
934
- } | undefined;
935
- description?: string | undefined;
936
- icon?: {
937
- name: string;
938
- } | {
939
- text: string;
940
- } | undefined;
513
+ url: string;
514
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
515
+ param: string;
516
+ query: string;
941
517
  }>;
942
- export declare const searchResultActionSchema: z.ZodObject<{
943
- type: z.ZodLiteral<"action">;
944
- title: z.ZodString;
945
- description: z.ZodOptional<z.ZodString>;
946
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
947
- name: z.ZodString;
948
- }, "strip", z.ZodTypeAny, {
949
- name: string;
950
- }, {
951
- name: string;
952
- }>, z.ZodObject<{
953
- text: z.ZodString;
954
- }, "strip", z.ZodTypeAny, {
955
- text: string;
956
- }, {
957
- text: string;
958
- }>]>>;
959
- image: z.ZodOptional<z.ZodObject<{
960
- text: z.ZodOptional<z.ZodString>;
961
- url: z.ZodOptional<z.ZodString>;
962
- uri: z.ZodOptional<z.ZodString>;
963
- accessibilityDescription: z.ZodOptional<z.ZodString>;
964
- }, "strip", z.ZodTypeAny, {
965
- url?: string | undefined;
966
- text?: string | undefined;
967
- uri?: string | undefined;
968
- accessibilityDescription?: string | undefined;
969
- }, {
970
- url?: string | undefined;
971
- text?: string | undefined;
972
- uri?: string | undefined;
973
- accessibilityDescription?: string | undefined;
974
- }>>;
975
- value: z.ZodObject<{
518
+ export declare const containerBehaviorSchema: z.ZodObject<{
519
+ action: z.ZodOptional<z.ZodObject<{
976
520
  title: z.ZodOptional<z.ZodString>;
977
521
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
978
522
  disabled: z.ZodOptional<z.ZodBoolean>;
@@ -994,8 +538,8 @@ export declare const searchResultActionSchema: z.ZodObject<{
994
538
  title?: string | undefined;
995
539
  timeout?: number | undefined;
996
540
  id?: string | undefined;
997
- $ref?: string | undefined;
998
541
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
542
+ $ref?: string | undefined;
999
543
  exit?: boolean | undefined;
1000
544
  result?: JsonElement | undefined;
1001
545
  data?: JsonElement | undefined;
@@ -1008,17 +552,22 @@ export declare const searchResultActionSchema: z.ZodObject<{
1008
552
  title?: string | undefined;
1009
553
  timeout?: number | undefined;
1010
554
  id?: string | undefined;
1011
- $ref?: string | undefined;
1012
555
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
556
+ $ref?: string | undefined;
1013
557
  exit?: boolean | undefined;
1014
558
  result?: JsonElement | undefined;
1015
559
  data?: JsonElement | undefined;
1016
560
  skipValidation?: boolean | undefined;
1017
- }>;
561
+ }>>;
562
+ link: z.ZodOptional<z.ZodObject<{
563
+ url: z.ZodString;
564
+ }, "strip", z.ZodTypeAny, {
565
+ url: string;
566
+ }, {
567
+ url: string;
568
+ }>>;
1018
569
  }, "strip", z.ZodTypeAny, {
1019
- type: "action";
1020
- title: string;
1021
- value: {
570
+ action?: {
1022
571
  url?: string | undefined;
1023
572
  $id?: string | undefined;
1024
573
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
@@ -1026,29 +575,18 @@ export declare const searchResultActionSchema: z.ZodObject<{
1026
575
  title?: string | undefined;
1027
576
  timeout?: number | undefined;
1028
577
  id?: string | undefined;
1029
- $ref?: string | undefined;
1030
578
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
579
+ $ref?: string | undefined;
1031
580
  exit?: boolean | undefined;
1032
581
  result?: JsonElement | undefined;
1033
582
  data?: JsonElement | undefined;
1034
583
  skipValidation?: boolean | undefined;
1035
- };
1036
- image?: {
1037
- url?: string | undefined;
1038
- text?: string | undefined;
1039
- uri?: string | undefined;
1040
- accessibilityDescription?: string | undefined;
1041
584
  } | undefined;
1042
- description?: string | undefined;
1043
- icon?: {
1044
- name: string;
1045
- } | {
1046
- text: string;
585
+ link?: {
586
+ url: string;
1047
587
  } | undefined;
1048
588
  }, {
1049
- type: "action";
1050
- title: string;
1051
- value: {
589
+ action?: {
1052
590
  url?: string | undefined;
1053
591
  $id?: string | undefined;
1054
592
  type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
@@ -1056,27 +594,19 @@ export declare const searchResultActionSchema: z.ZodObject<{
1056
594
  title?: string | undefined;
1057
595
  timeout?: number | undefined;
1058
596
  id?: string | undefined;
1059
- $ref?: string | undefined;
1060
597
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
598
+ $ref?: string | undefined;
1061
599
  exit?: boolean | undefined;
1062
600
  result?: JsonElement | undefined;
1063
601
  data?: JsonElement | undefined;
1064
602
  skipValidation?: boolean | undefined;
1065
- };
1066
- image?: {
1067
- url?: string | undefined;
1068
- text?: string | undefined;
1069
- uri?: string | undefined;
1070
- accessibilityDescription?: string | undefined;
1071
603
  } | undefined;
1072
- description?: string | undefined;
1073
- icon?: {
1074
- name: string;
1075
- } | {
1076
- text: string;
604
+ link?: {
605
+ url: string;
1077
606
  } | undefined;
1078
607
  }>;
1079
- export declare const actionResponseBodySchema: z.ZodObject<{
608
+ export declare const actionBehaviorSchema: z.ZodObject<{
609
+ type: z.ZodLiteral<"action">;
1080
610
  action: z.ZodObject<{
1081
611
  title: z.ZodOptional<z.ZodString>;
1082
612
  type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
@@ -1099,8 +629,8 @@ export declare const actionResponseBodySchema: z.ZodObject<{
1099
629
  title?: string | undefined;
1100
630
  timeout?: number | undefined;
1101
631
  id?: string | undefined;
1102
- $ref?: string | undefined;
1103
632
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
633
+ $ref?: string | undefined;
1104
634
  exit?: boolean | undefined;
1105
635
  result?: JsonElement | undefined;
1106
636
  data?: JsonElement | undefined;
@@ -1113,8 +643,8 @@ export declare const actionResponseBodySchema: z.ZodObject<{
1113
643
  title?: string | undefined;
1114
644
  timeout?: number | undefined;
1115
645
  id?: string | undefined;
1116
- $ref?: string | undefined;
1117
646
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
647
+ $ref?: string | undefined;
1118
648
  exit?: boolean | undefined;
1119
649
  result?: JsonElement | undefined;
1120
650
  data?: JsonElement | undefined;
@@ -1129,13 +659,14 @@ export declare const actionResponseBodySchema: z.ZodObject<{
1129
659
  title?: string | undefined;
1130
660
  timeout?: number | undefined;
1131
661
  id?: string | undefined;
1132
- $ref?: string | undefined;
1133
662
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
663
+ $ref?: string | undefined;
1134
664
  exit?: boolean | undefined;
1135
665
  result?: JsonElement | undefined;
1136
666
  data?: JsonElement | undefined;
1137
667
  skipValidation?: boolean | undefined;
1138
668
  };
669
+ type: "action";
1139
670
  }, {
1140
671
  action: {
1141
672
  url?: string | undefined;
@@ -1145,137 +676,14 @@ export declare const actionResponseBodySchema: z.ZodObject<{
1145
676
  title?: string | undefined;
1146
677
  timeout?: number | undefined;
1147
678
  id?: string | undefined;
1148
- $ref?: string | undefined;
1149
679
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
680
+ $ref?: string | undefined;
1150
681
  exit?: boolean | undefined;
1151
682
  result?: JsonElement | undefined;
1152
683
  data?: JsonElement | undefined;
1153
684
  skipValidation?: boolean | undefined;
1154
685
  };
1155
- }>;
1156
- export declare const errorResponseBodySchema: z.ZodObject<{
1157
- refreshFormUrl: z.ZodOptional<z.ZodString>;
1158
- analytics: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1159
- error: z.ZodOptional<z.ZodString>;
1160
- validation: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1161
- refreshUrl: z.ZodOptional<z.ZodString>;
1162
- }, "strip", z.ZodTypeAny, {
1163
- refreshUrl?: string | undefined;
1164
- refreshFormUrl?: string | undefined;
1165
- analytics?: Record<string, string> | undefined;
1166
- validation?: JsonElement | undefined;
1167
- error?: string | undefined;
1168
- }, {
1169
- refreshUrl?: string | undefined;
1170
- refreshFormUrl?: string | undefined;
1171
- analytics?: Record<string, string> | undefined;
1172
- validation?: JsonElement | undefined;
1173
- error?: string | undefined;
1174
- }>;
1175
- export declare const suggestionsSchema: z.ZodObject<{
1176
- values: z.ZodArray<z.ZodObject<{
1177
- label: z.ZodString;
1178
- value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
1179
- icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1180
- name: z.ZodString;
1181
- }, "strip", z.ZodTypeAny, {
1182
- name: string;
1183
- }, {
1184
- name: string;
1185
- }>, z.ZodObject<{
1186
- text: z.ZodString;
1187
- }, "strip", z.ZodTypeAny, {
1188
- text: string;
1189
- }, {
1190
- text: string;
1191
- }>]>>;
1192
- image: z.ZodOptional<z.ZodObject<{
1193
- text: z.ZodOptional<z.ZodString>;
1194
- url: z.ZodOptional<z.ZodString>;
1195
- uri: z.ZodOptional<z.ZodString>;
1196
- accessibilityDescription: z.ZodOptional<z.ZodString>;
1197
- }, "strip", z.ZodTypeAny, {
1198
- url?: string | undefined;
1199
- text?: string | undefined;
1200
- uri?: string | undefined;
1201
- accessibilityDescription?: string | undefined;
1202
- }, {
1203
- url?: string | undefined;
1204
- text?: string | undefined;
1205
- uri?: string | undefined;
1206
- accessibilityDescription?: string | undefined;
1207
- }>>;
1208
- tag: z.ZodOptional<z.ZodString>;
1209
- analyticsId: z.ZodOptional<z.ZodString>;
1210
- }, "strip", z.ZodTypeAny, {
1211
- value: JsonElement;
1212
- label: string;
1213
- image?: {
1214
- url?: string | undefined;
1215
- text?: string | undefined;
1216
- uri?: string | undefined;
1217
- accessibilityDescription?: string | undefined;
1218
- } | undefined;
1219
- analyticsId?: string | undefined;
1220
- icon?: {
1221
- name: string;
1222
- } | {
1223
- text: string;
1224
- } | undefined;
1225
- tag?: string | undefined;
1226
- }, {
1227
- value: JsonElement;
1228
- label: string;
1229
- image?: {
1230
- url?: string | undefined;
1231
- text?: string | undefined;
1232
- uri?: string | undefined;
1233
- accessibilityDescription?: string | undefined;
1234
- } | undefined;
1235
- analyticsId?: string | undefined;
1236
- icon?: {
1237
- name: string;
1238
- } | {
1239
- text: string;
1240
- } | undefined;
1241
- tag?: string | undefined;
1242
- }>, "many">;
1243
- }, "strip", z.ZodTypeAny, {
1244
- values: {
1245
- value: JsonElement;
1246
- label: string;
1247
- image?: {
1248
- url?: string | undefined;
1249
- text?: string | undefined;
1250
- uri?: string | undefined;
1251
- accessibilityDescription?: string | undefined;
1252
- } | undefined;
1253
- analyticsId?: string | undefined;
1254
- icon?: {
1255
- name: string;
1256
- } | {
1257
- text: string;
1258
- } | undefined;
1259
- tag?: string | undefined;
1260
- }[];
1261
- }, {
1262
- values: {
1263
- value: JsonElement;
1264
- label: string;
1265
- image?: {
1266
- url?: string | undefined;
1267
- text?: string | undefined;
1268
- uri?: string | undefined;
1269
- accessibilityDescription?: string | undefined;
1270
- } | undefined;
1271
- analyticsId?: string | undefined;
1272
- icon?: {
1273
- name: string;
1274
- } | {
1275
- text: string;
1276
- } | undefined;
1277
- tag?: string | undefined;
1278
- }[];
686
+ type: "action";
1279
687
  }>;
1280
688
  export declare const navigationBackBehaviorSchema: z.ZodObject<{
1281
689
  title: z.ZodOptional<z.ZodString>;
@@ -1301,8 +709,8 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1301
709
  title?: string | undefined;
1302
710
  timeout?: number | undefined;
1303
711
  id?: string | undefined;
1304
- $ref?: string | undefined;
1305
712
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
713
+ $ref?: string | undefined;
1306
714
  exit?: boolean | undefined;
1307
715
  result?: JsonElement | undefined;
1308
716
  data?: JsonElement | undefined;
@@ -1315,8 +723,8 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1315
723
  title?: string | undefined;
1316
724
  timeout?: number | undefined;
1317
725
  id?: string | undefined;
1318
- $ref?: string | undefined;
1319
726
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
727
+ $ref?: string | undefined;
1320
728
  exit?: boolean | undefined;
1321
729
  result?: JsonElement | undefined;
1322
730
  data?: JsonElement | undefined;
@@ -1331,8 +739,8 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1331
739
  title?: string | undefined;
1332
740
  timeout?: number | undefined;
1333
741
  id?: string | undefined;
1334
- $ref?: string | undefined;
1335
742
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
743
+ $ref?: string | undefined;
1336
744
  exit?: boolean | undefined;
1337
745
  result?: JsonElement | undefined;
1338
746
  data?: JsonElement | undefined;
@@ -1348,8 +756,8 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1348
756
  title?: string | undefined;
1349
757
  timeout?: number | undefined;
1350
758
  id?: string | undefined;
1351
- $ref?: string | undefined;
1352
759
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
760
+ $ref?: string | undefined;
1353
761
  exit?: boolean | undefined;
1354
762
  result?: JsonElement | undefined;
1355
763
  data?: JsonElement | undefined;
@@ -1357,176 +765,132 @@ export declare const navigationBackBehaviorSchema: z.ZodObject<{
1357
765
  };
1358
766
  title?: string | undefined;
1359
767
  }>;
1360
- export declare const actionBehaviorSchema: z.ZodObject<{
1361
- type: z.ZodLiteral<"action">;
1362
- action: z.ZodObject<{
1363
- title: z.ZodOptional<z.ZodString>;
1364
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1365
- disabled: z.ZodOptional<z.ZodBoolean>;
1366
- $id: z.ZodOptional<z.ZodString>;
1367
- $ref: z.ZodOptional<z.ZodString>;
1368
- id: z.ZodOptional<z.ZodString>;
1369
- url: z.ZodOptional<z.ZodString>;
1370
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1371
- exit: z.ZodOptional<z.ZodBoolean>;
1372
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1373
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1374
- timeout: z.ZodOptional<z.ZodNumber>;
1375
- skipValidation: z.ZodOptional<z.ZodBoolean>;
1376
- }, "strip", z.ZodTypeAny, {
1377
- url?: string | undefined;
1378
- $id?: string | undefined;
1379
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1380
- disabled?: boolean | undefined;
1381
- title?: string | undefined;
1382
- timeout?: number | undefined;
1383
- id?: string | undefined;
1384
- $ref?: string | undefined;
1385
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1386
- exit?: boolean | undefined;
1387
- result?: JsonElement | undefined;
1388
- data?: JsonElement | undefined;
1389
- skipValidation?: boolean | undefined;
1390
- }, {
1391
- url?: string | undefined;
1392
- $id?: string | undefined;
1393
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1394
- disabled?: boolean | undefined;
1395
- title?: string | undefined;
1396
- timeout?: number | undefined;
1397
- id?: string | undefined;
1398
- $ref?: string | undefined;
1399
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1400
- exit?: boolean | undefined;
1401
- result?: JsonElement | undefined;
1402
- data?: JsonElement | undefined;
1403
- skipValidation?: boolean | undefined;
1404
- }>;
768
+ export declare const paragraphLayoutSchema: z.ZodObject<{
769
+ type: z.ZodLiteral<"paragraph">;
770
+ text: z.ZodString;
771
+ align: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"left">, z.ZodLiteral<"center">, z.ZodLiteral<"right">]>>;
772
+ control: z.ZodOptional<z.ZodString>;
773
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
774
+ analyticsId: z.ZodOptional<z.ZodString>;
1405
775
  }, "strip", z.ZodTypeAny, {
1406
- action: {
1407
- url?: string | undefined;
1408
- $id?: string | undefined;
1409
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1410
- disabled?: boolean | undefined;
1411
- title?: string | undefined;
1412
- timeout?: number | undefined;
1413
- id?: string | undefined;
1414
- $ref?: string | undefined;
1415
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1416
- exit?: boolean | undefined;
1417
- result?: JsonElement | undefined;
1418
- data?: JsonElement | undefined;
1419
- skipValidation?: boolean | undefined;
1420
- };
1421
- type: "action";
776
+ type: "paragraph";
777
+ text: string;
778
+ analyticsId?: string | undefined;
779
+ control?: string | undefined;
780
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
781
+ align?: "left" | "right" | "center" | undefined;
1422
782
  }, {
1423
- action: {
1424
- url?: string | undefined;
1425
- $id?: string | undefined;
1426
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1427
- disabled?: boolean | undefined;
1428
- title?: string | undefined;
1429
- timeout?: number | undefined;
1430
- id?: string | undefined;
1431
- $ref?: string | undefined;
1432
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1433
- exit?: boolean | undefined;
1434
- result?: JsonElement | undefined;
1435
- data?: JsonElement | undefined;
1436
- skipValidation?: boolean | undefined;
1437
- };
1438
- type: "action";
783
+ type: "paragraph";
784
+ text: string;
785
+ analyticsId?: string | undefined;
786
+ control?: string | undefined;
787
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
788
+ align?: "left" | "right" | "center" | undefined;
1439
789
  }>;
1440
- export declare const containerBehaviorSchema: z.ZodObject<{
1441
- action: z.ZodOptional<z.ZodObject<{
1442
- title: z.ZodOptional<z.ZodString>;
1443
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1444
- disabled: z.ZodOptional<z.ZodBoolean>;
1445
- $id: z.ZodOptional<z.ZodString>;
1446
- $ref: z.ZodOptional<z.ZodString>;
1447
- id: z.ZodOptional<z.ZodString>;
1448
- url: z.ZodOptional<z.ZodString>;
1449
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1450
- exit: z.ZodOptional<z.ZodBoolean>;
1451
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1452
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1453
- timeout: z.ZodOptional<z.ZodNumber>;
1454
- skipValidation: z.ZodOptional<z.ZodBoolean>;
790
+ export declare const formLayoutSchema: z.ZodObject<{
791
+ type: z.ZodLiteral<"form">;
792
+ schema: z.ZodOptional<z.ZodObject<{
793
+ $ref: z.ZodString;
1455
794
  }, "strip", z.ZodTypeAny, {
1456
- url?: string | undefined;
1457
- $id?: string | undefined;
1458
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1459
- disabled?: boolean | undefined;
1460
- title?: string | undefined;
1461
- timeout?: number | undefined;
1462
- id?: string | undefined;
1463
- $ref?: string | undefined;
1464
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1465
- exit?: boolean | undefined;
1466
- result?: JsonElement | undefined;
1467
- data?: JsonElement | undefined;
1468
- skipValidation?: boolean | undefined;
795
+ $ref: string;
1469
796
  }, {
1470
- url?: string | undefined;
1471
- $id?: string | undefined;
1472
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1473
- disabled?: boolean | undefined;
1474
- title?: string | undefined;
1475
- timeout?: number | undefined;
1476
- id?: string | undefined;
1477
- $ref?: string | undefined;
1478
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1479
- exit?: boolean | undefined;
1480
- result?: JsonElement | undefined;
1481
- data?: JsonElement | undefined;
1482
- skipValidation?: boolean | undefined;
1483
- }>>;
1484
- link: z.ZodOptional<z.ZodObject<{
1485
- url: z.ZodString;
1486
- }, "strip", z.ZodTypeAny, {
1487
- url: string;
1488
- }, {
1489
- url: string;
797
+ $ref: string;
1490
798
  }>>;
799
+ schemaId: z.ZodString;
800
+ control: z.ZodOptional<z.ZodString>;
801
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
802
+ analyticsId: z.ZodOptional<z.ZodString>;
1491
803
  }, "strip", z.ZodTypeAny, {
1492
- action?: {
1493
- url?: string | undefined;
1494
- $id?: string | undefined;
1495
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1496
- disabled?: boolean | undefined;
1497
- title?: string | undefined;
1498
- timeout?: number | undefined;
1499
- id?: string | undefined;
1500
- $ref?: string | undefined;
1501
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1502
- exit?: boolean | undefined;
1503
- result?: JsonElement | undefined;
1504
- data?: JsonElement | undefined;
1505
- skipValidation?: boolean | undefined;
1506
- } | undefined;
1507
- link?: {
1508
- url: string;
804
+ type: "form";
805
+ schemaId: string;
806
+ analyticsId?: string | undefined;
807
+ control?: string | undefined;
808
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
809
+ schema?: {
810
+ $ref: string;
1509
811
  } | undefined;
1510
812
  }, {
1511
- action?: {
1512
- url?: string | undefined;
1513
- $id?: string | undefined;
1514
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1515
- disabled?: boolean | undefined;
1516
- title?: string | undefined;
1517
- timeout?: number | undefined;
1518
- id?: string | undefined;
1519
- $ref?: string | undefined;
1520
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1521
- exit?: boolean | undefined;
1522
- result?: JsonElement | undefined;
1523
- data?: JsonElement | undefined;
1524
- skipValidation?: boolean | undefined;
1525
- } | undefined;
1526
- link?: {
1527
- url: string;
813
+ type: "form";
814
+ schemaId: string;
815
+ analyticsId?: string | undefined;
816
+ control?: string | undefined;
817
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
818
+ schema?: {
819
+ $ref: string;
1528
820
  } | undefined;
1529
821
  }>;
822
+ export declare const instructionsLayoutSchema: z.ZodObject<{
823
+ type: z.ZodLiteral<"instructions">;
824
+ title: z.ZodOptional<z.ZodString>;
825
+ items: z.ZodArray<z.ZodObject<{
826
+ text: z.ZodString;
827
+ 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">]>;
828
+ tag: z.ZodOptional<z.ZodString>;
829
+ analyticsId: z.ZodOptional<z.ZodString>;
830
+ }, "strip", z.ZodTypeAny, {
831
+ text: string;
832
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
833
+ analyticsId?: string | undefined;
834
+ tag?: string | undefined;
835
+ }, {
836
+ text: string;
837
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
838
+ analyticsId?: string | undefined;
839
+ tag?: string | undefined;
840
+ }>, "many">;
841
+ control: z.ZodOptional<z.ZodString>;
842
+ margin: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"xs">, z.ZodLiteral<"sm">, z.ZodLiteral<"md">, z.ZodLiteral<"lg">, z.ZodLiteral<"xl">]>>;
843
+ analyticsId: z.ZodOptional<z.ZodString>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ type: "instructions";
846
+ items: {
847
+ text: string;
848
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
849
+ analyticsId?: string | undefined;
850
+ tag?: string | undefined;
851
+ }[];
852
+ analyticsId?: string | undefined;
853
+ title?: string | undefined;
854
+ control?: string | undefined;
855
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
856
+ }, {
857
+ type: "instructions";
858
+ items: {
859
+ text: string;
860
+ context: "neutral" | "warning" | "positive" | "negative" | "success" | "failure" | "info" | "primary";
861
+ analyticsId?: string | undefined;
862
+ tag?: string | undefined;
863
+ }[];
864
+ analyticsId?: string | undefined;
865
+ title?: string | undefined;
866
+ control?: string | undefined;
867
+ margin?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
868
+ }>;
869
+ export declare const avatarContentSchema: z.ZodUnion<[z.ZodObject<{
870
+ type: z.ZodLiteral<"text">;
871
+ text: z.ZodString;
872
+ badgeUri: z.ZodOptional<z.ZodString>;
873
+ }, "strip", z.ZodTypeAny, {
874
+ type: "text";
875
+ text: string;
876
+ badgeUri?: string | undefined;
877
+ }, {
878
+ type: "text";
879
+ text: string;
880
+ badgeUri?: string | undefined;
881
+ }>, z.ZodObject<{
882
+ type: z.ZodLiteral<"uri">;
883
+ uri: z.ZodString;
884
+ badgeUri: z.ZodOptional<z.ZodString>;
885
+ }, "strip", z.ZodTypeAny, {
886
+ type: "uri";
887
+ uri: string;
888
+ badgeUri?: string | undefined;
889
+ }, {
890
+ type: "uri";
891
+ uri: string;
892
+ badgeUri?: string | undefined;
893
+ }>]>;
1530
894
  export declare const mediaAvatarSchema: z.ZodObject<{
1531
895
  type: z.ZodLiteral<"avatar">;
1532
896
  content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
@@ -1558,25 +922,25 @@ export declare const mediaAvatarSchema: z.ZodObject<{
1558
922
  }, "strip", z.ZodTypeAny, {
1559
923
  type: "avatar";
1560
924
  content: ({
1561
- type: "uri";
1562
- uri: string;
1563
- badgeUri?: string | undefined;
1564
- } | {
1565
925
  type: "text";
1566
926
  text: string;
1567
927
  badgeUri?: string | undefined;
928
+ } | {
929
+ type: "uri";
930
+ uri: string;
931
+ badgeUri?: string | undefined;
1568
932
  })[];
1569
933
  accessibilityDescription?: string | undefined;
1570
934
  }, {
1571
935
  type: "avatar";
1572
936
  content: ({
1573
- type: "uri";
1574
- uri: string;
1575
- badgeUri?: string | undefined;
1576
- } | {
1577
937
  type: "text";
1578
938
  text: string;
1579
939
  badgeUri?: string | undefined;
940
+ } | {
941
+ type: "uri";
942
+ uri: string;
943
+ badgeUri?: string | undefined;
1580
944
  })[];
1581
945
  accessibilityDescription?: string | undefined;
1582
946
  }>;
@@ -1587,64 +951,1579 @@ export declare const mediaSchema: z.ZodUnion<[z.ZodObject<{
1587
951
  text: z.ZodString;
1588
952
  badgeUri: z.ZodOptional<z.ZodString>;
1589
953
  }, "strip", z.ZodTypeAny, {
1590
- type: "text";
1591
- text: string;
1592
- badgeUri?: string | undefined;
954
+ type: "text";
955
+ text: string;
956
+ badgeUri?: string | undefined;
957
+ }, {
958
+ type: "text";
959
+ text: string;
960
+ badgeUri?: string | undefined;
961
+ }>, z.ZodObject<{
962
+ type: z.ZodLiteral<"uri">;
963
+ uri: z.ZodString;
964
+ badgeUri: z.ZodOptional<z.ZodString>;
965
+ }, "strip", z.ZodTypeAny, {
966
+ type: "uri";
967
+ uri: string;
968
+ badgeUri?: string | undefined;
969
+ }, {
970
+ type: "uri";
971
+ uri: string;
972
+ badgeUri?: string | undefined;
973
+ }>]>, "many">;
974
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
975
+ }, "strip", z.ZodTypeAny, {
976
+ type: "avatar";
977
+ content: ({
978
+ type: "text";
979
+ text: string;
980
+ badgeUri?: string | undefined;
981
+ } | {
982
+ type: "uri";
983
+ uri: string;
984
+ badgeUri?: string | undefined;
985
+ })[];
986
+ accessibilityDescription?: string | undefined;
987
+ }, {
988
+ type: "avatar";
989
+ content: ({
990
+ type: "text";
991
+ text: string;
992
+ badgeUri?: string | undefined;
993
+ } | {
994
+ type: "uri";
995
+ uri: string;
996
+ badgeUri?: string | undefined;
997
+ })[];
998
+ accessibilityDescription?: string | undefined;
999
+ }>, z.ZodObject<{
1000
+ type: z.ZodLiteral<"image">;
1001
+ uri: z.ZodString;
1002
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1003
+ }, "strip", z.ZodTypeAny, {
1004
+ type: "image";
1005
+ uri: string;
1006
+ accessibilityDescription?: string | undefined;
1007
+ }, {
1008
+ type: "image";
1009
+ uri: string;
1010
+ accessibilityDescription?: string | undefined;
1011
+ }>]>;
1012
+ export declare const summarySummariserSchema: z.ZodObject<{
1013
+ defaultTitle: z.ZodOptional<z.ZodString>;
1014
+ defaultDescription: z.ZodOptional<z.ZodString>;
1015
+ defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1016
+ name: z.ZodString;
1017
+ }, "strip", z.ZodTypeAny, {
1018
+ name: string;
1019
+ }, {
1020
+ name: string;
1021
+ }>, z.ZodObject<{
1022
+ text: z.ZodString;
1023
+ }, "strip", z.ZodTypeAny, {
1024
+ text: string;
1025
+ }, {
1026
+ text: string;
1027
+ }>]>>;
1028
+ defaultImage: z.ZodOptional<z.ZodObject<{
1029
+ text: z.ZodOptional<z.ZodString>;
1030
+ url: z.ZodOptional<z.ZodString>;
1031
+ uri: z.ZodOptional<z.ZodString>;
1032
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1033
+ }, "strip", z.ZodTypeAny, {
1034
+ url?: string | undefined;
1035
+ text?: string | undefined;
1036
+ uri?: string | undefined;
1037
+ accessibilityDescription?: string | undefined;
1038
+ }, {
1039
+ url?: string | undefined;
1040
+ text?: string | undefined;
1041
+ uri?: string | undefined;
1042
+ accessibilityDescription?: string | undefined;
1043
+ }>>;
1044
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
1045
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
1046
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
1047
+ providesImage: z.ZodOptional<z.ZodBoolean>;
1048
+ defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1049
+ type: z.ZodLiteral<"avatar">;
1050
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1051
+ type: z.ZodLiteral<"text">;
1052
+ text: z.ZodString;
1053
+ badgeUri: z.ZodOptional<z.ZodString>;
1054
+ }, "strip", z.ZodTypeAny, {
1055
+ type: "text";
1056
+ text: string;
1057
+ badgeUri?: string | undefined;
1058
+ }, {
1059
+ type: "text";
1060
+ text: string;
1061
+ badgeUri?: string | undefined;
1062
+ }>, z.ZodObject<{
1063
+ type: z.ZodLiteral<"uri">;
1064
+ uri: z.ZodString;
1065
+ badgeUri: z.ZodOptional<z.ZodString>;
1066
+ }, "strip", z.ZodTypeAny, {
1067
+ type: "uri";
1068
+ uri: string;
1069
+ badgeUri?: string | undefined;
1070
+ }, {
1071
+ type: "uri";
1072
+ uri: string;
1073
+ badgeUri?: string | undefined;
1074
+ }>]>, "many">;
1075
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ type: "avatar";
1078
+ content: ({
1079
+ type: "text";
1080
+ text: string;
1081
+ badgeUri?: string | undefined;
1082
+ } | {
1083
+ type: "uri";
1084
+ uri: string;
1085
+ badgeUri?: string | undefined;
1086
+ })[];
1087
+ accessibilityDescription?: string | undefined;
1088
+ }, {
1089
+ type: "avatar";
1090
+ content: ({
1091
+ type: "text";
1092
+ text: string;
1093
+ badgeUri?: string | undefined;
1094
+ } | {
1095
+ type: "uri";
1096
+ uri: string;
1097
+ badgeUri?: string | undefined;
1098
+ })[];
1099
+ accessibilityDescription?: string | undefined;
1100
+ }>, z.ZodObject<{
1101
+ type: z.ZodLiteral<"image">;
1102
+ uri: z.ZodString;
1103
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1104
+ }, "strip", z.ZodTypeAny, {
1105
+ type: "image";
1106
+ uri: string;
1107
+ accessibilityDescription?: string | undefined;
1108
+ }, {
1109
+ type: "image";
1110
+ uri: string;
1111
+ accessibilityDescription?: string | undefined;
1112
+ }>]>>;
1113
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
1114
+ }, "strip", z.ZodTypeAny, {
1115
+ providesTitle?: boolean | undefined;
1116
+ providesDescription?: boolean | undefined;
1117
+ providesIcon?: boolean | undefined;
1118
+ providesImage?: boolean | undefined;
1119
+ providesMedia?: boolean | undefined;
1120
+ defaultTitle?: string | undefined;
1121
+ defaultDescription?: string | undefined;
1122
+ defaultIcon?: {
1123
+ name: string;
1124
+ } | {
1125
+ text: string;
1126
+ } | undefined;
1127
+ defaultImage?: {
1128
+ url?: string | undefined;
1129
+ text?: string | undefined;
1130
+ uri?: string | undefined;
1131
+ accessibilityDescription?: string | undefined;
1132
+ } | undefined;
1133
+ defaultMedia?: {
1134
+ type: "image";
1135
+ uri: string;
1136
+ accessibilityDescription?: string | undefined;
1137
+ } | {
1138
+ type: "avatar";
1139
+ content: ({
1140
+ type: "text";
1141
+ text: string;
1142
+ badgeUri?: string | undefined;
1143
+ } | {
1144
+ type: "uri";
1145
+ uri: string;
1146
+ badgeUri?: string | undefined;
1147
+ })[];
1148
+ accessibilityDescription?: string | undefined;
1149
+ } | undefined;
1150
+ }, {
1151
+ providesTitle?: boolean | undefined;
1152
+ providesDescription?: boolean | undefined;
1153
+ providesIcon?: boolean | undefined;
1154
+ providesImage?: boolean | undefined;
1155
+ providesMedia?: boolean | undefined;
1156
+ defaultTitle?: string | undefined;
1157
+ defaultDescription?: string | undefined;
1158
+ defaultIcon?: {
1159
+ name: string;
1160
+ } | {
1161
+ text: string;
1162
+ } | undefined;
1163
+ defaultImage?: {
1164
+ url?: string | undefined;
1165
+ text?: string | undefined;
1166
+ uri?: string | undefined;
1167
+ accessibilityDescription?: string | undefined;
1168
+ } | undefined;
1169
+ defaultMedia?: {
1170
+ type: "image";
1171
+ uri: string;
1172
+ accessibilityDescription?: string | undefined;
1173
+ } | {
1174
+ type: "avatar";
1175
+ content: ({
1176
+ type: "text";
1177
+ text: string;
1178
+ badgeUri?: string | undefined;
1179
+ } | {
1180
+ type: "uri";
1181
+ uri: string;
1182
+ badgeUri?: string | undefined;
1183
+ })[];
1184
+ accessibilityDescription?: string | undefined;
1185
+ } | undefined;
1186
+ }>;
1187
+ export declare const actionResponseBodySchema: z.ZodObject<{
1188
+ action: z.ZodObject<{
1189
+ title: z.ZodOptional<z.ZodString>;
1190
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1191
+ disabled: z.ZodOptional<z.ZodBoolean>;
1192
+ $id: z.ZodOptional<z.ZodString>;
1193
+ $ref: z.ZodOptional<z.ZodString>;
1194
+ id: z.ZodOptional<z.ZodString>;
1195
+ url: z.ZodOptional<z.ZodString>;
1196
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1197
+ exit: z.ZodOptional<z.ZodBoolean>;
1198
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1199
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1200
+ timeout: z.ZodOptional<z.ZodNumber>;
1201
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1202
+ }, "strip", z.ZodTypeAny, {
1203
+ url?: string | undefined;
1204
+ $id?: string | undefined;
1205
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1206
+ disabled?: boolean | undefined;
1207
+ title?: string | undefined;
1208
+ timeout?: number | undefined;
1209
+ id?: string | undefined;
1210
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1211
+ $ref?: string | undefined;
1212
+ exit?: boolean | undefined;
1213
+ result?: JsonElement | undefined;
1214
+ data?: JsonElement | undefined;
1215
+ skipValidation?: boolean | undefined;
1216
+ }, {
1217
+ url?: string | undefined;
1218
+ $id?: string | undefined;
1219
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1220
+ disabled?: boolean | undefined;
1221
+ title?: string | undefined;
1222
+ timeout?: number | undefined;
1223
+ id?: string | undefined;
1224
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1225
+ $ref?: string | undefined;
1226
+ exit?: boolean | undefined;
1227
+ result?: JsonElement | undefined;
1228
+ data?: JsonElement | undefined;
1229
+ skipValidation?: boolean | undefined;
1230
+ }>;
1231
+ }, "strip", z.ZodTypeAny, {
1232
+ action: {
1233
+ url?: string | undefined;
1234
+ $id?: string | undefined;
1235
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1236
+ disabled?: boolean | undefined;
1237
+ title?: string | undefined;
1238
+ timeout?: number | undefined;
1239
+ id?: string | undefined;
1240
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1241
+ $ref?: string | undefined;
1242
+ exit?: boolean | undefined;
1243
+ result?: JsonElement | undefined;
1244
+ data?: JsonElement | undefined;
1245
+ skipValidation?: boolean | undefined;
1246
+ };
1247
+ }, {
1248
+ action: {
1249
+ url?: string | undefined;
1250
+ $id?: string | undefined;
1251
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1252
+ disabled?: boolean | undefined;
1253
+ title?: string | undefined;
1254
+ timeout?: number | undefined;
1255
+ id?: string | undefined;
1256
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1257
+ $ref?: string | undefined;
1258
+ exit?: boolean | undefined;
1259
+ result?: JsonElement | undefined;
1260
+ data?: JsonElement | undefined;
1261
+ skipValidation?: boolean | undefined;
1262
+ };
1263
+ }>;
1264
+ export declare const searchResultSearchSchema: z.ZodObject<{
1265
+ type: z.ZodLiteral<"search">;
1266
+ title: z.ZodString;
1267
+ description: z.ZodOptional<z.ZodString>;
1268
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1269
+ name: z.ZodString;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ name: string;
1272
+ }, {
1273
+ name: string;
1274
+ }>, z.ZodObject<{
1275
+ text: z.ZodString;
1276
+ }, "strip", z.ZodTypeAny, {
1277
+ text: string;
1278
+ }, {
1279
+ text: string;
1280
+ }>]>>;
1281
+ image: z.ZodOptional<z.ZodObject<{
1282
+ text: z.ZodOptional<z.ZodString>;
1283
+ url: z.ZodOptional<z.ZodString>;
1284
+ uri: z.ZodOptional<z.ZodString>;
1285
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ url?: string | undefined;
1288
+ text?: string | undefined;
1289
+ uri?: string | undefined;
1290
+ accessibilityDescription?: string | undefined;
1291
+ }, {
1292
+ url?: string | undefined;
1293
+ text?: string | undefined;
1294
+ uri?: string | undefined;
1295
+ accessibilityDescription?: string | undefined;
1296
+ }>>;
1297
+ value: z.ZodObject<{
1298
+ url: z.ZodString;
1299
+ method: z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>;
1300
+ param: z.ZodString;
1301
+ query: z.ZodString;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ url: string;
1304
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1305
+ param: string;
1306
+ query: string;
1307
+ }, {
1308
+ url: string;
1309
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1310
+ param: string;
1311
+ query: string;
1312
+ }>;
1313
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1314
+ type: z.ZodLiteral<"avatar">;
1315
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1316
+ type: z.ZodLiteral<"text">;
1317
+ text: z.ZodString;
1318
+ badgeUri: z.ZodOptional<z.ZodString>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ type: "text";
1321
+ text: string;
1322
+ badgeUri?: string | undefined;
1323
+ }, {
1324
+ type: "text";
1325
+ text: string;
1326
+ badgeUri?: string | undefined;
1327
+ }>, z.ZodObject<{
1328
+ type: z.ZodLiteral<"uri">;
1329
+ uri: z.ZodString;
1330
+ badgeUri: z.ZodOptional<z.ZodString>;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ type: "uri";
1333
+ uri: string;
1334
+ badgeUri?: string | undefined;
1335
+ }, {
1336
+ type: "uri";
1337
+ uri: string;
1338
+ badgeUri?: string | undefined;
1339
+ }>]>, "many">;
1340
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1341
+ }, "strip", z.ZodTypeAny, {
1342
+ type: "avatar";
1343
+ content: ({
1344
+ type: "text";
1345
+ text: string;
1346
+ badgeUri?: string | undefined;
1347
+ } | {
1348
+ type: "uri";
1349
+ uri: string;
1350
+ badgeUri?: string | undefined;
1351
+ })[];
1352
+ accessibilityDescription?: string | undefined;
1353
+ }, {
1354
+ type: "avatar";
1355
+ content: ({
1356
+ type: "text";
1357
+ text: string;
1358
+ badgeUri?: string | undefined;
1359
+ } | {
1360
+ type: "uri";
1361
+ uri: string;
1362
+ badgeUri?: string | undefined;
1363
+ })[];
1364
+ accessibilityDescription?: string | undefined;
1365
+ }>, z.ZodObject<{
1366
+ type: z.ZodLiteral<"image">;
1367
+ uri: z.ZodString;
1368
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1369
+ }, "strip", z.ZodTypeAny, {
1370
+ type: "image";
1371
+ uri: string;
1372
+ accessibilityDescription?: string | undefined;
1373
+ }, {
1374
+ type: "image";
1375
+ uri: string;
1376
+ accessibilityDescription?: string | undefined;
1377
+ }>]>>;
1378
+ }, "strip", z.ZodTypeAny, {
1379
+ type: "search";
1380
+ title: string;
1381
+ value: {
1382
+ url: string;
1383
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1384
+ param: string;
1385
+ query: string;
1386
+ };
1387
+ image?: {
1388
+ url?: string | undefined;
1389
+ text?: string | undefined;
1390
+ uri?: string | undefined;
1391
+ accessibilityDescription?: string | undefined;
1392
+ } | undefined;
1393
+ description?: string | undefined;
1394
+ icon?: {
1395
+ name: string;
1396
+ } | {
1397
+ text: string;
1398
+ } | undefined;
1399
+ media?: {
1400
+ type: "image";
1401
+ uri: string;
1402
+ accessibilityDescription?: string | undefined;
1403
+ } | {
1404
+ type: "avatar";
1405
+ content: ({
1406
+ type: "text";
1407
+ text: string;
1408
+ badgeUri?: string | undefined;
1409
+ } | {
1410
+ type: "uri";
1411
+ uri: string;
1412
+ badgeUri?: string | undefined;
1413
+ })[];
1414
+ accessibilityDescription?: string | undefined;
1415
+ } | undefined;
1416
+ }, {
1417
+ type: "search";
1418
+ title: string;
1419
+ value: {
1420
+ url: string;
1421
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1422
+ param: string;
1423
+ query: string;
1424
+ };
1425
+ image?: {
1426
+ url?: string | undefined;
1427
+ text?: string | undefined;
1428
+ uri?: string | undefined;
1429
+ accessibilityDescription?: string | undefined;
1430
+ } | undefined;
1431
+ description?: string | undefined;
1432
+ icon?: {
1433
+ name: string;
1434
+ } | {
1435
+ text: string;
1436
+ } | undefined;
1437
+ media?: {
1438
+ type: "image";
1439
+ uri: string;
1440
+ accessibilityDescription?: string | undefined;
1441
+ } | {
1442
+ type: "avatar";
1443
+ content: ({
1444
+ type: "text";
1445
+ text: string;
1446
+ badgeUri?: string | undefined;
1447
+ } | {
1448
+ type: "uri";
1449
+ uri: string;
1450
+ badgeUri?: string | undefined;
1451
+ })[];
1452
+ accessibilityDescription?: string | undefined;
1453
+ } | undefined;
1454
+ }>;
1455
+ export declare const searchResultActionSchema: z.ZodObject<{
1456
+ type: z.ZodLiteral<"action">;
1457
+ title: z.ZodString;
1458
+ description: z.ZodOptional<z.ZodString>;
1459
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1460
+ name: z.ZodString;
1461
+ }, "strip", z.ZodTypeAny, {
1462
+ name: string;
1463
+ }, {
1464
+ name: string;
1465
+ }>, z.ZodObject<{
1466
+ text: z.ZodString;
1467
+ }, "strip", z.ZodTypeAny, {
1468
+ text: string;
1469
+ }, {
1470
+ text: string;
1471
+ }>]>>;
1472
+ image: z.ZodOptional<z.ZodObject<{
1473
+ text: z.ZodOptional<z.ZodString>;
1474
+ url: z.ZodOptional<z.ZodString>;
1475
+ uri: z.ZodOptional<z.ZodString>;
1476
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1477
+ }, "strip", z.ZodTypeAny, {
1478
+ url?: string | undefined;
1479
+ text?: string | undefined;
1480
+ uri?: string | undefined;
1481
+ accessibilityDescription?: string | undefined;
1482
+ }, {
1483
+ url?: string | undefined;
1484
+ text?: string | undefined;
1485
+ uri?: string | undefined;
1486
+ accessibilityDescription?: string | undefined;
1487
+ }>>;
1488
+ value: z.ZodObject<{
1489
+ title: z.ZodOptional<z.ZodString>;
1490
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1491
+ disabled: z.ZodOptional<z.ZodBoolean>;
1492
+ $id: z.ZodOptional<z.ZodString>;
1493
+ $ref: z.ZodOptional<z.ZodString>;
1494
+ id: z.ZodOptional<z.ZodString>;
1495
+ url: z.ZodOptional<z.ZodString>;
1496
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1497
+ exit: z.ZodOptional<z.ZodBoolean>;
1498
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1499
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1500
+ timeout: z.ZodOptional<z.ZodNumber>;
1501
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ url?: string | undefined;
1504
+ $id?: string | undefined;
1505
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1506
+ disabled?: boolean | undefined;
1507
+ title?: string | undefined;
1508
+ timeout?: number | undefined;
1509
+ id?: string | undefined;
1510
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1511
+ $ref?: string | undefined;
1512
+ exit?: boolean | undefined;
1513
+ result?: JsonElement | undefined;
1514
+ data?: JsonElement | undefined;
1515
+ skipValidation?: boolean | undefined;
1516
+ }, {
1517
+ url?: string | undefined;
1518
+ $id?: string | undefined;
1519
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1520
+ disabled?: boolean | undefined;
1521
+ title?: string | undefined;
1522
+ timeout?: number | undefined;
1523
+ id?: string | undefined;
1524
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1525
+ $ref?: string | undefined;
1526
+ exit?: boolean | undefined;
1527
+ result?: JsonElement | undefined;
1528
+ data?: JsonElement | undefined;
1529
+ skipValidation?: boolean | undefined;
1530
+ }>;
1531
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1532
+ type: z.ZodLiteral<"avatar">;
1533
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1534
+ type: z.ZodLiteral<"text">;
1535
+ text: z.ZodString;
1536
+ badgeUri: z.ZodOptional<z.ZodString>;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ type: "text";
1539
+ text: string;
1540
+ badgeUri?: string | undefined;
1541
+ }, {
1542
+ type: "text";
1543
+ text: string;
1544
+ badgeUri?: string | undefined;
1545
+ }>, z.ZodObject<{
1546
+ type: z.ZodLiteral<"uri">;
1547
+ uri: z.ZodString;
1548
+ badgeUri: z.ZodOptional<z.ZodString>;
1549
+ }, "strip", z.ZodTypeAny, {
1550
+ type: "uri";
1551
+ uri: string;
1552
+ badgeUri?: string | undefined;
1553
+ }, {
1554
+ type: "uri";
1555
+ uri: string;
1556
+ badgeUri?: string | undefined;
1557
+ }>]>, "many">;
1558
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1559
+ }, "strip", z.ZodTypeAny, {
1560
+ type: "avatar";
1561
+ content: ({
1562
+ type: "text";
1563
+ text: string;
1564
+ badgeUri?: string | undefined;
1565
+ } | {
1566
+ type: "uri";
1567
+ uri: string;
1568
+ badgeUri?: string | undefined;
1569
+ })[];
1570
+ accessibilityDescription?: string | undefined;
1571
+ }, {
1572
+ type: "avatar";
1573
+ content: ({
1574
+ type: "text";
1575
+ text: string;
1576
+ badgeUri?: string | undefined;
1577
+ } | {
1578
+ type: "uri";
1579
+ uri: string;
1580
+ badgeUri?: string | undefined;
1581
+ })[];
1582
+ accessibilityDescription?: string | undefined;
1583
+ }>, z.ZodObject<{
1584
+ type: z.ZodLiteral<"image">;
1585
+ uri: z.ZodString;
1586
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1587
+ }, "strip", z.ZodTypeAny, {
1588
+ type: "image";
1589
+ uri: string;
1590
+ accessibilityDescription?: string | undefined;
1591
+ }, {
1592
+ type: "image";
1593
+ uri: string;
1594
+ accessibilityDescription?: string | undefined;
1595
+ }>]>>;
1596
+ }, "strip", z.ZodTypeAny, {
1597
+ type: "action";
1598
+ title: string;
1599
+ value: {
1600
+ url?: string | undefined;
1601
+ $id?: string | undefined;
1602
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1603
+ disabled?: boolean | undefined;
1604
+ title?: string | undefined;
1605
+ timeout?: number | undefined;
1606
+ id?: string | undefined;
1607
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1608
+ $ref?: string | undefined;
1609
+ exit?: boolean | undefined;
1610
+ result?: JsonElement | undefined;
1611
+ data?: JsonElement | undefined;
1612
+ skipValidation?: boolean | undefined;
1613
+ };
1614
+ image?: {
1615
+ url?: string | undefined;
1616
+ text?: string | undefined;
1617
+ uri?: string | undefined;
1618
+ accessibilityDescription?: string | undefined;
1619
+ } | undefined;
1620
+ description?: string | undefined;
1621
+ icon?: {
1622
+ name: string;
1623
+ } | {
1624
+ text: string;
1625
+ } | undefined;
1626
+ media?: {
1627
+ type: "image";
1628
+ uri: string;
1629
+ accessibilityDescription?: string | undefined;
1630
+ } | {
1631
+ type: "avatar";
1632
+ content: ({
1633
+ type: "text";
1634
+ text: string;
1635
+ badgeUri?: string | undefined;
1636
+ } | {
1637
+ type: "uri";
1638
+ uri: string;
1639
+ badgeUri?: string | undefined;
1640
+ })[];
1641
+ accessibilityDescription?: string | undefined;
1642
+ } | undefined;
1643
+ }, {
1644
+ type: "action";
1645
+ title: string;
1646
+ value: {
1647
+ url?: string | undefined;
1648
+ $id?: string | undefined;
1649
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1650
+ disabled?: boolean | undefined;
1651
+ title?: string | undefined;
1652
+ timeout?: number | undefined;
1653
+ id?: string | undefined;
1654
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1655
+ $ref?: string | undefined;
1656
+ exit?: boolean | undefined;
1657
+ result?: JsonElement | undefined;
1658
+ data?: JsonElement | undefined;
1659
+ skipValidation?: boolean | undefined;
1660
+ };
1661
+ image?: {
1662
+ url?: string | undefined;
1663
+ text?: string | undefined;
1664
+ uri?: string | undefined;
1665
+ accessibilityDescription?: string | undefined;
1666
+ } | undefined;
1667
+ description?: string | undefined;
1668
+ icon?: {
1669
+ name: string;
1670
+ } | {
1671
+ text: string;
1672
+ } | undefined;
1673
+ media?: {
1674
+ type: "image";
1675
+ uri: string;
1676
+ accessibilityDescription?: string | undefined;
1677
+ } | {
1678
+ type: "avatar";
1679
+ content: ({
1680
+ type: "text";
1681
+ text: string;
1682
+ badgeUri?: string | undefined;
1683
+ } | {
1684
+ type: "uri";
1685
+ uri: string;
1686
+ badgeUri?: string | undefined;
1687
+ })[];
1688
+ accessibilityDescription?: string | undefined;
1689
+ } | undefined;
1690
+ }>;
1691
+ export declare const suggestionsValueSchema: z.ZodObject<{
1692
+ label: z.ZodString;
1693
+ value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
1694
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1695
+ name: z.ZodString;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ name: string;
1698
+ }, {
1699
+ name: string;
1700
+ }>, z.ZodObject<{
1701
+ text: z.ZodString;
1702
+ }, "strip", z.ZodTypeAny, {
1703
+ text: string;
1704
+ }, {
1705
+ text: string;
1706
+ }>]>>;
1707
+ image: z.ZodOptional<z.ZodObject<{
1708
+ text: z.ZodOptional<z.ZodString>;
1709
+ url: z.ZodOptional<z.ZodString>;
1710
+ uri: z.ZodOptional<z.ZodString>;
1711
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1712
+ }, "strip", z.ZodTypeAny, {
1713
+ url?: string | undefined;
1714
+ text?: string | undefined;
1715
+ uri?: string | undefined;
1716
+ accessibilityDescription?: string | undefined;
1717
+ }, {
1718
+ url?: string | undefined;
1719
+ text?: string | undefined;
1720
+ uri?: string | undefined;
1721
+ accessibilityDescription?: string | undefined;
1722
+ }>>;
1723
+ tag: z.ZodOptional<z.ZodString>;
1724
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1725
+ type: z.ZodLiteral<"avatar">;
1726
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1727
+ type: z.ZodLiteral<"text">;
1728
+ text: z.ZodString;
1729
+ badgeUri: z.ZodOptional<z.ZodString>;
1730
+ }, "strip", z.ZodTypeAny, {
1731
+ type: "text";
1732
+ text: string;
1733
+ badgeUri?: string | undefined;
1734
+ }, {
1735
+ type: "text";
1736
+ text: string;
1737
+ badgeUri?: string | undefined;
1738
+ }>, z.ZodObject<{
1739
+ type: z.ZodLiteral<"uri">;
1740
+ uri: z.ZodString;
1741
+ badgeUri: z.ZodOptional<z.ZodString>;
1742
+ }, "strip", z.ZodTypeAny, {
1743
+ type: "uri";
1744
+ uri: string;
1745
+ badgeUri?: string | undefined;
1746
+ }, {
1747
+ type: "uri";
1748
+ uri: string;
1749
+ badgeUri?: string | undefined;
1750
+ }>]>, "many">;
1751
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ type: "avatar";
1754
+ content: ({
1755
+ type: "text";
1756
+ text: string;
1757
+ badgeUri?: string | undefined;
1758
+ } | {
1759
+ type: "uri";
1760
+ uri: string;
1761
+ badgeUri?: string | undefined;
1762
+ })[];
1763
+ accessibilityDescription?: string | undefined;
1764
+ }, {
1765
+ type: "avatar";
1766
+ content: ({
1767
+ type: "text";
1768
+ text: string;
1769
+ badgeUri?: string | undefined;
1770
+ } | {
1771
+ type: "uri";
1772
+ uri: string;
1773
+ badgeUri?: string | undefined;
1774
+ })[];
1775
+ accessibilityDescription?: string | undefined;
1776
+ }>, z.ZodObject<{
1777
+ type: z.ZodLiteral<"image">;
1778
+ uri: z.ZodString;
1779
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1780
+ }, "strip", z.ZodTypeAny, {
1781
+ type: "image";
1782
+ uri: string;
1783
+ accessibilityDescription?: string | undefined;
1784
+ }, {
1785
+ type: "image";
1786
+ uri: string;
1787
+ accessibilityDescription?: string | undefined;
1788
+ }>]>>;
1789
+ analyticsId: z.ZodOptional<z.ZodString>;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ value: JsonElement;
1792
+ label: string;
1793
+ image?: {
1794
+ url?: string | undefined;
1795
+ text?: string | undefined;
1796
+ uri?: string | undefined;
1797
+ accessibilityDescription?: string | undefined;
1798
+ } | undefined;
1799
+ analyticsId?: string | undefined;
1800
+ icon?: {
1801
+ name: string;
1802
+ } | {
1803
+ text: string;
1804
+ } | undefined;
1805
+ tag?: string | undefined;
1806
+ media?: {
1807
+ type: "image";
1808
+ uri: string;
1809
+ accessibilityDescription?: string | undefined;
1810
+ } | {
1811
+ type: "avatar";
1812
+ content: ({
1813
+ type: "text";
1814
+ text: string;
1815
+ badgeUri?: string | undefined;
1816
+ } | {
1817
+ type: "uri";
1818
+ uri: string;
1819
+ badgeUri?: string | undefined;
1820
+ })[];
1821
+ accessibilityDescription?: string | undefined;
1822
+ } | undefined;
1823
+ }, {
1824
+ value: JsonElement;
1825
+ label: string;
1826
+ image?: {
1827
+ url?: string | undefined;
1828
+ text?: string | undefined;
1829
+ uri?: string | undefined;
1830
+ accessibilityDescription?: string | undefined;
1831
+ } | undefined;
1832
+ analyticsId?: string | undefined;
1833
+ icon?: {
1834
+ name: string;
1835
+ } | {
1836
+ text: string;
1837
+ } | undefined;
1838
+ tag?: string | undefined;
1839
+ media?: {
1840
+ type: "image";
1841
+ uri: string;
1842
+ accessibilityDescription?: string | undefined;
1843
+ } | {
1844
+ type: "avatar";
1845
+ content: ({
1846
+ type: "text";
1847
+ text: string;
1848
+ badgeUri?: string | undefined;
1849
+ } | {
1850
+ type: "uri";
1851
+ uri: string;
1852
+ badgeUri?: string | undefined;
1853
+ })[];
1854
+ accessibilityDescription?: string | undefined;
1855
+ } | undefined;
1856
+ }>;
1857
+ export declare const navigationSchema: z.ZodObject<{
1858
+ backButton: z.ZodOptional<z.ZodObject<{
1859
+ title: z.ZodOptional<z.ZodString>;
1860
+ action: z.ZodObject<{
1861
+ title: z.ZodOptional<z.ZodString>;
1862
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1863
+ disabled: z.ZodOptional<z.ZodBoolean>;
1864
+ $id: z.ZodOptional<z.ZodString>;
1865
+ $ref: z.ZodOptional<z.ZodString>;
1866
+ id: z.ZodOptional<z.ZodString>;
1867
+ url: z.ZodOptional<z.ZodString>;
1868
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1869
+ exit: z.ZodOptional<z.ZodBoolean>;
1870
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1871
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1872
+ timeout: z.ZodOptional<z.ZodNumber>;
1873
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1874
+ }, "strip", z.ZodTypeAny, {
1875
+ url?: string | undefined;
1876
+ $id?: string | undefined;
1877
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1878
+ disabled?: boolean | undefined;
1879
+ title?: string | undefined;
1880
+ timeout?: number | undefined;
1881
+ id?: string | undefined;
1882
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1883
+ $ref?: string | undefined;
1884
+ exit?: boolean | undefined;
1885
+ result?: JsonElement | undefined;
1886
+ data?: JsonElement | undefined;
1887
+ skipValidation?: boolean | undefined;
1888
+ }, {
1889
+ url?: string | undefined;
1890
+ $id?: string | undefined;
1891
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1892
+ disabled?: boolean | undefined;
1893
+ title?: string | undefined;
1894
+ timeout?: number | undefined;
1895
+ id?: string | undefined;
1896
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1897
+ $ref?: string | undefined;
1898
+ exit?: boolean | undefined;
1899
+ result?: JsonElement | undefined;
1900
+ data?: JsonElement | undefined;
1901
+ skipValidation?: boolean | undefined;
1902
+ }>;
1903
+ }, "strip", z.ZodTypeAny, {
1904
+ action: {
1905
+ url?: string | undefined;
1906
+ $id?: string | undefined;
1907
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1908
+ disabled?: boolean | undefined;
1909
+ title?: string | undefined;
1910
+ timeout?: number | undefined;
1911
+ id?: string | undefined;
1912
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1913
+ $ref?: string | undefined;
1914
+ exit?: boolean | undefined;
1915
+ result?: JsonElement | undefined;
1916
+ data?: JsonElement | undefined;
1917
+ skipValidation?: boolean | undefined;
1918
+ };
1919
+ title?: string | undefined;
1920
+ }, {
1921
+ action: {
1922
+ url?: string | undefined;
1923
+ $id?: string | undefined;
1924
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1925
+ disabled?: boolean | undefined;
1926
+ title?: string | undefined;
1927
+ timeout?: number | undefined;
1928
+ id?: string | undefined;
1929
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1930
+ $ref?: string | undefined;
1931
+ exit?: boolean | undefined;
1932
+ result?: JsonElement | undefined;
1933
+ data?: JsonElement | undefined;
1934
+ skipValidation?: boolean | undefined;
1935
+ };
1936
+ title?: string | undefined;
1937
+ }>>;
1938
+ back: z.ZodOptional<z.ZodObject<{
1939
+ title: z.ZodOptional<z.ZodString>;
1940
+ action: z.ZodObject<{
1941
+ title: z.ZodOptional<z.ZodString>;
1942
+ type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1943
+ disabled: z.ZodOptional<z.ZodBoolean>;
1944
+ $id: z.ZodOptional<z.ZodString>;
1945
+ $ref: z.ZodOptional<z.ZodString>;
1946
+ id: z.ZodOptional<z.ZodString>;
1947
+ url: z.ZodOptional<z.ZodString>;
1948
+ method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1949
+ exit: z.ZodOptional<z.ZodBoolean>;
1950
+ result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1951
+ data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1952
+ timeout: z.ZodOptional<z.ZodNumber>;
1953
+ skipValidation: z.ZodOptional<z.ZodBoolean>;
1954
+ }, "strip", z.ZodTypeAny, {
1955
+ url?: string | undefined;
1956
+ $id?: string | undefined;
1957
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1958
+ disabled?: boolean | undefined;
1959
+ title?: string | undefined;
1960
+ timeout?: number | undefined;
1961
+ id?: string | undefined;
1962
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1963
+ $ref?: string | undefined;
1964
+ exit?: boolean | undefined;
1965
+ result?: JsonElement | undefined;
1966
+ data?: JsonElement | undefined;
1967
+ skipValidation?: boolean | undefined;
1968
+ }, {
1969
+ url?: string | undefined;
1970
+ $id?: string | undefined;
1971
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1972
+ disabled?: boolean | undefined;
1973
+ title?: string | undefined;
1974
+ timeout?: number | undefined;
1975
+ id?: string | undefined;
1976
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1977
+ $ref?: string | undefined;
1978
+ exit?: boolean | undefined;
1979
+ result?: JsonElement | undefined;
1980
+ data?: JsonElement | undefined;
1981
+ skipValidation?: boolean | undefined;
1982
+ }>;
1983
+ }, "strip", z.ZodTypeAny, {
1984
+ action: {
1985
+ url?: string | undefined;
1986
+ $id?: string | undefined;
1987
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1988
+ disabled?: boolean | undefined;
1989
+ title?: string | undefined;
1990
+ timeout?: number | undefined;
1991
+ id?: string | undefined;
1992
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1993
+ $ref?: string | undefined;
1994
+ exit?: boolean | undefined;
1995
+ result?: JsonElement | undefined;
1996
+ data?: JsonElement | undefined;
1997
+ skipValidation?: boolean | undefined;
1998
+ };
1999
+ title?: string | undefined;
2000
+ }, {
2001
+ action: {
2002
+ url?: string | undefined;
2003
+ $id?: string | undefined;
2004
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2005
+ disabled?: boolean | undefined;
2006
+ title?: string | undefined;
2007
+ timeout?: number | undefined;
2008
+ id?: string | undefined;
2009
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2010
+ $ref?: string | undefined;
2011
+ exit?: boolean | undefined;
2012
+ result?: JsonElement | undefined;
2013
+ data?: JsonElement | undefined;
2014
+ skipValidation?: boolean | undefined;
2015
+ };
2016
+ title?: string | undefined;
2017
+ }>>;
2018
+ stackBehavior: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>>;
2019
+ }, "strip", z.ZodTypeAny, {
2020
+ back?: {
2021
+ action: {
2022
+ url?: string | undefined;
2023
+ $id?: string | undefined;
2024
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2025
+ disabled?: boolean | undefined;
2026
+ title?: string | undefined;
2027
+ timeout?: number | undefined;
2028
+ id?: string | undefined;
2029
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2030
+ $ref?: string | undefined;
2031
+ exit?: boolean | undefined;
2032
+ result?: JsonElement | undefined;
2033
+ data?: JsonElement | undefined;
2034
+ skipValidation?: boolean | undefined;
2035
+ };
2036
+ title?: string | undefined;
2037
+ } | undefined;
2038
+ backButton?: {
2039
+ action: {
2040
+ url?: string | undefined;
2041
+ $id?: string | undefined;
2042
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2043
+ disabled?: boolean | undefined;
2044
+ title?: string | undefined;
2045
+ timeout?: number | undefined;
2046
+ id?: string | undefined;
2047
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2048
+ $ref?: string | undefined;
2049
+ exit?: boolean | undefined;
2050
+ result?: JsonElement | undefined;
2051
+ data?: JsonElement | undefined;
2052
+ skipValidation?: boolean | undefined;
2053
+ };
2054
+ title?: string | undefined;
2055
+ } | undefined;
2056
+ stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
2057
+ }, {
2058
+ back?: {
2059
+ action: {
2060
+ url?: string | undefined;
2061
+ $id?: string | undefined;
2062
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2063
+ disabled?: boolean | undefined;
2064
+ title?: string | undefined;
2065
+ timeout?: number | undefined;
2066
+ id?: string | undefined;
2067
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2068
+ $ref?: string | undefined;
2069
+ exit?: boolean | undefined;
2070
+ result?: JsonElement | undefined;
2071
+ data?: JsonElement | undefined;
2072
+ skipValidation?: boolean | undefined;
2073
+ };
2074
+ title?: string | undefined;
2075
+ } | undefined;
2076
+ backButton?: {
2077
+ action: {
2078
+ url?: string | undefined;
2079
+ $id?: string | undefined;
2080
+ type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2081
+ disabled?: boolean | undefined;
2082
+ title?: string | undefined;
2083
+ timeout?: number | undefined;
2084
+ id?: string | undefined;
2085
+ method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2086
+ $ref?: string | undefined;
2087
+ exit?: boolean | undefined;
2088
+ result?: JsonElement | undefined;
2089
+ data?: JsonElement | undefined;
2090
+ skipValidation?: boolean | undefined;
2091
+ };
2092
+ title?: string | undefined;
2093
+ } | undefined;
2094
+ stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
2095
+ }>;
2096
+ export declare const summarySchema: z.ZodUnion<[z.ZodObject<{
2097
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
2098
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
2099
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
2100
+ providesImage: z.ZodOptional<z.ZodBoolean>;
2101
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
2102
+ }, "strip", z.ZodTypeAny, {
2103
+ providesTitle?: boolean | undefined;
2104
+ providesDescription?: boolean | undefined;
2105
+ providesIcon?: boolean | undefined;
2106
+ providesImage?: boolean | undefined;
2107
+ providesMedia?: boolean | undefined;
2108
+ }, {
2109
+ providesTitle?: boolean | undefined;
2110
+ providesDescription?: boolean | undefined;
2111
+ providesIcon?: boolean | undefined;
2112
+ providesImage?: boolean | undefined;
2113
+ providesMedia?: boolean | undefined;
2114
+ }>, z.ZodObject<{
2115
+ defaultTitle: z.ZodOptional<z.ZodString>;
2116
+ defaultDescription: z.ZodOptional<z.ZodString>;
2117
+ defaultIcon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2118
+ name: z.ZodString;
2119
+ }, "strip", z.ZodTypeAny, {
2120
+ name: string;
2121
+ }, {
2122
+ name: string;
2123
+ }>, z.ZodObject<{
2124
+ text: z.ZodString;
2125
+ }, "strip", z.ZodTypeAny, {
2126
+ text: string;
2127
+ }, {
2128
+ text: string;
2129
+ }>]>>;
2130
+ defaultImage: z.ZodOptional<z.ZodObject<{
2131
+ text: z.ZodOptional<z.ZodString>;
2132
+ url: z.ZodOptional<z.ZodString>;
2133
+ uri: z.ZodOptional<z.ZodString>;
2134
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2135
+ }, "strip", z.ZodTypeAny, {
2136
+ url?: string | undefined;
2137
+ text?: string | undefined;
2138
+ uri?: string | undefined;
2139
+ accessibilityDescription?: string | undefined;
2140
+ }, {
2141
+ url?: string | undefined;
2142
+ text?: string | undefined;
2143
+ uri?: string | undefined;
2144
+ accessibilityDescription?: string | undefined;
2145
+ }>>;
2146
+ providesTitle: z.ZodOptional<z.ZodBoolean>;
2147
+ providesDescription: z.ZodOptional<z.ZodBoolean>;
2148
+ providesIcon: z.ZodOptional<z.ZodBoolean>;
2149
+ providesImage: z.ZodOptional<z.ZodBoolean>;
2150
+ defaultMedia: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2151
+ type: z.ZodLiteral<"avatar">;
2152
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2153
+ type: z.ZodLiteral<"text">;
2154
+ text: z.ZodString;
2155
+ badgeUri: z.ZodOptional<z.ZodString>;
2156
+ }, "strip", z.ZodTypeAny, {
2157
+ type: "text";
2158
+ text: string;
2159
+ badgeUri?: string | undefined;
2160
+ }, {
2161
+ type: "text";
2162
+ text: string;
2163
+ badgeUri?: string | undefined;
2164
+ }>, z.ZodObject<{
2165
+ type: z.ZodLiteral<"uri">;
2166
+ uri: z.ZodString;
2167
+ badgeUri: z.ZodOptional<z.ZodString>;
2168
+ }, "strip", z.ZodTypeAny, {
2169
+ type: "uri";
2170
+ uri: string;
2171
+ badgeUri?: string | undefined;
2172
+ }, {
2173
+ type: "uri";
2174
+ uri: string;
2175
+ badgeUri?: string | undefined;
2176
+ }>]>, "many">;
2177
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2178
+ }, "strip", z.ZodTypeAny, {
2179
+ type: "avatar";
2180
+ content: ({
2181
+ type: "text";
2182
+ text: string;
2183
+ badgeUri?: string | undefined;
2184
+ } | {
2185
+ type: "uri";
2186
+ uri: string;
2187
+ badgeUri?: string | undefined;
2188
+ })[];
2189
+ accessibilityDescription?: string | undefined;
1593
2190
  }, {
1594
- type: "text";
1595
- text: string;
1596
- badgeUri?: string | undefined;
2191
+ type: "avatar";
2192
+ content: ({
2193
+ type: "text";
2194
+ text: string;
2195
+ badgeUri?: string | undefined;
2196
+ } | {
2197
+ type: "uri";
2198
+ uri: string;
2199
+ badgeUri?: string | undefined;
2200
+ })[];
2201
+ accessibilityDescription?: string | undefined;
1597
2202
  }>, z.ZodObject<{
1598
- type: z.ZodLiteral<"uri">;
2203
+ type: z.ZodLiteral<"image">;
1599
2204
  uri: z.ZodString;
1600
- badgeUri: z.ZodOptional<z.ZodString>;
2205
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
1601
2206
  }, "strip", z.ZodTypeAny, {
1602
- type: "uri";
2207
+ type: "image";
1603
2208
  uri: string;
1604
- badgeUri?: string | undefined;
2209
+ accessibilityDescription?: string | undefined;
1605
2210
  }, {
1606
- type: "uri";
2211
+ type: "image";
1607
2212
  uri: string;
1608
- badgeUri?: string | undefined;
1609
- }>]>, "many">;
1610
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2213
+ accessibilityDescription?: string | undefined;
2214
+ }>]>>;
2215
+ providesMedia: z.ZodOptional<z.ZodBoolean>;
1611
2216
  }, "strip", z.ZodTypeAny, {
1612
- type: "avatar";
1613
- content: ({
1614
- type: "uri";
1615
- uri: string;
1616
- badgeUri?: string | undefined;
2217
+ providesTitle?: boolean | undefined;
2218
+ providesDescription?: boolean | undefined;
2219
+ providesIcon?: boolean | undefined;
2220
+ providesImage?: boolean | undefined;
2221
+ providesMedia?: boolean | undefined;
2222
+ defaultTitle?: string | undefined;
2223
+ defaultDescription?: string | undefined;
2224
+ defaultIcon?: {
2225
+ name: string;
1617
2226
  } | {
1618
- type: "text";
1619
2227
  text: string;
1620
- badgeUri?: string | undefined;
1621
- })[];
1622
- accessibilityDescription?: string | undefined;
1623
- }, {
1624
- type: "avatar";
1625
- content: ({
1626
- type: "uri";
2228
+ } | undefined;
2229
+ defaultImage?: {
2230
+ url?: string | undefined;
2231
+ text?: string | undefined;
2232
+ uri?: string | undefined;
2233
+ accessibilityDescription?: string | undefined;
2234
+ } | undefined;
2235
+ defaultMedia?: {
2236
+ type: "image";
1627
2237
  uri: string;
1628
- badgeUri?: string | undefined;
2238
+ accessibilityDescription?: string | undefined;
2239
+ } | {
2240
+ type: "avatar";
2241
+ content: ({
2242
+ type: "text";
2243
+ text: string;
2244
+ badgeUri?: string | undefined;
2245
+ } | {
2246
+ type: "uri";
2247
+ uri: string;
2248
+ badgeUri?: string | undefined;
2249
+ })[];
2250
+ accessibilityDescription?: string | undefined;
2251
+ } | undefined;
2252
+ }, {
2253
+ providesTitle?: boolean | undefined;
2254
+ providesDescription?: boolean | undefined;
2255
+ providesIcon?: boolean | undefined;
2256
+ providesImage?: boolean | undefined;
2257
+ providesMedia?: boolean | undefined;
2258
+ defaultTitle?: string | undefined;
2259
+ defaultDescription?: string | undefined;
2260
+ defaultIcon?: {
2261
+ name: string;
1629
2262
  } | {
1630
- type: "text";
1631
2263
  text: string;
1632
- badgeUri?: string | undefined;
1633
- })[];
1634
- accessibilityDescription?: string | undefined;
1635
- }>, z.ZodObject<{
1636
- type: z.ZodLiteral<"image">;
1637
- uri: z.ZodString;
1638
- accessibilityDescription: z.ZodOptional<z.ZodString>;
2264
+ } | undefined;
2265
+ defaultImage?: {
2266
+ url?: string | undefined;
2267
+ text?: string | undefined;
2268
+ uri?: string | undefined;
2269
+ accessibilityDescription?: string | undefined;
2270
+ } | undefined;
2271
+ defaultMedia?: {
2272
+ type: "image";
2273
+ uri: string;
2274
+ accessibilityDescription?: string | undefined;
2275
+ } | {
2276
+ type: "avatar";
2277
+ content: ({
2278
+ type: "text";
2279
+ text: string;
2280
+ badgeUri?: string | undefined;
2281
+ } | {
2282
+ type: "uri";
2283
+ uri: string;
2284
+ badgeUri?: string | undefined;
2285
+ })[];
2286
+ accessibilityDescription?: string | undefined;
2287
+ } | undefined;
2288
+ }>]>;
2289
+ export declare const suggestionsSchema: z.ZodObject<{
2290
+ values: z.ZodArray<z.ZodObject<{
2291
+ label: z.ZodString;
2292
+ value: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
2293
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2294
+ name: z.ZodString;
2295
+ }, "strip", z.ZodTypeAny, {
2296
+ name: string;
2297
+ }, {
2298
+ name: string;
2299
+ }>, z.ZodObject<{
2300
+ text: z.ZodString;
2301
+ }, "strip", z.ZodTypeAny, {
2302
+ text: string;
2303
+ }, {
2304
+ text: string;
2305
+ }>]>>;
2306
+ image: z.ZodOptional<z.ZodObject<{
2307
+ text: z.ZodOptional<z.ZodString>;
2308
+ url: z.ZodOptional<z.ZodString>;
2309
+ uri: z.ZodOptional<z.ZodString>;
2310
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2311
+ }, "strip", z.ZodTypeAny, {
2312
+ url?: string | undefined;
2313
+ text?: string | undefined;
2314
+ uri?: string | undefined;
2315
+ accessibilityDescription?: string | undefined;
2316
+ }, {
2317
+ url?: string | undefined;
2318
+ text?: string | undefined;
2319
+ uri?: string | undefined;
2320
+ accessibilityDescription?: string | undefined;
2321
+ }>>;
2322
+ tag: z.ZodOptional<z.ZodString>;
2323
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2324
+ type: z.ZodLiteral<"avatar">;
2325
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2326
+ type: z.ZodLiteral<"text">;
2327
+ text: z.ZodString;
2328
+ badgeUri: z.ZodOptional<z.ZodString>;
2329
+ }, "strip", z.ZodTypeAny, {
2330
+ type: "text";
2331
+ text: string;
2332
+ badgeUri?: string | undefined;
2333
+ }, {
2334
+ type: "text";
2335
+ text: string;
2336
+ badgeUri?: string | undefined;
2337
+ }>, z.ZodObject<{
2338
+ type: z.ZodLiteral<"uri">;
2339
+ uri: z.ZodString;
2340
+ badgeUri: z.ZodOptional<z.ZodString>;
2341
+ }, "strip", z.ZodTypeAny, {
2342
+ type: "uri";
2343
+ uri: string;
2344
+ badgeUri?: string | undefined;
2345
+ }, {
2346
+ type: "uri";
2347
+ uri: string;
2348
+ badgeUri?: string | undefined;
2349
+ }>]>, "many">;
2350
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ type: "avatar";
2353
+ content: ({
2354
+ type: "text";
2355
+ text: string;
2356
+ badgeUri?: string | undefined;
2357
+ } | {
2358
+ type: "uri";
2359
+ uri: string;
2360
+ badgeUri?: string | undefined;
2361
+ })[];
2362
+ accessibilityDescription?: string | undefined;
2363
+ }, {
2364
+ type: "avatar";
2365
+ content: ({
2366
+ type: "text";
2367
+ text: string;
2368
+ badgeUri?: string | undefined;
2369
+ } | {
2370
+ type: "uri";
2371
+ uri: string;
2372
+ badgeUri?: string | undefined;
2373
+ })[];
2374
+ accessibilityDescription?: string | undefined;
2375
+ }>, z.ZodObject<{
2376
+ type: z.ZodLiteral<"image">;
2377
+ uri: z.ZodString;
2378
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2379
+ }, "strip", z.ZodTypeAny, {
2380
+ type: "image";
2381
+ uri: string;
2382
+ accessibilityDescription?: string | undefined;
2383
+ }, {
2384
+ type: "image";
2385
+ uri: string;
2386
+ accessibilityDescription?: string | undefined;
2387
+ }>]>>;
2388
+ analyticsId: z.ZodOptional<z.ZodString>;
2389
+ }, "strip", z.ZodTypeAny, {
2390
+ value: JsonElement;
2391
+ label: string;
2392
+ image?: {
2393
+ url?: string | undefined;
2394
+ text?: string | undefined;
2395
+ uri?: string | undefined;
2396
+ accessibilityDescription?: string | undefined;
2397
+ } | undefined;
2398
+ analyticsId?: string | undefined;
2399
+ icon?: {
2400
+ name: string;
2401
+ } | {
2402
+ text: string;
2403
+ } | undefined;
2404
+ tag?: string | undefined;
2405
+ media?: {
2406
+ type: "image";
2407
+ uri: string;
2408
+ accessibilityDescription?: string | undefined;
2409
+ } | {
2410
+ type: "avatar";
2411
+ content: ({
2412
+ type: "text";
2413
+ text: string;
2414
+ badgeUri?: string | undefined;
2415
+ } | {
2416
+ type: "uri";
2417
+ uri: string;
2418
+ badgeUri?: string | undefined;
2419
+ })[];
2420
+ accessibilityDescription?: string | undefined;
2421
+ } | undefined;
2422
+ }, {
2423
+ value: JsonElement;
2424
+ label: string;
2425
+ image?: {
2426
+ url?: string | undefined;
2427
+ text?: string | undefined;
2428
+ uri?: string | undefined;
2429
+ accessibilityDescription?: string | undefined;
2430
+ } | undefined;
2431
+ analyticsId?: string | undefined;
2432
+ icon?: {
2433
+ name: string;
2434
+ } | {
2435
+ text: string;
2436
+ } | undefined;
2437
+ tag?: string | undefined;
2438
+ media?: {
2439
+ type: "image";
2440
+ uri: string;
2441
+ accessibilityDescription?: string | undefined;
2442
+ } | {
2443
+ type: "avatar";
2444
+ content: ({
2445
+ type: "text";
2446
+ text: string;
2447
+ badgeUri?: string | undefined;
2448
+ } | {
2449
+ type: "uri";
2450
+ uri: string;
2451
+ badgeUri?: string | undefined;
2452
+ })[];
2453
+ accessibilityDescription?: string | undefined;
2454
+ } | undefined;
2455
+ }>, "many">;
1639
2456
  }, "strip", z.ZodTypeAny, {
1640
- type: "image";
1641
- uri: string;
1642
- accessibilityDescription?: string | undefined;
2457
+ values: {
2458
+ value: JsonElement;
2459
+ label: string;
2460
+ image?: {
2461
+ url?: string | undefined;
2462
+ text?: string | undefined;
2463
+ uri?: string | undefined;
2464
+ accessibilityDescription?: string | undefined;
2465
+ } | undefined;
2466
+ analyticsId?: string | undefined;
2467
+ icon?: {
2468
+ name: string;
2469
+ } | {
2470
+ text: string;
2471
+ } | undefined;
2472
+ tag?: string | undefined;
2473
+ media?: {
2474
+ type: "image";
2475
+ uri: string;
2476
+ accessibilityDescription?: string | undefined;
2477
+ } | {
2478
+ type: "avatar";
2479
+ content: ({
2480
+ type: "text";
2481
+ text: string;
2482
+ badgeUri?: string | undefined;
2483
+ } | {
2484
+ type: "uri";
2485
+ uri: string;
2486
+ badgeUri?: string | undefined;
2487
+ })[];
2488
+ accessibilityDescription?: string | undefined;
2489
+ } | undefined;
2490
+ }[];
1643
2491
  }, {
1644
- type: "image";
1645
- uri: string;
1646
- accessibilityDescription?: string | undefined;
1647
- }>]>;
2492
+ values: {
2493
+ value: JsonElement;
2494
+ label: string;
2495
+ image?: {
2496
+ url?: string | undefined;
2497
+ text?: string | undefined;
2498
+ uri?: string | undefined;
2499
+ accessibilityDescription?: string | undefined;
2500
+ } | undefined;
2501
+ analyticsId?: string | undefined;
2502
+ icon?: {
2503
+ name: string;
2504
+ } | {
2505
+ text: string;
2506
+ } | undefined;
2507
+ tag?: string | undefined;
2508
+ media?: {
2509
+ type: "image";
2510
+ uri: string;
2511
+ accessibilityDescription?: string | undefined;
2512
+ } | {
2513
+ type: "avatar";
2514
+ content: ({
2515
+ type: "text";
2516
+ text: string;
2517
+ badgeUri?: string | undefined;
2518
+ } | {
2519
+ type: "uri";
2520
+ uri: string;
2521
+ badgeUri?: string | undefined;
2522
+ })[];
2523
+ accessibilityDescription?: string | undefined;
2524
+ } | undefined;
2525
+ }[];
2526
+ }>;
1648
2527
  export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1649
2528
  type: z.ZodLiteral<"action">;
1650
2529
  title: z.ZodString;
@@ -1700,8 +2579,8 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1700
2579
  title?: string | undefined;
1701
2580
  timeout?: number | undefined;
1702
2581
  id?: string | undefined;
1703
- $ref?: string | undefined;
1704
2582
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2583
+ $ref?: string | undefined;
1705
2584
  exit?: boolean | undefined;
1706
2585
  result?: JsonElement | undefined;
1707
2586
  data?: JsonElement | undefined;
@@ -1714,13 +2593,78 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1714
2593
  title?: string | undefined;
1715
2594
  timeout?: number | undefined;
1716
2595
  id?: string | undefined;
1717
- $ref?: string | undefined;
1718
2596
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2597
+ $ref?: string | undefined;
1719
2598
  exit?: boolean | undefined;
1720
2599
  result?: JsonElement | undefined;
1721
2600
  data?: JsonElement | undefined;
1722
2601
  skipValidation?: boolean | undefined;
1723
2602
  }>;
2603
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2604
+ type: z.ZodLiteral<"avatar">;
2605
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2606
+ type: z.ZodLiteral<"text">;
2607
+ text: z.ZodString;
2608
+ badgeUri: z.ZodOptional<z.ZodString>;
2609
+ }, "strip", z.ZodTypeAny, {
2610
+ type: "text";
2611
+ text: string;
2612
+ badgeUri?: string | undefined;
2613
+ }, {
2614
+ type: "text";
2615
+ text: string;
2616
+ badgeUri?: string | undefined;
2617
+ }>, z.ZodObject<{
2618
+ type: z.ZodLiteral<"uri">;
2619
+ uri: z.ZodString;
2620
+ badgeUri: z.ZodOptional<z.ZodString>;
2621
+ }, "strip", z.ZodTypeAny, {
2622
+ type: "uri";
2623
+ uri: string;
2624
+ badgeUri?: string | undefined;
2625
+ }, {
2626
+ type: "uri";
2627
+ uri: string;
2628
+ badgeUri?: string | undefined;
2629
+ }>]>, "many">;
2630
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2631
+ }, "strip", z.ZodTypeAny, {
2632
+ type: "avatar";
2633
+ content: ({
2634
+ type: "text";
2635
+ text: string;
2636
+ badgeUri?: string | undefined;
2637
+ } | {
2638
+ type: "uri";
2639
+ uri: string;
2640
+ badgeUri?: string | undefined;
2641
+ })[];
2642
+ accessibilityDescription?: string | undefined;
2643
+ }, {
2644
+ type: "avatar";
2645
+ content: ({
2646
+ type: "text";
2647
+ text: string;
2648
+ badgeUri?: string | undefined;
2649
+ } | {
2650
+ type: "uri";
2651
+ uri: string;
2652
+ badgeUri?: string | undefined;
2653
+ })[];
2654
+ accessibilityDescription?: string | undefined;
2655
+ }>, z.ZodObject<{
2656
+ type: z.ZodLiteral<"image">;
2657
+ uri: z.ZodString;
2658
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2659
+ }, "strip", z.ZodTypeAny, {
2660
+ type: "image";
2661
+ uri: string;
2662
+ accessibilityDescription?: string | undefined;
2663
+ }, {
2664
+ type: "image";
2665
+ uri: string;
2666
+ accessibilityDescription?: string | undefined;
2667
+ }>]>>;
1724
2668
  }, "strip", z.ZodTypeAny, {
1725
2669
  type: "action";
1726
2670
  title: string;
@@ -1732,8 +2676,8 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1732
2676
  title?: string | undefined;
1733
2677
  timeout?: number | undefined;
1734
2678
  id?: string | undefined;
1735
- $ref?: string | undefined;
1736
2679
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2680
+ $ref?: string | undefined;
1737
2681
  exit?: boolean | undefined;
1738
2682
  result?: JsonElement | undefined;
1739
2683
  data?: JsonElement | undefined;
@@ -1751,6 +2695,23 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1751
2695
  } | {
1752
2696
  text: string;
1753
2697
  } | undefined;
2698
+ media?: {
2699
+ type: "image";
2700
+ uri: string;
2701
+ accessibilityDescription?: string | undefined;
2702
+ } | {
2703
+ type: "avatar";
2704
+ content: ({
2705
+ type: "text";
2706
+ text: string;
2707
+ badgeUri?: string | undefined;
2708
+ } | {
2709
+ type: "uri";
2710
+ uri: string;
2711
+ badgeUri?: string | undefined;
2712
+ })[];
2713
+ accessibilityDescription?: string | undefined;
2714
+ } | undefined;
1754
2715
  }, {
1755
2716
  type: "action";
1756
2717
  title: string;
@@ -1762,8 +2723,8 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1762
2723
  title?: string | undefined;
1763
2724
  timeout?: number | undefined;
1764
2725
  id?: string | undefined;
1765
- $ref?: string | undefined;
1766
2726
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2727
+ $ref?: string | undefined;
1767
2728
  exit?: boolean | undefined;
1768
2729
  result?: JsonElement | undefined;
1769
2730
  data?: JsonElement | undefined;
@@ -1781,6 +2742,23 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1781
2742
  } | {
1782
2743
  text: string;
1783
2744
  } | undefined;
2745
+ media?: {
2746
+ type: "image";
2747
+ uri: string;
2748
+ accessibilityDescription?: string | undefined;
2749
+ } | {
2750
+ type: "avatar";
2751
+ content: ({
2752
+ type: "text";
2753
+ text: string;
2754
+ badgeUri?: string | undefined;
2755
+ } | {
2756
+ type: "uri";
2757
+ uri: string;
2758
+ badgeUri?: string | undefined;
2759
+ })[];
2760
+ accessibilityDescription?: string | undefined;
2761
+ } | undefined;
1784
2762
  }>, z.ZodObject<{
1785
2763
  type: z.ZodLiteral<"search">;
1786
2764
  title: z.ZodString;
@@ -1830,288 +2808,148 @@ export declare const searchResultSchema: z.ZodUnion<[z.ZodObject<{
1830
2808
  param: string;
1831
2809
  query: string;
1832
2810
  }>;
1833
- }, "strip", z.ZodTypeAny, {
1834
- type: "search";
1835
- title: string;
1836
- value: {
1837
- url: string;
1838
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1839
- param: string;
1840
- query: string;
1841
- };
1842
- image?: {
1843
- url?: string | undefined;
1844
- text?: string | undefined;
1845
- uri?: string | undefined;
1846
- accessibilityDescription?: string | undefined;
1847
- } | undefined;
1848
- description?: string | undefined;
1849
- icon?: {
1850
- name: string;
1851
- } | {
1852
- text: string;
1853
- } | undefined;
1854
- }, {
1855
- type: "search";
1856
- title: string;
1857
- value: {
1858
- url: string;
1859
- method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
1860
- param: string;
1861
- query: string;
1862
- };
1863
- image?: {
1864
- url?: string | undefined;
1865
- text?: string | undefined;
1866
- uri?: string | undefined;
1867
- accessibilityDescription?: string | undefined;
1868
- } | undefined;
1869
- description?: string | undefined;
1870
- icon?: {
1871
- name: string;
1872
- } | {
1873
- text: string;
1874
- } | undefined;
1875
- }>]>;
1876
- export declare const navigationSchema: z.ZodObject<{
1877
- backButton: z.ZodOptional<z.ZodObject<{
1878
- title: z.ZodOptional<z.ZodString>;
1879
- action: z.ZodObject<{
1880
- title: z.ZodOptional<z.ZodString>;
1881
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1882
- disabled: z.ZodOptional<z.ZodBoolean>;
1883
- $id: z.ZodOptional<z.ZodString>;
1884
- $ref: z.ZodOptional<z.ZodString>;
1885
- id: z.ZodOptional<z.ZodString>;
1886
- url: z.ZodOptional<z.ZodString>;
1887
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1888
- exit: z.ZodOptional<z.ZodBoolean>;
1889
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1890
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1891
- timeout: z.ZodOptional<z.ZodNumber>;
1892
- skipValidation: z.ZodOptional<z.ZodBoolean>;
2811
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
2812
+ type: z.ZodLiteral<"avatar">;
2813
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2814
+ type: z.ZodLiteral<"text">;
2815
+ text: z.ZodString;
2816
+ badgeUri: z.ZodOptional<z.ZodString>;
1893
2817
  }, "strip", z.ZodTypeAny, {
1894
- url?: string | undefined;
1895
- $id?: string | undefined;
1896
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1897
- disabled?: boolean | undefined;
1898
- title?: string | undefined;
1899
- timeout?: number | undefined;
1900
- id?: string | undefined;
1901
- $ref?: string | undefined;
1902
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1903
- exit?: boolean | undefined;
1904
- result?: JsonElement | undefined;
1905
- data?: JsonElement | undefined;
1906
- skipValidation?: boolean | undefined;
2818
+ type: "text";
2819
+ text: string;
2820
+ badgeUri?: string | undefined;
1907
2821
  }, {
1908
- url?: string | undefined;
1909
- $id?: string | undefined;
1910
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1911
- disabled?: boolean | undefined;
1912
- title?: string | undefined;
1913
- timeout?: number | undefined;
1914
- id?: string | undefined;
1915
- $ref?: string | undefined;
1916
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1917
- exit?: boolean | undefined;
1918
- result?: JsonElement | undefined;
1919
- data?: JsonElement | undefined;
1920
- skipValidation?: boolean | undefined;
1921
- }>;
1922
- }, "strip", z.ZodTypeAny, {
1923
- action: {
1924
- url?: string | undefined;
1925
- $id?: string | undefined;
1926
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1927
- disabled?: boolean | undefined;
1928
- title?: string | undefined;
1929
- timeout?: number | undefined;
1930
- id?: string | undefined;
1931
- $ref?: string | undefined;
1932
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1933
- exit?: boolean | undefined;
1934
- result?: JsonElement | undefined;
1935
- data?: JsonElement | undefined;
1936
- skipValidation?: boolean | undefined;
1937
- };
1938
- title?: string | undefined;
1939
- }, {
1940
- action: {
1941
- url?: string | undefined;
1942
- $id?: string | undefined;
1943
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1944
- disabled?: boolean | undefined;
1945
- title?: string | undefined;
1946
- timeout?: number | undefined;
1947
- id?: string | undefined;
1948
- $ref?: string | undefined;
1949
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1950
- exit?: boolean | undefined;
1951
- result?: JsonElement | undefined;
1952
- data?: JsonElement | undefined;
1953
- skipValidation?: boolean | undefined;
1954
- };
1955
- title?: string | undefined;
1956
- }>>;
1957
- back: z.ZodOptional<z.ZodObject<{
1958
- title: z.ZodOptional<z.ZodString>;
1959
- action: z.ZodObject<{
1960
- title: z.ZodOptional<z.ZodString>;
1961
- type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"primary">, z.ZodLiteral<"secondary">, z.ZodLiteral<"link">, z.ZodLiteral<"positive">, z.ZodLiteral<"negative">]>>;
1962
- disabled: z.ZodOptional<z.ZodBoolean>;
1963
- $id: z.ZodOptional<z.ZodString>;
1964
- $ref: z.ZodOptional<z.ZodString>;
1965
- id: z.ZodOptional<z.ZodString>;
1966
- url: z.ZodOptional<z.ZodString>;
1967
- method: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"GET">, z.ZodLiteral<"POST">, z.ZodLiteral<"PUT">, z.ZodLiteral<"PATCH">, z.ZodLiteral<"DELETE">]>>;
1968
- exit: z.ZodOptional<z.ZodBoolean>;
1969
- result: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1970
- data: z.ZodOptional<z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>>;
1971
- timeout: z.ZodOptional<z.ZodNumber>;
1972
- skipValidation: z.ZodOptional<z.ZodBoolean>;
2822
+ type: "text";
2823
+ text: string;
2824
+ badgeUri?: string | undefined;
2825
+ }>, z.ZodObject<{
2826
+ type: z.ZodLiteral<"uri">;
2827
+ uri: z.ZodString;
2828
+ badgeUri: z.ZodOptional<z.ZodString>;
1973
2829
  }, "strip", z.ZodTypeAny, {
1974
- url?: string | undefined;
1975
- $id?: string | undefined;
1976
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1977
- disabled?: boolean | undefined;
1978
- title?: string | undefined;
1979
- timeout?: number | undefined;
1980
- id?: string | undefined;
1981
- $ref?: string | undefined;
1982
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1983
- exit?: boolean | undefined;
1984
- result?: JsonElement | undefined;
1985
- data?: JsonElement | undefined;
1986
- skipValidation?: boolean | undefined;
2830
+ type: "uri";
2831
+ uri: string;
2832
+ badgeUri?: string | undefined;
1987
2833
  }, {
1988
- url?: string | undefined;
1989
- $id?: string | undefined;
1990
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
1991
- disabled?: boolean | undefined;
1992
- title?: string | undefined;
1993
- timeout?: number | undefined;
1994
- id?: string | undefined;
1995
- $ref?: string | undefined;
1996
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
1997
- exit?: boolean | undefined;
1998
- result?: JsonElement | undefined;
1999
- data?: JsonElement | undefined;
2000
- skipValidation?: boolean | undefined;
2001
- }>;
2834
+ type: "uri";
2835
+ uri: string;
2836
+ badgeUri?: string | undefined;
2837
+ }>]>, "many">;
2838
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2002
2839
  }, "strip", z.ZodTypeAny, {
2003
- action: {
2004
- url?: string | undefined;
2005
- $id?: string | undefined;
2006
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2007
- disabled?: boolean | undefined;
2008
- title?: string | undefined;
2009
- timeout?: number | undefined;
2010
- id?: string | undefined;
2011
- $ref?: string | undefined;
2012
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2013
- exit?: boolean | undefined;
2014
- result?: JsonElement | undefined;
2015
- data?: JsonElement | undefined;
2016
- skipValidation?: boolean | undefined;
2017
- };
2018
- title?: string | undefined;
2840
+ type: "avatar";
2841
+ content: ({
2842
+ type: "text";
2843
+ text: string;
2844
+ badgeUri?: string | undefined;
2845
+ } | {
2846
+ type: "uri";
2847
+ uri: string;
2848
+ badgeUri?: string | undefined;
2849
+ })[];
2850
+ accessibilityDescription?: string | undefined;
2019
2851
  }, {
2020
- action: {
2021
- url?: string | undefined;
2022
- $id?: string | undefined;
2023
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2024
- disabled?: boolean | undefined;
2025
- title?: string | undefined;
2026
- timeout?: number | undefined;
2027
- id?: string | undefined;
2028
- $ref?: string | undefined;
2029
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2030
- exit?: boolean | undefined;
2031
- result?: JsonElement | undefined;
2032
- data?: JsonElement | undefined;
2033
- skipValidation?: boolean | undefined;
2034
- };
2035
- title?: string | undefined;
2036
- }>>;
2037
- stackBehavior: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"default">, z.ZodLiteral<"remove-previous">, z.ZodLiteral<"remove-all">, z.ZodLiteral<"replace-current">]>>;
2038
- }, "strip", z.ZodTypeAny, {
2039
- back?: {
2040
- action: {
2041
- url?: string | undefined;
2042
- $id?: string | undefined;
2043
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2044
- disabled?: boolean | undefined;
2045
- title?: string | undefined;
2046
- timeout?: number | undefined;
2047
- id?: string | undefined;
2048
- $ref?: string | undefined;
2049
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2050
- exit?: boolean | undefined;
2051
- result?: JsonElement | undefined;
2052
- data?: JsonElement | undefined;
2053
- skipValidation?: boolean | undefined;
2054
- };
2055
- title?: string | undefined;
2852
+ type: "avatar";
2853
+ content: ({
2854
+ type: "text";
2855
+ text: string;
2856
+ badgeUri?: string | undefined;
2857
+ } | {
2858
+ type: "uri";
2859
+ uri: string;
2860
+ badgeUri?: string | undefined;
2861
+ })[];
2862
+ accessibilityDescription?: string | undefined;
2863
+ }>, z.ZodObject<{
2864
+ type: z.ZodLiteral<"image">;
2865
+ uri: z.ZodString;
2866
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
2867
+ }, "strip", z.ZodTypeAny, {
2868
+ type: "image";
2869
+ uri: string;
2870
+ accessibilityDescription?: string | undefined;
2871
+ }, {
2872
+ type: "image";
2873
+ uri: string;
2874
+ accessibilityDescription?: string | undefined;
2875
+ }>]>>;
2876
+ }, "strip", z.ZodTypeAny, {
2877
+ type: "search";
2878
+ title: string;
2879
+ value: {
2880
+ url: string;
2881
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2882
+ param: string;
2883
+ query: string;
2884
+ };
2885
+ image?: {
2886
+ url?: string | undefined;
2887
+ text?: string | undefined;
2888
+ uri?: string | undefined;
2889
+ accessibilityDescription?: string | undefined;
2056
2890
  } | undefined;
2057
- backButton?: {
2058
- action: {
2059
- url?: string | undefined;
2060
- $id?: string | undefined;
2061
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2062
- disabled?: boolean | undefined;
2063
- title?: string | undefined;
2064
- timeout?: number | undefined;
2065
- id?: string | undefined;
2066
- $ref?: string | undefined;
2067
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2068
- exit?: boolean | undefined;
2069
- result?: JsonElement | undefined;
2070
- data?: JsonElement | undefined;
2071
- skipValidation?: boolean | undefined;
2072
- };
2073
- title?: string | undefined;
2891
+ description?: string | undefined;
2892
+ icon?: {
2893
+ name: string;
2894
+ } | {
2895
+ text: string;
2896
+ } | undefined;
2897
+ media?: {
2898
+ type: "image";
2899
+ uri: string;
2900
+ accessibilityDescription?: string | undefined;
2901
+ } | {
2902
+ type: "avatar";
2903
+ content: ({
2904
+ type: "text";
2905
+ text: string;
2906
+ badgeUri?: string | undefined;
2907
+ } | {
2908
+ type: "uri";
2909
+ uri: string;
2910
+ badgeUri?: string | undefined;
2911
+ })[];
2912
+ accessibilityDescription?: string | undefined;
2074
2913
  } | undefined;
2075
- stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
2076
2914
  }, {
2077
- back?: {
2078
- action: {
2079
- url?: string | undefined;
2080
- $id?: string | undefined;
2081
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2082
- disabled?: boolean | undefined;
2083
- title?: string | undefined;
2084
- timeout?: number | undefined;
2085
- id?: string | undefined;
2086
- $ref?: string | undefined;
2087
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2088
- exit?: boolean | undefined;
2089
- result?: JsonElement | undefined;
2090
- data?: JsonElement | undefined;
2091
- skipValidation?: boolean | undefined;
2092
- };
2093
- title?: string | undefined;
2915
+ type: "search";
2916
+ title: string;
2917
+ value: {
2918
+ url: string;
2919
+ method: "POST" | "GET" | "PUT" | "PATCH" | "DELETE";
2920
+ param: string;
2921
+ query: string;
2922
+ };
2923
+ image?: {
2924
+ url?: string | undefined;
2925
+ text?: string | undefined;
2926
+ uri?: string | undefined;
2927
+ accessibilityDescription?: string | undefined;
2094
2928
  } | undefined;
2095
- backButton?: {
2096
- action: {
2097
- url?: string | undefined;
2098
- $id?: string | undefined;
2099
- type?: "positive" | "negative" | "primary" | "link" | "secondary" | undefined;
2100
- disabled?: boolean | undefined;
2101
- title?: string | undefined;
2102
- timeout?: number | undefined;
2103
- id?: string | undefined;
2104
- $ref?: string | undefined;
2105
- method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
2106
- exit?: boolean | undefined;
2107
- result?: JsonElement | undefined;
2108
- data?: JsonElement | undefined;
2109
- skipValidation?: boolean | undefined;
2110
- };
2111
- title?: string | undefined;
2929
+ description?: string | undefined;
2930
+ icon?: {
2931
+ name: string;
2932
+ } | {
2933
+ text: string;
2112
2934
  } | undefined;
2113
- stackBehavior?: "default" | "remove-previous" | "remove-all" | "replace-current" | undefined;
2114
- }>;
2935
+ media?: {
2936
+ type: "image";
2937
+ uri: string;
2938
+ accessibilityDescription?: string | undefined;
2939
+ } | {
2940
+ type: "avatar";
2941
+ content: ({
2942
+ type: "text";
2943
+ text: string;
2944
+ badgeUri?: string | undefined;
2945
+ } | {
2946
+ type: "uri";
2947
+ uri: string;
2948
+ badgeUri?: string | undefined;
2949
+ })[];
2950
+ accessibilityDescription?: string | undefined;
2951
+ } | undefined;
2952
+ }>]>;
2115
2953
  export declare const searchResponseBodySchema: z.ZodObject<{
2116
2954
  results: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2117
2955
  type: z.ZodLiteral<"action">;
@@ -2168,8 +3006,8 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2168
3006
  title?: string | undefined;
2169
3007
  timeout?: number | undefined;
2170
3008
  id?: string | undefined;
2171
- $ref?: string | undefined;
2172
3009
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3010
+ $ref?: string | undefined;
2173
3011
  exit?: boolean | undefined;
2174
3012
  result?: JsonElement | undefined;
2175
3013
  data?: JsonElement | undefined;
@@ -2182,13 +3020,78 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2182
3020
  title?: string | undefined;
2183
3021
  timeout?: number | undefined;
2184
3022
  id?: string | undefined;
2185
- $ref?: string | undefined;
2186
3023
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3024
+ $ref?: string | undefined;
2187
3025
  exit?: boolean | undefined;
2188
3026
  result?: JsonElement | undefined;
2189
3027
  data?: JsonElement | undefined;
2190
3028
  skipValidation?: boolean | undefined;
2191
3029
  }>;
3030
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3031
+ type: z.ZodLiteral<"avatar">;
3032
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3033
+ type: z.ZodLiteral<"text">;
3034
+ text: z.ZodString;
3035
+ badgeUri: z.ZodOptional<z.ZodString>;
3036
+ }, "strip", z.ZodTypeAny, {
3037
+ type: "text";
3038
+ text: string;
3039
+ badgeUri?: string | undefined;
3040
+ }, {
3041
+ type: "text";
3042
+ text: string;
3043
+ badgeUri?: string | undefined;
3044
+ }>, z.ZodObject<{
3045
+ type: z.ZodLiteral<"uri">;
3046
+ uri: z.ZodString;
3047
+ badgeUri: z.ZodOptional<z.ZodString>;
3048
+ }, "strip", z.ZodTypeAny, {
3049
+ type: "uri";
3050
+ uri: string;
3051
+ badgeUri?: string | undefined;
3052
+ }, {
3053
+ type: "uri";
3054
+ uri: string;
3055
+ badgeUri?: string | undefined;
3056
+ }>]>, "many">;
3057
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3058
+ }, "strip", z.ZodTypeAny, {
3059
+ type: "avatar";
3060
+ content: ({
3061
+ type: "text";
3062
+ text: string;
3063
+ badgeUri?: string | undefined;
3064
+ } | {
3065
+ type: "uri";
3066
+ uri: string;
3067
+ badgeUri?: string | undefined;
3068
+ })[];
3069
+ accessibilityDescription?: string | undefined;
3070
+ }, {
3071
+ type: "avatar";
3072
+ content: ({
3073
+ type: "text";
3074
+ text: string;
3075
+ badgeUri?: string | undefined;
3076
+ } | {
3077
+ type: "uri";
3078
+ uri: string;
3079
+ badgeUri?: string | undefined;
3080
+ })[];
3081
+ accessibilityDescription?: string | undefined;
3082
+ }>, z.ZodObject<{
3083
+ type: z.ZodLiteral<"image">;
3084
+ uri: z.ZodString;
3085
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3086
+ }, "strip", z.ZodTypeAny, {
3087
+ type: "image";
3088
+ uri: string;
3089
+ accessibilityDescription?: string | undefined;
3090
+ }, {
3091
+ type: "image";
3092
+ uri: string;
3093
+ accessibilityDescription?: string | undefined;
3094
+ }>]>>;
2192
3095
  }, "strip", z.ZodTypeAny, {
2193
3096
  type: "action";
2194
3097
  title: string;
@@ -2200,8 +3103,8 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2200
3103
  title?: string | undefined;
2201
3104
  timeout?: number | undefined;
2202
3105
  id?: string | undefined;
2203
- $ref?: string | undefined;
2204
3106
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3107
+ $ref?: string | undefined;
2205
3108
  exit?: boolean | undefined;
2206
3109
  result?: JsonElement | undefined;
2207
3110
  data?: JsonElement | undefined;
@@ -2219,6 +3122,23 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2219
3122
  } | {
2220
3123
  text: string;
2221
3124
  } | undefined;
3125
+ media?: {
3126
+ type: "image";
3127
+ uri: string;
3128
+ accessibilityDescription?: string | undefined;
3129
+ } | {
3130
+ type: "avatar";
3131
+ content: ({
3132
+ type: "text";
3133
+ text: string;
3134
+ badgeUri?: string | undefined;
3135
+ } | {
3136
+ type: "uri";
3137
+ uri: string;
3138
+ badgeUri?: string | undefined;
3139
+ })[];
3140
+ accessibilityDescription?: string | undefined;
3141
+ } | undefined;
2222
3142
  }, {
2223
3143
  type: "action";
2224
3144
  title: string;
@@ -2230,8 +3150,8 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2230
3150
  title?: string | undefined;
2231
3151
  timeout?: number | undefined;
2232
3152
  id?: string | undefined;
2233
- $ref?: string | undefined;
2234
3153
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3154
+ $ref?: string | undefined;
2235
3155
  exit?: boolean | undefined;
2236
3156
  result?: JsonElement | undefined;
2237
3157
  data?: JsonElement | undefined;
@@ -2249,6 +3169,23 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2249
3169
  } | {
2250
3170
  text: string;
2251
3171
  } | undefined;
3172
+ media?: {
3173
+ type: "image";
3174
+ uri: string;
3175
+ accessibilityDescription?: string | undefined;
3176
+ } | {
3177
+ type: "avatar";
3178
+ content: ({
3179
+ type: "text";
3180
+ text: string;
3181
+ badgeUri?: string | undefined;
3182
+ } | {
3183
+ type: "uri";
3184
+ uri: string;
3185
+ badgeUri?: string | undefined;
3186
+ })[];
3187
+ accessibilityDescription?: string | undefined;
3188
+ } | undefined;
2252
3189
  }>, z.ZodObject<{
2253
3190
  type: z.ZodLiteral<"search">;
2254
3191
  title: z.ZodString;
@@ -2298,6 +3235,71 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2298
3235
  param: string;
2299
3236
  query: string;
2300
3237
  }>;
3238
+ media: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
3239
+ type: z.ZodLiteral<"avatar">;
3240
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3241
+ type: z.ZodLiteral<"text">;
3242
+ text: z.ZodString;
3243
+ badgeUri: z.ZodOptional<z.ZodString>;
3244
+ }, "strip", z.ZodTypeAny, {
3245
+ type: "text";
3246
+ text: string;
3247
+ badgeUri?: string | undefined;
3248
+ }, {
3249
+ type: "text";
3250
+ text: string;
3251
+ badgeUri?: string | undefined;
3252
+ }>, z.ZodObject<{
3253
+ type: z.ZodLiteral<"uri">;
3254
+ uri: z.ZodString;
3255
+ badgeUri: z.ZodOptional<z.ZodString>;
3256
+ }, "strip", z.ZodTypeAny, {
3257
+ type: "uri";
3258
+ uri: string;
3259
+ badgeUri?: string | undefined;
3260
+ }, {
3261
+ type: "uri";
3262
+ uri: string;
3263
+ badgeUri?: string | undefined;
3264
+ }>]>, "many">;
3265
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3266
+ }, "strip", z.ZodTypeAny, {
3267
+ type: "avatar";
3268
+ content: ({
3269
+ type: "text";
3270
+ text: string;
3271
+ badgeUri?: string | undefined;
3272
+ } | {
3273
+ type: "uri";
3274
+ uri: string;
3275
+ badgeUri?: string | undefined;
3276
+ })[];
3277
+ accessibilityDescription?: string | undefined;
3278
+ }, {
3279
+ type: "avatar";
3280
+ content: ({
3281
+ type: "text";
3282
+ text: string;
3283
+ badgeUri?: string | undefined;
3284
+ } | {
3285
+ type: "uri";
3286
+ uri: string;
3287
+ badgeUri?: string | undefined;
3288
+ })[];
3289
+ accessibilityDescription?: string | undefined;
3290
+ }>, z.ZodObject<{
3291
+ type: z.ZodLiteral<"image">;
3292
+ uri: z.ZodString;
3293
+ accessibilityDescription: z.ZodOptional<z.ZodString>;
3294
+ }, "strip", z.ZodTypeAny, {
3295
+ type: "image";
3296
+ uri: string;
3297
+ accessibilityDescription?: string | undefined;
3298
+ }, {
3299
+ type: "image";
3300
+ uri: string;
3301
+ accessibilityDescription?: string | undefined;
3302
+ }>]>>;
2301
3303
  }, "strip", z.ZodTypeAny, {
2302
3304
  type: "search";
2303
3305
  title: string;
@@ -2319,6 +3321,23 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2319
3321
  } | {
2320
3322
  text: string;
2321
3323
  } | undefined;
3324
+ media?: {
3325
+ type: "image";
3326
+ uri: string;
3327
+ accessibilityDescription?: string | undefined;
3328
+ } | {
3329
+ type: "avatar";
3330
+ content: ({
3331
+ type: "text";
3332
+ text: string;
3333
+ badgeUri?: string | undefined;
3334
+ } | {
3335
+ type: "uri";
3336
+ uri: string;
3337
+ badgeUri?: string | undefined;
3338
+ })[];
3339
+ accessibilityDescription?: string | undefined;
3340
+ } | undefined;
2322
3341
  }, {
2323
3342
  type: "search";
2324
3343
  title: string;
@@ -2340,6 +3359,23 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2340
3359
  } | {
2341
3360
  text: string;
2342
3361
  } | undefined;
3362
+ media?: {
3363
+ type: "image";
3364
+ uri: string;
3365
+ accessibilityDescription?: string | undefined;
3366
+ } | {
3367
+ type: "avatar";
3368
+ content: ({
3369
+ type: "text";
3370
+ text: string;
3371
+ badgeUri?: string | undefined;
3372
+ } | {
3373
+ type: "uri";
3374
+ uri: string;
3375
+ badgeUri?: string | undefined;
3376
+ })[];
3377
+ accessibilityDescription?: string | undefined;
3378
+ } | undefined;
2343
3379
  }>]>, "many">;
2344
3380
  }, "strip", z.ZodTypeAny, {
2345
3381
  results: ({
@@ -2363,6 +3399,23 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2363
3399
  } | {
2364
3400
  text: string;
2365
3401
  } | undefined;
3402
+ media?: {
3403
+ type: "image";
3404
+ uri: string;
3405
+ accessibilityDescription?: string | undefined;
3406
+ } | {
3407
+ type: "avatar";
3408
+ content: ({
3409
+ type: "text";
3410
+ text: string;
3411
+ badgeUri?: string | undefined;
3412
+ } | {
3413
+ type: "uri";
3414
+ uri: string;
3415
+ badgeUri?: string | undefined;
3416
+ })[];
3417
+ accessibilityDescription?: string | undefined;
3418
+ } | undefined;
2366
3419
  } | {
2367
3420
  type: "action";
2368
3421
  title: string;
@@ -2374,8 +3427,8 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2374
3427
  title?: string | undefined;
2375
3428
  timeout?: number | undefined;
2376
3429
  id?: string | undefined;
2377
- $ref?: string | undefined;
2378
3430
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3431
+ $ref?: string | undefined;
2379
3432
  exit?: boolean | undefined;
2380
3433
  result?: JsonElement | undefined;
2381
3434
  data?: JsonElement | undefined;
@@ -2393,6 +3446,23 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2393
3446
  } | {
2394
3447
  text: string;
2395
3448
  } | undefined;
3449
+ media?: {
3450
+ type: "image";
3451
+ uri: string;
3452
+ accessibilityDescription?: string | undefined;
3453
+ } | {
3454
+ type: "avatar";
3455
+ content: ({
3456
+ type: "text";
3457
+ text: string;
3458
+ badgeUri?: string | undefined;
3459
+ } | {
3460
+ type: "uri";
3461
+ uri: string;
3462
+ badgeUri?: string | undefined;
3463
+ })[];
3464
+ accessibilityDescription?: string | undefined;
3465
+ } | undefined;
2396
3466
  })[];
2397
3467
  }, {
2398
3468
  results: ({
@@ -2416,6 +3486,23 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2416
3486
  } | {
2417
3487
  text: string;
2418
3488
  } | undefined;
3489
+ media?: {
3490
+ type: "image";
3491
+ uri: string;
3492
+ accessibilityDescription?: string | undefined;
3493
+ } | {
3494
+ type: "avatar";
3495
+ content: ({
3496
+ type: "text";
3497
+ text: string;
3498
+ badgeUri?: string | undefined;
3499
+ } | {
3500
+ type: "uri";
3501
+ uri: string;
3502
+ badgeUri?: string | undefined;
3503
+ })[];
3504
+ accessibilityDescription?: string | undefined;
3505
+ } | undefined;
2419
3506
  } | {
2420
3507
  type: "action";
2421
3508
  title: string;
@@ -2427,8 +3514,8 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2427
3514
  title?: string | undefined;
2428
3515
  timeout?: number | undefined;
2429
3516
  id?: string | undefined;
2430
- $ref?: string | undefined;
2431
3517
  method?: "POST" | "GET" | "PUT" | "PATCH" | "DELETE" | undefined;
3518
+ $ref?: string | undefined;
2432
3519
  exit?: boolean | undefined;
2433
3520
  result?: JsonElement | undefined;
2434
3521
  data?: JsonElement | undefined;
@@ -2446,50 +3533,70 @@ export declare const searchResponseBodySchema: z.ZodObject<{
2446
3533
  } | {
2447
3534
  text: string;
2448
3535
  } | undefined;
3536
+ media?: {
3537
+ type: "image";
3538
+ uri: string;
3539
+ accessibilityDescription?: string | undefined;
3540
+ } | {
3541
+ type: "avatar";
3542
+ content: ({
3543
+ type: "text";
3544
+ text: string;
3545
+ badgeUri?: string | undefined;
3546
+ } | {
3547
+ type: "uri";
3548
+ uri: string;
3549
+ badgeUri?: string | undefined;
3550
+ })[];
3551
+ accessibilityDescription?: string | undefined;
3552
+ } | undefined;
2449
3553
  })[];
2450
3554
  }>;
2451
- export declare const additionalInfoSchema: z.ZodSchema<AdditionalInfo>;
3555
+ export declare const allOfSchemaSchema: z.ZodSchema<AllOfSchema>;
3556
+ export declare const schemaSchema: z.ZodSchema<Schema>;
3557
+ export declare const alertLayoutSchema: z.ZodSchema<AlertLayout>;
3558
+ export declare const stringSchemaSchema: z.ZodSchema<StringSchema>;
3559
+ export declare const persistAsyncSchema: z.ZodSchema<PersistAsync>;
2452
3560
  export declare const behaviorSchema: z.ZodSchema<Behavior>;
2453
- export declare const reviewLayoutCallToActionSchema: z.ZodSchema<ReviewLayoutCallToAction>;
2454
- export declare const tabsLayoutSchema: z.ZodSchema<TabsLayout>;
3561
+ export declare const integerSchemaSchema: z.ZodSchema<IntegerSchema>;
3562
+ export declare const arraySchemaTupleSchema: z.ZodSchema<ArraySchemaTuple>;
3563
+ export declare const oneOfSchemaSchema: z.ZodSchema<OneOfSchema>;
3564
+ export declare const constSchemaSchema: z.ZodSchema<ConstSchema>;
3565
+ export declare const arraySchemaSchema: z.ZodSchema<ArraySchema>;
3566
+ export declare const blobSchemaSchema: z.ZodSchema<BlobSchema>;
3567
+ export declare const booleanSchemaSchema: z.ZodSchema<BooleanSchema>;
3568
+ export declare const numberSchemaSchema: z.ZodSchema<NumberSchema>;
3569
+ export declare const objectSchemaSchema: z.ZodSchema<ObjectSchema>;
3570
+ export declare const arraySchemaListSchema: z.ZodSchema<ArraySchemaList>;
3571
+ export declare const modalResponseBodySchema: z.ZodSchema<ModalResponseBody>;
3572
+ export declare const layoutSchema: z.ZodSchema<Layout>;
3573
+ export declare const toolbarItemSchema: z.ZodSchema<ToolbarItem>;
3574
+ export declare const toolbarButtonSchema: z.ZodSchema<ToolbarButton>;
3575
+ export declare const toolbarSchema: z.ZodSchema<Toolbar>;
3576
+ export declare const modalBehaviorSchema: z.ZodSchema<ModalBehavior>;
3577
+ export declare const pollingSchema: z.ZodSchema<Polling>;
3578
+ export declare const pollingOnErrorSchema: z.ZodSchema<PollingOnError>;
3579
+ export declare const linkHandlerSchema: z.ZodSchema<LinkHandler>;
3580
+ export declare const stepSchema: z.ZodSchema<Step>;
3581
+ export declare const statusListLayoutSchema: z.ZodSchema<StatusListLayout>;
3582
+ export declare const statusListLayoutItemSchema: z.ZodSchema<StatusListLayoutItem>;
2455
3583
  export declare const tabsLayoutTabSchema: z.ZodSchema<TabsLayoutTab>;
2456
- export declare const alertLayoutSchema: z.ZodSchema<AlertLayout>;
2457
- export declare const alertLayoutCallToActionSchema: z.ZodSchema<AlertLayoutCallToAction>;
2458
- export declare const listLayoutSchema: z.ZodSchema<ListLayout>;
2459
- export declare const listLayoutCallToActionSchema: z.ZodSchema<ListLayoutCallToAction>;
2460
3584
  export declare const listLayoutItemSchema: z.ZodSchema<ListLayoutItem>;
3585
+ export declare const additionalInfoSchema: z.ZodSchema<AdditionalInfo>;
3586
+ export declare const columnsLayoutSchema: z.ZodSchema<ColumnsLayout>;
2461
3587
  export declare const decisionLayoutSchema: z.ZodSchema<DecisionLayout>;
2462
3588
  export declare const decisionLayoutOptionSchema: z.ZodSchema<DecisionLayoutOption>;
3589
+ export declare const alertLayoutCallToActionSchema: z.ZodSchema<AlertLayoutCallToAction>;
3590
+ export declare const reviewLayoutCallToActionSchema: z.ZodSchema<ReviewLayoutCallToAction>;
2463
3591
  export declare const sectionLayoutCallToActionSchema: z.ZodSchema<SectionLayoutCallToAction>;
2464
- export declare const statusListLayoutSchema: z.ZodSchema<StatusListLayout>;
2465
- export declare const statusListLayoutItemSchema: z.ZodSchema<StatusListLayoutItem>;
2466
- export declare const sectionLayoutSchema: z.ZodSchema<SectionLayout>;
2467
- export declare const layoutSchema: z.ZodSchema<Layout>;
2468
- export declare const itemCallToActionSchema: z.ZodSchema<ItemCallToAction>;
3592
+ export declare const reviewLayoutSchema: z.ZodSchema<ReviewLayout>;
3593
+ export declare const reviewLayoutFieldSchema: z.ZodSchema<ReviewLayoutField>;
2469
3594
  export declare const boxLayoutSchema: z.ZodSchema<BoxLayout>;
2470
3595
  export declare const buttonLayoutSchema: z.ZodSchema<ButtonLayout>;
2471
- export declare const columnsLayoutSchema: z.ZodSchema<ColumnsLayout>;
3596
+ export declare const listLayoutSchema: z.ZodSchema<ListLayout>;
2472
3597
  export declare const modalLayoutSchema: z.ZodSchema<ModalLayout>;
2473
- export declare const reviewLayoutSchema: z.ZodSchema<ReviewLayout>;
2474
- export declare const reviewLayoutFieldSchema: z.ZodSchema<ReviewLayoutField>;
3598
+ export declare const sectionLayoutSchema: z.ZodSchema<SectionLayout>;
3599
+ export declare const tabsLayoutSchema: z.ZodSchema<TabsLayout>;
2475
3600
  export declare const modalLayoutContentSchema: z.ZodSchema<ModalLayoutContent>;
2476
- export declare const modalResponseBodySchema: z.ZodSchema<ModalResponseBody>;
2477
- export declare const stepSchema: z.ZodSchema<Step>;
2478
- export declare const schemaSchema: z.ZodSchema<Schema>;
2479
- export declare const pollingSchema: z.ZodSchema<Polling>;
2480
- export declare const linkHandlerSchema: z.ZodSchema<LinkHandler>;
2481
- export declare const allOfSchemaSchema: z.ZodSchema<AllOfSchema>;
2482
- export declare const arraySchemaSchema: z.ZodSchema<ArraySchema>;
2483
- export declare const blobSchemaSchema: z.ZodSchema<BlobSchema>;
2484
- export declare const booleanSchemaSchema: z.ZodSchema<BooleanSchema>;
2485
- export declare const constSchemaSchema: z.ZodSchema<ConstSchema>;
2486
- export declare const integerSchemaSchema: z.ZodSchema<IntegerSchema>;
2487
- export declare const numberSchemaSchema: z.ZodSchema<NumberSchema>;
2488
- export declare const objectSchemaSchema: z.ZodSchema<ObjectSchema>;
2489
- export declare const oneOfSchemaSchema: z.ZodSchema<OneOfSchema>;
2490
- export declare const stringSchemaSchema: z.ZodSchema<StringSchema>;
2491
- export declare const arraySchemaListSchema: z.ZodSchema<ArraySchemaList>;
2492
- export declare const persistAsyncSchema: z.ZodSchema<PersistAsync>;
2493
- export declare const arraySchemaTupleSchema: z.ZodSchema<ArraySchemaTuple>;
2494
- export declare const pollingOnErrorSchema: z.ZodSchema<PollingOnError>;
2495
- export declare const modalBehaviorSchema: z.ZodSchema<ModalBehavior>;
3601
+ export declare const itemCallToActionSchema: z.ZodSchema<ItemCallToAction>;
3602
+ export declare const listLayoutCallToActionSchema: z.ZodSchema<ListLayoutCallToAction>;