clivly 0.10.9 → 0.11.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.
Files changed (127) hide show
  1. package/adapter-BWrOtOw5.d.mts +83 -0
  2. package/adapter-Bd5HjLYa.d.cts +83 -0
  3. package/{auth-adapter-CXTiW3Mb.d.cts → auth-adapter-C3BQpc-q.d.cts} +1 -1
  4. package/{auth-adapter-DSuYwv1c.d.mts → auth-adapter-D54ajbl7.d.mts} +1 -1
  5. package/auth-better-auth.d.cts +6 -6
  6. package/auth-better-auth.d.mts +6 -6
  7. package/auth-clerk.d.cts +5 -5
  8. package/auth-clerk.d.mts +5 -5
  9. package/auth-workos.d.cts +5 -5
  10. package/auth-workos.d.mts +5 -5
  11. package/core-adapter.d.cts +1 -1
  12. package/core-adapter.d.mts +1 -1
  13. package/core-auth-adapter.d.cts +1 -1
  14. package/core-auth-adapter.d.mts +1 -1
  15. package/core-drizzle.d.cts +1 -1
  16. package/core-drizzle.d.mts +1 -1
  17. package/core-entity-config.cjs +1 -1
  18. package/core-entity-config.d.cts +1 -1
  19. package/core-entity-config.d.mts +1 -1
  20. package/core-entity-config.mjs +1 -1
  21. package/core-entity-heuristics.d.cts +1 -1
  22. package/core-entity-heuristics.d.mts +1 -1
  23. package/core-mapping-form.d.cts +1 -1
  24. package/core-mapping-form.d.mts +1 -1
  25. package/core-mappings-config.cjs +1 -1
  26. package/core-mappings-config.d.cts +1 -1
  27. package/core-mappings-config.d.mts +1 -1
  28. package/core-mappings-config.mjs +1 -1
  29. package/core-sync-engine.cjs +1 -1
  30. package/core-sync-engine.d.cts +1 -1
  31. package/core-sync-engine.d.mts +1 -1
  32. package/core-sync-engine.mjs +1 -1
  33. package/core-types.d.cts +2 -2
  34. package/core-types.d.mts +2 -2
  35. package/core-view-compiler.cjs +1 -1
  36. package/core-view-compiler.d.cts +1 -1
  37. package/core-view-compiler.d.mts +1 -1
  38. package/core-view-compiler.mjs +1 -1
  39. package/core.cjs +11 -7
  40. package/core.d.cts +10 -10
  41. package/core.d.mts +10 -10
  42. package/core.mjs +8 -8
  43. package/{drizzle-SD8WCvYj.d.cts → drizzle-CiK37zJm.d.cts} +1 -1
  44. package/{drizzle-axugRJ0u.d.mts → drizzle-ehVWLSrN.d.mts} +1 -1
  45. package/drizzle.cjs +2 -2
  46. package/drizzle.d.cts +9 -9
  47. package/drizzle.d.mts +9 -9
  48. package/drizzle.mjs +2 -2
  49. package/{entity-config-w8oMBWf8.d.cts → entity-config-ApnT5j3X.d.cts} +1735 -17
  50. package/{entity-config-C2MfIDL2.cjs → entity-config-BI4RYNKL.cjs} +19 -2
  51. package/{entity-config-w8oMBWf8.d.mts → entity-config-CKcj4-M_.d.mts} +1736 -17
  52. package/{entity-config-bC3DX9f1.mjs → entity-config-Ccfb2IL9.mjs} +28 -3
  53. package/index.cjs +15 -11
  54. package/index.d.cts +10 -11
  55. package/index.d.mts +10 -11
  56. package/index.mjs +15 -11
  57. package/{internal-CHvZMvxC.d.cts → internal-Bjpq7S2G.d.mts} +69 -2
  58. package/{internal-Cz59xMj8.cjs → internal-CRIgf9jS.cjs} +102 -0
  59. package/{internal-WximMGmH.d.mts → internal-D9kqkhPs.d.cts} +69 -2
  60. package/internal-adapter.d.cts +1 -1
  61. package/internal-adapter.d.mts +1 -1
  62. package/internal-auth-adapter.d.cts +1 -1
  63. package/internal-auth-adapter.d.mts +1 -1
  64. package/internal-drizzle.d.cts +1 -1
  65. package/internal-drizzle.d.mts +1 -1
  66. package/internal-entity-config.cjs +1 -1
  67. package/internal-entity-config.d.cts +1 -1
  68. package/internal-entity-config.d.mts +1 -1
  69. package/internal-entity-config.mjs +1 -1
  70. package/internal-entity-heuristics.cjs +43 -24
  71. package/internal-entity-heuristics.d.cts +21 -21
  72. package/internal-entity-heuristics.d.mts +21 -21
  73. package/internal-entity-heuristics.mjs +43 -24
  74. package/internal-mapping-form.d.cts +1 -1
  75. package/internal-mapping-form.d.mts +1 -1
  76. package/internal-mappings-config.cjs +1 -1
  77. package/internal-mappings-config.d.cts +1 -1
  78. package/internal-mappings-config.d.mts +1 -1
  79. package/internal-mappings-config.mjs +1 -1
  80. package/internal-sync-engine.cjs +1 -1
  81. package/internal-sync-engine.d.cts +1 -1
  82. package/internal-sync-engine.d.mts +1 -1
  83. package/internal-sync-engine.mjs +1 -1
  84. package/internal-types.d.cts +2 -2
  85. package/internal-types.d.mts +2 -2
  86. package/{internal-Bgiimp5D.mjs → internal-v6P9MZY1.mjs} +79 -1
  87. package/internal-view-compiler.cjs +1 -1
  88. package/internal-view-compiler.d.cts +1 -1
  89. package/internal-view-compiler.d.mts +1 -1
  90. package/internal-view-compiler.mjs +1 -1
  91. package/internal.cjs +11 -7
  92. package/internal.d.cts +10 -10
  93. package/internal.d.mts +10 -10
  94. package/internal.mjs +8 -8
  95. package/{mapping-form-BsTxv8w3.d.cts → mapping-form-Btn-7gzv.d.mts} +1 -1
  96. package/{mapping-form-OTFwr1sN.d.mts → mapping-form-XsLLCqW_.d.cts} +1 -1
  97. package/{mappings-config-Dpv08-x4.cjs → mappings-config-BCsRLohT.cjs} +2 -1
  98. package/{mappings-config-CRSL9dzw.mjs → mappings-config-CwQNQ6bA.mjs} +2 -1
  99. package/{mappings-config-DbznSjTX.d.cts → mappings-config-D6_oCi2Q.d.mts} +3 -1
  100. package/{mappings-config-SXu_zlmp.d.mts → mappings-config-iJzbcUMp.d.cts} +3 -1
  101. package/{namespace-probe-C3xMOqWE.d.cts → namespace-probe-C5RLl74M.d.cts} +1 -1
  102. package/{namespace-probe-BmxtnOfc.d.mts → namespace-probe-CNQKSmxz.d.mts} +1 -1
  103. package/package.json +1 -1
  104. package/{projection-Dz6_i1-w.cjs → projection-BELgANG2.cjs} +32 -23
  105. package/{projection-CSGJbZlZ.mjs → projection-DvNewmI1.mjs} +32 -23
  106. package/{projection-sql-CbXCKt3s.cjs → projection-sql-DuCtFE9t.cjs} +1 -1
  107. package/{projection-sql-iHoiYr1R.mjs → projection-sql-DweUaWRc.mjs} +1 -1
  108. package/{sdk-BIYu0N3V.cjs → sdk-BvGSxBQc.cjs} +3 -3
  109. package/{sdk-DofHordq.mjs → sdk-C-Pjxj2y.mjs} +3 -3
  110. package/sdk.cjs +2 -2
  111. package/sdk.d.cts +10 -10
  112. package/sdk.d.mts +10 -10
  113. package/sdk.mjs +2 -2
  114. package/{sync-engine-CUKWXUv7.d.mts → sync-engine--M9EaONC.d.mts} +2 -2
  115. package/{sync-engine-CTSIcLlZ.mjs → sync-engine-Df2MCs_n.mjs} +1 -1
  116. package/{sync-engine-B0FT1ax6.cjs → sync-engine-Dwm_KDUS.cjs} +1 -1
  117. package/{sync-engine-D2YlIHZB.d.cts → sync-engine-V3_UutGv.d.cts} +2 -2
  118. package/{types-Cq1uHUKp.d.mts → types-D08UzDqe.d.cts} +69 -2
  119. package/{types-Cq1uHUKp.d.cts → types-D08UzDqe.d.mts} +69 -2
  120. package/{view-compiler-BzKk8nY3.mjs → view-compiler-C-6RydKK.mjs} +2 -2
  121. package/{view-compiler-BO4CKamn.d.cts → view-compiler-Cq8apvZ4.d.cts} +1 -1
  122. package/{view-compiler-iEwUOuba.d.mts → view-compiler-CwKVoK1w.d.mts} +1 -1
  123. package/{view-compiler-ZKZbd3SK.cjs → view-compiler-xiwm5iar.cjs} +2 -2
  124. package/vite.d.cts +4 -5
  125. package/vite.d.mts +4 -5
  126. package/adapter-1TN0zohk.d.cts +0 -45
  127. package/adapter-uxirB88i.d.mts +0 -45
@@ -1,4 +1,7 @@
1
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema.d.cts
1
+ declare namespace json_schema_d_exports {
2
+ export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, StringSchema, _JSONSchema };
3
+ }
4
+ type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;
2
5
  type _JSONSchema = boolean | JSONSchema;
3
6
  type JSONSchema = {
4
7
  [k: string]: unknown;
@@ -65,6 +68,27 @@ type JSONSchema = {
65
68
  _prefault?: unknown;
66
69
  };
67
70
  type BaseSchema = JSONSchema;
71
+ interface ObjectSchema extends JSONSchema {
72
+ type: "object";
73
+ }
74
+ interface ArraySchema extends JSONSchema {
75
+ type: "array";
76
+ }
77
+ interface StringSchema extends JSONSchema {
78
+ type: "string";
79
+ }
80
+ interface NumberSchema extends JSONSchema {
81
+ type: "number";
82
+ }
83
+ interface IntegerSchema extends JSONSchema {
84
+ type: "integer";
85
+ }
86
+ interface BooleanSchema extends JSONSchema {
87
+ type: "boolean";
88
+ }
89
+ interface NullSchema extends JSONSchema {
90
+ type: "null";
91
+ }
68
92
  //#endregion
69
93
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/standard-schema.d.cts
70
94
  /** The Standard interface. */
@@ -184,8 +208,9 @@ declare namespace StandardJSONSchemaV1 {
184
208
  type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
185
209
  }
186
210
  interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {}
187
- //#endregion
188
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.d.cts
211
+ declare namespace registries_d_exports {
212
+ export { $ZodRegistry, $input, $output, $replace, GlobalMeta, JSONSchemaMeta, globalRegistry, registry };
213
+ }
189
214
  declare const $output: unique symbol;
190
215
  type $output = typeof $output;
191
216
  declare const $input: unique symbol;
@@ -211,6 +236,8 @@ interface JSONSchemaMeta {
211
236
  [k: string]: unknown;
212
237
  }
213
238
  interface GlobalMeta extends JSONSchemaMeta {}
239
+ declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;
240
+ declare const globalRegistry: $ZodRegistry<GlobalMeta>;
214
241
  //#endregion
215
242
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.d.cts
216
243
  type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
@@ -253,6 +280,12 @@ interface JSONSchemaGeneratorParams {
253
280
  * Parameters for the toJSONSchema function.
254
281
  */
255
282
  type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, "processors" | "external">;
283
+ /**
284
+ * Parameters for the toJSONSchema function when passing a registry.
285
+ */
286
+ interface RegistryToJSONSchemaParams extends ToJSONSchemaParams {
287
+ uri?: (id: string) => string;
288
+ }
256
289
  interface ProcessParams {
257
290
  schemaPath: $ZodType[];
258
291
  path: (string | number)[];
@@ -296,24 +329,56 @@ interface ToJSONSchemaContext {
296
329
  defs: Record<string, BaseSchema>;
297
330
  } | undefined;
298
331
  }
332
+ declare function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext;
333
+ declare function process<T extends $ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): BaseSchema;
334
+ declare function extractDefs<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): void;
335
+ declare function finalize<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): ZodStandardJSONSchemaPayload<T>;
299
336
  type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
300
337
  interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
301
338
  "~standard": ZodStandardSchemaWithJSON$1<T>;
302
339
  }
303
- //#endregion
304
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.d.cts
340
+ /**
341
+ * Creates a toJSONSchema method for a schema instance.
342
+ * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
343
+ */
344
+ declare const createToJSONSchemaMethod: <T extends $ZodType>(schema: T, processors?: Record<string, Processor>) => (params?: ToJSONSchemaParams) => ZodStandardJSONSchemaPayload<T>;
345
+ /**
346
+ * Creates a toJSONSchema method for a schema instance.
347
+ * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
348
+ */
349
+ type StandardJSONSchemaMethodParams = Parameters<StandardJSONSchemaV1["~standard"]["jsonSchema"]["input"]>[0];
350
+ declare const createStandardJSONSchemaMethod: <T extends $ZodType>(schema: T, io: "input" | "output", processors?: Record<string, Processor>) => (params?: StandardJSONSchemaMethodParams) => BaseSchema;
351
+ declare namespace util_d_exports {
352
+ export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, Class, CleanKey, Constructor, EmptyObject, EmptyToNever, EnumLike, EnumValue, Exactly, Extend, ExtractIndexSignature, Flatten, FromCleanMap, HasLength, HasSize, HashAlgorithm, HashEncoding, HashFormat, IPVersion, Identity, InexactPartial, IsAny, IsProp, JSONType, JWTAlgorithm, KeyOf, Keys, KeysArray, KeysEnum, Literal, LiteralArray, LoosePartial, MakePartial, MakeReadonly, MakeRequired, Mapped, Mask, MaybeAsync, MimeTypes, NUMBER_FORMAT_RANGES, NoNever, NoNeverKeys, NoUndefined, Normalize, Numeric, Omit$1 as Omit, OmitIndexSignature, OmitKeys, ParsedTypes, Prettify, Primitive, PrimitiveArray, PrimitiveSet, PropValues, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, createTransparentProxy, defineLazy, esc, escapeRegex, explicitlyAborted, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, merge, mergeDefs, normalizeParams, nullish$1 as nullish, numKeys, objectClone, omit, optionalKeys, parsedType, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, required, safeExtend, shallowClone, slugify, stringifyPrimitive, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
353
+ }
354
+ type JSONType = string | number | boolean | null | JSONType[] | {
355
+ [key: string]: JSONType;
356
+ };
305
357
  type JWTAlgorithm = "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | (string & {});
358
+ type HashAlgorithm = "md5" | "sha1" | "sha256" | "sha384" | "sha512";
359
+ type HashEncoding = "hex" | "base64" | "base64url";
360
+ type HashFormat = `${HashAlgorithm}_${HashEncoding}`;
361
+ type IPVersion = "v4" | "v6";
306
362
  type MimeTypes = "application/json" | "application/xml" | "application/x-www-form-urlencoded" | "application/javascript" | "application/pdf" | "application/zip" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/octet-stream" | "application/graphql" | "text/html" | "text/plain" | "text/css" | "text/javascript" | "text/csv" | "image/png" | "image/jpeg" | "image/gif" | "image/svg+xml" | "image/webp" | "audio/mpeg" | "audio/ogg" | "audio/wav" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "font/woff" | "font/woff2" | "font/ttf" | "font/otf" | "multipart/form-data" | (string & {});
363
+ type ParsedTypes = "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "file" | "date" | "array" | "map" | "set" | "nan" | "null" | "promise";
364
+ type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? true : false;
365
+ type AssertNotEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? false : true;
366
+ type AssertExtends<T, U> = T extends U ? T : never;
307
367
  type IsAny<T> = 0 extends 1 & T ? true : false;
308
368
  type Omit$1<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
369
+ type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;
309
370
  type MakePartial<T, K extends keyof T> = Omit$1<T, K> & InexactPartial<Pick<T, K>>;
371
+ type MakeRequired<T, K extends keyof T> = Omit$1<T, K> & Required<Pick<T, K>>;
372
+ type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;
310
373
  type NoUndefined<T> = T extends undefined ? never : T;
374
+ type Whatever = {} | undefined | null;
311
375
  type LoosePartial<T extends object> = InexactPartial<T> & {
312
376
  [k: string]: unknown;
313
377
  };
314
378
  type Mask<Keys extends PropertyKey> = { [K in Keys]?: true; };
315
379
  type Writeable<T> = { -readonly [P in keyof T]: T[P]; } & {};
316
380
  type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined; };
381
+ type EmptyObject = Record<string, never>;
317
382
  type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
318
383
  readonly [Symbol.toStringTag]: string;
319
384
  } | Date | Error | Generator | Promise<unknown> | RegExp;
@@ -321,23 +386,130 @@ type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T e
321
386
  type SomeObject = Record<PropertyKey, any>;
322
387
  type Identity<T> = T;
323
388
  type Flatten<T> = Identity<{ [k in keyof T]: T[k]; }>;
389
+ type Mapped<T> = { [k in keyof T]: T[k]; };
324
390
  type Prettify<T> = { [K in keyof T]: T[K]; } & {};
391
+ type NoNeverKeys<T> = { [k in keyof T]: [T[k]] extends [never] ? never : k; }[keyof T];
392
+ type NoNever<T> = Identity<{ [k in NoNeverKeys<T>]: k extends keyof T ? T[k] : never; }>;
325
393
  type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K]; } & { [K in keyof B]: B[K]; }>;
326
394
  type TupleItems = ReadonlyArray<SomeType>;
327
395
  type AnyFunc = (...args: any[]) => any;
396
+ type IsProp<T, K extends keyof T> = T[K] extends AnyFunc ? never : K;
328
397
  type MaybeAsync<T> = T | Promise<T>;
398
+ type KeyOf<T> = keyof OmitIndexSignature<T>;
399
+ type OmitIndexSignature<T> = { [K in keyof T as string extends K ? never : K extends string ? K : never]: T[K]; };
400
+ type ExtractIndexSignature<T> = { [K in keyof T as string extends K ? K : K extends string ? never : K]: T[K]; };
401
+ type Keys<T extends object> = keyof OmitIndexSignature<T>;
402
+ type SchemaClass<T extends SomeType> = {
403
+ new (def: T["_zod"]["def"]): T;
404
+ };
329
405
  type EnumValue = string | number;
330
406
  type EnumLike = Readonly<Record<string, EnumValue>>;
331
407
  type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k; }>;
408
+ type KeysEnum<T extends object> = ToEnum<Exclude<keyof T, symbol>>;
409
+ type KeysArray<T extends object> = Flatten<(keyof T & string)[]>;
332
410
  type Literal = string | number | bigint | boolean | null | undefined;
411
+ type LiteralArray = Array<Literal>;
333
412
  type Primitive = string | number | symbol | bigint | boolean | null | undefined;
413
+ type PrimitiveArray = Array<Primitive>;
414
+ type HasSize = {
415
+ size: number;
416
+ };
334
417
  type HasLength = {
335
418
  length: number;
336
419
  };
337
420
  type Numeric = number | bigint | Date;
421
+ type SafeParseResult<T> = SafeParseSuccess<T> | SafeParseError<T>;
422
+ type SafeParseSuccess<T> = {
423
+ success: true;
424
+ data: T;
425
+ error?: never;
426
+ };
427
+ type SafeParseError<T> = {
428
+ success: false;
429
+ data?: never;
430
+ error: $ZodError<T>;
431
+ };
338
432
  type PropValues = Record<string, Set<Primitive>>;
339
433
  type PrimitiveSet = Set<Primitive>;
434
+ declare function assertEqual<A, B>(val: AssertEqual<A, B>): AssertEqual<A, B>;
435
+ declare function assertNotEqual<A, B>(val: AssertNotEqual<A, B>): AssertNotEqual<A, B>;
436
+ declare function assertIs<T>(_arg: T): void;
437
+ declare function assertNever(_x: never): never;
438
+ declare function assert<T>(_: any): asserts _ is T;
439
+ declare function getEnumValues(entries: EnumLike): EnumValue[];
440
+ declare function joinValues<T extends Primitive[]>(array: T, separator?: string): string;
441
+ declare function jsonStringifyReplacer(_: string, value: any): any;
442
+ declare function cached<T>(getter: () => T): {
443
+ value: T;
444
+ };
445
+ declare function nullish$1(input: any): boolean;
446
+ declare function cleanRegex(source: string): string;
447
+ declare function floatSafeRemainder(val: number, step: number): number;
448
+ declare function defineLazy<T, K extends keyof T>(object: T, key: K, getter: () => T[K]): void;
449
+ declare function objectClone(obj: object): any;
450
+ declare function assignProp<T extends object, K extends PropertyKey>(target: T, prop: K, value: K extends keyof T ? T[K] : any): void;
451
+ declare function mergeDefs(...defs: Record<string, any>[]): any;
452
+ declare function cloneDef(schema: $ZodType): any;
453
+ declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any;
454
+ declare function promiseAllObject<T extends object>(promisesObj: T): Promise<{ [k in keyof T]: Awaited<T[k]>; }>;
455
+ declare function randomString(length?: number): string;
456
+ declare function esc(str: string): string;
457
+ declare function slugify(input: string): string;
458
+ declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void;
459
+ declare function isObject(data: any): data is Record<PropertyKey, unknown>;
460
+ declare const allowsEval: {
461
+ value: boolean;
462
+ };
463
+ declare function isPlainObject(o: any): o is Record<PropertyKey, unknown>;
464
+ declare function shallowClone(o: any): any;
465
+ declare function numKeys(data: any): number;
466
+ declare const getParsedType: (data: any) => ParsedTypes;
467
+ declare const propertyKeyTypes: Set<string>;
468
+ declare const primitiveTypes: Set<string>;
469
+ declare function escapeRegex(str: string): string;
470
+ declare function clone<T extends $ZodType>(inst: T, def?: T["_zod"]["def"], params?: {
471
+ parent: boolean;
472
+ }): T;
340
473
  type EmptyToNever<T> = keyof T extends never ? never : T;
474
+ type Normalize<T> = T extends undefined ? never : T extends Record<any, any> ? Flatten<{ [k in keyof Omit$1<T, "error" | "message">]: T[k]; } & ("error" extends keyof T ? {
475
+ error?: Exclude<T["error"], string>;
476
+ } : unknown)> : never;
477
+ declare function normalizeParams<T>(_params: T): Normalize<T>;
478
+ declare function createTransparentProxy<T extends object>(getter: () => T): T;
479
+ declare function stringifyPrimitive(value: any): string;
480
+ declare function optionalKeys(shape: $ZodShape): string[];
481
+ type CleanKey<T extends PropertyKey> = T extends `?${infer K}` ? K : T extends `${infer K}?` ? K : T;
482
+ type ToCleanMap<T extends $ZodLooseShape> = { [k in keyof T]: k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k; };
483
+ type FromCleanMap<T extends $ZodLooseShape> = { [k in keyof T as k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k]: k; };
484
+ declare const NUMBER_FORMAT_RANGES: Record<$ZodNumberFormats, [number, number]>;
485
+ declare const BIGINT_FORMAT_RANGES: Record<$ZodBigIntFormats, [bigint, bigint]>;
486
+ declare function pick(schema: $ZodObject, mask: Record<string, unknown>): any;
487
+ declare function omit(schema: $ZodObject, mask: object): any;
488
+ declare function extend(schema: $ZodObject, shape: $ZodShape): any;
489
+ declare function safeExtend(schema: $ZodObject, shape: $ZodShape): any;
490
+ declare function merge(a: $ZodObject, b: $ZodObject): any;
491
+ declare function partial(Class: SchemaClass<$ZodOptional> | null, schema: $ZodObject, mask: object | undefined): any;
492
+ declare function required(Class: SchemaClass<$ZodNonOptional>, schema: $ZodObject, mask: object | undefined): any;
493
+ type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;
494
+ declare function aborted(x: ParsePayload, startIndex?: number): boolean;
495
+ declare function explicitlyAborted(x: ParsePayload, startIndex?: number): boolean;
496
+ declare function prefixIssues(path: PropertyKey, issues: $ZodRawIssue[]): $ZodRawIssue[];
497
+ declare function unwrapMessage(message: string | {
498
+ message: string;
499
+ } | undefined | null): string | undefined;
500
+ declare function finalizeIssue(iss: $ZodRawIssue, ctx: ParseContextInternal | undefined, config: $ZodConfig): $ZodIssue;
501
+ declare function getSizableOrigin(input: any): "set" | "map" | "file" | "unknown";
502
+ declare function getLengthableOrigin(input: any): "array" | "string" | "unknown";
503
+ declare function parsedType(data: unknown): $ZodInvalidTypeExpected;
504
+ declare function issue(_iss: string, input: any, inst: any): $ZodRawIssue;
505
+ declare function issue(_iss: $ZodRawIssue): $ZodRawIssue;
506
+ declare function cleanEnum(obj: Record<string, EnumValue>): EnumValue[];
507
+ declare function base64ToUint8Array(base64: string): InstanceType<typeof Uint8Array>;
508
+ declare function uint8ArrayToBase64(bytes: Uint8Array): string;
509
+ declare function base64urlToUint8Array(base64url: string): InstanceType<typeof Uint8Array>;
510
+ declare function uint8ArrayToBase64url(bytes: Uint8Array): string;
511
+ declare function hexToUint8Array(hex: string): InstanceType<typeof Uint8Array>;
512
+ declare function uint8ArrayToHex(bytes: Uint8Array): string;
341
513
  declare abstract class Class {
342
514
  constructor(..._args: any[]);
343
515
  }
@@ -348,8 +520,9 @@ declare const version: {
348
520
  readonly minor: 4;
349
521
  readonly patch: number;
350
522
  };
351
- //#endregion
352
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.d.cts
523
+ declare namespace schemas_d_exports {
524
+ export { $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $PartsToTemplateLiteral, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntInternals, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUIDDef, $ZodCUIDInternals, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodExactOptional, $ZodExactOptionalDef, $ZodExactOptionalInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLooseShape, $ZodMAC, $ZodMACDef, $ZodMACInternals, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberInternals, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPreprocess, $ZodPreprocessDef, $ZodPreprocessInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringDef, $ZodStringFormat, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatTypes, $ZodStringInternals, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodType, $ZodTypeDef, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $ZodXor, $ZodXorInternals, $catchall, $loose, $partial, $strict, $strip, CheckFn, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, File, ParseContext, ParseContextInternal, ParsePayload, SomeType, ToTemplateLiteral, _$ZodType, _$ZodTypeInternals, clone, isValidBase64, isValidBase64URL, isValidJWT };
525
+ }
353
526
  interface ParseContext<T extends $ZodIssueBase = never> {
354
527
  /** Customize error messages. */
355
528
  readonly error?: $ZodErrorMap<T>;
@@ -473,6 +646,7 @@ interface $ZodStringFormat<Format extends string = string> extends $ZodType {
473
646
  _zod: $ZodStringFormatInternals<Format>;
474
647
  }
475
648
  declare const $ZodStringFormat: $constructor<$ZodStringFormat>;
649
+ interface $ZodGUIDDef extends $ZodStringFormatDef<"guid"> {}
476
650
  interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {}
477
651
  interface $ZodGUID extends $ZodType {
478
652
  _zod: $ZodGUIDInternals;
@@ -488,6 +662,7 @@ interface $ZodUUID extends $ZodType {
488
662
  _zod: $ZodUUIDInternals;
489
663
  }
490
664
  declare const $ZodUUID: $constructor<$ZodUUID>;
665
+ interface $ZodEmailDef extends $ZodStringFormatDef<"email"> {}
491
666
  interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {}
492
667
  interface $ZodEmail extends $ZodType {
493
668
  _zod: $ZodEmailInternals;
@@ -505,16 +680,24 @@ interface $ZodURL extends $ZodType {
505
680
  _zod: $ZodURLInternals;
506
681
  }
507
682
  declare const $ZodURL: $constructor<$ZodURL>;
683
+ interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {}
508
684
  interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
509
685
  interface $ZodEmoji extends $ZodType {
510
686
  _zod: $ZodEmojiInternals;
511
687
  }
512
688
  declare const $ZodEmoji: $constructor<$ZodEmoji>;
689
+ interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {}
513
690
  interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {}
514
691
  interface $ZodNanoID extends $ZodType {
515
692
  _zod: $ZodNanoIDInternals;
516
693
  }
517
694
  declare const $ZodNanoID: $constructor<$ZodNanoID>;
695
+ /**
696
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
697
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
698
+ * See https://github.com/paralleldrive/cuid.
699
+ */
700
+ interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {}
518
701
  /**
519
702
  * @deprecated CUID v1 is deprecated by its authors due to information leakage
520
703
  * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
@@ -535,21 +718,25 @@ interface $ZodCUID extends $ZodType {
535
718
  * See https://github.com/paralleldrive/cuid.
536
719
  */
537
720
  declare const $ZodCUID: $constructor<$ZodCUID>;
721
+ interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {}
538
722
  interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
539
723
  interface $ZodCUID2 extends $ZodType {
540
724
  _zod: $ZodCUID2Internals;
541
725
  }
542
726
  declare const $ZodCUID2: $constructor<$ZodCUID2>;
727
+ interface $ZodULIDDef extends $ZodStringFormatDef<"ulid"> {}
543
728
  interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {}
544
729
  interface $ZodULID extends $ZodType {
545
730
  _zod: $ZodULIDInternals;
546
731
  }
547
732
  declare const $ZodULID: $constructor<$ZodULID>;
733
+ interface $ZodXIDDef extends $ZodStringFormatDef<"xid"> {}
548
734
  interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {}
549
735
  interface $ZodXID extends $ZodType {
550
736
  _zod: $ZodXIDInternals;
551
737
  }
552
738
  declare const $ZodXID: $constructor<$ZodXID>;
739
+ interface $ZodKSUIDDef extends $ZodStringFormatDef<"ksuid"> {}
553
740
  interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {}
554
741
  interface $ZodKSUID extends $ZodType {
555
742
  _zod: $ZodKSUIDInternals;
@@ -567,6 +754,7 @@ interface $ZodISODateTime extends $ZodType {
567
754
  _zod: $ZodISODateTimeInternals;
568
755
  }
569
756
  declare const $ZodISODateTime: $constructor<$ZodISODateTime>;
757
+ interface $ZodISODateDef extends $ZodStringFormatDef<"date"> {}
570
758
  interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {}
571
759
  interface $ZodISODate extends $ZodType {
572
760
  _zod: $ZodISODateInternals;
@@ -582,6 +770,7 @@ interface $ZodISOTime extends $ZodType {
582
770
  _zod: $ZodISOTimeInternals;
583
771
  }
584
772
  declare const $ZodISOTime: $constructor<$ZodISOTime>;
773
+ interface $ZodISODurationDef extends $ZodStringFormatDef<"duration"> {}
585
774
  interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {}
586
775
  interface $ZodISODuration extends $ZodType {
587
776
  _zod: $ZodISODurationInternals;
@@ -607,6 +796,16 @@ interface $ZodIPv6 extends $ZodType {
607
796
  _zod: $ZodIPv6Internals;
608
797
  }
609
798
  declare const $ZodIPv6: $constructor<$ZodIPv6>;
799
+ interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
800
+ delimiter?: string;
801
+ }
802
+ interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
803
+ def: $ZodMACDef;
804
+ }
805
+ interface $ZodMAC extends $ZodType {
806
+ _zod: $ZodMACInternals;
807
+ }
808
+ declare const $ZodMAC: $constructor<$ZodMAC>;
610
809
  interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
611
810
  version?: "v4";
612
811
  }
@@ -627,21 +826,27 @@ interface $ZodCIDRv6 extends $ZodType {
627
826
  _zod: $ZodCIDRv6Internals;
628
827
  }
629
828
  declare const $ZodCIDRv6: $constructor<$ZodCIDRv6>;
829
+ declare function isValidBase64(data: string): boolean;
830
+ interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {}
630
831
  interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
631
832
  interface $ZodBase64 extends $ZodType {
632
833
  _zod: $ZodBase64Internals;
633
834
  }
634
835
  declare const $ZodBase64: $constructor<$ZodBase64>;
836
+ declare function isValidBase64URL(data: string): boolean;
837
+ interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {}
635
838
  interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
636
839
  interface $ZodBase64URL extends $ZodType {
637
840
  _zod: $ZodBase64URLInternals;
638
841
  }
639
842
  declare const $ZodBase64URL: $constructor<$ZodBase64URL>;
843
+ interface $ZodE164Def extends $ZodStringFormatDef<"e164"> {}
640
844
  interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {}
641
845
  interface $ZodE164 extends $ZodType {
642
846
  _zod: $ZodE164Internals;
643
847
  }
644
848
  declare const $ZodE164: $constructor<$ZodE164>;
849
+ declare function isValidJWT(token: string, algorithm?: JWTAlgorithm | null): boolean;
645
850
  interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
646
851
  alg?: JWTAlgorithm | undefined;
647
852
  }
@@ -652,6 +857,16 @@ interface $ZodJWT extends $ZodType {
652
857
  _zod: $ZodJWTInternals;
653
858
  }
654
859
  declare const $ZodJWT: $constructor<$ZodJWT>;
860
+ interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {
861
+ fn: (val: string) => unknown;
862
+ }
863
+ interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {
864
+ def: $ZodCustomStringFormatDef<Format>;
865
+ }
866
+ interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {
867
+ _zod: $ZodCustomStringFormatInternals<Format>;
868
+ }
869
+ declare const $ZodCustomStringFormat: $constructor<$ZodCustomStringFormat>;
655
870
  interface $ZodNumberDef extends $ZodTypeDef {
656
871
  type: "number";
657
872
  coerce?: boolean;
@@ -675,6 +890,15 @@ interface $ZodNumber<Input = unknown> extends $ZodType {
675
890
  _zod: $ZodNumberInternals<Input>;
676
891
  }
677
892
  declare const $ZodNumber: $constructor<$ZodNumber>;
893
+ interface $ZodNumberFormatDef extends $ZodNumberDef, $ZodCheckNumberFormatDef {}
894
+ interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, $ZodCheckNumberFormatInternals {
895
+ def: $ZodNumberFormatDef;
896
+ isst: $ZodIssueInvalidType;
897
+ }
898
+ interface $ZodNumberFormat extends $ZodType {
899
+ _zod: $ZodNumberFormatInternals;
900
+ }
901
+ declare const $ZodNumberFormat: $constructor<$ZodNumberFormat>;
678
902
  interface $ZodBooleanDef extends $ZodTypeDef {
679
903
  type: "boolean";
680
904
  coerce?: boolean;
@@ -708,6 +932,16 @@ interface $ZodBigInt<T = unknown> extends $ZodType {
708
932
  _zod: $ZodBigIntInternals<T>;
709
933
  }
710
934
  declare const $ZodBigInt: $constructor<$ZodBigInt>;
935
+ interface $ZodBigIntFormatDef extends $ZodBigIntDef, $ZodCheckBigIntFormatDef {
936
+ check: "bigint_format";
937
+ }
938
+ interface $ZodBigIntFormatInternals extends $ZodBigIntInternals<bigint>, $ZodCheckBigIntFormatInternals {
939
+ def: $ZodBigIntFormatDef;
940
+ }
941
+ interface $ZodBigIntFormat extends $ZodType {
942
+ _zod: $ZodBigIntFormatInternals;
943
+ }
944
+ declare const $ZodBigIntFormat: $constructor<$ZodBigIntFormat>;
711
945
  interface $ZodSymbolDef extends $ZodTypeDef {
712
946
  type: "symbol";
713
947
  }
@@ -879,6 +1113,7 @@ interface $ZodObject<
879
1113
  /** @ts-ignore Cast variance */
880
1114
  out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
881
1115
  declare const $ZodObject: $constructor<$ZodObject>;
1116
+ declare const $ZodObjectJIT: $constructor<$ZodObject>;
882
1117
  type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
883
1118
  type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
884
1119
  interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
@@ -902,6 +1137,23 @@ interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends
902
1137
  _zod: $ZodUnionInternals<T>;
903
1138
  }
904
1139
  declare const $ZodUnion: $constructor<$ZodUnion>;
1140
+ interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {}
1141
+ interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {
1142
+ _zod: $ZodXorInternals<T>;
1143
+ }
1144
+ declare const $ZodXor: $constructor<$ZodXor>;
1145
+ interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {
1146
+ discriminator: Disc;
1147
+ unionFallback?: boolean;
1148
+ }
1149
+ interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {
1150
+ def: $ZodDiscriminatedUnionDef<Options, Disc>;
1151
+ propValues: PropValues;
1152
+ }
1153
+ interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {
1154
+ _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
1155
+ }
1156
+ declare const $ZodDiscriminatedUnion: $constructor<$ZodDiscriminatedUnion>;
905
1157
  interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
906
1158
  type: "intersection";
907
1159
  left: Left;
@@ -1026,6 +1278,9 @@ interface $ZodLiteral<T extends Literal = Literal> extends $ZodType {
1026
1278
  _zod: $ZodLiteralInternals<T>;
1027
1279
  }
1028
1280
  declare const $ZodLiteral: $constructor<$ZodLiteral>;
1281
+ type _File = typeof globalThis extends {
1282
+ File: infer F extends new (...args: any[]) => any;
1283
+ } ? InstanceType<F> : {};
1029
1284
  /** Do not reference this directly. */
1030
1285
  interface File extends _File {
1031
1286
  readonly type: string;
@@ -1220,6 +1475,35 @@ interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
1220
1475
  _zod: $ZodPipeInternals<A, B>;
1221
1476
  }
1222
1477
  declare const $ZodPipe: $constructor<$ZodPipe>;
1478
+ interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
1479
+ transform: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
1480
+ reverseTransform: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
1481
+ }
1482
+ interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
1483
+ def: $ZodCodecDef<A, B>;
1484
+ isst: never;
1485
+ values: A["_zod"]["values"];
1486
+ optin: A["_zod"]["optin"];
1487
+ optout: B["_zod"]["optout"];
1488
+ propValues: A["_zod"]["propValues"];
1489
+ }
1490
+ interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1491
+ _zod: $ZodCodecInternals<A, B>;
1492
+ }
1493
+ declare const $ZodCodec: $constructor<$ZodCodec>;
1494
+ interface $ZodPreprocessDef<B extends SomeType = $ZodType> extends $ZodPipeDef<$ZodTransform, B> {
1495
+ in: $ZodTransform;
1496
+ out: B;
1497
+ }
1498
+ interface $ZodPreprocessInternals<B extends SomeType = $ZodType> extends $ZodPipeInternals<$ZodTransform, B> {
1499
+ def: $ZodPreprocessDef<B>;
1500
+ optin: B["_zod"]["optin"];
1501
+ optout: B["_zod"]["optout"];
1502
+ }
1503
+ interface $ZodPreprocess<B extends SomeType = $ZodType> extends $ZodPipe<$ZodTransform, B> {
1504
+ _zod: $ZodPreprocessInternals<B>;
1505
+ }
1506
+ declare const $ZodPreprocess: $constructor<$ZodPreprocess>;
1223
1507
  interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1224
1508
  type: "readonly";
1225
1509
  innerType: T;
@@ -1257,6 +1541,12 @@ interface SchemaPart extends $ZodType {
1257
1541
  _zod: SchemaPartInternals;
1258
1542
  }
1259
1543
  type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
1544
+ type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
1545
+ type AppendToTemplateLiteral<Template extends string, Suffix extends LiteralPart | $ZodType> = Suffix extends LiteralPart ? `${Template}${UndefinedToEmptyString<Suffix>}` : Suffix extends $ZodType ? `${Template}${output<Suffix> extends (infer T extends LiteralPart) ? UndefinedToEmptyString<T> : never}` : never;
1546
+ type ConcatenateTupleOfStrings<T extends string[]> = T extends [infer First extends string, ...infer Rest extends string[]] ? Rest extends string[] ? First extends "" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : "";
1547
+ type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = { [K in keyof Parts]: Parts[K] extends LiteralPart ? `${UndefinedToEmptyString<Parts[K]>}` : Parts[K] extends $ZodType ? `${output<Parts[K]> extends (infer T extends LiteralPart) ? UndefinedToEmptyString<T> : never}` : never; };
1548
+ type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;
1549
+ type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;
1260
1550
  declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
1261
1551
  type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1262
1552
  type $ZodFunctionIn = $ZodFunctionArgs;
@@ -1286,6 +1576,10 @@ interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns ext
1286
1576
  input(...args: any[]): $ZodFunction<any, Returns>;
1287
1577
  output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
1288
1578
  }
1579
+ interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
1580
+ input?: I;
1581
+ output?: O;
1582
+ }
1289
1583
  declare const $ZodFunction: $constructor<$ZodFunction>;
1290
1584
  interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1291
1585
  type: "promise";
@@ -1338,8 +1632,10 @@ interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
1338
1632
  }
1339
1633
  declare const $ZodCustom: $constructor<$ZodCustom>;
1340
1634
  type $ZodTypes = $ZodString | $ZodNumber | $ZodBigInt | $ZodBoolean | $ZodDate | $ZodSymbol | $ZodUndefined | $ZodNullable | $ZodNull | $ZodAny | $ZodUnknown | $ZodNever | $ZodVoid | $ZodArray | $ZodObject | $ZodUnion | $ZodIntersection | $ZodTuple | $ZodRecord | $ZodMap | $ZodSet | $ZodLiteral | $ZodEnum | $ZodFunction | $ZodPromise | $ZodLazy | $ZodOptional | $ZodDefault | $ZodPrefault | $ZodTemplateLiteral | $ZodCustom | $ZodTransform | $ZodNonOptional | $ZodReadonly | $ZodNaN | $ZodPipe | $ZodSuccess | $ZodCatch | $ZodFile;
1341
- //#endregion
1342
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.d.cts
1635
+ type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodMAC | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodJWT | $ZodCustomStringFormat<"hex"> | $ZodCustomStringFormat<HashFormat> | $ZodCustomStringFormat<"hostname">;
1636
+ declare namespace checks_d_exports {
1637
+ export { $ZodBigIntFormats, $ZodCheck, $ZodCheckBigIntFormat, $ZodCheckBigIntFormatDef, $ZodCheckBigIntFormatInternals, $ZodCheckDef, $ZodCheckEndsWith, $ZodCheckEndsWithDef, $ZodCheckEndsWithInternals, $ZodCheckGreaterThan, $ZodCheckGreaterThanDef, $ZodCheckGreaterThanInternals, $ZodCheckIncludes, $ZodCheckIncludesDef, $ZodCheckIncludesInternals, $ZodCheckInternals, $ZodCheckLengthEquals, $ZodCheckLengthEqualsDef, $ZodCheckLengthEqualsInternals, $ZodCheckLessThan, $ZodCheckLessThanDef, $ZodCheckLessThanInternals, $ZodCheckLowerCase, $ZodCheckLowerCaseDef, $ZodCheckLowerCaseInternals, $ZodCheckMaxLength, $ZodCheckMaxLengthDef, $ZodCheckMaxLengthInternals, $ZodCheckMaxSize, $ZodCheckMaxSizeDef, $ZodCheckMaxSizeInternals, $ZodCheckMimeType, $ZodCheckMimeTypeDef, $ZodCheckMimeTypeInternals, $ZodCheckMinLength, $ZodCheckMinLengthDef, $ZodCheckMinLengthInternals, $ZodCheckMinSize, $ZodCheckMinSizeDef, $ZodCheckMinSizeInternals, $ZodCheckMultipleOf, $ZodCheckMultipleOfDef, $ZodCheckMultipleOfInternals, $ZodCheckNumberFormat, $ZodCheckNumberFormatDef, $ZodCheckNumberFormatInternals, $ZodCheckOverwrite, $ZodCheckOverwriteDef, $ZodCheckOverwriteInternals, $ZodCheckProperty, $ZodCheckPropertyDef, $ZodCheckPropertyInternals, $ZodCheckRegex, $ZodCheckRegexDef, $ZodCheckRegexInternals, $ZodCheckSizeEquals, $ZodCheckSizeEqualsDef, $ZodCheckSizeEqualsInternals, $ZodCheckStartsWith, $ZodCheckStartsWithDef, $ZodCheckStartsWithInternals, $ZodCheckStringFormat, $ZodCheckStringFormatDef, $ZodCheckStringFormatInternals, $ZodCheckUpperCase, $ZodCheckUpperCaseDef, $ZodCheckUpperCaseInternals, $ZodChecks, $ZodNumberFormats, $ZodStringFormatChecks, $ZodStringFormats };
1638
+ }
1343
1639
  interface $ZodCheckDef {
1344
1640
  check: string;
1345
1641
  error?: $ZodErrorMap<never> | undefined;
@@ -1410,6 +1706,55 @@ interface $ZodCheckNumberFormat extends $ZodCheck<number> {
1410
1706
  _zod: $ZodCheckNumberFormatInternals;
1411
1707
  }
1412
1708
  declare const $ZodCheckNumberFormat: $constructor<$ZodCheckNumberFormat>;
1709
+ type $ZodBigIntFormats = "int64" | "uint64";
1710
+ interface $ZodCheckBigIntFormatDef extends $ZodCheckDef {
1711
+ check: "bigint_format";
1712
+ format: $ZodBigIntFormats | undefined;
1713
+ }
1714
+ interface $ZodCheckBigIntFormatInternals extends $ZodCheckInternals<bigint> {
1715
+ def: $ZodCheckBigIntFormatDef;
1716
+ issc: $ZodIssueTooBig<"bigint"> | $ZodIssueTooSmall<"bigint">;
1717
+ }
1718
+ interface $ZodCheckBigIntFormat extends $ZodCheck<bigint> {
1719
+ _zod: $ZodCheckBigIntFormatInternals;
1720
+ }
1721
+ declare const $ZodCheckBigIntFormat: $constructor<$ZodCheckBigIntFormat>;
1722
+ interface $ZodCheckMaxSizeDef extends $ZodCheckDef {
1723
+ check: "max_size";
1724
+ maximum: number;
1725
+ }
1726
+ interface $ZodCheckMaxSizeInternals<T extends HasSize = HasSize> extends $ZodCheckInternals<T> {
1727
+ def: $ZodCheckMaxSizeDef;
1728
+ issc: $ZodIssueTooBig<T>;
1729
+ }
1730
+ interface $ZodCheckMaxSize<T extends HasSize = HasSize> extends $ZodCheck<T> {
1731
+ _zod: $ZodCheckMaxSizeInternals<T>;
1732
+ }
1733
+ declare const $ZodCheckMaxSize: $constructor<$ZodCheckMaxSize>;
1734
+ interface $ZodCheckMinSizeDef extends $ZodCheckDef {
1735
+ check: "min_size";
1736
+ minimum: number;
1737
+ }
1738
+ interface $ZodCheckMinSizeInternals<T extends HasSize = HasSize> extends $ZodCheckInternals<T> {
1739
+ def: $ZodCheckMinSizeDef;
1740
+ issc: $ZodIssueTooSmall<T>;
1741
+ }
1742
+ interface $ZodCheckMinSize<T extends HasSize = HasSize> extends $ZodCheck<T> {
1743
+ _zod: $ZodCheckMinSizeInternals<T>;
1744
+ }
1745
+ declare const $ZodCheckMinSize: $constructor<$ZodCheckMinSize>;
1746
+ interface $ZodCheckSizeEqualsDef extends $ZodCheckDef {
1747
+ check: "size_equals";
1748
+ size: number;
1749
+ }
1750
+ interface $ZodCheckSizeEqualsInternals<T extends HasSize = HasSize> extends $ZodCheckInternals<T> {
1751
+ def: $ZodCheckSizeEqualsDef;
1752
+ issc: $ZodIssueTooBig<T> | $ZodIssueTooSmall<T>;
1753
+ }
1754
+ interface $ZodCheckSizeEquals<T extends HasSize = HasSize> extends $ZodCheck<T> {
1755
+ _zod: $ZodCheckSizeEqualsInternals<T>;
1756
+ }
1757
+ declare const $ZodCheckSizeEquals: $constructor<$ZodCheckSizeEquals>;
1413
1758
  interface $ZodCheckMaxLengthDef extends $ZodCheckDef {
1414
1759
  check: "max_length";
1415
1760
  maximum: number;
@@ -1456,6 +1801,10 @@ interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {
1456
1801
  def: $ZodCheckStringFormatDef;
1457
1802
  issc: $ZodIssueInvalidStringFormat;
1458
1803
  }
1804
+ interface $ZodCheckStringFormat extends $ZodCheck<string> {
1805
+ _zod: $ZodCheckStringFormatInternals;
1806
+ }
1807
+ declare const $ZodCheckStringFormat: $constructor<$ZodCheckStringFormat>;
1459
1808
  interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {
1460
1809
  format: "regex";
1461
1810
  pattern: RegExp;
@@ -1520,8 +1869,48 @@ interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {
1520
1869
  _zod: $ZodCheckEndsWithInternals;
1521
1870
  }
1522
1871
  declare const $ZodCheckEndsWith: $constructor<$ZodCheckEndsWith>;
1523
- //#endregion
1524
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.d.cts
1872
+ interface $ZodCheckPropertyDef extends $ZodCheckDef {
1873
+ check: "property";
1874
+ property: string;
1875
+ schema: $ZodType;
1876
+ }
1877
+ interface $ZodCheckPropertyInternals<T extends object = object> extends $ZodCheckInternals<T> {
1878
+ def: $ZodCheckPropertyDef;
1879
+ issc: $ZodIssue;
1880
+ }
1881
+ interface $ZodCheckProperty<T extends object = object> extends $ZodCheck<T> {
1882
+ _zod: $ZodCheckPropertyInternals<T>;
1883
+ }
1884
+ declare const $ZodCheckProperty: $constructor<$ZodCheckProperty>;
1885
+ interface $ZodCheckMimeTypeDef extends $ZodCheckDef {
1886
+ check: "mime_type";
1887
+ mime: MimeTypes[];
1888
+ }
1889
+ interface $ZodCheckMimeTypeInternals<T extends File = File> extends $ZodCheckInternals<T> {
1890
+ def: $ZodCheckMimeTypeDef;
1891
+ issc: $ZodIssueInvalidValue;
1892
+ }
1893
+ interface $ZodCheckMimeType<T extends File = File> extends $ZodCheck<T> {
1894
+ _zod: $ZodCheckMimeTypeInternals<T>;
1895
+ }
1896
+ declare const $ZodCheckMimeType: $constructor<$ZodCheckMimeType>;
1897
+ interface $ZodCheckOverwriteDef<T = unknown> extends $ZodCheckDef {
1898
+ check: "overwrite";
1899
+ tx(value: T): T;
1900
+ }
1901
+ interface $ZodCheckOverwriteInternals<T = unknown> extends $ZodCheckInternals<T> {
1902
+ def: $ZodCheckOverwriteDef<T>;
1903
+ issc: never;
1904
+ }
1905
+ interface $ZodCheckOverwrite<T = unknown> extends $ZodCheck<T> {
1906
+ _zod: $ZodCheckOverwriteInternals<T>;
1907
+ }
1908
+ declare const $ZodCheckOverwrite: $constructor<$ZodCheckOverwrite>;
1909
+ type $ZodChecks = $ZodCheckLessThan | $ZodCheckGreaterThan | $ZodCheckMultipleOf | $ZodCheckNumberFormat | $ZodCheckBigIntFormat | $ZodCheckMaxSize | $ZodCheckMinSize | $ZodCheckSizeEquals | $ZodCheckMaxLength | $ZodCheckMinLength | $ZodCheckLengthEquals | $ZodCheckStringFormat | $ZodCheckProperty | $ZodCheckMimeType | $ZodCheckOverwrite;
1910
+ type $ZodStringFormatChecks = $ZodCheckRegex | $ZodCheckLowerCase | $ZodCheckUpperCase | $ZodCheckIncludes | $ZodCheckStartsWith | $ZodCheckEndsWith | $ZodStringFormatTypes;
1911
+ declare namespace errors_d_exports {
1912
+ export { $ZodError, $ZodErrorMap, $ZodErrorTree, $ZodFlattenedError, $ZodFormattedError, $ZodInternalIssue, $ZodInvalidTypeExpected, $ZodIssue, $ZodIssueBase, $ZodIssueCode, $ZodIssueCustom, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueNotMultipleOf, $ZodIssueStringCommonFormats, $ZodIssueStringEndsWith, $ZodIssueStringIncludes, $ZodIssueStringInvalidJWT, $ZodIssueStringInvalidRegex, $ZodIssueStringStartsWith, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodRawIssue, $ZodRealError, $ZodStringFormatIssues, flattenError, formatError, prettifyError, toDotPath, treeifyError };
1913
+ }
1525
1914
  interface $ZodIssueBase {
1526
1915
  readonly code?: string;
1527
1916
  readonly input?: unknown;
@@ -1607,7 +1996,32 @@ interface $ZodIssueCustom extends $ZodIssueBase {
1607
1996
  readonly params?: Record<string, any> | undefined;
1608
1997
  readonly input?: unknown;
1609
1998
  }
1999
+ interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {
2000
+ format: Exclude<$ZodStringFormats, "regex" | "jwt" | "starts_with" | "ends_with" | "includes">;
2001
+ }
2002
+ interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {
2003
+ format: "regex";
2004
+ pattern: string;
2005
+ }
2006
+ interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {
2007
+ format: "jwt";
2008
+ algorithm?: string;
2009
+ }
2010
+ interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {
2011
+ format: "starts_with";
2012
+ prefix: string;
2013
+ }
2014
+ interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {
2015
+ format: "ends_with";
2016
+ suffix: string;
2017
+ }
2018
+ interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {
2019
+ format: "includes";
2020
+ includes: string;
2021
+ }
2022
+ type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;
1610
2023
  type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
2024
+ type $ZodIssueCode = $ZodIssue["code"];
1611
2025
  type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue$1<T> : never;
1612
2026
  type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1613
2027
  /** The input data */
@@ -1634,19 +2048,76 @@ interface $ZodError<T = unknown> extends Error {
1634
2048
  name: string;
1635
2049
  }
1636
2050
  declare const $ZodError: $constructor<$ZodError>;
2051
+ interface $ZodRealError<T = any> extends $ZodError<T> {}
2052
+ declare const $ZodRealError: $constructor<$ZodRealError>;
1637
2053
  type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
1638
2054
  type _FlattenedError<T, U = string> = {
1639
2055
  formErrors: U[];
1640
2056
  fieldErrors: { [P in keyof T]?: U[]; };
1641
2057
  };
2058
+ declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;
2059
+ declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;
1642
2060
  type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U>; } : T extends any[] ? {
1643
2061
  [k: number]: $ZodFormattedError<T[number], U>;
1644
2062
  } : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U>; }> : any;
1645
2063
  type $ZodFormattedError<T, U = string> = {
1646
2064
  _errors: U[];
1647
2065
  } & Flatten<_ZodFormattedError<T, U>>;
1648
- //#endregion
1649
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.d.cts
2066
+ declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;
2067
+ declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;
2068
+ type $ZodErrorTree<T, U = string> = T extends Primitive ? {
2069
+ errors: U[];
2070
+ } : T extends [any, ...any[]] ? {
2071
+ errors: U[];
2072
+ items?: { [K in keyof T]?: $ZodErrorTree<T[K], U>; };
2073
+ } : T extends any[] ? {
2074
+ errors: U[];
2075
+ items?: Array<$ZodErrorTree<T[number], U>>;
2076
+ } : T extends object ? {
2077
+ errors: U[];
2078
+ properties?: { [K in keyof T]?: $ZodErrorTree<T[K], U>; };
2079
+ } : {
2080
+ errors: U[];
2081
+ };
2082
+ declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;
2083
+ declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;
2084
+ /** Format a ZodError as a human-readable string in the following form.
2085
+ *
2086
+ * From
2087
+ *
2088
+ * ```ts
2089
+ * ZodError {
2090
+ * issues: [
2091
+ * {
2092
+ * expected: 'string',
2093
+ * code: 'invalid_type',
2094
+ * path: [ 'username' ],
2095
+ * message: 'Invalid input: expected string'
2096
+ * },
2097
+ * {
2098
+ * expected: 'number',
2099
+ * code: 'invalid_type',
2100
+ * path: [ 'favoriteNumbers', 1 ],
2101
+ * message: 'Invalid input: expected number'
2102
+ * }
2103
+ * ];
2104
+ * }
2105
+ * ```
2106
+ *
2107
+ * to
2108
+ *
2109
+ * ```
2110
+ * username
2111
+ * ✖ Expected number, received string at "username
2112
+ * favoriteNumbers[0]
2113
+ * ✖ Invalid input: expected number
2114
+ * ```
2115
+ */
2116
+ declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;
2117
+ declare function prettifyError(error: StandardSchemaV1.FailureResult): string;
2118
+ declare namespace core_d_exports {
2119
+ export { $ZodAsyncError, $ZodBranded, $ZodConfig, $ZodEncodeError, $ZodNarrow, $brand, $constructor, NEVER, config, globalConfig, output as infer, input, output };
2120
+ }
1650
2121
  type ZodTrait = {
1651
2122
  _zod: {
1652
2123
  def: any;
@@ -1657,6 +2128,8 @@ interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
1657
2128
  new (def: D): T;
1658
2129
  init(inst: T, def: D): asserts inst is T;
1659
2130
  }
2131
+ /** A special constant with type `never` */
2132
+ declare const NEVER: never;
1660
2133
  declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void, params?: {
1661
2134
  Parent?: typeof Class;
1662
2135
  }): $constructor<T, D>;
@@ -1678,6 +2151,17 @@ type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir
1678
2151
  output: output<T> & $brand<Brand>;
1679
2152
  };
1680
2153
  });
2154
+ type $ZodNarrow<T extends SomeType, Out> = T & {
2155
+ _zod: {
2156
+ output: Out;
2157
+ };
2158
+ };
2159
+ declare class $ZodAsyncError extends Error {
2160
+ constructor();
2161
+ }
2162
+ declare class $ZodEncodeError extends Error {
2163
+ constructor(name: string);
2164
+ }
1681
2165
  type input<T> = T extends {
1682
2166
  _zod: {
1683
2167
  input: any;
@@ -1688,6 +2172,427 @@ type output<T> = T extends {
1688
2172
  output: any;
1689
2173
  };
1690
2174
  } ? T["_zod"]["output"] : unknown;
2175
+ interface $ZodConfig {
2176
+ /** Custom error map. Overrides `config().localeError`. */
2177
+ customError?: $ZodErrorMap | undefined;
2178
+ /** Localized error map. Lowest priority. */
2179
+ localeError?: $ZodErrorMap | undefined;
2180
+ /** Disable JIT schema compilation. Useful in environments that disallow `eval`. */
2181
+ jitless?: boolean | undefined;
2182
+ }
2183
+ declare const globalConfig: $ZodConfig;
2184
+ declare function config(newConfig?: Partial<$ZodConfig>): $ZodConfig;
2185
+ //#endregion
2186
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.d.cts
2187
+ type $ZodErrorClass = {
2188
+ new (issues: $ZodIssue[]): $ZodError;
2189
+ };
2190
+ type $Parse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
2191
+ callee?: AnyFunc;
2192
+ Err?: $ZodErrorClass;
2193
+ }) => output<T>;
2194
+ declare const _parse: (_Err: $ZodErrorClass) => $Parse;
2195
+ declare const parse$1: $Parse;
2196
+ type $ParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
2197
+ callee?: AnyFunc;
2198
+ Err?: $ZodErrorClass;
2199
+ }) => Promise<output<T>>;
2200
+ declare const _parseAsync: (_Err: $ZodErrorClass) => $ParseAsync;
2201
+ declare const parseAsync$1: $ParseAsync;
2202
+ type $SafeParse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output<T>>;
2203
+ declare const _safeParse: (_Err: $ZodErrorClass) => $SafeParse;
2204
+ declare const safeParse$1: $SafeParse;
2205
+ type $SafeParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output<T>>>;
2206
+ declare const _safeParseAsync: (_Err: $ZodErrorClass) => $SafeParseAsync;
2207
+ declare const safeParseAsync$1: $SafeParseAsync;
2208
+ type $Encode = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => input<T>;
2209
+ declare const _encode: (_Err: $ZodErrorClass) => $Encode;
2210
+ declare const encode$1: $Encode;
2211
+ type $Decode = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => output<T>;
2212
+ declare const _decode: (_Err: $ZodErrorClass) => $Decode;
2213
+ declare const decode$1: $Decode;
2214
+ type $EncodeAsync = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<input<T>>;
2215
+ declare const _encodeAsync: (_Err: $ZodErrorClass) => $EncodeAsync;
2216
+ declare const encodeAsync$1: $EncodeAsync;
2217
+ type $DecodeAsync = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<output<T>>;
2218
+ declare const _decodeAsync: (_Err: $ZodErrorClass) => $DecodeAsync;
2219
+ declare const decodeAsync$1: $DecodeAsync;
2220
+ type $SafeEncode = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<input<T>>;
2221
+ declare const _safeEncode: (_Err: $ZodErrorClass) => $SafeEncode;
2222
+ declare const safeEncode$1: $SafeEncode;
2223
+ type $SafeDecode = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output<T>>;
2224
+ declare const _safeDecode: (_Err: $ZodErrorClass) => $SafeDecode;
2225
+ declare const safeDecode$1: $SafeDecode;
2226
+ type $SafeEncodeAsync = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<input<T>>>;
2227
+ declare const _safeEncodeAsync: (_Err: $ZodErrorClass) => $SafeEncodeAsync;
2228
+ declare const safeEncodeAsync$1: $SafeEncodeAsync;
2229
+ type $SafeDecodeAsync = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output<T>>>;
2230
+ declare const _safeDecodeAsync: (_Err: $ZodErrorClass) => $SafeDecodeAsync;
2231
+ declare const safeDecodeAsync$1: $SafeDecodeAsync;
2232
+ declare namespace regexes_d_exports {
2233
+ export { base64$1 as base64, base64url$1 as base64url, bigint$2 as bigint, boolean$2 as boolean, browserEmail, cidrv4$1 as cidrv4, cidrv6$1 as cidrv6, cuid$1 as cuid, cuid2$1 as cuid2, date$3 as date, datetime$1 as datetime, domain, duration$1 as duration, e164$1 as e164, email$1 as email, emoji$1 as emoji, extendedDuration, guid$1 as guid, hex$1 as hex, hostname$1 as hostname, html5Email, httpProtocol, idnEmail, integer, ipv4$1 as ipv4, ipv6$1 as ipv6, ksuid$1 as ksuid, lowercase, mac$1 as mac, md5_base64, md5_base64url, md5_hex, nanoid$1 as nanoid, _null$2 as null, number$2 as number, rfc5322Email, sha1_base64, sha1_base64url, sha1_hex, sha256_base64, sha256_base64url, sha256_hex, sha384_base64, sha384_base64url, sha384_hex, sha512_base64, sha512_base64url, sha512_hex, string$2 as string, time$1 as time, ulid$1 as ulid, _undefined$2 as undefined, unicodeEmail, uppercase, uuid$1 as uuid, uuid4, uuid6, uuid7, xid$1 as xid };
2234
+ }
2235
+ /**
2236
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
2237
+ * (timestamps embedded in the id). Use {@link cuid2} instead.
2238
+ * See https://github.com/paralleldrive/cuid.
2239
+ */
2240
+ declare const cuid$1: RegExp;
2241
+ declare const cuid2$1: RegExp;
2242
+ declare const ulid$1: RegExp;
2243
+ declare const xid$1: RegExp;
2244
+ declare const ksuid$1: RegExp;
2245
+ declare const nanoid$1: RegExp;
2246
+ /** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */
2247
+ declare const duration$1: RegExp;
2248
+ /** Implements ISO 8601-2 extensions like explicit +- prefixes, mixing weeks with other units, and fractional/negative components. */
2249
+ declare const extendedDuration: RegExp;
2250
+ /** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */
2251
+ declare const guid$1: RegExp;
2252
+ /** Returns a regex for validating an RFC 9562/4122 UUID.
2253
+ *
2254
+ * @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */
2255
+ declare const uuid$1: (version?: number | undefined) => RegExp;
2256
+ declare const uuid4: RegExp;
2257
+ declare const uuid6: RegExp;
2258
+ declare const uuid7: RegExp;
2259
+ /** Practical email validation */
2260
+ declare const email$1: RegExp;
2261
+ /** Equivalent to the HTML5 input[type=email] validation implemented by browsers. Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email */
2262
+ declare const html5Email: RegExp;
2263
+ /** The classic emailregex.com regex for RFC 5322-compliant emails */
2264
+ declare const rfc5322Email: RegExp;
2265
+ /** A loose regex that allows Unicode characters, enforces length limits, and that's about it. */
2266
+ declare const unicodeEmail: RegExp;
2267
+ declare const idnEmail: RegExp;
2268
+ declare const browserEmail: RegExp;
2269
+ declare function emoji$1(): RegExp;
2270
+ declare const ipv4$1: RegExp;
2271
+ declare const ipv6$1: RegExp;
2272
+ declare const mac$1: (delimiter?: string) => RegExp;
2273
+ declare const cidrv4$1: RegExp;
2274
+ declare const cidrv6$1: RegExp;
2275
+ declare const base64$1: RegExp;
2276
+ declare const base64url$1: RegExp;
2277
+ declare const hostname$1: RegExp;
2278
+ declare const domain: RegExp;
2279
+ declare const httpProtocol: RegExp;
2280
+ declare const e164$1: RegExp;
2281
+ declare const date$3: RegExp;
2282
+ declare function time$1(args: {
2283
+ precision?: number | null;
2284
+ }): RegExp;
2285
+ declare function datetime$1(args: {
2286
+ precision?: number | null;
2287
+ offset?: boolean;
2288
+ local?: boolean;
2289
+ }): RegExp;
2290
+ declare const string$2: (params?: {
2291
+ minimum?: number | undefined;
2292
+ maximum?: number | undefined;
2293
+ }) => RegExp;
2294
+ declare const bigint$2: RegExp;
2295
+ declare const integer: RegExp;
2296
+ declare const number$2: RegExp;
2297
+ declare const boolean$2: RegExp;
2298
+ declare const _null$2: RegExp;
2299
+ declare const _undefined$2: RegExp;
2300
+ declare const lowercase: RegExp;
2301
+ declare const uppercase: RegExp;
2302
+ declare const hex$1: RegExp;
2303
+ declare const md5_hex: RegExp;
2304
+ declare const md5_base64: RegExp;
2305
+ declare const md5_base64url: RegExp;
2306
+ declare const sha1_hex: RegExp;
2307
+ declare const sha1_base64: RegExp;
2308
+ declare const sha1_base64url: RegExp;
2309
+ declare const sha256_hex: RegExp;
2310
+ declare const sha256_base64: RegExp;
2311
+ declare const sha256_base64url: RegExp;
2312
+ declare const sha384_hex: RegExp;
2313
+ declare const sha384_base64: RegExp;
2314
+ declare const sha384_base64url: RegExp;
2315
+ declare const sha512_hex: RegExp;
2316
+ declare const sha512_base64: RegExp;
2317
+ declare const sha512_base64url: RegExp;
2318
+ //#endregion
2319
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ar.d.cts
2320
+ declare function _default$53(): {
2321
+ localeError: $ZodErrorMap;
2322
+ };
2323
+ //#endregion
2324
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/az.d.cts
2325
+ declare function _default$52(): {
2326
+ localeError: $ZodErrorMap;
2327
+ };
2328
+ //#endregion
2329
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/be.d.cts
2330
+ declare function _default$51(): {
2331
+ localeError: $ZodErrorMap;
2332
+ };
2333
+ //#endregion
2334
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/bg.d.cts
2335
+ declare function _default$50(): {
2336
+ localeError: $ZodErrorMap;
2337
+ };
2338
+ //#endregion
2339
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ca.d.cts
2340
+ declare function _default$49(): {
2341
+ localeError: $ZodErrorMap;
2342
+ };
2343
+ //#endregion
2344
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/cs.d.cts
2345
+ declare function _default$48(): {
2346
+ localeError: $ZodErrorMap;
2347
+ };
2348
+ //#endregion
2349
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/da.d.cts
2350
+ declare function _default$47(): {
2351
+ localeError: $ZodErrorMap;
2352
+ };
2353
+ //#endregion
2354
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/de.d.cts
2355
+ declare function _default$46(): {
2356
+ localeError: $ZodErrorMap;
2357
+ };
2358
+ //#endregion
2359
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/el.d.cts
2360
+ declare function _default$45(): {
2361
+ localeError: $ZodErrorMap;
2362
+ };
2363
+ //#endregion
2364
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.d.cts
2365
+ declare function _default$44(): {
2366
+ localeError: $ZodErrorMap;
2367
+ };
2368
+ //#endregion
2369
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/eo.d.cts
2370
+ declare function _default$43(): {
2371
+ localeError: $ZodErrorMap;
2372
+ };
2373
+ //#endregion
2374
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/es.d.cts
2375
+ declare function _default$42(): {
2376
+ localeError: $ZodErrorMap;
2377
+ };
2378
+ //#endregion
2379
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fa.d.cts
2380
+ declare function _default$41(): {
2381
+ localeError: $ZodErrorMap;
2382
+ };
2383
+ //#endregion
2384
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fi.d.cts
2385
+ declare function _default$40(): {
2386
+ localeError: $ZodErrorMap;
2387
+ };
2388
+ //#endregion
2389
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr.d.cts
2390
+ declare function _default$39(): {
2391
+ localeError: $ZodErrorMap;
2392
+ };
2393
+ //#endregion
2394
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/fr-CA.d.cts
2395
+ declare function _default$38(): {
2396
+ localeError: $ZodErrorMap;
2397
+ };
2398
+ //#endregion
2399
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/he.d.cts
2400
+ declare function _default$37(): {
2401
+ localeError: $ZodErrorMap;
2402
+ };
2403
+ //#endregion
2404
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hr.d.cts
2405
+ declare function _default$36(): {
2406
+ localeError: $ZodErrorMap;
2407
+ };
2408
+ //#endregion
2409
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hu.d.cts
2410
+ declare function _default$35(): {
2411
+ localeError: $ZodErrorMap;
2412
+ };
2413
+ //#endregion
2414
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/hy.d.cts
2415
+ declare function _default$34(): {
2416
+ localeError: $ZodErrorMap;
2417
+ };
2418
+ //#endregion
2419
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/id.d.cts
2420
+ declare function _default$33(): {
2421
+ localeError: $ZodErrorMap;
2422
+ };
2423
+ //#endregion
2424
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/is.d.cts
2425
+ declare function _default$32(): {
2426
+ localeError: $ZodErrorMap;
2427
+ };
2428
+ //#endregion
2429
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/it.d.cts
2430
+ declare function _default$31(): {
2431
+ localeError: $ZodErrorMap;
2432
+ };
2433
+ //#endregion
2434
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ja.d.cts
2435
+ declare function _default$30(): {
2436
+ localeError: $ZodErrorMap;
2437
+ };
2438
+ //#endregion
2439
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ka.d.cts
2440
+ declare function _default$29(): {
2441
+ localeError: $ZodErrorMap;
2442
+ };
2443
+ //#endregion
2444
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/kh.d.cts
2445
+ declare function _default$28(): {
2446
+ localeError: $ZodErrorMap;
2447
+ };
2448
+ //#endregion
2449
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/km.d.cts
2450
+ declare function _default$27(): {
2451
+ localeError: $ZodErrorMap;
2452
+ };
2453
+ //#endregion
2454
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ko.d.cts
2455
+ declare function _default$26(): {
2456
+ localeError: $ZodErrorMap;
2457
+ };
2458
+ //#endregion
2459
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/lt.d.cts
2460
+ declare function _default$25(): {
2461
+ localeError: $ZodErrorMap;
2462
+ };
2463
+ //#endregion
2464
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/mk.d.cts
2465
+ declare function _default$24(): {
2466
+ localeError: $ZodErrorMap;
2467
+ };
2468
+ //#endregion
2469
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ms.d.cts
2470
+ declare function _default$23(): {
2471
+ localeError: $ZodErrorMap;
2472
+ };
2473
+ //#endregion
2474
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/nl.d.cts
2475
+ declare function _default$22(): {
2476
+ localeError: $ZodErrorMap;
2477
+ };
2478
+ //#endregion
2479
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/no.d.cts
2480
+ declare function _default$21(): {
2481
+ localeError: $ZodErrorMap;
2482
+ };
2483
+ //#endregion
2484
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ota.d.cts
2485
+ declare function _default$20(): {
2486
+ localeError: $ZodErrorMap;
2487
+ };
2488
+ //#endregion
2489
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ps.d.cts
2490
+ declare function _default$19(): {
2491
+ localeError: $ZodErrorMap;
2492
+ };
2493
+ //#endregion
2494
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pl.d.cts
2495
+ declare function _default$18(): {
2496
+ localeError: $ZodErrorMap;
2497
+ };
2498
+ //#endregion
2499
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/pt.d.cts
2500
+ declare function _default$17(): {
2501
+ localeError: $ZodErrorMap;
2502
+ };
2503
+ //#endregion
2504
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ro.d.cts
2505
+ declare function _default$16(): {
2506
+ localeError: $ZodErrorMap;
2507
+ };
2508
+ //#endregion
2509
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ru.d.cts
2510
+ declare function _default$15(): {
2511
+ localeError: $ZodErrorMap;
2512
+ };
2513
+ //#endregion
2514
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sl.d.cts
2515
+ declare function _default$14(): {
2516
+ localeError: $ZodErrorMap;
2517
+ };
2518
+ //#endregion
2519
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/sv.d.cts
2520
+ declare function _default$13(): {
2521
+ localeError: $ZodErrorMap;
2522
+ };
2523
+ //#endregion
2524
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ta.d.cts
2525
+ declare function _default$12(): {
2526
+ localeError: $ZodErrorMap;
2527
+ };
2528
+ //#endregion
2529
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/th.d.cts
2530
+ declare function _default$11(): {
2531
+ localeError: $ZodErrorMap;
2532
+ };
2533
+ //#endregion
2534
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/tr.d.cts
2535
+ declare function _default$10(): {
2536
+ localeError: $ZodErrorMap;
2537
+ };
2538
+ //#endregion
2539
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ua.d.cts
2540
+ declare function _default$9(): {
2541
+ localeError: $ZodErrorMap;
2542
+ };
2543
+ //#endregion
2544
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uk.d.cts
2545
+ declare function _default$8(): {
2546
+ localeError: $ZodErrorMap;
2547
+ };
2548
+ //#endregion
2549
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/ur.d.cts
2550
+ declare function _default$7(): {
2551
+ localeError: $ZodErrorMap;
2552
+ };
2553
+ //#endregion
2554
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/uz.d.cts
2555
+ declare function _default$6(): {
2556
+ localeError: $ZodErrorMap;
2557
+ };
2558
+ //#endregion
2559
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/vi.d.cts
2560
+ declare function _default$5(): {
2561
+ localeError: $ZodErrorMap;
2562
+ };
2563
+ //#endregion
2564
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-CN.d.cts
2565
+ declare function _default$4(): {
2566
+ localeError: $ZodErrorMap;
2567
+ };
2568
+ //#endregion
2569
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/zh-TW.d.cts
2570
+ declare function _default$3(): {
2571
+ localeError: $ZodErrorMap;
2572
+ };
2573
+ //#endregion
2574
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/yo.d.cts
2575
+ declare function _default$2(): {
2576
+ localeError: $ZodErrorMap;
2577
+ };
2578
+ declare namespace index_d_exports$1 {
2579
+ export { _default$53 as ar, _default$52 as az, _default$51 as be, _default$50 as bg, _default$49 as ca, _default$48 as cs, _default$47 as da, _default$46 as de, _default$45 as el, _default$44 as en, _default$43 as eo, _default$42 as es, _default$41 as fa, _default$40 as fi, _default$39 as fr, _default$38 as frCA, _default$37 as he, _default$36 as hr, _default$35 as hu, _default$34 as hy, _default$33 as id, _default$32 as is, _default$31 as it, _default$30 as ja, _default$29 as ka, _default$28 as kh, _default$27 as km, _default$26 as ko, _default$25 as lt, _default$24 as mk, _default$23 as ms, _default$22 as nl, _default$21 as no, _default$20 as ota, _default$18 as pl, _default$19 as ps, _default$17 as pt, _default$16 as ro, _default$15 as ru, _default$14 as sl, _default$13 as sv, _default$12 as ta, _default$11 as th, _default$10 as tr, _default$9 as ua, _default$8 as uk, _default$7 as ur, _default$6 as uz, _default$5 as vi, _default$2 as yo, _default$4 as zhCN, _default$3 as zhTW };
2580
+ }
2581
+ //#endregion
2582
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.d.cts
2583
+ type ModeWriter = (doc: Doc, modes: {
2584
+ execution: "sync" | "async";
2585
+ }) => void;
2586
+ declare class Doc {
2587
+ args: string[];
2588
+ content: string[];
2589
+ indent: number;
2590
+ constructor(args?: string[]);
2591
+ indented(fn: (doc: Doc) => void): void;
2592
+ write(fn: ModeWriter): void;
2593
+ write(line: string): void;
2594
+ compile(): any;
2595
+ }
1691
2596
  //#endregion
1692
2597
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.d.cts
1693
2598
  type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
@@ -1700,52 +2605,271 @@ type TypeParams<T extends $ZodType = $ZodType & {
1700
2605
  }, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
1701
2606
  type CheckParams<T extends $ZodCheck = $ZodCheck // & { _issc: never },
1702
2607
  , AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
2608
+ type StringFormatParams<T extends $ZodStringFormat = $ZodStringFormat, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never> = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
1703
2609
  type CheckStringFormatParams<T extends $ZodStringFormat = $ZodStringFormat, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "coerce" | "checks" | "error" | "check" | "format"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "type" | "coerce" | "checks" | "error" | "check" | "format" | AlsoOmit>;
1704
2610
  type CheckTypeParams<T extends $ZodType & $ZodCheck = $ZodType & $ZodCheck, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error" | "check"> = never> = Params<T, NonNullable<T["_zod"]["isst"] | T["_zod"]["issc"]>, "type" | "checks" | "error" | "check" | AlsoOmit>;
2611
+ type $ZodStringParams = TypeParams<$ZodString<string>, "coerce">;
2612
+ declare function _string<T extends $ZodString>(Class: SchemaClass<T>, params?: string | $ZodStringParams): T;
2613
+ declare function _coercedString<T extends $ZodString>(Class: SchemaClass<T>, params?: string | $ZodStringParams): T;
2614
+ type $ZodStringFormatParams = CheckTypeParams<$ZodStringFormat, "format" | "coerce" | "when" | "pattern">;
2615
+ type $ZodCheckStringFormatParams = CheckParams<$ZodCheckStringFormat, "format">;
2616
+ type $ZodEmailParams = StringFormatParams<$ZodEmail, "when">;
1705
2617
  type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
2618
+ declare function _email<T extends $ZodEmail>(Class: SchemaClass<T>, params?: string | $ZodEmailParams | $ZodCheckEmailParams): T;
2619
+ type $ZodGUIDParams = StringFormatParams<$ZodGUID, "pattern" | "when">;
1706
2620
  type $ZodCheckGUIDParams = CheckStringFormatParams<$ZodGUID, "pattern" | "when">;
2621
+ declare function _guid<T extends $ZodGUID>(Class: SchemaClass<T>, params?: string | $ZodGUIDParams | $ZodCheckGUIDParams): T;
2622
+ type $ZodUUIDParams = StringFormatParams<$ZodUUID, "pattern" | "when">;
1707
2623
  type $ZodCheckUUIDParams = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
2624
+ declare function _uuid<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDParams | $ZodCheckUUIDParams): T;
2625
+ type $ZodUUIDv4Params = StringFormatParams<$ZodUUID, "pattern" | "when">;
2626
+ type $ZodCheckUUIDv4Params = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
2627
+ declare function _uuidv4<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params): T;
2628
+ type $ZodUUIDv6Params = StringFormatParams<$ZodUUID, "pattern" | "when">;
2629
+ type $ZodCheckUUIDv6Params = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
2630
+ declare function _uuidv6<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDv6Params | $ZodCheckUUIDv6Params): T;
2631
+ type $ZodUUIDv7Params = StringFormatParams<$ZodUUID, "pattern" | "when">;
2632
+ type $ZodCheckUUIDv7Params = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
2633
+ declare function _uuidv7<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDv7Params | $ZodCheckUUIDv7Params): T;
2634
+ type $ZodURLParams = StringFormatParams<$ZodURL, "when">;
1708
2635
  type $ZodCheckURLParams = CheckStringFormatParams<$ZodURL, "when">;
2636
+ declare function _url<T extends $ZodURL>(Class: SchemaClass<T>, params?: string | $ZodURLParams | $ZodCheckURLParams): T;
2637
+ type $ZodEmojiParams = StringFormatParams<$ZodEmoji, "when">;
1709
2638
  type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji, "when">;
2639
+ declare function _emoji<T extends $ZodEmoji>(Class: SchemaClass<T>, params?: string | $ZodEmojiParams | $ZodCheckEmojiParams): T;
2640
+ type $ZodNanoIDParams = StringFormatParams<$ZodNanoID, "when">;
1710
2641
  type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when">;
2642
+ declare function _nanoid<T extends $ZodNanoID>(Class: SchemaClass<T>, params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams): T;
2643
+ /**
2644
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
2645
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
2646
+ * See https://github.com/paralleldrive/cuid.
2647
+ */
2648
+ type $ZodCUIDParams = StringFormatParams<$ZodCUID, "when">;
1711
2649
  /**
1712
2650
  * @deprecated CUID v1 is deprecated by its authors due to information leakage
1713
2651
  * (timestamps embedded in the id). Use {@link _cuid2} instead.
1714
2652
  * See https://github.com/paralleldrive/cuid.
1715
2653
  */
1716
2654
  type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID, "when">;
2655
+ /**
2656
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
2657
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
2658
+ * See https://github.com/paralleldrive/cuid.
2659
+ */
2660
+ declare function _cuid<T extends $ZodCUID>(Class: SchemaClass<T>, params?: string | $ZodCUIDParams | $ZodCheckCUIDParams): T;
2661
+ type $ZodCUID2Params = StringFormatParams<$ZodCUID2, "when">;
1717
2662
  type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2, "when">;
2663
+ declare function _cuid2<T extends $ZodCUID2>(Class: SchemaClass<T>, params?: string | $ZodCUID2Params | $ZodCheckCUID2Params): T;
2664
+ type $ZodULIDParams = StringFormatParams<$ZodULID, "when">;
1718
2665
  type $ZodCheckULIDParams = CheckStringFormatParams<$ZodULID, "when">;
2666
+ declare function _ulid<T extends $ZodULID>(Class: SchemaClass<T>, params?: string | $ZodULIDParams | $ZodCheckULIDParams): T;
2667
+ type $ZodXIDParams = StringFormatParams<$ZodXID, "when">;
1719
2668
  type $ZodCheckXIDParams = CheckStringFormatParams<$ZodXID, "when">;
2669
+ declare function _xid<T extends $ZodXID>(Class: SchemaClass<T>, params?: string | $ZodXIDParams | $ZodCheckXIDParams): T;
2670
+ type $ZodKSUIDParams = StringFormatParams<$ZodKSUID, "when">;
1720
2671
  type $ZodCheckKSUIDParams = CheckStringFormatParams<$ZodKSUID, "when">;
2672
+ declare function _ksuid<T extends $ZodKSUID>(Class: SchemaClass<T>, params?: string | $ZodKSUIDParams | $ZodCheckKSUIDParams): T;
2673
+ type $ZodIPv4Params = StringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
1721
2674
  type $ZodCheckIPv4Params = CheckStringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
2675
+ declare function _ipv4<T extends $ZodIPv4>(Class: SchemaClass<T>, params?: string | $ZodIPv4Params | $ZodCheckIPv4Params): T;
2676
+ type $ZodIPv6Params = StringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
1722
2677
  type $ZodCheckIPv6Params = CheckStringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
2678
+ declare function _ipv6<T extends $ZodIPv6>(Class: SchemaClass<T>, params?: string | $ZodIPv6Params | $ZodCheckIPv6Params): T;
2679
+ type $ZodMACParams = StringFormatParams<$ZodMAC, "pattern" | "when">;
2680
+ type $ZodCheckMACParams = CheckStringFormatParams<$ZodMAC, "pattern" | "when">;
2681
+ declare function _mac<T extends $ZodMAC>(Class: SchemaClass<T>, params?: string | $ZodMACParams | $ZodCheckMACParams): T;
2682
+ type $ZodCIDRv4Params = StringFormatParams<$ZodCIDRv4, "pattern" | "when">;
1723
2683
  type $ZodCheckCIDRv4Params = CheckStringFormatParams<$ZodCIDRv4, "pattern" | "when">;
2684
+ declare function _cidrv4<T extends $ZodCIDRv4>(Class: SchemaClass<T>, params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params): T;
2685
+ type $ZodCIDRv6Params = StringFormatParams<$ZodCIDRv6, "pattern" | "when">;
1724
2686
  type $ZodCheckCIDRv6Params = CheckStringFormatParams<$ZodCIDRv6, "pattern" | "when">;
2687
+ declare function _cidrv6<T extends $ZodCIDRv6>(Class: SchemaClass<T>, params?: string | $ZodCIDRv6Params | $ZodCheckCIDRv6Params): T;
2688
+ type $ZodBase64Params = StringFormatParams<$ZodBase64, "pattern" | "when">;
1725
2689
  type $ZodCheckBase64Params = CheckStringFormatParams<$ZodBase64, "pattern" | "when">;
2690
+ declare function _base64<T extends $ZodBase64>(Class: SchemaClass<T>, params?: string | $ZodBase64Params | $ZodCheckBase64Params): T;
2691
+ type $ZodBase64URLParams = StringFormatParams<$ZodBase64URL, "pattern" | "when">;
1726
2692
  type $ZodCheckBase64URLParams = CheckStringFormatParams<$ZodBase64URL, "pattern" | "when">;
2693
+ declare function _base64url<T extends $ZodBase64URL>(Class: SchemaClass<T>, params?: string | $ZodBase64URLParams | $ZodCheckBase64URLParams): T;
2694
+ type $ZodE164Params = StringFormatParams<$ZodE164, "when">;
1727
2695
  type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164, "when">;
2696
+ declare function _e164<T extends $ZodE164>(Class: SchemaClass<T>, params?: string | $ZodE164Params | $ZodCheckE164Params): T;
2697
+ type $ZodJWTParams = StringFormatParams<$ZodJWT, "pattern" | "when">;
1728
2698
  type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern" | "when">;
2699
+ declare function _jwt<T extends $ZodJWT>(Class: SchemaClass<T>, params?: string | $ZodJWTParams | $ZodCheckJWTParams): T;
2700
+ declare const TimePrecision: {
2701
+ readonly Any: null;
2702
+ readonly Minute: -1;
2703
+ readonly Second: 0;
2704
+ readonly Millisecond: 3;
2705
+ readonly Microsecond: 6;
2706
+ };
2707
+ type $ZodISODateTimeParams = StringFormatParams<$ZodISODateTime, "pattern" | "when">;
1729
2708
  type $ZodCheckISODateTimeParams = CheckStringFormatParams<$ZodISODateTime, "pattern" | "when">;
2709
+ declare function _isoDateTime<T extends $ZodISODateTime>(Class: SchemaClass<T>, params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams): T;
2710
+ type $ZodISODateParams = StringFormatParams<$ZodISODate, "pattern" | "when">;
1730
2711
  type $ZodCheckISODateParams = CheckStringFormatParams<$ZodISODate, "pattern" | "when">;
2712
+ declare function _isoDate<T extends $ZodISODate>(Class: SchemaClass<T>, params?: string | $ZodISODateParams | $ZodCheckISODateParams): T;
2713
+ type $ZodISOTimeParams = StringFormatParams<$ZodISOTime, "pattern" | "when">;
1731
2714
  type $ZodCheckISOTimeParams = CheckStringFormatParams<$ZodISOTime, "pattern" | "when">;
2715
+ declare function _isoTime<T extends $ZodISOTime>(Class: SchemaClass<T>, params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams): T;
2716
+ type $ZodISODurationParams = StringFormatParams<$ZodISODuration, "when">;
1732
2717
  type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration, "when">;
2718
+ declare function _isoDuration<T extends $ZodISODuration>(Class: SchemaClass<T>, params?: string | $ZodISODurationParams | $ZodCheckISODurationParams): T;
2719
+ type $ZodNumberParams = TypeParams<$ZodNumber<number>, "coerce">;
2720
+ type $ZodNumberFormatParams = CheckTypeParams<$ZodNumberFormat, "format" | "coerce">;
1733
2721
  type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format" | "when">;
2722
+ declare function _number<T extends $ZodNumber>(Class: SchemaClass<T>, params?: string | $ZodNumberParams): T;
2723
+ declare function _coercedNumber<T extends $ZodNumber>(Class: SchemaClass<T>, params?: string | $ZodNumberParams): T;
2724
+ declare function _int<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
2725
+ declare function _float32<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
2726
+ declare function _float64<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
2727
+ declare function _int32<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
2728
+ declare function _uint32<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
2729
+ type $ZodBooleanParams = TypeParams<$ZodBoolean<boolean>, "coerce">;
2730
+ declare function _boolean<T extends $ZodBoolean>(Class: SchemaClass<T>, params?: string | $ZodBooleanParams): T;
2731
+ declare function _coercedBoolean<T extends $ZodBoolean>(Class: SchemaClass<T>, params?: string | $ZodBooleanParams): T;
2732
+ type $ZodBigIntParams = TypeParams<$ZodBigInt<bigint>>;
2733
+ type $ZodBigIntFormatParams = CheckTypeParams<$ZodBigIntFormat, "format" | "coerce">;
2734
+ type $ZodCheckBigIntFormatParams = CheckParams<$ZodCheckBigIntFormat, "format" | "when">;
2735
+ declare function _bigint<T extends $ZodBigInt>(Class: SchemaClass<T>, params?: string | $ZodBigIntParams): T;
2736
+ declare function _coercedBigint<T extends $ZodBigInt>(Class: SchemaClass<T>, params?: string | $ZodBigIntParams): T;
2737
+ declare function _int64<T extends $ZodBigIntFormat>(Class: SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;
2738
+ declare function _uint64<T extends $ZodBigIntFormat>(Class: SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;
2739
+ type $ZodSymbolParams = TypeParams<$ZodSymbol>;
2740
+ declare function _symbol<T extends $ZodSymbol>(Class: SchemaClass<T>, params?: string | $ZodSymbolParams): T;
2741
+ type $ZodUndefinedParams = TypeParams<$ZodUndefined>;
2742
+ declare function _undefined$1<T extends $ZodUndefined>(Class: SchemaClass<T>, params?: string | $ZodUndefinedParams): T;
2743
+ type $ZodNullParams = TypeParams<$ZodNull>;
2744
+ declare function _null$1<T extends $ZodNull>(Class: SchemaClass<T>, params?: string | $ZodNullParams): T;
2745
+ type $ZodAnyParams = TypeParams<$ZodAny>;
2746
+ declare function _any<T extends $ZodAny>(Class: SchemaClass<T>): T;
2747
+ type $ZodUnknownParams = TypeParams<$ZodUnknown>;
2748
+ declare function _unknown<T extends $ZodUnknown>(Class: SchemaClass<T>): T;
2749
+ type $ZodNeverParams = TypeParams<$ZodNever>;
2750
+ declare function _never<T extends $ZodNever>(Class: SchemaClass<T>, params?: string | $ZodNeverParams): T;
2751
+ type $ZodVoidParams = TypeParams<$ZodVoid>;
2752
+ declare function _void$1<T extends $ZodVoid>(Class: SchemaClass<T>, params?: string | $ZodVoidParams): T;
2753
+ type $ZodDateParams = TypeParams<$ZodDate, "coerce">;
2754
+ declare function _date<T extends $ZodDate>(Class: SchemaClass<T>, params?: string | $ZodDateParams): T;
2755
+ declare function _coercedDate<T extends $ZodDate>(Class: SchemaClass<T>, params?: string | $ZodDateParams): T;
2756
+ type $ZodNaNParams = TypeParams<$ZodNaN>;
2757
+ declare function _nan<T extends $ZodNaN>(Class: SchemaClass<T>, params?: string | $ZodNaNParams): T;
1734
2758
  type $ZodCheckLessThanParams = CheckParams<$ZodCheckLessThan, "inclusive" | "value" | "when">;
2759
+ declare function _lt(value: Numeric, params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan<Numeric>;
2760
+ declare function _lte(value: Numeric, params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan<Numeric>;
1735
2761
  type $ZodCheckGreaterThanParams = CheckParams<$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
2762
+ declare function _gt(value: Numeric, params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
2763
+ declare function _gte(value: Numeric, params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
2764
+ declare function _positive(params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
2765
+ declare function _negative(params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan;
2766
+ declare function _nonpositive(params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan;
2767
+ declare function _nonnegative(params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
1736
2768
  type $ZodCheckMultipleOfParams = CheckParams<$ZodCheckMultipleOf, "value" | "when">;
2769
+ declare function _multipleOf(value: number | bigint, params?: string | $ZodCheckMultipleOfParams): $ZodCheckMultipleOf;
2770
+ type $ZodCheckMaxSizeParams = CheckParams<$ZodCheckMaxSize, "maximum" | "when">;
2771
+ declare function _maxSize(maximum: number, params?: string | $ZodCheckMaxSizeParams): $ZodCheckMaxSize<HasSize>;
2772
+ type $ZodCheckMinSizeParams = CheckParams<$ZodCheckMinSize, "minimum" | "when">;
2773
+ declare function _minSize(minimum: number, params?: string | $ZodCheckMinSizeParams): $ZodCheckMinSize<HasSize>;
2774
+ type $ZodCheckSizeEqualsParams = CheckParams<$ZodCheckSizeEquals, "size" | "when">;
2775
+ declare function _size(size: number, params?: string | $ZodCheckSizeEqualsParams): $ZodCheckSizeEquals<HasSize>;
1737
2776
  type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum" | "when">;
2777
+ declare function _maxLength(maximum: number, params?: string | $ZodCheckMaxLengthParams): $ZodCheckMaxLength<HasLength>;
1738
2778
  type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum" | "when">;
2779
+ declare function _minLength(minimum: number, params?: string | $ZodCheckMinLengthParams): $ZodCheckMinLength<HasLength>;
1739
2780
  type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length" | "when">;
2781
+ declare function _length(length: number, params?: string | $ZodCheckLengthEqualsParams): $ZodCheckLengthEquals<HasLength>;
1740
2782
  type $ZodCheckRegexParams = CheckParams<$ZodCheckRegex, "format" | "pattern" | "when">;
2783
+ declare function _regex(pattern: RegExp, params?: string | $ZodCheckRegexParams): $ZodCheckRegex;
1741
2784
  type $ZodCheckLowerCaseParams = CheckParams<$ZodCheckLowerCase, "format" | "when">;
2785
+ declare function _lowercase(params?: string | $ZodCheckLowerCaseParams): $ZodCheckLowerCase;
1742
2786
  type $ZodCheckUpperCaseParams = CheckParams<$ZodCheckUpperCase, "format" | "when">;
2787
+ declare function _uppercase(params?: string | $ZodCheckUpperCaseParams): $ZodCheckUpperCase;
1743
2788
  type $ZodCheckIncludesParams = CheckParams<$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
2789
+ declare function _includes(includes: string, params?: string | $ZodCheckIncludesParams): $ZodCheckIncludes;
1744
2790
  type $ZodCheckStartsWithParams = CheckParams<$ZodCheckStartsWith, "prefix" | "format" | "when" | "pattern">;
2791
+ declare function _startsWith(prefix: string, params?: string | $ZodCheckStartsWithParams): $ZodCheckStartsWith;
1745
2792
  type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
2793
+ declare function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): $ZodCheckEndsWith;
2794
+ type $ZodCheckPropertyParams = CheckParams<$ZodCheckProperty, "property" | "schema" | "when">;
2795
+ declare function _property<K extends string, T extends $ZodType>(property: K, schema: T, params?: string | $ZodCheckPropertyParams): $ZodCheckProperty<{ [k in K]: output<T>; }>;
2796
+ type $ZodCheckMimeTypeParams = CheckParams<$ZodCheckMimeType, "mime" | "when">;
2797
+ declare function _mime(types: MimeTypes[], params?: string | $ZodCheckMimeTypeParams): $ZodCheckMimeType;
2798
+ declare function _overwrite<T>(tx: (input: T) => T): $ZodCheckOverwrite<T>;
2799
+ declare function _normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): $ZodCheckOverwrite<string>;
2800
+ declare function _trim(): $ZodCheckOverwrite<string>;
2801
+ declare function _toLowerCase(): $ZodCheckOverwrite<string>;
2802
+ declare function _toUpperCase(): $ZodCheckOverwrite<string>;
2803
+ declare function _slugify(): $ZodCheckOverwrite<string>;
2804
+ type $ZodArrayParams = TypeParams<$ZodArray, "element">;
2805
+ declare function _array<T extends $ZodType>(Class: SchemaClass<$ZodArray>, element: T, params?: string | $ZodArrayParams): $ZodArray<T>;
2806
+ type $ZodObjectParams = TypeParams<$ZodObject, "shape" | "catchall">;
2807
+ type $ZodUnionParams = TypeParams<$ZodUnion, "options">;
2808
+ declare function _union<const T extends readonly $ZodObject[]>(Class: SchemaClass<$ZodUnion>, options: T, params?: string | $ZodUnionParams): $ZodUnion<T>;
2809
+ type $ZodXorParams = TypeParams<$ZodXor, "options">;
2810
+ declare function _xor<const T extends readonly $ZodObject[]>(Class: SchemaClass<$ZodXor>, options: T, params?: string | $ZodXorParams): $ZodXor<T>;
2811
+ interface $ZodTypeDiscriminableInternals<Disc extends string = string> extends $ZodTypeInternals<unknown, { [K in Disc]?: unknown; }> {
2812
+ propValues: PropValues;
2813
+ }
2814
+ interface $ZodTypeDiscriminable<Disc extends string = string> extends $ZodType {
2815
+ _zod: $ZodTypeDiscriminableInternals<Disc>;
2816
+ }
2817
+ type $ZodDiscriminatedUnionParams = TypeParams<$ZodDiscriminatedUnion, "options" | "discriminator">;
2818
+ declare function _discriminatedUnion<Types extends [$ZodTypeDiscriminable<Disc>, ...$ZodTypeDiscriminable<Disc>[]], Disc extends string>(Class: SchemaClass<$ZodDiscriminatedUnion>, discriminator: Disc, options: Types, params?: string | $ZodDiscriminatedUnionParams): $ZodDiscriminatedUnion<Types, Disc>;
2819
+ type $ZodIntersectionParams = TypeParams<$ZodIntersection, "left" | "right">;
2820
+ declare function _intersection<T extends $ZodObject, U extends $ZodObject>(Class: SchemaClass<$ZodIntersection>, left: T, right: U): $ZodIntersection<T, U>;
2821
+ type $ZodTupleParams = TypeParams<$ZodTuple, "items" | "rest">;
2822
+ declare function _tuple<T extends readonly [$ZodType, ...$ZodType[]]>(Class: SchemaClass<$ZodTuple>, items: T, params?: string | $ZodTupleParams): $ZodTuple<T, null>;
2823
+ declare function _tuple<T extends readonly [$ZodType, ...$ZodType[]], Rest extends $ZodType>(Class: SchemaClass<$ZodTuple>, items: T, rest: Rest, params?: string | $ZodTupleParams): $ZodTuple<T, Rest>;
2824
+ type $ZodRecordParams = TypeParams<$ZodRecord, "keyType" | "valueType">;
2825
+ declare function _record<Key extends $ZodRecordKey, Value extends $ZodObject>(Class: SchemaClass<$ZodRecord>, keyType: Key, valueType: Value, params?: string | $ZodRecordParams): $ZodRecord<Key, Value>;
2826
+ type $ZodMapParams = TypeParams<$ZodMap, "keyType" | "valueType">;
2827
+ declare function _map<Key extends $ZodObject, Value extends $ZodObject>(Class: SchemaClass<$ZodMap>, keyType: Key, valueType: Value, params?: string | $ZodMapParams): $ZodMap<Key, Value>;
2828
+ type $ZodSetParams = TypeParams<$ZodSet, "valueType">;
2829
+ declare function _set<Value extends $ZodObject>(Class: SchemaClass<$ZodSet>, valueType: Value, params?: string | $ZodSetParams): $ZodSet<Value>;
1746
2830
  type $ZodEnumParams = TypeParams<$ZodEnum, "entries">;
2831
+ declare function _enum$1<const T extends string[]>(Class: SchemaClass<$ZodEnum>, values: T, params?: string | $ZodEnumParams): $ZodEnum<ToEnum<T[number]>>;
2832
+ declare function _enum$1<T extends EnumLike>(Class: SchemaClass<$ZodEnum>, entries: T, params?: string | $ZodEnumParams): $ZodEnum<T>;
2833
+ /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
2834
+ *
2835
+ * ```ts
2836
+ * enum Colors { red, green, blue }
2837
+ * z.enum(Colors);
2838
+ * ```
2839
+ */
2840
+ declare function _nativeEnum<T extends EnumLike>(Class: SchemaClass<$ZodEnum>, entries: T, params?: string | $ZodEnumParams): $ZodEnum<T>;
2841
+ type $ZodLiteralParams = TypeParams<$ZodLiteral, "values">;
2842
+ declare function _literal<const T extends Array<Literal>>(Class: SchemaClass<$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): $ZodLiteral<T[number]>;
2843
+ declare function _literal<const T extends Literal>(Class: SchemaClass<$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): $ZodLiteral<T>;
2844
+ type $ZodFileParams = TypeParams<$ZodFile>;
2845
+ declare function _file(Class: SchemaClass<$ZodFile>, params?: string | $ZodFileParams): $ZodFile;
2846
+ type $ZodTransformParams = TypeParams<$ZodTransform, "transform">;
2847
+ declare function _transform<I = unknown, O = I>(Class: SchemaClass<$ZodTransform>, fn: (input: I, ctx?: ParsePayload) => O): $ZodTransform<Awaited<O>, I>;
2848
+ type $ZodOptionalParams = TypeParams<$ZodOptional, "innerType">;
2849
+ declare function _optional<T extends $ZodObject>(Class: SchemaClass<$ZodOptional>, innerType: T): $ZodOptional<T>;
2850
+ type $ZodNullableParams = TypeParams<$ZodNullable, "innerType">;
2851
+ declare function _nullable<T extends $ZodObject>(Class: SchemaClass<$ZodNullable>, innerType: T): $ZodNullable<T>;
2852
+ type $ZodDefaultParams = TypeParams<$ZodDefault, "innerType" | "defaultValue">;
2853
+ declare function _default$1<T extends $ZodObject>(Class: SchemaClass<$ZodDefault>, innerType: T, defaultValue: NoUndefined<output<T>> | (() => NoUndefined<output<T>>)): $ZodDefault<T>;
1747
2854
  type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
2855
+ declare function _nonoptional<T extends $ZodObject>(Class: SchemaClass<$ZodNonOptional>, innerType: T, params?: string | $ZodNonOptionalParams): $ZodNonOptional<T>;
2856
+ type $ZodSuccessParams = TypeParams<$ZodSuccess, "innerType">;
2857
+ declare function _success<T extends $ZodObject>(Class: SchemaClass<$ZodSuccess>, innerType: T): $ZodSuccess<T>;
2858
+ type $ZodCatchParams = TypeParams<$ZodCatch, "innerType" | "catchValue">;
2859
+ declare function _catch$1<T extends $ZodObject>(Class: SchemaClass<$ZodCatch>, innerType: T, catchValue: output<T> | ((ctx: $ZodCatchCtx) => output<T>)): $ZodCatch<T>;
2860
+ type $ZodPipeParams = TypeParams<$ZodPipe, "in" | "out">;
2861
+ declare function _pipe<const A extends $ZodType, B extends $ZodType<unknown, output<A>> = $ZodType<unknown, output<A>>>(Class: SchemaClass<$ZodPipe>, in_: A, out: B | $ZodType<unknown, output<A>>): $ZodPipe<A, B>;
2862
+ type $ZodReadonlyParams = TypeParams<$ZodReadonly, "innerType">;
2863
+ declare function _readonly<T extends $ZodObject>(Class: SchemaClass<$ZodReadonly>, innerType: T): $ZodReadonly<T>;
2864
+ type $ZodTemplateLiteralParams = TypeParams<$ZodTemplateLiteral, "parts">;
2865
+ declare function _templateLiteral<const Parts extends $ZodTemplateLiteralPart[]>(Class: SchemaClass<$ZodTemplateLiteral>, parts: Parts, params?: string | $ZodTemplateLiteralParams): $ZodTemplateLiteral<$PartsToTemplateLiteral<Parts>>;
2866
+ type $ZodLazyParams = TypeParams<$ZodLazy, "getter">;
2867
+ declare function _lazy<T extends $ZodType>(Class: SchemaClass<$ZodLazy>, getter: () => T): $ZodLazy<T>;
2868
+ type $ZodPromiseParams = TypeParams<$ZodPromise, "innerType">;
2869
+ declare function _promise<T extends $ZodObject>(Class: SchemaClass<$ZodPromise>, innerType: T): $ZodPromise<T>;
1748
2870
  type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
2871
+ declare function _custom<O = unknown, I = O>(Class: SchemaClass<$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): $ZodCustom<O, I>;
2872
+ declare function _refine<O = unknown, I = O>(Class: SchemaClass<$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): $ZodCustom<O, I>;
1749
2873
  type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
1750
2874
  type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1751
2875
  /** The schema or check that originated this issue. */
@@ -1760,8 +2884,103 @@ interface $ZodSuperRefineParams {
1760
2884
  /** If provided, the refinement runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */
1761
2885
  when?: ((payload: ParsePayload) => boolean) | undefined;
1762
2886
  }
2887
+ declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>, params?: $ZodSuperRefineParams): $ZodCheck<T>;
2888
+ declare function _check<O = unknown>(fn: CheckFn<O>, params?: string | $ZodCustomParams): $ZodCheck<O>;
2889
+ declare function describe$1<T>(description: string): $ZodCheck<T>;
2890
+ declare function meta$1<T>(metadata: GlobalMeta): $ZodCheck<T>;
2891
+ interface $ZodStringBoolParams extends TypeParams {
2892
+ truthy?: string[];
2893
+ falsy?: string[];
2894
+ /**
2895
+ * Options: `"sensitive"`, `"insensitive"`
2896
+ *
2897
+ * @default `"insensitive"`
2898
+ */
2899
+ case?: "sensitive" | "insensitive" | undefined;
2900
+ }
2901
+ declare function _stringbool(Classes: {
2902
+ Codec?: typeof $ZodCodec;
2903
+ Boolean?: typeof $ZodBoolean;
2904
+ String?: typeof $ZodString;
2905
+ }, _params?: string | $ZodStringBoolParams): $ZodCodec<$ZodString, $ZodBoolean>;
2906
+ declare function _stringFormat<Format extends string>(Class: typeof $ZodCustomStringFormat, format: Format, fnOrRegex: ((arg: string) => MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): $ZodCustomStringFormat<Format>;
2907
+ //#endregion
2908
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.d.cts
2909
+ declare function toJSONSchema<T extends $ZodType>(schema: T, params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<T>;
2910
+ declare function toJSONSchema(registry: $ZodRegistry<{
2911
+ id?: string | undefined;
2912
+ }>, params?: RegistryToJSONSchemaParams): {
2913
+ schemas: Record<string, ZodStandardJSONSchemaPayload<$ZodType>>;
2914
+ };
2915
+ //#endregion
2916
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-generator.d.cts
2917
+ /**
2918
+ * Parameters for the emit method of JSONSchemaGenerator.
2919
+ * @deprecated Use toJSONSchema function instead
2920
+ */
2921
+ type EmitParams = Pick<JSONSchemaGeneratorParams, "cycles" | "reused" | "external">;
2922
+ /**
2923
+ * Parameters for JSONSchemaGenerator constructor.
2924
+ * @deprecated Use toJSONSchema function instead
2925
+ */
2926
+ type JSONSchemaGeneratorConstructorParams = Pick<JSONSchemaGeneratorParams, "metadata" | "target" | "unrepresentable" | "override" | "io">;
2927
+ /**
2928
+ * Legacy class-based interface for JSON Schema generation.
2929
+ * This class wraps the new functional implementation to provide backward compatibility.
2930
+ *
2931
+ * @deprecated Use the `toJSONSchema` function instead for new code.
2932
+ *
2933
+ * @example
2934
+ * ```typescript
2935
+ * // Legacy usage (still supported)
2936
+ * const gen = new JSONSchemaGenerator({ target: "draft-07" });
2937
+ * gen.process(schema);
2938
+ * const result = gen.emit(schema);
2939
+ *
2940
+ * // Preferred modern usage
2941
+ * const result = toJSONSchema(schema, { target: "draft-07" });
2942
+ * ```
2943
+ */
2944
+ declare class JSONSchemaGenerator {
2945
+ private ctx;
2946
+ /** @deprecated Access via ctx instead */
2947
+ get metadataRegistry(): $ZodRegistry<Record<string, any>>;
2948
+ /** @deprecated Access via ctx instead */
2949
+ get target(): ({} & string) | "draft-2020-12" | "draft-07" | "openapi-3.0" | "draft-04";
2950
+ /** @deprecated Access via ctx instead */
2951
+ get unrepresentable(): "any" | "throw";
2952
+ /** @deprecated Access via ctx instead */
2953
+ get override(): (ctx: {
2954
+ zodSchema: $ZodType;
2955
+ jsonSchema: BaseSchema;
2956
+ path: (string | number)[];
2957
+ }) => void;
2958
+ /** @deprecated Access via ctx instead */
2959
+ get io(): "input" | "output";
2960
+ /** @deprecated Access via ctx instead */
2961
+ get counter(): number;
2962
+ set counter(value: number);
2963
+ /** @deprecated Access via ctx instead */
2964
+ get seen(): Map<$ZodType, Seen>;
2965
+ constructor(params?: JSONSchemaGeneratorConstructorParams);
2966
+ /**
2967
+ * Process a schema to prepare it for JSON Schema generation.
2968
+ * This must be called before emit().
2969
+ */
2970
+ process(schema: $ZodType, _params?: ProcessParams): BaseSchema;
2971
+ /**
2972
+ * Emit the final JSON Schema after processing.
2973
+ * Must call process() first.
2974
+ */
2975
+ emit(schema: $ZodType, _params?: EmitParams): BaseSchema;
2976
+ }
2977
+ declare namespace index_d_exports {
2978
+ export { $Decode, $DecodeAsync, $Encode, $EncodeAsync, $InferEnumInput, $InferEnumOutput, $InferInnerFunctionType, $InferInnerFunctionTypeAsync, $InferObjectInput, $InferObjectOutput, $InferOuterFunctionType, $InferOuterFunctionTypeAsync, $InferTupleInputType, $InferTupleOutputType, $InferUnionInput, $InferUnionOutput, $InferZodRecordInput, $InferZodRecordOutput, $Parse, $ParseAsync, $PartsToTemplateLiteral, $RefinementCtx, $SafeDecode, $SafeDecodeAsync, $SafeEncode, $SafeEncodeAsync, $SafeParse, $SafeParseAsync, $ZodAny, $ZodAnyDef, $ZodAnyInternals, $ZodAnyParams, $ZodArray, $ZodArrayDef, $ZodArrayInternals, $ZodArrayParams, $ZodAsyncError, $ZodBase64, $ZodBase64Def, $ZodBase64Internals, $ZodBase64Params, $ZodBase64URL, $ZodBase64URLDef, $ZodBase64URLInternals, $ZodBase64URLParams, $ZodBigInt, $ZodBigIntDef, $ZodBigIntFormat, $ZodBigIntFormatDef, $ZodBigIntFormatInternals, $ZodBigIntFormatParams, $ZodBigIntFormats, $ZodBigIntInternals, $ZodBigIntParams, $ZodBoolean, $ZodBooleanDef, $ZodBooleanInternals, $ZodBooleanParams, $ZodBranded, $ZodCIDRv4, $ZodCIDRv4Def, $ZodCIDRv4Internals, $ZodCIDRv4Params, $ZodCIDRv6, $ZodCIDRv6Def, $ZodCIDRv6Internals, $ZodCIDRv6Params, $ZodCUID, $ZodCUID2, $ZodCUID2Def, $ZodCUID2Internals, $ZodCUID2Params, $ZodCUIDDef, $ZodCUIDInternals, $ZodCUIDParams, $ZodCatch, $ZodCatchCtx, $ZodCatchDef, $ZodCatchInternals, $ZodCatchParams, $ZodCheck, $ZodCheckBase64Params, $ZodCheckBase64URLParams, $ZodCheckBigIntFormat, $ZodCheckBigIntFormatDef, $ZodCheckBigIntFormatInternals, $ZodCheckBigIntFormatParams, $ZodCheckCIDRv4Params, $ZodCheckCIDRv6Params, $ZodCheckCUID2Params, $ZodCheckCUIDParams, $ZodCheckDef, $ZodCheckE164Params, $ZodCheckEmailParams, $ZodCheckEmojiParams, $ZodCheckEndsWith, $ZodCheckEndsWithDef, $ZodCheckEndsWithInternals, $ZodCheckEndsWithParams, $ZodCheckGUIDParams, $ZodCheckGreaterThan, $ZodCheckGreaterThanDef, $ZodCheckGreaterThanInternals, $ZodCheckGreaterThanParams, $ZodCheckIPv4Params, $ZodCheckIPv6Params, $ZodCheckISODateParams, $ZodCheckISODateTimeParams, $ZodCheckISODurationParams, $ZodCheckISOTimeParams, $ZodCheckIncludes, $ZodCheckIncludesDef, $ZodCheckIncludesInternals, $ZodCheckIncludesParams, $ZodCheckInternals, $ZodCheckJWTParams, $ZodCheckKSUIDParams, $ZodCheckLengthEquals, $ZodCheckLengthEqualsDef, $ZodCheckLengthEqualsInternals, $ZodCheckLengthEqualsParams, $ZodCheckLessThan, $ZodCheckLessThanDef, $ZodCheckLessThanInternals, $ZodCheckLessThanParams, $ZodCheckLowerCase, $ZodCheckLowerCaseDef, $ZodCheckLowerCaseInternals, $ZodCheckLowerCaseParams, $ZodCheckMACParams, $ZodCheckMaxLength, $ZodCheckMaxLengthDef, $ZodCheckMaxLengthInternals, $ZodCheckMaxLengthParams, $ZodCheckMaxSize, $ZodCheckMaxSizeDef, $ZodCheckMaxSizeInternals, $ZodCheckMaxSizeParams, $ZodCheckMimeType, $ZodCheckMimeTypeDef, $ZodCheckMimeTypeInternals, $ZodCheckMimeTypeParams, $ZodCheckMinLength, $ZodCheckMinLengthDef, $ZodCheckMinLengthInternals, $ZodCheckMinLengthParams, $ZodCheckMinSize, $ZodCheckMinSizeDef, $ZodCheckMinSizeInternals, $ZodCheckMinSizeParams, $ZodCheckMultipleOf, $ZodCheckMultipleOfDef, $ZodCheckMultipleOfInternals, $ZodCheckMultipleOfParams, $ZodCheckNanoIDParams, $ZodCheckNumberFormat, $ZodCheckNumberFormatDef, $ZodCheckNumberFormatInternals, $ZodCheckNumberFormatParams, $ZodCheckOverwrite, $ZodCheckOverwriteDef, $ZodCheckOverwriteInternals, $ZodCheckProperty, $ZodCheckPropertyDef, $ZodCheckPropertyInternals, $ZodCheckPropertyParams, $ZodCheckRegex, $ZodCheckRegexDef, $ZodCheckRegexInternals, $ZodCheckRegexParams, $ZodCheckSizeEquals, $ZodCheckSizeEqualsDef, $ZodCheckSizeEqualsInternals, $ZodCheckSizeEqualsParams, $ZodCheckStartsWith, $ZodCheckStartsWithDef, $ZodCheckStartsWithInternals, $ZodCheckStartsWithParams, $ZodCheckStringFormat, $ZodCheckStringFormatDef, $ZodCheckStringFormatInternals, $ZodCheckStringFormatParams, $ZodCheckULIDParams, $ZodCheckURLParams, $ZodCheckUUIDParams, $ZodCheckUUIDv4Params, $ZodCheckUUIDv6Params, $ZodCheckUUIDv7Params, $ZodCheckUpperCase, $ZodCheckUpperCaseDef, $ZodCheckUpperCaseInternals, $ZodCheckUpperCaseParams, $ZodCheckXIDParams, $ZodChecks, $ZodCodec, $ZodCodecDef, $ZodCodecInternals, $ZodConfig, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomParams, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodDate, $ZodDateDef, $ZodDateInternals, $ZodDateParams, $ZodDefault, $ZodDefaultDef, $ZodDefaultInternals, $ZodDefaultParams, $ZodDiscriminatedUnion, $ZodDiscriminatedUnionDef, $ZodDiscriminatedUnionInternals, $ZodDiscriminatedUnionParams, $ZodE164, $ZodE164Def, $ZodE164Internals, $ZodE164Params, $ZodEmail, $ZodEmailDef, $ZodEmailInternals, $ZodEmailParams, $ZodEmoji, $ZodEmojiDef, $ZodEmojiInternals, $ZodEmojiParams, $ZodEncodeError, $ZodEnum, $ZodEnumDef, $ZodEnumInternals, $ZodEnumParams, $ZodError, $ZodErrorClass, $ZodErrorMap, $ZodErrorTree, $ZodExactOptional, $ZodExactOptionalDef, $ZodExactOptionalInternals, $ZodFile, $ZodFileDef, $ZodFileInternals, $ZodFileParams, $ZodFlattenedError, $ZodFormattedError, $ZodFunction, $ZodFunctionArgs, $ZodFunctionDef, $ZodFunctionIn, $ZodFunctionInternals, $ZodFunctionOut, $ZodFunctionParams, $ZodGUID, $ZodGUIDDef, $ZodGUIDInternals, $ZodGUIDParams, $ZodIPv4, $ZodIPv4Def, $ZodIPv4Internals, $ZodIPv4Params, $ZodIPv6, $ZodIPv6Def, $ZodIPv6Internals, $ZodIPv6Params, $ZodISODate, $ZodISODateDef, $ZodISODateInternals, $ZodISODateParams, $ZodISODateTime, $ZodISODateTimeDef, $ZodISODateTimeInternals, $ZodISODateTimeParams, $ZodISODuration, $ZodISODurationDef, $ZodISODurationInternals, $ZodISODurationParams, $ZodISOTime, $ZodISOTimeDef, $ZodISOTimeInternals, $ZodISOTimeParams, $ZodInternalIssue, $ZodIntersection, $ZodIntersectionDef, $ZodIntersectionInternals, $ZodIntersectionParams, $ZodInvalidTypeExpected, $ZodIssue, $ZodIssueBase, $ZodIssueCode, $ZodIssueCustom, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueNotMultipleOf, $ZodIssueStringCommonFormats, $ZodIssueStringEndsWith, $ZodIssueStringIncludes, $ZodIssueStringInvalidJWT, $ZodIssueStringInvalidRegex, $ZodIssueStringStartsWith, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodJWT, $ZodJWTDef, $ZodJWTInternals, $ZodJWTParams, $ZodKSUID, $ZodKSUIDDef, $ZodKSUIDInternals, $ZodKSUIDParams, $ZodLazy, $ZodLazyDef, $ZodLazyInternals, $ZodLazyParams, $ZodLiteral, $ZodLiteralDef, $ZodLiteralInternals, $ZodLiteralParams, $ZodLooseShape, $ZodMAC, $ZodMACDef, $ZodMACInternals, $ZodMACParams, $ZodMap, $ZodMapDef, $ZodMapInternals, $ZodMapParams, $ZodNaN, $ZodNaNDef, $ZodNaNInternals, $ZodNaNParams, $ZodNanoID, $ZodNanoIDDef, $ZodNanoIDInternals, $ZodNanoIDParams, $ZodNarrow, $ZodNever, $ZodNeverDef, $ZodNeverInternals, $ZodNeverParams, $ZodNonOptional, $ZodNonOptionalDef, $ZodNonOptionalInternals, $ZodNonOptionalParams, $ZodNull, $ZodNullDef, $ZodNullInternals, $ZodNullParams, $ZodNullable, $ZodNullableDef, $ZodNullableInternals, $ZodNullableParams, $ZodNumber, $ZodNumberDef, $ZodNumberFormat, $ZodNumberFormatDef, $ZodNumberFormatInternals, $ZodNumberFormatParams, $ZodNumberFormats, $ZodNumberInternals, $ZodNumberParams, $ZodObject, $ZodObjectConfig, $ZodObjectDef, $ZodObjectInternals, $ZodObjectJIT, $ZodObjectParams, $ZodOptional, $ZodOptionalDef, $ZodOptionalInternals, $ZodOptionalParams, $ZodPipe, $ZodPipeDef, $ZodPipeInternals, $ZodPipeParams, $ZodPrefault, $ZodPrefaultDef, $ZodPrefaultInternals, $ZodPreprocess, $ZodPreprocessDef, $ZodPreprocessInternals, $ZodPromise, $ZodPromiseDef, $ZodPromiseInternals, $ZodPromiseParams, $ZodRawIssue, $ZodReadonly, $ZodReadonlyDef, $ZodReadonlyInternals, $ZodReadonlyParams, $ZodRealError, $ZodRecord, $ZodRecordDef, $ZodRecordInternals, $ZodRecordKey, $ZodRecordParams, $ZodRegistry, $ZodSet, $ZodSetDef, $ZodSetInternals, $ZodSetParams, $ZodShape, $ZodStandardSchema, $ZodString, $ZodStringBoolParams, $ZodStringDef, $ZodStringFormat, $ZodStringFormatChecks, $ZodStringFormatDef, $ZodStringFormatInternals, $ZodStringFormatIssues, $ZodStringFormatParams, $ZodStringFormatTypes, $ZodStringFormats, $ZodStringInternals, $ZodStringParams, $ZodSuccess, $ZodSuccessDef, $ZodSuccessInternals, $ZodSuccessParams, $ZodSuperRefineIssue, $ZodSuperRefineParams, $ZodSymbol, $ZodSymbolDef, $ZodSymbolInternals, $ZodSymbolParams, $ZodTemplateLiteral, $ZodTemplateLiteralDef, $ZodTemplateLiteralInternals, $ZodTemplateLiteralParams, $ZodTemplateLiteralPart, $ZodTransform, $ZodTransformDef, $ZodTransformInternals, $ZodTransformParams, $ZodTuple, $ZodTupleDef, $ZodTupleInternals, $ZodTupleParams, $ZodType, $ZodTypeDef, $ZodTypeDiscriminable, $ZodTypeDiscriminableInternals, $ZodTypeInternals, $ZodTypes, $ZodULID, $ZodULIDDef, $ZodULIDInternals, $ZodULIDParams, $ZodURL, $ZodURLDef, $ZodURLInternals, $ZodURLParams, $ZodUUID, $ZodUUIDDef, $ZodUUIDInternals, $ZodUUIDParams, $ZodUUIDv4Params, $ZodUUIDv6Params, $ZodUUIDv7Params, $ZodUndefined, $ZodUndefinedDef, $ZodUndefinedInternals, $ZodUndefinedParams, $ZodUnion, $ZodUnionDef, $ZodUnionInternals, $ZodUnionParams, $ZodUnknown, $ZodUnknownDef, $ZodUnknownInternals, $ZodUnknownParams, $ZodVoid, $ZodVoidDef, $ZodVoidInternals, $ZodVoidParams, $ZodXID, $ZodXIDDef, $ZodXIDInternals, $ZodXIDParams, $ZodXor, $ZodXorInternals, $ZodXorParams, $brand, $catchall, $constructor, $input, $loose, $output, $partial, $replace, $strict, $strip, CheckFn, CheckParams, CheckStringFormatParams, CheckTypeParams, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, Doc, File, GlobalMeta, json_schema_d_exports as JSONSchema, JSONSchemaGenerator, JSONSchemaGeneratorParams, JSONSchemaMeta, NEVER, Params, ParseContext, ParseContextInternal, ParsePayload, ProcessParams, Processor, RegistryToJSONSchemaParams, Seen, SomeType, StringFormatParams, TimePrecision, ToJSONSchemaContext, ToJSONSchemaParams, ToTemplateLiteral, TypeParams, ZodStandardJSONSchemaPayload, ZodStandardSchemaWithJSON$1 as ZodStandardSchemaWithJSON, _$ZodType, _$ZodTypeInternals, _any, _array, _base64, _base64url, _bigint, _boolean, _catch$1 as _catch, _check, _cidrv4, _cidrv6, _coercedBigint, _coercedBoolean, _coercedDate, _coercedNumber, _coercedString, _cuid, _cuid2, _custom, _date, _decode, _decodeAsync, _default$1 as _default, _discriminatedUnion, _e164, _email, _emoji, _encode, _encodeAsync, _endsWith, _enum$1 as _enum, _file, _float32, _float64, _gt, _gte, _guid, _includes, _int, _int32, _int64, _intersection, _ipv4, _ipv6, _isoDate, _isoDateTime, _isoDuration, _isoTime, _jwt, _ksuid, _lazy, _length, _literal, _lowercase, _lt, _lte, _mac, _map, _lte as _max, _maxLength, _maxSize, _mime, _gte as _min, _minLength, _minSize, _multipleOf, _nan, _nanoid, _nativeEnum, _negative, _never, _nonnegative, _nonoptional, _nonpositive, _normalize, _null$1 as _null, _nullable, _number, _optional, _overwrite, _parse, _parseAsync, _pipe, _positive, _promise, _property, _readonly, _record, _refine, _regex, _safeDecode, _safeDecodeAsync, _safeEncode, _safeEncodeAsync, _safeParse, _safeParseAsync, _set, _size, _slugify, _startsWith, _string, _stringFormat, _stringbool, _success, _superRefine, _symbol, _templateLiteral, _toLowerCase, _toUpperCase, _transform, _trim, _tuple, _uint32, _uint64, _ulid, _undefined$1 as _undefined, _union, _unknown, _uppercase, _url, _uuid, _uuidv4, _uuidv6, _uuidv7, _void$1 as _void, _xid, _xor, clone, config, createStandardJSONSchemaMethod, createToJSONSchemaMethod, decode$1 as decode, decodeAsync$1 as decodeAsync, describe$1 as describe, encode$1 as encode, encodeAsync$1 as encodeAsync, extractDefs, finalize, flattenError, formatError, globalConfig, globalRegistry, output as infer, initializeContext, input, isValidBase64, isValidBase64URL, isValidJWT, index_d_exports$1 as locales, meta$1 as meta, output, parse$1 as parse, parseAsync$1 as parseAsync, prettifyError, process, regexes_d_exports as regexes, registry, safeDecode$1 as safeDecode, safeDecodeAsync$1 as safeDecodeAsync, safeEncode$1 as safeEncode, safeEncodeAsync$1 as safeEncodeAsync, safeParse$1 as safeParse, safeParseAsync$1 as safeParseAsync, toDotPath, toJSONSchema, treeifyError, util_d_exports as util, version };
2979
+ }
1763
2980
  //#endregion
1764
2981
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.d.cts
2982
+ /** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */
2983
+ type ZodIssue = $ZodIssue;
1765
2984
  /** An Error-like class used to store Zod validation issues. */
1766
2985
  interface ZodError<T = unknown> extends $ZodError<T> {
1767
2986
  /** @deprecated Use the `z.treeifyError(err)` function instead. */
@@ -1778,8 +2997,12 @@ interface ZodError<T = unknown> extends $ZodError<T> {
1778
2997
  isEmpty: boolean;
1779
2998
  }
1780
2999
  declare const ZodError: $constructor<ZodError>;
1781
- //#endregion
1782
- //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.d.cts
3000
+ declare const ZodRealError: $constructor<ZodError>;
3001
+ /** @deprecated Use `z.core.$ZodRawIssue` instead. */
3002
+ type IssueData = $ZodRawIssue;
3003
+ declare namespace parse_d_exports {
3004
+ export { ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, decode, decodeAsync, encode, encodeAsync, parse, parseAsync, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync };
3005
+ }
1783
3006
  type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
1784
3007
  type ZodSafeParseSuccess<T> = {
1785
3008
  success: true;
@@ -1791,6 +3014,24 @@ type ZodSafeParseError<T> = {
1791
3014
  data?: never;
1792
3015
  error: ZodError<T>;
1793
3016
  };
3017
+ declare const parse: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
3018
+ callee?: AnyFunc;
3019
+ Err?: $ZodErrorClass;
3020
+ }) => output<T>;
3021
+ declare const parseAsync: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
3022
+ callee?: AnyFunc;
3023
+ Err?: $ZodErrorClass;
3024
+ }) => Promise<output<T>>;
3025
+ declare const safeParse: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output<T>>;
3026
+ declare const safeParseAsync: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<T>>>;
3027
+ declare const encode: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => input<T>;
3028
+ declare const decode: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => output<T>;
3029
+ declare const encodeAsync: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<input<T>>;
3030
+ declare const decodeAsync: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<output<T>>;
3031
+ declare const safeEncode: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<input<T>>;
3032
+ declare const safeDecode: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output<T>>;
3033
+ declare const safeEncodeAsync: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<input<T>>>;
3034
+ declare const safeDecodeAsync: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<T>>>;
1794
3035
  //#endregion
1795
3036
  //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.d.cts
1796
3037
  type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
@@ -1957,6 +3198,142 @@ interface ZodString extends _ZodString<$ZodStringInternals<string>> {
1957
3198
  duration(params?: string | $ZodCheckISODurationParams): this;
1958
3199
  }
1959
3200
  declare const ZodString: $constructor<ZodString>;
3201
+ declare function string$1(params?: string | $ZodStringParams): ZodString;
3202
+ declare function string$1<T extends string>(params?: string | $ZodStringParams): $ZodType<T, T>;
3203
+ interface ZodStringFormat<Format extends string = string> extends _ZodString<$ZodStringFormatInternals<Format>> {}
3204
+ declare const ZodStringFormat: $constructor<ZodStringFormat>;
3205
+ interface ZodEmail extends ZodStringFormat<"email"> {
3206
+ _zod: $ZodEmailInternals;
3207
+ }
3208
+ declare const ZodEmail: $constructor<ZodEmail>;
3209
+ declare function email(params?: string | $ZodEmailParams): ZodEmail;
3210
+ interface ZodGUID extends ZodStringFormat<"guid"> {
3211
+ _zod: $ZodGUIDInternals;
3212
+ }
3213
+ declare const ZodGUID: $constructor<ZodGUID>;
3214
+ declare function guid(params?: string | $ZodGUIDParams): ZodGUID;
3215
+ interface ZodUUID extends ZodStringFormat<"uuid"> {
3216
+ _zod: $ZodUUIDInternals;
3217
+ }
3218
+ declare const ZodUUID: $constructor<ZodUUID>;
3219
+ declare function uuid(params?: string | $ZodUUIDParams): ZodUUID;
3220
+ declare function uuidv4(params?: string | $ZodUUIDv4Params): ZodUUID;
3221
+ declare function uuidv6(params?: string | $ZodUUIDv6Params): ZodUUID;
3222
+ declare function uuidv7(params?: string | $ZodUUIDv7Params): ZodUUID;
3223
+ interface ZodURL extends ZodStringFormat<"url"> {
3224
+ _zod: $ZodURLInternals;
3225
+ }
3226
+ declare const ZodURL: $constructor<ZodURL>;
3227
+ declare function url(params?: string | $ZodURLParams): ZodURL;
3228
+ declare function httpUrl(params?: string | Omit<$ZodURLParams, "protocol" | "hostname">): ZodURL;
3229
+ interface ZodEmoji extends ZodStringFormat<"emoji"> {
3230
+ _zod: $ZodEmojiInternals;
3231
+ }
3232
+ declare const ZodEmoji: $constructor<ZodEmoji>;
3233
+ declare function emoji(params?: string | $ZodEmojiParams): ZodEmoji;
3234
+ interface ZodNanoID extends ZodStringFormat<"nanoid"> {
3235
+ _zod: $ZodNanoIDInternals;
3236
+ }
3237
+ declare const ZodNanoID: $constructor<ZodNanoID>;
3238
+ declare function nanoid(params?: string | $ZodNanoIDParams): ZodNanoID;
3239
+ /**
3240
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3241
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
3242
+ * See https://github.com/paralleldrive/cuid.
3243
+ */
3244
+ interface ZodCUID extends ZodStringFormat<"cuid"> {
3245
+ _zod: $ZodCUIDInternals;
3246
+ }
3247
+ /**
3248
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3249
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
3250
+ * See https://github.com/paralleldrive/cuid.
3251
+ */
3252
+ declare const ZodCUID: $constructor<ZodCUID>;
3253
+ /**
3254
+ * Validates a CUID v1 string.
3255
+ *
3256
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3257
+ * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
3258
+ * See https://github.com/paralleldrive/cuid.
3259
+ */
3260
+ declare function cuid(params?: string | $ZodCUIDParams): ZodCUID;
3261
+ interface ZodCUID2 extends ZodStringFormat<"cuid2"> {
3262
+ _zod: $ZodCUID2Internals;
3263
+ }
3264
+ declare const ZodCUID2: $constructor<ZodCUID2>;
3265
+ declare function cuid2(params?: string | $ZodCUID2Params): ZodCUID2;
3266
+ interface ZodULID extends ZodStringFormat<"ulid"> {
3267
+ _zod: $ZodULIDInternals;
3268
+ }
3269
+ declare const ZodULID: $constructor<ZodULID>;
3270
+ declare function ulid(params?: string | $ZodULIDParams): ZodULID;
3271
+ interface ZodXID extends ZodStringFormat<"xid"> {
3272
+ _zod: $ZodXIDInternals;
3273
+ }
3274
+ declare const ZodXID: $constructor<ZodXID>;
3275
+ declare function xid(params?: string | $ZodXIDParams): ZodXID;
3276
+ interface ZodKSUID extends ZodStringFormat<"ksuid"> {
3277
+ _zod: $ZodKSUIDInternals;
3278
+ }
3279
+ declare const ZodKSUID: $constructor<ZodKSUID>;
3280
+ declare function ksuid(params?: string | $ZodKSUIDParams): ZodKSUID;
3281
+ interface ZodIPv4 extends ZodStringFormat<"ipv4"> {
3282
+ _zod: $ZodIPv4Internals;
3283
+ }
3284
+ declare const ZodIPv4: $constructor<ZodIPv4>;
3285
+ declare function ipv4(params?: string | $ZodIPv4Params): ZodIPv4;
3286
+ interface ZodMAC extends ZodStringFormat<"mac"> {
3287
+ _zod: $ZodMACInternals;
3288
+ }
3289
+ declare const ZodMAC: $constructor<ZodMAC>;
3290
+ declare function mac(params?: string | $ZodMACParams): ZodMAC;
3291
+ interface ZodIPv6 extends ZodStringFormat<"ipv6"> {
3292
+ _zod: $ZodIPv6Internals;
3293
+ }
3294
+ declare const ZodIPv6: $constructor<ZodIPv6>;
3295
+ declare function ipv6(params?: string | $ZodIPv6Params): ZodIPv6;
3296
+ interface ZodCIDRv4 extends ZodStringFormat<"cidrv4"> {
3297
+ _zod: $ZodCIDRv4Internals;
3298
+ }
3299
+ declare const ZodCIDRv4: $constructor<ZodCIDRv4>;
3300
+ declare function cidrv4(params?: string | $ZodCIDRv4Params): ZodCIDRv4;
3301
+ interface ZodCIDRv6 extends ZodStringFormat<"cidrv6"> {
3302
+ _zod: $ZodCIDRv6Internals;
3303
+ }
3304
+ declare const ZodCIDRv6: $constructor<ZodCIDRv6>;
3305
+ declare function cidrv6(params?: string | $ZodCIDRv6Params): ZodCIDRv6;
3306
+ interface ZodBase64 extends ZodStringFormat<"base64"> {
3307
+ _zod: $ZodBase64Internals;
3308
+ }
3309
+ declare const ZodBase64: $constructor<ZodBase64>;
3310
+ declare function base64(params?: string | $ZodBase64Params): ZodBase64;
3311
+ interface ZodBase64URL extends ZodStringFormat<"base64url"> {
3312
+ _zod: $ZodBase64URLInternals;
3313
+ }
3314
+ declare const ZodBase64URL: $constructor<ZodBase64URL>;
3315
+ declare function base64url(params?: string | $ZodBase64URLParams): ZodBase64URL;
3316
+ interface ZodE164 extends ZodStringFormat<"e164"> {
3317
+ _zod: $ZodE164Internals;
3318
+ }
3319
+ declare const ZodE164: $constructor<ZodE164>;
3320
+ declare function e164(params?: string | $ZodE164Params): ZodE164;
3321
+ interface ZodJWT extends ZodStringFormat<"jwt"> {
3322
+ _zod: $ZodJWTInternals;
3323
+ }
3324
+ declare const ZodJWT: $constructor<ZodJWT>;
3325
+ declare function jwt(params?: string | $ZodJWTParams): ZodJWT;
3326
+ interface ZodCustomStringFormat<Format extends string = string> extends ZodStringFormat<Format>, $ZodCustomStringFormat<Format> {
3327
+ _zod: $ZodCustomStringFormatInternals<Format>;
3328
+ "~standard": ZodStandardSchemaWithJSON<this>;
3329
+ }
3330
+ declare const ZodCustomStringFormat: $constructor<ZodCustomStringFormat>;
3331
+ declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): ZodCustomStringFormat<Format>;
3332
+ declare function hostname(_params?: string | $ZodStringFormatParams): ZodCustomStringFormat<"hostname">;
3333
+ declare function hex(_params?: string | $ZodStringFormatParams): ZodCustomStringFormat<"hex">;
3334
+ declare function hash<Alg extends HashAlgorithm, Enc extends HashEncoding = "hex">(alg: Alg, params?: {
3335
+ enc?: Enc;
3336
+ } & $ZodStringFormatParams): ZodCustomStringFormat<`${Alg}_${Enc}`>;
1960
3337
  interface _ZodNumber<Internals extends $ZodNumberInternals = $ZodNumberInternals> extends _ZodType<Internals> {
1961
3338
  gt(value: number, params?: string | $ZodCheckGreaterThanParams): this;
1962
3339
  /** Identical to .min() */
@@ -1989,9 +3366,84 @@ interface _ZodNumber<Internals extends $ZodNumberInternals = $ZodNumberInternals
1989
3366
  }
1990
3367
  interface ZodNumber extends _ZodNumber<$ZodNumberInternals<number>> {}
1991
3368
  declare const ZodNumber: $constructor<ZodNumber>;
3369
+ declare function number$1(params?: string | $ZodNumberParams): ZodNumber;
3370
+ interface ZodNumberFormat extends ZodNumber {
3371
+ _zod: $ZodNumberFormatInternals;
3372
+ }
3373
+ declare const ZodNumberFormat: $constructor<ZodNumberFormat>;
3374
+ interface ZodInt extends ZodNumberFormat {}
3375
+ declare function int(params?: string | $ZodCheckNumberFormatParams): ZodInt;
3376
+ interface ZodFloat32 extends ZodNumberFormat {}
3377
+ declare function float32(params?: string | $ZodCheckNumberFormatParams): ZodFloat32;
3378
+ interface ZodFloat64 extends ZodNumberFormat {}
3379
+ declare function float64(params?: string | $ZodCheckNumberFormatParams): ZodFloat64;
3380
+ interface ZodInt32 extends ZodNumberFormat {}
3381
+ declare function int32(params?: string | $ZodCheckNumberFormatParams): ZodInt32;
3382
+ interface ZodUInt32 extends ZodNumberFormat {}
3383
+ declare function uint32(params?: string | $ZodCheckNumberFormatParams): ZodUInt32;
1992
3384
  interface _ZodBoolean<T extends $ZodBooleanInternals = $ZodBooleanInternals> extends _ZodType<T> {}
1993
3385
  interface ZodBoolean extends _ZodBoolean<$ZodBooleanInternals<boolean>> {}
1994
3386
  declare const ZodBoolean: $constructor<ZodBoolean>;
3387
+ declare function boolean$1(params?: string | $ZodBooleanParams): ZodBoolean;
3388
+ interface _ZodBigInt<T extends $ZodBigIntInternals = $ZodBigIntInternals> extends _ZodType<T> {
3389
+ gte(value: bigint, params?: string | $ZodCheckGreaterThanParams): this;
3390
+ /** Alias of `.gte()` */
3391
+ min(value: bigint, params?: string | $ZodCheckGreaterThanParams): this;
3392
+ gt(value: bigint, params?: string | $ZodCheckGreaterThanParams): this;
3393
+ /** Alias of `.lte()` */
3394
+ lte(value: bigint, params?: string | $ZodCheckLessThanParams): this;
3395
+ max(value: bigint, params?: string | $ZodCheckLessThanParams): this;
3396
+ lt(value: bigint, params?: string | $ZodCheckLessThanParams): this;
3397
+ positive(params?: string | $ZodCheckGreaterThanParams): this;
3398
+ negative(params?: string | $ZodCheckLessThanParams): this;
3399
+ nonpositive(params?: string | $ZodCheckLessThanParams): this;
3400
+ nonnegative(params?: string | $ZodCheckGreaterThanParams): this;
3401
+ multipleOf(value: bigint, params?: string | $ZodCheckMultipleOfParams): this;
3402
+ minValue: bigint | null;
3403
+ maxValue: bigint | null;
3404
+ format: string | null;
3405
+ }
3406
+ interface ZodBigInt extends _ZodBigInt<$ZodBigIntInternals<bigint>> {}
3407
+ declare const ZodBigInt: $constructor<ZodBigInt>;
3408
+ declare function bigint$1(params?: string | $ZodBigIntParams): ZodBigInt;
3409
+ interface ZodBigIntFormat extends ZodBigInt {
3410
+ _zod: $ZodBigIntFormatInternals;
3411
+ }
3412
+ declare const ZodBigIntFormat: $constructor<ZodBigIntFormat>;
3413
+ declare function int64(params?: string | $ZodBigIntFormatParams): ZodBigIntFormat;
3414
+ declare function uint64(params?: string | $ZodBigIntFormatParams): ZodBigIntFormat;
3415
+ interface ZodSymbol extends _ZodType<$ZodSymbolInternals> {}
3416
+ declare const ZodSymbol: $constructor<ZodSymbol>;
3417
+ declare function symbol(params?: string | $ZodSymbolParams): ZodSymbol;
3418
+ interface ZodUndefined extends _ZodType<$ZodUndefinedInternals> {}
3419
+ declare const ZodUndefined: $constructor<ZodUndefined>;
3420
+ declare function _undefined(params?: string | $ZodUndefinedParams): ZodUndefined;
3421
+ interface ZodNull extends _ZodType<$ZodNullInternals> {}
3422
+ declare const ZodNull: $constructor<ZodNull>;
3423
+ declare function _null(params?: string | $ZodNullParams): ZodNull;
3424
+ interface ZodAny extends _ZodType<$ZodAnyInternals> {}
3425
+ declare const ZodAny: $constructor<ZodAny>;
3426
+ declare function any(): ZodAny;
3427
+ interface ZodUnknown extends _ZodType<$ZodUnknownInternals> {}
3428
+ declare const ZodUnknown: $constructor<ZodUnknown>;
3429
+ declare function unknown(): ZodUnknown;
3430
+ interface ZodNever extends _ZodType<$ZodNeverInternals> {}
3431
+ declare const ZodNever: $constructor<ZodNever>;
3432
+ declare function never(params?: string | $ZodNeverParams): ZodNever;
3433
+ interface ZodVoid extends _ZodType<$ZodVoidInternals> {}
3434
+ declare const ZodVoid: $constructor<ZodVoid>;
3435
+ declare function _void(params?: string | $ZodVoidParams): ZodVoid;
3436
+ interface _ZodDate<T extends $ZodDateInternals = $ZodDateInternals> extends _ZodType<T> {
3437
+ min(value: number | Date, params?: string | $ZodCheckGreaterThanParams): this;
3438
+ max(value: number | Date, params?: string | $ZodCheckLessThanParams): this;
3439
+ /** @deprecated Not recommended. */
3440
+ minDate: Date | null;
3441
+ /** @deprecated Not recommended. */
3442
+ maxDate: Date | null;
3443
+ }
3444
+ interface ZodDate extends _ZodDate<$ZodDateInternals<Date>> {}
3445
+ declare const ZodDate: $constructor<ZodDate>;
3446
+ declare function date$2(params?: string | $ZodDateParams): ZodDate;
1995
3447
  interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInternals<T>>, $ZodArray<T> {
1996
3448
  element: T;
1997
3449
  min(minLength: number, params?: string | $ZodCheckMinLengthParams): this;
@@ -2002,6 +3454,8 @@ interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInte
2002
3454
  "~standard": ZodStandardSchemaWithJSON<this>;
2003
3455
  }
2004
3456
  declare const ZodArray: $constructor<ZodArray>;
3457
+ declare function array<T extends SomeType>(element: T, params?: string | $ZodArrayParams): ZodArray<T>;
3458
+ declare function keyof<T extends ZodObject>(schema: T): ZodEnum<KeysEnum<T["_zod"]["output"]>>;
2005
3459
  type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output<Ext[K]> extends output<Base[K]> ? input<Ext[K]> extends input<Base[K]> ? Ext[K] : never : never : Ext[K]; };
2006
3460
  interface ZodObject<
2007
3461
  /** @ts-ignore Cast variance */
@@ -2033,21 +3487,73 @@ out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfi
2033
3487
  required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k]; }, Config>;
2034
3488
  }
2035
3489
  declare const ZodObject: $constructor<ZodObject>;
3490
+ declare function object<T extends $ZodLooseShape = Partial<Record<never, SomeType>>>(shape?: T, params?: string | $ZodObjectParams): ZodObject<Writeable<T>, $strip>;
3491
+ declare function strictObject<T extends $ZodLooseShape>(shape: T, params?: string | $ZodObjectParams): ZodObject<Writeable<T>, $strict>;
3492
+ declare function looseObject<T extends $ZodLooseShape>(shape: T, params?: string | $ZodObjectParams): ZodObject<Writeable<T>, $loose>;
2036
3493
  interface ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
2037
3494
  "~standard": ZodStandardSchemaWithJSON<this>;
2038
3495
  options: T;
2039
3496
  }
2040
3497
  declare const ZodUnion: $constructor<ZodUnion>;
3498
+ declare function union<const T extends readonly SomeType[]>(options: T, params?: string | $ZodUnionParams): ZodUnion<T>;
3499
+ interface ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodXorInternals<T>>, $ZodXor<T> {
3500
+ "~standard": ZodStandardSchemaWithJSON<this>;
3501
+ options: T;
3502
+ }
3503
+ declare const ZodXor: $constructor<ZodXor>;
3504
+ /** Creates an exclusive union (XOR) where exactly one option must match.
3505
+ * Unlike regular unions that succeed when any option matches, xor fails if
3506
+ * zero or more than one option matches the input. */
3507
+ declare function xor<const T extends readonly SomeType[]>(options: T, params?: string | $ZodXorParams): ZodXor<T>;
3508
+ interface ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends ZodUnion<Options>, $ZodDiscriminatedUnion<Options, Disc> {
3509
+ "~standard": ZodStandardSchemaWithJSON<this>;
3510
+ _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
3511
+ def: $ZodDiscriminatedUnionDef<Options, Disc>;
3512
+ }
3513
+ declare const ZodDiscriminatedUnion: $constructor<ZodDiscriminatedUnion>;
3514
+ declare function discriminatedUnion<Types extends readonly [$ZodTypeDiscriminable<Disc>, ...$ZodTypeDiscriminable<Disc>[]], Disc extends string>(discriminator: Disc, options: Types, params?: string | $ZodDiscriminatedUnionParams): ZodDiscriminatedUnion<Types, Disc>;
2041
3515
  interface ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodIntersectionInternals<A, B>>, $ZodIntersection<A, B> {
2042
3516
  "~standard": ZodStandardSchemaWithJSON<this>;
2043
3517
  }
2044
3518
  declare const ZodIntersection: $constructor<ZodIntersection>;
3519
+ declare function intersection<T extends SomeType, U extends SomeType>(left: T, right: U): ZodIntersection<T, U>;
3520
+ interface ZodTuple<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _ZodType<$ZodTupleInternals<T, Rest>>, $ZodTuple<T, Rest> {
3521
+ "~standard": ZodStandardSchemaWithJSON<this>;
3522
+ rest<Rest extends SomeType = $ZodType>(rest: Rest): ZodTuple<T, Rest>;
3523
+ }
3524
+ declare const ZodTuple: $constructor<ZodTuple>;
3525
+ declare function tuple<T extends readonly [SomeType, ...SomeType[]]>(items: T, params?: string | $ZodTupleParams): ZodTuple<T, null>;
3526
+ declare function tuple<T extends readonly [SomeType, ...SomeType[]], Rest extends SomeType>(items: T, rest: Rest, params?: string | $ZodTupleParams): ZodTuple<T, Rest>;
3527
+ declare function tuple(items: [], params?: string | $ZodTupleParams): ZodTuple<[], null>;
2045
3528
  interface ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends _ZodType<$ZodRecordInternals<Key, Value>>, $ZodRecord<Key, Value> {
2046
3529
  "~standard": ZodStandardSchemaWithJSON<this>;
2047
3530
  keyType: Key;
2048
3531
  valueType: Value;
2049
3532
  }
2050
3533
  declare const ZodRecord: $constructor<ZodRecord>;
3534
+ declare function record<Key extends $ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | $ZodRecordParams): ZodRecord<Key, Value>;
3535
+ declare function partialRecord<Key extends $ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | $ZodRecordParams): ZodRecord<Key & $partial, Value>;
3536
+ declare function looseRecord<Key extends $ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | $ZodRecordParams): ZodRecord<Key, Value>;
3537
+ interface ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends _ZodType<$ZodMapInternals<Key, Value>>, $ZodMap<Key, Value> {
3538
+ "~standard": ZodStandardSchemaWithJSON<this>;
3539
+ keyType: Key;
3540
+ valueType: Value;
3541
+ min(minSize: number, params?: string | $ZodCheckMinSizeParams): this;
3542
+ nonempty(params?: string | $ZodCheckMinSizeParams): this;
3543
+ max(maxSize: number, params?: string | $ZodCheckMaxSizeParams): this;
3544
+ size(size: number, params?: string | $ZodCheckSizeEqualsParams): this;
3545
+ }
3546
+ declare const ZodMap: $constructor<ZodMap>;
3547
+ declare function map<Key extends SomeType, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | $ZodMapParams): ZodMap<Key, Value>;
3548
+ interface ZodSet<T extends SomeType = $ZodType> extends _ZodType<$ZodSetInternals<T>>, $ZodSet<T> {
3549
+ "~standard": ZodStandardSchemaWithJSON<this>;
3550
+ min(minSize: number, params?: string | $ZodCheckMinSizeParams): this;
3551
+ nonempty(params?: string | $ZodCheckMinSizeParams): this;
3552
+ max(maxSize: number, params?: string | $ZodCheckMaxSizeParams): this;
3553
+ size(size: number, params?: string | $ZodCheckSizeEqualsParams): this;
3554
+ }
3555
+ declare const ZodSet: $constructor<ZodSet>;
3556
+ declare function set<Value extends SomeType>(valueType: Value, params?: string | $ZodSetParams): ZodSet<Value>;
2051
3557
  interface ZodEnum<
2052
3558
  /** @ts-ignore Cast variance */
2053
3559
  out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
@@ -2058,6 +3564,16 @@ out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodE
2058
3564
  exclude<const U extends readonly (keyof T)[]>(values: U, params?: string | $ZodEnumParams): ZodEnum<Flatten<Omit<T, U[number]>>>;
2059
3565
  }
2060
3566
  declare const ZodEnum: $constructor<ZodEnum>;
3567
+ declare function _enum<const T extends readonly string[]>(values: T, params?: string | $ZodEnumParams): ZodEnum<ToEnum<T[number]>>;
3568
+ declare function _enum<const T extends EnumLike>(entries: T, params?: string | $ZodEnumParams): ZodEnum<T>;
3569
+ /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
3570
+ *
3571
+ * ```ts
3572
+ * enum Colors { red, green, blue }
3573
+ * z.enum(Colors);
3574
+ * ```
3575
+ */
3576
+ declare function nativeEnum<T extends EnumLike>(entries: T, params?: string | $ZodEnumParams): ZodEnum<T>;
2061
3577
  interface ZodLiteral<T extends Literal = Literal> extends _ZodType<$ZodLiteralInternals<T>>, $ZodLiteral<T> {
2062
3578
  "~standard": ZodStandardSchemaWithJSON<this>;
2063
3579
  values: Set<T>;
@@ -2065,25 +3581,40 @@ interface ZodLiteral<T extends Literal = Literal> extends _ZodType<$ZodLiteralIn
2065
3581
  value: T;
2066
3582
  }
2067
3583
  declare const ZodLiteral: $constructor<ZodLiteral>;
3584
+ declare function literal<const T extends ReadonlyArray<Literal>>(value: T, params?: string | $ZodLiteralParams): ZodLiteral<T[number]>;
3585
+ declare function literal<const T extends Literal>(value: T, params?: string | $ZodLiteralParams): ZodLiteral<T>;
3586
+ interface ZodFile extends _ZodType<$ZodFileInternals>, $ZodFile {
3587
+ "~standard": ZodStandardSchemaWithJSON<this>;
3588
+ min(size: number, params?: string | $ZodCheckMinSizeParams): this;
3589
+ max(size: number, params?: string | $ZodCheckMaxSizeParams): this;
3590
+ mime(types: MimeTypes | Array<MimeTypes>, params?: string | $ZodCheckMimeTypeParams): this;
3591
+ }
3592
+ declare const ZodFile: $constructor<ZodFile>;
3593
+ declare function file(params?: string | $ZodFileParams): ZodFile;
2068
3594
  interface ZodTransform<O = unknown, I = unknown> extends _ZodType<$ZodTransformInternals<O, I>>, $ZodTransform<O, I> {
2069
3595
  "~standard": ZodStandardSchemaWithJSON<this>;
2070
3596
  }
2071
3597
  declare const ZodTransform: $constructor<ZodTransform>;
3598
+ declare function transform<I = unknown, O = I>(fn: (input: I, ctx: $RefinementCtx) => O): ZodTransform<Awaited<O>, I>;
2072
3599
  interface ZodOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodOptionalInternals<T>>, $ZodOptional<T> {
2073
3600
  "~standard": ZodStandardSchemaWithJSON<this>;
2074
3601
  unwrap(): T;
2075
3602
  }
2076
3603
  declare const ZodOptional: $constructor<ZodOptional>;
3604
+ declare function optional<T extends SomeType>(innerType: T): ZodOptional<T>;
2077
3605
  interface ZodExactOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodExactOptionalInternals<T>>, $ZodExactOptional<T> {
2078
3606
  "~standard": ZodStandardSchemaWithJSON<this>;
2079
3607
  unwrap(): T;
2080
3608
  }
2081
3609
  declare const ZodExactOptional: $constructor<ZodExactOptional>;
3610
+ declare function exactOptional<T extends SomeType>(innerType: T): ZodExactOptional<T>;
2082
3611
  interface ZodNullable<T extends SomeType = $ZodType> extends _ZodType<$ZodNullableInternals<T>>, $ZodNullable<T> {
2083
3612
  "~standard": ZodStandardSchemaWithJSON<this>;
2084
3613
  unwrap(): T;
2085
3614
  }
2086
3615
  declare const ZodNullable: $constructor<ZodNullable>;
3616
+ declare function nullable<T extends SomeType>(innerType: T): ZodNullable<T>;
3617
+ declare function nullish<T extends SomeType>(innerType: T): ZodOptional<ZodNullable<T>>;
2087
3618
  interface ZodDefault<T extends SomeType = $ZodType> extends _ZodType<$ZodDefaultInternals<T>>, $ZodDefault<T> {
2088
3619
  "~standard": ZodStandardSchemaWithJSON<this>;
2089
3620
  unwrap(): T;
@@ -2091,16 +3622,25 @@ interface ZodDefault<T extends SomeType = $ZodType> extends _ZodType<$ZodDefault
2091
3622
  removeDefault(): T;
2092
3623
  }
2093
3624
  declare const ZodDefault: $constructor<ZodDefault>;
3625
+ declare function _default<T extends SomeType>(innerType: T, defaultValue: NoUndefined<output<T>> | (() => NoUndefined<output<T>>)): ZodDefault<T>;
2094
3626
  interface ZodPrefault<T extends SomeType = $ZodType> extends _ZodType<$ZodPrefaultInternals<T>>, $ZodPrefault<T> {
2095
3627
  "~standard": ZodStandardSchemaWithJSON<this>;
2096
3628
  unwrap(): T;
2097
3629
  }
2098
3630
  declare const ZodPrefault: $constructor<ZodPrefault>;
3631
+ declare function prefault<T extends SomeType>(innerType: T, defaultValue: input<T> | (() => input<T>)): ZodPrefault<T>;
2099
3632
  interface ZodNonOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodNonOptionalInternals<T>>, $ZodNonOptional<T> {
2100
3633
  "~standard": ZodStandardSchemaWithJSON<this>;
2101
3634
  unwrap(): T;
2102
3635
  }
2103
3636
  declare const ZodNonOptional: $constructor<ZodNonOptional>;
3637
+ declare function nonoptional<T extends SomeType>(innerType: T, params?: string | $ZodNonOptionalParams): ZodNonOptional<T>;
3638
+ interface ZodSuccess<T extends SomeType = $ZodType> extends _ZodType<$ZodSuccessInternals<T>>, $ZodSuccess<T> {
3639
+ "~standard": ZodStandardSchemaWithJSON<this>;
3640
+ unwrap(): T;
3641
+ }
3642
+ declare const ZodSuccess: $constructor<ZodSuccess>;
3643
+ declare function success<T extends SomeType>(innerType: T): ZodSuccess<T>;
2104
3644
  interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInternals<T>>, $ZodCatch<T> {
2105
3645
  "~standard": ZodStandardSchemaWithJSON<this>;
2106
3646
  unwrap(): T;
@@ -2108,17 +3648,193 @@ interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInte
2108
3648
  removeCatch(): T;
2109
3649
  }
2110
3650
  declare const ZodCatch: $constructor<ZodCatch>;
3651
+ declare function _catch<T extends SomeType>(innerType: T, catchValue: output<T> | ((ctx: $ZodCatchCtx) => output<T>)): ZodCatch<T>;
3652
+ interface ZodNaN extends _ZodType<$ZodNaNInternals>, $ZodNaN {
3653
+ "~standard": ZodStandardSchemaWithJSON<this>;
3654
+ }
3655
+ declare const ZodNaN: $constructor<ZodNaN>;
3656
+ declare function nan(params?: string | $ZodNaNParams): ZodNaN;
2111
3657
  interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodPipeInternals<A, B>>, $ZodPipe<A, B> {
2112
3658
  "~standard": ZodStandardSchemaWithJSON<this>;
2113
3659
  in: A;
2114
3660
  out: B;
2115
3661
  }
2116
3662
  declare const ZodPipe: $constructor<ZodPipe>;
3663
+ declare function pipe<const A extends SomeType, B extends $ZodType<unknown, output<A>> = $ZodType<unknown, output<A>>>(in_: A, out: B | $ZodType<unknown, output<A>>): ZodPipe<A, B>;
3664
+ interface ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends ZodPipe<A, B>, $ZodCodec<A, B> {
3665
+ "~standard": ZodStandardSchemaWithJSON<this>;
3666
+ _zod: $ZodCodecInternals<A, B>;
3667
+ def: $ZodCodecDef<A, B>;
3668
+ }
3669
+ declare const ZodCodec: $constructor<ZodCodec>;
3670
+ declare function codec<const A extends SomeType, B extends SomeType = $ZodType>(in_: A, out: B, params: {
3671
+ decode: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
3672
+ encode: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
3673
+ }): ZodCodec<A, B>;
3674
+ declare function invertCodec<A extends SomeType, B extends SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A>;
3675
+ interface ZodPreprocess<B extends SomeType = $ZodType> extends ZodPipe<$ZodTransform, B>, $ZodPreprocess<B> {
3676
+ "~standard": ZodStandardSchemaWithJSON<this>;
3677
+ _zod: $ZodPreprocessInternals<B>;
3678
+ def: $ZodPreprocessDef<B>;
3679
+ }
3680
+ declare const ZodPreprocess: $constructor<ZodPreprocess>;
2117
3681
  interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
2118
3682
  "~standard": ZodStandardSchemaWithJSON<this>;
2119
3683
  unwrap(): T;
2120
3684
  }
2121
3685
  declare const ZodReadonly: $constructor<ZodReadonly>;
3686
+ declare function readonly<T extends SomeType>(innerType: T): ZodReadonly<T>;
3687
+ interface ZodTemplateLiteral<Template extends string = string> extends _ZodType<$ZodTemplateLiteralInternals<Template>>, $ZodTemplateLiteral<Template> {
3688
+ "~standard": ZodStandardSchemaWithJSON<this>;
3689
+ }
3690
+ declare const ZodTemplateLiteral: $constructor<ZodTemplateLiteral>;
3691
+ declare function templateLiteral<const Parts extends $ZodTemplateLiteralPart[]>(parts: Parts, params?: string | $ZodTemplateLiteralParams): ZodTemplateLiteral<$PartsToTemplateLiteral<Parts>>;
3692
+ interface ZodLazy<T extends SomeType = $ZodType> extends _ZodType<$ZodLazyInternals<T>>, $ZodLazy<T> {
3693
+ "~standard": ZodStandardSchemaWithJSON<this>;
3694
+ unwrap(): T;
3695
+ }
3696
+ declare const ZodLazy: $constructor<ZodLazy>;
3697
+ declare function lazy<T extends SomeType>(getter: () => T): ZodLazy<T>;
3698
+ interface ZodPromise<T extends SomeType = $ZodType> extends _ZodType<$ZodPromiseInternals<T>>, $ZodPromise<T> {
3699
+ "~standard": ZodStandardSchemaWithJSON<this>;
3700
+ unwrap(): T;
3701
+ }
3702
+ declare const ZodPromise: $constructor<ZodPromise>;
3703
+ declare function promise<T extends SomeType>(innerType: T): ZodPromise<T>;
3704
+ interface ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends _ZodType<$ZodFunctionInternals<Args, Returns>>, $ZodFunction<Args, Returns> {
3705
+ "~standard": ZodStandardSchemaWithJSON<this>;
3706
+ _def: $ZodFunctionDef<Args, Returns>;
3707
+ _input: $InferInnerFunctionType<Args, Returns>;
3708
+ _output: $InferOuterFunctionType<Args, Returns>;
3709
+ input<const Items extends TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): ZodFunction<$ZodTuple<Items, Rest>, Returns>;
3710
+ input<NewArgs extends $ZodFunctionIn>(args: NewArgs): ZodFunction<NewArgs, Returns>;
3711
+ input(...args: any[]): ZodFunction<any, Returns>;
3712
+ output<NewReturns extends $ZodType>(output: NewReturns): ZodFunction<Args, NewReturns>;
3713
+ }
3714
+ declare const ZodFunction: $constructor<ZodFunction>;
3715
+ declare function _function(): ZodFunction;
3716
+ declare function _function<const In extends ReadonlyArray<$ZodType>>(params: {
3717
+ input: In;
3718
+ }): ZodFunction<ZodTuple<In, null>, $ZodFunctionOut>;
3719
+ declare function _function<const In extends ReadonlyArray<$ZodType>, const Out extends $ZodFunctionOut = $ZodFunctionOut>(params: {
3720
+ input: In;
3721
+ output: Out;
3722
+ }): ZodFunction<ZodTuple<In, null>, Out>;
3723
+ declare function _function<const In extends $ZodFunctionIn = $ZodFunctionIn>(params: {
3724
+ input: In;
3725
+ }): ZodFunction<In, $ZodFunctionOut>;
3726
+ declare function _function<const Out extends $ZodFunctionOut = $ZodFunctionOut>(params: {
3727
+ output: Out;
3728
+ }): ZodFunction<$ZodFunctionIn, Out>;
3729
+ declare function _function<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodType = $ZodType>(params?: {
3730
+ input: In;
3731
+ output: Out;
3732
+ }): ZodFunction<In, Out>;
3733
+ interface ZodCustom<O = unknown, I = unknown> extends _ZodType<$ZodCustomInternals<O, I>>, $ZodCustom<O, I> {
3734
+ "~standard": ZodStandardSchemaWithJSON<this>;
3735
+ }
3736
+ declare const ZodCustom: $constructor<ZodCustom>;
3737
+ declare function check<O = unknown>(fn: CheckFn<O>): $ZodCheck<O>;
3738
+ declare function custom<O>(fn?: (data: unknown) => unknown, _params?: string | $ZodCustomParams | undefined): ZodCustom<O, O>;
3739
+ declare function refine<T>(fn: (arg: NoInfer<T>) => MaybeAsync<unknown>, _params?: string | $ZodCustomParams): $ZodCheck<T>;
3740
+ declare function superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>, params?: $ZodSuperRefineParams): $ZodCheck<T>;
3741
+ declare const describe: typeof describe$1;
3742
+ declare const meta: typeof meta$1;
3743
+ type ZodInstanceOfParams = Params<ZodCustom, $ZodIssueCustom, "type" | "check" | "checks" | "fn" | "abort" | "error" | "params" | "path">;
3744
+ declare function _instanceof<T extends typeof Class>(cls: T, params?: ZodInstanceOfParams): ZodCustom<InstanceType<T>, InstanceType<T>>;
3745
+ declare const stringbool: (_params?: string | $ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean>;
3746
+ type _ZodJSONSchema = ZodUnion<[ZodString, ZodNumber, ZodBoolean, ZodNull, ZodArray<ZodJSONSchema>, ZodRecord<ZodString, ZodJSONSchema>]>;
3747
+ type _ZodJSONSchemaInternals = _ZodJSONSchema["_zod"];
3748
+ interface ZodJSONSchemaInternals extends _ZodJSONSchemaInternals {
3749
+ output: JSONType;
3750
+ input: JSONType;
3751
+ }
3752
+ interface ZodJSONSchema extends _ZodJSONSchema {
3753
+ _zod: ZodJSONSchemaInternals;
3754
+ }
3755
+ declare function json(params?: string | $ZodCustomParams): ZodJSONSchema;
3756
+ declare function preprocess<A, U extends SomeType, B = unknown>(fn: (arg: B, ctx: $RefinementCtx) => A, schema: U): ZodPreprocess<U>;
3757
+ //#endregion
3758
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.d.cts
3759
+ /** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
3760
+ declare const ZodIssueCode: {
3761
+ readonly invalid_type: "invalid_type";
3762
+ readonly too_big: "too_big";
3763
+ readonly too_small: "too_small";
3764
+ readonly invalid_format: "invalid_format";
3765
+ readonly not_multiple_of: "not_multiple_of";
3766
+ readonly unrecognized_keys: "unrecognized_keys";
3767
+ readonly invalid_union: "invalid_union";
3768
+ readonly invalid_key: "invalid_key";
3769
+ readonly invalid_element: "invalid_element";
3770
+ readonly invalid_value: "invalid_value";
3771
+ readonly custom: "custom";
3772
+ };
3773
+ /** @deprecated Use `z.$ZodFlattenedError` */
3774
+ type inferFlattenedErrors<T extends $ZodType, U = string> = $ZodFlattenedError<output<T>, U>;
3775
+ /** @deprecated Use `z.$ZodFormattedError` */
3776
+ type inferFormattedError<T extends $ZodType<any, any>, U = string> = $ZodFormattedError<output<T>, U>;
3777
+ /** Use `z.$brand` instead */
3778
+ type BRAND<T extends string | number | symbol = string | number | symbol> = {
3779
+ [$brand]: { [k in T]: true; };
3780
+ };
3781
+ /** @deprecated Use `z.config(params)` instead. */
3782
+ declare function setErrorMap(map: $ZodErrorMap): void;
3783
+ /** @deprecated Use `z.config()` instead. */
3784
+ declare function getErrorMap(): $ZodErrorMap<$ZodIssue> | undefined;
3785
+ /** Included for Zod 3 compatibility */
3786
+ type ZodRawShape = $ZodShape;
3787
+ /** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */
3788
+ declare enum ZodFirstPartyTypeKind {}
3789
+ //#endregion
3790
+ //#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/from-json-schema.d.cts
3791
+ type JSONSchemaVersion = "draft-2020-12" | "draft-7" | "draft-4" | "openapi-3.0";
3792
+ interface FromJSONSchemaParams {
3793
+ defaultTarget?: JSONSchemaVersion;
3794
+ registry?: $ZodRegistry<any>;
3795
+ }
3796
+ /**
3797
+ * Converts a JSON Schema to a Zod schema. This function should be considered semi-experimental. It's behavior is liable to change. */
3798
+ declare function fromJSONSchema(schema: JSONSchema | boolean, params?: FromJSONSchemaParams): ZodType;
3799
+ declare namespace iso_d_exports {
3800
+ export { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, date$1 as date, datetime, duration, time };
3801
+ }
3802
+ interface ZodISODateTime extends ZodStringFormat {
3803
+ _zod: $ZodISODateTimeInternals;
3804
+ }
3805
+ declare const ZodISODateTime: $constructor<ZodISODateTime>;
3806
+ declare function datetime(params?: string | $ZodISODateTimeParams): ZodISODateTime;
3807
+ interface ZodISODate extends ZodStringFormat {
3808
+ _zod: $ZodISODateInternals;
3809
+ }
3810
+ declare const ZodISODate: $constructor<ZodISODate>;
3811
+ declare function date$1(params?: string | $ZodISODateParams): ZodISODate;
3812
+ interface ZodISOTime extends ZodStringFormat {
3813
+ _zod: $ZodISOTimeInternals;
3814
+ }
3815
+ declare const ZodISOTime: $constructor<ZodISOTime>;
3816
+ declare function time(params?: string | $ZodISOTimeParams): ZodISOTime;
3817
+ interface ZodISODuration extends ZodStringFormat {
3818
+ _zod: $ZodISODurationInternals;
3819
+ }
3820
+ declare const ZodISODuration: $constructor<ZodISODuration>;
3821
+ declare function duration(params?: string | $ZodISODurationParams): ZodISODuration;
3822
+ declare namespace coerce_d_exports {
3823
+ export { ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, bigint, boolean, date, number, string };
3824
+ }
3825
+ interface ZodCoercedString<T = unknown> extends _ZodString<$ZodStringInternals<T>> {}
3826
+ declare function string<T = unknown>(params?: string | $ZodStringParams): ZodCoercedString<T>;
3827
+ interface ZodCoercedNumber<T = unknown> extends _ZodNumber<$ZodNumberInternals<T>> {}
3828
+ declare function number<T = unknown>(params?: string | $ZodNumberParams): ZodCoercedNumber<T>;
3829
+ interface ZodCoercedBoolean<T = unknown> extends _ZodBoolean<$ZodBooleanInternals<T>> {}
3830
+ declare function boolean<T = unknown>(params?: string | $ZodBooleanParams): ZodCoercedBoolean<T>;
3831
+ interface ZodCoercedBigInt<T = unknown> extends _ZodBigInt<$ZodBigIntInternals<T>> {}
3832
+ declare function bigint<T = unknown>(params?: string | $ZodBigIntParams): ZodCoercedBigInt<T>;
3833
+ interface ZodCoercedDate<T = unknown> extends _ZodDate<$ZodDateInternals<T>> {}
3834
+ declare function date<T = unknown>(params?: string | $ZodDateParams): ZodCoercedDate<T>;
3835
+ declare namespace external_d_exports {
3836
+ export { $brand, $input, $output, BRAND, GlobalMeta, output as Infer, IssueData, JSONType, NEVER, $RefinementCtx as RefinementCtx, SafeExtendShape, ZodType as Schema, TimePrecision, output as TypeOf, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, $ZodErrorMap as ZodErrorMap, ZodExactOptional, ZodFile, $ZodTypes as ZodFirstPartySchemaTypes, ZodFirstPartyTypeKind, $ZodFlattenedError as ZodFlattenedError, ZodFloat32, ZodFloat64, $ZodFormattedError as ZodFormattedError, ZodFunction, ZodGUID, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodInt, ZodInt32, ZodIntersection, ZodIssue, ZodIssueCode, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMAC, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPreprocess, ZodPromise, ZodRawShape, ZodReadonly, ZodRealError, ZodRecord, ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, ZodType as ZodSchema, ZodSet, ZodStandardSchemaWithJSON, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodType as ZodTypeAny, ZodUInt32, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, ZodXor, _ZodBigInt, _ZodBoolean, _ZodDate, _ZodNumber, _ZodString, _ZodType, _default, _function, any, array, base64, base64url, bigint$1 as bigint, boolean$1 as boolean, _catch as catch, check, cidrv4, cidrv6, clone, codec, coerce_d_exports as coerce, config, index_d_exports as core, cuid, cuid2, custom, date$2 as date, decode, decodeAsync, describe, discriminatedUnion, e164, email, emoji, encode, encodeAsync, _endsWith as endsWith, _enum as enum, exactOptional, file, flattenError, float32, float64, formatError, fromJSONSchema, _function as function, getErrorMap, globalRegistry, _gt as gt, _gte as gte, guid, hash, hex, hostname, httpUrl, _includes as includes, output as infer, inferFlattenedErrors, inferFormattedError, input, _instanceof as instanceof, int, int32, int64, intersection, invertCodec, ipv4, ipv6, iso_d_exports as iso, json, jwt, keyof, ksuid, lazy, _length as length, literal, index_d_exports$1 as locales, looseObject, looseRecord, _lowercase as lowercase, _lt as lt, _lte as lte, mac, map, _maxLength as maxLength, _maxSize as maxSize, meta, _mime as mime, _minLength as minLength, _minSize as minSize, _multipleOf as multipleOf, nan, nanoid, nativeEnum, _negative as negative, never, _nonnegative as nonnegative, nonoptional, _nonpositive as nonpositive, _normalize as normalize, _null as null, nullable, nullish, number$1 as number, object, optional, output, _overwrite as overwrite, parse, parseAsync, partialRecord, pipe, _positive as positive, prefault, preprocess, prettifyError, promise, _property as property, readonly, record, refine, _regex as regex, regexes_d_exports as regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, _size as size, _slugify as slugify, _startsWith as startsWith, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, transform, treeifyError, _trim as trim, tuple, uint32, uint64, ulid, _undefined as undefined, union, unknown, _uppercase as uppercase, url, util_d_exports as util, uuid, uuidv4, uuidv6, uuidv7, _void as void, xid, xor };
3837
+ }
2122
3838
  //#endregion
2123
3839
  //#region ../core/src/projection.d.ts
2124
3840
  /**
@@ -2289,8 +4005,8 @@ type CrmConcept = (typeof CRM_CONCEPTS)[number];
2289
4005
  * unconstrained.
2290
4006
  */
2291
4007
  declare const CANONICAL_FIELDS: {
2292
- readonly contact: readonly ["name", "email", "title", "status"];
2293
- readonly company: readonly ["name", "domain", "industry", "size"];
4008
+ readonly contact: readonly ["name", "email", "phone", "title", "status"];
4009
+ readonly company: readonly ["name", "domain", "industry", "size", "email", "phone"];
2294
4010
  readonly deal: readonly ["name", "value", "stage"];
2295
4011
  };
2296
4012
  /**
@@ -2475,6 +4191,7 @@ declare const entitySchema: ZodObject<{
2475
4191
  $raw: ZodString;
2476
4192
  }, $strict>]>;
2477
4193
  }, $strict>>>;
4194
+ isPrimaryContact: ZodOptional<ZodBoolean>;
2478
4195
  targetObjectTypeId: ZodOptional<ZodString>;
2479
4196
  objectType: ZodOptional<ZodObject<{
2480
4197
  name: ZodString;
@@ -2575,6 +4292,7 @@ declare const entitiesConfigSchema: ZodObject<{
2575
4292
  $raw: ZodString;
2576
4293
  }, $strict>]>;
2577
4294
  }, $strict>>>;
4295
+ isPrimaryContact: ZodOptional<ZodBoolean>;
2578
4296
  targetObjectTypeId: ZodOptional<ZodString>;
2579
4297
  objectType: ZodOptional<ZodObject<{
2580
4298
  name: ZodString;