@wise/dynamic-flow-types 2.5.1 → 2.6.0-beta-b14b7d.3

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