likec4 1.53.0 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,99 @@
1
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/standard-schema.d.cts
1
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/json-schema.d.cts
2
+ type _JSONSchema = boolean | JSONSchema$1;
3
+ type JSONSchema$1 = {
4
+ [k: string]: unknown;
5
+ $schema?: "https://json-schema.org/draft/2020-12/schema" | "http://json-schema.org/draft-07/schema#" | "http://json-schema.org/draft-04/schema#";
6
+ $id?: string;
7
+ $anchor?: string;
8
+ $ref?: string;
9
+ $dynamicRef?: string;
10
+ $dynamicAnchor?: string;
11
+ $vocabulary?: Record<string, boolean>;
12
+ $comment?: string;
13
+ $defs?: Record<string, JSONSchema$1>;
14
+ type?: "object" | "array" | "string" | "number" | "boolean" | "null" | "integer";
15
+ additionalItems?: _JSONSchema;
16
+ unevaluatedItems?: _JSONSchema;
17
+ prefixItems?: _JSONSchema[];
18
+ items?: _JSONSchema | _JSONSchema[];
19
+ contains?: _JSONSchema;
20
+ additionalProperties?: _JSONSchema;
21
+ unevaluatedProperties?: _JSONSchema;
22
+ properties?: Record<string, _JSONSchema>;
23
+ patternProperties?: Record<string, _JSONSchema>;
24
+ dependentSchemas?: Record<string, _JSONSchema>;
25
+ propertyNames?: _JSONSchema;
26
+ if?: _JSONSchema;
27
+ then?: _JSONSchema;
28
+ else?: _JSONSchema;
29
+ allOf?: JSONSchema$1[];
30
+ anyOf?: JSONSchema$1[];
31
+ oneOf?: JSONSchema$1[];
32
+ not?: _JSONSchema;
33
+ multipleOf?: number;
34
+ maximum?: number;
35
+ exclusiveMaximum?: number | boolean;
36
+ minimum?: number;
37
+ exclusiveMinimum?: number | boolean;
38
+ maxLength?: number;
39
+ minLength?: number;
40
+ pattern?: string;
41
+ maxItems?: number;
42
+ minItems?: number;
43
+ uniqueItems?: boolean;
44
+ maxContains?: number;
45
+ minContains?: number;
46
+ maxProperties?: number;
47
+ minProperties?: number;
48
+ required?: string[];
49
+ dependentRequired?: Record<string, string[]>;
50
+ enum?: Array<string | number | boolean | null>;
51
+ const?: string | number | boolean | null;
52
+ id?: string;
53
+ title?: string;
54
+ description?: string;
55
+ default?: unknown;
56
+ deprecated?: boolean;
57
+ readOnly?: boolean;
58
+ writeOnly?: boolean;
59
+ nullable?: boolean;
60
+ examples?: unknown[];
61
+ format?: string;
62
+ contentMediaType?: string;
63
+ contentEncoding?: string;
64
+ contentSchema?: JSONSchema$1;
65
+ _prefault?: unknown;
66
+ };
67
+ type BaseSchema = JSONSchema$1;
68
+ //#endregion
69
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/standard-schema.d.cts
70
+ /** The Standard interface. */
71
+ interface StandardTypedV1<Input = unknown, Output = Input> {
72
+ /** The Standard properties. */
73
+ readonly "~standard": StandardTypedV1.Props<Input, Output>;
74
+ }
75
+ declare namespace StandardTypedV1 {
76
+ /** The Standard properties interface. */
77
+ interface Props<Input = unknown, Output = Input> {
78
+ /** The version number of the standard. */
79
+ readonly version: 1;
80
+ /** The vendor name of the schema library. */
81
+ readonly vendor: string;
82
+ /** Inferred types associated with the schema. */
83
+ readonly types?: Types<Input, Output> | undefined;
84
+ }
85
+ /** The Standard types interface. */
86
+ interface Types<Input = unknown, Output = Input> {
87
+ /** The input type of the schema. */
88
+ readonly input: Input;
89
+ /** The output type of the schema. */
90
+ readonly output: Output;
91
+ }
92
+ /** Infers the input type of a Standard. */
93
+ type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["input"];
94
+ /** Infers the output type of a Standard. */
95
+ type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema["~standard"]["types"]>["output"];
96
+ }
2
97
  /** The Standard Schema interface. */
3
98
  interface StandardSchemaV1$1<Input = unknown, Output = Input> {
4
99
  /** The Standard Schema properties. */
@@ -6,15 +101,9 @@ interface StandardSchemaV1$1<Input = unknown, Output = Input> {
6
101
  }
7
102
  declare namespace StandardSchemaV1$1 {
8
103
  /** The Standard Schema properties interface. */
9
- interface Props<Input = unknown, Output = Input> {
10
- /** The version number of the standard. */
11
- readonly version: 1;
12
- /** The vendor name of the schema library. */
13
- readonly vendor: string;
104
+ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
14
105
  /** Validates unknown input values. */
15
- readonly validate: (value: unknown) => Result<Output> | Promise<Result<Output>>;
16
- /** Inferred types associated with the schema. */
17
- readonly types?: Types<Input, Output> | undefined;
106
+ readonly validate: (value: unknown, options?: StandardSchemaV1$1.Options | undefined) => Result<Output> | Promise<Result<Output>>;
18
107
  }
19
108
  /** The result interface of the validate function. */
20
109
  type Result<Output> = SuccessResult<Output> | FailureResult;
@@ -22,9 +111,13 @@ declare namespace StandardSchemaV1$1 {
22
111
  interface SuccessResult<Output> {
23
112
  /** The typed output value. */
24
113
  readonly value: Output;
25
- /** The non-existent issues. */
114
+ /** The absence of issues indicates success. */
26
115
  readonly issues?: undefined;
27
116
  }
117
+ interface Options {
118
+ /** Implicit support for additional vendor-specific parameters, if needed. */
119
+ readonly libraryOptions?: Record<string, unknown> | undefined;
120
+ }
28
121
  /** The result interface if validation fails. */
29
122
  interface FailureResult {
30
123
  /** The issues of failed validation. */
@@ -42,26 +135,179 @@ declare namespace StandardSchemaV1$1 {
42
135
  /** The key representing a path segment. */
43
136
  readonly key: PropertyKey;
44
137
  }
45
- /** The Standard Schema types interface. */
46
- interface Types<Input = unknown, Output = Input> {
47
- /** The input type of the schema. */
48
- readonly input: Input;
49
- /** The output type of the schema. */
50
- readonly output: Output;
138
+ /** The Standard types interface. */
139
+ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
140
+ /** Infers the input type of a Standard. */
141
+ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
142
+ /** Infers the output type of a Standard. */
143
+ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
144
+ }
145
+ /** The Standard JSON Schema interface. */
146
+ interface StandardJSONSchemaV1<Input = unknown, Output = Input> {
147
+ /** The Standard JSON Schema properties. */
148
+ readonly "~standard": StandardJSONSchemaV1.Props<Input, Output>;
149
+ }
150
+ declare namespace StandardJSONSchemaV1 {
151
+ /** The Standard JSON Schema properties interface. */
152
+ interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {
153
+ /** Methods for generating the input/output JSON Schema. */
154
+ readonly jsonSchema: Converter;
51
155
  }
52
- /** Infers the input type of a Standard Schema. */
53
- type InferInput<Schema extends StandardSchemaV1$1> = NonNullable<Schema["~standard"]["types"]>["input"];
54
- /** Infers the output type of a Standard Schema. */
55
- type InferOutput<Schema extends StandardSchemaV1$1> = NonNullable<Schema["~standard"]["types"]>["output"];
156
+ /** The Standard JSON Schema converter interface. */
157
+ interface Converter {
158
+ /** Converts the input type to JSON Schema. May throw if conversion is not supported. */
159
+ readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
160
+ /** Converts the output type to JSON Schema. May throw if conversion is not supported. */
161
+ readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;
162
+ }
163
+ /** The target version of the generated JSON Schema.
164
+ *
165
+ * It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use.
166
+ *
167
+ * The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`.
168
+ *
169
+ * All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target.
170
+ */
171
+ type Target = "draft-2020-12" | "draft-07" | "openapi-3.0" | ({} & string);
172
+ /** The options for the input/output methods. */
173
+ interface Options {
174
+ /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */
175
+ readonly target: Target;
176
+ /** Implicit support for additional vendor-specific parameters, if needed. */
177
+ readonly libraryOptions?: Record<string, unknown> | undefined;
178
+ }
179
+ /** The Standard types interface. */
180
+ interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {}
181
+ /** Infers the input type of a Standard. */
182
+ type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;
183
+ /** Infers the output type of a Standard. */
184
+ type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
185
+ }
186
+ interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1$1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {}
187
+ //#endregion
188
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.d.cts
189
+ declare const $output: unique symbol;
190
+ type $output = typeof $output;
191
+ declare const $input: unique symbol;
192
+ type $input = typeof $input;
193
+ type $replace<Meta, S extends $ZodType> = Meta extends $output ? output$1<S> : Meta extends $input ? input$1<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
194
+ type MetadataType = object | undefined;
195
+ declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
196
+ _meta: Meta;
197
+ _schema: Schema;
198
+ _map: WeakMap<Schema, $replace<Meta, Schema>>;
199
+ _idmap: Map<string, Schema>;
200
+ add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;
201
+ clear(): this;
202
+ remove(schema: Schema): this;
203
+ get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
204
+ has(schema: Schema): boolean;
205
+ }
206
+ interface JSONSchemaMeta {
207
+ id?: string | undefined;
208
+ title?: string | undefined;
209
+ description?: string | undefined;
210
+ deprecated?: boolean | undefined;
211
+ [k: string]: unknown;
212
+ }
213
+ interface GlobalMeta extends JSONSchemaMeta {}
214
+ //#endregion
215
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/to-json-schema.d.cts
216
+ type Processor<T extends $ZodType = $ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void;
217
+ interface JSONSchemaGeneratorParams {
218
+ processors: Record<string, Processor>;
219
+ /** A registry used to look up metadata for each schema. Any schema with an `id` property will be extracted as a $def.
220
+ * @default globalRegistry */
221
+ metadata?: $ZodRegistry<Record<string, any>>;
222
+ /** The JSON Schema version to target.
223
+ * - `"draft-2020-12"` — Default. JSON Schema Draft 2020-12
224
+ * - `"draft-07"` — JSON Schema Draft 7
225
+ * - `"draft-04"` — JSON Schema Draft 4
226
+ * - `"openapi-3.0"` — OpenAPI 3.0 Schema Object */
227
+ target?: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string) | undefined;
228
+ /** How to handle unrepresentable types.
229
+ * - `"throw"` — Default. Unrepresentable types throw an error
230
+ * - `"any"` — Unrepresentable types become `{}` */
231
+ unrepresentable?: "throw" | "any";
232
+ /** Arbitrary custom logic that can be used to modify the generated JSON Schema. */
233
+ override?: (ctx: {
234
+ zodSchema: $ZodTypes;
235
+ jsonSchema: BaseSchema;
236
+ path: (string | number)[];
237
+ }) => void;
238
+ /** Whether to extract the `"input"` or `"output"` type. Relevant to transforms, defaults, coerced primitives, etc.
239
+ * - `"output"` — Default. Convert the output schema.
240
+ * - `"input"` — Convert the input schema. */
241
+ io?: "input" | "output";
242
+ cycles?: "ref" | "throw";
243
+ reused?: "ref" | "inline";
244
+ external?: {
245
+ registry: $ZodRegistry<{
246
+ id?: string | undefined;
247
+ }>;
248
+ uri?: ((id: string) => string) | undefined;
249
+ defs: Record<string, BaseSchema>;
250
+ } | undefined;
251
+ }
252
+ /**
253
+ * Parameters for the toJSONSchema function.
254
+ */
255
+ type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, "processors" | "external">;
256
+ interface ProcessParams {
257
+ schemaPath: $ZodType[];
258
+ path: (string | number)[];
259
+ }
260
+ interface Seen {
261
+ /** JSON Schema result for this Zod schema */
262
+ schema: BaseSchema;
263
+ /** A cached version of the schema that doesn't get overwritten during ref resolution */
264
+ def?: BaseSchema;
265
+ defId?: string | undefined;
266
+ /** Number of times this schema was encountered during traversal */
267
+ count: number;
268
+ /** Cycle path */
269
+ cycle?: (string | number)[] | undefined;
270
+ isParent?: boolean | undefined;
271
+ /** Schema to inherit JSON Schema properties from (set by processor for wrappers) */
272
+ ref?: $ZodType | null;
273
+ /** JSON Schema property path for this schema */
274
+ path?: (string | number)[] | undefined;
275
+ }
276
+ interface ToJSONSchemaContext {
277
+ processors: Record<string, Processor>;
278
+ metadataRegistry: $ZodRegistry<Record<string, any>>;
279
+ target: "draft-04" | "draft-07" | "draft-2020-12" | "openapi-3.0" | ({} & string);
280
+ unrepresentable: "throw" | "any";
281
+ override: (ctx: {
282
+ zodSchema: $ZodType;
283
+ jsonSchema: BaseSchema;
284
+ path: (string | number)[];
285
+ }) => void;
286
+ io: "input" | "output";
287
+ counter: number;
288
+ seen: Map<$ZodType, Seen>;
289
+ cycles: "ref" | "throw";
290
+ reused: "ref" | "inline";
291
+ external?: {
292
+ registry: $ZodRegistry<{
293
+ id?: string | undefined;
294
+ }>;
295
+ uri?: ((id: string) => string) | undefined;
296
+ defs: Record<string, BaseSchema>;
297
+ } | undefined;
298
+ }
299
+ type ZodStandardSchemaWithJSON$1<T> = StandardSchemaWithJSONProps<input$1<T>, output$1<T>>;
300
+ interface ZodStandardJSONSchemaPayload<T> extends BaseSchema {
301
+ "~standard": ZodStandardSchemaWithJSON$1<T>;
56
302
  }
57
303
  //#endregion
58
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/util.d.cts
304
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.d.cts
59
305
  type JWTAlgorithm = "HS256" | "HS384" | "HS512" | "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "PS256" | "PS384" | "PS512" | "EdDSA" | (string & {});
306
+ 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 & {});
60
307
  type IsAny<T> = 0 extends 1 & T ? true : false;
61
308
  type Omit$1<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
62
309
  type MakePartial<T, K extends keyof T> = Omit$1<T, K> & InexactPartial<Pick<T, K>>;
63
310
  type NoUndefined<T> = T extends undefined ? never : T;
64
- type Whatever = {} | undefined | null;
65
311
  type LoosePartial<T extends object> = InexactPartial<T> & {
66
312
  [k: string]: unknown;
67
313
  };
@@ -76,6 +322,7 @@ type Identity<T> = T;
76
322
  type Flatten$1<T> = Identity<{ [k in keyof T]: T[k] }>;
77
323
  type Prettify<T> = { [K in keyof T]: T[K] } & {};
78
324
  type Extend<A extends SomeObject, B extends SomeObject> = Flatten$1<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] }>;
325
+ type TupleItems = ReadonlyArray<SomeType>;
79
326
  type AnyFunc = (...args: any[]) => any;
80
327
  type MaybeAsync<T> = T | Promise<T>;
81
328
  type EnumValue = string | number;
@@ -94,14 +341,14 @@ declare abstract class Class {
94
341
  constructor(..._args: any[]);
95
342
  }
96
343
  //#endregion
97
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/versions.d.cts
344
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.d.cts
98
345
  declare const version: {
99
346
  readonly major: 4;
100
- readonly minor: 0;
347
+ readonly minor: 3;
101
348
  readonly patch: number;
102
349
  };
103
350
  //#endregion
104
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/schemas.d.cts
351
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.d.cts
105
352
  interface ParseContext$1<T extends $ZodIssueBase = never> {
106
353
  /** Customize error messages. */
107
354
  readonly error?: $ZodErrorMap<T>;
@@ -113,14 +360,18 @@ interface ParseContext$1<T extends $ZodIssueBase = never> {
113
360
  /** @internal */
114
361
  interface ParseContextInternal<T extends $ZodIssueBase = never> extends ParseContext$1<T> {
115
362
  readonly async?: boolean | undefined;
363
+ readonly direction?: "forward" | "backward";
364
+ readonly skipChecks?: boolean;
116
365
  }
117
366
  interface ParsePayload<T = unknown> {
118
367
  value: T;
119
368
  issues: $ZodRawIssue[];
369
+ /** A may to mark a whole payload as aborted. Used in codecs/pipes. */
370
+ aborted?: boolean;
120
371
  }
121
372
  type CheckFn<T> = (input: ParsePayload<T>) => MaybeAsync<void>;
122
373
  interface $ZodTypeDef {
123
- type: "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "null" | "undefined" | "void" | "never" | "any" | "unknown" | "date" | "object" | "record" | "file" | "array" | "tuple" | "union" | "intersection" | "map" | "set" | "enum" | "literal" | "nullable" | "optional" | "nonoptional" | "success" | "transform" | "default" | "prefault" | "catch" | "nan" | "pipe" | "readonly" | "template_literal" | "promise" | "lazy" | "custom";
374
+ type: "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "null" | "undefined" | "void" | "never" | "any" | "unknown" | "date" | "object" | "record" | "file" | "array" | "tuple" | "union" | "intersection" | "map" | "set" | "enum" | "literal" | "nullable" | "optional" | "nonoptional" | "success" | "transform" | "default" | "prefault" | "catch" | "nan" | "pipe" | "readonly" | "template_literal" | "promise" | "lazy" | "function" | "custom";
124
375
  error?: $ZodErrorMap<never> | undefined;
125
376
  checks?: $ZodCheck<never>[];
126
377
  }
@@ -152,6 +403,7 @@ interface _$ZodTypeInternals {
152
403
  * Todo: unions?
153
404
  */
154
405
  values?: PrimitiveSet | undefined;
406
+ /** Default value bubbled up from */
155
407
  /** @internal A set of literal discriminators used for the fast path in discriminated unions. */
156
408
  propValues?: PropValues | undefined;
157
409
  /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
@@ -162,6 +414,8 @@ interface _$ZodTypeInternals {
162
414
  bag: Record<string, unknown>;
163
415
  /** @internal The set of issues this schema might throw during type checking. */
164
416
  isst: $ZodIssueBase;
417
+ /** @internal Subject to change, not a public API. */
418
+ processJSONSchema?: ((ctx: ToJSONSchemaContext, json: BaseSchema, params: ProcessParams) => void) | undefined;
165
419
  /** An optional method used to override `toJSONSchema` logic. */
166
420
  toJSONSchema?: () => unknown;
167
421
  /** @internal The parent of this schema. Only set during certain clone operations. */
@@ -182,6 +436,7 @@ interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals
182
436
  _zod: Internals;
183
437
  "~standard": $ZodStandardSchema<this>;
184
438
  }
439
+ interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {}
185
440
  declare const $ZodType: $constructor<$ZodType>;
186
441
  interface $ZodStringDef extends $ZodTypeDef {
187
442
  type: "string";
@@ -202,6 +457,8 @@ interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
202
457
  contentEncoding: string;
203
458
  }>;
204
459
  }
460
+ interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {}
461
+ declare const $ZodString: $constructor<$ZodString>;
205
462
  interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, $ZodCheckStringFormatDef<Format> {}
206
463
  interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, $ZodCheckStringFormatInternals {
207
464
  def: $ZodStringFormatDef<Format>;
@@ -233,6 +490,7 @@ declare const $ZodEmail: $constructor<$ZodEmail>;
233
490
  interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
234
491
  hostname?: RegExp | undefined;
235
492
  protocol?: RegExp | undefined;
493
+ normalize?: boolean | undefined;
236
494
  }
237
495
  interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
238
496
  def: $ZodURLDef;
@@ -392,6 +650,10 @@ interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number,
392
650
  pattern: RegExp;
393
651
  }>;
394
652
  }
653
+ interface $ZodNumber<Input = unknown> extends $ZodType {
654
+ _zod: $ZodNumberInternals<Input>;
655
+ }
656
+ declare const $ZodNumber: $constructor<$ZodNumber>;
395
657
  interface $ZodNumberFormatDef extends $ZodNumberDef, $ZodCheckNumberFormatDef {}
396
658
  interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, $ZodCheckNumberFormatInternals {
397
659
  def: $ZodNumberFormatDef;
@@ -407,6 +669,53 @@ interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T
407
669
  def: $ZodBooleanDef;
408
670
  isst: $ZodIssueInvalidType;
409
671
  }
672
+ interface $ZodBoolean<T = unknown> extends $ZodType {
673
+ _zod: $ZodBooleanInternals<T>;
674
+ }
675
+ declare const $ZodBoolean: $constructor<$ZodBoolean>;
676
+ interface $ZodBigIntDef extends $ZodTypeDef {
677
+ type: "bigint";
678
+ coerce?: boolean;
679
+ }
680
+ interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {
681
+ pattern: RegExp;
682
+ /** @internal Internal API, use with caution */
683
+ def: $ZodBigIntDef;
684
+ isst: $ZodIssueInvalidType;
685
+ bag: LoosePartial<{
686
+ minimum: bigint;
687
+ maximum: bigint;
688
+ format: string;
689
+ }>;
690
+ }
691
+ interface $ZodBigInt<T = unknown> extends $ZodType {
692
+ _zod: $ZodBigIntInternals<T>;
693
+ }
694
+ declare const $ZodBigInt: $constructor<$ZodBigInt>;
695
+ interface $ZodSymbolDef extends $ZodTypeDef {
696
+ type: "symbol";
697
+ }
698
+ interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {
699
+ def: $ZodSymbolDef;
700
+ isst: $ZodIssueInvalidType;
701
+ }
702
+ interface $ZodSymbol extends $ZodType {
703
+ _zod: $ZodSymbolInternals;
704
+ }
705
+ declare const $ZodSymbol: $constructor<$ZodSymbol>;
706
+ interface $ZodUndefinedDef extends $ZodTypeDef {
707
+ type: "undefined";
708
+ }
709
+ interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {
710
+ pattern: RegExp;
711
+ def: $ZodUndefinedDef;
712
+ values: PrimitiveSet;
713
+ isst: $ZodIssueInvalidType;
714
+ }
715
+ interface $ZodUndefined extends $ZodType {
716
+ _zod: $ZodUndefinedInternals;
717
+ }
718
+ declare const $ZodUndefined: $constructor<$ZodUndefined>;
410
719
  interface $ZodNullDef extends $ZodTypeDef {
411
720
  type: "null";
412
721
  }
@@ -416,6 +725,10 @@ interface $ZodNullInternals extends $ZodTypeInternals<null, null> {
416
725
  values: PrimitiveSet;
417
726
  isst: $ZodIssueInvalidType;
418
727
  }
728
+ interface $ZodNull extends $ZodType {
729
+ _zod: $ZodNullInternals;
730
+ }
731
+ declare const $ZodNull: $constructor<$ZodNull>;
419
732
  interface $ZodAnyDef extends $ZodTypeDef {
420
733
  type: "any";
421
734
  }
@@ -423,6 +736,10 @@ interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {
423
736
  def: $ZodAnyDef;
424
737
  isst: never;
425
738
  }
739
+ interface $ZodAny extends $ZodType {
740
+ _zod: $ZodAnyInternals;
741
+ }
742
+ declare const $ZodAny: $constructor<$ZodAny>;
426
743
  interface $ZodUnknownDef extends $ZodTypeDef {
427
744
  type: "unknown";
428
745
  }
@@ -430,6 +747,49 @@ interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {
430
747
  def: $ZodUnknownDef;
431
748
  isst: never;
432
749
  }
750
+ interface $ZodUnknown extends $ZodType {
751
+ _zod: $ZodUnknownInternals;
752
+ }
753
+ declare const $ZodUnknown: $constructor<$ZodUnknown>;
754
+ interface $ZodNeverDef extends $ZodTypeDef {
755
+ type: "never";
756
+ }
757
+ interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {
758
+ def: $ZodNeverDef;
759
+ isst: $ZodIssueInvalidType;
760
+ }
761
+ interface $ZodNever extends $ZodType {
762
+ _zod: $ZodNeverInternals;
763
+ }
764
+ declare const $ZodNever: $constructor<$ZodNever>;
765
+ interface $ZodVoidDef extends $ZodTypeDef {
766
+ type: "void";
767
+ }
768
+ interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {
769
+ def: $ZodVoidDef;
770
+ isst: $ZodIssueInvalidType;
771
+ }
772
+ interface $ZodVoid extends $ZodType {
773
+ _zod: $ZodVoidInternals;
774
+ }
775
+ declare const $ZodVoid: $constructor<$ZodVoid>;
776
+ interface $ZodDateDef extends $ZodTypeDef {
777
+ type: "date";
778
+ coerce?: boolean;
779
+ }
780
+ interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {
781
+ def: $ZodDateDef;
782
+ isst: $ZodIssueInvalidType;
783
+ bag: LoosePartial<{
784
+ minimum: Date;
785
+ maximum: Date;
786
+ format: string;
787
+ }>;
788
+ }
789
+ interface $ZodDate<T = unknown> extends $ZodType {
790
+ _zod: $ZodDateInternals<T>;
791
+ }
792
+ declare const $ZodDate: $constructor<$ZodDate>;
433
793
  interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
434
794
  type: "array";
435
795
  element: T;
@@ -486,24 +846,25 @@ interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef
486
846
  shape: Shape;
487
847
  catchall?: $ZodType | undefined;
488
848
  }
489
- interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
849
+ interface $ZodObjectInternals< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
490
850
  def: $ZodObjectDef<Shape>;
491
851
  config: Config;
492
852
  isst: $ZodIssueInvalidType | $ZodIssueUnrecognizedKeys;
493
853
  propValues: PropValues;
494
854
  output: $InferObjectOutput<Shape, Config["out"]>;
495
855
  input: $InferObjectInput<Shape, Config["in"]>;
856
+ optin?: "optional" | undefined;
857
+ optout?: "optional" | undefined;
496
858
  }
497
859
  type $ZodLooseShape = Record<string, any>;
498
- interface $ZodObject< /** @ts-ignore Cast variance */out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {
499
- "~standard": $ZodStandardSchema<this>;
500
- }
860
+ interface $ZodObject< /** @ts-ignore Cast variance */out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {}
501
861
  declare const $ZodObject: $constructor<$ZodObject>;
502
862
  type $InferUnionOutput<T extends SomeType> = T extends any ? output$1<T> : never;
503
863
  type $InferUnionInput<T extends SomeType> = T extends any ? input$1<T> : never;
504
864
  interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
505
865
  type: "union";
506
866
  options: Options;
867
+ inclusive?: boolean;
507
868
  }
508
869
  type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
509
870
  type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
@@ -521,16 +882,16 @@ interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends
521
882
  _zod: $ZodUnionInternals<T>;
522
883
  }
523
884
  declare const $ZodUnion: $constructor<$ZodUnion>;
524
- interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionDef<Options> {
525
- discriminator: string;
885
+ interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {
886
+ discriminator: Disc;
526
887
  unionFallback?: boolean;
527
888
  }
528
- interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<Options> {
529
- def: $ZodDiscriminatedUnionDef<Options>;
889
+ interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {
890
+ def: $ZodDiscriminatedUnionDef<Options, Disc>;
530
891
  propValues: PropValues;
531
892
  }
532
- interface $ZodDiscriminatedUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType {
533
- _zod: $ZodDiscriminatedUnionInternals<T>;
893
+ interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {
894
+ _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
534
895
  }
535
896
  declare const $ZodDiscriminatedUnion: $constructor<$ZodDiscriminatedUnion>;
536
897
  interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
@@ -538,24 +899,49 @@ interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends So
538
899
  left: Left;
539
900
  right: Right;
540
901
  }
541
- interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<A> & output$1<B>, input$1<A> & input$1<B>> {
902
+ interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {
542
903
  def: $ZodIntersectionDef<A, B>;
543
904
  isst: never;
544
905
  optin: A["_zod"]["optin"] | B["_zod"]["optin"];
545
906
  optout: A["_zod"]["optout"] | B["_zod"]["optout"];
907
+ output: output$1<A> & output$1<B>;
908
+ input: input$1<A> & input$1<B>;
546
909
  }
547
910
  interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
548
911
  _zod: $ZodIntersectionInternals<A, B>;
549
912
  }
550
913
  declare const $ZodIntersection: $constructor<$ZodIntersection>;
551
- type $ZodRecordKey = $ZodType<string | number | symbol, string | number | symbol>;
914
+ interface $ZodTupleDef<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
915
+ type: "tuple";
916
+ items: T;
917
+ rest: Rest;
918
+ }
919
+ type $InferTupleInputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleInputTypeWithOptionals<T>, ...(Rest extends SomeType ? input$1<Rest>[] : [])];
920
+ type TupleInputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: input$1<T[k]> };
921
+ type TupleInputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, input$1<Tail>?] : TupleInputTypeNoOptionals<T> : [];
922
+ type $InferTupleOutputType<T extends TupleItems, Rest extends SomeType | null> = [...TupleOutputTypeWithOptionals<T>, ...(Rest extends SomeType ? output$1<Rest>[] : [])];
923
+ type TupleOutputTypeNoOptionals<T extends TupleItems> = { [k in keyof T]: output$1<T[k]> };
924
+ type TupleOutputTypeWithOptionals<T extends TupleItems> = T extends readonly [...infer Prefix extends SomeType[], infer Tail extends SomeType] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, output$1<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
925
+ interface $ZodTupleInternals<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
926
+ def: $ZodTupleDef<T, Rest>;
927
+ isst: $ZodIssueInvalidType | $ZodIssueTooBig<unknown[]> | $ZodIssueTooSmall<unknown[]>;
928
+ output: $InferTupleOutputType<T, Rest>;
929
+ input: $InferTupleInputType<T, Rest>;
930
+ }
931
+ interface $ZodTuple<T extends TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {
932
+ _zod: $ZodTupleInternals<T, Rest>;
933
+ }
934
+ declare const $ZodTuple: $constructor<$ZodTuple>;
935
+ type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;
552
936
  interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {
553
937
  type: "record";
554
938
  keyType: Key;
555
939
  valueType: Value;
940
+ /** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
941
+ mode?: "strict" | "loose";
556
942
  }
557
943
  type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<output$1<Key>, output$1<Value>>> : Record<output$1<Key>, output$1<Value>>;
558
- type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input$1<Key>, input$1<Value>>> : Record<input$1<Key>, input$1<Value>>;
944
+ type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<input$1<Key> & PropertyKey, input$1<Value>>> : Record<input$1<Key> & PropertyKey, input$1<Value>>;
559
945
  interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
560
946
  def: $ZodRecordDef<Key, Value>;
561
947
  isst: $ZodIssueInvalidType | $ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
@@ -569,6 +955,35 @@ interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends So
569
955
  _zod: $ZodRecordInternals<Key, Value>;
570
956
  }
571
957
  declare const $ZodRecord: $constructor<$ZodRecord>;
958
+ interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
959
+ type: "map";
960
+ keyType: Key;
961
+ valueType: Value;
962
+ }
963
+ interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<output$1<Key>, output$1<Value>>, Map<input$1<Key>, input$1<Value>>> {
964
+ def: $ZodMapDef<Key, Value>;
965
+ isst: $ZodIssueInvalidType | $ZodIssueInvalidKey | $ZodIssueInvalidElement<unknown>;
966
+ optin?: "optional" | undefined;
967
+ optout?: "optional" | undefined;
968
+ }
969
+ interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
970
+ _zod: $ZodMapInternals<Key, Value>;
971
+ }
972
+ declare const $ZodMap: $constructor<$ZodMap>;
973
+ interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
974
+ type: "set";
975
+ valueType: T;
976
+ }
977
+ interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<output$1<T>>, Set<input$1<T>>> {
978
+ def: $ZodSetDef<T>;
979
+ isst: $ZodIssueInvalidType;
980
+ optin?: "optional" | undefined;
981
+ optout?: "optional" | undefined;
982
+ }
983
+ interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
984
+ _zod: $ZodSetInternals<T>;
985
+ }
986
+ declare const $ZodSet: $constructor<$ZodSet>;
572
987
  type $InferEnumOutput<T extends EnumLike> = T[keyof T] & {};
573
988
  type $InferEnumInput<T extends EnumLike> = T[keyof T] & {};
574
989
  interface $ZodEnumDef<T extends EnumLike = EnumLike> extends $ZodTypeDef {
@@ -601,9 +1016,30 @@ interface $ZodLiteral<T extends Literal = Literal> extends $ZodType {
601
1016
  _zod: $ZodLiteralInternals<T>;
602
1017
  }
603
1018
  declare const $ZodLiteral: $constructor<$ZodLiteral>;
604
- declare global {
605
- interface File {}
1019
+ type _File = typeof globalThis extends {
1020
+ File: infer F extends new (...args: any[]) => any;
1021
+ } ? InstanceType<F> : {};
1022
+ /** Do not reference this directly. */
1023
+ interface File extends _File {
1024
+ readonly type: string;
1025
+ readonly size: number;
1026
+ }
1027
+ interface $ZodFileDef extends $ZodTypeDef {
1028
+ type: "file";
1029
+ }
1030
+ interface $ZodFileInternals extends $ZodTypeInternals<File, File> {
1031
+ def: $ZodFileDef;
1032
+ isst: $ZodIssueInvalidType;
1033
+ bag: LoosePartial<{
1034
+ minimum: number;
1035
+ maximum: number;
1036
+ mime: MimeTypes[];
1037
+ }>;
606
1038
  }
1039
+ interface $ZodFile extends $ZodType {
1040
+ _zod: $ZodFileInternals;
1041
+ }
1042
+ declare const $ZodFile: $constructor<$ZodFile>;
607
1043
  interface $ZodTransformDef extends $ZodTypeDef {
608
1044
  type: "transform";
609
1045
  transform: (input: unknown, payload: ParsePayload<unknown>) => MaybeAsync<unknown>;
@@ -632,6 +1068,16 @@ interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
632
1068
  _zod: $ZodOptionalInternals<T>;
633
1069
  }
634
1070
  declare const $ZodOptional: $constructor<$ZodOptional>;
1071
+ interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {}
1072
+ interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
1073
+ def: $ZodExactOptionalDef<T>;
1074
+ output: output$1<T>;
1075
+ input: input$1<T>;
1076
+ }
1077
+ interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
1078
+ _zod: $ZodExactOptionalInternals<T>;
1079
+ }
1080
+ declare const $ZodExactOptional: $constructor<$ZodExactOptional>;
635
1081
  interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
636
1082
  type: "nullable";
637
1083
  innerType: T;
@@ -697,6 +1143,20 @@ interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
697
1143
  _zod: $ZodNonOptionalInternals<T>;
698
1144
  }
699
1145
  declare const $ZodNonOptional: $constructor<$ZodNonOptional>;
1146
+ interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1147
+ type: "success";
1148
+ innerType: T;
1149
+ }
1150
+ interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, input$1<T>> {
1151
+ def: $ZodSuccessDef<T>;
1152
+ isst: never;
1153
+ optin: T["_zod"]["optin"];
1154
+ optout: "optional" | undefined;
1155
+ }
1156
+ interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
1157
+ _zod: $ZodSuccessInternals<T>;
1158
+ }
1159
+ declare const $ZodSuccess: $constructor<$ZodSuccess>;
700
1160
  interface $ZodCatchCtx extends ParsePayload {
701
1161
  /** @deprecated Use `ctx.issues` */
702
1162
  error: {
@@ -710,7 +1170,7 @@ interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
710
1170
  innerType: T;
711
1171
  catchValue: (ctx: $ZodCatchCtx) => unknown;
712
1172
  }
713
- interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T>, input$1<T> | Whatever> {
1173
+ interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T>, input$1<T>> {
714
1174
  def: $ZodCatchDef<T>;
715
1175
  optin: T["_zod"]["optin"];
716
1176
  optout: T["_zod"]["optout"];
@@ -721,10 +1181,25 @@ interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
721
1181
  _zod: $ZodCatchInternals<T>;
722
1182
  }
723
1183
  declare const $ZodCatch: $constructor<$ZodCatch>;
1184
+ interface $ZodNaNDef extends $ZodTypeDef {
1185
+ type: "nan";
1186
+ }
1187
+ interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
1188
+ def: $ZodNaNDef;
1189
+ isst: $ZodIssueInvalidType;
1190
+ }
1191
+ interface $ZodNaN extends $ZodType {
1192
+ _zod: $ZodNaNInternals;
1193
+ }
1194
+ declare const $ZodNaN: $constructor<$ZodNaN>;
724
1195
  interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
725
1196
  type: "pipe";
726
1197
  in: A;
727
1198
  out: B;
1199
+ /** Only defined inside $ZodCodec instances. */
1200
+ transform?: (value: output$1<A>, payload: ParsePayload<output$1<A>>) => MaybeAsync<input$1<B>>;
1201
+ /** Only defined inside $ZodCodec instances. */
1202
+ reverseTransform?: (value: input$1<B>, payload: ParsePayload<input$1<B>>) => MaybeAsync<output$1<A>>;
728
1203
  }
729
1204
  interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<B>, input$1<A>> {
730
1205
  def: $ZodPipeDef<A, B>;
@@ -732,6 +1207,7 @@ interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType =
732
1207
  values: A["_zod"]["values"];
733
1208
  optin: A["_zod"]["optin"];
734
1209
  optout: B["_zod"]["optout"];
1210
+ propValues: A["_zod"]["propValues"];
735
1211
  }
736
1212
  interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
737
1213
  _zod: $ZodPipeInternals<A, B>;
@@ -753,6 +1229,87 @@ interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
753
1229
  _zod: $ZodReadonlyInternals<T>;
754
1230
  }
755
1231
  declare const $ZodReadonly: $constructor<$ZodReadonly>;
1232
+ interface $ZodTemplateLiteralDef extends $ZodTypeDef {
1233
+ type: "template_literal";
1234
+ parts: $ZodTemplateLiteralPart[];
1235
+ format?: string | undefined;
1236
+ }
1237
+ interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {
1238
+ pattern: RegExp;
1239
+ def: $ZodTemplateLiteralDef;
1240
+ isst: $ZodIssueInvalidType;
1241
+ }
1242
+ interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
1243
+ _zod: $ZodTemplateLiteralInternals<Template>;
1244
+ }
1245
+ type LiteralPart = Exclude<Literal, symbol>;
1246
+ interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
1247
+ pattern: RegExp;
1248
+ }
1249
+ interface SchemaPart extends $ZodType {
1250
+ _zod: SchemaPartInternals;
1251
+ }
1252
+ type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
1253
+ declare const $ZodTemplateLiteral: $constructor<$ZodTemplateLiteral>;
1254
+ type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1255
+ type $ZodFunctionIn = $ZodFunctionArgs;
1256
+ type $ZodFunctionOut = $ZodType;
1257
+ type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output$1<Args>) => input$1<Returns>;
1258
+ type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : output$1<Args>) => MaybeAsync<input$1<Returns>>;
1259
+ type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input$1<Args>) => output$1<Returns>;
1260
+ type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : input$1<Args>) => Promise<output$1<Returns>>;
1261
+ interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
1262
+ type: "function";
1263
+ input: In;
1264
+ output: Out;
1265
+ }
1266
+ interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
1267
+ def: $ZodFunctionDef<Args, Returns>;
1268
+ isst: $ZodIssueInvalidType;
1269
+ }
1270
+ interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
1271
+ /** @deprecated */
1272
+ _def: $ZodFunctionDef<Args, Returns>;
1273
+ _input: $InferInnerFunctionType<Args, Returns>;
1274
+ _output: $InferOuterFunctionType<Args, Returns>;
1275
+ implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this["_output"]>) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
1276
+ implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
1277
+ input<const Items extends TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
1278
+ input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
1279
+ input(...args: any[]): $ZodFunction<any, Returns>;
1280
+ output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
1281
+ }
1282
+ declare const $ZodFunction: $constructor<$ZodFunction>;
1283
+ interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1284
+ type: "promise";
1285
+ innerType: T;
1286
+ }
1287
+ interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<output$1<T>>, MaybeAsync<input$1<T>>> {
1288
+ def: $ZodPromiseDef<T>;
1289
+ isst: never;
1290
+ }
1291
+ interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
1292
+ _zod: $ZodPromiseInternals<T>;
1293
+ }
1294
+ declare const $ZodPromise: $constructor<$ZodPromise>;
1295
+ interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1296
+ type: "lazy";
1297
+ getter: () => T;
1298
+ }
1299
+ interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<output$1<T>, input$1<T>> {
1300
+ def: $ZodLazyDef<T>;
1301
+ isst: never;
1302
+ /** Auto-cached way to retrieve the inner schema */
1303
+ innerType: T;
1304
+ pattern: T["_zod"]["pattern"];
1305
+ propValues: T["_zod"]["propValues"];
1306
+ optin: T["_zod"]["optin"];
1307
+ optout: T["_zod"]["optout"];
1308
+ }
1309
+ interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
1310
+ _zod: $ZodLazyInternals<T>;
1311
+ }
1312
+ declare const $ZodLazy: $constructor<$ZodLazy>;
756
1313
  interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, $ZodCheckDef {
757
1314
  type: "custom";
758
1315
  check: "custom";
@@ -773,8 +1330,9 @@ interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
773
1330
  _zod: $ZodCustomInternals<O, I>;
774
1331
  }
775
1332
  declare const $ZodCustom: $constructor<$ZodCustom>;
1333
+ 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;
776
1334
  //#endregion
777
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/checks.d.cts
1335
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.d.cts
778
1336
  interface $ZodCheckDef {
779
1337
  check: string;
780
1338
  error?: $ZodErrorMap<never> | undefined;
@@ -956,17 +1514,18 @@ interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {
956
1514
  }
957
1515
  declare const $ZodCheckEndsWith: $constructor<$ZodCheckEndsWith>;
958
1516
  //#endregion
959
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/errors.d.cts
1517
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.d.cts
960
1518
  interface $ZodIssueBase {
961
1519
  readonly code?: string;
962
1520
  readonly input?: unknown;
963
1521
  readonly path: PropertyKey[];
964
1522
  readonly message: string;
965
1523
  }
1524
+ type $ZodInvalidTypeExpected = "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "undefined" | "null" | "never" | "void" | "date" | "array" | "object" | "tuple" | "record" | "map" | "set" | "file" | "nonoptional" | "nan" | "function" | (string & {});
966
1525
  interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {
967
1526
  readonly code: "invalid_type";
968
- readonly expected: $ZodType["_zod"]["def"]["type"];
969
- readonly input: Input;
1527
+ readonly expected: $ZodInvalidTypeExpected;
1528
+ readonly input?: Input;
970
1529
  }
971
1530
  interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
972
1531
  readonly code: "too_big";
@@ -974,7 +1533,7 @@ interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {
974
1533
  readonly maximum: number | bigint;
975
1534
  readonly inclusive?: boolean;
976
1535
  readonly exact?: boolean;
977
- readonly input: Input;
1536
+ readonly input?: Input;
978
1537
  }
979
1538
  interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {
980
1539
  readonly code: "too_small";
@@ -984,59 +1543,70 @@ interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {
984
1543
  readonly inclusive?: boolean;
985
1544
  /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */
986
1545
  readonly exact?: boolean;
987
- readonly input: Input;
1546
+ readonly input?: Input;
988
1547
  }
989
1548
  interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {
990
1549
  readonly code: "invalid_format";
991
1550
  readonly format: $ZodStringFormats | (string & {});
992
1551
  readonly pattern?: string;
993
- readonly input: string;
1552
+ readonly input?: string;
994
1553
  }
995
1554
  interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {
996
1555
  readonly code: "not_multiple_of";
997
1556
  readonly divisor: number;
998
- readonly input: Input;
1557
+ readonly input?: Input;
999
1558
  }
1000
1559
  interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {
1001
1560
  readonly code: "unrecognized_keys";
1002
1561
  readonly keys: string[];
1003
- readonly input: Record<string, unknown>;
1562
+ readonly input?: Record<string, unknown>;
1004
1563
  }
1005
- interface $ZodIssueInvalidUnion extends $ZodIssueBase {
1564
+ interface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {
1006
1565
  readonly code: "invalid_union";
1007
1566
  readonly errors: $ZodIssue[][];
1008
- readonly input: unknown;
1567
+ readonly input?: unknown;
1568
+ readonly discriminator?: string | undefined;
1569
+ readonly inclusive?: true;
1009
1570
  }
1571
+ interface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {
1572
+ readonly code: "invalid_union";
1573
+ readonly errors: [];
1574
+ readonly input?: unknown;
1575
+ readonly discriminator?: string | undefined;
1576
+ readonly inclusive: false;
1577
+ }
1578
+ type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;
1010
1579
  interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {
1011
1580
  readonly code: "invalid_key";
1012
1581
  readonly origin: "map" | "record";
1013
1582
  readonly issues: $ZodIssue[];
1014
- readonly input: Input;
1583
+ readonly input?: Input;
1015
1584
  }
1016
1585
  interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {
1017
1586
  readonly code: "invalid_element";
1018
1587
  readonly origin: "map" | "set";
1019
1588
  readonly key: unknown;
1020
1589
  readonly issues: $ZodIssue[];
1021
- readonly input: Input;
1590
+ readonly input?: Input;
1022
1591
  }
1023
1592
  interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {
1024
1593
  readonly code: "invalid_value";
1025
1594
  readonly values: Primitive$2[];
1026
- readonly input: Input;
1595
+ readonly input?: Input;
1027
1596
  }
1028
1597
  interface $ZodIssueCustom extends $ZodIssueBase {
1029
1598
  readonly code: "custom";
1030
1599
  readonly params?: Record<string, any> | undefined;
1031
- readonly input: unknown;
1600
+ readonly input?: unknown;
1032
1601
  }
1033
1602
  type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;
1034
- type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
1035
- type RawIssue<T extends $ZodIssueBase> = Flatten$1<MakePartial<T, "message" | "path"> & {
1036
- /** The input data */readonly input?: unknown; /** The schema or check that originated this issue. */
1037
- readonly inst?: $ZodType | $ZodCheck; /** @deprecated Internal use only. If `true`, Zod will continue executing validation despite this issue. */
1603
+ type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue$1<T> : never;
1604
+ type RawIssue$1<T extends $ZodIssueBase> = T extends any ? Flatten$1<MakePartial<T, "message" | "path"> & {
1605
+ /** The input data */readonly input: unknown; /** The schema or check that originated this issue. */
1606
+ readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will continue executing checks/refinements after this issue. */
1038
1607
  readonly continue?: boolean | undefined;
1039
- } & Record<string, any>>;
1608
+ } & Record<string, unknown>> : never;
1609
+ type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;
1040
1610
  interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {
1041
1611
  (issue: $ZodRawIssue<T>): {
1042
1612
  message: string;
@@ -1065,7 +1635,7 @@ type $ZodFormattedError<T, U = string> = {
1065
1635
  _errors: U[];
1066
1636
  } & Flatten$1<_ZodFormattedError<T, U>>;
1067
1637
  //#endregion
1068
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/core.d.cts
1638
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/core.d.cts
1069
1639
  type ZodTrait = {
1070
1640
  _zod: {
1071
1641
  def: any;
@@ -1083,46 +1653,32 @@ declare const $brand: unique symbol;
1083
1653
  type $brand<T extends string | number | symbol = string | number | symbol> = {
1084
1654
  [$brand]: { [k in T]: true };
1085
1655
  };
1086
- type $ZodBranded<T extends SomeType, Brand extends string | number | symbol> = T & Record<"_zod", Record<"output", output$1<T> & $brand<Brand>>>;
1656
+ type $ZodBranded<T extends SomeType, Brand extends string | number | symbol, Dir extends "in" | "out" | "inout" = "out"> = T & (Dir extends "inout" ? {
1657
+ _zod: {
1658
+ input: input$1<T> & $brand<Brand>;
1659
+ output: output$1<T> & $brand<Brand>;
1660
+ };
1661
+ } : Dir extends "in" ? {
1662
+ _zod: {
1663
+ input: input$1<T> & $brand<Brand>;
1664
+ };
1665
+ } : {
1666
+ _zod: {
1667
+ output: output$1<T> & $brand<Brand>;
1668
+ };
1669
+ });
1087
1670
  type input$1<T> = T extends {
1088
1671
  _zod: {
1089
1672
  input: any;
1090
1673
  };
1091
- } ? Required<T["_zod"]>["input"] : unknown;
1674
+ } ? T["_zod"]["input"] : unknown;
1092
1675
  type output$1<T> = T extends {
1093
1676
  _zod: {
1094
1677
  output: any;
1095
1678
  };
1096
- } ? Required<T["_zod"]>["output"] : unknown;
1679
+ } ? T["_zod"]["output"] : unknown;
1097
1680
  //#endregion
1098
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/registries.d.cts
1099
- declare const $output: unique symbol;
1100
- type $output = typeof $output;
1101
- declare const $input: unique symbol;
1102
- type $input = typeof $input;
1103
- type $replace<Meta, S extends $ZodType> = Meta extends $output ? output$1<S> : Meta extends $input ? input$1<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends ((...args: infer P) => infer R) ? (...args: { [K in keyof P]: $replace<P[K], S> }) => $replace<R, S> : Meta extends object ? { [K in keyof Meta]: $replace<Meta[K], S> } : Meta;
1104
- type MetadataType = Record<string, unknown> | undefined;
1105
- declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {
1106
- _meta: Meta;
1107
- _schema: Schema;
1108
- _map: Map<Schema, $replace<Meta, Schema>>;
1109
- _idmap: Map<string, Schema>;
1110
- add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;
1111
- clear(): this;
1112
- remove(schema: Schema): this;
1113
- get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;
1114
- has(schema: Schema): boolean;
1115
- }
1116
- interface JSONSchemaMeta {
1117
- id?: string | undefined;
1118
- title?: string | undefined;
1119
- description?: string | undefined;
1120
- deprecated?: boolean | undefined;
1121
- [k: string]: unknown;
1122
- }
1123
- interface GlobalMeta extends JSONSchemaMeta {}
1124
- //#endregion
1125
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/core/api.d.cts
1681
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.d.cts
1126
1682
  type Params<T extends $ZodType | $ZodCheck, IssueTypes extends $ZodIssueBase, OmitKeys extends keyof T["_zod"]["def"] = never> = Flatten$1<Partial<EmptyToNever<Omit<T["_zod"]["def"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {
1127
1683
  error?: string | $ZodErrorMap<IssueTypes> | undefined; /** @deprecated This parameter is deprecated. Use `error` instead. */
1128
1684
  message?: string | undefined;
@@ -1134,47 +1690,55 @@ type CheckParams<T extends $ZodCheck = $ZodCheck, // & { _issc: never },
1134
1690
  AlsoOmit extends Exclude<keyof T["_zod"]["def"], "check" | "error"> = never> = Params<T, NonNullable<T["_zod"]["issc"]>, "check" | "error" | AlsoOmit>;
1135
1691
  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>;
1136
1692
  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>;
1137
- type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail>;
1138
- type $ZodCheckGUIDParams = CheckStringFormatParams<$ZodGUID, "pattern">;
1139
- type $ZodCheckUUIDParams = CheckStringFormatParams<$ZodUUID, "pattern">;
1140
- type $ZodCheckURLParams = CheckStringFormatParams<$ZodURL>;
1141
- type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji>;
1142
- type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID>;
1143
- type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID>;
1144
- type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2>;
1145
- type $ZodCheckULIDParams = CheckStringFormatParams<$ZodULID>;
1146
- type $ZodCheckXIDParams = CheckStringFormatParams<$ZodXID>;
1147
- type $ZodCheckKSUIDParams = CheckStringFormatParams<$ZodKSUID>;
1148
- type $ZodCheckIPv4Params = CheckStringFormatParams<$ZodIPv4, "pattern">;
1149
- type $ZodCheckIPv6Params = CheckStringFormatParams<$ZodIPv6, "pattern">;
1150
- type $ZodCheckCIDRv4Params = CheckStringFormatParams<$ZodCIDRv4, "pattern">;
1151
- type $ZodCheckCIDRv6Params = CheckStringFormatParams<$ZodCIDRv6, "pattern">;
1152
- type $ZodCheckBase64Params = CheckStringFormatParams<$ZodBase64, "pattern">;
1153
- type $ZodCheckBase64URLParams = CheckStringFormatParams<$ZodBase64URL, "pattern">;
1154
- type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164>;
1155
- type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern">;
1156
- type $ZodCheckISODateTimeParams = CheckStringFormatParams<$ZodISODateTime, "pattern">;
1157
- type $ZodCheckISODateParams = CheckStringFormatParams<$ZodISODate, "pattern">;
1158
- type $ZodCheckISOTimeParams = CheckStringFormatParams<$ZodISOTime, "pattern">;
1159
- type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration>;
1160
- type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format">;
1161
- type $ZodCheckLessThanParams = CheckParams<$ZodCheckLessThan, "inclusive" | "value">;
1162
- type $ZodCheckGreaterThanParams = CheckParams<$ZodCheckGreaterThan, "inclusive" | "value">;
1163
- type $ZodCheckMultipleOfParams = CheckParams<$ZodCheckMultipleOf, "value">;
1164
- type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum">;
1165
- type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum">;
1166
- type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length">;
1167
- type $ZodCheckRegexParams = CheckParams<$ZodCheckRegex, "format" | "pattern">;
1168
- type $ZodCheckLowerCaseParams = CheckParams<$ZodCheckLowerCase, "format">;
1169
- type $ZodCheckUpperCaseParams = CheckParams<$ZodCheckUpperCase, "format">;
1170
- type $ZodCheckIncludesParams = CheckParams<$ZodCheckIncludes, "includes" | "format" | "pattern">;
1171
- type $ZodCheckStartsWithParams = CheckParams<$ZodCheckStartsWith, "prefix" | "format" | "pattern">;
1172
- type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern">;
1693
+ type $ZodCheckEmailParams = CheckStringFormatParams<$ZodEmail, "when">;
1694
+ type $ZodCheckGUIDParams = CheckStringFormatParams<$ZodGUID, "pattern" | "when">;
1695
+ type $ZodCheckUUIDParams = CheckStringFormatParams<$ZodUUID, "pattern" | "when">;
1696
+ type $ZodCheckURLParams = CheckStringFormatParams<$ZodURL, "when">;
1697
+ type $ZodCheckEmojiParams = CheckStringFormatParams<$ZodEmoji, "when">;
1698
+ type $ZodCheckNanoIDParams = CheckStringFormatParams<$ZodNanoID, "when">;
1699
+ type $ZodCheckCUIDParams = CheckStringFormatParams<$ZodCUID, "when">;
1700
+ type $ZodCheckCUID2Params = CheckStringFormatParams<$ZodCUID2, "when">;
1701
+ type $ZodCheckULIDParams = CheckStringFormatParams<$ZodULID, "when">;
1702
+ type $ZodCheckXIDParams = CheckStringFormatParams<$ZodXID, "when">;
1703
+ type $ZodCheckKSUIDParams = CheckStringFormatParams<$ZodKSUID, "when">;
1704
+ type $ZodCheckIPv4Params = CheckStringFormatParams<$ZodIPv4, "pattern" | "when" | "version">;
1705
+ type $ZodCheckIPv6Params = CheckStringFormatParams<$ZodIPv6, "pattern" | "when" | "version">;
1706
+ type $ZodCheckCIDRv4Params = CheckStringFormatParams<$ZodCIDRv4, "pattern" | "when">;
1707
+ type $ZodCheckCIDRv6Params = CheckStringFormatParams<$ZodCIDRv6, "pattern" | "when">;
1708
+ type $ZodCheckBase64Params = CheckStringFormatParams<$ZodBase64, "pattern" | "when">;
1709
+ type $ZodCheckBase64URLParams = CheckStringFormatParams<$ZodBase64URL, "pattern" | "when">;
1710
+ type $ZodCheckE164Params = CheckStringFormatParams<$ZodE164, "when">;
1711
+ type $ZodCheckJWTParams = CheckStringFormatParams<$ZodJWT, "pattern" | "when">;
1712
+ type $ZodCheckISODateTimeParams = CheckStringFormatParams<$ZodISODateTime, "pattern" | "when">;
1713
+ type $ZodCheckISODateParams = CheckStringFormatParams<$ZodISODate, "pattern" | "when">;
1714
+ type $ZodCheckISOTimeParams = CheckStringFormatParams<$ZodISOTime, "pattern" | "when">;
1715
+ type $ZodCheckISODurationParams = CheckStringFormatParams<$ZodISODuration, "when">;
1716
+ type $ZodCheckNumberFormatParams = CheckParams<$ZodCheckNumberFormat, "format" | "when">;
1717
+ type $ZodCheckLessThanParams = CheckParams<$ZodCheckLessThan, "inclusive" | "value" | "when">;
1718
+ type $ZodCheckGreaterThanParams = CheckParams<$ZodCheckGreaterThan, "inclusive" | "value" | "when">;
1719
+ type $ZodCheckMultipleOfParams = CheckParams<$ZodCheckMultipleOf, "value" | "when">;
1720
+ type $ZodCheckMaxLengthParams = CheckParams<$ZodCheckMaxLength, "maximum" | "when">;
1721
+ type $ZodCheckMinLengthParams = CheckParams<$ZodCheckMinLength, "minimum" | "when">;
1722
+ type $ZodCheckLengthEqualsParams = CheckParams<$ZodCheckLengthEquals, "length" | "when">;
1723
+ type $ZodCheckRegexParams = CheckParams<$ZodCheckRegex, "format" | "pattern" | "when">;
1724
+ type $ZodCheckLowerCaseParams = CheckParams<$ZodCheckLowerCase, "format" | "when">;
1725
+ type $ZodCheckUpperCaseParams = CheckParams<$ZodCheckUpperCase, "format" | "when">;
1726
+ type $ZodCheckIncludesParams = CheckParams<$ZodCheckIncludes, "includes" | "format" | "when" | "pattern">;
1727
+ type $ZodCheckStartsWithParams = CheckParams<$ZodCheckStartsWith, "prefix" | "format" | "when" | "pattern">;
1728
+ type $ZodCheckEndsWithParams = CheckParams<$ZodCheckEndsWith, "suffix" | "format" | "pattern" | "when">;
1173
1729
  type $ZodEnumParams = TypeParams<$ZodEnum, "entries">;
1174
1730
  type $ZodNonOptionalParams = TypeParams<$ZodNonOptional, "innerType">;
1175
1731
  type $ZodCustomParams = CheckTypeParams<$ZodCustom, "fn">;
1732
+ type $ZodSuperRefineIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;
1733
+ type RawIssue<T extends $ZodIssueBase> = T extends any ? Flatten$1<MakePartial<T, "message" | "path"> & {
1734
+ /** The schema or check that originated this issue. */readonly inst?: $ZodType | $ZodCheck; /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */
1735
+ readonly continue?: boolean | undefined;
1736
+ } & Record<string, unknown>> : never;
1737
+ interface $RefinementCtx<T = unknown> extends ParsePayload<T> {
1738
+ addIssue(arg: string | $ZodSuperRefineIssue): void;
1739
+ }
1176
1740
  //#endregion
1177
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/errors.d.cts
1741
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/errors.d.cts
1178
1742
  /** An Error-like class used to store Zod validation issues. */
1179
1743
  interface ZodError$1<T = unknown> extends $ZodError<T> {
1180
1744
  /** @deprecated Use the `z.treeifyError(err)` function instead. */
@@ -1192,7 +1756,7 @@ interface ZodError$1<T = unknown> extends $ZodError<T> {
1192
1756
  }
1193
1757
  declare const ZodError$1: $constructor<ZodError$1>;
1194
1758
  //#endregion
1195
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/parse.d.cts
1759
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/parse.d.cts
1196
1760
  type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
1197
1761
  type ZodSafeParseSuccess<T> = {
1198
1762
  success: true;
@@ -1205,10 +1769,8 @@ type ZodSafeParseError<T> = {
1205
1769
  error: ZodError$1<T>;
1206
1770
  };
1207
1771
  //#endregion
1208
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/schemas.d.cts
1209
- interface RefinementCtx$1<T = unknown> extends ParsePayload<T> {
1210
- addIssue(arg: string | $ZodRawIssue | Partial<$ZodIssueCustom>): void;
1211
- }
1772
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/schemas.d.cts
1773
+ type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<input$1<T>, output$1<T>>;
1212
1774
  interface ZodType$1<out Output = unknown, out Input = unknown, out Internals extends $ZodTypeInternals<Output, Input> = $ZodTypeInternals<Output, Input>> extends $ZodType<Output, Input, Internals> {
1213
1775
  def: Internals["def"];
1214
1776
  type: Internals["def"]["type"];
@@ -1218,33 +1780,45 @@ interface ZodType$1<out Output = unknown, out Input = unknown, out Internals ext
1218
1780
  _output: Internals["output"];
1219
1781
  /** @deprecated Use `z.input<typeof schema>` instead. */
1220
1782
  _input: Internals["input"];
1783
+ "~standard": ZodStandardSchemaWithJSON<this>;
1784
+ /** Converts this schema to a JSON Schema representation. */
1785
+ toJSONSchema(params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<this>;
1221
1786
  check(...checks: (CheckFn<output$1<this>> | $ZodCheck<output$1<this>>)[]): this;
1787
+ with(...checks: (CheckFn<output$1<this>> | $ZodCheck<output$1<this>>)[]): this;
1222
1788
  clone(def?: Internals["def"], params?: {
1223
1789
  parent: boolean;
1224
1790
  }): this;
1225
1791
  register<R extends $ZodRegistry>(registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [$replace<R["_meta"], this>?] : [$replace<R["_meta"], this>] : ["Incompatible schema"]): this;
1226
- brand<T extends PropertyKey = PropertyKey>(value?: T): PropertyKey extends T ? this : $ZodBranded<this, T>;
1792
+ brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T): PropertyKey extends T ? this : $ZodBranded<this, T, Dir>;
1227
1793
  parse(data: unknown, params?: ParseContext$1<$ZodIssue>): output$1<this>;
1228
1794
  safeParse(data: unknown, params?: ParseContext$1<$ZodIssue>): ZodSafeParseResult<output$1<this>>;
1229
1795
  parseAsync(data: unknown, params?: ParseContext$1<$ZodIssue>): Promise<output$1<this>>;
1230
1796
  safeParseAsync(data: unknown, params?: ParseContext$1<$ZodIssue>): Promise<ZodSafeParseResult<output$1<this>>>;
1231
1797
  spa: (data: unknown, params?: ParseContext$1<$ZodIssue>) => Promise<ZodSafeParseResult<output$1<this>>>;
1232
- refine(check: (arg: output$1<this>) => unknown | Promise<unknown>, params?: string | $ZodCustomParams): this;
1233
- /** @deprecated Use `.check()` instead. */
1234
- superRefine(refinement: (arg: output$1<this>, ctx: RefinementCtx$1<output$1<this>>) => void | Promise<void>): this;
1798
+ encode(data: output$1<this>, params?: ParseContext$1<$ZodIssue>): input$1<this>;
1799
+ decode(data: input$1<this>, params?: ParseContext$1<$ZodIssue>): output$1<this>;
1800
+ encodeAsync(data: output$1<this>, params?: ParseContext$1<$ZodIssue>): Promise<input$1<this>>;
1801
+ decodeAsync(data: input$1<this>, params?: ParseContext$1<$ZodIssue>): Promise<output$1<this>>;
1802
+ safeEncode(data: output$1<this>, params?: ParseContext$1<$ZodIssue>): ZodSafeParseResult<input$1<this>>;
1803
+ safeDecode(data: input$1<this>, params?: ParseContext$1<$ZodIssue>): ZodSafeParseResult<output$1<this>>;
1804
+ safeEncodeAsync(data: output$1<this>, params?: ParseContext$1<$ZodIssue>): Promise<ZodSafeParseResult<input$1<this>>>;
1805
+ safeDecodeAsync(data: input$1<this>, params?: ParseContext$1<$ZodIssue>): Promise<ZodSafeParseResult<output$1<this>>>;
1806
+ refine<Ch extends (arg: output$1<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | $ZodCustomParams): Ch extends ((arg: any) => arg is infer R) ? this & ZodType$1<R, input$1<this>> : this;
1807
+ superRefine(refinement: (arg: output$1<this>, ctx: $RefinementCtx<output$1<this>>) => void | Promise<void>): this;
1235
1808
  overwrite(fn: (x: output$1<this>) => output$1<this>): this;
1236
1809
  optional(): ZodOptional$1<this>;
1810
+ exactOptional(): ZodExactOptional<this>;
1237
1811
  nonoptional(params?: string | $ZodNonOptionalParams): ZodNonOptional<this>;
1238
1812
  nullable(): ZodNullable$1<this>;
1239
1813
  nullish(): ZodOptional$1<ZodNullable$1<this>>;
1240
- default(def: output$1<this>): ZodDefault$1<this>;
1814
+ default(def: NoUndefined<output$1<this>>): ZodDefault$1<this>;
1241
1815
  default(def: () => NoUndefined<output$1<this>>): ZodDefault$1<this>;
1242
1816
  prefault(def: () => input$1<this>): ZodPrefault<this>;
1243
1817
  prefault(def: input$1<this>): ZodPrefault<this>;
1244
1818
  array(): ZodArray$1<this>;
1245
1819
  or<T extends SomeType>(option: T): ZodUnion$1<[this, T]>;
1246
1820
  and<T extends SomeType>(incoming: T): ZodIntersection$1<this, T>;
1247
- transform<NewOut>(transform: (arg: output$1<this>, ctx: RefinementCtx$1<output$1<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, output$1<this>>>;
1821
+ transform<NewOut>(transform: (arg: output$1<this>, ctx: $RefinementCtx<output$1<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, output$1<this>>>;
1248
1822
  catch(def: output$1<this>): ZodCatch$1<this>;
1249
1823
  catch(def: (ctx: $ZodCatchCtx) => output$1<this>): ZodCatch$1<this>;
1250
1824
  pipe<T extends $ZodType<any, output$1<this>>>(target: T | $ZodType<any, output$1<this>>): ZodPipe<this, T>;
@@ -1273,6 +1847,7 @@ interface ZodType$1<out Output = unknown, out Input = unknown, out Internals ext
1273
1847
  * ```
1274
1848
  */
1275
1849
  isNullable(): boolean;
1850
+ apply<T>(fn: (schema: this) => T): T;
1276
1851
  }
1277
1852
  interface _ZodType<out Internals extends $ZodTypeInternals = $ZodTypeInternals> extends ZodType$1<any, any, Internals> {}
1278
1853
  declare const ZodType$1: $constructor<ZodType$1>;
@@ -1281,7 +1856,7 @@ interface _ZodString<T extends $ZodStringInternals<unknown> = $ZodStringInternal
1281
1856
  minLength: number | null;
1282
1857
  maxLength: number | null;
1283
1858
  regex(regex: RegExp, params?: string | $ZodCheckRegexParams): this;
1284
- includes(value: string, params?: $ZodCheckIncludesParams): this;
1859
+ includes(value: string, params?: string | $ZodCheckIncludesParams): this;
1285
1860
  startsWith(value: string, params?: string | $ZodCheckStartsWithParams): this;
1286
1861
  endsWith(value: string, params?: string | $ZodCheckEndsWithParams): this;
1287
1862
  min(minLength: number, params?: string | $ZodCheckMinLengthParams): this;
@@ -1294,6 +1869,7 @@ interface _ZodString<T extends $ZodStringInternals<unknown> = $ZodStringInternal
1294
1869
  normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
1295
1870
  toLowerCase(): this;
1296
1871
  toUpperCase(): this;
1872
+ slugify(): this;
1297
1873
  }
1298
1874
  /** @internal */
1299
1875
  declare const _ZodString: $constructor<_ZodString>;
@@ -1409,9 +1985,12 @@ interface ZodArray$1<T extends SomeType = $ZodType> extends _ZodType<$ZodArrayIn
1409
1985
  max(maxLength: number, params?: string | $ZodCheckMaxLengthParams): this;
1410
1986
  length(len: number, params?: string | $ZodCheckLengthEqualsParams): this;
1411
1987
  unwrap(): T;
1988
+ "~standard": ZodStandardSchemaWithJSON<this>;
1412
1989
  }
1413
1990
  declare const ZodArray$1: $constructor<ZodArray$1>;
1991
+ type SafeExtendShape<Base extends $ZodShape, Ext extends $ZodLooseShape> = { [K in keyof Ext]: K extends keyof Base ? output$1<Ext[K]> extends output$1<Base[K]> ? input$1<Ext[K]> extends input$1<Base[K]> ? Ext[K] : never : never : Ext[K] };
1414
1992
  interface ZodObject$1< /** @ts-ignore Cast variance */out Shape extends $ZodShape = $ZodLooseShape, out Config extends $ZodObjectConfig = $strip> extends _ZodType<$ZodObjectInternals<Shape, Config>>, $ZodObject<Shape, Config> {
1993
+ "~standard": ZodStandardSchemaWithJSON<this>;
1415
1994
  shape: Shape;
1416
1995
  keyof(): ZodEnum$1<ToEnum<keyof Shape & string>>;
1417
1996
  /** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
@@ -1424,45 +2003,43 @@ interface ZodObject$1< /** @ts-ignore Cast variance */out Shape extends $ZodShap
1424
2003
  strict(): ZodObject$1<Shape, $strict>;
1425
2004
  /** This is the default behavior. This method call is likely unnecessary. */
1426
2005
  strip(): ZodObject$1<Shape, $strip>;
1427
- extend<U extends $ZodLooseShape & Partial<Record<keyof Shape, SomeType>>>(shape: U): ZodObject$1<Extend<Shape, U>, Config>;
2006
+ extend<U extends $ZodLooseShape>(shape: U): ZodObject$1<Extend<Shape, U>, Config>;
2007
+ safeExtend<U extends $ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, SomeType>>): ZodObject$1<Extend<Shape, U>, Config>;
1428
2008
  /**
1429
- * @deprecated Use spread syntax and the `.shape` property to combine two object schemas:
1430
- *
1431
- * ```ts
1432
- * const A = z.object({ a: z.string() });
1433
- * const B = z.object({ b: z.number() });
1434
- *
1435
- * const C = z.object({
1436
- * ...A.shape,
1437
- * ...B.shape
1438
- * });
1439
- * ```
2009
+ * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
1440
2010
  */
1441
2011
  merge<U extends ZodObject$1>(other: U): ZodObject$1<Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
1442
- pick<M extends Mask<keyof Shape>>(mask: M): ZodObject$1<Flatten$1<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
1443
- omit<M extends Mask<keyof Shape>>(mask: M): ZodObject$1<Flatten$1<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
2012
+ pick<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject$1<Flatten$1<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
2013
+ omit<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject$1<Flatten$1<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
1444
2014
  partial(): ZodObject$1<{ [k in keyof Shape]: ZodOptional$1<Shape[k]> }, Config>;
1445
- partial<M extends Mask<keyof Shape>>(mask: M): ZodObject$1<{ [k in keyof Shape]: k extends keyof M ? ZodOptional$1<Shape[k]> : Shape[k] }, Config>;
2015
+ partial<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject$1<{ [k in keyof Shape]: k extends keyof M ? ZodOptional$1<Shape[k]> : Shape[k] }, Config>;
1446
2016
  required(): ZodObject$1<{ [k in keyof Shape]: ZodNonOptional<Shape[k]> }, Config>;
1447
- required<M extends Mask<keyof Shape>>(mask: M): ZodObject$1<{ [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k] }, Config>;
2017
+ required<M extends Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject$1<{ [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k] }, Config>;
1448
2018
  }
1449
2019
  declare const ZodObject$1: $constructor<ZodObject$1>;
1450
2020
  interface ZodUnion$1<T extends readonly SomeType[] = readonly $ZodType[]> extends _ZodType<$ZodUnionInternals<T>>, $ZodUnion<T> {
2021
+ "~standard": ZodStandardSchemaWithJSON<this>;
1451
2022
  options: T;
1452
2023
  }
1453
2024
  declare const ZodUnion$1: $constructor<ZodUnion$1>;
1454
- interface ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[]> extends ZodUnion$1<Options>, $ZodDiscriminatedUnion<Options> {
1455
- _zod: $ZodDiscriminatedUnionInternals<Options>;
2025
+ interface ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends ZodUnion$1<Options>, $ZodDiscriminatedUnion<Options, Disc> {
2026
+ "~standard": ZodStandardSchemaWithJSON<this>;
2027
+ _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
2028
+ def: $ZodDiscriminatedUnionDef<Options, Disc>;
1456
2029
  }
1457
2030
  declare const ZodDiscriminatedUnion: $constructor<ZodDiscriminatedUnion>;
1458
- interface ZodIntersection$1<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodIntersectionInternals<A, B>>, $ZodIntersection<A, B> {}
2031
+ interface ZodIntersection$1<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodIntersectionInternals<A, B>>, $ZodIntersection<A, B> {
2032
+ "~standard": ZodStandardSchemaWithJSON<this>;
2033
+ }
1459
2034
  declare const ZodIntersection$1: $constructor<ZodIntersection$1>;
1460
2035
  interface ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends _ZodType<$ZodRecordInternals<Key, Value>>, $ZodRecord<Key, Value> {
2036
+ "~standard": ZodStandardSchemaWithJSON<this>;
1461
2037
  keyType: Key;
1462
2038
  valueType: Value;
1463
2039
  }
1464
2040
  declare const ZodRecord: $constructor<ZodRecord>;
1465
2041
  interface ZodEnum$1< /** @ts-ignore Cast variance */out T extends EnumLike = EnumLike> extends _ZodType<$ZodEnumInternals<T>>, $ZodEnum<T> {
2042
+ "~standard": ZodStandardSchemaWithJSON<this>;
1466
2043
  enum: T;
1467
2044
  options: Array<T[keyof T]>;
1468
2045
  extract<const U extends readonly (keyof T)[]>(values: U, params?: string | $ZodEnumParams): ZodEnum$1<Flatten$1<Pick<T, U[number]>>>;
@@ -1470,61 +2047,81 @@ interface ZodEnum$1< /** @ts-ignore Cast variance */out T extends EnumLike = Enu
1470
2047
  }
1471
2048
  declare const ZodEnum$1: $constructor<ZodEnum$1>;
1472
2049
  interface ZodLiteral<T extends Literal = Literal> extends _ZodType<$ZodLiteralInternals<T>>, $ZodLiteral<T> {
2050
+ "~standard": ZodStandardSchemaWithJSON<this>;
1473
2051
  values: Set<T>;
1474
2052
  /** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */
1475
2053
  value: T;
1476
2054
  }
1477
2055
  declare const ZodLiteral: $constructor<ZodLiteral>;
1478
- interface ZodTransform<O = unknown, I = unknown> extends _ZodType<$ZodTransformInternals<O, I>>, $ZodTransform<O, I> {}
2056
+ interface ZodTransform<O = unknown, I = unknown> extends _ZodType<$ZodTransformInternals<O, I>>, $ZodTransform<O, I> {
2057
+ "~standard": ZodStandardSchemaWithJSON<this>;
2058
+ }
1479
2059
  declare const ZodTransform: $constructor<ZodTransform>;
1480
2060
  interface ZodOptional$1<T extends SomeType = $ZodType> extends _ZodType<$ZodOptionalInternals<T>>, $ZodOptional<T> {
2061
+ "~standard": ZodStandardSchemaWithJSON<this>;
1481
2062
  unwrap(): T;
1482
2063
  }
1483
2064
  declare const ZodOptional$1: $constructor<ZodOptional$1>;
2065
+ interface ZodExactOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodExactOptionalInternals<T>>, $ZodExactOptional<T> {
2066
+ "~standard": ZodStandardSchemaWithJSON<this>;
2067
+ unwrap(): T;
2068
+ }
2069
+ declare const ZodExactOptional: $constructor<ZodExactOptional>;
1484
2070
  interface ZodNullable$1<T extends SomeType = $ZodType> extends _ZodType<$ZodNullableInternals<T>>, $ZodNullable<T> {
2071
+ "~standard": ZodStandardSchemaWithJSON<this>;
1485
2072
  unwrap(): T;
1486
2073
  }
1487
2074
  declare const ZodNullable$1: $constructor<ZodNullable$1>;
1488
2075
  interface ZodDefault$1<T extends SomeType = $ZodType> extends _ZodType<$ZodDefaultInternals<T>>, $ZodDefault<T> {
2076
+ "~standard": ZodStandardSchemaWithJSON<this>;
1489
2077
  unwrap(): T;
1490
2078
  /** @deprecated Use `.unwrap()` instead. */
1491
2079
  removeDefault(): T;
1492
2080
  }
1493
2081
  declare const ZodDefault$1: $constructor<ZodDefault$1>;
1494
2082
  interface ZodPrefault<T extends SomeType = $ZodType> extends _ZodType<$ZodPrefaultInternals<T>>, $ZodPrefault<T> {
2083
+ "~standard": ZodStandardSchemaWithJSON<this>;
1495
2084
  unwrap(): T;
1496
2085
  }
1497
2086
  declare const ZodPrefault: $constructor<ZodPrefault>;
1498
2087
  interface ZodNonOptional<T extends SomeType = $ZodType> extends _ZodType<$ZodNonOptionalInternals<T>>, $ZodNonOptional<T> {
2088
+ "~standard": ZodStandardSchemaWithJSON<this>;
1499
2089
  unwrap(): T;
1500
2090
  }
1501
2091
  declare const ZodNonOptional: $constructor<ZodNonOptional>;
1502
2092
  interface ZodCatch$1<T extends SomeType = $ZodType> extends _ZodType<$ZodCatchInternals<T>>, $ZodCatch<T> {
2093
+ "~standard": ZodStandardSchemaWithJSON<this>;
1503
2094
  unwrap(): T;
1504
2095
  /** @deprecated Use `.unwrap()` instead. */
1505
2096
  removeCatch(): T;
1506
2097
  }
1507
2098
  declare const ZodCatch$1: $constructor<ZodCatch$1>;
1508
2099
  interface ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _ZodType<$ZodPipeInternals<A, B>>, $ZodPipe<A, B> {
2100
+ "~standard": ZodStandardSchemaWithJSON<this>;
1509
2101
  in: A;
1510
2102
  out: B;
1511
2103
  }
1512
2104
  declare const ZodPipe: $constructor<ZodPipe>;
1513
- interface ZodReadonly$1<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {}
2105
+ interface ZodReadonly$1<T extends SomeType = $ZodType> extends _ZodType<$ZodReadonlyInternals<T>>, $ZodReadonly<T> {
2106
+ "~standard": ZodStandardSchemaWithJSON<this>;
2107
+ unwrap(): T;
2108
+ }
1514
2109
  declare const ZodReadonly$1: $constructor<ZodReadonly$1>;
1515
- interface ZodCustom<O = unknown, I = unknown> extends _ZodType<$ZodCustomInternals<O, I>>, $ZodCustom<O, I> {}
2110
+ interface ZodCustom<O = unknown, I = unknown> extends _ZodType<$ZodCustomInternals<O, I>>, $ZodCustom<O, I> {
2111
+ "~standard": ZodStandardSchemaWithJSON<this>;
2112
+ }
1516
2113
  declare const ZodCustom: $constructor<ZodCustom>;
1517
2114
  //#endregion
1518
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v4/classic/iso.d.cts
2115
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.d.cts
1519
2116
  interface ZodISODateTime extends ZodStringFormat {
1520
2117
  _zod: $ZodISODateTimeInternals;
1521
2118
  }
1522
2119
  declare const ZodISODateTime: $constructor<ZodISODateTime>;
1523
2120
  //#endregion
1524
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/typeAliases.d.cts
2121
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/typeAliases.d.cts
1525
2122
  type Primitive$1 = string | number | symbol | bigint | boolean | null | undefined;
1526
2123
  //#endregion
1527
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/util.d.cts
2124
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/util.d.cts
1528
2125
  declare namespace util {
1529
2126
  type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends (<V>() => V extends U ? 1 : 2) ? true : false;
1530
2127
  export type isAny<T> = 0 extends 1 & T ? true : false;
@@ -1586,28 +2183,28 @@ declare const ZodParsedType: {
1586
2183
  };
1587
2184
  type ZodParsedType = keyof typeof ZodParsedType;
1588
2185
  //#endregion
1589
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/ZodError.d.cts
2186
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/ZodError.d.cts
1590
2187
  type allKeys<T> = T extends any ? keyof T : never;
1591
2188
  type typeToFlattenedError<T, U = string> = {
1592
2189
  formErrors: U[];
1593
2190
  fieldErrors: { [P in allKeys<T>]?: U[] };
1594
2191
  };
1595
2192
  declare const ZodIssueCode: {
1596
- invalid_type: "invalid_type";
1597
- invalid_literal: "invalid_literal";
1598
2193
  custom: "custom";
2194
+ invalid_type: "invalid_type";
2195
+ too_big: "too_big";
2196
+ too_small: "too_small";
2197
+ not_multiple_of: "not_multiple_of";
2198
+ unrecognized_keys: "unrecognized_keys";
1599
2199
  invalid_union: "invalid_union";
2200
+ invalid_literal: "invalid_literal";
1600
2201
  invalid_union_discriminator: "invalid_union_discriminator";
1601
2202
  invalid_enum_value: "invalid_enum_value";
1602
- unrecognized_keys: "unrecognized_keys";
1603
2203
  invalid_arguments: "invalid_arguments";
1604
2204
  invalid_return_type: "invalid_return_type";
1605
2205
  invalid_date: "invalid_date";
1606
2206
  invalid_string: "invalid_string";
1607
- too_small: "too_small";
1608
- too_big: "too_big";
1609
2207
  invalid_intersection_types: "invalid_intersection_types";
1610
- not_multiple_of: "not_multiple_of";
1611
2208
  not_finite: "not_finite";
1612
2209
  };
1613
2210
  type ZodIssueCode = keyof typeof ZodIssueCode;
@@ -1736,7 +2333,7 @@ type ZodErrorMap = (issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => {
1736
2333
  message: string;
1737
2334
  };
1738
2335
  //#endregion
1739
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/parseUtil.d.cts
2336
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/parseUtil.d.cts
1740
2337
  type ParseParams = {
1741
2338
  path: (string | number)[];
1742
2339
  errorMap: ZodErrorMap;
@@ -1794,7 +2391,7 @@ type SyncParseReturnType<T = any> = OK<T> | DIRTY<T> | INVALID;
1794
2391
  type AsyncParseReturnType<T> = Promise<SyncParseReturnType<T>>;
1795
2392
  type ParseReturnType<T> = SyncParseReturnType<T> | AsyncParseReturnType<T>;
1796
2393
  //#endregion
1797
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/enumUtil.d.cts
2394
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/enumUtil.d.cts
1798
2395
  declare namespace enumUtil {
1799
2396
  type UnionToIntersectionFn<T> = (T extends unknown ? (k: () => T) => void : never) extends ((k: infer Intersection) => void) ? Intersection : never;
1800
2397
  type GetUnionLast<T> = UnionToIntersectionFn<T> extends (() => infer Last) ? Last : never;
@@ -1804,7 +2401,7 @@ declare namespace enumUtil {
1804
2401
  export {};
1805
2402
  }
1806
2403
  //#endregion
1807
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/errorUtil.d.cts
2404
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/errorUtil.d.cts
1808
2405
  declare namespace errorUtil {
1809
2406
  type ErrMessage = string | {
1810
2407
  message?: string | undefined;
@@ -1815,12 +2412,12 @@ declare namespace errorUtil {
1815
2412
  const toString: (message?: ErrMessage) => string | undefined;
1816
2413
  }
1817
2414
  //#endregion
1818
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/helpers/partialUtil.d.cts
2415
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/helpers/partialUtil.d.cts
1819
2416
  declare namespace partialUtil {
1820
2417
  type DeepPartial<T extends ZodTypeAny> = T extends ZodObject<ZodRawShape> ? ZodObject<{ [k in keyof T["shape"]]: ZodOptional<DeepPartial<T["shape"][k]>> }, T["_def"]["unknownKeys"], T["_def"]["catchall"]> : T extends ZodArray<infer Type, infer Card> ? ZodArray<DeepPartial<Type>, Card> : T extends ZodOptional<infer Type> ? ZodOptional<DeepPartial<Type>> : T extends ZodNullable<infer Type> ? ZodNullable<DeepPartial<Type>> : T extends ZodTuple<infer Items> ? { [k in keyof Items]: Items[k] extends ZodTypeAny ? DeepPartial<Items[k]> : never } extends infer PI ? PI extends ZodTupleItems ? ZodTuple<PI> : never : never : T;
1821
2418
  }
1822
2419
  //#endregion
1823
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/standard-schema.d.cts
2420
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/standard-schema.d.cts
1824
2421
  /**
1825
2422
  * The Standard Schema interface.
1826
2423
  */
@@ -1924,7 +2521,7 @@ declare namespace StandardSchemaV1 {
1924
2521
  export {};
1925
2522
  }
1926
2523
  //#endregion
1927
- //#region ../../node_modules/.pnpm/zod@3.25.76/node_modules/zod/v3/types.d.cts
2524
+ //#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v3/types.d.cts
1928
2525
  interface RefinementCtx {
1929
2526
  addIssue: (arg: IssueData) => void;
1930
2527
  path: (string | number)[];
@@ -2062,7 +2659,10 @@ type PassthroughType<T extends UnknownKeysParam> = T extends "passthrough" ? {
2062
2659
  } : unknown;
2063
2660
  type deoptional<T extends ZodTypeAny> = T extends ZodOptional<infer U> ? deoptional<U> : T extends ZodNullable<infer U> ? ZodNullable<deoptional<U>> : T;
2064
2661
  declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny, Output = objectOutputType<T, Catchall, UnknownKeys>, Input = objectInputType<T, Catchall, UnknownKeys>> extends ZodType<Output, ZodObjectDef<T, UnknownKeys, Catchall>, Input> {
2065
- private _cached;
2662
+ _cached: {
2663
+ shape: T;
2664
+ keys: string[];
2665
+ } | null;
2066
2666
  _getCached(): {
2067
2667
  shape: T;
2068
2668
  keys: string[];
@@ -2316,7 +2916,7 @@ declare enum ZodFirstPartyTypeKind {
2316
2916
  ZodReadonly = "ZodReadonly"
2317
2917
  }
2318
2918
  //#endregion
2319
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts
2919
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.d.ts
2320
2920
  type AnySchema = ZodTypeAny | $ZodType;
2321
2921
  type AnyObjectSchema = AnyZodObject | $ZodObject | AnySchema;
2322
2922
  type ZodRawShapeCompat = Record<string, AnySchema>;
@@ -2327,7 +2927,7 @@ type SchemaOutput<S> = S extends ZodTypeAny ? TypeOf<S> : S extends $ZodType ? o
2327
2927
  */
2328
2928
  type ShapeOutput<Shape extends ZodRawShapeCompat> = { [K in keyof Shape]: SchemaOutput<Shape[K]> };
2329
2929
  //#endregion
2330
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts
2930
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/types.d.ts
2331
2931
  /**
2332
2932
  * Information about a validated access token, provided to request handlers.
2333
2933
  */
@@ -2360,7 +2960,7 @@ interface AuthInfo {
2360
2960
  extra?: Record<string, unknown>;
2361
2961
  }
2362
2962
  //#endregion
2363
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts
2963
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/types.d.ts
2364
2964
  /**
2365
2965
  * Task creation parameters, used to ask that the server create a task to represent a request.
2366
2966
  */
@@ -6058,7 +6658,7 @@ type ServerRequest = Infer<typeof ServerRequestSchema>;
6058
6658
  type ServerNotification = Infer<typeof ServerNotificationSchema>;
6059
6659
  type ServerResult = Infer<typeof ServerResultSchema>;
6060
6660
  //#endregion
6061
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts
6661
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.d.ts
6062
6662
  /**
6063
6663
  * Options for sending a JSON-RPC message.
6064
6664
  */
@@ -6132,7 +6732,7 @@ interface Transport {
6132
6732
  setProtocolVersion?: (version: string) => void;
6133
6733
  }
6134
6734
  //#endregion
6135
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts
6735
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.d.ts
6136
6736
  /**
6137
6737
  * Extended handler extra with task store for task creation.
6138
6738
  * @experimental
@@ -6348,7 +6948,7 @@ interface TaskStore {
6348
6948
  }>;
6349
6949
  }
6350
6950
  //#endregion
6351
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts
6951
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/responseMessage.d.ts
6352
6952
  /**
6353
6953
  * Base message type
6354
6954
  */
@@ -6390,7 +6990,7 @@ interface ErrorMessage extends BaseResponseMessage {
6390
6990
  */
6391
6991
  type ResponseMessage<T extends Result$1> = TaskStatusMessage | TaskCreatedMessage | ResultMessage<T> | ErrorMessage;
6392
6992
  //#endregion
6393
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts
6993
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.d.ts
6394
6994
  /**
6395
6995
  * Callback for progress notifications.
6396
6996
  */
@@ -7856,7 +8456,7 @@ declare enum TypeName {
7856
8456
  String = "string"
7857
8457
  }
7858
8458
  //#endregion
7859
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts
8459
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/types.d.ts
7860
8460
  /**
7861
8461
  * JSON Schema type definition (JSON Schema Draft 2020-12)
7862
8462
  *
@@ -7921,7 +8521,7 @@ interface jsonSchemaValidator {
7921
8521
  getValidator<T>(schema: JsonSchemaType): JsonSchemaValidator<T>;
7922
8522
  }
7923
8523
  //#endregion
7924
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts
8524
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.d.ts
7925
8525
  /**
7926
8526
  * Experimental task features for low-level MCP servers.
7927
8527
  *
@@ -8081,7 +8681,7 @@ declare class ExperimentalServerTasks<RequestT extends Request = Request, Notifi
8081
8681
  cancelTask(taskId: string, options?: RequestOptions): Promise<CancelTaskResult>;
8082
8682
  }
8083
8683
  //#endregion
8084
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts
8684
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.d.ts
8085
8685
  type ServerOptions = ProtocolOptions & {
8086
8686
  /**
8087
8687
  * Capabilities to advertise as being supported by this server.
@@ -8272,7 +8872,7 @@ declare class Server<RequestT extends Request = Request, NotificationT extends N
8272
8872
  sendPromptListChanged(): Promise<void>;
8273
8873
  }
8274
8874
  //#endregion
8275
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts
8875
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/uriTemplate.d.ts
8276
8876
  type Variables = Record<string, string | string[]>;
8277
8877
  declare class UriTemplate {
8278
8878
  /**
@@ -8298,7 +8898,7 @@ declare class UriTemplate {
8298
8898
  match(uri: string): Variables | null;
8299
8899
  }
8300
8900
  //#endregion
8301
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts
8901
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.d.ts
8302
8902
  /**
8303
8903
  * Experimental task features for McpServer.
8304
8904
  *
@@ -8366,7 +8966,7 @@ declare class ExperimentalMcpServerTasks {
8366
8966
  }, handler: ToolTaskHandler<InputArgs>): RegisteredTool;
8367
8967
  }
8368
8968
  //#endregion
8369
- //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts
8969
+ //#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.27.1_zod@4.3.6/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.d.ts
8370
8970
  /**
8371
8971
  * High-level MCP server that provides a simpler API for working with resources, tools, and prompts.
8372
8972
  * For advanced usage (like sending notifications or setting custom request handlers), use the underlying