@morlay/ui-conversation-message-actions 0.1.2 → 0.1.4

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.
@@ -6,6 +6,7 @@ import { TokenMeter } from "@deepseek-ai/dsh-token-meter";
6
6
  import { SessionStorageMetadata } from "@deepseek-ai/dsh-session-persistence";
7
7
  import { ProjectionSnapshot, SessionProjectionMap } from "@deepseek-ai/dsh-session-projection";
8
8
  import { SessionId as SessionId$1 } from "@deepseek-ai/dsh-session/types";
9
+ //#endregion
9
10
  //#region ../../../vendor/deepseek-harness/vendor/cosmokit/lib/types/types.d.ts
10
11
  declare function isArrayBufferLike(value: any): value is ArrayBufferLike;
11
12
  declare function isArrayBufferSource(value: any): value is Binary.Source;
@@ -117,17 +118,17 @@ declare const kSchema: unique symbol;
117
118
  declare global {
118
119
  namespace Schemastery {
119
120
  /** Convert primitive constructors, constants, and existing schemas into a schema type. */
120
- type From<X> = X extends string | number | boolean ? Schema<X> : X extends Schema<any, any, SchemaMode> ? X : X extends typeof String ? Schema<string> : X extends typeof Number ? Schema<number> : X extends typeof Boolean ? Schema<boolean> : X extends typeof Function ? Schema<Function, (...args: any[]) => any> : X extends Constructor<infer S> ? Schema<S> : never;
121
- type TypeS1<X> = X extends Schema<infer S, infer _T, infer _M> ? S : never;
122
- type Inverse<X> = X extends Schema<infer _S, infer T, infer M> ? (arg: SchemaOutput<T, M>) => void : never;
121
+ type From<X> = X extends string | number | boolean ? Schema$1<X> : X extends Schema$1<any, any, SchemaMode> ? X : X extends typeof String ? Schema$1<string> : X extends typeof Number ? Schema$1<number> : X extends typeof Boolean ? Schema$1<boolean> : X extends typeof Function ? Schema$1<Function, (...args: any[]) => any> : X extends Constructor<infer S> ? Schema$1<S> : never;
122
+ type TypeS1<X> = X extends Schema$1<infer S, infer _T, infer _M> ? S : never;
123
+ type Inverse<X> = X extends Schema$1<infer _S, infer T, infer M> ? (arg: SchemaOutput<T, M>) => void : never;
123
124
  /** Input type accepted by a schema-like value. */
124
125
  type TypeS<X> = TypeS1<From<X>>;
125
126
  /** Output type returned by a schema-like value after validation. */
126
127
  type TypeT<X> = ReturnType<From<X>>;
127
128
  /** Resolver callback used by custom schema types registered with `Schema.extend()`. */
128
- type Resolve = (data: any, schema: Schema, options: Options, strict?: boolean) => [any, any?];
129
+ type Resolve = (data: any, schema: Schema$1, options: Options, strict?: boolean) => [any, any?];
129
130
  /** Input type accepted by one schema in an intersection. */
130
- type IntersectS<X> = From<X> extends Schema<infer S, infer _T, infer _M> ? S : never;
131
+ type IntersectS<X> = From<X> extends Schema$1<infer S, infer _T, infer _M> ? S : never;
131
132
  /** Output type returned by one schema in an intersection. */
132
133
  type IntersectT<X> = Inverse<From<X>> extends ((arg: infer T) => void) ? T : never;
133
134
  type TupleS<X extends readonly any[]> = X extends readonly [infer L, ...infer R] ? [TypeS<L>?, ...TupleS<R>] : any[];
@@ -137,9 +138,9 @@ declare global {
137
138
  type Constructor<T = any> = new (...args: any[]) => T;
138
139
  /** Static constructor and factory methods exposed by the default `Schema` export. */
139
140
  interface Static {
140
- <T = any>(options: Partial<Schema<T>>): Schema<T>;
141
- new <T = any>(options: Partial<Schema<T>>): Schema<T>;
142
- prototype: Schema;
141
+ <T = any>(options: Partial<Schema$1<T>>): Schema$1<T>;
142
+ new <T = any>(options: Partial<Schema$1<T>>): Schema$1<T>;
143
+ prototype: Schema$1;
143
144
  /** Validate a value against a schema node and return `[output, adaptedInput?]`. */
144
145
  resolve: Resolve;
145
146
  /** Infer a schema from a primitive value, constructor, or existing schema. */
@@ -147,51 +148,51 @@ declare global {
147
148
  /** Register a resolver for a custom schema `type`. */
148
149
  extend(type: string, resolve: Resolve): void;
149
150
  /** Accept any value without validation. */
150
- any<T = any>(): Schema<T>;
151
+ any<T = any>(): Schema$1<T>;
151
152
  /** Accept only nullable input. */
152
- never(): Schema<never>;
153
+ never(): Schema$1<never>;
153
154
  /** Accept exactly one constant value. */
154
- const<const T>(value: T): Schema<T>;
155
+ const<const T>(value: T): Schema$1<T>;
155
156
  /** Accept strings, with optional metadata constraints added by instance methods. */
156
- string(): Schema<string>;
157
+ string(): Schema$1<string>;
157
158
  /** Accept numbers, with optional range and step constraints. */
158
- number(): Schema<number>;
159
+ number(): Schema$1<number>;
159
160
  /** Accept non-negative integer numbers. */
160
- natural(): Schema<number>;
161
+ natural(): Schema$1<number>;
161
162
  /** Accept a number between 0 and 1 and mark it as a slider. */
162
- percent(): Schema<number>;
163
+ percent(): Schema$1<number>;
163
164
  /** Accept booleans. */
164
- boolean(): Schema<boolean>;
165
+ boolean(): Schema$1<boolean>;
165
166
  /** Accept `Date` instances or parse datetime strings into `Date` objects. */
166
- date(): Schema<string | Date, Date>;
167
+ date(): Schema$1<string | Date, Date>;
167
168
  /** Accept `RegExp` instances or parse strings into regular expressions. */
168
- regExp(flag?: string): Schema<string | RegExp, RegExp>;
169
+ regExp(flag?: string): Schema$1<string | RegExp, RegExp>;
169
170
  /** Accept binary sources and normalize them to `ArrayBufferLike`. */
170
- arrayBuffer(): Schema<Binary.Source, ArrayBufferLike>;
171
- arrayBuffer(encoding: 'hex' | 'base64'): Schema<Binary.Source | string, ArrayBufferLike>;
171
+ arrayBuffer(): Schema$1<Binary.Source, ArrayBufferLike>;
172
+ arrayBuffer(encoding: 'hex' | 'base64'): Schema$1<Binary.Source | string, ArrayBufferLike>;
172
173
  /** Accept a numeric bitset or string keys and normalize to a number. */
173
- bitset<K extends string>(bits: Partial<Record<K, number>>): Schema<number | readonly K[], number>;
174
+ bitset<K extends string>(bits: Partial<Record<K, number>>): Schema$1<number | readonly K[], number>;
174
175
  /** Accept functions. */
175
- function(): Schema<Function, (...args: any[]) => any>;
176
+ function(): Schema$1<Function, (...args: any[]) => any>;
176
177
  /** Accept instances of a constructor or objects whose constructor name matches. */
177
- is(constructor: string): Schema;
178
- is<T>(constructor: Constructor<T>): Schema<T>;
178
+ is(constructor: string): Schema$1;
179
+ is<T>(constructor: Constructor<T>): Schema$1<T>;
179
180
  /** Accept arrays whose elements match `inner`. */
180
- array<X>(inner: X): Schema<TypeS<X>[], TypeT<X>[]>;
181
+ array<X>(inner: X): Schema$1<TypeS<X>[], TypeT<X>[]>;
181
182
  /** Accept plain objects with values matching `inner` and optional key schema. */
182
- dict<X, Y extends Schema<any, string> = Schema<string>>(inner: X, sKey?: Y): Schema<Dict<TypeS<X>, TypeS<Y>>, Dict<TypeT<X>, TypeT<Y>>>;
183
+ dict<X, Y extends Schema$1<any, string> = Schema$1<string>>(inner: X, sKey?: Y): Schema$1<Dict<TypeS<X>, TypeS<Y>>, Dict<TypeT<X>, TypeT<Y>>>;
183
184
  /** Accept tuple arrays where each index matches the corresponding schema. */
184
- tuple<const X extends readonly any[]>(list: X): Schema<TupleS<X>, TupleT<X>>;
185
+ tuple<const X extends readonly any[]>(list: X): Schema$1<TupleS<X>, TupleT<X>>;
185
186
  /** Accept plain objects; infer fields from the dictionary, not the enclosing schema's output type. */
186
- object<X extends Dict>(dict: X): Schema<ObjectS<NoInfer<X>>, ObjectT<NoInfer<X>>>;
187
+ object<X extends Dict>(dict: X): Schema$1<ObjectS<NoInfer<X>>, ObjectT<NoInfer<X>>>;
187
188
  /** Accept values matching at least one schema in `list`. */
188
- union<const X>(list: readonly X[]): Schema<TypeS<X>, TypeT<X>>;
189
+ union<const X>(list: readonly X[]): Schema$1<TypeS<X>, TypeT<X>>;
189
190
  /** Accept values matching every schema in `list`, merging object outputs. */
190
- intersect<const X>(list: readonly X[]): Schema<IntersectS<X>, IntersectT<X>>;
191
+ intersect<const X>(list: readonly X[]): Schema$1<IntersectS<X>, IntersectT<X>>;
191
192
  /** Validate with `inner`, then convert the result with `callback`. */
192
- transform<X, T>(inner: X, callback: (value: TypeS<X>, options: Schemastery.Options) => T, preserve?: boolean): Schema<TypeS<X>, T>;
193
+ transform<X, T>(inner: X, callback: (value: TypeS<X>, options: Schemastery.Options) => T, preserve?: boolean): Schema$1<TypeS<X>, T>;
193
194
  /** Defer construction of a recursive schema until validation or serialization. */
194
- lazy<X extends Schema<any, any, SchemaMode>>(callback: () => X): X;
195
+ lazy<X extends Schema$1<any, any, SchemaMode>>(callback: () => X): X;
195
196
  ValidationError: typeof ValidationError;
196
197
  }
197
198
  /** Runtime validation options shared by all schema calls. */
@@ -199,7 +200,7 @@ declare global {
199
200
  /** Remove invalid object properties instead of throwing when possible. */
200
201
  autofix?: boolean;
201
202
  /** Skip validation for selected values and schema nodes. */
202
- ignore?(data: any, schema: Schema): boolean;
203
+ ignore?(data: any, schema: Schema$1): boolean;
203
204
  /** Path used to format nested validation errors. */
204
205
  path?: (keyof any)[];
205
206
  }
@@ -239,69 +240,69 @@ declare global {
239
240
  uid: number;
240
241
  meta: Schemastery.Meta<T>;
241
242
  type: string;
242
- sKey?: Schema;
243
- inner?: Schema;
244
- list?: Schema[];
245
- dict?: Dict<Schema>;
243
+ sKey?: Schema$1;
244
+ inner?: Schema$1;
245
+ list?: Schema$1[];
246
+ dict?: Dict<Schema$1>;
246
247
  bits?: Dict<number>;
247
248
  callback?: Function;
248
249
  constructor?: string | Function;
249
250
  builder?: Function;
250
251
  value?: T;
251
- refs?: Dict<Schema>;
252
+ refs?: Dict<Schema$1>;
252
253
  preserve?: boolean;
253
254
  '~standard': StandardSchemaV1$1.Props;
254
255
  /** Format this schema as a compact TypeScript-like type string. */
255
256
  toString(inline?: boolean): string;
256
257
  /** Serialize this schema, preserving shared and recursive references. */
257
- toJSON(): Schema<S, T, Mode>;
258
+ toJSON(): Schema$1<S, T, Mode>;
258
259
  /** Mark nullable input as invalid unless a default supplies a fallback. */
259
- required<R extends boolean = true>(value?: R): Schema<S, T, SetRequired<Mode, R>>;
260
+ required<R extends boolean = true>(value?: R): Schema$1<S, T, SetRequired<Mode, R>>;
260
261
  /**
261
262
  * Parse this config field as a stable reference containing immutable data.
262
263
  * @returns a schema whose output supports get(), including when the field is absent.
263
264
  */
264
- volatile(): Schema<NoInfer<S>, NoInfer<T>, Mode extends 'defined' | 'volatile-defined' ? 'volatile-defined' : 'volatile'>;
265
+ volatile(): Schema$1<NoInfer<S>, NoInfer<T>, Mode extends 'defined' | 'volatile-defined' ? 'volatile-defined' : 'volatile'>;
265
266
  /** Hide this schema node from UI renderers. */
266
- hidden(value?: boolean): Schema<S, T, Mode>;
267
+ hidden(value?: boolean): Schema$1<S, T, Mode>;
267
268
  /** Return the default value instead of throwing when validation fails. */
268
- loose(value?: boolean): Schema<S, T, Mode>;
269
+ loose(value?: boolean): Schema$1<S, T, Mode>;
269
270
  /** Attach a renderer role and optional role-specific metadata. */
270
- role(text: string, extra?: any): Schema<S, T, Mode>;
271
+ role(text: string, extra?: any): Schema$1<S, T, Mode>;
271
272
  /** Attach an external documentation link. */
272
- link(link: string): Schema<S, T, Mode>;
273
+ link(link: string): Schema$1<S, T, Mode>;
273
274
  /** Set the fallback value used for nullable input. */
274
- default(value: T | NoInfer<Partial<S>>): Schema<S, T, SetRequired<Mode, true>>;
275
+ default(value: T | NoInfer<Partial<S>>): Schema$1<S, T, SetRequired<Mode, true>>;
275
276
  /** Attach an auxiliary comment for documentation or form UIs. */
276
- comment(text: string): Schema<S, T, Mode>;
277
+ comment(text: string): Schema$1<S, T, Mode>;
277
278
  /** Attach a localized or plain description for documentation or form UIs. */
278
- description(text: string): Schema<S, T, Mode>;
279
+ description(text: string): Schema$1<S, T, Mode>;
279
280
  /** Mark this schema node as disabled for form UIs. */
280
- disabled(value?: boolean): Schema<S, T, Mode>;
281
+ disabled(value?: boolean): Schema$1<S, T, Mode>;
281
282
  /** Request collapsed rendering for nested form UIs. */
282
- collapse(value?: boolean): Schema<S, T, Mode>;
283
+ collapse(value?: boolean): Schema$1<S, T, Mode>;
283
284
  /** Add a deprecated badge to this schema node. */
284
- deprecated(): Schema<S, T, Mode>;
285
+ deprecated(): Schema$1<S, T, Mode>;
285
286
  /** Add an experimental badge to this schema node. */
286
- experimental(): Schema<S, T, Mode>;
287
+ experimental(): Schema$1<S, T, Mode>;
287
288
  /** Require strings to match a regular expression. */
288
- pattern(regexp: RegExp): Schema<S, T, Mode>;
289
+ pattern(regexp: RegExp): Schema$1<S, T, Mode>;
289
290
  /** Set an inclusive maximum for numbers or collection lengths. */
290
- max(value: number): Schema<S, T, Mode>;
291
+ max(value: number): Schema$1<S, T, Mode>;
291
292
  /** Set an inclusive minimum for numbers or collection lengths. */
292
- min(value: number): Schema<S, T, Mode>;
293
+ min(value: number): Schema$1<S, T, Mode>;
293
294
  /** Set the numeric increment constraint. */
294
- step(value: number): Schema<S, T, Mode>;
295
+ step(value: number): Schema$1<S, T, Mode>;
295
296
  /** Add or replace an object property schema. */
296
- set(key: string, value: Schema): Schema<S, T, Mode>;
297
+ set(key: string, value: Schema$1): Schema$1<S, T, Mode>;
297
298
  /** Append a tuple, union, or intersection member schema. */
298
- push(value: Schema): Schema<S, T, Mode>;
299
+ push(value: Schema$1): Schema$1<S, T, Mode>;
299
300
  /** Remove values equal to schema defaults from normalized output. */
300
301
  simplify(value?: any): any;
301
302
  /** Return a schema clone with descriptions merged from locale messages. */
302
- i18n(messages: Dict): Schema<S, T, Mode>;
303
+ i18n(messages: Dict): Schema$1<S, T, Mode>;
303
304
  /** Attach arbitrary metadata consumed by form renderers and downstream tools. */
304
- extra<K extends keyof Schemastery.Meta>(key: K, value: Schemastery.Meta[K]): Schema<S, T, Mode>;
305
+ extra<K extends keyof Schemastery.Meta>(key: K, value: Schemastery.Meta[K]): Schema$1<S, T, Mode>;
305
306
  }
306
307
  }
307
308
  declare class ValidationError extends TypeError {
@@ -313,10 +314,12 @@ declare class ValidationError extends TypeError {
313
314
  type SchemaMode = 'plain' | 'defined' | 'volatile' | 'volatile-defined';
314
315
  type SchemaOutput<T, M extends SchemaMode> = M extends 'volatile' ? Volatile<T | undefined> : M extends 'volatile-defined' ? Volatile<T> : T;
315
316
  type SetRequired<M extends SchemaMode, R extends boolean> = M extends 'volatile' | 'volatile-defined' ? R extends true ? 'volatile-defined' : 'volatile' : R extends true ? 'defined' : 'plain';
316
- type Schema<S = any, T = S, Mode extends SchemaMode = 'plain'> = Schemastery<S, T, Mode>;
317
- declare const Schema: Schemastery.Static;
318
- //#endregion
319
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema.d.cts
317
+ type Schema$1<S = any, T = S, Mode extends SchemaMode = 'plain'> = Schemastery<S, T, Mode>;
318
+ declare const Schema$1: Schemastery.Static;
319
+ declare namespace json_schema_d_exports {
320
+ export { ArraySchema, BaseSchema, BooleanSchema, IntegerSchema, JSONSchema, NullSchema, NumberSchema, ObjectSchema, Schema, SchemaType, StringSchema, _JSONSchema };
321
+ }
322
+ type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;
320
323
  type _JSONSchema = boolean | JSONSchema;
321
324
  type SchemaType = "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
322
325
  type JSONSchema = {
@@ -384,6 +387,27 @@ type JSONSchema = {
384
387
  _prefault?: unknown;
385
388
  };
386
389
  type BaseSchema = JSONSchema;
390
+ interface ObjectSchema extends JSONSchema {
391
+ type: "object";
392
+ }
393
+ interface ArraySchema extends JSONSchema {
394
+ type: "array";
395
+ }
396
+ interface StringSchema extends JSONSchema {
397
+ type: "string";
398
+ }
399
+ interface NumberSchema extends JSONSchema {
400
+ type: "number";
401
+ }
402
+ interface IntegerSchema extends JSONSchema {
403
+ type: "integer";
404
+ }
405
+ interface BooleanSchema extends JSONSchema {
406
+ type: "boolean";
407
+ }
408
+ interface NullSchema extends JSONSchema {
409
+ type: "null";
410
+ }
387
411
  //#endregion
388
412
  //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/standard-schema.d.cts
389
413
  /** The Standard interface. */
@@ -503,8 +527,9 @@ declare namespace StandardJSONSchemaV1 {
503
527
  type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
504
528
  }
505
529
  interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {}
506
- //#endregion
507
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.d.cts
530
+ declare namespace registries_d_exports {
531
+ export { $ZodRegistry, $input, $output, $replace, GlobalMeta, JSONSchemaMeta, globalRegistry, registry };
532
+ }
508
533
  declare const $output: unique symbol;
509
534
  type $output = typeof $output;
510
535
  declare const $input: unique symbol;
@@ -530,6 +555,8 @@ interface JSONSchemaMeta {
530
555
  [k: string]: unknown;
531
556
  }
532
557
  interface GlobalMeta extends JSONSchemaMeta {}
558
+ declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;
559
+ declare const globalRegistry: $ZodRegistry<GlobalMeta>;
533
560
  //#endregion
534
561
  //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.d.cts
535
562
  type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
@@ -585,6 +612,12 @@ interface JSONSchemaGeneratorParams {
585
612
  * Parameters for the toJSONSchema function.
586
613
  */
587
614
  type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, "processors" | "external">;
615
+ /**
616
+ * Parameters for the toJSONSchema function when passing a registry.
617
+ */
618
+ interface RegistryToJSONSchemaParams extends ToJSONSchemaParams {
619
+ uri?: (id: string) => string;
620
+ }
588
621
  interface ProcessParams {
589
622
  schemaPath: $ZodType[];
590
623
  path: (string | number)[];
@@ -648,46 +681,261 @@ interface ToJSONSchemaContext {
648
681
  defs: Record<string, BaseSchema>;
649
682
  } | undefined;
650
683
  }
684
+ declare function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext;
685
+ /**
686
+ * Applies the `unrepresentable` setting at a site that has no JSON Schema equivalent. Throws
687
+ * `message` unless the setting (or the handler's return value) says otherwise. Returns `true` if a
688
+ * custom JSON Schema was written into `json`, in which case the caller must not write its own.
689
+ */
690
+ declare function handleUnrepresentable(schema: $ZodType, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams, message: string): boolean;
691
+ declare function processSchema<T extends $ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): BaseSchema;
692
+ declare function extractDefs<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): void;
693
+ declare function finalize<T extends $ZodType>(ctx: ToJSONSchemaContext, schema: T): ZodStandardJSONSchemaPayload<T>;
651
694
  type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
652
695
  interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
653
696
  "~standard": ZodStandardSchemaWithJSON$1<T>;
654
697
  }
655
- //#endregion
656
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.d.cts
698
+ /**
699
+ * Creates a toJSONSchema method for a schema instance.
700
+ * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
701
+ */
702
+ declare const createToJSONSchemaMethod: <T extends $ZodType>(schema: T, processors?: Record<string, Processor>) => (params?: ToJSONSchemaParams) => ZodStandardJSONSchemaPayload<T>;
703
+ /**
704
+ * Creates a toJSONSchema method for a schema instance.
705
+ * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.
706
+ */
707
+ type StandardJSONSchemaMethodParams = Parameters<StandardJSONSchemaV1["~standard"]["jsonSchema"]["input"]>[0];
708
+ declare const createStandardJSONSchemaMethod: <T extends $ZodType>(schema: T, io: "input" | "output", processors?: Record<string, Processor>) => (params?: StandardJSONSchemaMethodParams) => BaseSchema;
709
+ declare namespace util_d_exports {
710
+ export { AnyFunc, AssertEqual, AssertExtends, AssertNotEqual, BIGINT_FORMAT_RANGES, BuiltIn, CONSTANT_CATCH, Class, CleanKey, Constructor$1 as 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, numKeys, objectClone, omit, optionalKeys, own, parsedType, partial, pick, prefixIssues, primitiveTypes, promiseAllObject, propertyKeyTypes, randomString, rawShape, required, safeExtend, shallowClone, slugify, stringifyPrimitive, toZod, uint8ArrayToBase64, uint8ArrayToBase64url, uint8ArrayToHex, unwrapMessage };
711
+ }
712
+ type JSONType = string | number | boolean | null | JSONType[] | {
713
+ [key: string]: JSONType;
714
+ };
715
+ type JWTAlgorithm = "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | (string & {});
716
+ type HashAlgorithm = "md5" | "sha1" | "sha256" | "sha384" | "sha512";
717
+ type HashEncoding = "hex" | "base64" | "base64url";
718
+ type HashFormat = `${HashAlgorithm}_${HashEncoding}`;
719
+ type IPVersion = "v4" | "v6";
657
720
  type MimeTypes = "application/json" | "application/xml" | "application/x-www-form-urlencoded" | "application/javascript" | "application/pdf" | "application/zip" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "application/octet-stream" | "application/graphql" | "text/html" | "text/plain" | "text/css" | "text/javascript" | "text/csv" | "image/png" | "image/jpeg" | "image/gif" | "image/svg+xml" | "image/webp" | "audio/mpeg" | "audio/ogg" | "audio/wav" | "audio/webm" | "video/mp4" | "video/webm" | "video/ogg" | "font/woff" | "font/woff2" | "font/ttf" | "font/otf" | "multipart/form-data" | (string & {});
721
+ type ParsedTypes = "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function" | "file" | "date" | "array" | "map" | "set" | "nan" | "null" | "promise";
722
+ type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? true : false;
723
+ type AssertNotEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? false : true;
724
+ type AssertExtends<T, U> = T extends U ? T : never;
725
+ type ToZodMismatch<T, S extends $ZodType> = {
726
+ "types do not match": {
727
+ expected: T;
728
+ received: S["_zod"]["output"];
729
+ };
730
+ };
731
+ type ToZodKeyMismatch<Expected, Received> = $ZodType & {
732
+ "types do not match": {
733
+ expected: Expected;
734
+ received: Received;
735
+ };
736
+ };
737
+ declare const toZodDummy: unique symbol;
738
+ type ToZodNormalize<T> = [T] extends [(...args: any[]) => any] ? T : [T] extends [object] ? { [K in keyof T]: ToZodNormalize<T[K]>; } : T | typeof toZodDummy;
739
+ 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>>;
740
+ 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>; };
741
+ type ToZodExpand<X> = { [K in keyof X]: X[K]; } & {};
742
+ 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>;
658
743
  type IsAny<T> = 0 extends 1 & T ? true : false;
659
744
  type Omit$1<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
745
+ type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;
660
746
  type MakePartial<T, K extends keyof T> = Omit$1<T, K> & InexactPartial<Pick<T, K>>;
747
+ type MakeRequired<T, K extends keyof T> = Omit$1<T, K> & Required<Pick<T, K>>;
748
+ type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;
661
749
  type NoUndefined<T> = T extends undefined ? never : T;
750
+ type Whatever = {} | undefined | null;
751
+ type Widen<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends bigint ? bigint : T;
662
752
  type LoosePartial<T extends object> = InexactPartial<T> & {
663
753
  [k: string]: unknown;
664
754
  };
755
+ type Mask<Keys extends PropertyKey> = { [K in Keys]?: true; };
756
+ type Writeable<T> = { -readonly [P in keyof T]: T[P]; } & {};
665
757
  type InexactPartial<T> = { [P in keyof T]?: T[P] | undefined; };
758
+ type EmptyObject = Record<string, never>;
666
759
  type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {
667
760
  readonly [Symbol.toStringTag]: string;
668
761
  } | Date | Error | Generator | Promise<unknown> | RegExp;
669
762
  type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;
763
+ type SomeObject = Record<PropertyKey, any>;
670
764
  type Identity<T> = T;
671
765
  type Flatten<T> = Identity<{ [k in keyof T]: T[k]; }>;
766
+ type Mapped<T> = { [k in keyof T]: T[k]; };
672
767
  type Prettify<T> = { [K in keyof T]: T[K]; } & {};
768
+ type NoNeverKeys<T> = { [k in keyof T]: [T[k]] extends [never] ? never : k; }[keyof T];
769
+ type NoNever<T> = Identity<{ [k in NoNeverKeys<T>]: k extends keyof T ? T[k] : never; }>;
770
+ type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : { [K in keyof A as K extends keyof B ? never : K]: A[K]; } & { [K in keyof B]: B[K]; }>;
673
771
  type TupleItems = ReadonlyArray<SomeType>;
674
772
  type AnyFunc = (...args: any[]) => any;
773
+ type IsProp<T, K extends keyof T> = T[K] extends AnyFunc ? never : K;
675
774
  type MaybeAsync<T> = T | Promise<T>;
775
+ type KeyOf<T> = keyof OmitIndexSignature<T>;
776
+ type OmitIndexSignature<T> = { [K in keyof T as string extends K ? never : K extends string ? K : never]: T[K]; };
777
+ type ExtractIndexSignature<T> = { [K in keyof T as string extends K ? K : K extends string ? never : K]: T[K]; };
778
+ type Keys<T extends object> = keyof OmitIndexSignature<T>;
779
+ type SchemaClass<T extends SomeType> = {
780
+ new (def: T["_zod"]["def"]): T;
781
+ };
676
782
  type EnumValue = string | number;
677
783
  type EnumLike = Readonly<Record<string, EnumValue>>;
784
+ type ToEnum<T extends EnumValue> = Flatten<{ [k in T]: k; }>;
785
+ type KeysEnum<T extends object> = ToEnum<Exclude<keyof T, symbol>>;
786
+ type KeysArray<T extends object> = Flatten<(keyof T & string)[]>;
678
787
  type Literal = string | number | bigint | boolean | null | undefined;
788
+ type LiteralArray = Array<Literal>;
679
789
  type Primitive = string | number | symbol | bigint | boolean | null | undefined;
790
+ type PrimitiveArray = Array<Primitive>;
791
+ type HasSize = {
792
+ size: number;
793
+ };
680
794
  type HasLength = {
681
795
  length: number;
682
796
  };
797
+ type Numeric = number | bigint | Date;
798
+ type SafeParseResult<T> = SafeParseSuccess<T> | SafeParseError<T>;
799
+ type SafeParseSuccess<T> = {
800
+ success: true;
801
+ data: T;
802
+ error?: never;
803
+ };
804
+ type SafeParseError<T> = {
805
+ success: false;
806
+ data?: never;
807
+ error: $ZodError<T>;
808
+ };
683
809
  type PropValues = Record<string, Set<Primitive>>;
684
810
  type PrimitiveSet = Set<Primitive>;
811
+ declare function assertEqual<A, B>(val: AssertEqual<A, B>): AssertEqual<A, B>;
812
+ declare function assertNotEqual<A, B>(val: AssertNotEqual<A, B>): AssertNotEqual<A, B>;
813
+ declare function toZod<T>(): <S extends $ZodType>(schema: ToZodEqual<S["_zod"]["output"], T> extends true ? S : ToZodTarget<S, T>) => S;
814
+ declare function assertIs<T>(_arg: T): void;
815
+ declare function assertNever(_x: never): never;
816
+ declare function assert<T>(_: any): asserts _ is T;
817
+ declare function getEnumValues(entries: EnumLike): EnumValue[];
818
+ declare function joinValues<T extends Primitive[]>(array: T, separator?: string): string;
819
+ declare function jsonStringifyReplacer(_: string, value: any): any;
820
+ declare function cached<T>(getter: () => T): {
821
+ value: T;
822
+ };
823
+ declare function nullish(input: any): boolean;
824
+ declare function cleanRegex(source: string): string;
825
+ declare function floatSafeRemainder(val: number, step: number): number;
826
+ declare function defineLazy<T, K extends keyof T>(object: T, key: K, getter: () => T[K]): void;
827
+ declare function objectClone(obj: object): any;
828
+ declare function assignProp<T extends object, K extends PropertyKey>(target: T, prop: K, value: K extends keyof T ? T[K] : any): void;
829
+ /** A def's `shape` accessor, carrying whichever object it currently answers from. */
830
+ interface ShapeGetter {
831
+ (): Record<PropertyKey, any>;
832
+ raw: Record<PropertyKey, any>;
833
+ }
834
+ /**
835
+ * Whichever object a def's `shape` currently answers from: the one the caller passed until the first read, the frozen copy after it.
836
+ *
837
+ * 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.
838
+ */
839
+ declare function rawShape(def: any): Record<PropertyKey, any> | undefined;
840
+ declare function mergeDefs(...defs: Record<string, any>[]): any;
841
+ declare function cloneDef(schema: $ZodType): any;
842
+ declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any;
843
+ declare function promiseAllObject<T extends object>(promisesObj: T): Promise<{ [k in keyof T]: Awaited<T[k]>; }>;
844
+ declare function randomString(length?: number): string;
845
+ declare function esc(str: string): string;
846
+ declare function slugify(input: string): string;
847
+ declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void;
848
+ declare function isObject(data: any): data is Record<PropertyKey, unknown>;
849
+ declare const allowsEval: {
850
+ value: boolean;
851
+ };
852
+ declare function isPlainObject(o: any): o is Record<PropertyKey, unknown>;
853
+ declare function shallowClone(o: any): any;
854
+ declare function numKeys(data: any): number;
855
+ declare const getParsedType: (data: any) => ParsedTypes;
856
+ declare const propertyKeyTypes: Set<string>;
857
+ declare const primitiveTypes: Set<string>;
858
+ declare function escapeRegex(str: string): string;
859
+ declare function clone<T extends $ZodType>(inst: T, def?: T["_zod"]["def"], params?: {
860
+ parent: boolean;
861
+ }): T;
685
862
  type EmptyToNever<T> = keyof T extends never ? never : T;
863
+ type Normalize<T> = T extends undefined ? never : T extends Record<any, any> ? Flatten<{ [k in keyof Omit$1<T, "error" | "message">]: T[k]; } & ("error" extends keyof T ? {
864
+ error?: Exclude<T["error"], string>;
865
+ } : unknown)> : never;
866
+ declare function normalizeParams<T>(_params: T): Normalize<T>;
867
+ declare function createTransparentProxy<T extends object>(getter: () => T): T;
868
+ declare function stringifyPrimitive(value: any): string;
869
+ declare function optionalKeys(shape: $ZodShape): string[];
870
+ type CleanKey<T extends PropertyKey> = T extends `?${infer K}` ? K : T extends `${infer K}?` ? K : T;
871
+ type ToCleanMap<T extends $ZodLooseShape> = { [k in keyof T]: k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k; };
872
+ type FromCleanMap<T extends $ZodLooseShape> = { [k in keyof T as k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k]: k; };
873
+ declare const NUMBER_FORMAT_RANGES: Record<$ZodNumberFormats, [number, number]>;
874
+ declare const BIGINT_FORMAT_RANGES: Record<$ZodBigIntFormats, [bigint, bigint]>;
875
+ declare function pick(schema: $ZodObject, mask: Record<string, unknown>): any;
876
+ declare function omit(schema: $ZodObject, mask: object): any;
877
+ declare function extend(schema: $ZodObject, shape: $ZodShape): any;
878
+ declare function safeExtend(schema: $ZodObject, shape: $ZodShape): any;
879
+ declare function merge(a: $ZodObject, b: $ZodObject): any;
880
+ declare function partial(Class: SchemaClass<$ZodOptional> | null, schema: $ZodObject, mask: object | undefined, name?: string): any;
881
+ declare function required(Class: SchemaClass<$ZodNonOptional>, schema: $ZodObject, mask: object | undefined): any;
882
+ type Constructor$1<T, Def extends any[] = any[]> = new (...args: Def) => T;
883
+ declare function aborted(x: ParsePayload, startIndex?: number): boolean;
884
+ declare function explicitlyAborted(x: ParsePayload, startIndex?: number): boolean;
885
+ declare function prefixIssues(path: PropertyKey, issues: $ZodRawIssue[]): $ZodRawIssue[];
886
+ declare function unwrapMessage(message: string | {
887
+ message: string;
888
+ } | undefined | null): string | undefined;
889
+ declare function attachSchema(issues: $ZodRawIssue[], start: number, inst: $ZodType): void;
890
+ declare function finalizeIssue(iss: $ZodRawIssue, ctx: ParseContextInternal | undefined, config: $ZodConfig): $ZodIssue;
891
+ declare function getSizableOrigin(input: any): "set" | "map" | "file" | "unknown";
892
+ declare function codePointLength(str: string): number;
893
+ declare function getLengthableOrigin(input: any): "array" | "string" | "unknown";
894
+ declare function parsedType(data: unknown): $ZodInvalidTypeExpected;
895
+ declare function issue(_iss: string, input: any, inst: any): $ZodRawIssue;
896
+ declare function issue(_iss: $ZodRawIssue): $ZodRawIssue;
897
+ declare function cleanEnum(obj: Record<string, EnumValue>): EnumValue[];
898
+ declare function base64ToUint8Array(base64: string): InstanceType<typeof Uint8Array>;
899
+ declare function uint8ArrayToBase64(bytes: Uint8Array): string;
900
+ declare function base64urlToUint8Array(base64url: string): InstanceType<typeof Uint8Array>;
901
+ declare function uint8ArrayToBase64url(bytes: Uint8Array): string;
902
+ declare function hexToUint8Array(hex: string): InstanceType<typeof Uint8Array>;
903
+ declare function uint8ArrayToHex(bytes: Uint8Array): string;
686
904
  declare abstract class Class {
687
905
  constructor(..._args: any[]);
688
906
  }
907
+ /**
908
+ * 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.
909
+ *
910
+ * Call this from a `proto` initializer, which runs once per prototype — never per instance.
911
+ */
912
+ declare function members(proto: object, table: object): void;
913
+ /** Shadows a prototype member with an own value, so a getter that builds from the instance runs once. */
914
+ declare function own<T>(inst: object, key: PropertyKey, value: T, enumerable?: boolean): T;
915
+ /** Like {@link own}, for a member that was never an own data property and has to stay out of `Object.keys`. */
916
+ declare function hide<T>(inst: object, key: PropertyKey, value: T): T;
917
+ /** 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. */
918
+ declare function derived<T>(computes: { [K in keyof T]?: (inst: T) => T[K]; }, table: ProtoOf<T>): ProtoOf<T>;
689
919
  /** A trait's prototype members: a partial view of its own interface, with `this` typed as the instance. */
690
920
  type ProtoOf<T> = { [K in keyof T]?: (T[K] extends ((...args: infer A) => infer R) ? (...args: A) => R : T[K]) | undefined; } & ThisType<T>;
921
+ /**
922
+ * Installs a lazily-derived internal on the `_zod` prototype of `inst`'s
923
+ * constructor, computed from the internals object itself and cached there on
924
+ * first read. One accessor per constructor rather than one per instance.
925
+ */
926
+ declare function defineLazyInternal<T extends {
927
+ _zod: any;
928
+ }>(inst: T, key: string, compute: (zod: T["_zod"]) => unknown): void;
929
+ /**
930
+ * Installs `key` on `inst`'s prototype, computed by `make` on first read and cached there as an own
931
+ * data property. One accessor per constructor rather than one per instance, because an own accessor
932
+ * puts every instance after the first into v8 dictionary mode. The key doubles as the sentinel.
933
+ */
934
+ declare function installLazyProp(inst: object, key: string, make: (self: any) => unknown, enumerable: boolean): void;
935
+ /** 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. */
936
+ declare const CONSTANT_CATCH = "~constantCatch";
937
+ /** Wraps a constant catch value in a thunk tagged with {@link CONSTANT_CATCH}. */
938
+ declare function constantCatch<T>(value: T): () => T;
691
939
  //#endregion
692
940
  //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.d.cts
693
941
  declare const version: {
@@ -695,8 +943,9 @@ declare const version: {
695
943
  readonly minor: 6;
696
944
  readonly patch: number;
697
945
  };
698
- //#endregion
699
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.d.cts
946
+ declare namespace schemas_d_exports {
947
+ 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 };
948
+ }
700
949
  interface ParseContext<T extends $ZodIssueBase = never> {
701
950
  /** Customize error messages. */
702
951
  readonly error?: $ZodErrorMap<T>;
@@ -713,6 +962,12 @@ interface ParseContextInternal<T extends $ZodIssueBase = never> extends ParseCon
713
962
  /** 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. */
714
963
  readonly abortEarly?: boolean;
715
964
  }
965
+ /** 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. */
966
+ interface $ZodMemoizer {
967
+ attach(inst: $ZodType): void;
968
+ guard(inst: $ZodType): void;
969
+ alloc<T extends object>(inst: $ZodType, payload: ParsePayload, empty: T, ctx: ParseContextInternal): T;
970
+ }
716
971
  interface ParsePayload<T = unknown> {
717
972
  value: T;
718
973
  issues: $ZodRawIssue[];
@@ -796,6 +1051,7 @@ interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals
796
1051
  }
797
1052
  interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {}
798
1053
  declare const $ZodType: $constructor<$ZodType>;
1054
+ declare function standardProps(inst: $ZodType): StandardSchemaV1.Props<any, any>;
799
1055
  interface $ZodStringDef extends $ZodTypeDef {
800
1056
  type: "string";
801
1057
  coerce?: boolean;
@@ -819,6 +1075,273 @@ interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
819
1075
  }
820
1076
  interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {}
821
1077
  declare const $ZodString: $constructor<$ZodString>;
1078
+ interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, $ZodCheckStringFormatDef<Format> {}
1079
+ interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, $ZodCheckStringFormatInternals {
1080
+ def: $ZodStringFormatDef<Format>;
1081
+ }
1082
+ interface $ZodStringFormat<Format extends string = string> extends $ZodType {
1083
+ _zod: $ZodStringFormatInternals<Format>;
1084
+ }
1085
+ declare const $ZodStringFormat: $constructor<$ZodStringFormat>;
1086
+ interface $ZodGUIDDef extends $ZodStringFormatDef<"guid"> {}
1087
+ interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {}
1088
+ interface $ZodGUID extends $ZodType {
1089
+ _zod: $ZodGUIDInternals;
1090
+ }
1091
+ declare const $ZodGUID: $constructor<$ZodGUID>;
1092
+ interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
1093
+ version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
1094
+ }
1095
+ interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
1096
+ def: $ZodUUIDDef;
1097
+ }
1098
+ interface $ZodUUID extends $ZodType {
1099
+ _zod: $ZodUUIDInternals;
1100
+ }
1101
+ declare const $ZodUUID: $constructor<$ZodUUID>;
1102
+ interface $ZodEmailDef extends $ZodStringFormatDef<"email"> {}
1103
+ interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {}
1104
+ interface $ZodEmail extends $ZodType {
1105
+ _zod: $ZodEmailInternals;
1106
+ }
1107
+ declare const $ZodEmail: $constructor<$ZodEmail>;
1108
+ interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
1109
+ hostname?: RegExp | undefined;
1110
+ protocol?: RegExp | undefined;
1111
+ normalize?: boolean | undefined;
1112
+ }
1113
+ interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
1114
+ def: $ZodURLDef;
1115
+ }
1116
+ interface $ZodURL extends $ZodType {
1117
+ _zod: $ZodURLInternals;
1118
+ }
1119
+ /** The `://` guard rejected the input before the URL constructor saw it. */
1120
+ declare const URL_BAD_FORMAT = 1;
1121
+ /** The URL parser rejected the input. */
1122
+ declare const URL_UNPARSEABLE = 2;
1123
+ declare function canParseURL(input: string): boolean;
1124
+ declare function validateURL(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "hostname" | "normalize">): URL | true | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
1125
+ /** Parses a URL while preserving the non-normalizing HTTP guard. */
1126
+ declare function parseURLObject(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "normalize">): URL | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
1127
+ /** 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. */
1128
+ declare function stripTabAndNewline(value: string): string;
1129
+ declare function urlHostnameOk(url: URL, hostname: RegExp): boolean;
1130
+ declare function urlProtocolOk(url: URL, protocol: RegExp): boolean;
1131
+ declare const $ZodURL: $constructor<$ZodURL>;
1132
+ interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {}
1133
+ interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {}
1134
+ interface $ZodEmoji extends $ZodType {
1135
+ _zod: $ZodEmojiInternals;
1136
+ }
1137
+ declare const $ZodEmoji: $constructor<$ZodEmoji>;
1138
+ interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {
1139
+ length?: number | undefined;
1140
+ }
1141
+ interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {
1142
+ def: $ZodNanoIDDef;
1143
+ }
1144
+ interface $ZodNanoID extends $ZodType {
1145
+ _zod: $ZodNanoIDInternals;
1146
+ }
1147
+ declare const $ZodNanoID: $constructor<$ZodNanoID>;
1148
+ /**
1149
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
1150
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
1151
+ * See https://github.com/paralleldrive/cuid.
1152
+ */
1153
+ interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {}
1154
+ /**
1155
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
1156
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
1157
+ * See https://github.com/paralleldrive/cuid.
1158
+ */
1159
+ interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {}
1160
+ /**
1161
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
1162
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
1163
+ * See https://github.com/paralleldrive/cuid.
1164
+ */
1165
+ interface $ZodCUID extends $ZodType {
1166
+ _zod: $ZodCUIDInternals;
1167
+ }
1168
+ /**
1169
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
1170
+ * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
1171
+ * See https://github.com/paralleldrive/cuid.
1172
+ */
1173
+ declare const $ZodCUID: $constructor<$ZodCUID>;
1174
+ interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {}
1175
+ interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {}
1176
+ interface $ZodCUID2 extends $ZodType {
1177
+ _zod: $ZodCUID2Internals;
1178
+ }
1179
+ declare const $ZodCUID2: $constructor<$ZodCUID2>;
1180
+ interface $ZodULIDDef extends $ZodStringFormatDef<"ulid"> {}
1181
+ interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {}
1182
+ interface $ZodULID extends $ZodType {
1183
+ _zod: $ZodULIDInternals;
1184
+ }
1185
+ declare const $ZodULID: $constructor<$ZodULID>;
1186
+ interface $ZodXIDDef extends $ZodStringFormatDef<"xid"> {}
1187
+ interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {}
1188
+ interface $ZodXID extends $ZodType {
1189
+ _zod: $ZodXIDInternals;
1190
+ }
1191
+ declare const $ZodXID: $constructor<$ZodXID>;
1192
+ interface $ZodKSUIDDef extends $ZodStringFormatDef<"ksuid"> {}
1193
+ interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {}
1194
+ interface $ZodKSUID extends $ZodType {
1195
+ _zod: $ZodKSUIDInternals;
1196
+ }
1197
+ declare const $ZodKSUID: $constructor<$ZodKSUID>;
1198
+ interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
1199
+ precision: number | null;
1200
+ offset: boolean;
1201
+ local: boolean;
1202
+ }
1203
+ interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
1204
+ def: $ZodISODateTimeDef;
1205
+ }
1206
+ interface $ZodISODateTime extends $ZodType {
1207
+ _zod: $ZodISODateTimeInternals;
1208
+ }
1209
+ declare const $ZodISODateTime: $constructor<$ZodISODateTime>;
1210
+ interface $ZodISODateDef extends $ZodStringFormatDef<"date"> {}
1211
+ interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {}
1212
+ interface $ZodISODate extends $ZodType {
1213
+ _zod: $ZodISODateInternals;
1214
+ }
1215
+ declare const $ZodISODate: $constructor<$ZodISODate>;
1216
+ interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
1217
+ precision?: number | null;
1218
+ }
1219
+ interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
1220
+ def: $ZodISOTimeDef;
1221
+ }
1222
+ interface $ZodISOTime extends $ZodType {
1223
+ _zod: $ZodISOTimeInternals;
1224
+ }
1225
+ declare const $ZodISOTime: $constructor<$ZodISOTime>;
1226
+ interface $ZodISODurationDef extends $ZodStringFormatDef<"duration"> {}
1227
+ interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {}
1228
+ interface $ZodISODuration extends $ZodType {
1229
+ _zod: $ZodISODurationInternals;
1230
+ }
1231
+ declare const $ZodISODuration: $constructor<$ZodISODuration>;
1232
+ interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
1233
+ version?: "v4";
1234
+ }
1235
+ interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
1236
+ def: $ZodIPv4Def;
1237
+ }
1238
+ interface $ZodIPv4 extends $ZodType {
1239
+ _zod: $ZodIPv4Internals;
1240
+ }
1241
+ declare const $ZodIPv4: $constructor<$ZodIPv4>;
1242
+ interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
1243
+ version?: "v6";
1244
+ }
1245
+ interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
1246
+ def: $ZodIPv6Def;
1247
+ }
1248
+ interface $ZodIPv6 extends $ZodType {
1249
+ _zod: $ZodIPv6Internals;
1250
+ }
1251
+ declare function isValidIPv6(value: string): boolean;
1252
+ declare const $ZodIPv6: $constructor<$ZodIPv6>;
1253
+ interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
1254
+ delimiter?: string;
1255
+ }
1256
+ interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
1257
+ def: $ZodMACDef;
1258
+ }
1259
+ interface $ZodMAC extends $ZodType {
1260
+ _zod: $ZodMACInternals;
1261
+ }
1262
+ declare const $ZodMAC: $constructor<$ZodMAC>;
1263
+ interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
1264
+ version?: "v4";
1265
+ }
1266
+ interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
1267
+ def: $ZodCIDRv4Def;
1268
+ }
1269
+ interface $ZodCIDRv4 extends $ZodType {
1270
+ _zod: $ZodCIDRv4Internals;
1271
+ }
1272
+ declare const $ZodCIDRv4: $constructor<$ZodCIDRv4>;
1273
+ interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
1274
+ version?: "v6";
1275
+ }
1276
+ interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
1277
+ def: $ZodCIDRv6Def;
1278
+ }
1279
+ interface $ZodCIDRv6 extends $ZodType {
1280
+ _zod: $ZodCIDRv6Internals;
1281
+ }
1282
+ declare function isValidCIDRv6(value: string): boolean;
1283
+ declare const $ZodCIDRv6: $constructor<$ZodCIDRv6>;
1284
+ declare function isValidBase64(data: string): boolean;
1285
+ interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {}
1286
+ interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {}
1287
+ interface $ZodBase64 extends $ZodType {
1288
+ _zod: $ZodBase64Internals;
1289
+ }
1290
+ declare const base64Charset: RegExp;
1291
+ declare const $ZodBase64: $constructor<$ZodBase64>;
1292
+ declare const base64urlCharset: RegExp;
1293
+ declare function isValidBase64URL(data: string): boolean;
1294
+ interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {}
1295
+ interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {}
1296
+ interface $ZodBase64URL extends $ZodType {
1297
+ _zod: $ZodBase64URLInternals;
1298
+ }
1299
+ declare const $ZodBase64URL: $constructor<$ZodBase64URL>;
1300
+ interface $ZodE164Def extends $ZodStringFormatDef<"e164"> {}
1301
+ interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {}
1302
+ interface $ZodE164 extends $ZodType {
1303
+ _zod: $ZodE164Internals;
1304
+ }
1305
+ declare const $ZodE164: $constructor<$ZodE164>;
1306
+ declare function isValidCreditCard(input: string): boolean;
1307
+ interface $ZodCreditCardDef extends $ZodStringFormatDef<"credit_card"> {}
1308
+ interface $ZodCreditCardInternals extends $ZodStringFormatInternals<"credit_card"> {
1309
+ def: $ZodCreditCardDef;
1310
+ }
1311
+ interface $ZodCreditCard extends $ZodType {
1312
+ _zod: $ZodCreditCardInternals;
1313
+ }
1314
+ declare const $ZodCreditCard: $constructor<$ZodCreditCard>;
1315
+ declare function isValidIBAN(input: string): boolean;
1316
+ interface $ZodIBANDef extends $ZodStringFormatDef<"iban"> {}
1317
+ interface $ZodIBANInternals extends $ZodStringFormatInternals<"iban"> {
1318
+ def: $ZodIBANDef;
1319
+ }
1320
+ interface $ZodIBAN extends $ZodType {
1321
+ _zod: $ZodIBANInternals;
1322
+ }
1323
+ declare const $ZodIBAN: $constructor<$ZodIBAN>;
1324
+ declare function isValidJWT(token: string, algorithm?: JWTAlgorithm | null): boolean;
1325
+ interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
1326
+ alg?: JWTAlgorithm | undefined;
1327
+ }
1328
+ interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
1329
+ def: $ZodJWTDef;
1330
+ }
1331
+ interface $ZodJWT extends $ZodType {
1332
+ _zod: $ZodJWTInternals;
1333
+ }
1334
+ declare const $ZodJWT: $constructor<$ZodJWT>;
1335
+ interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {
1336
+ fn: (val: string) => unknown;
1337
+ }
1338
+ interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {
1339
+ def: $ZodCustomStringFormatDef<Format>;
1340
+ }
1341
+ interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {
1342
+ _zod: $ZodCustomStringFormatInternals<Format>;
1343
+ }
1344
+ declare const $ZodCustomStringFormat: $constructor<$ZodCustomStringFormat>;
822
1345
  interface $ZodNumberDef extends $ZodTypeDef {
823
1346
  type: "number";
824
1347
  coerce?: boolean;
@@ -842,6 +1365,15 @@ interface $ZodNumber<Input = unknown> extends $ZodType {
842
1365
  _zod: $ZodNumberInternals<Input>;
843
1366
  }
844
1367
  declare const $ZodNumber: $constructor<$ZodNumber>;
1368
+ interface $ZodNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberDef, $ZodCheckNumberFormatDef<Format> {}
1369
+ interface $ZodNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberInternals<number>, $ZodCheckNumberFormatInternals<Format> {
1370
+ def: $ZodNumberFormatDef<Format>;
1371
+ isst: $ZodIssueInvalidType;
1372
+ }
1373
+ interface $ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodType {
1374
+ _zod: $ZodNumberFormatInternals<Format>;
1375
+ }
1376
+ declare const $ZodNumberFormat: $constructor<$ZodNumberFormat>;
845
1377
  interface $ZodBooleanDef extends $ZodTypeDef {
846
1378
  type: "boolean";
847
1379
  coerce?: boolean;
@@ -875,6 +1407,16 @@ interface $ZodBigInt<T = unknown> extends $ZodType {
875
1407
  _zod: $ZodBigIntInternals<T>;
876
1408
  }
877
1409
  declare const $ZodBigInt: $constructor<$ZodBigInt>;
1410
+ interface $ZodBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntDef, $ZodCheckBigIntFormatDef<Format> {
1411
+ check: "bigint_format";
1412
+ }
1413
+ interface $ZodBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntInternals<bigint>, $ZodCheckBigIntFormatInternals<Format> {
1414
+ def: $ZodBigIntFormatDef<Format>;
1415
+ }
1416
+ interface $ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodType {
1417
+ _zod: $ZodBigIntFormatInternals<Format>;
1418
+ }
1419
+ declare const $ZodBigIntFormat: $constructor<$ZodBigIntFormat>;
878
1420
  interface $ZodSymbolDef extends $ZodTypeDef {
879
1421
  type: "symbol";
880
1422
  }
@@ -1001,6 +1543,26 @@ type $ZodObjectConfig = {
1001
1543
  out: Record<string, unknown>;
1002
1544
  in: Record<string, unknown>;
1003
1545
  };
1546
+ type $loose = {
1547
+ out: Record<string, unknown>;
1548
+ in: Record<string, unknown>;
1549
+ };
1550
+ type $strict = {
1551
+ out: {};
1552
+ in: {};
1553
+ };
1554
+ type $strip = {
1555
+ out: {};
1556
+ in: {};
1557
+ };
1558
+ type $catchall<T extends SomeType> = {
1559
+ out: {
1560
+ [k: string]: output<T>;
1561
+ };
1562
+ in: {
1563
+ [k: string]: input<T>;
1564
+ };
1565
+ };
1004
1566
  type $ZodShape = Readonly<{
1005
1567
  [k: string]: $ZodType;
1006
1568
  }>;
@@ -1026,6 +1588,7 @@ interface $ZodObject<
1026
1588
  /** @ts-ignore Cast variance */
1027
1589
  out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
1028
1590
  declare const $ZodObject: $constructor<$ZodObject>;
1591
+ declare const $ZodObjectJIT: $constructor<$ZodObject>;
1029
1592
  type $InferUnionOutput<T extends SomeType> = T extends any ? output<T> : never;
1030
1593
  type $InferUnionInput<T extends SomeType> = T extends any ? input<T> : never;
1031
1594
  interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
@@ -1049,6 +1612,40 @@ interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends
1049
1612
  _zod: $ZodUnionInternals<T>;
1050
1613
  }
1051
1614
  declare const $ZodUnion: $constructor<$ZodUnion>;
1615
+ interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {}
1616
+ interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {
1617
+ _zod: $ZodXorInternals<T>;
1618
+ }
1619
+ declare const $ZodXor: $constructor<$ZodXor>;
1620
+ interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {
1621
+ discriminator: Disc;
1622
+ unionFallback?: boolean;
1623
+ }
1624
+ interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {
1625
+ def: $ZodDiscriminatedUnionDef<Options, Disc>;
1626
+ propValues: PropValues;
1627
+ bag: LoosePartial<{
1628
+ optionsMap: Map<Primitive, $ZodType | null>;
1629
+ }>;
1630
+ }
1631
+ /** The discriminator values a member of `Options` can declare. An omittable discriminator contributes `undefined`, matching what `propValues` claims for it. */
1632
+ type $DiscriminatorValue<Options extends readonly SomeType[], Disc extends string> = { [I in keyof Options]: Options[I] extends {
1633
+ _zod: {
1634
+ output: infer Out;
1635
+ };
1636
+ } ? Disc extends keyof Out ? Out[Disc] : never : never; }[number];
1637
+ /** The member of `Options` that declares `V`. */
1638
+ type $DiscriminatedOption<Options extends readonly SomeType[], Disc extends string, V> = { [I in keyof Options]: Options[I] extends {
1639
+ _zod: {
1640
+ output: infer Out;
1641
+ };
1642
+ } ? Disc extends keyof Out ? V extends Out[Disc] ? Options[I] : never : never : never; }[number];
1643
+ /** Returns the option whose discriminator claims `value`, or throws if ambiguous. */
1644
+ 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>;
1645
+ interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {
1646
+ _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
1647
+ }
1648
+ declare const $ZodDiscriminatedUnion: $constructor<$ZodDiscriminatedUnion>;
1052
1649
  interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
1053
1650
  type: "intersection";
1054
1651
  left: Left;
@@ -1066,6 +1663,13 @@ interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $
1066
1663
  _zod: $ZodIntersectionInternals<A, B>;
1067
1664
  }
1068
1665
  declare const $ZodIntersection: $constructor<$ZodIntersection>;
1666
+ declare function mergeValues(a: any, b: any): {
1667
+ valid: true;
1668
+ data: any;
1669
+ } | {
1670
+ valid: false;
1671
+ mergeErrorPath: (string | number)[];
1672
+ };
1069
1673
  interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
1070
1674
  type: "tuple";
1071
1675
  items: T;
@@ -1371,6 +1975,35 @@ interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType>
1371
1975
  _zod: $ZodPipeInternals<A, B>;
1372
1976
  }
1373
1977
  declare const $ZodPipe: $constructor<$ZodPipe>;
1978
+ interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
1979
+ transform: (value: output<A>, payload: ParsePayload<output<A>>) => MaybeAsync<input<B>>;
1980
+ reverseTransform: (value: input<B>, payload: ParsePayload<input<B>>) => MaybeAsync<output<A>>;
1981
+ }
1982
+ interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output<B>, input<A>> {
1983
+ def: $ZodCodecDef<A, B>;
1984
+ isst: never;
1985
+ values: A["_zod"]["values"];
1986
+ optin: A["_zod"]["optin"];
1987
+ optout: B["_zod"]["optout"];
1988
+ propValues: A["_zod"]["propValues"];
1989
+ }
1990
+ interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1991
+ _zod: $ZodCodecInternals<A, B>;
1992
+ }
1993
+ declare const $ZodCodec: $constructor<$ZodCodec>;
1994
+ interface $ZodPreprocessDef<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeDef<$ZodTransform<unknown, I>, B> {
1995
+ in: $ZodTransform<unknown, I>;
1996
+ out: B;
1997
+ }
1998
+ interface $ZodPreprocessInternals<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeInternals<$ZodTransform<unknown, I>, B> {
1999
+ def: $ZodPreprocessDef<B, I>;
2000
+ optin: B["_zod"]["optin"];
2001
+ optout: B["_zod"]["optout"];
2002
+ }
2003
+ interface $ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends $ZodPipe<$ZodTransform<unknown, I>, B> {
2004
+ _zod: $ZodPreprocessInternals<B, I>;
2005
+ }
2006
+ declare const $ZodPreprocess: $constructor<$ZodPreprocess>;
1374
2007
  interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1375
2008
  type: "readonly";
1376
2009
  innerType: T;
@@ -1408,6 +2041,12 @@ interface SchemaPart extends $ZodType {
1408
2041
  _zod: SchemaPartInternals;
1409
2042
  }
1410
2043
  type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
2044
+ type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
2045
+ 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;
2046
+ 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 : "";
2047
+ 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; };
2048
+ type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;
2049
+ type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;
1411
2050
  declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
1412
2051
  type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1413
2052
  type $ZodFunctionIn = $ZodFunctionArgs;
@@ -1437,6 +2076,10 @@ interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns ext
1437
2076
  input(...args: any[]): $ZodFunction<any, Returns>;
1438
2077
  output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
1439
2078
  }
2079
+ interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
2080
+ input?: I;
2081
+ output?: O;
2082
+ }
1440
2083
  declare const $ZodFunction: $constructor<$ZodFunction>;
1441
2084
  interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1442
2085
  type: "promise";
@@ -1489,8 +2132,10 @@ interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
1489
2132
  }
1490
2133
  declare const $ZodCustom: $constructor<$ZodCustom>;
1491
2134
  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;
1492
- //#endregion
1493
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.d.cts
2135
+ 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">;
2136
+ declare namespace checks_d_exports {
2137
+ 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 };
2138
+ }
1494
2139
  interface $ZodCheckDef {
1495
2140
  check: string;
1496
2141
  error?: $ZodErrorMap<never> | undefined;
@@ -1510,6 +2155,106 @@ interface $ZodCheck<in T = never> {
1510
2155
  _zod: $ZodCheckInternals<T>;
1511
2156
  }
1512
2157
  declare const $ZodCheck: $constructor<$ZodCheck<any>>;
2158
+ interface $ZodCheckLessThanDef extends $ZodCheckDef {
2159
+ check: "less_than";
2160
+ value: Numeric;
2161
+ inclusive: boolean;
2162
+ }
2163
+ interface $ZodCheckLessThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
2164
+ def: $ZodCheckLessThanDef;
2165
+ issc: $ZodIssueTooBig<T>;
2166
+ }
2167
+ interface $ZodCheckLessThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
2168
+ _zod: $ZodCheckLessThanInternals<T>;
2169
+ }
2170
+ declare const $ZodCheckLessThan: $constructor<$ZodCheckLessThan>;
2171
+ interface $ZodCheckGreaterThanDef extends $ZodCheckDef {
2172
+ check: "greater_than";
2173
+ value: Numeric;
2174
+ inclusive: boolean;
2175
+ }
2176
+ interface $ZodCheckGreaterThanInternals<T extends Numeric = Numeric> extends $ZodCheckInternals<T> {
2177
+ def: $ZodCheckGreaterThanDef;
2178
+ issc: $ZodIssueTooSmall<T>;
2179
+ }
2180
+ interface $ZodCheckGreaterThan<T extends Numeric = Numeric> extends $ZodCheck<T> {
2181
+ _zod: $ZodCheckGreaterThanInternals<T>;
2182
+ }
2183
+ declare const $ZodCheckGreaterThan: $constructor<$ZodCheckGreaterThan>;
2184
+ interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {
2185
+ check: "multiple_of";
2186
+ value: T;
2187
+ }
2188
+ interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {
2189
+ def: $ZodCheckMultipleOfDef<T>;
2190
+ issc: $ZodIssueNotMultipleOf;
2191
+ }
2192
+ interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {
2193
+ _zod: $ZodCheckMultipleOfInternals<T>;
2194
+ }
2195
+ declare const $ZodCheckMultipleOf: $constructor<$ZodCheckMultipleOf<number | bigint>>;
2196
+ type $ZodNumberFormats = "int32" | "uint32" | "float32" | "float64" | "safeint";
2197
+ interface $ZodCheckNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckDef {
2198
+ check: "number_format";
2199
+ format: Format;
2200
+ }
2201
+ interface $ZodCheckNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckInternals<number> {
2202
+ def: $ZodCheckNumberFormatDef<Format>;
2203
+ issc: $ZodIssueInvalidType | $ZodIssueTooBig<"number"> | $ZodIssueTooSmall<"number">;
2204
+ }
2205
+ interface $ZodCheckNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheck<number> {
2206
+ _zod: $ZodCheckNumberFormatInternals<Format>;
2207
+ }
2208
+ declare const $ZodCheckNumberFormat: $constructor<$ZodCheckNumberFormat>;
2209
+ type $ZodBigIntFormats = "int64" | "uint64";
2210
+ interface $ZodCheckBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckDef {
2211
+ check: "bigint_format";
2212
+ format: Format;
2213
+ }
2214
+ interface $ZodCheckBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckInternals<bigint> {
2215
+ def: $ZodCheckBigIntFormatDef<Format>;
2216
+ issc: $ZodIssueTooBig<"bigint"> | $ZodIssueTooSmall<"bigint">;
2217
+ }
2218
+ interface $ZodCheckBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheck<bigint> {
2219
+ _zod: $ZodCheckBigIntFormatInternals<Format>;
2220
+ }
2221
+ declare const $ZodCheckBigIntFormat: $constructor<$ZodCheckBigIntFormat>;
2222
+ interface $ZodCheckMaxSizeDef extends $ZodCheckDef {
2223
+ check: "max_size";
2224
+ maximum: number;
2225
+ }
2226
+ interface $ZodCheckMaxSizeInternals<T extends HasSize = HasSize> extends $ZodCheckInternals<T> {
2227
+ def: $ZodCheckMaxSizeDef;
2228
+ issc: $ZodIssueTooBig<T>;
2229
+ }
2230
+ interface $ZodCheckMaxSize<T extends HasSize = HasSize> extends $ZodCheck<T> {
2231
+ _zod: $ZodCheckMaxSizeInternals<T>;
2232
+ }
2233
+ declare const $ZodCheckMaxSize: $constructor<$ZodCheckMaxSize>;
2234
+ interface $ZodCheckMinSizeDef extends $ZodCheckDef {
2235
+ check: "min_size";
2236
+ minimum: number;
2237
+ }
2238
+ interface $ZodCheckMinSizeInternals<T extends HasSize = HasSize> extends $ZodCheckInternals<T> {
2239
+ def: $ZodCheckMinSizeDef;
2240
+ issc: $ZodIssueTooSmall<T>;
2241
+ }
2242
+ interface $ZodCheckMinSize<T extends HasSize = HasSize> extends $ZodCheck<T> {
2243
+ _zod: $ZodCheckMinSizeInternals<T>;
2244
+ }
2245
+ declare const $ZodCheckMinSize: $constructor<$ZodCheckMinSize>;
2246
+ interface $ZodCheckSizeEqualsDef extends $ZodCheckDef {
2247
+ check: "size_equals";
2248
+ size: number;
2249
+ }
2250
+ interface $ZodCheckSizeEqualsInternals<T extends HasSize = HasSize> extends $ZodCheckInternals<T> {
2251
+ def: $ZodCheckSizeEqualsDef;
2252
+ issc: $ZodIssueTooBig<T> | $ZodIssueTooSmall<T>;
2253
+ }
2254
+ interface $ZodCheckSizeEquals<T extends HasSize = HasSize> extends $ZodCheck<T> {
2255
+ _zod: $ZodCheckSizeEqualsInternals<T>;
2256
+ }
2257
+ declare const $ZodCheckSizeEquals: $constructor<$ZodCheckSizeEquals>;
1513
2258
  interface $ZodCheckMaxLengthDef extends $ZodCheckDef {
1514
2259
  check: "max_length";
1515
2260
  maximum: number;
@@ -1547,8 +2292,139 @@ interface $ZodCheckLengthEquals<T extends HasLength = HasLength> extends $ZodChe
1547
2292
  }
1548
2293
  declare const $ZodCheckLengthEquals: $constructor<$ZodCheckLengthEquals>;
1549
2294
  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";
1550
- //#endregion
1551
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.d.cts
2295
+ interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {
2296
+ check: "string_format";
2297
+ format: Format;
2298
+ pattern?: RegExp | undefined;
2299
+ }
2300
+ interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {
2301
+ def: $ZodCheckStringFormatDef;
2302
+ issc: $ZodIssueInvalidStringFormat;
2303
+ }
2304
+ interface $ZodCheckStringFormat extends $ZodCheck<string> {
2305
+ _zod: $ZodCheckStringFormatInternals;
2306
+ }
2307
+ declare const $ZodCheckStringFormat: $constructor<$ZodCheckStringFormat>;
2308
+ interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {
2309
+ format: "regex";
2310
+ pattern: RegExp;
2311
+ }
2312
+ interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {
2313
+ def: $ZodCheckRegexDef;
2314
+ issc: $ZodIssueInvalidStringFormat;
2315
+ }
2316
+ interface $ZodCheckRegex extends $ZodCheck<string> {
2317
+ _zod: $ZodCheckRegexInternals;
2318
+ }
2319
+ declare const $ZodCheckRegex: $constructor<$ZodCheckRegex>;
2320
+ interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<"lowercase"> {}
2321
+ interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {
2322
+ def: $ZodCheckLowerCaseDef;
2323
+ issc: $ZodIssueInvalidStringFormat;
2324
+ }
2325
+ interface $ZodCheckLowerCase extends $ZodCheck<string> {
2326
+ _zod: $ZodCheckLowerCaseInternals;
2327
+ }
2328
+ declare const $ZodCheckLowerCase: $constructor<$ZodCheckLowerCase>;
2329
+ interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<"uppercase"> {}
2330
+ interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {
2331
+ def: $ZodCheckUpperCaseDef;
2332
+ issc: $ZodIssueInvalidStringFormat;
2333
+ }
2334
+ interface $ZodCheckUpperCase extends $ZodCheck<string> {
2335
+ _zod: $ZodCheckUpperCaseInternals;
2336
+ }
2337
+ declare const $ZodCheckUpperCase: $constructor<$ZodCheckUpperCase>;
2338
+ interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<"includes"> {
2339
+ includes: string;
2340
+ position?: number | undefined;
2341
+ }
2342
+ interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {
2343
+ def: $ZodCheckIncludesDef;
2344
+ issc: $ZodIssueInvalidStringFormat;
2345
+ }
2346
+ interface $ZodCheckIncludes extends $ZodCheck<string> {
2347
+ _zod: $ZodCheckIncludesInternals;
2348
+ }
2349
+ declare const $ZodCheckIncludes: $constructor<$ZodCheckIncludes>;
2350
+ interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<"starts_with"> {
2351
+ prefix: string;
2352
+ }
2353
+ interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {
2354
+ def: $ZodCheckStartsWithDef;
2355
+ issc: $ZodIssueInvalidStringFormat;
2356
+ }
2357
+ interface $ZodCheckStartsWith extends $ZodCheck<string> {
2358
+ _zod: $ZodCheckStartsWithInternals;
2359
+ }
2360
+ declare const $ZodCheckStartsWith: $constructor<$ZodCheckStartsWith>;
2361
+ interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<"ends_with"> {
2362
+ suffix: string;
2363
+ }
2364
+ interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {
2365
+ def: $ZodCheckEndsWithDef;
2366
+ issc: $ZodIssueInvalidStringFormat;
2367
+ }
2368
+ interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {
2369
+ _zod: $ZodCheckEndsWithInternals;
2370
+ }
2371
+ declare const $ZodCheckEndsWith: $constructor<$ZodCheckEndsWith>;
2372
+ interface $ZodCheckPropertyDef extends $ZodCheckDef {
2373
+ check: "property";
2374
+ property: string;
2375
+ schema: $ZodType;
2376
+ }
2377
+ interface $ZodCheckPropertyInternals<T extends object = object> extends $ZodCheckInternals<T> {
2378
+ def: $ZodCheckPropertyDef;
2379
+ issc: $ZodIssue;
2380
+ }
2381
+ interface $ZodCheckProperty<T extends object = object> extends $ZodCheck<T> {
2382
+ _zod: $ZodCheckPropertyInternals<T>;
2383
+ }
2384
+ declare const $ZodCheckProperty: $constructor<$ZodCheckProperty>;
2385
+ interface $ZodCheckPropertiesDef<Shape extends $ZodShape = $ZodShape> extends $ZodCheckDef {
2386
+ check: "properties";
2387
+ shape: Shape;
2388
+ }
2389
+ type $ZodCheckPropertiesInput<Shape extends $ZodShape = $ZodShape> = { -readonly [k in keyof Shape]: Widen<input<Shape[k]>>; };
2390
+ interface $ZodCheckPropertiesInternals<Shape extends $ZodShape = $ZodShape> extends $ZodCheckInternals<$ZodCheckPropertiesInput<Shape>> {
2391
+ def: $ZodCheckPropertiesDef<Shape>;
2392
+ issc: $ZodIssue;
2393
+ }
2394
+ interface $ZodCheckProperties<Shape extends $ZodShape = $ZodShape> extends $ZodCheck<$ZodCheckPropertiesInput<Shape>> {
2395
+ _zod: $ZodCheckPropertiesInternals<Shape>;
2396
+ [Symbol.iterator](): Iterator<this>;
2397
+ }
2398
+ declare const $ZodCheckProperties: $constructor<$ZodCheckProperties>;
2399
+ interface $ZodCheckMimeTypeDef extends $ZodCheckDef {
2400
+ check: "mime_type";
2401
+ mime: MimeTypes[];
2402
+ }
2403
+ interface $ZodCheckMimeTypeInternals<T extends File = File> extends $ZodCheckInternals<T> {
2404
+ def: $ZodCheckMimeTypeDef;
2405
+ issc: $ZodIssueInvalidValue;
2406
+ }
2407
+ interface $ZodCheckMimeType<T extends File = File> extends $ZodCheck<T> {
2408
+ _zod: $ZodCheckMimeTypeInternals<T>;
2409
+ }
2410
+ declare const $ZodCheckMimeType: $constructor<$ZodCheckMimeType>;
2411
+ interface $ZodCheckOverwriteDef<T = unknown> extends $ZodCheckDef {
2412
+ check: "overwrite";
2413
+ tx(value: T): T;
2414
+ }
2415
+ interface $ZodCheckOverwriteInternals<T = unknown> extends $ZodCheckInternals<T> {
2416
+ def: $ZodCheckOverwriteDef<T>;
2417
+ issc: never;
2418
+ }
2419
+ interface $ZodCheckOverwrite<T = unknown> extends $ZodCheck<T> {
2420
+ _zod: $ZodCheckOverwriteInternals<T>;
2421
+ }
2422
+ declare const $ZodCheckOverwrite: $constructor<$ZodCheckOverwrite>;
2423
+ type $ZodChecks = $ZodCheckLessThan | $ZodCheckGreaterThan | $ZodCheckMultipleOf | $ZodCheckNumberFormat | $ZodCheckBigIntFormat | $ZodCheckMaxSize | $ZodCheckMinSize | $ZodCheckSizeEquals | $ZodCheckMaxLength | $ZodCheckMinLength | $ZodCheckLengthEquals | $ZodCheckStringFormat | $ZodCheckProperty | $ZodCheckMimeType | $ZodCheckOverwrite;
2424
+ type $ZodStringFormatChecks = $ZodCheckRegex | $ZodCheckLowerCase | $ZodCheckUpperCase | $ZodCheckIncludes | $ZodCheckStartsWith | $ZodCheckEndsWith | $ZodStringFormatTypes;
2425
+ declare namespace errors_d_exports {
2426
+ export { $ZodError, $ZodErrorMap, $ZodErrorTree, $ZodFlattenedError, $ZodFormattedError, $ZodInternalIssue, $ZodInvalidTypeExpected, $ZodIssue, $ZodIssueBase, $ZodIssueCode, $ZodIssueCustom, $ZodIssueInvalidElement, $ZodIssueInvalidKey, $ZodIssueInvalidStringFormat, $ZodIssueInvalidType, $ZodIssueInvalidUnion, $ZodIssueInvalidValue, $ZodIssueNotMultipleOf, $ZodIssueStringCommonFormats, $ZodIssueStringEndsWith, $ZodIssueStringIncludes, $ZodIssueStringInvalidJWT, $ZodIssueStringInvalidRegex, $ZodIssueStringStartsWith, $ZodIssueTooBig, $ZodIssueTooSmall, $ZodIssueUnrecognizedKeys, $ZodRawIssue, $ZodRealError, $ZodStringFormatIssues, flattenError, formatError, prettifyError, toDotPath, treeifyError };
2427
+ }
1552
2428
  interface $ZodIssueBase {
1553
2429
  readonly code?: string;
1554
2430
  readonly input?: unknown;
@@ -1636,7 +2512,32 @@ interface $ZodIssueCustom extends $ZodIssueBase {
1636
2512
  readonly params?: Record<string, any> | undefined;
1637
2513
  readonly input?: unknown;
1638
2514
  }
2515
+ interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {
2516
+ format: Exclude<$ZodStringFormats, "regex" | "jwt" | "starts_with" | "ends_with" | "includes">;
2517
+ }
2518
+ interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {
2519
+ format: "regex";
2520
+ pattern: string;
2521
+ }
2522
+ interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {
2523
+ format: "jwt";
2524
+ algorithm?: string;
2525
+ }
2526
+ interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {
2527
+ format: "starts_with";
2528
+ prefix: string;
2529
+ }
2530
+ interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {
2531
+ format: "ends_with";
2532
+ suffix: string;
2533
+ }
2534
+ interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {
2535
+ format: "includes";
2536
+ includes: string;
2537
+ }
2538
+ type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;
1639
2539
  type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
2540
+ type $ZodIssueCode = $ZodIssue["code"];
1640
2541
  type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue$1<T> : never;
1641
2542
  type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1642
2543
  /** The input data */
@@ -1665,19 +2566,76 @@ interface $ZodError<T = unknown> extends Error {
1665
2566
  name: string;
1666
2567
  }
1667
2568
  declare const $ZodError: $constructor<$ZodError>;
2569
+ interface $ZodRealError<T = any> extends $ZodError<T> {}
2570
+ declare const $ZodRealError: $constructor<$ZodRealError>;
1668
2571
  type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;
1669
2572
  type _FlattenedError<T, U = string> = {
1670
2573
  formErrors: U[];
1671
2574
  fieldErrors: { [P in keyof T]?: U[]; };
1672
2575
  };
2576
+ declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;
2577
+ declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;
1673
2578
  type _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? { [K in keyof T]?: $ZodFormattedError<T[K], U>; } : T extends any[] ? {
1674
2579
  [k: number]: $ZodFormattedError<T[number], U>;
1675
2580
  } : T extends object ? Flatten<{ [K in keyof T]?: $ZodFormattedError<T[K], U>; }> : any;
1676
2581
  type $ZodFormattedError<T, U = string> = {
1677
2582
  _errors: U[];
1678
2583
  } & Flatten<_ZodFormattedError<T, U>>;
1679
- //#endregion
1680
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.d.cts
2584
+ declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;
2585
+ declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;
2586
+ type $ZodErrorTree<T, U = string> = T extends Primitive ? {
2587
+ errors: U[];
2588
+ } : T extends [any, ...any[]] ? {
2589
+ errors: U[];
2590
+ items?: { [K in keyof T]?: $ZodErrorTree<T[K], U>; };
2591
+ } : T extends any[] ? {
2592
+ errors: U[];
2593
+ items?: Array<$ZodErrorTree<T[number], U>>;
2594
+ } : T extends object ? {
2595
+ errors: U[];
2596
+ properties?: { [K in keyof T]?: $ZodErrorTree<T[K], U>; };
2597
+ } : {
2598
+ errors: U[];
2599
+ };
2600
+ declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;
2601
+ declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;
2602
+ /** Format a ZodError as a human-readable string in the following form.
2603
+ *
2604
+ * From
2605
+ *
2606
+ * ```ts
2607
+ * ZodError {
2608
+ * issues: [
2609
+ * {
2610
+ * expected: 'string',
2611
+ * code: 'invalid_type',
2612
+ * path: [ 'username' ],
2613
+ * message: 'Invalid input: expected string'
2614
+ * },
2615
+ * {
2616
+ * expected: 'number',
2617
+ * code: 'invalid_type',
2618
+ * path: [ 'favoriteNumbers', 1 ],
2619
+ * message: 'Invalid input: expected number'
2620
+ * }
2621
+ * ];
2622
+ * }
2623
+ * ```
2624
+ *
2625
+ * to
2626
+ *
2627
+ * ```
2628
+ * username
2629
+ * ✖ Expected number, received string at "username
2630
+ * favoriteNumbers[0]
2631
+ * ✖ Invalid input: expected number
2632
+ * ```
2633
+ */
2634
+ declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;
2635
+ declare function prettifyError(error: StandardSchemaV1.FailureResult): string;
2636
+ declare namespace core_d_exports {
2637
+ export { $ZodAsyncError, $ZodBranded, $ZodConfig, $ZodEncodeError, $ZodNarrow, $brand, $constructor, $constructorParams, NEVER, config, globalConfig, output as infer, input, output };
2638
+ }
1681
2639
  type ZodTrait = {
1682
2640
  _zod: {
1683
2641
  def: any;
@@ -1691,6 +2649,8 @@ interface $constructor<T extends ZodTrait, D = T["_zod"]["def"]> {
1691
2649
  interface $constructorParams {
1692
2650
  Parent?: typeof Class;
1693
2651
  }
2652
+ /** A special constant with type `never` */
2653
+ declare const NEVER: never;
1694
2654
  declare function $constructor<T extends ZodTrait, D = T["_zod"]["def"]>(name: string, initializer: (inst: T, def: D) => void,
1695
2655
  /** 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. */
1696
2656
  proto?: ProtoOf<T>, params?: $constructorParams): $constructor<T, D>;
@@ -1712,6 +2672,17 @@ type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir
1712
2672
  output: output<T> & $brand<Brand>;
1713
2673
  };
1714
2674
  });
2675
+ type $ZodNarrow<T extends SomeType, Out> = T & {
2676
+ _zod: {
2677
+ output: Out;
2678
+ };
2679
+ };
2680
+ declare class $ZodAsyncError extends Error {
2681
+ constructor();
2682
+ }
2683
+ declare class $ZodEncodeError extends Error {
2684
+ constructor(name: string);
2685
+ }
1715
2686
  type input<T> = T extends {
1716
2687
  _zod: {
1717
2688
  input: any;
@@ -1722,6 +2693,580 @@ type output<T> = T extends {
1722
2693
  output: any;
1723
2694
  };
1724
2695
  } ? T["_zod"]["output"] : unknown;
2696
+ interface $ZodConfig {
2697
+ /** Custom error map. Overrides `config().localeError`. */
2698
+ customError?: $ZodErrorMap | undefined;
2699
+ /** Localized error map. Lowest priority. */
2700
+ localeError?: $ZodErrorMap | undefined;
2701
+ /** Disable JIT schema compilation. Useful in environments that disallow `eval`. */
2702
+ jitless?: boolean | undefined;
2703
+ /** Enables parsing input that contains reference cycles. Read when a schema is constructed. */
2704
+ memoizer?: $ZodMemoizer | undefined;
2705
+ /**
2706
+ * Internal: post-processor invoked on every freshly-constructed schema
2707
+ * instance, after init and deferred fns run. Set by `import "zod/compile"`
2708
+ * to install AOT compilation. Not part of the public API.
2709
+ * @internal
2710
+ */
2711
+ postProcessor?: ((inst: any) => void) | undefined;
2712
+ }
2713
+ declare const globalConfig: $ZodConfig;
2714
+ declare function config(newConfig?: Partial<$ZodConfig>): $ZodConfig;
2715
+ //#endregion
2716
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.d.cts
2717
+ type $ZodErrorClass = {
2718
+ new (issues: $ZodIssue[]): $ZodError;
2719
+ };
2720
+ type $ParseParams = {
2721
+ callee?: AnyFunc;
2722
+ Err?: $ZodErrorClass | undefined;
2723
+ };
2724
+ type $Parse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => output<T>;
2725
+ declare const _parse: (_Err: $ZodErrorClass) => $Parse;
2726
+ declare const parse$1: $Parse;
2727
+ type $ParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => Promise<output<T>>;
2728
+ declare const _parseAsync: (_Err: $ZodErrorClass) => $ParseAsync;
2729
+ declare const parseAsync$1: $ParseAsync;
2730
+ type $SafeParse = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output<T>>;
2731
+ declare const _safeParse: (_Err: $ZodErrorClass) => $SafeParse;
2732
+ declare const safeParse$1: $SafeParse;
2733
+ type $SafeParseAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output<T>>>;
2734
+ declare const _safeParseAsync: (_Err: $ZodErrorClass) => $SafeParseAsync;
2735
+ declare const safeParseAsync$1: $SafeParseAsync;
2736
+ type $Validate = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => value is input<T>;
2737
+ declare const validate: $Validate;
2738
+ type $ValidateAsync = <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<boolean>;
2739
+ declare const validateAsync: $ValidateAsync;
2740
+ type $Encode = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => input<T>;
2741
+ declare const _encode: (_Err: $ZodErrorClass) => $Encode;
2742
+ declare const encode$1: $Encode;
2743
+ type $Decode = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => output<T>;
2744
+ declare const _decode: (_Err: $ZodErrorClass) => $Decode;
2745
+ declare const decode$1: $Decode;
2746
+ type $EncodeAsync = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => Promise<input<T>>;
2747
+ declare const _encodeAsync: (_Err: $ZodErrorClass) => $EncodeAsync;
2748
+ declare const encodeAsync$1: $EncodeAsync;
2749
+ type $DecodeAsync = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>, _params?: $ParseParams) => Promise<output<T>>;
2750
+ declare const _decodeAsync: (_Err: $ZodErrorClass) => $DecodeAsync;
2751
+ declare const decodeAsync$1: $DecodeAsync;
2752
+ type $SafeEncode = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<input<T>>;
2753
+ declare const _safeEncode: (_Err: $ZodErrorClass) => $SafeEncode;
2754
+ declare const safeEncode$1: $SafeEncode;
2755
+ type $SafeDecode = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => SafeParseResult<output<T>>;
2756
+ declare const _safeDecode: (_Err: $ZodErrorClass) => $SafeDecode;
2757
+ declare const safeDecode$1: $SafeDecode;
2758
+ type $SafeEncodeAsync = <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<input<T>>>;
2759
+ declare const _safeEncodeAsync: (_Err: $ZodErrorClass) => $SafeEncodeAsync;
2760
+ declare const safeEncodeAsync$1: $SafeEncodeAsync;
2761
+ type $SafeDecodeAsync = <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<SafeParseResult<output<T>>>;
2762
+ declare const _safeDecodeAsync: (_Err: $ZodErrorClass) => $SafeDecodeAsync;
2763
+ declare const safeDecodeAsync$1: $SafeDecodeAsync;
2764
+ //#endregion
2765
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.d.cts
2766
+ declare class $ZodCyclicError extends Error {
2767
+ constructor();
2768
+ }
2769
+ /**
2770
+ * Whether one parse can re-enter this schema, i.e. its subtree contains a cycle.
2771
+ * Exported for `z.compile`, which refuses to compile such a schema: cycle
2772
+ * breaking is driven from here off state keyed on the parse context, and a
2773
+ * generated fast path has no context to key on.
2774
+ */
2775
+ declare function isRecursiveSchema(inst: $ZodType): boolean;
2776
+ /** The memoizer that gives containers cycle support. `zod` installs it by default; `zod/mini` opts in with `config({ memoizer: memoizer() })`. */
2777
+ declare function memoizer(): $ZodMemoizer;
2778
+ /** Whether this value is a node a back-edge resolved to before it finished. */
2779
+ declare function isBackEdge(ctx: object, value: unknown): boolean;
2780
+ declare namespace regexes_d_exports {
2781
+ export { anyString, base64, base64url, bigint, boolean, browserEmail, cidrv4, cidrv6, creditCard, cuid, cuid2, currencyCode, date, datetime, domain, duration, e164, email, emoji, extendedDuration, guid, hex, hostname, html5Email, httpProtocol, iban, idnEmail, integer, ipv4, ipv6, ksuid, lowercase, mac, md5_base64, md5_base64url, md5_hex, nanoid, nanoidOfLength, _null$1 as null, 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, time, ulid, _undefined$1 as undefined, unicodeEmail, uppercase, uuid, uuid4, uuid6, uuid7, xid };
2782
+ }
2783
+ /**
2784
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
2785
+ * (timestamps embedded in the id). Use {@link cuid2} instead.
2786
+ * See https://github.com/paralleldrive/cuid.
2787
+ */
2788
+ declare const cuid: RegExp;
2789
+ declare const cuid2: RegExp;
2790
+ declare const ulid: RegExp;
2791
+ declare const xid: RegExp;
2792
+ declare const ksuid: RegExp;
2793
+ declare const nanoid: RegExp;
2794
+ declare function nanoidOfLength(length: number): RegExp;
2795
+ /** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */
2796
+ declare const duration: RegExp;
2797
+ /** Implements ISO 8601-2 extensions like explicit +- prefixes, mixing weeks with other units, and fractional/negative components. */
2798
+ declare const extendedDuration: RegExp;
2799
+ /** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */
2800
+ declare const guid: RegExp;
2801
+ /** Returns a regex for validating an RFC 9562/4122 UUID.
2802
+ *
2803
+ * @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */
2804
+ declare const uuid: (version?: number | undefined) => RegExp;
2805
+ declare const uuid4: RegExp;
2806
+ declare const uuid6: RegExp;
2807
+ declare const uuid7: RegExp;
2808
+ /** Practical email validation */
2809
+ declare const email: RegExp;
2810
+ /** Equivalent to the HTML5 input[type=email] validation implemented by browsers. Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email */
2811
+ declare const html5Email: RegExp;
2812
+ /** The classic emailregex.com regex for RFC 5322-compliant emails */
2813
+ declare const rfc5322Email: RegExp;
2814
+ /** A loose regex that allows Unicode characters, enforces length limits, and that's about it. */
2815
+ declare const unicodeEmail: RegExp;
2816
+ declare const idnEmail: RegExp;
2817
+ declare const browserEmail: RegExp;
2818
+ declare function emoji(): RegExp;
2819
+ declare const ipv4: RegExp;
2820
+ declare const ipv6: RegExp;
2821
+ declare const mac: (delimiter?: string) => RegExp;
2822
+ declare const cidrv4: RegExp;
2823
+ declare const cidrv6: RegExp;
2824
+ declare const base64: RegExp;
2825
+ declare const base64url: RegExp;
2826
+ declare const hostname: RegExp;
2827
+ declare const domain: RegExp;
2828
+ declare const httpProtocol: RegExp;
2829
+ declare const e164: RegExp;
2830
+ declare const creditCard: RegExp;
2831
+ declare const currencyCode: RegExp;
2832
+ declare const iban: RegExp;
2833
+ declare const date: RegExp;
2834
+ declare function time(args: {
2835
+ precision?: number | null;
2836
+ }): RegExp;
2837
+ declare function datetime(args: {
2838
+ precision?: number | null;
2839
+ offset?: boolean;
2840
+ local?: boolean;
2841
+ }): RegExp;
2842
+ declare const anyString: RegExp;
2843
+ declare const string: (params?: {
2844
+ minimum?: number | undefined;
2845
+ maximum?: number | undefined;
2846
+ }) => RegExp;
2847
+ declare const bigint: RegExp;
2848
+ declare const integer: RegExp;
2849
+ declare const number: RegExp;
2850
+ declare const boolean: RegExp;
2851
+ declare const _null$1: RegExp;
2852
+ declare const _undefined$1: RegExp;
2853
+ declare const lowercase: RegExp;
2854
+ declare const uppercase: RegExp;
2855
+ declare const hex: RegExp;
2856
+ declare const md5_hex: RegExp;
2857
+ declare const md5_base64: RegExp;
2858
+ declare const md5_base64url: RegExp;
2859
+ declare const sha1_hex: RegExp;
2860
+ declare const sha1_base64: RegExp;
2861
+ declare const sha1_base64url: RegExp;
2862
+ declare const sha256_hex: RegExp;
2863
+ declare const sha256_base64: RegExp;
2864
+ declare const sha256_base64url: RegExp;
2865
+ declare const sha384_hex: RegExp;
2866
+ declare const sha384_base64: RegExp;
2867
+ declare const sha384_base64url: RegExp;
2868
+ declare const sha512_hex: RegExp;
2869
+ declare const sha512_base64: RegExp;
2870
+ declare const sha512_base64url: RegExp;
2871
+ //#endregion
2872
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ar.d.cts
2873
+ declare function _default$63(): {
2874
+ localeError: $ZodErrorMap;
2875
+ };
2876
+ //#endregion
2877
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/az.d.cts
2878
+ declare function _default$62(): {
2879
+ localeError: $ZodErrorMap;
2880
+ };
2881
+ //#endregion
2882
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.d.cts
2883
+ declare function _default$61(): {
2884
+ localeError: $ZodErrorMap;
2885
+ };
2886
+ //#endregion
2887
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bg.d.cts
2888
+ declare function _default$60(): {
2889
+ localeError: $ZodErrorMap;
2890
+ };
2891
+ //#endregion
2892
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/bn.d.cts
2893
+ declare function _default$59(): {
2894
+ localeError: $ZodErrorMap;
2895
+ };
2896
+ //#endregion
2897
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ca.d.cts
2898
+ declare function _default$58(): {
2899
+ localeError: $ZodErrorMap;
2900
+ };
2901
+ //#endregion
2902
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ckb.d.cts
2903
+ declare function _default$57(): {
2904
+ localeError: $ZodErrorMap;
2905
+ };
2906
+ //#endregion
2907
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/cs.d.cts
2908
+ declare function _default$56(): {
2909
+ localeError: $ZodErrorMap;
2910
+ };
2911
+ //#endregion
2912
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/da.d.cts
2913
+ declare function _default$55(): {
2914
+ localeError: $ZodErrorMap;
2915
+ };
2916
+ //#endregion
2917
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/de.d.cts
2918
+ declare function _default$54(): {
2919
+ localeError: $ZodErrorMap;
2920
+ };
2921
+ //#endregion
2922
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/el.d.cts
2923
+ declare function _default$53(): {
2924
+ localeError: $ZodErrorMap;
2925
+ };
2926
+ //#endregion
2927
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.d.cts
2928
+ declare function _default$52(): {
2929
+ localeError: $ZodErrorMap;
2930
+ };
2931
+ //#endregion
2932
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/eo.d.cts
2933
+ declare function _default$51(): {
2934
+ localeError: $ZodErrorMap;
2935
+ };
2936
+ //#endregion
2937
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/es.d.cts
2938
+ declare function _default$50(): {
2939
+ localeError: $ZodErrorMap;
2940
+ };
2941
+ //#endregion
2942
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fa.d.cts
2943
+ declare function _default$49(): {
2944
+ localeError: $ZodErrorMap;
2945
+ };
2946
+ //#endregion
2947
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fi.d.cts
2948
+ declare function _default$48(): {
2949
+ localeError: $ZodErrorMap;
2950
+ };
2951
+ //#endregion
2952
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr.d.cts
2953
+ declare function _default$47(): {
2954
+ localeError: $ZodErrorMap;
2955
+ };
2956
+ //#endregion
2957
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/fr-CA.d.cts
2958
+ declare function _default$46(): {
2959
+ localeError: $ZodErrorMap;
2960
+ };
2961
+ //#endregion
2962
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/gu.d.cts
2963
+ declare function _default$45(): {
2964
+ localeError: $ZodErrorMap;
2965
+ };
2966
+ //#endregion
2967
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/he.d.cts
2968
+ declare function _default$44(): {
2969
+ localeError: $ZodErrorMap;
2970
+ };
2971
+ //#endregion
2972
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hi.d.cts
2973
+ declare function _default$43(): {
2974
+ localeError: $ZodErrorMap;
2975
+ };
2976
+ //#endregion
2977
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hr.d.cts
2978
+ declare function _default$42(): {
2979
+ localeError: $ZodErrorMap;
2980
+ };
2981
+ //#endregion
2982
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hu.d.cts
2983
+ declare function _default$41(): {
2984
+ localeError: $ZodErrorMap;
2985
+ };
2986
+ //#endregion
2987
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.d.cts
2988
+ declare function _default$40(): {
2989
+ localeError: $ZodErrorMap;
2990
+ };
2991
+ //#endregion
2992
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/id.d.cts
2993
+ declare function _default$39(): {
2994
+ localeError: $ZodErrorMap;
2995
+ };
2996
+ //#endregion
2997
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/is.d.cts
2998
+ declare function _default$38(): {
2999
+ localeError: $ZodErrorMap;
3000
+ };
3001
+ //#endregion
3002
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/it.d.cts
3003
+ declare function _default$37(): {
3004
+ localeError: $ZodErrorMap;
3005
+ };
3006
+ //#endregion
3007
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ja.d.cts
3008
+ declare function _default$36(): {
3009
+ localeError: $ZodErrorMap;
3010
+ };
3011
+ //#endregion
3012
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ka.d.cts
3013
+ declare function _default$35(): {
3014
+ localeError: $ZodErrorMap;
3015
+ };
3016
+ //#endregion
3017
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kh.d.cts
3018
+ declare function _default$34(): {
3019
+ localeError: $ZodErrorMap;
3020
+ };
3021
+ //#endregion
3022
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/km.d.cts
3023
+ declare function _default$33(): {
3024
+ localeError: $ZodErrorMap;
3025
+ };
3026
+ //#endregion
3027
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/kn.d.cts
3028
+ declare function _default$32(): {
3029
+ localeError: $ZodErrorMap;
3030
+ };
3031
+ //#endregion
3032
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ko.d.cts
3033
+ declare function _default$31(): {
3034
+ localeError: $ZodErrorMap;
3035
+ };
3036
+ //#endregion
3037
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/lt.d.cts
3038
+ declare function _default$30(): {
3039
+ localeError: $ZodErrorMap;
3040
+ };
3041
+ //#endregion
3042
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/mk.d.cts
3043
+ declare function _default$29(): {
3044
+ localeError: $ZodErrorMap;
3045
+ };
3046
+ //#endregion
3047
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ms.d.cts
3048
+ declare function _default$28(): {
3049
+ localeError: $ZodErrorMap;
3050
+ };
3051
+ //#endregion
3052
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ne.d.cts
3053
+ declare function _default$27(): {
3054
+ localeError: $ZodErrorMap;
3055
+ };
3056
+ //#endregion
3057
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nl.d.cts
3058
+ declare function _default$26(): {
3059
+ localeError: $ZodErrorMap;
3060
+ };
3061
+ //#endregion
3062
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/nn.d.cts
3063
+ declare function _default$25(): {
3064
+ localeError: $ZodErrorMap;
3065
+ };
3066
+ //#endregion
3067
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/no.d.cts
3068
+ declare function _default$24(): {
3069
+ localeError: $ZodErrorMap;
3070
+ };
3071
+ //#endregion
3072
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ota.d.cts
3073
+ declare function _default$23(): {
3074
+ localeError: $ZodErrorMap;
3075
+ };
3076
+ //#endregion
3077
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ps.d.cts
3078
+ declare function _default$22(): {
3079
+ localeError: $ZodErrorMap;
3080
+ };
3081
+ //#endregion
3082
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pl.d.cts
3083
+ declare function _default$21(): {
3084
+ localeError: $ZodErrorMap;
3085
+ };
3086
+ //#endregion
3087
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt.d.cts
3088
+ declare function _default$20(): {
3089
+ localeError: $ZodErrorMap;
3090
+ };
3091
+ //#endregion
3092
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/pt-BR.d.cts
3093
+ declare function _default$19(): {
3094
+ localeError: $ZodErrorMap;
3095
+ };
3096
+ //#endregion
3097
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ro.d.cts
3098
+ declare function _default$18(): {
3099
+ localeError: $ZodErrorMap;
3100
+ };
3101
+ //#endregion
3102
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.d.cts
3103
+ declare function _default$17(): {
3104
+ localeError: $ZodErrorMap;
3105
+ };
3106
+ //#endregion
3107
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sk.d.cts
3108
+ declare function _default$16(): {
3109
+ localeError: $ZodErrorMap;
3110
+ };
3111
+ //#endregion
3112
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sl.d.cts
3113
+ declare function _default$15(): {
3114
+ localeError: $ZodErrorMap;
3115
+ };
3116
+ //#endregion
3117
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/sv.d.cts
3118
+ declare function _default$14(): {
3119
+ localeError: $ZodErrorMap;
3120
+ };
3121
+ //#endregion
3122
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ta.d.cts
3123
+ declare function _default$13(): {
3124
+ localeError: $ZodErrorMap;
3125
+ };
3126
+ //#endregion
3127
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tg.d.cts
3128
+ declare function _default$12(): {
3129
+ localeError: $ZodErrorMap;
3130
+ };
3131
+ //#endregion
3132
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/th.d.cts
3133
+ declare function _default$11(): {
3134
+ localeError: $ZodErrorMap;
3135
+ };
3136
+ //#endregion
3137
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tk.d.cts
3138
+ declare function _default$10(): {
3139
+ localeError: $ZodErrorMap;
3140
+ };
3141
+ //#endregion
3142
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/tr.d.cts
3143
+ declare function _default$9(): {
3144
+ localeError: $ZodErrorMap;
3145
+ };
3146
+ //#endregion
3147
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ua.d.cts
3148
+ declare function _default$8(): {
3149
+ localeError: $ZodErrorMap;
3150
+ };
3151
+ //#endregion
3152
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uk.d.cts
3153
+ declare function _default$7(): {
3154
+ localeError: $ZodErrorMap;
3155
+ };
3156
+ //#endregion
3157
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ur.d.cts
3158
+ declare function _default$6(): {
3159
+ localeError: $ZodErrorMap;
3160
+ };
3161
+ //#endregion
3162
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/uz.d.cts
3163
+ declare function _default$5(): {
3164
+ localeError: $ZodErrorMap;
3165
+ };
3166
+ //#endregion
3167
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/vi.d.cts
3168
+ declare function _default$4(): {
3169
+ localeError: $ZodErrorMap;
3170
+ };
3171
+ //#endregion
3172
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-CN.d.cts
3173
+ declare function _default$3(): {
3174
+ localeError: $ZodErrorMap;
3175
+ };
3176
+ //#endregion
3177
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/zh-TW.d.cts
3178
+ declare function _default$2(): {
3179
+ localeError: $ZodErrorMap;
3180
+ };
3181
+ //#endregion
3182
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/yo.d.cts
3183
+ declare function _default$1(): {
3184
+ localeError: $ZodErrorMap;
3185
+ };
3186
+ declare namespace index_d_exports$1 {
3187
+ export { _default$63 as ar, _default$62 as az, _default$61 as be, _default$60 as bg, _default$59 as bn, _default$58 as ca, _default$57 as ckb, _default$56 as cs, _default$55 as da, _default$54 as de, _default$53 as el, _default$52 as en, _default$51 as eo, _default$50 as es, _default$49 as fa, _default$48 as fi, _default$47 as fr, _default$46 as frCA, _default$45 as gu, _default$44 as he, _default$43 as hi, _default$42 as hr, _default$41 as hu, _default$40 as hy, _default$39 as id, _default$38 as is, _default$37 as it, _default$36 as ja, _default$35 as ka, _default$34 as kh, _default$33 as km, _default$32 as kn, _default$31 as ko, _default$30 as lt, _default$29 as mk, _default$28 as ms, _default$27 as ne, _default$26 as nl, _default$25 as nn, _default$24 as no, _default$23 as ota, _default$21 as pl, _default$22 as ps, _default$20 as pt, _default$19 as ptBR, _default$18 as ro, _default$17 as ru, _default$16 as sk, _default$15 as sl, _default$14 as sv, _default$13 as ta, _default$12 as tg, _default$11 as th, _default$10 as tk, _default$9 as tr, _default$8 as ua, _default$7 as uk, _default$6 as ur, _default$5 as uz, _default$4 as vi, _default$1 as yo, _default$3 as zhCN, _default$2 as zhTW };
3188
+ }
3189
+ //#endregion
3190
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.d.cts
3191
+ type ModeWriter = (doc: Doc, modes: {
3192
+ execution: "sync" | "async";
3193
+ }) => void;
3194
+ declare class Doc {
3195
+ args: string[];
3196
+ /** Bindings the compiled function closes over, by name. */
3197
+ closed: Record<string, unknown>;
3198
+ content: string[];
3199
+ indent: number;
3200
+ constructor(args?: string[], closed?: Record<string, unknown>);
3201
+ indented(fn: (doc: Doc) => void): void;
3202
+ write(fn: ModeWriter): void;
3203
+ write(line: string): void;
3204
+ compile(): any;
3205
+ }
3206
+ //#endregion
3207
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/compile.d.cts
3208
+ /** @internal Sentinel the compiled fast path returns when validation fails. */
3209
+ declare const INVALID: unique symbol;
3210
+ /** @internal */
3211
+ type INVALID = typeof INVALID;
3212
+ interface CompileFnOptions {
3213
+ debug?: boolean | undefined;
3214
+ /** Emit a validator instead of a parser: skip building the output value where nothing reads it. */
3215
+ assertOnly?: boolean | undefined;
3216
+ }
3217
+ type CompiledFn<T> = ((input: unknown) => T | INVALID) & {
3218
+ code?: string | undefined;
3219
+ /** False when this function's INVALID does not strictly mean "the runtime would reject". */
3220
+ definite?: boolean | undefined;
3221
+ };
3222
+ /** Raised when the schema contains async refinements or transforms. Surfaces only under `compile(schema, { strict: true })`. */
3223
+ declare class ZodCompileAsyncError extends Error {
3224
+ constructor(message?: string);
3225
+ }
3226
+ /**
3227
+ * Raised when the schema contains a feature whose semantics the fast path
3228
+ * can't fully model. Both the shim in `zod/compile` and the default
3229
+ * `compile()` fall back to the runtime parser for that schema; only
3230
+ * `compile(schema, { strict: true })` lets it surface.
3231
+ */
3232
+ declare class ZodCompileUnsupportedError extends Error {
3233
+ /** 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. */
3234
+ readonly islandable: boolean;
3235
+ constructor(feature: string, islandable?: boolean);
3236
+ }
3237
+ interface CompileOptions {
3238
+ /** Throw the refusal instead of returning the schema uncompiled. */
3239
+ strict?: boolean | undefined;
3240
+ }
3241
+ /**
3242
+ * AOT-compile a Zod schema. Returns a clone whose `_zod.run` calls a generated
3243
+ * fast path first and falls back to the original runtime parser on failure.
3244
+ *
3245
+ * - Forward direction only. Backward (encode), async, and `skipChecks` paths
3246
+ * bypass the fast path and use the runtime directly.
3247
+ * - Never throws. A schema the fast path can't model is returned unchanged and
3248
+ * keeps using the runtime parser. Pass `{ strict: true }` to get the refusal
3249
+ * as a thrown `ZodCompileUnsupportedError` / `ZodCompileAsyncError` instead.
3250
+ * - The original schema is unchanged. The clone shares children by reference.
3251
+ */
3252
+ declare function compile<T extends SomeType>(schema: T, options?: CompileOptions): T;
3253
+ /**
3254
+ * Install an already-generated parser as a schema's fast path. Returns a clone; the original is
3255
+ * unchanged.
3256
+ *
3257
+ * The parser takes the input and returns the parsed value, or `INVALID` to hand the parse to the
3258
+ * runtime. It must be synchronous and forward-direction, and it must build fresh output rather than
3259
+ * return its input — Zod cannot check either, and a wrong *success* is returned to the caller as-is.
3260
+ *
3261
+ * `compile()` is the ordinary entry point. This is for a build-time or native compiler that produces
3262
+ * a parser where `new Function` is unavailable.
3263
+ */
3264
+ declare function withParser<T extends SomeType>(schema: T, parser: (input: unknown) => output<T> | INVALID): T;
3265
+ /**
3266
+ * @internal Generate the standalone compiled function: a parser by default, a validator under
3267
+ * `assertOnly`. Returns the parsed value, `true` where nothing reads the output, or `INVALID`. Consumers use `compile()`.
3268
+ */
3269
+ declare function compileFn<T extends SomeType>(schema: T, options?: CompileFnOptions): CompiledFn<output<T>>;
1725
3270
  //#endregion
1726
3271
  //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.d.cts
1727
3272
  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] ? {} : {
@@ -1734,12 +3279,283 @@ type TypeParams<T extends $ZodType = $ZodType & {
1734
3279
  }, AlsoOmit extends Exclude<keyof T["_zod"]["def"], "type" | "checks" | "error"> = never> = Params<T, NonNullable<T["_zod"]["isst"]>, "type" | "checks" | "error" | AlsoOmit>;
1735
3280
  type CheckParams<T extends $ZodCheck = $ZodCheck // & { _issc: never },
1736
3281
  , AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
3282
+ 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>;
3283
+ 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>;
1737
3284
  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>;
3285
+ type $ZodStringParams = TypeParams<$ZodString<string>, "coerce"> & {
3286
+ checks?: readonly $ZodCheck<string>[];
3287
+ };
3288
+ declare function _string<T extends $ZodString>(Class: SchemaClass<T>, params?: string | $ZodStringParams): T;
3289
+ declare function _coercedString<T extends $ZodString>(Class: SchemaClass<T>, params?: string | $ZodStringParams): T;
3290
+ type $ZodStringFormatParams = CheckTypeParams<$ZodStringFormat, "format" | "coerce" | "when" | "pattern">;
3291
+ type $ZodCheckStringFormatParams = CheckParams<$ZodCheckStringFormat, "format">;
3292
+ type $ZodEmailParams = StringFormatParams<$ZodEmail, "when">;
3293
+ type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
3294
+ declare function _email<T extends $ZodEmail>(Class: SchemaClass<T>, params?: string | $ZodEmailParams | $ZodCheckEmailParams): T;
3295
+ type $ZodGUIDParams = StringFormatParams<$ZodGUID, "pattern" | "when">;
3296
+ type $ZodCheckGUIDParams = CheckStringFormatParams<$ZodGUID, "pattern" | "when">;
3297
+ declare function _guid<T extends $ZodGUID>(Class: SchemaClass<T>, params?: string | $ZodGUIDParams | $ZodCheckGUIDParams): T;
3298
+ type $ZodUUIDParams = StringFormatParams<$ZodUUID, "pattern" | "when">;
3299
+ type $ZodCheckUUIDParams = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
3300
+ declare function _uuid<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDParams | $ZodCheckUUIDParams): T;
3301
+ type $ZodUUIDv4Params = StringFormatParams<$ZodUUID, "pattern" | "when">;
3302
+ type $ZodCheckUUIDv4Params = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
3303
+ declare function _uuidv4<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params): T;
3304
+ type $ZodUUIDv6Params = StringFormatParams<$ZodUUID, "pattern" | "when">;
3305
+ type $ZodCheckUUIDv6Params = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
3306
+ declare function _uuidv6<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDv6Params | $ZodCheckUUIDv6Params): T;
3307
+ type $ZodUUIDv7Params = StringFormatParams<$ZodUUID, "pattern" | "when">;
3308
+ type $ZodCheckUUIDv7Params = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
3309
+ declare function _uuidv7<T extends $ZodUUID>(Class: SchemaClass<T>, params?: string | $ZodUUIDv7Params | $ZodCheckUUIDv7Params): T;
3310
+ type $ZodURLParams = StringFormatParams<$ZodURL, "when">;
3311
+ type $ZodCheckURLParams = CheckStringFormatParams<$ZodURL, "when">;
3312
+ declare function _url<T extends $ZodURL>(Class: SchemaClass<T>, params?: string | $ZodURLParams | $ZodCheckURLParams): T;
3313
+ type $ZodEmojiParams = StringFormatParams<$ZodEmoji, "when">;
3314
+ type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji, "when">;
3315
+ declare function _emoji<T extends $ZodEmoji>(Class: SchemaClass<T>, params?: string | $ZodEmojiParams | $ZodCheckEmojiParams): T;
3316
+ type $ZodNanoIDParams = StringFormatParams<$ZodNanoID, "when" | "pattern">;
3317
+ type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when" | "pattern">;
3318
+ declare function _nanoid<T extends $ZodNanoID>(Class: SchemaClass<T>, params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams): T;
3319
+ /**
3320
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3321
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
3322
+ * See https://github.com/paralleldrive/cuid.
3323
+ */
3324
+ type $ZodCUIDParams = StringFormatParams<$ZodCUID, "when">;
3325
+ /**
3326
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3327
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
3328
+ * See https://github.com/paralleldrive/cuid.
3329
+ */
3330
+ type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID, "when">;
3331
+ /**
3332
+ * @deprecated CUID v1 is deprecated by its authors due to information leakage
3333
+ * (timestamps embedded in the id). Use {@link _cuid2} instead.
3334
+ * See https://github.com/paralleldrive/cuid.
3335
+ */
3336
+ declare function _cuid<T extends $ZodCUID>(Class: SchemaClass<T>, params?: string | $ZodCUIDParams | $ZodCheckCUIDParams): T;
3337
+ type $ZodCUID2Params = StringFormatParams<$ZodCUID2, "when">;
3338
+ type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2, "when">;
3339
+ declare function _cuid2<T extends $ZodCUID2>(Class: SchemaClass<T>, params?: string | $ZodCUID2Params | $ZodCheckCUID2Params): T;
3340
+ type $ZodULIDParams = StringFormatParams<$ZodULID, "when">;
3341
+ type $ZodCheckULIDParams = CheckStringFormatParams<$ZodULID, "when">;
3342
+ declare function _ulid<T extends $ZodULID>(Class: SchemaClass<T>, params?: string | $ZodULIDParams | $ZodCheckULIDParams): T;
3343
+ type $ZodXIDParams = StringFormatParams<$ZodXID, "when">;
3344
+ type $ZodCheckXIDParams = CheckStringFormatParams<$ZodXID, "when">;
3345
+ declare function _xid<T extends $ZodXID>(Class: SchemaClass<T>, params?: string | $ZodXIDParams | $ZodCheckXIDParams): T;
3346
+ type $ZodKSUIDParams = StringFormatParams<$ZodKSUID, "when">;
3347
+ type $ZodCheckKSUIDParams = CheckStringFormatParams<$ZodKSUID, "when">;
3348
+ declare function _ksuid<T extends $ZodKSUID>(Class: SchemaClass<T>, params?: string | $ZodKSUIDParams | $ZodCheckKSUIDParams): T;
3349
+ type $ZodIPv4Params = StringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
3350
+ type $ZodCheckIPv4Params = CheckStringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
3351
+ declare function _ipv4<T extends $ZodIPv4>(Class: SchemaClass<T>, params?: string | $ZodIPv4Params | $ZodCheckIPv4Params): T;
3352
+ type $ZodIPv6Params = StringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
3353
+ type $ZodCheckIPv6Params = CheckStringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
3354
+ declare function _ipv6<T extends $ZodIPv6>(Class: SchemaClass<T>, params?: string | $ZodIPv6Params | $ZodCheckIPv6Params): T;
3355
+ type $ZodMACParams = StringFormatParams<$ZodMAC, "pattern" | "when">;
3356
+ type $ZodCheckMACParams = CheckStringFormatParams<$ZodMAC, "pattern" | "when">;
3357
+ declare function _mac<T extends $ZodMAC>(Class: SchemaClass<T>, params?: string | $ZodMACParams | $ZodCheckMACParams): T;
3358
+ type $ZodCIDRv4Params = StringFormatParams<$ZodCIDRv4, "pattern" | "when">;
3359
+ type $ZodCheckCIDRv4Params = CheckStringFormatParams<$ZodCIDRv4, "pattern" | "when">;
3360
+ declare function _cidrv4<T extends $ZodCIDRv4>(Class: SchemaClass<T>, params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params): T;
3361
+ type $ZodCIDRv6Params = StringFormatParams<$ZodCIDRv6, "pattern" | "when">;
3362
+ type $ZodCheckCIDRv6Params = CheckStringFormatParams<$ZodCIDRv6, "pattern" | "when">;
3363
+ declare function _cidrv6<T extends $ZodCIDRv6>(Class: SchemaClass<T>, params?: string | $ZodCIDRv6Params | $ZodCheckCIDRv6Params): T;
3364
+ type $ZodBase64Params = StringFormatParams<$ZodBase64, "pattern" | "when">;
3365
+ type $ZodCheckBase64Params = CheckStringFormatParams<$ZodBase64, "pattern" | "when">;
3366
+ declare function _base64<T extends $ZodBase64>(Class: SchemaClass<T>, params?: string | $ZodBase64Params | $ZodCheckBase64Params): T;
3367
+ type $ZodBase64URLParams = StringFormatParams<$ZodBase64URL, "pattern" | "when">;
3368
+ type $ZodCheckBase64URLParams = CheckStringFormatParams<$ZodBase64URL, "pattern" | "when">;
3369
+ declare function _base64url<T extends $ZodBase64URL>(Class: SchemaClass<T>, params?: string | $ZodBase64URLParams | $ZodCheckBase64URLParams): T;
3370
+ type $ZodE164Params = StringFormatParams<$ZodE164, "when">;
3371
+ type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164, "when">;
3372
+ declare function _e164<T extends $ZodE164>(Class: SchemaClass<T>, params?: string | $ZodE164Params | $ZodCheckE164Params): T;
3373
+ type $ZodCreditCardParams = StringFormatParams<$ZodCreditCard, "pattern" | "when">;
3374
+ type $ZodCheckCreditCardParams = CheckStringFormatParams<$ZodCreditCard, "pattern" | "when">;
3375
+ declare function _creditCard<T extends $ZodCreditCard>(Class: SchemaClass<T>, params?: string | $ZodCreditCardParams | $ZodCheckCreditCardParams): T;
3376
+ type $ZodIBANParams = StringFormatParams<$ZodIBAN, "pattern" | "when">;
3377
+ type $ZodCheckIBANParams = CheckStringFormatParams<$ZodIBAN, "pattern" | "when">;
3378
+ declare function _iban<T extends $ZodIBAN>(Class: SchemaClass<T>, params?: string | $ZodIBANParams | $ZodCheckIBANParams): T;
3379
+ type $ZodJWTParams = StringFormatParams<$ZodJWT, "pattern" | "when">;
3380
+ type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern" | "when">;
3381
+ declare function _jwt<T extends $ZodJWT>(Class: SchemaClass<T>, params?: string | $ZodJWTParams | $ZodCheckJWTParams): T;
3382
+ declare const TimePrecision: {
3383
+ readonly Any: null;
3384
+ readonly Minute: -1;
3385
+ readonly Second: 0;
3386
+ readonly Millisecond: 3;
3387
+ readonly Microsecond: 6;
3388
+ };
3389
+ type $ZodISODateTimeParams = StringFormatParams<$ZodISODateTime, "pattern" | "when">;
3390
+ type $ZodCheckISODateTimeParams = CheckStringFormatParams<$ZodISODateTime, "pattern" | "when">;
3391
+ declare function _isoDateTime<T extends $ZodISODateTime>(Class: SchemaClass<T>, params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams): T;
3392
+ type $ZodISODateParams = StringFormatParams<$ZodISODate, "pattern" | "when">;
3393
+ type $ZodCheckISODateParams = CheckStringFormatParams<$ZodISODate, "pattern" | "when">;
3394
+ declare function _isoDate<T extends $ZodISODate>(Class: SchemaClass<T>, params?: string | $ZodISODateParams | $ZodCheckISODateParams): T;
3395
+ type $ZodISOTimeParams = StringFormatParams<$ZodISOTime, "pattern" | "when">;
3396
+ type $ZodCheckISOTimeParams = CheckStringFormatParams<$ZodISOTime, "pattern" | "when">;
3397
+ declare function _isoTime<T extends $ZodISOTime>(Class: SchemaClass<T>, params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams): T;
3398
+ type $ZodISODurationParams = StringFormatParams<$ZodISODuration, "when">;
3399
+ type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration, "when">;
3400
+ declare function _isoDuration<T extends $ZodISODuration>(Class: SchemaClass<T>, params?: string | $ZodISODurationParams | $ZodCheckISODurationParams): T;
3401
+ type $ZodNumberParams = TypeParams<$ZodNumber<number>, "coerce"> & {
3402
+ checks?: readonly $ZodCheck<number>[];
3403
+ };
3404
+ type $ZodNumberFormatParams = CheckTypeParams<$ZodNumberFormat, "format" | "coerce">;
3405
+ type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format" | "when">;
3406
+ declare function _number<T extends $ZodNumber>(Class: SchemaClass<T>, params?: string | $ZodNumberParams): T;
3407
+ declare function _coercedNumber<T extends $ZodNumber>(Class: SchemaClass<T>, params?: string | $ZodNumberParams): T;
3408
+ declare function _int<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
3409
+ declare function _float32<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
3410
+ declare function _float64<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
3411
+ declare function _int32<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
3412
+ declare function _uint32<T extends $ZodNumberFormat>(Class: SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;
3413
+ type $ZodBooleanParams = TypeParams<$ZodBoolean<boolean>, "coerce">;
3414
+ declare function _boolean<T extends $ZodBoolean>(Class: SchemaClass<T>, params?: string | $ZodBooleanParams): T;
3415
+ declare function _coercedBoolean<T extends $ZodBoolean>(Class: SchemaClass<T>, params?: string | $ZodBooleanParams): T;
3416
+ type $ZodBigIntParams = TypeParams<$ZodBigInt<bigint>>;
3417
+ type $ZodBigIntFormatParams = CheckTypeParams<$ZodBigIntFormat, "format" | "coerce">;
3418
+ type $ZodCheckBigIntFormatParams = CheckParams<$ZodCheckBigIntFormat, "format" | "when">;
3419
+ declare function _bigint<T extends $ZodBigInt>(Class: SchemaClass<T>, params?: string | $ZodBigIntParams): T;
3420
+ declare function _coercedBigint<T extends $ZodBigInt>(Class: SchemaClass<T>, params?: string | $ZodBigIntParams): T;
3421
+ declare function _int64<T extends $ZodBigIntFormat>(Class: SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;
3422
+ declare function _uint64<T extends $ZodBigIntFormat>(Class: SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;
3423
+ type $ZodSymbolParams = TypeParams<$ZodSymbol>;
3424
+ declare function _symbol<T extends $ZodSymbol>(Class: SchemaClass<T>, params?: string | $ZodSymbolParams): T;
3425
+ type $ZodUndefinedParams = TypeParams<$ZodUndefined>;
3426
+ declare function _undefined<T extends $ZodUndefined>(Class: SchemaClass<T>, params?: string | $ZodUndefinedParams): T;
3427
+ type $ZodNullParams = TypeParams<$ZodNull>;
3428
+ declare function _null<T extends $ZodNull>(Class: SchemaClass<T>, params?: string | $ZodNullParams): T;
3429
+ type $ZodAnyParams = TypeParams<$ZodAny>;
3430
+ declare function _any<T extends $ZodAny>(Class: SchemaClass<T>): T;
3431
+ type $ZodUnknownParams = TypeParams<$ZodUnknown>;
3432
+ declare function _unknown<T extends $ZodUnknown>(Class: SchemaClass<T>): T;
3433
+ type $ZodNeverParams = TypeParams<$ZodNever>;
3434
+ declare function _never<T extends $ZodNever>(Class: SchemaClass<T>, params?: string | $ZodNeverParams): T;
3435
+ type $ZodVoidParams = TypeParams<$ZodVoid>;
3436
+ declare function _void<T extends $ZodVoid>(Class: SchemaClass<T>, params?: string | $ZodVoidParams): T;
3437
+ type $ZodDateParams = TypeParams<$ZodDate, "coerce">;
3438
+ declare function _date<T extends $ZodDate>(Class: SchemaClass<T>, params?: string | $ZodDateParams): T;
3439
+ declare function _coercedDate<T extends $ZodDate>(Class: SchemaClass<T>, params?: string | $ZodDateParams): T;
3440
+ type $ZodNaNParams = TypeParams<$ZodNaN>;
3441
+ declare function _nan<T extends $ZodNaN>(Class: SchemaClass<T>, params?: string | $ZodNaNParams): T;
3442
+ type $ZodCheckLessThanParams = CheckParams<$ZodCheckLessThan, "inclusive" | "value" | "when">;
3443
+ declare function _lt(value: Numeric, params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan<Numeric>;
3444
+ declare function _lte(value: Numeric, params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan<Numeric>;
3445
+ type $ZodCheckGreaterThanParams = CheckParams<$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
3446
+ declare function _gt(value: Numeric, params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
3447
+ declare function _gte(value: Numeric, params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
3448
+ declare function _positive(params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
3449
+ declare function _negative(params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan;
3450
+ declare function _nonpositive(params?: string | $ZodCheckLessThanParams): $ZodCheckLessThan;
3451
+ declare function _nonnegative(params?: string | $ZodCheckGreaterThanParams): $ZodCheckGreaterThan;
3452
+ type $ZodCheckMultipleOfParams = CheckParams<$ZodCheckMultipleOf, "value" | "when">;
3453
+ declare function _multipleOf(value: number | bigint, params?: string | $ZodCheckMultipleOfParams): $ZodCheckMultipleOf;
3454
+ type $ZodCheckMaxSizeParams = CheckParams<$ZodCheckMaxSize, "maximum" | "when">;
3455
+ declare function _maxSize(maximum: number, params?: string | $ZodCheckMaxSizeParams): $ZodCheckMaxSize<HasSize>;
3456
+ type $ZodCheckMinSizeParams = CheckParams<$ZodCheckMinSize, "minimum" | "when">;
3457
+ declare function _minSize(minimum: number, params?: string | $ZodCheckMinSizeParams): $ZodCheckMinSize<HasSize>;
3458
+ type $ZodCheckSizeEqualsParams = CheckParams<$ZodCheckSizeEquals, "size" | "when">;
3459
+ declare function _size(size: number, params?: string | $ZodCheckSizeEqualsParams): $ZodCheckSizeEquals<HasSize>;
1738
3460
  type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum" | "when">;
3461
+ declare function _maxLength(maximum: number, params?: string | $ZodCheckMaxLengthParams): $ZodCheckMaxLength<HasLength>;
1739
3462
  type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum" | "when">;
3463
+ declare function _minLength(minimum: number, params?: string | $ZodCheckMinLengthParams): $ZodCheckMinLength<HasLength>;
1740
3464
  type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length" | "when">;
3465
+ declare function _length(length: number, params?: string | $ZodCheckLengthEqualsParams): $ZodCheckLengthEquals<HasLength>;
3466
+ type $ZodCheckRegexParams = CheckParams<$ZodCheckRegex, "format" | "pattern" | "when">;
3467
+ declare function _regex(pattern: RegExp, params?: string | $ZodCheckRegexParams): $ZodCheckRegex;
3468
+ type $ZodCheckLowerCaseParams = CheckParams<$ZodCheckLowerCase, "format" | "when">;
3469
+ declare function _lowercase(params?: string | $ZodCheckLowerCaseParams): $ZodCheckLowerCase;
3470
+ type $ZodCheckUpperCaseParams = CheckParams<$ZodCheckUpperCase, "format" | "when">;
3471
+ declare function _uppercase(params?: string | $ZodCheckUpperCaseParams): $ZodCheckUpperCase;
3472
+ type $ZodCheckIncludesParams = CheckParams<$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
3473
+ declare function _includes(includes: string, params?: string | $ZodCheckIncludesParams): $ZodCheckIncludes;
3474
+ type $ZodCheckStartsWithParams = CheckParams<$ZodCheckStartsWith, "prefix" | "format" | "when" | "pattern">;
3475
+ declare function _startsWith(prefix: string, params?: string | $ZodCheckStartsWithParams): $ZodCheckStartsWith;
3476
+ type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
3477
+ declare function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): $ZodCheckEndsWith;
3478
+ type $ZodCheckPropertyParams = CheckParams<$ZodCheckProperty, "property" | "schema" | "when">;
3479
+ declare function _property<K extends string, T extends $ZodType>(property: K, schema: T, params?: string | $ZodCheckPropertyParams): $ZodCheckProperty<{ [k in K]: Widen<input<T>>; }>;
3480
+ type $ZodCheckPropertiesParams = CheckParams<$ZodCheckProperties, "shape" | "when">;
3481
+ declare function _properties<Shape extends $ZodShape>(shape: Shape, params?: string | $ZodCheckPropertiesParams): $ZodCheckProperties<Shape>;
3482
+ type $ZodCheckMimeTypeParams = CheckParams<$ZodCheckMimeType, "mime" | "when">;
3483
+ declare function _mime(types: MimeTypes[], params?: string | $ZodCheckMimeTypeParams): $ZodCheckMimeType;
3484
+ declare function _overwrite<T>(tx: (input: T) => T): $ZodCheckOverwrite<T>;
3485
+ declare function _normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): $ZodCheckOverwrite<string>;
3486
+ declare function _trim(): $ZodCheckOverwrite<string>;
3487
+ declare function _toLowerCase(): $ZodCheckOverwrite<string>;
3488
+ declare function _toUpperCase(): $ZodCheckOverwrite<string>;
3489
+ declare function _slugify(): $ZodCheckOverwrite<string>;
3490
+ type $ZodArrayParams = TypeParams<$ZodArray, "element">;
3491
+ declare function _array<T extends $ZodType>(Class: SchemaClass<$ZodArray>, element: T, params?: string | $ZodArrayParams): $ZodArray<T>;
3492
+ type $ZodObjectParams = TypeParams<$ZodObject, "shape" | "catchall">;
3493
+ type $ZodUnionParams = TypeParams<$ZodUnion, "options">;
3494
+ declare function _union<const T extends readonly $ZodObject[]>(Class: SchemaClass<$ZodUnion>, options: T, params?: string | $ZodUnionParams): $ZodUnion<T>;
3495
+ type $ZodXorParams = TypeParams<$ZodXor, "options">;
3496
+ declare function _xor<const T extends readonly $ZodObject[]>(Class: SchemaClass<$ZodXor>, options: T, params?: string | $ZodXorParams): $ZodXor<T>;
3497
+ interface $ZodTypeDiscriminableInternals<_Disc extends string = string> extends _$ZodTypeInternals {
3498
+ propValues: PropValues;
3499
+ }
3500
+ interface $ZodTypeDiscriminable<_Disc extends string = string> extends SomeType {
3501
+ _zod: $ZodTypeDiscriminableInternals;
3502
+ }
3503
+ type $ZodDiscriminatedUnionParams = TypeParams<$ZodDiscriminatedUnion, "options" | "discriminator">;
3504
+ declare function _discriminatedUnion<Types extends [$ZodTypeDiscriminable, ...$ZodTypeDiscriminable[]], Disc extends string>(Class: SchemaClass<$ZodDiscriminatedUnion>, discriminator: Disc, options: Types, params?: string | $ZodDiscriminatedUnionParams): $ZodDiscriminatedUnion<Types, Disc>;
3505
+ type $ZodIntersectionParams = TypeParams<$ZodIntersection, "left" | "right">;
3506
+ declare function _intersection<T extends $ZodObject, U extends $ZodObject>(Class: SchemaClass<$ZodIntersection>, left: T, right: U): $ZodIntersection<T, U>;
3507
+ type $ZodTupleParams = TypeParams<$ZodTuple, "items" | "rest">;
3508
+ declare function _tuple<T extends readonly [$ZodType, ...$ZodType[]]>(Class: SchemaClass<$ZodTuple>, items: T, params?: string | $ZodTupleParams): $ZodTuple<T, null>;
3509
+ declare function _tuple<T extends readonly [$ZodType, ...$ZodType[]], Rest extends $ZodType>(Class: SchemaClass<$ZodTuple>, items: T, rest: Rest, params?: string | $ZodTupleParams): $ZodTuple<T, Rest>;
3510
+ type $ZodRecordParams = TypeParams<$ZodRecord, "keyType" | "valueType" | "partial">;
3511
+ declare function _record<Key extends $ZodRecordKey, Value extends $ZodObject>(Class: SchemaClass<$ZodRecord>, keyType: Key, valueType: Value, params?: string | $ZodRecordParams): $ZodRecord<Key, Value>;
3512
+ type $ZodMapParams = TypeParams<$ZodMap, "keyType" | "valueType">;
3513
+ declare function _map<Key extends $ZodObject, Value extends $ZodObject>(Class: SchemaClass<$ZodMap>, keyType: Key, valueType: Value, params?: string | $ZodMapParams): $ZodMap<Key, Value>;
3514
+ type $ZodSetParams = TypeParams<$ZodSet, "valueType">;
3515
+ declare function _set<Value extends $ZodObject>(Class: SchemaClass<$ZodSet>, valueType: Value, params?: string | $ZodSetParams): $ZodSet<Value>;
3516
+ type $ZodEnumParams = TypeParams<$ZodEnum, "entries">;
3517
+ declare function _enum<const T extends string[]>(Class: SchemaClass<$ZodEnum>, values: T, params?: string | $ZodEnumParams): $ZodEnum<ToEnum<T[number]>>;
3518
+ declare function _enum<T extends EnumLike>(Class: SchemaClass<$ZodEnum>, entries: T, params?: string | $ZodEnumParams): $ZodEnum<T>;
3519
+ /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
3520
+ *
3521
+ * ```ts
3522
+ * enum Colors { red, green, blue }
3523
+ * z.enum(Colors);
3524
+ * ```
3525
+ */
3526
+ declare function _nativeEnum<T extends EnumLike>(Class: SchemaClass<$ZodEnum>, entries: T, params?: string | $ZodEnumParams): $ZodEnum<T>;
3527
+ type $ZodLiteralParams = TypeParams<$ZodLiteral, "values">;
3528
+ declare function _literal<const T extends Array<Literal>>(Class: SchemaClass<$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): $ZodLiteral<T[number]>;
3529
+ declare function _literal<const T extends Literal>(Class: SchemaClass<$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): $ZodLiteral<T>;
3530
+ type $ZodFileParams = TypeParams<$ZodFile>;
3531
+ declare function _file(Class: SchemaClass<$ZodFile>, params?: string | $ZodFileParams): $ZodFile;
3532
+ type $ZodTransformParams = TypeParams<$ZodTransform, "transform">;
3533
+ declare function _transform<I = unknown, O = I>(Class: SchemaClass<$ZodTransform>, fn: (input: I, ctx?: ParsePayload) => O): $ZodTransform<Awaited<O>, I>;
3534
+ type $ZodOptionalParams = TypeParams<$ZodOptional, "innerType">;
3535
+ declare function _optional<T extends $ZodObject>(Class: SchemaClass<$ZodOptional>, innerType: T): $ZodOptional<T>;
3536
+ type $ZodNullableParams = TypeParams<$ZodNullable, "innerType">;
3537
+ declare function _nullable<T extends $ZodObject>(Class: SchemaClass<$ZodNullable>, innerType: T): $ZodNullable<T>;
3538
+ type $ZodDefaultParams = TypeParams<$ZodDefault, "innerType" | "defaultValue">;
3539
+ declare function _default<T extends $ZodObject>(Class: SchemaClass<$ZodDefault>, innerType: T, defaultValue: NoUndefined<output<T>> | (() => NoUndefined<output<T>>)): $ZodDefault<T>;
1741
3540
  type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
3541
+ declare function _nonoptional<T extends $ZodObject>(Class: SchemaClass<$ZodNonOptional>, innerType: T, params?: string | $ZodNonOptionalParams): $ZodNonOptional<T>;
3542
+ type $ZodSuccessParams = TypeParams<$ZodSuccess, "innerType">;
3543
+ declare function _success<T extends $ZodObject>(Class: SchemaClass<$ZodSuccess>, innerType: T): $ZodSuccess<T>;
3544
+ type $ZodCatchParams = TypeParams<$ZodCatch, "innerType" | "catchValue">;
3545
+ declare function _catch<T extends $ZodObject>(Class: SchemaClass<$ZodCatch>, innerType: T, catchValue: output<T> | ((ctx: $ZodCatchCtx) => output<T>)): $ZodCatch<T>;
3546
+ type $ZodPipeParams = TypeParams<$ZodPipe, "in" | "out">;
3547
+ 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>;
3548
+ type $ZodReadonlyParams = TypeParams<$ZodReadonly, "innerType">;
3549
+ declare function _readonly<T extends $ZodObject>(Class: SchemaClass<$ZodReadonly>, innerType: T): $ZodReadonly<T>;
3550
+ type $ZodTemplateLiteralParams = TypeParams<$ZodTemplateLiteral, "parts">;
3551
+ declare function _templateLiteral<const Parts extends $ZodTemplateLiteralPart[]>(Class: SchemaClass<$ZodTemplateLiteral>, parts: Parts, params?: string | $ZodTemplateLiteralParams): $ZodTemplateLiteral<$PartsToTemplateLiteral<Parts>>;
3552
+ type $ZodLazyParams = TypeParams<$ZodLazy, "getter">;
3553
+ declare function _lazy<T extends $ZodType>(Class: SchemaClass<$ZodLazy>, getter: () => T): $ZodLazy<T>;
3554
+ type $ZodPromiseParams = TypeParams<$ZodPromise, "innerType">;
3555
+ declare function _promise<T extends $ZodObject>(Class: SchemaClass<$ZodPromise>, innerType: T): $ZodPromise<T>;
1742
3556
  type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
3557
+ declare function _custom<O = unknown, I = O>(Class: SchemaClass<$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): $ZodCustom<O, I>;
3558
+ declare function _refine<O = unknown, I = O>(Class: SchemaClass<$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): $ZodCustom<O, I>;
1743
3559
  type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
1744
3560
  type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten<MakePartial<T, "message" | "path"> & {
1745
3561
  /** The schema or check that originated this issue. */
@@ -1754,6 +3570,99 @@ interface $ZodSuperRefineParams {
1754
3570
  /** If provided, the refinement runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */
1755
3571
  when?: ((payload: ParsePayload) => boolean) | undefined;
1756
3572
  }
3573
+ declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>, params?: $ZodSuperRefineParams): $ZodCheck<T>;
3574
+ declare function _check<O = unknown>(fn: CheckFn<O>, params?: string | $ZodCustomParams): $ZodCheck<O>;
3575
+ declare function describe<T>(description: string): $ZodCheck<T>;
3576
+ declare function meta$1<T>(metadata: GlobalMeta): $ZodCheck<T>;
3577
+ interface $ZodStringBoolParams extends TypeParams {
3578
+ truthy?: string[];
3579
+ falsy?: string[];
3580
+ /**
3581
+ * Options: `"sensitive"`, `"insensitive"`
3582
+ *
3583
+ * @default `"insensitive"`
3584
+ */
3585
+ case?: "sensitive" | "insensitive" | undefined;
3586
+ }
3587
+ declare function _stringbool(Classes: {
3588
+ Codec?: typeof $ZodCodec;
3589
+ Boolean?: typeof $ZodBoolean;
3590
+ String?: typeof $ZodString;
3591
+ }, _params?: string | $ZodStringBoolParams): $ZodCodec<$ZodString, $ZodBoolean>;
3592
+ declare function _stringFormat<Format extends string>(Class: typeof $ZodCustomStringFormat, format: Format, fnOrRegex: ((arg: string) => MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): $ZodCustomStringFormat<Format>;
3593
+ //#endregion
3594
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.d.cts
3595
+ declare function toJSONSchema<T extends $ZodType>(schema: T, params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<T>;
3596
+ declare function toJSONSchema(registry: $ZodRegistry<{
3597
+ id?: string | undefined;
3598
+ }>, params?: RegistryToJSONSchemaParams): {
3599
+ schemas: Record<string, ZodStandardJSONSchemaPayload<$ZodType>>;
3600
+ };
3601
+ //#endregion
3602
+ //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-generator.d.cts
3603
+ /**
3604
+ * Parameters for the emit method of JSONSchemaGenerator.
3605
+ * @deprecated Use toJSONSchema function instead
3606
+ */
3607
+ type EmitParams = Pick<JSONSchemaGeneratorParams, "cycles" | "reused" | "external">;
3608
+ /**
3609
+ * Parameters for JSONSchemaGenerator constructor.
3610
+ * @deprecated Use toJSONSchema function instead
3611
+ */
3612
+ type JSONSchemaGeneratorConstructorParams = Pick<JSONSchemaGeneratorParams, "metadata" | "target" | "unrepresentable" | "override" | "io">;
3613
+ /**
3614
+ * Legacy class-based interface for JSON Schema generation.
3615
+ * This class wraps the new functional implementation to provide backward compatibility.
3616
+ *
3617
+ * @deprecated Use the `toJSONSchema` function instead for new code.
3618
+ *
3619
+ * @example
3620
+ * ```typescript
3621
+ * // Legacy usage (still supported)
3622
+ * const gen = new JSONSchemaGenerator({ target: "draft-07" });
3623
+ * gen.process(schema);
3624
+ * const result = gen.emit(schema);
3625
+ *
3626
+ * // Preferred modern usage
3627
+ * const result = toJSONSchema(schema, { target: "draft-07" });
3628
+ * ```
3629
+ */
3630
+ declare class JSONSchemaGenerator {
3631
+ private ctx;
3632
+ /** @deprecated Access via ctx instead */
3633
+ get metadataRegistry(): $ZodRegistry<Record<string, any>>;
3634
+ /** @deprecated Access via ctx instead */
3635
+ get target(): ({} & string) | "draft-2020-12" | "draft-07" | "openapi-3.0" | "draft-04";
3636
+ /** @deprecated Access via ctx instead */
3637
+ get unrepresentable(): ToJSONSchemaContext["unrepresentable"];
3638
+ /** @deprecated Access via ctx instead */
3639
+ get override(): (ctx: {
3640
+ zodSchema: $ZodType;
3641
+ jsonSchema: BaseSchema;
3642
+ path: (string | number)[];
3643
+ }) => void;
3644
+ /** @deprecated Access via ctx instead */
3645
+ get io(): "input" | "output";
3646
+ /** @deprecated Access via ctx instead */
3647
+ get counter(): number;
3648
+ set counter(value: number);
3649
+ /** @deprecated Access via ctx instead */
3650
+ get seen(): Map<$ZodType, Seen>;
3651
+ constructor(params?: JSONSchemaGeneratorConstructorParams);
3652
+ /**
3653
+ * Process a schema to prepare it for JSON Schema generation.
3654
+ * This must be called before emit().
3655
+ */
3656
+ process(schema: $ZodType, _params?: ProcessParams): BaseSchema;
3657
+ /**
3658
+ * Emit the final JSON Schema after processing.
3659
+ * Must call process() first.
3660
+ */
3661
+ emit(schema: $ZodType, _params?: EmitParams): BaseSchema;
3662
+ }
3663
+ declare namespace index_d_exports {
3664
+ 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, _check, _cidrv4, _cidrv6, _coercedBigint, _coercedBoolean, _coercedDate, _coercedNumber, _coercedString, _creditCard, _cuid, _cuid2, _custom, _date, _decode, _decodeAsync, _default, _discriminatedUnion, _e164, _email, _emoji, _encode, _encodeAsync, _endsWith, _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, _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, _union, _unknown, _uppercase, _url, _uuid, _uuidv4, _uuidv6, _uuidv7, _void, _xid, _xor, base64Charset, base64urlCharset, canParseURL, clone, compile, compileFn, config, createStandardJSONSchemaMethod, createToJSONSchemaMethod, decode$1 as decode, decodeAsync$1 as decodeAsync, describe, encode$1 as encode, encodeAsync$1 as encodeAsync, extractDefs, finalize, flattenError, formatError, getDiscriminatedOption, globalConfig, globalRegistry, handleUnrepresentable, output as infer, initializeContext, input, isBackEdge, isRecursiveSchema, isValidBase64, isValidBase64URL, isValidCIDRv6, isValidCreditCard, isValidIBAN, isValidIPv6, isValidJWT, index_d_exports$1 as locales, memoizer, mergeValues, meta$1 as meta, 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 };
3665
+ }
1757
3666
  //#endregion
1758
3667
  //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.d.cts
1759
3668
  /** An Error-like class used to store Zod validation issues. */
@@ -1772,8 +3681,9 @@ interface ZodError<T = unknown> extends $ZodError<T> {
1772
3681
  isEmpty: boolean;
1773
3682
  }
1774
3683
  declare const ZodError: $constructor<ZodError>;
1775
- //#endregion
1776
- //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.d.cts
3684
+ declare namespace parse_d_exports {
3685
+ export { ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, decode, decodeAsync, encode, encodeAsync, parse, parseAsync, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, validate, validateAsync };
3686
+ }
1777
3687
  type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
1778
3688
  type ZodSafeParseSuccess<T> = {
1779
3689
  success: true;
@@ -1785,6 +3695,36 @@ type ZodSafeParseError<T> = {
1785
3695
  data?: never;
1786
3696
  error: ZodError<T>;
1787
3697
  };
3698
+ declare const parse: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
3699
+ callee?: AnyFunc;
3700
+ Err?: $ZodErrorClass;
3701
+ }) => output<T>;
3702
+ declare const parseAsync: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>, _params?: {
3703
+ callee?: AnyFunc;
3704
+ Err?: $ZodErrorClass;
3705
+ }) => Promise<output<T>>;
3706
+ declare const safeParse: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output<T>>;
3707
+ declare const safeParseAsync: <T extends $ZodType>(schema: T, value: unknown, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<T>>>;
3708
+ declare const encode: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3709
+ callee?: AnyFunc;
3710
+ Err?: $ZodErrorClass;
3711
+ }) => input<T>;
3712
+ declare const decode: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3713
+ callee?: AnyFunc;
3714
+ Err?: $ZodErrorClass;
3715
+ }) => output<T>;
3716
+ declare const encodeAsync: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3717
+ callee?: AnyFunc;
3718
+ Err?: $ZodErrorClass;
3719
+ }) => Promise<input<T>>;
3720
+ declare const decodeAsync: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>, _params?: {
3721
+ callee?: AnyFunc;
3722
+ Err?: $ZodErrorClass;
3723
+ }) => Promise<output<T>>;
3724
+ declare const safeEncode: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<input<T>>;
3725
+ declare const safeDecode: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => ZodSafeParseResult<output<T>>;
3726
+ declare const safeEncodeAsync: <T extends $ZodType>(schema: T, value: output<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<input<T>>>;
3727
+ declare const safeDecodeAsync: <T extends $ZodType>(schema: T, value: input<T>, _ctx?: ParseContext<$ZodIssue>) => Promise<ZodSafeParseResult<output<T>>>;
1788
3728
  //#endregion
1789
3729
  //#region ../../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.d.cts
1790
3730
  type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input<T>, output<T>>;
@@ -2423,7 +4363,7 @@ interface Config$2 {
2423
4363
  /** Per-domain overrides: domain name → backend name. */
2424
4364
  routes?: Record<string, string>;
2425
4365
  }
2426
- declare const Config$2: Schema<Config$2>;
4366
+ declare const Config$2: Schema$1<Config$2>;
2427
4367
  /**
2428
4368
  * The mounted domain facility. Opens declared domains over routed backends;
2429
4369
  * one facility instance owns the open-domain table and enforces single-open
@@ -2497,7 +4437,7 @@ interface Config$1 {
2497
4437
  /** Longest time (milliseconds) a dirty checkpoint may stay unwritten between mandatory points. */
2498
4438
  writeIntervalMs: number;
2499
4439
  }
2500
- declare const Config$1: Schema<Config$1>;
4440
+ declare const Config$1: Schema$1<Config$1>;
2501
4441
  /**
2502
4442
  * The persisted projection cache service. Opens the `session_projcache`
2503
4443
  * domain at init, checkpoints live sessions on a throttled write-behind
@@ -2510,7 +4450,7 @@ declare const Config$1: Schema<Config$1>;
2510
4450
  declare class SessionProjectionCache extends Service {
2511
4451
  config: Config$1;
2512
4452
  static inject: string[];
2513
- static Config: Schema<Config$1>;
4453
+ static Config: Schema$1<Config$1>;
2514
4454
  private table?;
2515
4455
  private readonly dirty;
2516
4456
  constructor(ctx: Context, config: Config$1);
@@ -2996,16 +4936,16 @@ declare class WorkspaceRegistry extends Service {
2996
4936
  }
2997
4937
  //#endregion
2998
4938
  //#region ../session-rdb/src/import.d.ts
2999
- declare function parseJsonlArtifact(content: string): SessionStorageMetadata & {
4939
+ export declare function parseJsonlArtifact(content: string): SessionStorageMetadata & {
3000
4940
  events: SessionEvent$1[];
3001
4941
  };
3002
4942
  //#endregion
3003
4943
  //#region ../session-rdb/src/testing/contract.d.ts
3004
- declare function meta(id: string, cwd?: string): SessionHeader$1;
3005
- declare function oneTurnLog(): SessionEvent$1[];
4944
+ export declare function meta(id: string, cwd?: string): SessionHeader$1;
4945
+ export declare function oneTurnLog(): SessionEvent$1[];
3006
4946
  //#endregion
3007
4947
  //#region src/shared.d.ts
3008
- declare const SESSION_EDITOR_PATHS: {
4948
+ export declare const SESSION_EDITOR_PATHS: {
3009
4949
  readonly edit: "/api/morlay/v1/session/edit";
3010
4950
  readonly reroll: "/api/morlay/v1/session/reroll";
3011
4951
  readonly retry: "/api/morlay/v1/session/retry";
@@ -3016,17 +4956,17 @@ declare const SESSION_EDITOR_PATHS: {
3016
4956
  type SessionEditorAction = keyof typeof SESSION_EDITOR_PATHS;
3017
4957
  //#endregion
3018
4958
  //#region src/testing.d.ts
3019
- interface Harness {
4959
+ export interface Harness {
3020
4960
  ctx: Context;
3021
4961
  editor: SessionEditor;
3022
4962
  dispose: () => Promise<void>;
3023
4963
  }
3024
- declare function harness(provide?: (ctx: Context) => void): Promise<Harness>;
3025
- declare function twoTurnLog(): SessionEvent[];
3026
- declare function createPersisted(ctx: Context, id: string, events: readonly SessionEvent[], header?: SessionHeader): Promise<void>;
3027
- declare function userMessage(seq: number, id: string, text: string, time?: number): SessionEvent;
3028
- declare function assistantMessage(seq: number, turn: number, step: number, id: string, text: string, time?: number): SessionEvent;
3029
- declare function turnLog(base: number, turn: number, opts?: {
4964
+ export declare function harness(provide?: (ctx: Context) => void): Promise<Harness>;
4965
+ export declare function twoTurnLog(): SessionEvent[];
4966
+ export declare function createPersisted(ctx: Context, id: string, events: readonly SessionEvent[], header?: SessionHeader): Promise<void>;
4967
+ export declare function userMessage(seq: number, id: string, text: string, time?: number): SessionEvent;
4968
+ export declare function assistantMessage(seq: number, turn: number, step: number, id: string, text: string, time?: number): SessionEvent;
4969
+ export declare function turnLog(base: number, turn: number, opts?: {
3030
4970
  users?: Array<{
3031
4971
  id: string;
3032
4972
  text: string;
@@ -3035,4 +4975,4 @@ declare function turnLog(base: number, turn: number, opts?: {
3035
4975
  time?: number;
3036
4976
  }): SessionEvent[];
3037
4977
  //#endregion
3038
- export { Harness, SESSION_EDITOR_PATHS, Session, type SessionEditorAction, type SessionEvent, type SessionHeader, SessionIdBrand, SessionSeq, SessionStore, TokenMeter, assistantMessage, createPersisted, harness, meta, oneTurnLog, parseJsonlArtifact, turnLog, twoTurnLog, userMessage };
4978
+ export { Session, type SessionEditorAction, type SessionEvent, type SessionHeader, SessionIdBrand, SessionSeq, SessionStore, TokenMeter };