@wise/dynamic-flow-types 2.5.1 → 2.6.1

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