@powerhousedao/ph-cli 6.2.3-dev.61 → 6.2.3-dev.62

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 (56) hide show
  1. package/dist/{build-skPHsKkL.mjs → build-BM-zayLm.mjs} +7 -3
  2. package/dist/build-BM-zayLm.mjs.map +1 -0
  3. package/dist/build-BZGpUn8f.mjs +4 -0
  4. package/dist/{cli-connect-override-CuheCf3N.mjs → cli-connect-override-DP5vRA7N.mjs} +4 -4
  5. package/dist/{cli-connect-override-CuheCf3N.mjs.map → cli-connect-override-DP5vRA7N.mjs.map} +1 -1
  6. package/dist/cli.mjs +4 -4
  7. package/dist/{connect-build-CyNALLxq.mjs → connect-build-xRrXk9-p.mjs} +31 -10
  8. package/dist/connect-build-xRrXk9-p.mjs.map +1 -0
  9. package/dist/{connect-config-B0WoJoZv.mjs → connect-config-BvS0chVq.mjs} +4 -4
  10. package/dist/{connect-config-B0WoJoZv.mjs.map → connect-config-BvS0chVq.mjs.map} +1 -1
  11. package/dist/{connect-preview-Clue7SVp.mjs → connect-preview-BW6XnRtj.mjs} +42 -11
  12. package/dist/connect-preview-BW6XnRtj.mjs.map +1 -0
  13. package/dist/{connect-studio-B-HTpgG2.mjs → connect-studio-8EyDblpG.mjs} +4 -4
  14. package/dist/{connect-studio-B-HTpgG2.mjs.map → connect-studio-8EyDblpG.mjs.map} +1 -1
  15. package/dist/{connect-studio-ClS1PdVV.mjs → connect-studio-NxCVdXDv.mjs} +3 -3
  16. package/dist/{dist-BsyiY0Fw.mjs → dist-BqeDFgEy.mjs} +5 -5
  17. package/dist/{dist-BsyiY0Fw.mjs.map → dist-BqeDFgEy.mjs.map} +1 -1
  18. package/dist/{explain-j11Vgf0Z.mjs → explain-D6gLYBd0.mjs} +4 -4
  19. package/dist/{explain-j11Vgf0Z.mjs.map → explain-D6gLYBd0.mjs.map} +1 -1
  20. package/dist/{generate-desktop-shell-DFOsRPgq.mjs → generate-desktop-shell-itIzf77U.mjs} +4 -4
  21. package/dist/{generate-desktop-shell-DFOsRPgq.mjs.map → generate-desktop-shell-itIzf77U.mjs.map} +1 -1
  22. package/dist/{host-schemas-CL_wFpY7-BDyTA_z_.mjs → host-schemas-CL_wFpY7-B_pY14Jy.mjs} +5 -5
  23. package/dist/{host-schemas-CL_wFpY7-BDyTA_z_.mjs.map → host-schemas-CL_wFpY7-B_pY14Jy.mjs.map} +1 -1
  24. package/dist/{index-CApW1xbO.d.mts → index-CspiP73o.d.mts} +840 -297
  25. package/dist/index-CspiP73o.d.mts.map +1 -0
  26. package/dist/{ph-cli-commands-ByuH-lXH.mjs → ph-cli-commands-CLJP7yKV.mjs} +12 -12
  27. package/dist/{ph-cli-commands-ByuH-lXH.mjs.map → ph-cli-commands-CLJP7yKV.mjs.map} +1 -1
  28. package/dist/ph-cli-commands-NHDoX5i7.mjs +4 -0
  29. package/dist/{plugins-PTnPaBIG.mjs → plugins-CHVv4qup.mjs} +4 -4
  30. package/dist/{plugins-PTnPaBIG.mjs.map → plugins-CHVv4qup.mjs.map} +1 -1
  31. package/dist/{reactor-env-Dx0Hxi5I.mjs → reactor-env-BbR86_Li.mjs} +4 -4
  32. package/dist/{reactor-env-Dx0Hxi5I.mjs.map → reactor-env-BbR86_Li.mjs.map} +1 -1
  33. package/dist/reactor-env-D_EvBtLB.mjs +4 -0
  34. package/dist/{run-sugar-D3C0Ptvv.mjs → run-sugar-DveBlJqh.mjs} +4 -4
  35. package/dist/{run-sugar-D3C0Ptvv.mjs.map → run-sugar-DveBlJqh.mjs.map} +1 -1
  36. package/dist/runners/compound.d.mts +1 -1
  37. package/dist/runners/compound.mjs +4 -4
  38. package/dist/runners/connect.d.mts +1 -1
  39. package/dist/runners/connect.mjs +7 -7
  40. package/dist/runners/switchboard.d.mts +1 -1
  41. package/dist/runners/switchboard.mjs +7 -7
  42. package/dist/{schemas-BZZWQ72W.mjs → schemas-BQSPev1x.mjs} +2545 -970
  43. package/dist/schemas-BQSPev1x.mjs.map +1 -0
  44. package/dist/{start-run-1mjFpX7H.mjs → start-run-CASbiOWI.mjs} +4 -4
  45. package/dist/{start-run-1mjFpX7H.mjs.map → start-run-CASbiOWI.mjs.map} +1 -1
  46. package/dist/{vetra-BBcDGKgI.mjs → vetra-BV5F0YeG.mjs} +6 -6
  47. package/dist/{vetra-BBcDGKgI.mjs.map → vetra-BV5F0YeG.mjs.map} +1 -1
  48. package/package.json +14 -14
  49. package/dist/build-DmqwT-PR.mjs +0 -4
  50. package/dist/build-skPHsKkL.mjs.map +0 -1
  51. package/dist/connect-build-CyNALLxq.mjs.map +0 -1
  52. package/dist/connect-preview-Clue7SVp.mjs.map +0 -1
  53. package/dist/index-CApW1xbO.d.mts.map +0 -1
  54. package/dist/ph-cli-commands-sgvuh-kj.mjs +0 -4
  55. package/dist/reactor-env-BgyzjfYc.mjs +0 -4
  56. package/dist/schemas-BZZWQ72W.mjs.map +0 -1
@@ -1,10 +1,11 @@
1
1
  import { createRequire } from "node:module";
2
2
  import "@powerhousedao/shared/clis";
3
3
  declare namespace json_schema_d_exports {
4
- export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, StringSchema, _JSONSchema };
4
+ export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema$1 as Schema, SchemaType, StringSchema, _JSONSchema };
5
5
  }
6
- type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;
6
+ type Schema$1 = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;
7
7
  type _JSONSchema = boolean | JSONSchema;
8
+ type SchemaType = "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
8
9
  type JSONSchema = {
9
10
  [k: string]: unknown;
10
11
  $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
@@ -16,7 +17,7 @@ type JSONSchema = {
16
17
  $vocabulary?: Record<string, boolean>;
17
18
  $comment?: string;
18
19
  $defs?: Record<string, JSONSchema>;
19
- type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
20
+ type?: SchemaType | SchemaType[];
20
21
  additionalItems?: _JSONSchema;
21
22
  unevaluatedItems?: _JSONSchema;
22
23
  prefixItems?: _JSONSchema[];
@@ -92,7 +93,7 @@ interface NullSchema extends JSONSchema {
92
93
  type: "null";
93
94
  }
94
95
  //#endregion
95
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts
96
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/standard-schema.d.cts
96
97
  /** The Standard interface. */
97
98
  interface StandardTypedV1<Input = unknown, Output = Input> {
98
99
  /** The Standard properties. */
@@ -217,7 +218,7 @@ declare const $output: unique symbol;
217
218
  type $output = typeof $output;
218
219
  declare const $input: unique symbol;
219
220
  type $input = typeof $input;
220
- type $replace<Meta, S extends $ZodType> = Meta extends $output ? output<S> : Meta extends $input ? input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S>; }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S>; } : Meta;
221
+ type $replace<Meta, S extends $ZodType> = Meta extends $output ? output$1<S> : Meta extends $input ? input$1<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S>; }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S>; } : Meta;
221
222
  type MetadataType = object | undefined;
222
223
  declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
223
224
  _meta: Meta;
@@ -241,8 +242,20 @@ interface GlobalMeta extends JSONSchemaMeta {}
241
242
  declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;
242
243
  declare const globalRegistry: $ZodRegistry<GlobalMeta>;
243
244
  //#endregion
244
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts
245
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.d.cts
245
246
  type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
247
+ /**
248
+ * Called for each schema that has no JSON Schema equivalent. Return a JSON Schema to use in its
249
+ * place, `"any"` to fall back to the `unrepresentable: "any"` behavior, or `"throw"`/`undefined` to
250
+ * throw the default error. Throwing from the handler propagates, so custom errors work too.
251
+ */
252
+ type UnrepresentableHandler<T extends $ZodType = $ZodType> = (ctx: {
253
+ zodSchema: T;
254
+ path: (string | number)[];
255
+ /** The error Zod would throw. Distinguishes sites that share a `zodSchema`, e.g. an `undefined`
256
+ * vs a `bigint` member of the same literal. */
257
+ message: string;
258
+ }) => BaseSchema | "throw" | "any" | undefined;
246
259
  interface JSONSchemaGeneratorParams {
247
260
  processors: Record<string, Processor>;
248
261
  /** A registry used to look up metadata for each schema. Any schema with an `id` property will be extracted as a $def.
@@ -256,8 +269,9 @@ interface JSONSchemaGeneratorParams {
256
269
  target?: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string) | undefined;
257
270
  /** How to handle unrepresentable types.
258
271
  * - `"throw"` — Default. Unrepresentable types throw an error
259
- * - `"any"` — Unrepresentable types become `{}` */
260
- unrepresentable?: "throw" | "any";
272
+ * - `"any"` — Unrepresentable types become `{}`
273
+ * - A function — called once per unrepresentable schema; see {@link UnrepresentableHandler}. */
274
+ unrepresentable?: "throw" | "any" | UnrepresentableHandler<$ZodTypes>;
261
275
  /** Arbitrary custom logic that can be used to modify the generated JSON Schema. */
262
276
  override?: (ctx: {
263
277
  zodSchema: $ZodTypes;
@@ -312,7 +326,7 @@ interface ToJSONSchemaContext {
312
326
  processors: Record<string, Processor>;
313
327
  metadataRegistry: $ZodRegistry<Record<string, any>>;
314
328
  target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
315
- unrepresentable: "throw" | "any";
329
+ unrepresentable: "throw" | "any" | UnrepresentableHandler;
316
330
  override: (ctx: {
317
331
  zodSchema: $ZodType;
318
332
  jsonSchema: BaseSchema;
@@ -321,8 +335,28 @@ interface ToJSONSchemaContext {
321
335
  io: "input" | "output";
322
336
  counter: number;
323
337
  seen: Map<$ZodType, Seen>;
338
+ /** Registry conversions share one `seen` map across every emitted schema. These hold the
339
+ * `external` the whole-map passes below last ran for, so the passes are not repeated once per
340
+ * schema — and still re-run if the map grows or `external` is swapped. `sharedEmitDoneFor`
341
+ * covers both passes in `finalize`: the ref flattening and the `$defs` build.
342
+ *
343
+ * The passes are valid only while nothing they read has changed, so both are cleared in
344
+ * `processSchema()` when the map grows, and in `JSONSchemaGenerator.emit()`, which can also change
345
+ * the `cycles` and `reused` they branch on.
346
+ *
347
+ * One case is deliberately not covered: an `override` callback that writes to
348
+ * `metadataRegistry` mid-conversion. It runs inside `finalize`, so a registry conversion has
349
+ * nowhere left to clear the guards, and later schemas keep the ids the first pass saw. That
350
+ * output was never coherent — before this, whether a shared subschema was inlined or extracted
351
+ * depended on which registry entry happened to be emitted when the callback fired. */
352
+ sharedDefsExtractedFor?: ToJSONSchemaContext["external"];
353
+ sharedEmitDoneFor?: ToJSONSchemaContext["external"];
324
354
  cycles: "ref" | "throw";
325
355
  reused: "ref" | "inline";
356
+ /** The `allOf` array of each intersection encountered during traversal, innermost first. `finalize` folds every emitted object holding one; see `foldIntersection`. */
357
+ intersections: BaseSchema[][];
358
+ /** Rewrites a processor deferred to `finalize`, where the flatten has resolved every ref and the union branches are in place. */
359
+ deferred: (() => void)[];
326
360
  external?: {
327
361
  registry: $ZodRegistry<{
328
362
  id?: string | undefined;
@@ -332,10 +366,16 @@ interface ToJSONSchemaContext {
332
366
  } | undefined;
333
367
  }
334
368
  declare function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext;
335
- declare function process<T extends $ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): BaseSchema;
369
+ /**
370
+ * Applies the `unrepresentable` setting at a site that has no JSON Schema equivalent. Throws
371
+ * `message` unless the setting (or the handler's return value) says otherwise. Returns `true` if a
372
+ * custom JSON Schema was written into `json`, in which case the caller must not write its own.
373
+ */
374
+ declare function handleUnrepresentable(schema: $ZodType, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams, message: string): boolean;
375
+ declare function processSchema<T extends $ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): BaseSchema;
336
376
  declare function extractDefs<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): void;
337
377
  declare function finalize<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): ZodStandardJSONSchemaPayload<T>;
338
- type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
378
+ type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input$1<T>, output$1<T>>;
339
379
  interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
340
380
  "~standard": ZodStandardSchemaWithJSON$1<T>;
341
381
  }
@@ -351,7 +391,7 @@ declare const createToJSONSchemaMethod: <T extends $ZodType>(schema: T, processo
351
391
  type StandardJSONSchemaMethodParams = Parameters<StandardJSONSchemaV1["~standard"]["jsonSchema"]["input"]>[0];
352
392
  declare const createStandardJSONSchemaMethod: <T extends $ZodType>(schema: T, io: "input" | "output", processors?: Record<string, Processor>) => (params?: StandardJSONSchemaMethodParams) => BaseSchema;
353
393
  declare namespace util_d_exports {
354
- 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, 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 };
394
+ export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, CONSTANT_CATCH, 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, ProtoOf, SafeParseError, SafeParseResult, SafeParseSuccess, SchemaClass, ShapeGetter, SomeObject, ToCleanMap, ToEnum, TupleItems, Whatever, Widen, Writeable, aborted, allowsEval, assert, assertEqual, assertIs, assertNever, assertNotEqual, assignProp, attachSchema, base64ToUint8Array, base64urlToUint8Array, cached, captureStackTrace, cleanEnum, cleanRegex, clone, cloneDef, codePointLength, constantCatch, createTransparentProxy, defineLazy, defineLazyInternal, derived, esc, escapeRegex, explicitlyAborted, extend, finalizeIssue, floatSafeRemainder, getElementAtPath, getEnumValues, getLengthableOrigin, getParsedType, getSizableOrigin, hexToUint8Array, hide, installLazyProp, isObject, isPlainObject, issue, joinValues, jsonStringifyReplacer, members, merge, mergeDefs, normalizeParams, nullish$1 as nullish, numKeys, objectClone, omit, optionalKeys, own, parsedType, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, rawShape, required, safeExtend, shallowClone, slugify, stringifyPrimitive, toZod, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
355
395
  }
356
396
  type JSONType = string | number | boolean | null | JSONType[] | {
357
397
  [key: string]: JSONType;
@@ -366,6 +406,24 @@ type ParsedTypes = "string" | "number" | "bigint" | "boolean" | "symbol" | "unde
366
406
  type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? true : false;
367
407
  type AssertNotEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? false : true;
368
408
  type AssertExtends<T, U> = T extends U ? T : never;
409
+ type ToZodMismatch<T, S extends $ZodType> = {
410
+ "types do not match": {
411
+ expected: T;
412
+ received: S["_zod"]["output"];
413
+ };
414
+ };
415
+ type ToZodKeyMismatch<Expected, Received> = $ZodType & {
416
+ "types do not match": {
417
+ expected: Expected;
418
+ received: Received;
419
+ };
420
+ };
421
+ declare const toZodDummy: unique symbol;
422
+ type ToZodNormalize<T> = [T] extends [(...args: any[]) => any] ? T : [T] extends [object] ? { [K in keyof T]: ToZodNormalize<T[K]>; } : T | typeof toZodDummy;
423
+ type ToZodEqual<Output, T> = AssertEqual<Output, T> extends true ? true : IsAny<Output> extends true ? false : IsAny<T> extends true ? false : AssertEqual<ToZodNormalize<Output>, ToZodNormalize<T>>;
424
+ type ToZodShape<Shape, T> = { [K in keyof Shape]: Shape[K] extends $ZodType ? K extends keyof T ? ToZodEqual<Shape[K]["_zod"]["output"], T[K]> extends true ? Shape[K] : ToZodKeyMismatch<T[K], Shape[K]["_zod"]["output"]> : ToZodKeyMismatch<never, Shape[K]["_zod"]["output"]> : Shape[K]; } & { [K in Exclude<keyof T, keyof Shape>]: ToZodKeyMismatch<T[K], never>; };
425
+ type ToZodExpand<X> = { [K in keyof X]: X[K]; } & {};
426
+ type ToZodTarget<S extends $ZodType, T> = S extends $ZodObject<infer Shape, infer Config> ? T extends object ? AssertEqual<ToZodExpand<ToZodShape<Shape, T>>, ToZodExpand<Shape>> extends true ? S & ToZodMismatch<T, S> : $ZodObject<ToZodExpand<ToZodShape<Shape, T>>, Config> : S & ToZodMismatch<T, S> : S & ToZodMismatch<T, S>;
369
427
  type IsAny<T> = 0 extends 1 & T ? true : false;
370
428
  type Omit$1<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
371
429
  type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;
@@ -374,6 +432,7 @@ type MakeRequired<T, K extends keyof T> = Omit$1<T, K> & Required<Pick<T, K>>;
374
432
  type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;
375
433
  type NoUndefined<T> = T extends undefined ? never : T;
376
434
  type Whatever = {} | undefined | null;
435
+ type Widen<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends bigint ? bigint : T;
377
436
  type LoosePartial<T extends object> = InexactPartial<T> & {
378
437
  [k: string]: unknown;
379
438
  };
@@ -435,6 +494,7 @@ type PropValues = Record<string, Set<Primitive>>;
435
494
  type PrimitiveSet = Set<Primitive>;
436
495
  declare function assertEqual<A, B>(val: AssertEqual<A, B>): AssertEqual<A, B>;
437
496
  declare function assertNotEqual<A, B>(val: AssertNotEqual<A, B>): AssertNotEqual<A, B>;
497
+ declare function toZod<T>(): <S extends $ZodType>(schema: ToZodEqual<S["_zod"]["output"], T> extends true ? S : ToZodTarget<S, T>) => S;
438
498
  declare function assertIs<T>(_arg: T): void;
439
499
  declare function assertNever(_x: never): never;
440
500
  declare function assert<T>(_: any): asserts _ is T;
@@ -450,6 +510,17 @@ declare function floatSafeRemainder(val: number, step: number): number;
450
510
  declare function defineLazy<T, K extends keyof T>(object: T, key: K, getter: () => T[K]): void;
451
511
  declare function objectClone(obj: object): any;
452
512
  declare function assignProp<T extends object, K extends PropertyKey>(target: T, prop: K, value: K extends keyof T ? T[K] : any): void;
513
+ /** A def's `shape` accessor, carrying whichever object it currently answers from. */
514
+ interface ShapeGetter {
515
+ (): Record<PropertyKey, any>;
516
+ raw: Record<PropertyKey, any>;
517
+ }
518
+ /**
519
+ * Whichever object a def's `shape` currently answers from: the one the caller passed until the first read, the frozen copy after it.
520
+ *
521
+ * Its keys and descriptors read without invoking anything, which is what lets a discriminated union check its discriminator, and the cycle walk read a shape, without resolving a getter that references the schema being constructed. A def that answers `shape` from an accessor of its own has none.
522
+ */
523
+ declare function rawShape(def: any): Record<PropertyKey, any> | undefined;
453
524
  declare function mergeDefs(...defs: Record<string, any>[]): any;
454
525
  declare function cloneDef(schema: $ZodType): any;
455
526
  declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any;
@@ -490,16 +561,19 @@ declare function omit(schema: $ZodObject, mask: object): any;
490
561
  declare function extend(schema: $ZodObject, shape: $ZodShape): any;
491
562
  declare function safeExtend(schema: $ZodObject, shape: $ZodShape): any;
492
563
  declare function merge(a: $ZodObject, b: $ZodObject): any;
493
- declare function partial(Class: SchemaClass<$ZodOptional> | null, schema: $ZodObject, mask: object | undefined): any;
564
+ declare function partial(Class: SchemaClass<$ZodOptional> | null, schema: $ZodObject, mask: object | undefined, name?: string): any;
494
565
  declare function required(Class: SchemaClass<$ZodNonOptional>, schema: $ZodObject, mask: object | undefined): any;
495
566
  type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;
496
567
  declare function aborted(x: ParsePayload, startIndex?: number): boolean;
568
+ declare function explicitlyAborted(x: ParsePayload, startIndex?: number): boolean;
497
569
  declare function prefixIssues(path: PropertyKey, issues: $ZodRawIssue[]): $ZodRawIssue[];
498
570
  declare function unwrapMessage(message: string | {
499
571
  message: string;
500
572
  } | undefined | null): string | undefined;
573
+ declare function attachSchema(issues: $ZodRawIssue[], start: number, inst: $ZodType): void;
501
574
  declare function finalizeIssue(iss: $ZodRawIssue, ctx: ParseContextInternal | undefined, config: $ZodConfig): $ZodIssue;
502
575
  declare function getSizableOrigin(input: any): "set" | "map" | "file" | "unknown";
576
+ declare function codePointLength(str: string): number;
503
577
  declare function getLengthableOrigin(input: any): "array" | "string" | "unknown";
504
578
  declare function parsedType(data: unknown): $ZodInvalidTypeExpected;
505
579
  declare function issue(_iss: string, input: any, inst: any): $ZodRawIssue;
@@ -514,15 +588,47 @@ declare function uint8ArrayToHex(bytes: Uint8Array): string;
514
588
  declare abstract class Class {
515
589
  constructor(..._args: any[]);
516
590
  }
591
+ /**
592
+ * Installs a trait's members on its prototype. Each value builds that member for the instance on first read; the built value shadows the accessor as an own property, so a detached `const { parse } = schema` keeps working.
593
+ *
594
+ * Call this from a `proto` initializer, which runs once per prototype — never per instance.
595
+ */
596
+ declare function members(proto: object, table: object): void;
597
+ /** Shadows a prototype member with an own value, so a getter that builds from the instance runs once. */
598
+ declare function own<T>(inst: object, key: PropertyKey, value: T, enumerable?: boolean): T;
599
+ /** Like {@link own}, for a member that was never an own data property and has to stay out of `Object.keys`. */
600
+ declare function hide<T>(inst: object, key: PropertyKey, value: T): T;
601
+ /** Adds members a table derives from the instance: each builds on first read and shadows as own data, and assignment shadows the same way, as when these were own properties. */
602
+ declare function derived<T>(computes: { [K in keyof T]?: (inst: T) => T[K]; }, table: ProtoOf<T>): ProtoOf<T>;
603
+ /** A trait's prototype members: a partial view of its own interface, with `this` typed as the instance. */
604
+ type ProtoOf<T> = { [K in keyof T]?: (T[K] extends ((...args: infer A) => infer R) ? (...args: A) => R : T[K]) | undefined; } & ThisType<T>;
605
+ /**
606
+ * Installs a lazily-derived internal on the `_zod` prototype of `inst`'s
607
+ * constructor, computed from the internals object itself and cached there on
608
+ * first read. One accessor per constructor rather than one per instance.
609
+ */
610
+ declare function defineLazyInternal<T extends {
611
+ _zod: any;
612
+ }>(inst: T, key: string, compute: (zod: T["_zod"]) => unknown): void;
613
+ /**
614
+ * Installs `key` on `inst`'s prototype, computed by `make` on first read and cached there as an own
615
+ * data property. One accessor per constructor rather than one per instance, because an own accessor
616
+ * puts every instance after the first into v8 dictionary mode. The key doubles as the sentinel.
617
+ */
618
+ declare function installLazyProp(inst: object, key: string, make: (self: any) => unknown, enumerable: boolean): void;
619
+ /** Marks the thunk `_catch` synthesises for a constant catch value. `Function.length` cannot tell that thunk from a user callback — rest and defaulted parameters both report arity 0 — and a user callback reads `ctx.error`, whose issues only finalize correctly against the caller's per-parse error map. Provenance can say what arity cannot. A plain string key rather than `Symbol.for`, whose call at module scope no bundler can prove pure — the same shape that anchored `urlCanParse` into every build. */
620
+ declare const CONSTANT_CATCH = "~constantCatch";
621
+ /** Wraps a constant catch value in a thunk tagged with {@link CONSTANT_CATCH}. */
622
+ declare function constantCatch<T>(value: T): () => T;
517
623
  //#endregion
518
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts
624
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.d.cts
519
625
  declare const version: {
520
626
  readonly major: 4;
521
- readonly minor: 3;
627
+ readonly minor: 6;
522
628
  readonly patch: number;
523
629
  };
524
- declare namespace schemas_d_exports {
525
- 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, $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 };
630
+ declare namespace schemas_d_exports$1 {
631
+ export { $DiscriminatedOption, $DiscriminatorValue, $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, $ZodCreditCard, $ZodCreditCardDef, $ZodCreditCardInternals, $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, $ZodIBAN, $ZodIBANDef, $ZodIBANInternals, $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, $ZodMemoizer, $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, URL_BAD_FORMAT, URL_UNPARSEABLE, _$ZodType, _$ZodTypeInternals, base64Charset, base64urlCharset, canParseURL, clone, getDiscriminatedOption, isValidBase64, isValidBase64URL, isValidCIDRv6, isValidCreditCard, isValidIBAN, isValidIPv6, isValidJWT, mergeValues, parseURLObject, standardProps, stripTabAndNewline, urlHostnameOk, urlProtocolOk, validateURL };
526
632
  }
527
633
  interface ParseContext<T extends $ZodIssueBase = never> {
528
634
  /** Customize error messages. */
@@ -537,12 +643,23 @@ interface ParseContextInternal<T extends $ZodIssueBase = never> extends ParseCon
537
643
  readonly async?: boolean | undefined;
538
644
  readonly direction?: "forward" | "backward";
539
645
  readonly skipChecks?: boolean;
646
+ /** Set only by `validate`/`validateAsync`. A container may stop before its next child, never inside one, so a map entry and a tuple's fixed items parse whole. */
647
+ readonly abortEarly?: boolean;
648
+ }
649
+ /** Gives a container cycle support: `attach` wraps its parse, and `alloc` registers the object it builds into before any child is parsed so a reference back to the same input resolves to it. */
650
+ interface $ZodMemoizer {
651
+ attach(inst: $ZodType): void;
652
+ guard(inst: $ZodType): void;
653
+ alloc<T extends object>(inst: $ZodType, payload: ParsePayload, empty: T, ctx: ParseContextInternal): T;
540
654
  }
541
655
  interface ParsePayload<T = unknown> {
542
656
  value: T;
543
657
  issues: $ZodRawIssue[];
544
- /** A may to mark a whole payload as aborted. Used in codecs/pipes. */
658
+ /** A way to mark a whole payload as aborted. Used in codecs/pipes. */
545
659
  aborted?: boolean;
660
+ /** @internal Set when the value came from a repeat visit to a node still being
661
+ * parsed. Its checks run on the node itself, against the finished value. */
662
+ memo?: boolean | undefined;
546
663
  }
547
664
  type CheckFn<T> = (input: ParsePayload<T>) => MaybeAsync<void>;
548
665
  interface $ZodTypeDef {
@@ -567,8 +684,13 @@ interface _$ZodTypeInternals {
567
684
  /** @internal Indicates that a schema output type should be considered optional inside objects.
568
685
  * @default Required
569
686
  */
570
- /** @internal */
571
- optin?: "optional" | undefined;
687
+ /** @internal Three rungs, each strictly stronger than the last:
688
+ * undefined — required; the container may not omit this slot
689
+ * "optional" — the container may omit it; nothing is supplied in its place
690
+ * "defaulted" — the container may omit it AND this schema substitutes a value
691
+ * Consumers asking "may the slot be absent?" test `!== undefined`.
692
+ * $ZodOptional asks the stronger question and tests `=== "defaulted"`. */
693
+ optin?: "optional" | "defaulted" | undefined;
572
694
  /** @internal */
573
695
  optout?: "optional" | undefined;
574
696
  /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
@@ -603,7 +725,7 @@ interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeI
603
725
  /** @internal The inferred input type */
604
726
  input: I;
605
727
  }
606
- type $ZodStandardSchema<T> = StandardSchemaV1.Props<input<T>, output<T>>;
728
+ type $ZodStandardSchema<T> = StandardSchemaV1.Props<input$1<T>, output$1<T>>;
607
729
  type SomeType = {
608
730
  _zod: _$ZodTypeInternals;
609
731
  };
@@ -613,6 +735,7 @@ interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals
613
735
  }
614
736
  interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {}
615
737
  declare const $ZodType: $constructor<$ZodType>;
738
+ declare function standardProps(inst: $ZodType): StandardSchemaV1.Props<any, any>;
616
739
  interface $ZodStringDef extends $ZodTypeDef {
617
740
  type: "string";
618
741
  coerce?: boolean;
@@ -630,6 +753,8 @@ interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
630
753
  patterns: Set<RegExp>;
631
754
  format: string;
632
755
  contentEncoding: string;
756
+ /** the pattern admits strings its `format` keyword forbids, so `toJSONSchema` must not emit it */
757
+ laxFormat: boolean;
633
758
  }>;
634
759
  }
635
760
  interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {}
@@ -675,6 +800,18 @@ interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
675
800
  interface $ZodURL extends $ZodType {
676
801
  _zod: $ZodURLInternals;
677
802
  }
803
+ /** The `://` guard rejected the input before the URL constructor saw it. */
804
+ declare const URL_BAD_FORMAT = 1;
805
+ /** The URL parser rejected the input. */
806
+ declare const URL_UNPARSEABLE = 2;
807
+ declare function canParseURL(input: string): boolean;
808
+ declare function validateURL(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "hostname" | "normalize">): URL | true | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
809
+ /** Parses a URL while preserving the non-normalizing HTTP guard. */
810
+ declare function parseURLObject(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "normalize">): URL | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
811
+ /** The URL parser deletes every ASCII tab, LF and CR from its input before it parses, so `new URL("https://exa\nmple.com")` reports on `example.com`. Applying the same deletion to the returned value closes the half of that divergence which can move the host; the parser's other rewrite, stripping C0 controls at the edges, cannot. */
812
+ declare function stripTabAndNewline(value: string): string;
813
+ declare function urlHostnameOk(url: URL, hostname: RegExp): boolean;
814
+ declare function urlProtocolOk(url: URL, protocol: RegExp): boolean;
678
815
  declare const $ZodURL: $constructor<$ZodURL>;
679
816
  interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {}
680
817
  interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
@@ -682,17 +819,41 @@ interface $ZodEmoji extends $ZodType {
682
819
  _zod: $ZodEmojiInternals;
683
820
  }
684
821
  declare const $ZodEmoji: $constructor<$ZodEmoji>;
685
- interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {}
686
- interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {}
822
+ interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {
823
+ length?: number | undefined;
824
+ }
825
+ interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {
826
+ def: $ZodNanoIDDef;
827
+ }
687
828
  interface $ZodNanoID extends $ZodType {
688
829
  _zod: $ZodNanoIDInternals;
689
830
  }
690
831
  declare const $ZodNanoID: $constructor<$ZodNanoID>;
832
+ /**
833
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
834
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
835
+ * See https://github.com/paralleldrive/cuid.
836
+ */
691
837
  interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {}
838
+ /**
839
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
840
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
841
+ * See https://github.com/paralleldrive/cuid.
842
+ */
692
843
  interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
844
+ /**
845
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
846
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
847
+ * See https://github.com/paralleldrive/cuid.
848
+ */
693
849
  interface $ZodCUID extends $ZodType {
694
850
  _zod: $ZodCUIDInternals;
695
851
  }
852
+ /**
853
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
854
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
855
+ * See https://github.com/paralleldrive/cuid.
856
+ */
696
857
  declare const $ZodCUID: $constructor<$ZodCUID>;
697
858
  interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {}
698
859
  interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
@@ -771,6 +932,7 @@ interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
771
932
  interface $ZodIPv6 extends $ZodType {
772
933
  _zod: $ZodIPv6Internals;
773
934
  }
935
+ declare function isValidIPv6(value: string): boolean;
774
936
  declare const $ZodIPv6: $constructor<$ZodIPv6>;
775
937
  interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
776
938
  delimiter?: string;
@@ -801,6 +963,7 @@ interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
801
963
  interface $ZodCIDRv6 extends $ZodType {
802
964
  _zod: $ZodCIDRv6Internals;
803
965
  }
966
+ declare function isValidCIDRv6(value: string): boolean;
804
967
  declare const $ZodCIDRv6: $constructor<$ZodCIDRv6>;
805
968
  declare function isValidBase64(data: string): boolean;
806
969
  interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {}
@@ -808,7 +971,9 @@ interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
808
971
  interface $ZodBase64 extends $ZodType {
809
972
  _zod: $ZodBase64Internals;
810
973
  }
974
+ declare const base64Charset: RegExp;
811
975
  declare const $ZodBase64: $constructor<$ZodBase64>;
976
+ declare const base64urlCharset: RegExp;
812
977
  declare function isValidBase64URL(data: string): boolean;
813
978
  interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {}
814
979
  interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
@@ -822,6 +987,24 @@ interface $ZodE164 extends $ZodType {
822
987
  _zod: $ZodE164Internals;
823
988
  }
824
989
  declare const $ZodE164: $constructor<$ZodE164>;
990
+ declare function isValidCreditCard(input: string): boolean;
991
+ interface $ZodCreditCardDef extends $ZodStringFormatDef<"credit_card"> {}
992
+ interface $ZodCreditCardInternals extends $ZodStringFormatInternals<"credit_card"> {
993
+ def: $ZodCreditCardDef;
994
+ }
995
+ interface $ZodCreditCard extends $ZodType {
996
+ _zod: $ZodCreditCardInternals;
997
+ }
998
+ declare const $ZodCreditCard: $constructor<$ZodCreditCard>;
999
+ declare function isValidIBAN(input: string): boolean;
1000
+ interface $ZodIBANDef extends $ZodStringFormatDef<"iban"> {}
1001
+ interface $ZodIBANInternals extends $ZodStringFormatInternals<"iban"> {
1002
+ def: $ZodIBANDef;
1003
+ }
1004
+ interface $ZodIBAN extends $ZodType {
1005
+ _zod: $ZodIBANInternals;
1006
+ }
1007
+ declare const $ZodIBAN: $constructor<$ZodIBAN>;
825
1008
  declare function isValidJWT(token: string, algorithm?: JWTAlgorithm | null): boolean;
826
1009
  interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
827
1010
  alg?: JWTAlgorithm | undefined;
@@ -866,13 +1049,13 @@ interface $ZodNumber<Input = unknown> extends $ZodType {
866
1049
  _zod: $ZodNumberInternals<Input>;
867
1050
  }
868
1051
  declare const $ZodNumber: $constructor<$ZodNumber>;
869
- interface $ZodNumberFormatDef extends $ZodNumberDef, $ZodCheckNumberFormatDef {}
870
- interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, $ZodCheckNumberFormatInternals {
871
- def: $ZodNumberFormatDef;
1052
+ interface $ZodNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberDef, $ZodCheckNumberFormatDef<Format> {}
1053
+ interface $ZodNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberInternals<number>, $ZodCheckNumberFormatInternals<Format> {
1054
+ def: $ZodNumberFormatDef<Format>;
872
1055
  isst: $ZodIssueInvalidType;
873
1056
  }
874
- interface $ZodNumberFormat extends $ZodType {
875
- _zod: $ZodNumberFormatInternals;
1057
+ interface $ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodType {
1058
+ _zod: $ZodNumberFormatInternals<Format>;
876
1059
  }
877
1060
  declare const $ZodNumberFormat: $constructor<$ZodNumberFormat>;
878
1061
  interface $ZodBooleanDef extends $ZodTypeDef {
@@ -908,14 +1091,14 @@ interface $ZodBigInt<T = unknown> extends $ZodType {
908
1091
  _zod: $ZodBigIntInternals<T>;
909
1092
  }
910
1093
  declare const $ZodBigInt: $constructor<$ZodBigInt>;
911
- interface $ZodBigIntFormatDef extends $ZodBigIntDef, $ZodCheckBigIntFormatDef {
1094
+ interface $ZodBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntDef, $ZodCheckBigIntFormatDef<Format> {
912
1095
  check: "bigint_format";
913
1096
  }
914
- interface $ZodBigIntFormatInternals extends $ZodBigIntInternals<bigint>, $ZodCheckBigIntFormatInternals {
915
- def: $ZodBigIntFormatDef;
1097
+ interface $ZodBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntInternals<bigint>, $ZodCheckBigIntFormatInternals<Format> {
1098
+ def: $ZodBigIntFormatDef<Format>;
916
1099
  }
917
- interface $ZodBigIntFormat extends $ZodType {
918
- _zod: $ZodBigIntFormatInternals;
1100
+ interface $ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodType {
1101
+ _zod: $ZodBigIntFormatInternals<Format>;
919
1102
  }
920
1103
  declare const $ZodBigIntFormat: $constructor<$ZodBigIntFormat>;
921
1104
  interface $ZodSymbolDef extends $ZodTypeDef {
@@ -1023,8 +1206,8 @@ interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1023
1206
  interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {
1024
1207
  def: $ZodArrayDef<T>;
1025
1208
  isst: $ZodIssueInvalidType;
1026
- output: output<T>[];
1027
- input: input<T>[];
1209
+ output: output$1<T>[];
1210
+ input: input$1<T>[];
1028
1211
  }
1029
1212
  interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {}
1030
1213
  declare const $ZodArray: $constructor<$ZodArray>;
@@ -1035,11 +1218,11 @@ type OptionalOutSchema = {
1035
1218
  };
1036
1219
  type OptionalInSchema = {
1037
1220
  _zod: {
1038
- optin: "optional";
1221
+ optin: "optional" | "defaulted";
1039
1222
  };
1040
1223
  };
1041
- type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"]; } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"]; } & Extra>;
1042
- type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"]; } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"]; } & Extra>;
1224
+ type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : { [k in string]: output$1<T[keyof T]>; } : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"]; } & { -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"]; } & Extra>;
1225
+ type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? IsAny<T[keyof T]> extends true ? Record<string, unknown> : { [k in string]: input$1<T[keyof T]>; } : keyof (T & Extra) extends never ? Record<string, never> : Prettify<{ -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"]; } & { -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"]; } & Extra>;
1043
1226
  type $ZodObjectConfig = {
1044
1227
  out: Record<string, unknown>;
1045
1228
  in: Record<string, unknown>;
@@ -1058,10 +1241,10 @@ type $strip = {
1058
1241
  };
1059
1242
  type $catchall<T extends SomeType> = {
1060
1243
  out: {
1061
- [k: string]: output<T>;
1244
+ [k: string]: output$1<T>;
1062
1245
  };
1063
1246
  in: {
1064
- [k: string]: input<T>;
1247
+ [k: string]: input$1<T>;
1065
1248
  };
1066
1249
  };
1067
1250
  type $ZodShape = Readonly<{
@@ -1090,8 +1273,8 @@ interface $ZodObject<
1090
1273
  out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
1091
1274
  declare const $ZodObject: $constructor<$ZodObject>;
1092
1275
  declare const $ZodObjectJIT: $constructor<$ZodObject>;
1093
- type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
1094
- type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
1276
+ type $InferUnionOutput<T extends SomeType> = T extends any ? output$1<T> : never;
1277
+ type $InferUnionInput<T extends SomeType> = T extends any ? input$1<T> : never;
1095
1278
  interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
1096
1279
  type: "union";
1097
1280
  options: Options;
@@ -1106,7 +1289,7 @@ interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]
1106
1289
  values: T[number]["_zod"]["values"];
1107
1290
  output: $InferUnionOutput<T[number]>;
1108
1291
  input: $InferUnionInput<T[number]>;
1109
- optin: IsOptionalIn<T[number]> extends false ? "optional" | undefined : "optional";
1292
+ optin: IsOptionalIn<T[number]> extends false ? "optional" | "defaulted" | undefined : "optional" | "defaulted";
1110
1293
  optout: IsOptionalOut<T[number]> extends false ? "optional" | undefined : "optional";
1111
1294
  }
1112
1295
  interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {
@@ -1125,7 +1308,24 @@ interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readon
1125
1308
  interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {
1126
1309
  def: $ZodDiscriminatedUnionDef<Options, Disc>;
1127
1310
  propValues: PropValues;
1311
+ bag: LoosePartial<{
1312
+ optionsMap: Map<Primitive, $ZodType | null>;
1313
+ }>;
1128
1314
  }
1315
+ /** The discriminator values a member of `Options` can declare. An omittable discriminator contributes `undefined`, matching what `propValues` claims for it. */
1316
+ type $DiscriminatorValue<Options extends readonly SomeType[], Disc extends string> = { [I in keyof Options]: Options[I] extends {
1317
+ _zod: {
1318
+ output: infer Out;
1319
+ };
1320
+ } ? Disc extends keyof Out ? Out[Disc] : never : never; }[number];
1321
+ /** The member of `Options` that declares `V`. */
1322
+ type $DiscriminatedOption<Options extends readonly SomeType[], Disc extends string, V> = { [I in keyof Options]: Options[I] extends {
1323
+ _zod: {
1324
+ output: infer Out;
1325
+ };
1326
+ } ? Disc extends keyof Out ? V extends Out[Disc] ? Options[I] : never : never : never; }[number];
1327
+ /** Returns the option whose discriminator claims `value`, or throws if ambiguous. */
1328
+ declare function getDiscriminatedOption<Options extends readonly SomeType[], Disc extends string, const V extends $DiscriminatorValue<Options, Disc>>(union: $ZodDiscriminatedUnion<Options, Disc>, value: V): $DiscriminatedOption<Options, Disc, V>;
1129
1329
  interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {
1130
1330
  _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
1131
1331
  }
@@ -1140,24 +1340,31 @@ interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends Som
1140
1340
  isst: never;
1141
1341
  optin: A["_zod"]["optin"] | B["_zod"]["optin"];
1142
1342
  optout: A["_zod"]["optout"] | B["_zod"]["optout"];
1143
- output: output<A> & output<B>;
1144
- input: input<A> & input<B>;
1343
+ output: output$1<A> & output$1<B>;
1344
+ input: input$1<A> & input$1<B>;
1145
1345
  }
1146
1346
  interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1147
1347
  _zod: $ZodIntersectionInternals<A, B>;
1148
1348
  }
1149
1349
  declare const $ZodIntersection: $constructor<$ZodIntersection>;
1350
+ declare function mergeValues(a: any, b: any): {
1351
+ valid: true;
1352
+ data: any;
1353
+ } | {
1354
+ valid: false;
1355
+ mergeErrorPath: (string | number)[];
1356
+ };
1150
1357
  interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
1151
1358
  type: "tuple";
1152
1359
  items: T;
1153
1360
  rest: Rest;
1154
1361
  }
1155
- type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input<Rest>[] : [])];
1156
- type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input<T[k]>; };
1157
- type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, input<Tail>?] : TupleInputTypeNoOptionals<T> : [];
1158
- type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output<Rest>[] : [])];
1159
- type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output<T[k]>; };
1160
- type TupleOutputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
1362
+ type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input$1<Rest>[] : [])];
1363
+ type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input$1<T[k]>; };
1364
+ type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" | "defaulted" ? [...TupleInputTypeWithOptionals<Prefix>, input$1<Tail>?] : TupleInputTypeNoOptionals<T> : [];
1365
+ type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output$1<Rest>[] : [])];
1366
+ type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output$1<T[k]>; };
1367
+ type TupleOutputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, output$1<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
1161
1368
  interface $ZodTupleInternals<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
1162
1369
  def: $ZodTupleDef<T, Rest>;
1163
1370
  isst: $ZodIssueInvalidType | $ZodIssueTooBig<unknown[]> | $ZodIssueTooSmall<unknown[]>;
@@ -1175,9 +1382,10 @@ interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends
1175
1382
  valueType: Value;
1176
1383
  /** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
1177
1384
  mode?: "strict" | "loose";
1385
+ partial?: boolean;
1178
1386
  }
1179
- type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output<Key>, output<Value>>> : Record<output<Key>, output<Value>>;
1180
- type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input<Key> & PropertyKey, input<Value>>> : Record<input<Key> & PropertyKey, input<Value>>;
1387
+ type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output$1<Key>, output$1<Value>>> : Record<output$1<Key>, output$1<Value>>;
1388
+ type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input$1<Key> & PropertyKey, input$1<Value>>> : [Value] extends [OptionalInSchema] ? Partial<Record<input$1<Key> & PropertyKey, input$1<Value>>> : Record<input$1<Key> & PropertyKey, input$1<Value>>;
1181
1389
  interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
1182
1390
  def: $ZodRecordDef<Key, Value>;
1183
1391
  isst: $ZodIssueInvalidType | $ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
@@ -1196,7 +1404,7 @@ interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $
1196
1404
  keyType: Key;
1197
1405
  valueType: Value;
1198
1406
  }
1199
- interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<output<Key>, output<Value>>, Map<input<Key>, input<Value>>> {
1407
+ interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<output$1<Key>, output$1<Value>>, Map<input$1<Key>, input$1<Value>>> {
1200
1408
  def: $ZodMapDef<Key, Value>;
1201
1409
  isst: $ZodIssueInvalidType | $ZodIssueInvalidKey | $ZodIssueInvalidElement<unknown>;
1202
1410
  optin?: "optional" | undefined;
@@ -1210,7 +1418,7 @@ interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1210
1418
  type: "set";
1211
1419
  valueType: T;
1212
1420
  }
1213
- interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<output<T>>, Set<input<T>>> {
1421
+ interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<output$1<T>>, Set<input$1<T>>> {
1214
1422
  def: $ZodSetDef<T>;
1215
1423
  isst: $ZodIssueInvalidType;
1216
1424
  optin?: "optional" | undefined;
@@ -1294,9 +1502,9 @@ interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1294
1502
  type: "optional";
1295
1503
  innerType: T;
1296
1504
  }
1297
- interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | undefined, input<T> | undefined> {
1505
+ interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T> | undefined, input$1<T> | undefined> {
1298
1506
  def: $ZodOptionalDef<T>;
1299
- optin: "optional";
1507
+ optin: "optional" | "defaulted";
1300
1508
  optout: "optional";
1301
1509
  isst: never;
1302
1510
  values: T["_zod"]["values"];
@@ -1309,8 +1517,8 @@ declare const $ZodOptional: $constructor<$ZodOptional>;
1309
1517
  interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {}
1310
1518
  interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
1311
1519
  def: $ZodExactOptionalDef<T>;
1312
- output: output<T>;
1313
- input: input<T>;
1520
+ output: output$1<T>;
1521
+ input: input$1<T>;
1314
1522
  }
1315
1523
  interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
1316
1524
  _zod: $ZodExactOptionalInternals<T>;
@@ -1320,7 +1528,7 @@ interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1320
1528
  type: "nullable";
1321
1529
  innerType: T;
1322
1530
  }
1323
- interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T> | null, input<T> | null> {
1531
+ interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T> | null, input$1<T> | null> {
1324
1532
  def: $ZodNullableDef<T>;
1325
1533
  optin: T["_zod"]["optin"];
1326
1534
  optout: T["_zod"]["optout"];
@@ -1336,11 +1544,11 @@ interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1336
1544
  type: "default";
1337
1545
  innerType: T;
1338
1546
  /** The default value. May be a getter. */
1339
- defaultValue: NoUndefined<output<T>>;
1547
+ defaultValue: NoUndefined<output$1<T>>;
1340
1548
  }
1341
- interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
1549
+ interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output$1<T>>, input$1<T> | undefined> {
1342
1550
  def: $ZodDefaultDef<T>;
1343
- optin: "optional";
1551
+ optin: "defaulted";
1344
1552
  optout?: "optional" | undefined;
1345
1553
  isst: never;
1346
1554
  values: T["_zod"]["values"];
@@ -1353,11 +1561,11 @@ interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1353
1561
  type: "prefault";
1354
1562
  innerType: T;
1355
1563
  /** The default value. May be a getter. */
1356
- defaultValue: input<T>;
1564
+ defaultValue: input$1<T>;
1357
1565
  }
1358
- interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, input<T> | undefined> {
1566
+ interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T>, input$1<T> | undefined> {
1359
1567
  def: $ZodPrefaultDef<T>;
1360
- optin: "optional";
1568
+ optin: "defaulted";
1361
1569
  optout?: "optional" | undefined;
1362
1570
  isst: never;
1363
1571
  values: T["_zod"]["values"];
@@ -1370,7 +1578,7 @@ interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef
1370
1578
  type: "nonoptional";
1371
1579
  innerType: T;
1372
1580
  }
1373
- interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output<T>>, NoUndefined<input<T>>> {
1581
+ interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<NoUndefined<output$1<T>>, NoUndefined<input$1<T>>> {
1374
1582
  def: $ZodNonOptionalDef<T>;
1375
1583
  isst: $ZodIssueInvalidType;
1376
1584
  values: T["_zod"]["values"];
@@ -1385,7 +1593,7 @@ interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1385
1593
  type: "success";
1386
1594
  innerType: T;
1387
1595
  }
1388
- interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, input<T>> {
1596
+ interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, input$1<T>> {
1389
1597
  def: $ZodSuccessDef<T>;
1390
1598
  isst: never;
1391
1599
  optin: T["_zod"]["optin"];
@@ -1408,7 +1616,7 @@ interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1408
1616
  innerType: T;
1409
1617
  catchValue: (ctx: $ZodCatchCtx) => unknown;
1410
1618
  }
1411
- interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
1619
+ interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T>, input$1<T>> {
1412
1620
  def: $ZodCatchDef<T>;
1413
1621
  optin: T["_zod"]["optin"];
1414
1622
  optout: T["_zod"]["optout"];
@@ -1435,11 +1643,11 @@ interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodTy
1435
1643
  in: A;
1436
1644
  out: B;
1437
1645
  /** Only defined inside $ZodCodec instances. */
1438
- transform?: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
1646
+ transform?: (value: output$1<A>, payload: ParsePayload<output$1<A>>) => MaybeAsync<input$1<B>>;
1439
1647
  /** Only defined inside $ZodCodec instances. */
1440
- reverseTransform?: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
1648
+ reverseTransform?: (value: input$1<B>, payload: ParsePayload<input$1<B>>) => MaybeAsync<output$1<A>>;
1441
1649
  }
1442
- interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
1650
+ interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<B>, input$1<A>> {
1443
1651
  def: $ZodPipeDef<A, B>;
1444
1652
  isst: never;
1445
1653
  values: A["_zod"]["values"];
@@ -1452,10 +1660,10 @@ interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
1452
1660
  }
1453
1661
  declare const $ZodPipe: $constructor<$ZodPipe>;
1454
1662
  interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
1455
- transform: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
1456
- reverseTransform: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
1663
+ transform: (value: output$1<A>, payload: ParsePayload<output$1<A>>) => MaybeAsync<input$1<B>>;
1664
+ reverseTransform: (value: input$1<B>, payload: ParsePayload<input$1<B>>) => MaybeAsync<output$1<A>>;
1457
1665
  }
1458
- interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
1666
+ interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<B>, input$1<A>> {
1459
1667
  def: $ZodCodecDef<A, B>;
1460
1668
  isst: never;
1461
1669
  values: A["_zod"]["values"];
@@ -1467,11 +1675,24 @@ interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType
1467
1675
  _zod: $ZodCodecInternals<A, B>;
1468
1676
  }
1469
1677
  declare const $ZodCodec: $constructor<$ZodCodec>;
1678
+ interface $ZodPreprocessDef<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeDef<$ZodTransform<unknown, I>, B> {
1679
+ in: $ZodTransform<unknown, I>;
1680
+ out: B;
1681
+ }
1682
+ interface $ZodPreprocessInternals<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeInternals<$ZodTransform<unknown, I>, B> {
1683
+ def: $ZodPreprocessDef<B, I>;
1684
+ optin: B["_zod"]["optin"];
1685
+ optout: B["_zod"]["optout"];
1686
+ }
1687
+ interface $ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends $ZodPipe<$ZodTransform<unknown, I>, B> {
1688
+ _zod: $ZodPreprocessInternals<B, I>;
1689
+ }
1690
+ declare const $ZodPreprocess: $constructor<$ZodPreprocess>;
1470
1691
  interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1471
1692
  type: "readonly";
1472
1693
  innerType: T;
1473
1694
  }
1474
- interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<MakeReadonly<output<T>>, MakeReadonly<input<T>>> {
1695
+ interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<MakeReadonly<output$1<T>>, MakeReadonly<input$1<T>>> {
1475
1696
  def: $ZodReadonlyDef<T>;
1476
1697
  optin: T["_zod"]["optin"];
1477
1698
  optout: T["_zod"]["optout"];
@@ -1505,19 +1726,19 @@ interface SchemaPart extends $ZodType {
1505
1726
  }
1506
1727
  type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
1507
1728
  type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
1508
- 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;
1729
+ type AppendToTemplateLiteral<Template extends string, Suffix extends LiteralPart | $ZodType> = Suffix extends LiteralPart ? `${Template}${UndefinedToEmptyString<Suffix>}` : Suffix extends $ZodType ? `${Template}${output$1<Suffix> extends (infer T extends LiteralPart) ? UndefinedToEmptyString<T> : never}` : never;
1509
1730
  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 : "";
1510
- 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; };
1731
+ type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = { [K in keyof Parts]: Parts[K] extends LiteralPart ? `${UndefinedToEmptyString<Parts[K]>}` : Parts[K] extends $ZodType ? `${output$1<Parts[K]> extends (infer T extends LiteralPart) ? UndefinedToEmptyString<T> : never}` : never; };
1511
1732
  type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;
1512
1733
  type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;
1513
1734
  declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
1514
1735
  type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1515
1736
  type $ZodFunctionIn = $ZodFunctionArgs;
1516
1737
  type $ZodFunctionOut = $ZodType;
1517
- type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => input<Returns>;
1518
- type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output<Args>) => MaybeAsync<input<Returns>>;
1519
- type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => output<Returns>;
1520
- type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input<Args>) => Promise<output<Returns>>;
1738
+ type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output$1<Args>) => input$1<Returns>;
1739
+ type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output$1<Args>) => MaybeAsync<input$1<Returns>>;
1740
+ type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input$1<Args>) => output$1<Returns>;
1741
+ type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input$1<Args>) => Promise<output$1<Returns>>;
1521
1742
  interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
1522
1743
  type: "function";
1523
1744
  input: In;
@@ -1548,7 +1769,7 @@ interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1548
1769
  type: "promise";
1549
1770
  innerType: T;
1550
1771
  }
1551
- interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output<T>>, MaybeAsync<input<T>>> {
1772
+ interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output$1<T>>, MaybeAsync<input$1<T>>> {
1552
1773
  def: $ZodPromiseDef<T>;
1553
1774
  isst: never;
1554
1775
  }
@@ -1560,7 +1781,7 @@ interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1560
1781
  type: "lazy";
1561
1782
  getter: () => T;
1562
1783
  }
1563
- interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output<T>, input<T>> {
1784
+ interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T>, input$1<T>> {
1564
1785
  def: $ZodLazyDef<T>;
1565
1786
  isst: never;
1566
1787
  /** Auto-cached way to retrieve the inner schema */
@@ -1595,16 +1816,16 @@ interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
1595
1816
  }
1596
1817
  declare const $ZodCustom: $constructor<$ZodCustom>;
1597
1818
  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;
1598
- 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">;
1819
+ 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 | $ZodCreditCard | $ZodIBAN | $ZodJWT | $ZodCustomStringFormat<"hex"> | $ZodCustomStringFormat<HashFormat> | $ZodCustomStringFormat<"hostname"> | $ZodCustomStringFormat<"currency_code">;
1599
1820
  declare namespace checks_d_exports {
1600
- 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 };
1821
+ 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, $ZodCheckProperties, $ZodCheckPropertiesDef, $ZodCheckPropertiesInput, $ZodCheckPropertiesInternals, $ZodCheckProperty, $ZodCheckPropertyDef, $ZodCheckPropertyInternals, $ZodCheckRegex, $ZodCheckRegexDef, $ZodCheckRegexInternals, $ZodCheckSizeEquals, $ZodCheckSizeEqualsDef, $ZodCheckSizeEqualsInternals, $ZodCheckStartsWith, $ZodCheckStartsWithDef, $ZodCheckStartsWithInternals, $ZodCheckStringFormat, $ZodCheckStringFormatDef, $ZodCheckStringFormatInternals, $ZodCheckUpperCase, $ZodCheckUpperCaseDef, $ZodCheckUpperCaseInternals, $ZodChecks, $ZodNumberFormats, $ZodStringFormatChecks, $ZodStringFormats };
1601
1822
  }
1602
1823
  interface $ZodCheckDef {
1603
1824
  check: string;
1604
1825
  error?: $ZodErrorMap<never> | undefined;
1605
1826
  /** If true, no later checks will be executed if this check fails. Default `false`. */
1606
1827
  abort?: boolean | undefined;
1607
- /** If provided, this check will only be executed if the function returns `true`. Defaults to `payload => z.util.isAborted(payload)`. */
1828
+ /** If provided, the check runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */
1608
1829
  when?: ((payload: ParsePayload) => boolean) | undefined;
1609
1830
  }
1610
1831
  interface $ZodCheckInternals<T> {
@@ -1657,29 +1878,29 @@ interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> exten
1657
1878
  }
1658
1879
  declare const $ZodCheckMultipleOf: $constructor<$ZodCheckMultipleOf<number | bigint>>;
1659
1880
  type $ZodNumberFormats = "int32" | "uint32" | "float32" | "float64" | "safeint";
1660
- interface $ZodCheckNumberFormatDef extends $ZodCheckDef {
1881
+ interface $ZodCheckNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckDef {
1661
1882
  check: "number_format";
1662
- format: $ZodNumberFormats;
1883
+ format: Format;
1663
1884
  }
1664
- interface $ZodCheckNumberFormatInternals extends $ZodCheckInternals<number> {
1665
- def: $ZodCheckNumberFormatDef;
1885
+ interface $ZodCheckNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckInternals<number> {
1886
+ def: $ZodCheckNumberFormatDef<Format>;
1666
1887
  issc: $ZodIssueInvalidType | $ZodIssueTooBig<"number"> | $ZodIssueTooSmall<"number">;
1667
1888
  }
1668
- interface $ZodCheckNumberFormat extends $ZodCheck<number> {
1669
- _zod: $ZodCheckNumberFormatInternals;
1889
+ interface $ZodCheckNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheck<number> {
1890
+ _zod: $ZodCheckNumberFormatInternals<Format>;
1670
1891
  }
1671
1892
  declare const $ZodCheckNumberFormat: $constructor<$ZodCheckNumberFormat>;
1672
1893
  type $ZodBigIntFormats = "int64" | "uint64";
1673
- interface $ZodCheckBigIntFormatDef extends $ZodCheckDef {
1894
+ interface $ZodCheckBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckDef {
1674
1895
  check: "bigint_format";
1675
- format: $ZodBigIntFormats | undefined;
1896
+ format: Format;
1676
1897
  }
1677
- interface $ZodCheckBigIntFormatInternals extends $ZodCheckInternals<bigint> {
1678
- def: $ZodCheckBigIntFormatDef;
1898
+ interface $ZodCheckBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckInternals<bigint> {
1899
+ def: $ZodCheckBigIntFormatDef<Format>;
1679
1900
  issc: $ZodIssueTooBig<"bigint"> | $ZodIssueTooSmall<"bigint">;
1680
1901
  }
1681
- interface $ZodCheckBigIntFormat extends $ZodCheck<bigint> {
1682
- _zod: $ZodCheckBigIntFormatInternals;
1902
+ interface $ZodCheckBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheck<bigint> {
1903
+ _zod: $ZodCheckBigIntFormatInternals<Format>;
1683
1904
  }
1684
1905
  declare const $ZodCheckBigIntFormat: $constructor<$ZodCheckBigIntFormat>;
1685
1906
  interface $ZodCheckMaxSizeDef extends $ZodCheckDef {
@@ -1754,7 +1975,7 @@ interface $ZodCheckLengthEquals<T extends HasLength = HasLength> extends $ZodChe
1754
1975
  _zod: $ZodCheckLengthEqualsInternals<T>;
1755
1976
  }
1756
1977
  declare const $ZodCheckLengthEquals: $constructor<$ZodCheckLengthEquals>;
1757
- type $ZodStringFormats = "email" | "url" | "emoji" | "uuid" | "guid" | "nanoid" | "cuid" | "cuid2" | "ulid" | "xid" | "ksuid" | "datetime" | "date" | "time" | "duration" | "ipv4" | "ipv6" | "cidrv4" | "cidrv6" | "base64" | "base64url" | "json_string" | "e164" | "lowercase" | "uppercase" | "regex" | "jwt" | "starts_with" | "ends_with" | "includes";
1978
+ type $ZodStringFormats = "email" | "url" | "emoji" | "uuid" | "guid" | "nanoid" | "cuid" | "cuid2" | "ulid" | "xid" | "ksuid" | "datetime" | "date" | "time" | "duration" | "ipv4" | "ipv6" | "cidrv4" | "cidrv6" | "base64" | "base64url" | "json_string" | "e164" | "credit_card" | "iban" | "lowercase" | "uppercase" | "regex" | "jwt" | "starts_with" | "ends_with" | "includes";
1758
1979
  interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {
1759
1980
  check: "string_format";
1760
1981
  format: Format;
@@ -1845,6 +2066,20 @@ interface $ZodCheckProperty<T extends object = object> extends $ZodCheck<T> {
1845
2066
  _zod: $ZodCheckPropertyInternals<T>;
1846
2067
  }
1847
2068
  declare const $ZodCheckProperty: $constructor<$ZodCheckProperty>;
2069
+ interface $ZodCheckPropertiesDef<Shape extends $ZodShape = $ZodShape> extends $ZodCheckDef {
2070
+ check: "properties";
2071
+ shape: Shape;
2072
+ }
2073
+ type $ZodCheckPropertiesInput<Shape extends $ZodShape = $ZodShape> = { -readonly [k in keyof Shape]: Widen<input$1<Shape[k]>>; };
2074
+ interface $ZodCheckPropertiesInternals<Shape extends $ZodShape = $ZodShape> extends $ZodCheckInternals<$ZodCheckPropertiesInput<Shape>> {
2075
+ def: $ZodCheckPropertiesDef<Shape>;
2076
+ issc: $ZodIssue;
2077
+ }
2078
+ interface $ZodCheckProperties<Shape extends $ZodShape = $ZodShape> extends $ZodCheck<$ZodCheckPropertiesInput<Shape>> {
2079
+ _zod: $ZodCheckPropertiesInternals<Shape>;
2080
+ [Symbol.iterator](): Iterator<this>;
2081
+ }
2082
+ declare const $ZodCheckProperties: $constructor<$ZodCheckProperties>;
1848
2083
  interface $ZodCheckMimeTypeDef extends $ZodCheckDef {
1849
2084
  check: "mime_type";
1850
2085
  mime: MimeTypes[];
@@ -1925,6 +2160,7 @@ interface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {
1925
2160
  readonly errors: $ZodIssue[][];
1926
2161
  readonly input?: unknown;
1927
2162
  readonly discriminator?: string | undefined;
2163
+ readonly options?: Primitive[];
1928
2164
  readonly inclusive?: true;
1929
2165
  }
1930
2166
  interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
@@ -1933,6 +2169,8 @@ interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
1933
2169
  readonly input?: unknown;
1934
2170
  readonly discriminator?: string | undefined;
1935
2171
  readonly inclusive: false;
2172
+ /** Indices of the options that matched */
2173
+ readonly matches: number[];
1936
2174
  }
1937
2175
  type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;
1938
2176
  interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
@@ -1990,6 +2228,8 @@ type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T
1990
2228
  readonly input: unknown;
1991
2229
  /** The schema or check that originated this issue. */
1992
2230
  readonly inst?: $ZodType | $ZodCheck;
2231
+ /** The schema that owns the issue. Equal to `inst` when a schema originated the issue, and the schema the check was attached to when a check did. */
2232
+ readonly schema?: $ZodType | undefined;
1993
2233
  /** If `true`, Zod will continue executing checks/refinements after this issue. */
1994
2234
  readonly continue?: boolean | undefined;
1995
2235
  } & Record<string, unknown>> : never;
@@ -2078,7 +2318,7 @@ declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIs
2078
2318
  declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;
2079
2319
  declare function prettifyError(error: StandardSchemaV1.FailureResult): string;
2080
2320
  declare namespace core_d_exports {
2081
- export { $ZodAsyncError, $ZodBranded, $ZodConfig, $ZodEncodeError, $ZodNarrow, $brand, $constructor, NEVER, config, globalConfig, output as infer, input, output };
2321
+ export { $ZodAsyncError, $ZodBranded, $ZodConfig, $ZodEncodeError, $ZodNarrow, $brand, $constructor, $constructorParams, NEVER, config, globalConfig, output$1 as infer, input$1 as input, output$1 as output };
2082
2322
  }
2083
2323
  type ZodTrait = {
2084
2324
  _zod: {
@@ -2090,27 +2330,30 @@ interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
2090
2330
  new (def: D): T;
2091
2331
  init(inst: T, def: D): asserts inst is T;
2092
2332
  }
2333
+ interface $constructorParams {
2334
+ Parent?: typeof Class;
2335
+ }
2093
2336
  /** A special constant with type `never` */
2094
2337
  declare const NEVER: never;
2095
- declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void, params?: {
2096
- Parent?: typeof Class;
2097
- }): $constructor<T, D>;
2338
+ declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void,
2339
+ /** This trait's members, installed once on every prototype that composes it. They cannot be declared in the initializer above: that runs per instance, and the prototype is shared. */
2340
+ proto?: ProtoOf<T>, params?: $constructorParams): $constructor<T, D>;
2098
2341
  declare const $brand: unique symbol;
2099
2342
  type $brand<T extends string | number | symbol = string | number | symbol> = {
2100
2343
  [$brand]: { [k in T]: true; };
2101
2344
  };
2102
2345
  type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
2103
2346
  _zod: {
2104
- input: input<T> & $brand<Brand>;
2105
- output: output<T> & $brand<Brand>;
2347
+ input: input$1<T> & $brand<Brand>;
2348
+ output: output$1<T> & $brand<Brand>;
2106
2349
  };
2107
2350
  } : Dir extends "in" ? {
2108
2351
  _zod: {
2109
- input: input<T> & $brand<Brand>;
2352
+ input: input$1<T> & $brand<Brand>;
2110
2353
  };
2111
2354
  } : {
2112
2355
  _zod: {
2113
- output: output<T> & $brand<Brand>;
2356
+ output: output$1<T> & $brand<Brand>;
2114
2357
  };
2115
2358
  });
2116
2359
  type $ZodNarrow<T extends SomeType, Out> = T & {
@@ -2124,12 +2367,12 @@ declare class $ZodAsyncError extends Error {
2124
2367
  declare class $ZodEncodeError extends Error {
2125
2368
  constructor(name: string);
2126
2369
  }
2127
- type input<T> = T extends {
2370
+ type input$1<T> = T extends {
2128
2371
  _zod: {
2129
2372
  input: any;
2130
2373
  };
2131
2374
  } ? T["_zod"]["input"] : unknown;
2132
- type output<T> = T extends {
2375
+ type output$1<T> = T extends {
2133
2376
  _zod: {
2134
2377
  output: any;
2135
2378
  };
@@ -2141,65 +2384,98 @@ interface $ZodConfig {
2141
2384
  localeError?: $ZodErrorMap | undefined;
2142
2385
  /** Disable JIT schema compilation. Useful in environments that disallow `eval`. */
2143
2386
  jitless?: boolean | undefined;
2387
+ /** Enables parsing input that contains reference cycles. Read when a schema is constructed. */
2388
+ memoizer?: $ZodMemoizer | undefined;
2389
+ /**
2390
+ * Internal: post-processor invoked on every freshly-constructed schema
2391
+ * instance, after init and deferred fns run. Set by `import "zod/compile"`
2392
+ * to install AOT compilation. Not part of the public API.
2393
+ * @internal
2394
+ */
2395
+ postProcessor?: ((inst: any) => void) | undefined;
2144
2396
  }
2145
2397
  declare const globalConfig: $ZodConfig;
2146
2398
  declare function config(newConfig?: Partial<$ZodConfig>): $ZodConfig;
2147
2399
  //#endregion
2148
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.d.cts
2400
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.d.cts
2149
2401
  type $ZodErrorClass = {
2150
2402
  new (issues: $ZodIssue[]): $ZodError;
2151
2403
  };
2152
- type $Parse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
2404
+ type $ParseParams = {
2153
2405
  callee?: AnyFunc;
2154
- Err?: $ZodErrorClass;
2155
- }) => output<T>;
2406
+ Err?: $ZodErrorClass | undefined;
2407
+ };
2408
+ type $Parse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => output$1<T>;
2156
2409
  declare const _parse: (_Err: $ZodErrorClass) => $Parse;
2157
2410
  declare const parse$1: $Parse;
2158
- type $ParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
2159
- callee?: AnyFunc;
2160
- Err?: $ZodErrorClass;
2161
- }) => Promise<output<T>>;
2411
+ type $ParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => Promise<output$1<T>>;
2162
2412
  declare const _parseAsync: (_Err: $ZodErrorClass) => $ParseAsync;
2163
2413
  declare const parseAsync$1: $ParseAsync;
2164
- type $SafeParse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output<T>>;
2414
+ type $SafeParse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output$1<T>>;
2165
2415
  declare const _safeParse: (_Err: $ZodErrorClass) => $SafeParse;
2166
2416
  declare const safeParse$1: $SafeParse;
2167
- type $SafeParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output<T>>>;
2417
+ type $SafeParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output$1<T>>>;
2168
2418
  declare const _safeParseAsync: (_Err: $ZodErrorClass) => $SafeParseAsync;
2169
2419
  declare const safeParseAsync$1: $SafeParseAsync;
2170
- type $Encode = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => input<T>;
2420
+ type $Validate = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => value is input$1<T>;
2421
+ declare const validate: $Validate;
2422
+ type $ValidateAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<boolean>;
2423
+ declare const validateAsync: $ValidateAsync;
2424
+ type $Encode = <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => input$1<T>;
2171
2425
  declare const _encode: (_Err: $ZodErrorClass) => $Encode;
2172
2426
  declare const encode$1: $Encode;
2173
- type $Decode = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => output<T>;
2427
+ type $Decode = <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => output$1<T>;
2174
2428
  declare const _decode: (_Err: $ZodErrorClass) => $Decode;
2175
2429
  declare const decode$1: $Decode;
2176
- type $EncodeAsync = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<input<T>>;
2430
+ type $EncodeAsync = <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => Promise<input$1<T>>;
2177
2431
  declare const _encodeAsync: (_Err: $ZodErrorClass) => $EncodeAsync;
2178
2432
  declare const encodeAsync$1: $EncodeAsync;
2179
- type $DecodeAsync = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<output<T>>;
2433
+ type $DecodeAsync = <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => Promise<output$1<T>>;
2180
2434
  declare const _decodeAsync: (_Err: $ZodErrorClass) => $DecodeAsync;
2181
2435
  declare const decodeAsync$1: $DecodeAsync;
2182
- type $SafeEncode = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<input<T>>;
2436
+ type $SafeEncode = <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<input$1<T>>;
2183
2437
  declare const _safeEncode: (_Err: $ZodErrorClass) => $SafeEncode;
2184
2438
  declare const safeEncode$1: $SafeEncode;
2185
- type $SafeDecode = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output<T>>;
2439
+ type $SafeDecode = <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output$1<T>>;
2186
2440
  declare const _safeDecode: (_Err: $ZodErrorClass) => $SafeDecode;
2187
2441
  declare const safeDecode$1: $SafeDecode;
2188
- type $SafeEncodeAsync = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<input<T>>>;
2442
+ type $SafeEncodeAsync = <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<input$1<T>>>;
2189
2443
  declare const _safeEncodeAsync: (_Err: $ZodErrorClass) => $SafeEncodeAsync;
2190
2444
  declare const safeEncodeAsync$1: $SafeEncodeAsync;
2191
- type $SafeDecodeAsync = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output<T>>>;
2445
+ type $SafeDecodeAsync = <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output$1<T>>>;
2192
2446
  declare const _safeDecodeAsync: (_Err: $ZodErrorClass) => $SafeDecodeAsync;
2193
2447
  declare const safeDecodeAsync$1: $SafeDecodeAsync;
2448
+ //#endregion
2449
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.d.cts
2450
+ declare class $ZodCyclicError extends Error {
2451
+ constructor();
2452
+ }
2453
+ /**
2454
+ * Whether one parse can re-enter this schema, i.e. its subtree contains a cycle.
2455
+ * Exported for `z.compile`, which refuses to compile such a schema: cycle
2456
+ * breaking is driven from here off state keyed on the parse context, and a
2457
+ * generated fast path has no context to key on.
2458
+ */
2459
+ declare function isRecursiveSchema(inst: $ZodType): boolean;
2460
+ /** The memoizer that gives containers cycle support. `zod` installs it by default; `zod/mini` opts in with `config({ memoizer: memoizer() })`. */
2461
+ declare function memoizer(): $ZodMemoizer;
2462
+ /** Whether this value is a node a back-edge resolved to before it finished. */
2463
+ declare function isBackEdge(ctx: object, value: unknown): boolean;
2194
2464
  declare namespace regexes_d_exports {
2195
- 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, 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 };
2465
+ export { anyString, 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, creditCard$1 as creditCard, cuid$1 as cuid, cuid2$1 as cuid2, currencyCode$1 as currencyCode, 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, iban$1 as iban, 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, nanoidOfLength, _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 };
2196
2466
  }
2467
+ /**
2468
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
2469
+ * (timestamps embedded in the id). Use {@link cuid2} instead.
2470
+ * See https://github.com/paralleldrive/cuid.
2471
+ */
2197
2472
  declare const cuid$1: RegExp;
2198
2473
  declare const cuid2$1: RegExp;
2199
2474
  declare const ulid$1: RegExp;
2200
2475
  declare const xid$1: RegExp;
2201
2476
  declare const ksuid$1: RegExp;
2202
2477
  declare const nanoid$1: RegExp;
2478
+ declare function nanoidOfLength(length: number): RegExp;
2203
2479
  /** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */
2204
2480
  declare const duration$1: RegExp;
2205
2481
  /** Implements ISO 8601-2 extensions like explicit +- prefixes, mixing weeks with other units, and fractional/negative components. */
@@ -2233,7 +2509,11 @@ declare const base64$1: RegExp;
2233
2509
  declare const base64url$1: RegExp;
2234
2510
  declare const hostname$1: RegExp;
2235
2511
  declare const domain: RegExp;
2512
+ declare const httpProtocol: RegExp;
2236
2513
  declare const e164$1: RegExp;
2514
+ declare const creditCard$1: RegExp;
2515
+ declare const currencyCode$1: RegExp;
2516
+ declare const iban$1: RegExp;
2237
2517
  declare const date$3: RegExp;
2238
2518
  declare function time$1(args: {
2239
2519
  precision?: number | null;
@@ -2243,6 +2523,7 @@ declare function datetime$1(args: {
2243
2523
  offset?: boolean;
2244
2524
  local?: boolean;
2245
2525
  }): RegExp;
2526
+ declare const anyString: RegExp;
2246
2527
  declare const string$2: (params?: {
2247
2528
  minimum?: number | undefined;
2248
2529
  maximum?: number | undefined;
@@ -2272,270 +2553,406 @@ declare const sha512_hex: RegExp;
2272
2553
  declare const sha512_base64: RegExp;
2273
2554
  declare const sha512_base64url: RegExp;
2274
2555
  //#endregion
2275
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ar.d.cts
2556
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.d.cts
2557
+ declare function _default$64(): {
2558
+ localeError: $ZodErrorMap;
2559
+ };
2560
+ //#endregion
2561
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.d.cts
2562
+ declare function _default$63(): {
2563
+ localeError: $ZodErrorMap;
2564
+ };
2565
+ //#endregion
2566
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.d.cts
2567
+ declare function _default$62(): {
2568
+ localeError: $ZodErrorMap;
2569
+ };
2570
+ //#endregion
2571
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.d.cts
2572
+ declare function _default$61(): {
2573
+ localeError: $ZodErrorMap;
2574
+ };
2575
+ //#endregion
2576
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.d.cts
2577
+ declare function _default$60(): {
2578
+ localeError: $ZodErrorMap;
2579
+ };
2580
+ //#endregion
2581
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.d.cts
2582
+ declare function _default$59(): {
2583
+ localeError: $ZodErrorMap;
2584
+ };
2585
+ //#endregion
2586
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.d.cts
2587
+ declare function _default$58(): {
2588
+ localeError: $ZodErrorMap;
2589
+ };
2590
+ //#endregion
2591
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.d.cts
2592
+ declare function _default$57(): {
2593
+ localeError: $ZodErrorMap;
2594
+ };
2595
+ //#endregion
2596
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.d.cts
2597
+ declare function _default$56(): {
2598
+ localeError: $ZodErrorMap;
2599
+ };
2600
+ //#endregion
2601
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.d.cts
2602
+ declare function _default$55(): {
2603
+ localeError: $ZodErrorMap;
2604
+ };
2605
+ //#endregion
2606
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.d.cts
2607
+ declare function _default$54(): {
2608
+ localeError: $ZodErrorMap;
2609
+ };
2610
+ //#endregion
2611
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.d.cts
2612
+ declare function _default$53(): {
2613
+ localeError: $ZodErrorMap;
2614
+ };
2615
+ //#endregion
2616
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.d.cts
2617
+ declare function _default$52(): {
2618
+ localeError: $ZodErrorMap;
2619
+ };
2620
+ //#endregion
2621
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.d.cts
2622
+ declare function _default$51(): {
2623
+ localeError: $ZodErrorMap;
2624
+ };
2625
+ //#endregion
2626
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.d.cts
2276
2627
  declare function _default$50(): {
2277
2628
  localeError: $ZodErrorMap;
2278
2629
  };
2279
2630
  //#endregion
2280
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/az.d.cts
2631
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.d.cts
2281
2632
  declare function _default$49(): {
2282
2633
  localeError: $ZodErrorMap;
2283
2634
  };
2284
2635
  //#endregion
2285
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/be.d.cts
2636
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.d.cts
2286
2637
  declare function _default$48(): {
2287
2638
  localeError: $ZodErrorMap;
2288
2639
  };
2289
2640
  //#endregion
2290
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/bg.d.cts
2641
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.d.cts
2291
2642
  declare function _default$47(): {
2292
2643
  localeError: $ZodErrorMap;
2293
2644
  };
2294
2645
  //#endregion
2295
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ca.d.cts
2646
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.d.cts
2296
2647
  declare function _default$46(): {
2297
2648
  localeError: $ZodErrorMap;
2298
2649
  };
2299
2650
  //#endregion
2300
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/cs.d.cts
2651
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.d.cts
2301
2652
  declare function _default$45(): {
2302
2653
  localeError: $ZodErrorMap;
2303
2654
  };
2304
2655
  //#endregion
2305
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/da.d.cts
2656
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.d.cts
2306
2657
  declare function _default$44(): {
2307
2658
  localeError: $ZodErrorMap;
2308
2659
  };
2309
2660
  //#endregion
2310
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/de.d.cts
2661
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.d.cts
2311
2662
  declare function _default$43(): {
2312
2663
  localeError: $ZodErrorMap;
2313
2664
  };
2314
2665
  //#endregion
2315
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/en.d.cts
2666
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.d.cts
2316
2667
  declare function _default$42(): {
2317
2668
  localeError: $ZodErrorMap;
2318
2669
  };
2319
2670
  //#endregion
2320
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/eo.d.cts
2671
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.d.cts
2321
2672
  declare function _default$41(): {
2322
2673
  localeError: $ZodErrorMap;
2323
2674
  };
2324
2675
  //#endregion
2325
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/es.d.cts
2676
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.d.cts
2326
2677
  declare function _default$40(): {
2327
2678
  localeError: $ZodErrorMap;
2328
2679
  };
2329
2680
  //#endregion
2330
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fa.d.cts
2681
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.d.cts
2331
2682
  declare function _default$39(): {
2332
2683
  localeError: $ZodErrorMap;
2333
2684
  };
2334
2685
  //#endregion
2335
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fi.d.cts
2686
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.d.cts
2336
2687
  declare function _default$38(): {
2337
2688
  localeError: $ZodErrorMap;
2338
2689
  };
2339
2690
  //#endregion
2340
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr.d.cts
2691
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.d.cts
2341
2692
  declare function _default$37(): {
2342
2693
  localeError: $ZodErrorMap;
2343
2694
  };
2344
2695
  //#endregion
2345
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/fr-CA.d.cts
2696
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.d.cts
2346
2697
  declare function _default$36(): {
2347
2698
  localeError: $ZodErrorMap;
2348
2699
  };
2349
2700
  //#endregion
2350
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/he.d.cts
2701
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.d.cts
2351
2702
  declare function _default$35(): {
2352
2703
  localeError: $ZodErrorMap;
2353
2704
  };
2354
2705
  //#endregion
2355
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hu.d.cts
2706
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.d.cts
2356
2707
  declare function _default$34(): {
2357
2708
  localeError: $ZodErrorMap;
2358
2709
  };
2359
2710
  //#endregion
2360
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/hy.d.cts
2711
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.d.cts
2361
2712
  declare function _default$33(): {
2362
2713
  localeError: $ZodErrorMap;
2363
2714
  };
2364
2715
  //#endregion
2365
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/id.d.cts
2716
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.d.cts
2366
2717
  declare function _default$32(): {
2367
2718
  localeError: $ZodErrorMap;
2368
2719
  };
2369
2720
  //#endregion
2370
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/is.d.cts
2721
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.d.cts
2371
2722
  declare function _default$31(): {
2372
2723
  localeError: $ZodErrorMap;
2373
2724
  };
2374
2725
  //#endregion
2375
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/it.d.cts
2726
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.d.cts
2376
2727
  declare function _default$30(): {
2377
2728
  localeError: $ZodErrorMap;
2378
2729
  };
2379
2730
  //#endregion
2380
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ja.d.cts
2731
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.d.cts
2381
2732
  declare function _default$29(): {
2382
2733
  localeError: $ZodErrorMap;
2383
2734
  };
2384
2735
  //#endregion
2385
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ka.d.cts
2736
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.d.cts
2386
2737
  declare function _default$28(): {
2387
2738
  localeError: $ZodErrorMap;
2388
2739
  };
2389
2740
  //#endregion
2390
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/kh.d.cts
2741
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.d.cts
2391
2742
  declare function _default$27(): {
2392
2743
  localeError: $ZodErrorMap;
2393
2744
  };
2394
2745
  //#endregion
2395
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/km.d.cts
2746
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.d.cts
2396
2747
  declare function _default$26(): {
2397
2748
  localeError: $ZodErrorMap;
2398
2749
  };
2399
2750
  //#endregion
2400
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ko.d.cts
2751
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.d.cts
2401
2752
  declare function _default$25(): {
2402
2753
  localeError: $ZodErrorMap;
2403
2754
  };
2404
2755
  //#endregion
2405
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/lt.d.cts
2756
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.d.cts
2406
2757
  declare function _default$24(): {
2407
2758
  localeError: $ZodErrorMap;
2408
2759
  };
2409
2760
  //#endregion
2410
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/mk.d.cts
2761
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.d.cts
2411
2762
  declare function _default$23(): {
2412
2763
  localeError: $ZodErrorMap;
2413
2764
  };
2414
2765
  //#endregion
2415
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ms.d.cts
2766
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.d.cts
2416
2767
  declare function _default$22(): {
2417
2768
  localeError: $ZodErrorMap;
2418
2769
  };
2419
2770
  //#endregion
2420
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/nl.d.cts
2771
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.d.cts
2421
2772
  declare function _default$21(): {
2422
2773
  localeError: $ZodErrorMap;
2423
2774
  };
2424
2775
  //#endregion
2425
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/no.d.cts
2776
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.d.cts
2426
2777
  declare function _default$20(): {
2427
2778
  localeError: $ZodErrorMap;
2428
2779
  };
2429
2780
  //#endregion
2430
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ota.d.cts
2781
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.d.cts
2431
2782
  declare function _default$19(): {
2432
2783
  localeError: $ZodErrorMap;
2433
2784
  };
2434
2785
  //#endregion
2435
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ps.d.cts
2786
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.d.cts
2436
2787
  declare function _default$18(): {
2437
2788
  localeError: $ZodErrorMap;
2438
2789
  };
2439
2790
  //#endregion
2440
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pl.d.cts
2791
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.d.cts
2441
2792
  declare function _default$17(): {
2442
2793
  localeError: $ZodErrorMap;
2443
2794
  };
2444
2795
  //#endregion
2445
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/pt.d.cts
2796
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.d.cts
2446
2797
  declare function _default$16(): {
2447
2798
  localeError: $ZodErrorMap;
2448
2799
  };
2449
2800
  //#endregion
2450
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ru.d.cts
2801
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.d.cts
2451
2802
  declare function _default$15(): {
2452
2803
  localeError: $ZodErrorMap;
2453
2804
  };
2454
2805
  //#endregion
2455
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sl.d.cts
2806
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.d.cts
2456
2807
  declare function _default$14(): {
2457
2808
  localeError: $ZodErrorMap;
2458
2809
  };
2459
2810
  //#endregion
2460
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/sv.d.cts
2811
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.d.cts
2461
2812
  declare function _default$13(): {
2462
2813
  localeError: $ZodErrorMap;
2463
2814
  };
2464
2815
  //#endregion
2465
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ta.d.cts
2816
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.d.cts
2466
2817
  declare function _default$12(): {
2467
2818
  localeError: $ZodErrorMap;
2468
2819
  };
2469
2820
  //#endregion
2470
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/th.d.cts
2821
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.d.cts
2471
2822
  declare function _default$11(): {
2472
2823
  localeError: $ZodErrorMap;
2473
2824
  };
2474
2825
  //#endregion
2475
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/tr.d.cts
2826
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.d.cts
2476
2827
  declare function _default$10(): {
2477
2828
  localeError: $ZodErrorMap;
2478
2829
  };
2479
2830
  //#endregion
2480
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ua.d.cts
2831
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.d.cts
2481
2832
  declare function _default$9(): {
2482
2833
  localeError: $ZodErrorMap;
2483
2834
  };
2484
2835
  //#endregion
2485
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uk.d.cts
2836
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.d.cts
2486
2837
  declare function _default$8(): {
2487
2838
  localeError: $ZodErrorMap;
2488
2839
  };
2489
2840
  //#endregion
2490
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/ur.d.cts
2841
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.d.cts
2491
2842
  declare function _default$7(): {
2492
2843
  localeError: $ZodErrorMap;
2493
2844
  };
2494
2845
  //#endregion
2495
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/uz.d.cts
2846
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.d.cts
2496
2847
  declare function _default$6(): {
2497
2848
  localeError: $ZodErrorMap;
2498
2849
  };
2499
2850
  //#endregion
2500
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/vi.d.cts
2851
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.d.cts
2501
2852
  declare function _default$5(): {
2502
2853
  localeError: $ZodErrorMap;
2503
2854
  };
2504
2855
  //#endregion
2505
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-CN.d.cts
2856
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.d.cts
2506
2857
  declare function _default$4(): {
2507
2858
  localeError: $ZodErrorMap;
2508
2859
  };
2509
2860
  //#endregion
2510
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/zh-TW.d.cts
2861
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.d.cts
2511
2862
  declare function _default$3(): {
2512
2863
  localeError: $ZodErrorMap;
2513
2864
  };
2514
2865
  //#endregion
2515
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/locales/yo.d.cts
2866
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.d.cts
2516
2867
  declare function _default$2(): {
2517
2868
  localeError: $ZodErrorMap;
2518
2869
  };
2519
2870
  declare namespace index_d_exports$1 {
2520
- export { _default$50 as ar, _default$49 as az, _default$48 as be, _default$47 as bg, _default$46 as ca, _default$45 as cs, _default$44 as da, _default$43 as de, _default$42 as en, _default$41 as eo, _default$40 as es, _default$39 as fa, _default$38 as fi, _default$37 as fr, _default$36 as frCA, _default$35 as he, _default$34 as hu, _default$33 as hy, _default$32 as id, _default$31 as is, _default$30 as it, _default$29 as ja, _default$28 as ka, _default$27 as kh, _default$26 as km, _default$25 as ko, _default$24 as lt, _default$23 as mk, _default$22 as ms, _default$21 as nl, _default$20 as no, _default$19 as ota, _default$17 as pl, _default$18 as ps, _default$16 as pt, _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 };
2871
+ export { _default$64 as ar, _default$63 as az, _default$62 as be, _default$61 as bg, _default$60 as bn, _default$59 as ca, _default$58 as ckb, _default$57 as cs, _default$56 as da, _default$55 as de, _default$54 as el, _default$53 as en, _default$52 as eo, _default$51 as es, _default$50 as fa, _default$49 as fi, _default$48 as fr, _default$47 as frCA, _default$46 as gu, _default$45 as he, _default$44 as hi, _default$43 as hr, _default$42 as hu, _default$41 as hy, _default$40 as id, _default$39 as is, _default$38 as it, _default$37 as ja, _default$36 as ka, _default$35 as kh, _default$34 as km, _default$33 as kn, _default$32 as ko, _default$31 as lt, _default$30 as mk, _default$29 as ms, _default$28 as ne, _default$27 as nl, _default$26 as nn, _default$25 as no, _default$24 as ota, _default$22 as pl, _default$23 as ps, _default$21 as pt, _default$20 as ptBR, _default$19 as ro, _default$18 as ru, _default$17 as sk, _default$16 as sl, _default$15 as sv, _default$14 as ta, _default$13 as tg, _default$12 as th, _default$11 as tk, _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 };
2521
2872
  }
2522
2873
  //#endregion
2523
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/doc.d.cts
2874
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.d.cts
2524
2875
  type ModeWriter = (doc: Doc, modes: {
2525
2876
  execution: "sync" | "async";
2526
2877
  }) => void;
2527
2878
  declare class Doc {
2528
2879
  args: string[];
2880
+ /** Bindings the compiled function closes over, by name. */
2881
+ closed: Record<string, unknown>;
2529
2882
  content: string[];
2530
2883
  indent: number;
2531
- constructor(args?: string[]);
2884
+ constructor(args?: string[], closed?: Record<string, unknown>);
2532
2885
  indented(fn: (doc: Doc) => void): void;
2533
2886
  write(fn: ModeWriter): void;
2534
2887
  write(line: string): void;
2535
2888
  compile(): any;
2536
2889
  }
2537
2890
  //#endregion
2538
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.d.cts
2891
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.d.cts
2892
+ /** @internal Sentinel the compiled fast path returns when validation fails. */
2893
+ declare const INVALID: unique symbol;
2894
+ /** @internal */
2895
+ type INVALID = typeof INVALID;
2896
+ interface CompileFnOptions {
2897
+ debug?: boolean | undefined;
2898
+ /** Emit a validator instead of a parser: skip building the output value where nothing reads it. */
2899
+ assertOnly?: boolean | undefined;
2900
+ }
2901
+ type CompiledFn<T> = ((input: unknown) => T | INVALID) & {
2902
+ code?: string | undefined;
2903
+ /** False when this function's INVALID does not strictly mean "the runtime would reject". */
2904
+ definite?: boolean | undefined;
2905
+ };
2906
+ /** Raised when the schema contains async refinements or transforms. Surfaces only under `compile(schema, { strict: true })`. */
2907
+ declare class ZodCompileAsyncError extends Error {
2908
+ constructor(message?: string);
2909
+ }
2910
+ /**
2911
+ * Raised when the schema contains a feature whose semantics the fast path
2912
+ * can't fully model. Both the shim in `zod/compile` and the default
2913
+ * `compile()` fall back to the runtime parser for that schema; only
2914
+ * `compile(schema, { strict: true })` lets it surface.
2915
+ */
2916
+ declare class ZodCompileUnsupportedError extends Error {
2917
+ /** Whether a container may absorb this refusal by running the child through the runtime (see `compileChild`). False when running only that node on the runtime is not equivalent to running the whole parse there — a runtime island gets no parse context, so a node that *consumes* issues rather than propagating them would finalize them against the wrong error map and still succeed. */
2918
+ readonly islandable: boolean;
2919
+ constructor(feature: string, islandable?: boolean);
2920
+ }
2921
+ interface CompileOptions {
2922
+ /** Throw the refusal instead of returning the schema uncompiled. */
2923
+ strict?: boolean | undefined;
2924
+ }
2925
+ /**
2926
+ * AOT-compile a Zod schema. Returns a clone whose `_zod.run` calls a generated
2927
+ * fast path first and falls back to the original runtime parser on failure.
2928
+ *
2929
+ * - Forward direction only. Backward (encode), async, and `skipChecks` paths
2930
+ * bypass the fast path and use the runtime directly.
2931
+ * - Never throws. A schema the fast path can't model is returned unchanged and
2932
+ * keeps using the runtime parser. Pass `{ strict: true }` to get the refusal
2933
+ * as a thrown `ZodCompileUnsupportedError` / `ZodCompileAsyncError` instead.
2934
+ * - The original schema is unchanged. The clone shares children by reference.
2935
+ */
2936
+ declare function compile<T extends SomeType>(schema: T, options?: CompileOptions): T;
2937
+ /**
2938
+ * Install an already-generated parser as a schema's fast path. Returns a clone; the original is
2939
+ * unchanged.
2940
+ *
2941
+ * The parser takes the input and returns the parsed value, or `INVALID` to hand the parse to the
2942
+ * runtime. It must be synchronous and forward-direction, and it must build fresh output rather than
2943
+ * return its input — Zod cannot check either, and a wrong *success* is returned to the caller as-is.
2944
+ *
2945
+ * `compile()` is the ordinary entry point. This is for a build-time or native compiler that produces
2946
+ * a parser where `new Function` is unavailable.
2947
+ */
2948
+ declare function withParser<T extends SomeType>(schema: T, parser: (input: unknown) => output$1<T> | INVALID): T;
2949
+ /**
2950
+ * @internal Generate the standalone compiled function: a parser by default, a validator under
2951
+ * `assertOnly`. Returns the parsed value, `true` where nothing reads the output, or `INVALID`. Consumers use `compile()`.
2952
+ */
2953
+ declare function compileFn<T extends SomeType>(schema: T, options?: CompileFnOptions): CompiledFn<output$1<T>>;
2954
+ //#endregion
2955
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.cts
2539
2956
  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] ? {} : {
2540
2957
  error?: string | $ZodErrorMap<IssueTypes> | undefined;
2541
2958
  /** @deprecated This parameter is deprecated. Use `error` instead. */
@@ -2549,7 +2966,9 @@ type CheckParams<T extends $ZodCheck = $ZodCheck // & { _issc: never },
2549
2966
  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>;
2550
2967
  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>;
2551
2968
  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>;
2552
- type $ZodStringParams = TypeParams<$ZodString<string>, "coerce">;
2969
+ type $ZodStringParams = TypeParams<$ZodString<string>, "coerce"> & {
2970
+ checks?: readonly $ZodCheck<string>[];
2971
+ };
2553
2972
  declare function _string<T extends $ZodString>(Class: SchemaClass<T>, params?: string | $ZodStringParams): T;
2554
2973
  declare function _coercedString<T extends $ZodString>(Class: SchemaClass<T>, params?: string | $ZodStringParams): T;
2555
2974
  type $ZodStringFormatParams = CheckTypeParams<$ZodStringFormat, "format" | "coerce" | "when" | "pattern">;
@@ -2578,11 +2997,26 @@ declare function _url<T extends $ZodURL>(Class: SchemaClass<T>, params?: string
2578
2997
  type $ZodEmojiParams = StringFormatParams<$ZodEmoji, "when">;
2579
2998
  type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji, "when">;
2580
2999
  declare function _emoji<T extends $ZodEmoji>(Class: SchemaClass<T>, params?: string | $ZodEmojiParams | $ZodCheckEmojiParams): T;
2581
- type $ZodNanoIDParams = StringFormatParams<$ZodNanoID, "when">;
2582
- type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when">;
3000
+ type $ZodNanoIDParams = StringFormatParams<$ZodNanoID, "when" | "pattern">;
3001
+ type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when" | "pattern">;
2583
3002
  declare function _nanoid<T extends $ZodNanoID>(Class: SchemaClass<T>, params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams): T;
3003
+ /**
3004
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3005
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
3006
+ * See https://github.com/paralleldrive/cuid.
3007
+ */
2584
3008
  type $ZodCUIDParams = StringFormatParams<$ZodCUID, "when">;
3009
+ /**
3010
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3011
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
3012
+ * See https://github.com/paralleldrive/cuid.
3013
+ */
2585
3014
  type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID, "when">;
3015
+ /**
3016
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3017
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
3018
+ * See https://github.com/paralleldrive/cuid.
3019
+ */
2586
3020
  declare function _cuid<T extends $ZodCUID>(Class: SchemaClass<T>, params?: string | $ZodCUIDParams | $ZodCheckCUIDParams): T;
2587
3021
  type $ZodCUID2Params = StringFormatParams<$ZodCUID2, "when">;
2588
3022
  type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2, "when">;
@@ -2620,6 +3054,12 @@ declare function _base64url<T extends $ZodBase64URL>(Class: SchemaClass<T>, para
2620
3054
  type $ZodE164Params = StringFormatParams<$ZodE164, "when">;
2621
3055
  type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164, "when">;
2622
3056
  declare function _e164<T extends $ZodE164>(Class: SchemaClass<T>, params?: string | $ZodE164Params | $ZodCheckE164Params): T;
3057
+ type $ZodCreditCardParams = StringFormatParams<$ZodCreditCard, "pattern" | "when">;
3058
+ type $ZodCheckCreditCardParams = CheckStringFormatParams<$ZodCreditCard, "pattern" | "when">;
3059
+ declare function _creditCard<T extends $ZodCreditCard>(Class: SchemaClass<T>, params?: string | $ZodCreditCardParams | $ZodCheckCreditCardParams): T;
3060
+ type $ZodIBANParams = StringFormatParams<$ZodIBAN, "pattern" | "when">;
3061
+ type $ZodCheckIBANParams = CheckStringFormatParams<$ZodIBAN, "pattern" | "when">;
3062
+ declare function _iban<T extends $ZodIBAN>(Class: SchemaClass<T>, params?: string | $ZodIBANParams | $ZodCheckIBANParams): T;
2623
3063
  type $ZodJWTParams = StringFormatParams<$ZodJWT, "pattern" | "when">;
2624
3064
  type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern" | "when">;
2625
3065
  declare function _jwt<T extends $ZodJWT>(Class: SchemaClass<T>, params?: string | $ZodJWTParams | $ZodCheckJWTParams): T;
@@ -2642,7 +3082,9 @@ declare function _isoTime<T extends $ZodISOTime>(Class: SchemaClass<T>, params?:
2642
3082
  type $ZodISODurationParams = StringFormatParams<$ZodISODuration, "when">;
2643
3083
  type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration, "when">;
2644
3084
  declare function _isoDuration<T extends $ZodISODuration>(Class: SchemaClass<T>, params?: string | $ZodISODurationParams | $ZodCheckISODurationParams): T;
2645
- type $ZodNumberParams = TypeParams<$ZodNumber<number>, "coerce">;
3085
+ type $ZodNumberParams = TypeParams<$ZodNumber<number>, "coerce"> & {
3086
+ checks?: readonly $ZodCheck<number>[];
3087
+ };
2646
3088
  type $ZodNumberFormatParams = CheckTypeParams<$ZodNumberFormat, "format" | "coerce">;
2647
3089
  type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format" | "when">;
2648
3090
  declare function _number<T extends $ZodNumber>(Class: SchemaClass<T>, params?: string | $ZodNumberParams): T;
@@ -2718,7 +3160,9 @@ declare function _startsWith(prefix: string, params?: string | $ZodCheckStartsWi
2718
3160
  type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
2719
3161
  declare function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): $ZodCheckEndsWith;
2720
3162
  type $ZodCheckPropertyParams = CheckParams<$ZodCheckProperty, "property" | "schema" | "when">;
2721
- declare function _property<K extends string, T extends $ZodType>(property: K, schema: T, params?: string | $ZodCheckPropertyParams): $ZodCheckProperty<{ [k in K]: output<T>; }>;
3163
+ declare function _property<K extends string, T extends $ZodType>(property: K, schema: T, params?: string | $ZodCheckPropertyParams): $ZodCheckProperty<{ [k in K]: Widen<input$1<T>>; }>;
3164
+ type $ZodCheckPropertiesParams = CheckParams<$ZodCheckProperties, "shape" | "when">;
3165
+ declare function _properties<Shape extends $ZodShape>(shape: Shape, params?: string | $ZodCheckPropertiesParams): $ZodCheckProperties<Shape>;
2722
3166
  type $ZodCheckMimeTypeParams = CheckParams<$ZodCheckMimeType, "mime" | "when">;
2723
3167
  declare function _mime(types: MimeTypes[], params?: string | $ZodCheckMimeTypeParams): $ZodCheckMimeType;
2724
3168
  declare function _overwrite<T>(tx: (input: T) => T): $ZodCheckOverwrite<T>;
@@ -2734,10 +3178,10 @@ type $ZodUnionParams = TypeParams<$ZodUnion, "options">;
2734
3178
  declare function _union<const T extends readonly $ZodObject[]>(Class: SchemaClass<$ZodUnion>, options: T, params?: string | $ZodUnionParams): $ZodUnion<T>;
2735
3179
  type $ZodXorParams = TypeParams<$ZodXor, "options">;
2736
3180
  declare function _xor<const T extends readonly $ZodObject[]>(Class: SchemaClass<$ZodXor>, options: T, params?: string | $ZodXorParams): $ZodXor<T>;
2737
- interface $ZodTypeDiscriminableInternals extends $ZodTypeInternals {
3181
+ interface $ZodTypeDiscriminableInternals<_Disc extends string = string> extends _$ZodTypeInternals {
2738
3182
  propValues: PropValues;
2739
3183
  }
2740
- interface $ZodTypeDiscriminable extends $ZodType {
3184
+ interface $ZodTypeDiscriminable<_Disc extends string = string> extends SomeType {
2741
3185
  _zod: $ZodTypeDiscriminableInternals;
2742
3186
  }
2743
3187
  type $ZodDiscriminatedUnionParams = TypeParams<$ZodDiscriminatedUnion, "options" | "discriminator">;
@@ -2747,7 +3191,7 @@ declare function _intersection<T extends $ZodObject, U extends $ZodObject>(Class
2747
3191
  type $ZodTupleParams = TypeParams<$ZodTuple, "items" | "rest">;
2748
3192
  declare function _tuple<T extends readonly [$ZodType, ...$ZodType[]]>(Class: SchemaClass<$ZodTuple>, items: T, params?: string | $ZodTupleParams): $ZodTuple<T, null>;
2749
3193
  declare function _tuple<T extends readonly [$ZodType, ...$ZodType[]], Rest extends $ZodType>(Class: SchemaClass<$ZodTuple>, items: T, rest: Rest, params?: string | $ZodTupleParams): $ZodTuple<T, Rest>;
2750
- type $ZodRecordParams = TypeParams<$ZodRecord, "keyType" | "valueType">;
3194
+ type $ZodRecordParams = TypeParams<$ZodRecord, "keyType" | "valueType" | "partial">;
2751
3195
  declare function _record<Key extends $ZodRecordKey, Value extends $ZodObject>(Class: SchemaClass<$ZodRecord>, keyType: Key, valueType: Value, params?: string | $ZodRecordParams): $ZodRecord<Key, Value>;
2752
3196
  type $ZodMapParams = TypeParams<$ZodMap, "keyType" | "valueType">;
2753
3197
  declare function _map<Key extends $ZodObject, Value extends $ZodObject>(Class: SchemaClass<$ZodMap>, keyType: Key, valueType: Value, params?: string | $ZodMapParams): $ZodMap<Key, Value>;
@@ -2776,15 +3220,15 @@ declare function _optional<T extends $ZodObject>(Class: SchemaClass<$ZodOptional
2776
3220
  type $ZodNullableParams = TypeParams<$ZodNullable, "innerType">;
2777
3221
  declare function _nullable<T extends $ZodObject>(Class: SchemaClass<$ZodNullable>, innerType: T): $ZodNullable<T>;
2778
3222
  type $ZodDefaultParams = TypeParams<$ZodDefault, "innerType" | "defaultValue">;
2779
- declare function _default$1<T extends $ZodObject>(Class: SchemaClass<$ZodDefault>, innerType: T, defaultValue: NoUndefined<output<T>> | (() => NoUndefined<output<T>>)): $ZodDefault<T>;
3223
+ declare function _default$1<T extends $ZodObject>(Class: SchemaClass<$ZodDefault>, innerType: T, defaultValue: NoUndefined<output$1<T>> | (() => NoUndefined<output$1<T>>)): $ZodDefault<T>;
2780
3224
  type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
2781
3225
  declare function _nonoptional<T extends $ZodObject>(Class: SchemaClass<$ZodNonOptional>, innerType: T, params?: string | $ZodNonOptionalParams): $ZodNonOptional<T>;
2782
3226
  type $ZodSuccessParams = TypeParams<$ZodSuccess, "innerType">;
2783
3227
  declare function _success<T extends $ZodObject>(Class: SchemaClass<$ZodSuccess>, innerType: T): $ZodSuccess<T>;
2784
3228
  type $ZodCatchParams = TypeParams<$ZodCatch, "innerType" | "catchValue">;
2785
- declare function _catch$1<T extends $ZodObject>(Class: SchemaClass<$ZodCatch>, innerType: T, catchValue: output<T> | ((ctx: $ZodCatchCtx) => output<T>)): $ZodCatch<T>;
3229
+ declare function _catch$1<T extends $ZodObject>(Class: SchemaClass<$ZodCatch>, innerType: T, catchValue: output$1<T> | ((ctx: $ZodCatchCtx) => output$1<T>)): $ZodCatch<T>;
2786
3230
  type $ZodPipeParams = TypeParams<$ZodPipe, "in" | "out">;
2787
- 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>;
3231
+ declare function _pipe<const A extends $ZodType, B extends $ZodType<unknown, output$1<A>> = $ZodType<unknown, output$1<A>>>(Class: SchemaClass<$ZodPipe>, in_: A, out: B | $ZodType<unknown, output$1<A>>): $ZodPipe<A, B>;
2788
3232
  type $ZodReadonlyParams = TypeParams<$ZodReadonly, "innerType">;
2789
3233
  declare function _readonly<T extends $ZodObject>(Class: SchemaClass<$ZodReadonly>, innerType: T): $ZodReadonly<T>;
2790
3234
  type $ZodTemplateLiteralParams = TypeParams<$ZodTemplateLiteral, "parts">;
@@ -2806,7 +3250,11 @@ type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T,
2806
3250
  interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
2807
3251
  addIssue(arg: string | $ZodSuperRefineIssue): void;
2808
3252
  }
2809
- declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>): $ZodCheck<T>;
3253
+ interface $ZodSuperRefineParams {
3254
+ /** If provided, the refinement runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */
3255
+ when?: ((payload: ParsePayload) => boolean) | undefined;
3256
+ }
3257
+ declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>, params?: $ZodSuperRefineParams): $ZodCheck<T>;
2810
3258
  declare function _check<O = unknown>(fn: CheckFn<O>, params?: string | $ZodCustomParams): $ZodCheck<O>;
2811
3259
  declare function describe$1<T>(description: string): $ZodCheck<T>;
2812
3260
  declare function meta$1<T>(metadata: GlobalMeta): $ZodCheck<T>;
@@ -2827,7 +3275,7 @@ declare function _stringbool(Classes: {
2827
3275
  }, _params?: string | $ZodStringBoolParams): $ZodCodec<$ZodString, $ZodBoolean>;
2828
3276
  declare function _stringFormat<Format extends string>(Class: typeof $ZodCustomStringFormat, format: Format, fnOrRegex: ((arg: string) => MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): $ZodCustomStringFormat<Format>;
2829
3277
  //#endregion
2830
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-processors.d.cts
3278
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.d.cts
2831
3279
  declare function toJSONSchema<T extends $ZodType>(schema: T, params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<T>;
2832
3280
  declare function toJSONSchema(registry: $ZodRegistry<{
2833
3281
  id?: string | undefined;
@@ -2835,7 +3283,7 @@ declare function toJSONSchema(registry: $ZodRegistry<{
2835
3283
  schemas: Record<string, ZodStandardJSONSchemaPayload<$ZodType>>;
2836
3284
  };
2837
3285
  //#endregion
2838
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema-generator.d.cts
3286
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.d.cts
2839
3287
  /**
2840
3288
  * Parameters for the emit method of JSONSchemaGenerator.
2841
3289
  * @deprecated Use toJSONSchema function instead
@@ -2870,7 +3318,7 @@ declare class JSONSchemaGenerator {
2870
3318
  /** @deprecated Access via ctx instead */
2871
3319
  get target(): ({} & string) | "draft-2020-12" | "draft-07" | "openapi-3.0" | "draft-04";
2872
3320
  /** @deprecated Access via ctx instead */
2873
- get unrepresentable(): "any" | "throw";
3321
+ get unrepresentable(): ToJSONSchemaContext["unrepresentable"];
2874
3322
  /** @deprecated Access via ctx instead */
2875
3323
  get override(): (ctx: {
2876
3324
  zodSchema: $ZodType;
@@ -2897,10 +3345,10 @@ declare class JSONSchemaGenerator {
2897
3345
  emit(schema: $ZodType, _params?: EmitParams): BaseSchema;
2898
3346
  }
2899
3347
  declare namespace index_d_exports {
2900
- 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, $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, $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 };
3348
+ export { $Decode, $DecodeAsync, $DiscriminatedOption, $DiscriminatorValue, $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, $Validate, $ValidateAsync, $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, $ZodCheckCreditCardParams, $ZodCheckDef, $ZodCheckE164Params, $ZodCheckEmailParams, $ZodCheckEmojiParams, $ZodCheckEndsWith, $ZodCheckEndsWithDef, $ZodCheckEndsWithInternals, $ZodCheckEndsWithParams, $ZodCheckGUIDParams, $ZodCheckGreaterThan, $ZodCheckGreaterThanDef, $ZodCheckGreaterThanInternals, $ZodCheckGreaterThanParams, $ZodCheckIBANParams, $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, $ZodCheckProperties, $ZodCheckPropertiesDef, $ZodCheckPropertiesInput, $ZodCheckPropertiesInternals, $ZodCheckPropertiesParams, $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, $ZodCreditCard, $ZodCreditCardDef, $ZodCreditCardInternals, $ZodCreditCardParams, $ZodCustom, $ZodCustomDef, $ZodCustomInternals, $ZodCustomParams, $ZodCustomStringFormat, $ZodCustomStringFormatDef, $ZodCustomStringFormatInternals, $ZodCyclicError, $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, $ZodIBAN, $ZodIBANDef, $ZodIBANInternals, $ZodIBANParams, $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, $ZodMemoizer, $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, $constructorParams, $input, $loose, $output, $partial, $replace, $strict, $strip, CheckFn, CheckParams, CheckStringFormatParams, CheckTypeParams, CompileOptions, ConcatenateTupleOfStrings, ConvertPartsToStringTuple, Doc, File, GlobalMeta, INVALID, 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, URL_BAD_FORMAT, URL_UNPARSEABLE, UnrepresentableHandler, ZodCompileAsyncError, ZodCompileUnsupportedError, 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, _creditCard, _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, _iban, _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, _properties, _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, base64Charset, base64urlCharset, canParseURL, clone, compile, compileFn, 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, getDiscriminatedOption, globalConfig, globalRegistry, handleUnrepresentable, output$1 as infer, initializeContext, input$1 as input, isBackEdge, isRecursiveSchema, isValidBase64, isValidBase64URL, isValidCIDRv6, isValidCreditCard, isValidIBAN, isValidIPv6, isValidJWT, index_d_exports$1 as locales, memoizer, mergeValues, meta$1 as meta, output$1 as output, parse$1 as parse, parseAsync$1 as parseAsync, parseURLObject, prettifyError, processSchema as process, processSchema, 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, standardProps, stripTabAndNewline, toDotPath, toJSONSchema, toZod, treeifyError, urlHostnameOk, urlProtocolOk, util_d_exports as util, validate, validateAsync, validateURL, version, withParser };
2901
3349
  }
2902
3350
  //#endregion
2903
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.d.cts
3351
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.d.cts
2904
3352
  /** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */
2905
3353
  type ZodIssue = $ZodIssue;
2906
3354
  /** An Error-like class used to store Zod validation issues. */
@@ -2920,10 +3368,16 @@ interface ZodError<T = unknown> extends $ZodError<T> {
2920
3368
  }
2921
3369
  declare const ZodError: $constructor<ZodError>;
2922
3370
  declare const ZodRealError: $constructor<ZodError>;
3371
+ /** @deprecated Use `z.core.$ZodFlattenedError` instead. */
3372
+ type ZodFlattenedError<T, U = string> = $ZodFlattenedError<T, U>;
3373
+ /** @deprecated Use `z.core.$ZodFormattedError` instead. */
3374
+ type ZodFormattedError<T, U = string> = $ZodFormattedError<T, U>;
3375
+ /** @deprecated Use `z.core.$ZodErrorMap` instead. */
3376
+ type ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> = $ZodErrorMap<T>;
2923
3377
  /** @deprecated Use `z.core.$ZodRawIssue` instead. */
2924
3378
  type IssueData = $ZodRawIssue;
2925
3379
  declare namespace parse_d_exports {
2926
- export { ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, decode, decodeAsync, encode, encodeAsync, parse, parseAsync, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync };
3380
+ export { ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, decode, decodeAsync, encode, encodeAsync, parse, parseAsync, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, validate, validateAsync };
2927
3381
  }
2928
3382
  type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
2929
3383
  type ZodSafeParseSuccess<T> = {
@@ -2939,24 +3393,37 @@ type ZodSafeParseError<T> = {
2939
3393
  declare const parse: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
2940
3394
  callee?: AnyFunc;
2941
3395
  Err?: $ZodErrorClass;
2942
- }) => output<T>;
3396
+ }) => output$1<T>;
2943
3397
  declare const parseAsync: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
2944
3398
  callee?: AnyFunc;
2945
3399
  Err?: $ZodErrorClass;
2946
- }) => Promise<output<T>>;
2947
- declare const safeParse: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output<T>>;
2948
- declare const safeParseAsync: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<T>>>;
2949
- declare const encode: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => input<T>;
2950
- declare const decode: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => output<T>;
2951
- declare const encodeAsync: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<input<T>>;
2952
- declare const decodeAsync: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<output<T>>;
2953
- declare const safeEncode: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<input<T>>;
2954
- declare const safeDecode: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output<T>>;
2955
- declare const safeEncodeAsync: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<input<T>>>;
2956
- declare const safeDecodeAsync: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<T>>>;
2957
- //#endregion
2958
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.d.cts
2959
- type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
3400
+ }) => Promise<output$1<T>>;
3401
+ declare const safeParse: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output$1<T>>;
3402
+ declare const safeParseAsync: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output$1<T>>>;
3403
+ declare const encode: <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3404
+ callee?: AnyFunc;
3405
+ Err?: $ZodErrorClass;
3406
+ }) => input$1<T>;
3407
+ declare const decode: <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3408
+ callee?: AnyFunc;
3409
+ Err?: $ZodErrorClass;
3410
+ }) => output$1<T>;
3411
+ declare const encodeAsync: <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3412
+ callee?: AnyFunc;
3413
+ Err?: $ZodErrorClass;
3414
+ }) => Promise<input$1<T>>;
3415
+ declare const decodeAsync: <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3416
+ callee?: AnyFunc;
3417
+ Err?: $ZodErrorClass;
3418
+ }) => Promise<output$1<T>>;
3419
+ declare const safeEncode: <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<input$1<T>>;
3420
+ declare const safeDecode: <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output$1<T>>;
3421
+ declare const safeEncodeAsync: <T extends $ZodType>(schema: T, value: output$1<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<input$1<T>>>;
3422
+ declare const safeDecodeAsync: <T extends $ZodType>(schema: T, value: input$1<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output$1<T>>>;
3423
+ declare namespace schemas_d_exports {
3424
+ export { SafeExtendShape, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCreditCard, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodExactOptional, ZodFile, ZodFloat32, ZodFloat64, ZodFunction, ZodGUID, ZodIBAN, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodInstanceOf, ZodInt, ZodInt32, ZodInt64, ZodIntersection, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMAC, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPreprocess, ZodPromise, ZodReadonly, ZodRecord, ZodSet, ZodStandardSchemaWithJSON, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodUInt32, ZodUInt64, 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, codec, creditCard, cuid, cuid2, currencyCode, custom, date$2 as date, describe, discriminatedUnion, e164, email, emoji, _enum as enum, exactOptional, file, float32, float64, _function as function, guid, hash, hex, hostname, httpUrl, iban, _instanceof as instanceof, int, int32, int64, intersection, invertCodec, ipv4, ipv6, json, jwt, keyof, ksuid, lazy, literal, looseObject, looseRecord, mac, map, meta, nan, nanoid, nativeEnum, never, nonoptional, _null as null, nullable, nullish, number$1 as number, object, optional, partialRecord, pipe, prefault, preprocess, promise, readonly, record, refine, set, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, transform, tuple, uint32, uint64, ulid, _undefined as undefined, union, unknown, url, uuid, uuidv4, uuidv6, uuidv7, _void as void, xid, xor };
3425
+ }
3426
+ type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input$1<T>, output$1<T>>;
2960
3427
  interface ZodType<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
2961
3428
  def: Internals["def"];
2962
3429
  type: Internals["def"]["type"];
@@ -2969,45 +3436,47 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
2969
3436
  "~standard": ZodStandardSchemaWithJSON<this>;
2970
3437
  /** Converts this schema to a JSON Schema representation. */
2971
3438
  toJSONSchema(params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<this>;
2972
- check(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
2973
- with(...checks: (CheckFn<output<this>> | $ZodCheck<output<this>>)[]): this;
3439
+ check(...checks: (CheckFn<output$1<this>> | $ZodCheck<output$1<this>>)[]): this;
3440
+ with(...checks: (CheckFn<output$1<this>> | $ZodCheck<output$1<this>>)[]): this;
2974
3441
  clone(def?: Internals["def"], params?: {
2975
3442
  parent: boolean;
2976
3443
  }): this;
2977
3444
  register<R extends $ZodRegistry>(registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [$replace<R["_meta"], this>?] : [$replace<R["_meta"], this>] : ["Incompatible schema"]): this;
2978
3445
  brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T): PropertyKey extends T ? this : $ZodBranded<this, T, Dir>;
2979
- parse(data: unknown, params?: ParseContext<$ZodIssue>): output<this>;
2980
- safeParse(data: unknown, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
2981
- parseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
2982
- safeParseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
2983
- spa: (data: unknown, params?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<this>>>;
2984
- encode(data: output<this>, params?: ParseContext<$ZodIssue>): input<this>;
2985
- decode(data: input<this>, params?: ParseContext<$ZodIssue>): output<this>;
2986
- encodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<input<this>>;
2987
- decodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<output<this>>;
2988
- safeEncode(data: output<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<input<this>>;
2989
- safeDecode(data: input<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output<this>>;
2990
- safeEncodeAsync(data: output<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<input<this>>>;
2991
- safeDecodeAsync(data: input<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output<this>>>;
2992
- refine<Ch extends (arg: output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | $ZodCustomParams): Ch extends ((arg: any) => arg is infer R) ? this & ZodType<R, input<this>> : this;
2993
- superRefine(refinement: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => void | Promise<void>): this;
2994
- overwrite(fn: (x: output<this>) => output<this>): this;
3446
+ parse(data: unknown, params?: ParseContext<$ZodIssue>): output$1<this>;
3447
+ safeParse(data: unknown, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output$1<this>>;
3448
+ parseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<output$1<this>>;
3449
+ safeParseAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output$1<this>>>;
3450
+ spa: (data: unknown, params?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output$1<this>>>;
3451
+ validate(data: unknown, params?: ParseContext<$ZodIssue>): data is input$1<this>;
3452
+ validateAsync(data: unknown, params?: ParseContext<$ZodIssue>): Promise<boolean>;
3453
+ encode(data: output$1<this>, params?: ParseContext<$ZodIssue>): input$1<this>;
3454
+ decode(data: input$1<this>, params?: ParseContext<$ZodIssue>): output$1<this>;
3455
+ encodeAsync(data: output$1<this>, params?: ParseContext<$ZodIssue>): Promise<input$1<this>>;
3456
+ decodeAsync(data: input$1<this>, params?: ParseContext<$ZodIssue>): Promise<output$1<this>>;
3457
+ safeEncode(data: output$1<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<input$1<this>>;
3458
+ safeDecode(data: input$1<this>, params?: ParseContext<$ZodIssue>): ZodSafeParseResult<output$1<this>>;
3459
+ safeEncodeAsync(data: output$1<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<input$1<this>>>;
3460
+ safeDecodeAsync(data: input$1<this>, params?: ParseContext<$ZodIssue>): Promise<ZodSafeParseResult<output$1<this>>>;
3461
+ refine<Ch extends (arg: output$1<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | $ZodCustomParams): Ch extends ((arg: any) => arg is infer R) ? this & ZodType<R, input$1<this>> : this;
3462
+ superRefine(refinement: (arg: output$1<this>, ctx: $RefinementCtx<output$1<this>>) => void | Promise<void>, params?: $ZodSuperRefineParams): this;
3463
+ overwrite(fn: (x: output$1<this>) => output$1<this>): this;
2995
3464
  optional(): ZodOptional<this>;
2996
3465
  exactOptional(): ZodExactOptional<this>;
2997
3466
  nonoptional(params?: string | $ZodNonOptionalParams): ZodNonOptional<this>;
2998
3467
  nullable(): ZodNullable<this>;
2999
3468
  nullish(): ZodOptional<ZodNullable<this>>;
3000
- default(def: NoUndefined<output<this>>): ZodDefault<this>;
3001
- default(def: () => NoUndefined<output<this>>): ZodDefault<this>;
3002
- prefault(def: () => input<this>): ZodPrefault<this>;
3003
- prefault(def: input<this>): ZodPrefault<this>;
3469
+ default(def: NoUndefined<output$1<this>>): ZodDefault<this>;
3470
+ default(def: () => NoUndefined<output$1<this>>): ZodDefault<this>;
3471
+ prefault(def: () => input$1<this>): ZodPrefault<this>;
3472
+ prefault(def: input$1<this>): ZodPrefault<this>;
3004
3473
  array(): ZodArray<this>;
3005
3474
  or<T extends SomeType>(option: T): ZodUnion<[this, T]>;
3006
3475
  and<T extends SomeType>(incoming: T): ZodIntersection<this, T>;
3007
- transform<NewOut>(transform: (arg: output<this>, ctx: $RefinementCtx<output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, output<this>>>;
3008
- catch(def: output<this>): ZodCatch<this>;
3009
- catch(def: (ctx: $ZodCatchCtx) => output<this>): ZodCatch<this>;
3010
- pipe<T extends $ZodType<any, output<this>>>(target: T | $ZodType<any, output<this>>): ZodPipe<this, T>;
3476
+ transform<NewOut>(transform: (arg: output$1<this>, ctx: $RefinementCtx<output$1<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, output$1<this>>>;
3477
+ catch(def: output$1<this>): ZodCatch<this>;
3478
+ catch(def: (ctx: $ZodCatchCtx) => output$1<this>): ZodCatch<this>;
3479
+ pipe<T extends $ZodType<any, output$1<this>>>(target: T | $ZodType<any, output$1<this>>): ZodPipe<this, T>;
3011
3480
  readonly(): ZodReadonly<this>;
3012
3481
  /** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
3013
3482
  describe(description: string): this;
@@ -3033,7 +3502,7 @@ interface ZodType<out Output = unknown, out Input = unknown, out Internals exten
3033
3502
  * ```
3034
3503
  */
3035
3504
  isNullable(): boolean;
3036
- apply<T>(fn: (schema: this) => T): T;
3505
+ apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;
3037
3506
  }
3038
3507
  interface _ZodType<out Internals extends $ZodTypeInternals = $ZodTypeInternals> extends ZodType<any, any, Internals> {}
3039
3508
  declare const ZodType: $constructor<ZodType>;
@@ -3082,7 +3551,11 @@ interface ZodString extends _ZodString<$ZodStringInternals<string>> {
3082
3551
  nanoid(params?: string | $ZodCheckNanoIDParams): this;
3083
3552
  /** @deprecated Use `z.guid()` instead. */
3084
3553
  guid(params?: string | $ZodCheckGUIDParams): this;
3085
- /** @deprecated Use `z.cuid()` instead. */
3554
+ /**
3555
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3556
+ * (timestamps embedded in the id). Use `z.cuid2()` instead.
3557
+ * See https://github.com/paralleldrive/cuid.
3558
+ */
3086
3559
  cuid(params?: string | $ZodCheckCUIDParams): this;
3087
3560
  /** @deprecated Use `z.cuid2()` instead. */
3088
3561
  cuid2(params?: string | $ZodCheckCUID2Params): this;
@@ -3120,6 +3593,22 @@ declare function string$1(params?: string | $ZodStringParams): ZodString;
3120
3593
  declare function string$1<T extends string>(params?: string | $ZodStringParams): $ZodType<T, T>;
3121
3594
  interface ZodStringFormat<Format extends string = string> extends _ZodString<$ZodStringFormatInternals<Format>> {}
3122
3595
  declare const ZodStringFormat: $constructor<ZodStringFormat>;
3596
+ interface ZodISODateTime extends ZodStringFormat {
3597
+ _zod: $ZodISODateTimeInternals;
3598
+ }
3599
+ declare const ZodISODateTime: $constructor<ZodISODateTime>;
3600
+ interface ZodISODate extends ZodStringFormat {
3601
+ _zod: $ZodISODateInternals;
3602
+ }
3603
+ declare const ZodISODate: $constructor<ZodISODate>;
3604
+ interface ZodISOTime extends ZodStringFormat {
3605
+ _zod: $ZodISOTimeInternals;
3606
+ }
3607
+ declare const ZodISOTime: $constructor<ZodISOTime>;
3608
+ interface ZodISODuration extends ZodStringFormat {
3609
+ _zod: $ZodISODurationInternals;
3610
+ }
3611
+ declare const ZodISODuration: $constructor<ZodISODuration>;
3123
3612
  interface ZodEmail extends ZodStringFormat<"email"> {
3124
3613
  _zod: $ZodEmailInternals;
3125
3614
  }
@@ -3154,10 +3643,27 @@ interface ZodNanoID extends ZodStringFormat<"nanoid"> {
3154
3643
  }
3155
3644
  declare const ZodNanoID: $constructor<ZodNanoID>;
3156
3645
  declare function nanoid(params?: string | $ZodNanoIDParams): ZodNanoID;
3646
+ /**
3647
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3648
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
3649
+ * See https://github.com/paralleldrive/cuid.
3650
+ */
3157
3651
  interface ZodCUID extends ZodStringFormat<"cuid"> {
3158
3652
  _zod: $ZodCUIDInternals;
3159
3653
  }
3654
+ /**
3655
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3656
+ * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
3657
+ * See https://github.com/paralleldrive/cuid.
3658
+ */
3160
3659
  declare const ZodCUID: $constructor<ZodCUID>;
3660
+ /**
3661
+ * Validates a CUID v1 string.
3662
+ *
3663
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3664
+ * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
3665
+ * See https://github.com/paralleldrive/cuid.
3666
+ */
3161
3667
  declare function cuid(params?: string | $ZodCUIDParams): ZodCUID;
3162
3668
  interface ZodCUID2 extends ZodStringFormat<"cuid2"> {
3163
3669
  _zod: $ZodCUID2Internals;
@@ -3219,6 +3725,16 @@ interface ZodE164 extends ZodStringFormat<"e164"> {
3219
3725
  }
3220
3726
  declare const ZodE164: $constructor<ZodE164>;
3221
3727
  declare function e164(params?: string | $ZodE164Params): ZodE164;
3728
+ interface ZodCreditCard extends ZodStringFormat<"credit_card"> {
3729
+ _zod: $ZodCreditCardInternals;
3730
+ }
3731
+ declare const ZodCreditCard: $constructor<ZodCreditCard>;
3732
+ declare function creditCard(params?: string | $ZodCreditCardParams): ZodCreditCard;
3733
+ interface ZodIBAN extends ZodStringFormat<"iban"> {
3734
+ _zod: $ZodIBANInternals;
3735
+ }
3736
+ declare const ZodIBAN: $constructor<ZodIBAN>;
3737
+ declare function iban(params?: string | $ZodIBANParams): ZodIBAN;
3222
3738
  interface ZodJWT extends ZodStringFormat<"jwt"> {
3223
3739
  _zod: $ZodJWTInternals;
3224
3740
  }
@@ -3232,6 +3748,7 @@ declare const ZodCustomStringFormat: $constructor<ZodCustomStringFormat>;
3232
3748
  declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): ZodCustomStringFormat<Format>;
3233
3749
  declare function hostname(_params?: string | $ZodStringFormatParams): ZodCustomStringFormat<"hostname">;
3234
3750
  declare function hex(_params?: string | $ZodStringFormatParams): ZodCustomStringFormat<"hex">;
3751
+ declare function currencyCode(_params?: string | $ZodStringFormatParams): ZodCustomStringFormat<"currency_code">;
3235
3752
  declare function hash<Alg extends HashAlgorithm, Enc extends HashEncoding = "hex">(alg: Alg, params?: {
3236
3753
  enc?: Enc;
3237
3754
  } & $ZodStringFormatParams): ZodCustomStringFormat<`${Alg}_${Enc}`>;
@@ -3268,19 +3785,19 @@ interface _ZodNumber<Internals extends $ZodNumberInternals = $ZodNumberInternals
3268
3785
  interface ZodNumber extends _ZodNumber<$ZodNumberInternals<number>> {}
3269
3786
  declare const ZodNumber: $constructor<ZodNumber>;
3270
3787
  declare function number$1(params?: string | $ZodNumberParams): ZodNumber;
3271
- interface ZodNumberFormat extends ZodNumber {
3272
- _zod: $ZodNumberFormatInternals;
3788
+ interface ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends ZodNumber {
3789
+ _zod: $ZodNumberFormatInternals<Format>;
3273
3790
  }
3274
3791
  declare const ZodNumberFormat: $constructor<ZodNumberFormat>;
3275
- interface ZodInt extends ZodNumberFormat {}
3792
+ interface ZodInt extends ZodNumberFormat<"safeint"> {}
3276
3793
  declare function int(params?: string | $ZodCheckNumberFormatParams): ZodInt;
3277
- interface ZodFloat32 extends ZodNumberFormat {}
3794
+ interface ZodFloat32 extends ZodNumberFormat<"float32"> {}
3278
3795
  declare function float32(params?: string | $ZodCheckNumberFormatParams): ZodFloat32;
3279
- interface ZodFloat64 extends ZodNumberFormat {}
3796
+ interface ZodFloat64 extends ZodNumberFormat<"float64"> {}
3280
3797
  declare function float64(params?: string | $ZodCheckNumberFormatParams): ZodFloat64;
3281
- interface ZodInt32 extends ZodNumberFormat {}
3798
+ interface ZodInt32 extends ZodNumberFormat<"int32"> {}
3282
3799
  declare function int32(params?: string | $ZodCheckNumberFormatParams): ZodInt32;
3283
- interface ZodUInt32 extends ZodNumberFormat {}
3800
+ interface ZodUInt32 extends ZodNumberFormat<"uint32"> {}
3284
3801
  declare function uint32(params?: string | $ZodCheckNumberFormatParams): ZodUInt32;
3285
3802
  interface _ZodBoolean<T extends $ZodBooleanInternals = $ZodBooleanInternals> extends _ZodType<T> {}
3286
3803
  interface ZodBoolean extends _ZodBoolean<$ZodBooleanInternals<boolean>> {}
@@ -3307,12 +3824,14 @@ interface _ZodBigInt<T extends $ZodBigIntInternals = $ZodBigIntInternals> extend
3307
3824
  interface ZodBigInt extends _ZodBigInt<$ZodBigIntInternals<bigint>> {}
3308
3825
  declare const ZodBigInt: $constructor<ZodBigInt>;
3309
3826
  declare function bigint$1(params?: string | $ZodBigIntParams): ZodBigInt;
3310
- interface ZodBigIntFormat extends ZodBigInt {
3311
- _zod: $ZodBigIntFormatInternals;
3827
+ interface ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends ZodBigInt {
3828
+ _zod: $ZodBigIntFormatInternals<Format>;
3312
3829
  }
3313
3830
  declare const ZodBigIntFormat: $constructor<ZodBigIntFormat>;
3314
- declare function int64(params?: string | $ZodBigIntFormatParams): ZodBigIntFormat;
3315
- declare function uint64(params?: string | $ZodBigIntFormatParams): ZodBigIntFormat;
3831
+ interface ZodInt64 extends ZodBigIntFormat<"int64"> {}
3832
+ declare function int64(params?: string | $ZodBigIntFormatParams): ZodInt64;
3833
+ interface ZodUInt64 extends ZodBigIntFormat<"uint64"> {}
3834
+ declare function uint64(params?: string | $ZodBigIntFormatParams): ZodUInt64;
3316
3835
  interface ZodSymbol extends _ZodType<$ZodSymbolInternals> {}
3317
3836
  declare const ZodSymbol: $constructor<ZodSymbol>;
3318
3837
  declare function symbol(params?: string | $ZodSymbolParams): ZodSymbol;
@@ -3357,7 +3876,7 @@ interface ZodArray<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayInte
3357
3876
  declare const ZodArray: $constructor<ZodArray>;
3358
3877
  declare function array<T extends SomeType>(element: T, params?: string | $ZodArrayParams): ZodArray<T>;
3359
3878
  declare function keyof<T extends ZodObject>(schema: T): ZodEnum<KeysEnum<T["_zod"]["output"]>>;
3360
- 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]; };
3879
+ type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output$1<Ext[K]> extends output$1<Base[K]> ? input$1<Ext[K]> extends input$1<Base[K]> ? Ext[K] : never : never : Ext[K]; };
3361
3880
  interface ZodObject<
3362
3881
  /** @ts-ignore Cast variance */
3363
3882
  out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
@@ -3374,23 +3893,25 @@ out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfi
3374
3893
  strict(): ZodObject<Shape, $strict>;
3375
3894
  /** This is the default behavior. This method call is likely unnecessary. */
3376
3895
  strip(): ZodObject<Shape, $strip>;
3377
- extend<U extends $ZodLooseShape>(shape: U): ZodObject<Extend<Shape, U>, Config>;
3378
- safeExtend<U extends $ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, SomeType>>): ZodObject<Extend<Shape, U>, Config>;
3896
+ extend<U extends $ZodLooseShape>(shape: U): ZodObject<Extend<Shape, Writeable<U>>, Config>;
3897
+ safeExtend<U extends $ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, SomeType>>): ZodObject<Extend<Shape, Writeable<U>>, Config>;
3379
3898
  /**
3380
3899
  * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
3381
3900
  */
3382
3901
  merge<U extends ZodObject>(other: U): ZodObject<Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
3383
3902
  pick<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
3384
3903
  omit<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
3385
- partial(): ZodObject<{ [k in keyof Shape]: ZodOptional<Shape[k]>; }, Config>;
3386
- partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k]; }, Config>;
3387
- required(): ZodObject<{ [k in keyof Shape]: ZodNonOptional<Shape[k]>; }, Config>;
3388
- required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k]; }, Config>;
3904
+ partial(): ZodObject<{ -readonly [k in keyof Shape]: ZodOptional<Shape[k]>; }, Config>;
3905
+ partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k]; }, Config>;
3906
+ exactPartial(): ZodObject<{ -readonly [k in keyof Shape]: ZodExactOptional<Shape[k]>; }, Config>;
3907
+ exactPartial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{ -readonly [k in keyof Shape]: k extends keyof M ? ZodExactOptional<Shape[k]> : Shape[k]; }, Config>;
3908
+ required(): ZodObject<{ -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>; }, Config>;
3909
+ 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>;
3389
3910
  }
3390
3911
  declare const ZodObject: $constructor<ZodObject>;
3391
3912
  declare function object<T extends $ZodLooseShape = Partial<Record<never, SomeType>>>(shape?: T, params?: string | $ZodObjectParams): ZodObject<Writeable<T>, $strip>;
3392
- declare function strictObject<T extends $ZodLooseShape>(shape: T, params?: string | $ZodObjectParams): ZodObject<T, $strict>;
3393
- declare function looseObject<T extends $ZodLooseShape>(shape: T, params?: string | $ZodObjectParams): ZodObject<T, $loose>;
3913
+ declare function strictObject<T extends $ZodLooseShape>(shape: T, params?: string | $ZodObjectParams): ZodObject<Writeable<T>, $strict>;
3914
+ declare function looseObject<T extends $ZodLooseShape>(shape: T, params?: string | $ZodObjectParams): ZodObject<Writeable<T>, $loose>;
3394
3915
  interface ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
3395
3916
  "~standard": ZodStandardSchemaWithJSON<this>;
3396
3917
  options: T;
@@ -3421,6 +3942,7 @@ declare function intersection<T extends SomeType, U extends SomeType>(left: T, r
3421
3942
  interface ZodTuple<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _ZodType<$ZodTupleInternals<T, Rest>>, $ZodTuple<T, Rest> {
3422
3943
  "~standard": ZodStandardSchemaWithJSON<this>;
3423
3944
  rest<Rest extends SomeType = $ZodType>(rest: Rest): ZodTuple<T, Rest>;
3945
+ partial(): ZodTuple<{ -readonly [k in keyof T]: ZodOptional<T[k]>; }, Rest>;
3424
3946
  }
3425
3947
  declare const ZodTuple: $constructor<ZodTuple>;
3426
3948
  declare function tuple<T extends readonly [SomeType, ...SomeType[]]>(items: T, params?: string | $ZodTupleParams): ZodTuple<T, null>;
@@ -3496,7 +4018,7 @@ interface ZodTransform<O = unknown, I = unknown> extends _ZodType<$ZodTransformI
3496
4018
  "~standard": ZodStandardSchemaWithJSON<this>;
3497
4019
  }
3498
4020
  declare const ZodTransform: $constructor<ZodTransform>;
3499
- declare function transform<I = unknown, O = I>(fn: (input: I, ctx: ParsePayload) => O): ZodTransform<Awaited<O>, I>;
4021
+ declare function transform<I = unknown, O = I>(fn: (input: I, ctx: $RefinementCtx) => O): ZodTransform<Awaited<O>, I>;
3500
4022
  interface ZodOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodOptionalInternals<T>>, $ZodOptional<T> {
3501
4023
  "~standard": ZodStandardSchemaWithJSON<this>;
3502
4024
  unwrap(): T;
@@ -3523,13 +4045,13 @@ interface ZodDefault<T extends SomeType = $ZodType> extends _ZodType<$ZodDefault
3523
4045
  removeDefault(): T;
3524
4046
  }
3525
4047
  declare const ZodDefault: $constructor<ZodDefault>;
3526
- declare function _default<T extends SomeType>(innerType: T, defaultValue: NoUndefined<output<T>> | (() => NoUndefined<output<T>>)): ZodDefault<T>;
4048
+ declare function _default<T extends SomeType>(innerType: T, defaultValue: NoUndefined<output$1<T>> | (() => NoUndefined<output$1<T>>)): ZodDefault<T>;
3527
4049
  interface ZodPrefault<T extends SomeType = $ZodType> extends _ZodType<$ZodPrefaultInternals<T>>, $ZodPrefault<T> {
3528
4050
  "~standard": ZodStandardSchemaWithJSON<this>;
3529
4051
  unwrap(): T;
3530
4052
  }
3531
4053
  declare const ZodPrefault: $constructor<ZodPrefault>;
3532
- declare function prefault<T extends SomeType>(innerType: T, defaultValue: input<T> | (() => input<T>)): ZodPrefault<T>;
4054
+ declare function prefault<T extends SomeType>(innerType: T, defaultValue: input$1<T> | (() => input$1<T>)): ZodPrefault<T>;
3533
4055
  interface ZodNonOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodNonOptionalInternals<T>>, $ZodNonOptional<T> {
3534
4056
  "~standard": ZodStandardSchemaWithJSON<this>;
3535
4057
  unwrap(): T;
@@ -3549,7 +4071,7 @@ interface ZodCatch<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInte
3549
4071
  removeCatch(): T;
3550
4072
  }
3551
4073
  declare const ZodCatch: $constructor<ZodCatch>;
3552
- declare function _catch<T extends SomeType>(innerType: T, catchValue: output<T> | ((ctx: $ZodCatchCtx) => output<T>)): ZodCatch<T>;
4074
+ declare function _catch<T extends SomeType>(innerType: T, catchValue: output$1<T> | ((ctx: $ZodCatchCtx) => output$1<T>)): ZodCatch<T>;
3553
4075
  interface ZodNaN extends _ZodType<$ZodNaNInternals>, $ZodNaN {
3554
4076
  "~standard": ZodStandardSchemaWithJSON<this>;
3555
4077
  }
@@ -3561,7 +4083,7 @@ interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
3561
4083
  out: B;
3562
4084
  }
3563
4085
  declare const ZodPipe: $constructor<ZodPipe>;
3564
- 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>;
4086
+ declare function pipe<const A extends SomeType, B extends $ZodType<unknown, output$1<A>> = $ZodType<unknown, output$1<A>>>(in_: A, out: B | $ZodType<unknown, output$1<A>>): ZodPipe<A, B>;
3565
4087
  interface ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends ZodPipe<A, B>, $ZodCodec<A, B> {
3566
4088
  "~standard": ZodStandardSchemaWithJSON<this>;
3567
4089
  _zod: $ZodCodecInternals<A, B>;
@@ -3569,9 +4091,16 @@ interface ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
3569
4091
  }
3570
4092
  declare const ZodCodec: $constructor<ZodCodec>;
3571
4093
  declare function codec<const A extends SomeType, B extends SomeType = $ZodType>(in_: A, out: B, params: {
3572
- decode: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
3573
- encode: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
4094
+ decode: (value: output$1<A>, payload: ParsePayload<output$1<A>>) => MaybeAsync<input$1<B>>;
4095
+ encode: (value: input$1<B>, payload: ParsePayload<input$1<B>>) => MaybeAsync<output$1<A>>;
3574
4096
  }): ZodCodec<A, B>;
4097
+ declare function invertCodec<A extends SomeType, B extends SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A>;
4098
+ interface ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends ZodPipe<$ZodTransform<unknown, I>, B>, $ZodPreprocess<B, I> {
4099
+ "~standard": ZodStandardSchemaWithJSON<this>;
4100
+ _zod: $ZodPreprocessInternals<B, I>;
4101
+ def: $ZodPreprocessDef<B, I>;
4102
+ }
4103
+ declare const ZodPreprocess: $constructor<ZodPreprocess>;
3575
4104
  interface ZodReadonly<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
3576
4105
  "~standard": ZodStandardSchemaWithJSON<this>;
3577
4106
  unwrap(): T;
@@ -3631,11 +4160,15 @@ declare const ZodCustom: $constructor<ZodCustom>;
3631
4160
  declare function check<O = unknown>(fn: CheckFn<O>): $ZodCheck<O>;
3632
4161
  declare function custom<O>(fn?: (data: unknown) => unknown, _params?: string | $ZodCustomParams | undefined): ZodCustom<O, O>;
3633
4162
  declare function refine<T>(fn: (arg: NoInfer<T>) => MaybeAsync<unknown>, _params?: string | $ZodCustomParams): $ZodCheck<T>;
3634
- declare function superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>): $ZodCheck<T>;
4163
+ declare function superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>, params?: $ZodSuperRefineParams): $ZodCheck<T>;
3635
4164
  declare const describe: typeof describe$1;
3636
4165
  declare const meta: typeof meta$1;
3637
4166
  type ZodInstanceOfParams = Params<ZodCustom, $ZodIssueCustom, "type" | "check" | "checks" | "fn" | "abort" | "error" | "params" | "path">;
3638
- declare function _instanceof<T extends typeof Class>(cls: T, params?: ZodInstanceOfParams): ZodCustom<InstanceType<T>, InstanceType<T>>;
4167
+ interface ZodInstanceOf<T = unknown> extends ZodCustom<T, T> {
4168
+ properties<Shape extends { [k in keyof T as T[k] extends Function ? never : k]?: $ZodType<unknown, T[k]>; }>(shape: Shape, params?: string | $ZodCheckPropertiesParams): ZodInstanceOf<T & $InferObjectInput<Shape, {}>>;
4169
+ }
4170
+ declare const ZodInstanceOf: $constructor<ZodInstanceOf>;
4171
+ declare function _instanceof<T extends typeof Class>(cls: T, params?: ZodInstanceOfParams): ZodInstanceOf<InstanceType<T>>;
3639
4172
  declare const stringbool: (_params?: string | $ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean>;
3640
4173
  type _ZodJSONSchema = ZodUnion<[ZodString, ZodNumber, ZodBoolean, ZodNull, ZodArray<ZodJSONSchema>, ZodRecord<ZodString, ZodJSONSchema>]>;
3641
4174
  type _ZodJSONSchemaInternals = _ZodJSONSchema["_zod"];
@@ -3647,9 +4180,15 @@ interface ZodJSONSchema extends _ZodJSONSchema {
3647
4180
  _zod: ZodJSONSchemaInternals;
3648
4181
  }
3649
4182
  declare function json(params?: string | $ZodCustomParams): ZodJSONSchema;
3650
- declare function preprocess<A, U extends SomeType, B = unknown>(fn: (arg: B, ctx: $RefinementCtx) => A, schema: U): ZodPipe<ZodTransform<A, B>, U>;
4183
+ declare function preprocess<A, U extends SomeType, B = unknown>(fn: (arg: B, ctx: $RefinementCtx) => A, schema: U): ZodPreprocess<U, B>;
3651
4184
  //#endregion
3652
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/compat.d.cts
4185
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/compat.d.cts
4186
+ /** @deprecated Use `z.output<T>` instead. */
4187
+ type TypeOf<T> = output$1<T>;
4188
+ /** @deprecated Use `z.output<T>` instead. */
4189
+ type Infer<T> = output$1<T>;
4190
+ /** @deprecated Use `z.core.$ZodTypes` instead */
4191
+ type ZodFirstPartySchemaTypes = $ZodTypes;
3653
4192
  /** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
3654
4193
  declare const ZodIssueCode: {
3655
4194
  readonly invalid_type: "invalid_type";
@@ -3664,10 +4203,10 @@ declare const ZodIssueCode: {
3664
4203
  readonly invalid_value: "invalid_value";
3665
4204
  readonly custom: "custom";
3666
4205
  };
3667
- /** @deprecated Use `z.$ZodFlattenedError` */
3668
- type inferFlattenedErrors<T extends $ZodType, U = string> = $ZodFlattenedError<output<T>, U>;
3669
- /** @deprecated Use `z.$ZodFormattedError` */
3670
- type inferFormattedError<T extends $ZodType<any, any>, U = string> = $ZodFormattedError<output<T>, U>;
4206
+ /** @deprecated Use `z.core.$ZodFlattenedError<z.output<T>>` instead; it takes an inferred type, not a schema. */
4207
+ type inferFlattenedErrors<T extends $ZodType, U = string> = $ZodFlattenedError<output$1<T>, U>;
4208
+ /** @deprecated Use `z.core.$ZodFormattedError<z.output<T>>` instead; it takes an inferred type, not a schema. */
4209
+ type inferFormattedError<T extends $ZodType<any, any>, U = string> = $ZodFormattedError<output$1<T>, U>;
3671
4210
  /** Use `z.$brand` instead */
3672
4211
  type BRAND<T extends string | number | symbol = string | number | symbol> = {
3673
4212
  [$brand]: { [k in T]: true; };
@@ -3676,12 +4215,18 @@ type BRAND<T extends string | number | symbol = string | number | symbol> = {
3676
4215
  declare function setErrorMap(map: $ZodErrorMap): void;
3677
4216
  /** @deprecated Use `z.config()` instead. */
3678
4217
  declare function getErrorMap(): $ZodErrorMap<$ZodIssue> | undefined;
4218
+ /** @deprecated Use z.ZodType (without generics) instead. */
4219
+ type ZodTypeAny<Output = unknown, Input = unknown, Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;
4220
+ /** @deprecated Use `z.ZodType` */
4221
+ type ZodSchema<Output = unknown, Input = unknown, Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;
4222
+ /** @deprecated Use `z.ZodType` */
4223
+ type Schema<Output = unknown, Input = unknown, Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;
3679
4224
  /** Included for Zod 3 compatibility */
3680
4225
  type ZodRawShape = $ZodShape;
3681
4226
  /** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */
3682
4227
  declare enum ZodFirstPartyTypeKind {}
3683
4228
  //#endregion
3684
- //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/from-json-schema.d.cts
4229
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/from-json-schema.d.cts
3685
4230
  type JSONSchemaVersion = "draft-2020-12" | "draft-7" | "draft-4" | "openapi-3.0";
3686
4231
  interface FromJSONSchemaParams {
3687
4232
  defaultTarget?: JSONSchemaVersion;
@@ -3690,28 +4235,26 @@ interface FromJSONSchemaParams {
3690
4235
  /**
3691
4236
  * Converts a JSON Schema to a Zod schema. This function should be considered semi-experimental. It's behavior is liable to change. */
3692
4237
  declare function fromJSONSchema(schema: JSONSchema | boolean, params?: FromJSONSchemaParams): ZodType;
4238
+ //#endregion
4239
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/deep-partial.d.cts
4240
+ /** Distributes `.partial()` through every object in a schema type, preserving the wrappers around them. */
4241
+ type DeepPartial<T extends SomeType> = T extends ZodObject<infer Shape, infer Config> ? ZodObject<{ -readonly [K in keyof Shape]: ZodOptional<DeepPartial<Shape[K]>>; }, Config> : T extends ZodDiscriminatedUnion<infer Options, any> ? ZodUnion<{ -readonly [I in keyof Options]: Options[I] extends SomeType ? DeepPartial<Options[I]> : Options[I]; }> : T extends ZodUnion<infer Options> ? ZodUnion<{ -readonly [I in keyof Options]: Options[I] extends SomeType ? DeepPartial<Options[I]> : Options[I]; }> : T extends ZodArray<infer El> ? ZodArray<DeepPartial<El>> : T extends ZodTuple<infer Items, infer Rest> ? ZodTuple<{ -readonly [K in keyof Items]: Items[K] extends SomeType ? DeepPartial<Items[K]> : Items[K]; }, Rest extends SomeType ? DeepPartial<Rest> : Rest> : T extends ZodIntersection<infer A, infer B> ? ZodIntersection<DeepPartial<A>, DeepPartial<B>> : T extends ZodRecord<infer K, infer V> ? ZodRecord<K, DeepPartial<V>> : T extends ZodMap<infer K, infer V> ? ZodMap<K, DeepPartial<V>> : T extends ZodSet<infer El> ? ZodSet<DeepPartial<El>> : T extends ZodOptional<infer Inner> ? ZodOptional<DeepPartial<Inner>> : T extends ZodNullable<infer Inner> ? ZodNullable<DeepPartial<Inner>> : T extends ZodDefault<infer Inner> ? ZodDefault<DeepPartial<Inner>> : T extends ZodPrefault<infer Inner> ? ZodPrefault<DeepPartial<Inner>> : T extends ZodNonOptional<infer Inner> ? ZodNonOptional<DeepPartial<Inner>> : T extends ZodCatch<infer Inner> ? ZodCatch<DeepPartial<Inner>> : T extends ZodReadonly<infer Inner> ? ZodReadonly<DeepPartial<Inner>> : T extends ZodSuccess<infer Inner> ? ZodSuccess<DeepPartial<Inner>> : T extends ZodPromise<infer Inner> ? ZodPromise<DeepPartial<Inner>> : T extends ZodCodec<infer A, infer B> ? ZodCodec<DeepPartial<A>, DeepPartial<B>> : T extends ZodPreprocess<infer B> ? ZodPreprocess<DeepPartial<B>> : T extends ZodPipe<infer A, infer B> ? ZodPipe<DeepPartial<A>, DeepPartial<B>> : T extends ZodLazy<infer Inner> ? ZodLazy<DeepPartial<Inner>> : T;
4242
+ /** Returns a copy of the schema with every nested object's properties made optional. */
4243
+ declare function deepPartial<T extends SomeType>(schema: T): DeepPartial<T>;
4244
+ //#endregion
4245
+ //#region ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/in-out.d.cts
4246
+ type input<T> = input$1<T>;
4247
+ type output<T> = output$1<T>;
4248
+ /** Returns a copy of the schema with every pipe replaced by its input side. A codec's checks are dropped: they constrain the decoded value the input side never produces. */
4249
+ declare function input<T extends $ZodType>(schema: T): ZodType<input$1<T>, input$1<T>>;
4250
+ /** Returns a copy of the schema with every pipe replaced by its output side, carrying over the pipe's own checks. */
4251
+ declare function output<T extends $ZodType>(schema: T): ZodType<output$1<T>, output$1<T>>;
3693
4252
  declare namespace iso_d_exports {
3694
4253
  export { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, date$1 as date, datetime, duration, time };
3695
4254
  }
3696
- interface ZodISODateTime extends ZodStringFormat {
3697
- _zod: $ZodISODateTimeInternals;
3698
- }
3699
- declare const ZodISODateTime: $constructor<ZodISODateTime>;
3700
4255
  declare function datetime(params?: string | $ZodISODateTimeParams): ZodISODateTime;
3701
- interface ZodISODate extends ZodStringFormat {
3702
- _zod: $ZodISODateInternals;
3703
- }
3704
- declare const ZodISODate: $constructor<ZodISODate>;
3705
4256
  declare function date$1(params?: string | $ZodISODateParams): ZodISODate;
3706
- interface ZodISOTime extends ZodStringFormat {
3707
- _zod: $ZodISOTimeInternals;
3708
- }
3709
- declare const ZodISOTime: $constructor<ZodISOTime>;
3710
4257
  declare function time(params?: string | $ZodISOTimeParams): ZodISOTime;
3711
- interface ZodISODuration extends ZodStringFormat {
3712
- _zod: $ZodISODurationInternals;
3713
- }
3714
- declare const ZodISODuration: $constructor<ZodISODuration>;
3715
4258
  declare function duration(params?: string | $ZodISODurationParams): ZodISODuration;
3716
4259
  declare namespace coerce_d_exports {
3717
4260
  export { ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, bigint, boolean, date, number, string };
@@ -3727,7 +4270,7 @@ declare function bigint<T = unknown>(params?: string | $ZodBigIntParams): ZodCoe
3727
4270
  interface ZodCoercedDate<T = unknown> extends _ZodDate<$ZodDateInternals<T>> {}
3728
4271
  declare function date<T = unknown>(params?: string | $ZodDateParams): ZodCoercedDate<T>;
3729
4272
  declare namespace external_d_exports {
3730
- export { $brand, $input, $output, BRAND, GlobalMeta, output as Infer, IssueData, 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, 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, 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 };
4273
+ export { $brand, $input, $output, BRAND, CompileOptions, GlobalMeta, INVALID, Infer, IssueData, JSONType, NEVER, $RefinementCtx as RefinementCtx, SafeExtendShape, Schema, TimePrecision, TypeOf, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, ZodCompileAsyncError, ZodCompileUnsupportedError, ZodCreditCard, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodErrorMap, ZodExactOptional, ZodFile, ZodFirstPartySchemaTypes, ZodFirstPartyTypeKind, ZodFlattenedError, ZodFloat32, ZodFloat64, ZodFormattedError, ZodFunction, ZodGUID, ZodIBAN, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodInstanceOf, ZodInt, ZodInt32, ZodInt64, 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, ZodSchema, ZodSet, ZodStandardSchemaWithJSON, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodTypeAny, ZodUInt32, ZodUInt64, 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, compile, config, index_d_exports as core, creditCard, cuid, cuid2, currencyCode, custom, date$2 as date, decode, decodeAsync, deepPartial, describe, discriminatedUnion, e164, email, emoji, encode, encodeAsync, _endsWith as endsWith, _enum as enum, exactOptional, file, flattenError, float32, float64, formatError, fromJSONSchema, _function as function, getDiscriminatedOption, getErrorMap, globalRegistry, _gt as gt, _gte as gte, guid, hash, hex, hostname, httpUrl, iban, _includes as includes, output$1 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, memoizer, 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, _properties as properties, _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, toZod, 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, validate, validateAsync, _void as void, withParser, xid, xor };
3731
4274
  }
3732
4275
  //#endregion
3733
4276
  //#region ../../packages/host-core/dist/compound-C8P0kvPJ.d.mts
@@ -3749,4 +4292,4 @@ interface RunnerContext {
3749
4292
  //#endregion
3750
4293
  export { ZodBoolean as a, ZodNumber as c, ZodRecord as d, ZodString as f, $strict as g, $loose as h, ZodArray as i, ZodObject as l, ZodUnknown as m, RunnerContext as n, ZodEnum as o, ZodUnion as p, external_d_exports as r, ZodLiteral as s, HostDefinition as t, ZodOptional as u };
3751
4294
  export {};
3752
- //# sourceMappingURL=index-CApW1xbO.d.mts.map
4295
+ //# sourceMappingURL=index-CspiP73o.d.mts.map