@lucaapp/service-utils 4.10.0 → 4.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,430 @@
1
+ import { z as zod, ZodEffects, ZodNumber, ZodObject, ZodString, ZodType, ZodTypeAny } from 'zod';
2
+ import validator from 'validator';
3
+ import { Money } from '../lib/money/money';
4
+ export declare const preprocessArrayFromQueryString: (input: unknown) => string[] | unknown;
5
+ export declare const preprocessNumberFromQueryString: (input: unknown) => number | unknown;
6
+ export declare const preprocessBooleanFromQueryString: (input: unknown) => boolean | unknown;
7
+ export declare const preprocessBooleanFromString: (input: unknown) => boolean | unknown;
8
+ declare const z: {
9
+ string: () => ZodString;
10
+ safeString: () => ZodString;
11
+ safeText: () => ZodString;
12
+ safeBusinessStringForOnboarding: () => zod.ZodEffects<zod.ZodString, string, string>;
13
+ safeNameForOnboarding: () => zod.ZodEffects<zod.ZodString, string, string>;
14
+ nonemptyString: () => zod.ZodString;
15
+ alphaNumericString: () => zod.ZodString;
16
+ tableId: () => zod.ZodString;
17
+ uuid: () => ZodString;
18
+ uuidv4: () => zod.ZodEffects<zod.ZodString, string, string>;
19
+ email: () => ZodEffects<ZodString>;
20
+ phoneNumber: () => ZodEffects<ZodEffects<ZodString>>;
21
+ nullablePhoneNumber: () => zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, string | null, string>;
22
+ strongPassword: () => zod.ZodEffects<zod.ZodString, string, string>;
23
+ zipCode: (locale?: validator.PostalCodeLocale) => ZodEffects<ZodString, string>;
24
+ countryCode: () => zod.ZodString;
25
+ moneyDecimalString: (locale?: string) => zod.ZodEffects<zod.ZodString, string, string>;
26
+ moneyFromFloat: () => ZodEffects<ZodEffects<ZodNumber>, Money>;
27
+ moneyFromInt: () => ZodEffects<ZodNumber, Money>;
28
+ convertMoneyFieldsToCurrency: <T extends ZodObject<Record<string, ZodTypeAny>>>(schema: T) => ZodEffects<T>;
29
+ unixTimestamp: () => zod.ZodNumber;
30
+ integerString: (options?: {
31
+ maxLength?: number;
32
+ lt?: number;
33
+ gt?: number;
34
+ transform?: boolean;
35
+ }) => zod.ZodEffects<zod.ZodEffects<zod.ZodType<string, zod.ZodTypeDef, string>, string, string>, number, string>;
36
+ integerStringRaw: (options?: {
37
+ maxLength?: number;
38
+ lt?: number;
39
+ gt?: number;
40
+ transform?: boolean;
41
+ }) => typeof options.transform extends true ? ZodEffects<ZodType<number>> : ZodEffects<ZodType<string>>;
42
+ bigIntegerString: () => zod.ZodEffects<zod.ZodString, string, string>;
43
+ floatString: (options?: {
44
+ maxLength?: number;
45
+ lt: number;
46
+ gt: number;
47
+ }) => zod.ZodEffects<zod.ZodEffects<zod.ZodString, string, string>, number, string>;
48
+ hex: ({ min, max, length, rawLength, }?: {
49
+ min?: number;
50
+ max?: number;
51
+ length?: number;
52
+ rawLength?: number;
53
+ }) => zod.ZodEffects<zod.ZodString, string, string>;
54
+ sha256: () => zod.ZodEffects<zod.ZodString, string, string>;
55
+ base64: ({ min, max, length, rawLength, isBase64Url, }?: {
56
+ min?: number;
57
+ max?: number;
58
+ length?: number;
59
+ rawLength?: number;
60
+ isBase64Url?: boolean;
61
+ }) => ZodEffects<ZodString>;
62
+ bearerToken: () => ZodEffects<ZodEffects<ZodString>>;
63
+ jwt: ({ max }: {
64
+ max: number;
65
+ }) => ZodEffects<ZodString>;
66
+ ecPublicKey: () => zod.ZodEffects<zod.ZodString, string, string>;
67
+ ecCompressedPublicKey: () => zod.ZodEffects<zod.ZodString, string, string>;
68
+ uncompressedECPublicKey: () => zod.ZodEffects<zod.ZodString, string, string>;
69
+ ecSignature: () => zod.ZodEffects<zod.ZodString, string, string>;
70
+ iv: () => zod.ZodEffects<zod.ZodString, string, string>;
71
+ mac: () => zod.ZodEffects<zod.ZodString, string, string>;
72
+ traceId: () => zod.ZodEffects<zod.ZodString, string, string>;
73
+ isoDateString: () => ZodEffects<ZodString, string>;
74
+ rfc3339String: () => ZodEffects<ZodString, string>;
75
+ iso8601Date: () => zod.ZodEffects<zod.ZodString, string, string>;
76
+ urlHttpsString: () => zod.ZodEffects<zod.ZodString, string, string>;
77
+ urlHttpOrHttpsString: () => zod.ZodEffects<zod.ZodString, string, string>;
78
+ language: () => ZodTypeAny;
79
+ dsgcPayload: () => zod.ZodObject<{
80
+ certificates: zod.ZodArray<zod.ZodObject<{
81
+ certificateType: zod.ZodString;
82
+ country: zod.ZodString;
83
+ kid: zod.ZodString;
84
+ rawData: zod.ZodString;
85
+ signature: zod.ZodString;
86
+ thumbprint: zod.ZodString;
87
+ timestamp: zod.ZodString;
88
+ }, "strip", zod.ZodTypeAny, {
89
+ kid: string;
90
+ timestamp: string;
91
+ signature: string;
92
+ certificateType: string;
93
+ country: string;
94
+ rawData: string;
95
+ thumbprint: string;
96
+ }, {
97
+ kid: string;
98
+ timestamp: string;
99
+ signature: string;
100
+ certificateType: string;
101
+ country: string;
102
+ rawData: string;
103
+ thumbprint: string;
104
+ }>, "many">;
105
+ }, "strip", zod.ZodTypeAny, {
106
+ certificates: {
107
+ kid: string;
108
+ timestamp: string;
109
+ signature: string;
110
+ certificateType: string;
111
+ country: string;
112
+ rawData: string;
113
+ thumbprint: string;
114
+ }[];
115
+ }, {
116
+ certificates: {
117
+ kid: string;
118
+ timestamp: string;
119
+ signature: string;
120
+ certificateType: string;
121
+ country: string;
122
+ rawData: string;
123
+ thumbprint: string;
124
+ }[];
125
+ }>;
126
+ dccListPayload: () => zod.ZodArray<zod.ZodObject<{
127
+ identifier: zod.ZodString;
128
+ version: zod.ZodString;
129
+ country: zod.ZodString;
130
+ hash: zod.ZodString;
131
+ }, "strip", zod.ZodTypeAny, {
132
+ version: string;
133
+ country: string;
134
+ identifier: string;
135
+ hash: string;
136
+ }, {
137
+ version: string;
138
+ country: string;
139
+ identifier: string;
140
+ hash: string;
141
+ }>, "many">;
142
+ dccRulePayload: () => zod.ZodObject<{
143
+ Identifier: zod.ZodString;
144
+ Type: zod.ZodString;
145
+ Country: zod.ZodString;
146
+ Version: zod.ZodString;
147
+ SchemaVersion: zod.ZodString;
148
+ Engine: zod.ZodString;
149
+ EngineVersion: zod.ZodString;
150
+ CertificateType: zod.ZodString;
151
+ Description: zod.ZodArray<zod.ZodObject<{
152
+ lang: zod.ZodString;
153
+ desc: zod.ZodString;
154
+ }, "strip", zod.ZodTypeAny, {
155
+ lang: string;
156
+ desc: string;
157
+ }, {
158
+ lang: string;
159
+ desc: string;
160
+ }>, "many">;
161
+ ValidFrom: zod.ZodString;
162
+ ValidTo: zod.ZodString;
163
+ AffectedFields: zod.ZodArray<zod.ZodString, "many">;
164
+ Logic: zod.ZodAny;
165
+ }, "strip", zod.ZodTypeAny, {
166
+ Identifier: string;
167
+ Type: string;
168
+ Country: string;
169
+ Version: string;
170
+ SchemaVersion: string;
171
+ Engine: string;
172
+ EngineVersion: string;
173
+ CertificateType: string;
174
+ Description: {
175
+ lang: string;
176
+ desc: string;
177
+ }[];
178
+ ValidFrom: string;
179
+ ValidTo: string;
180
+ AffectedFields: string[];
181
+ Logic?: any;
182
+ }, {
183
+ Identifier: string;
184
+ Type: string;
185
+ Country: string;
186
+ Version: string;
187
+ SchemaVersion: string;
188
+ Engine: string;
189
+ EngineVersion: string;
190
+ CertificateType: string;
191
+ Description: {
192
+ lang: string;
193
+ desc: string;
194
+ }[];
195
+ ValidFrom: string;
196
+ ValidTo: string;
197
+ AffectedFields: string[];
198
+ Logic?: any;
199
+ }>;
200
+ setErrorMap(map: zod.ZodErrorMap): void;
201
+ getErrorMap(): zod.ZodErrorMap;
202
+ defaultErrorMap: zod.ZodErrorMap;
203
+ addIssueToContext(ctx: zod.ParseContext, issueData: zod.IssueData): void;
204
+ makeIssue: (params: {
205
+ data: any;
206
+ path: (string | number)[];
207
+ errorMaps: zod.ZodErrorMap[];
208
+ issueData: zod.IssueData;
209
+ }) => zod.ZodIssue;
210
+ EMPTY_PATH: zod.ParsePath;
211
+ ParseStatus: typeof zod.ParseStatus;
212
+ INVALID: zod.INVALID;
213
+ DIRTY: <T>(value: T) => zod.DIRTY<T>;
214
+ OK: <T>(value: T) => zod.OK<T>;
215
+ isAborted: (x: zod.ParseReturnType<any>) => x is zod.INVALID;
216
+ isDirty: <T>(x: zod.ParseReturnType<T>) => x is zod.OK<T> | zod.DIRTY<T>;
217
+ isValid: <T>(x: zod.ParseReturnType<T>) => x is zod.OK<T> | zod.DIRTY<T>;
218
+ isAsync: <T>(x: zod.ParseReturnType<T>) => x is zod.AsyncParseReturnType<T>;
219
+ util: typeof zod.util;
220
+ objectUtil: typeof zod.objectUtil;
221
+ ZodParsedType: {
222
+ function: "function";
223
+ number: "number";
224
+ string: "string";
225
+ nan: "nan";
226
+ integer: "integer";
227
+ float: "float";
228
+ boolean: "boolean";
229
+ date: "date";
230
+ bigint: "bigint";
231
+ symbol: "symbol";
232
+ undefined: "undefined";
233
+ null: "null";
234
+ array: "array";
235
+ object: "object";
236
+ unknown: "unknown";
237
+ promise: "promise";
238
+ void: "void";
239
+ never: "never";
240
+ map: "map";
241
+ set: "set";
242
+ };
243
+ getParsedType: (data: any) => zod.ZodParsedType;
244
+ ZodType: typeof zod.ZodType;
245
+ ZodString: typeof zod.ZodString;
246
+ ZodNumber: typeof zod.ZodNumber;
247
+ ZodBigInt: typeof zod.ZodBigInt;
248
+ ZodBoolean: typeof zod.ZodBoolean;
249
+ ZodDate: typeof zod.ZodDate;
250
+ ZodSymbol: typeof zod.ZodSymbol;
251
+ ZodUndefined: typeof zod.ZodUndefined;
252
+ ZodNull: typeof zod.ZodNull;
253
+ ZodAny: typeof zod.ZodAny;
254
+ ZodUnknown: typeof zod.ZodUnknown;
255
+ ZodNever: typeof zod.ZodNever;
256
+ ZodVoid: typeof zod.ZodVoid;
257
+ ZodArray: typeof zod.ZodArray;
258
+ ZodObject: typeof zod.ZodObject;
259
+ ZodUnion: typeof zod.ZodUnion;
260
+ ZodDiscriminatedUnion: typeof zod.ZodDiscriminatedUnion;
261
+ ZodIntersection: typeof zod.ZodIntersection;
262
+ ZodTuple: typeof zod.ZodTuple;
263
+ ZodRecord: typeof zod.ZodRecord;
264
+ ZodMap: typeof zod.ZodMap;
265
+ ZodSet: typeof zod.ZodSet;
266
+ ZodFunction: typeof zod.ZodFunction;
267
+ ZodLazy: typeof zod.ZodLazy;
268
+ ZodLiteral: typeof zod.ZodLiteral;
269
+ ZodEnum: typeof zod.ZodEnum;
270
+ ZodNativeEnum: typeof zod.ZodNativeEnum;
271
+ ZodPromise: typeof zod.ZodPromise;
272
+ ZodEffects: typeof zod.ZodEffects;
273
+ ZodTransformer: typeof zod.ZodEffects;
274
+ ZodOptional: typeof zod.ZodOptional;
275
+ ZodNullable: typeof zod.ZodNullable;
276
+ ZodDefault: typeof zod.ZodDefault;
277
+ ZodCatch: typeof zod.ZodCatch;
278
+ ZodNaN: typeof zod.ZodNaN;
279
+ BRAND: typeof zod.BRAND;
280
+ ZodBranded: typeof zod.ZodBranded;
281
+ ZodPipeline: typeof zod.ZodPipeline;
282
+ ZodReadonly: typeof zod.ZodReadonly;
283
+ custom: <T>(check?: ((data: unknown) => any) | undefined, params?: string | (Partial<zod.util.Omit<zod.ZodCustomIssue, "code">> & {
284
+ fatal?: boolean;
285
+ }) | ((input: any) => Partial<zod.util.Omit<zod.ZodCustomIssue, "code">> & {
286
+ fatal?: boolean;
287
+ }), fatal?: boolean | undefined) => ZodType<T, zod.ZodTypeDef, T>;
288
+ Schema: typeof zod.ZodType;
289
+ ZodSchema: typeof zod.ZodType;
290
+ late: {
291
+ object: <T extends zod.ZodRawShape>(shape: () => T, params?: zod.RawCreateParams) => ZodObject<T, "strip", ZodTypeAny, { [k_1 in keyof zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<T>, { [k in keyof zod.baseObjectOutputType<T>]: undefined extends zod.baseObjectOutputType<T>[k] ? never : k; }[keyof T]>]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<T>, { [k in keyof zod.baseObjectOutputType<T>]: undefined extends zod.baseObjectOutputType<T>[k] ? never : k; }[keyof T]>[k_1]; }, { [k_2 in keyof zod.baseObjectInputType<T>]: zod.baseObjectInputType<T>[k_2]; }>;
292
+ };
293
+ ZodFirstPartyTypeKind: typeof zod.ZodFirstPartyTypeKind;
294
+ coerce: {
295
+ string: (params?: ({
296
+ errorMap?: zod.ZodErrorMap | undefined;
297
+ invalid_type_error?: string | undefined;
298
+ required_error?: string | undefined;
299
+ description?: string | undefined;
300
+ } & {
301
+ coerce?: true | undefined;
302
+ }) | undefined) => ZodString;
303
+ number: (params?: ({
304
+ errorMap?: zod.ZodErrorMap | undefined;
305
+ invalid_type_error?: string | undefined;
306
+ required_error?: string | undefined;
307
+ description?: string | undefined;
308
+ } & {
309
+ coerce?: boolean | undefined;
310
+ }) | undefined) => ZodNumber;
311
+ boolean: (params?: ({
312
+ errorMap?: zod.ZodErrorMap | undefined;
313
+ invalid_type_error?: string | undefined;
314
+ required_error?: string | undefined;
315
+ description?: string | undefined;
316
+ } & {
317
+ coerce?: boolean | undefined;
318
+ }) | undefined) => zod.ZodBoolean;
319
+ bigint: (params?: ({
320
+ errorMap?: zod.ZodErrorMap | undefined;
321
+ invalid_type_error?: string | undefined;
322
+ required_error?: string | undefined;
323
+ description?: string | undefined;
324
+ } & {
325
+ coerce?: boolean | undefined;
326
+ }) | undefined) => zod.ZodBigInt;
327
+ date: (params?: ({
328
+ errorMap?: zod.ZodErrorMap | undefined;
329
+ invalid_type_error?: string | undefined;
330
+ required_error?: string | undefined;
331
+ description?: string | undefined;
332
+ } & {
333
+ coerce?: boolean | undefined;
334
+ }) | undefined) => zod.ZodDate;
335
+ };
336
+ any: (params?: zod.RawCreateParams) => zod.ZodAny;
337
+ array: <T extends ZodTypeAny>(schema: T, params?: zod.RawCreateParams) => zod.ZodArray<T, "many">;
338
+ bigint: (params?: ({
339
+ errorMap?: zod.ZodErrorMap | undefined;
340
+ invalid_type_error?: string | undefined;
341
+ required_error?: string | undefined;
342
+ description?: string | undefined;
343
+ } & {
344
+ coerce?: boolean | undefined;
345
+ }) | undefined) => zod.ZodBigInt;
346
+ boolean: (params?: ({
347
+ errorMap?: zod.ZodErrorMap | undefined;
348
+ invalid_type_error?: string | undefined;
349
+ required_error?: string | undefined;
350
+ description?: string | undefined;
351
+ } & {
352
+ coerce?: boolean | undefined;
353
+ }) | undefined) => zod.ZodBoolean;
354
+ date: (params?: ({
355
+ errorMap?: zod.ZodErrorMap | undefined;
356
+ invalid_type_error?: string | undefined;
357
+ required_error?: string | undefined;
358
+ description?: string | undefined;
359
+ } & {
360
+ coerce?: boolean | undefined;
361
+ }) | undefined) => zod.ZodDate;
362
+ discriminatedUnion: typeof zod.ZodDiscriminatedUnion.create;
363
+ effect: <I extends ZodTypeAny>(schema: I, effect: zod.Effect<I["_output"]>, params?: zod.RawCreateParams) => ZodEffects<I, I["_output"], zod.input<I>>;
364
+ enum: {
365
+ <U extends string, T extends Readonly<[U, ...U[]]>>(values: T, params?: zod.RawCreateParams): zod.ZodEnum<zod.Writeable<T>>;
366
+ <U extends string, T extends [U, ...U[]]>(values: T, params?: zod.RawCreateParams): zod.ZodEnum<T>;
367
+ };
368
+ function: typeof zod.ZodFunction.create;
369
+ instanceof: <T extends abstract new (..._: any[]) => {}>(cls: T, params?: Partial<zod.util.Omit<zod.ZodCustomIssue, "code">> & {
370
+ fatal?: boolean;
371
+ }) => ZodType<InstanceType<T>, zod.ZodTypeDef, InstanceType<T>>;
372
+ intersection: <T extends ZodTypeAny, U extends ZodTypeAny>(left: T, right: U, params?: zod.RawCreateParams) => zod.ZodIntersection<T, U>;
373
+ lazy: <T extends ZodTypeAny>(getter: () => T, params?: zod.RawCreateParams) => zod.ZodLazy<T>;
374
+ literal: <T extends zod.Primitive>(value: T, params?: zod.RawCreateParams) => zod.ZodLiteral<T>;
375
+ map: <Key extends ZodTypeAny = zod.ZodTypeAny, Value extends ZodTypeAny = zod.ZodTypeAny>(keyType: Key, valueType: Value, params?: zod.RawCreateParams) => zod.ZodMap<Key, Value>;
376
+ nan: (params?: zod.RawCreateParams) => zod.ZodNaN;
377
+ nativeEnum: <T extends zod.EnumLike>(values: T, params?: zod.RawCreateParams) => zod.ZodNativeEnum<T>;
378
+ never: (params?: zod.RawCreateParams) => zod.ZodNever;
379
+ null: (params?: zod.RawCreateParams) => zod.ZodNull;
380
+ nullable: <T extends ZodTypeAny>(type: T, params?: zod.RawCreateParams) => zod.ZodNullable<T>;
381
+ number: (params?: ({
382
+ errorMap?: zod.ZodErrorMap | undefined;
383
+ invalid_type_error?: string | undefined;
384
+ required_error?: string | undefined;
385
+ description?: string | undefined;
386
+ } & {
387
+ coerce?: boolean | undefined;
388
+ }) | undefined) => ZodNumber;
389
+ object: <T extends zod.ZodRawShape>(shape: T, params?: zod.RawCreateParams) => ZodObject<T, "strip", ZodTypeAny, { [k_1 in keyof zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<T>, { [k in keyof zod.baseObjectOutputType<T>]: undefined extends zod.baseObjectOutputType<T>[k] ? never : k; }[keyof T]>]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<T>, { [k in keyof zod.baseObjectOutputType<T>]: undefined extends zod.baseObjectOutputType<T>[k] ? never : k; }[keyof T]>[k_1]; }, { [k_2 in keyof zod.baseObjectInputType<T>]: zod.baseObjectInputType<T>[k_2]; }>;
390
+ oboolean: () => zod.ZodOptional<zod.ZodBoolean>;
391
+ onumber: () => zod.ZodOptional<ZodNumber>;
392
+ optional: <T extends ZodTypeAny>(type: T, params?: zod.RawCreateParams) => zod.ZodOptional<T>;
393
+ ostring: () => zod.ZodOptional<ZodString>;
394
+ pipeline: typeof zod.ZodPipeline.create;
395
+ preprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: zod.RefinementCtx) => unknown, schema: I, params?: zod.RawCreateParams) => ZodEffects<I, I["_output"], unknown>;
396
+ promise: <T extends ZodTypeAny>(schema: T, params?: zod.RawCreateParams) => zod.ZodPromise<T>;
397
+ record: typeof zod.ZodRecord.create;
398
+ set: <Value extends ZodTypeAny = zod.ZodTypeAny>(valueType: Value, params?: zod.RawCreateParams) => zod.ZodSet<Value>;
399
+ strictObject: <T extends zod.ZodRawShape>(shape: T, params?: zod.RawCreateParams) => ZodObject<T, "strict", ZodTypeAny, { [k_1 in keyof zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<T>, { [k in keyof zod.baseObjectOutputType<T>]: undefined extends zod.baseObjectOutputType<T>[k] ? never : k; }[keyof T]>]: zod.objectUtil.addQuestionMarks<zod.baseObjectOutputType<T>, { [k in keyof zod.baseObjectOutputType<T>]: undefined extends zod.baseObjectOutputType<T>[k] ? never : k; }[keyof T]>[k_1]; }, { [k_2 in keyof zod.baseObjectInputType<T>]: zod.baseObjectInputType<T>[k_2]; }>;
400
+ symbol: (params?: zod.RawCreateParams) => zod.ZodSymbol;
401
+ transformer: <I extends ZodTypeAny>(schema: I, effect: zod.Effect<I["_output"]>, params?: zod.RawCreateParams) => ZodEffects<I, I["_output"], zod.input<I>>;
402
+ tuple: <T extends [] | [ZodTypeAny, ...ZodTypeAny[]]>(schemas: T, params?: zod.RawCreateParams) => zod.ZodTuple<T, null>;
403
+ undefined: (params?: zod.RawCreateParams) => zod.ZodUndefined;
404
+ union: <T extends readonly [ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>(types: T, params?: zod.RawCreateParams) => zod.ZodUnion<T>;
405
+ unknown: (params?: zod.RawCreateParams) => zod.ZodUnknown;
406
+ void: (params?: zod.RawCreateParams) => zod.ZodVoid;
407
+ NEVER: never;
408
+ ZodIssueCode: {
409
+ invalid_type: "invalid_type";
410
+ invalid_literal: "invalid_literal";
411
+ custom: "custom";
412
+ invalid_union: "invalid_union";
413
+ invalid_union_discriminator: "invalid_union_discriminator";
414
+ invalid_enum_value: "invalid_enum_value";
415
+ unrecognized_keys: "unrecognized_keys";
416
+ invalid_arguments: "invalid_arguments";
417
+ invalid_return_type: "invalid_return_type";
418
+ invalid_date: "invalid_date";
419
+ invalid_string: "invalid_string";
420
+ too_small: "too_small";
421
+ too_big: "too_big";
422
+ invalid_intersection_types: "invalid_intersection_types";
423
+ not_multiple_of: "not_multiple_of";
424
+ not_finite: "not_finite";
425
+ };
426
+ quotelessJson: (obj: any) => string;
427
+ ZodError: typeof zod.ZodError;
428
+ };
429
+ export * from 'zod';
430
+ export { z };