mcp-use 2.0.0-beta.18 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1058) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/bin/args.d.ts +0 -2
  3. package/dist/bin/args.d.ts.map +1 -1
  4. package/dist/bin/main.d.ts +0 -2
  5. package/dist/bin/main.d.ts.map +1 -1
  6. package/dist/bin.js +4 -9
  7. package/dist/bin.js.map +1 -1
  8. package/dist/{chunk-IG2BCCMU.js → chunk-Q4PUTBMV.js} +1 -5
  9. package/dist/chunk-Q4PUTBMV.js.map +1 -0
  10. package/dist/{chunk-RHITI5QM.js → chunk-RQRT27Q3.js} +16 -190
  11. package/dist/chunk-RQRT27Q3.js.map +1 -0
  12. package/dist/{chunk-QUUANIE4.js → chunk-SFI2T6TE.js} +80 -34
  13. package/dist/chunk-SFI2T6TE.js.map +1 -0
  14. package/dist/{chunk-O3CUL5VH.js → chunk-UDLRVMML.js} +18 -68
  15. package/dist/chunk-UDLRVMML.js.map +1 -0
  16. package/dist/cli/build.d.ts +2 -7
  17. package/dist/cli/build.d.ts.map +1 -1
  18. package/dist/cli/dev.d.ts.map +1 -1
  19. package/dist/cli/port.d.ts.map +1 -1
  20. package/dist/cli/tunnel.d.ts.map +1 -1
  21. package/dist/cli/views-bindings.d.ts +0 -9
  22. package/dist/cli/views-bindings.d.ts.map +1 -1
  23. package/dist/cli/views-plugin.d.ts.map +1 -1
  24. package/dist/cli/views.d.ts +5 -7
  25. package/dist/cli/views.d.ts.map +1 -1
  26. package/dist/cli/workspace.d.ts +10 -2
  27. package/dist/cli/workspace.d.ts.map +1 -1
  28. package/dist/commands/build.js +25 -136
  29. package/dist/commands/build.js.map +1 -1
  30. package/dist/commands/client.d.ts.map +1 -1
  31. package/dist/commands/client.js +1 -1
  32. package/dist/commands/dev.js +15 -110
  33. package/dist/commands/dev.js.map +1 -1
  34. package/dist/commands/load-client.d.ts +2 -9
  35. package/dist/commands/load-client.d.ts.map +1 -1
  36. package/dist/commands/screenshot.js +1 -1
  37. package/dist/commands/start.js +1 -1
  38. package/dist/completable.d.ts +0 -9
  39. package/dist/completable.d.ts.map +1 -1
  40. package/dist/config.d.ts +4 -125
  41. package/dist/config.d.ts.map +1 -1
  42. package/dist/fetch-app.d.ts +0 -43
  43. package/dist/fetch-app.d.ts.map +1 -1
  44. package/dist/index.d.ts +5 -20
  45. package/dist/index.d.ts.map +1 -1
  46. package/dist/index.js +248 -1312
  47. package/dist/index.js.map +1 -1
  48. package/dist/inspector-shell.d.ts +6 -19
  49. package/dist/inspector-shell.d.ts.map +1 -1
  50. package/dist/mount-mcp.d.ts +4 -0
  51. package/dist/mount-mcp.d.ts.map +1 -1
  52. package/dist/oauth/index.js +1 -2
  53. package/dist/{chunk-SMN75YED.js → public-route-7IK5D7V7.js} +10 -16
  54. package/dist/public-route-7IK5D7V7.js.map +1 -0
  55. package/dist/react/components/theme-provider.d.ts +0 -3
  56. package/dist/react/components/theme-provider.d.ts.map +1 -1
  57. package/dist/react/hooks/use-host-context.d.ts +0 -5
  58. package/dist/react/hooks/use-host-context.d.ts.map +1 -1
  59. package/dist/react/index.d.ts +0 -2
  60. package/dist/react/index.d.ts.map +1 -1
  61. package/dist/react/index.js +3 -124
  62. package/dist/react/index.js.map +1 -1
  63. package/dist/react/runtime/view-runtime.d.ts +0 -23
  64. package/dist/react/runtime/view-runtime.d.ts.map +1 -1
  65. package/dist/react/types/register.d.ts +1 -1
  66. package/dist/react/types/register.d.ts.map +1 -1
  67. package/dist/resources.d.ts +4 -59
  68. package/dist/resources.d.ts.map +1 -1
  69. package/dist/server.d.ts +5 -118
  70. package/dist/server.d.ts.map +1 -1
  71. package/dist/tools.d.ts +1 -12
  72. package/dist/tools.d.ts.map +1 -1
  73. package/dist/views/document.d.ts +7 -25
  74. package/dist/views/document.d.ts.map +1 -1
  75. package/dist/views/index.d.ts +3 -4
  76. package/dist/views/index.d.ts.map +1 -1
  77. package/dist/views/origin.d.ts +9 -37
  78. package/dist/views/origin.d.ts.map +1 -1
  79. package/dist/views/public-route.d.ts +3 -9
  80. package/dist/views/public-route.d.ts.map +1 -1
  81. package/dist/views/routes.d.ts +1 -20
  82. package/dist/views/routes.d.ts.map +1 -1
  83. package/dist/views/types.d.ts +4 -7
  84. package/dist/views/types.d.ts.map +1 -1
  85. package/dist/views/wire.d.ts +30 -19
  86. package/dist/views/wire.d.ts.map +1 -1
  87. package/package.json +10 -21
  88. package/dist/branding.d.ts +0 -82
  89. package/dist/branding.d.ts.map +0 -1
  90. package/dist/chunk-FC2Z2VFO.js +0 -99
  91. package/dist/chunk-FC2Z2VFO.js.map +0 -1
  92. package/dist/chunk-IG2BCCMU.js.map +0 -1
  93. package/dist/chunk-KIZ72TIK.js +0 -38
  94. package/dist/chunk-KIZ72TIK.js.map +0 -1
  95. package/dist/chunk-O3CUL5VH.js.map +0 -1
  96. package/dist/chunk-QUUANIE4.js.map +0 -1
  97. package/dist/chunk-RHITI5QM.js.map +0 -1
  98. package/dist/chunk-SMN75YED.js.map +0 -1
  99. package/dist/chunk-XUI7QE2D.js +0 -98
  100. package/dist/chunk-XUI7QE2D.js.map +0 -1
  101. package/dist/chunk-Z326HADF.js +0 -82
  102. package/dist/chunk-Z326HADF.js.map +0 -1
  103. package/dist/chunk-ZJJD33SF.js +0 -741
  104. package/dist/chunk-ZJJD33SF.js.map +0 -1
  105. package/dist/cli/mcp-env-declaration.d.ts +0 -20
  106. package/dist/cli/mcp-env-declaration.d.ts.map +0 -1
  107. package/dist/internal/resource-completion.js +0 -7
  108. package/dist/internal/resource-completion.js.map +0 -1
  109. package/dist/landing-handler-WE66NIGB.js +0 -37
  110. package/dist/landing-handler-WE66NIGB.js.map +0 -1
  111. package/dist/landing-handler.d.ts +0 -24
  112. package/dist/landing-handler.d.ts.map +0 -1
  113. package/dist/landing.d.ts +0 -67
  114. package/dist/landing.d.ts.map +0 -1
  115. package/dist/landing.js +0 -7
  116. package/dist/landing.js.map +0 -1
  117. package/dist/middleware/cors.d.ts +0 -11
  118. package/dist/middleware/cors.d.ts.map +0 -1
  119. package/dist/middleware/mcp-middleware.d.ts +0 -175
  120. package/dist/middleware/mcp-middleware.d.ts.map +0 -1
  121. package/dist/oauth/better-auth.d.ts +0 -29
  122. package/dist/oauth/better-auth.d.ts.map +0 -1
  123. package/dist/oauth/better-auth.js +0 -76
  124. package/dist/oauth/better-auth.js.map +0 -1
  125. package/dist/proxy-DJYWGTGX.js +0 -282
  126. package/dist/proxy-DJYWGTGX.js.map +0 -1
  127. package/dist/proxy.d.ts +0 -153
  128. package/dist/proxy.d.ts.map +0 -1
  129. package/dist/public-route-5JEGFEIN.js +0 -9
  130. package/dist/public-route-5JEGFEIN.js.map +0 -1
  131. package/dist/react/hooks/use-files.d.ts +0 -25
  132. package/dist/react/hooks/use-files.d.ts.map +0 -1
  133. package/dist/react/types/file-types.d.ts +0 -16
  134. package/dist/react/types/file-types.d.ts.map +0 -1
  135. package/dist/resource-completion.d.ts +0 -12
  136. package/dist/resource-completion.d.ts.map +0 -1
  137. package/dist/views/csp-env.d.ts +0 -37
  138. package/dist/views/csp-env.d.ts.map +0 -1
  139. package/node_modules/@modelcontextprotocol/client/LICENSE +0 -216
  140. package/node_modules/@modelcontextprotocol/client/README.md +0 -26
  141. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-Asx17_Co.mjs +0 -7069
  142. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-Asx17_Co.mjs.map +0 -1
  143. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B7GnTXYx.d.mts +0 -1054
  144. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B7GnTXYx.d.mts.map +0 -1
  145. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B_4czhCS.d.cts +0 -1054
  146. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B_4czhCS.d.cts.map +0 -1
  147. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-DNzBrkxq.cjs +0 -7086
  148. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-DNzBrkxq.cjs.map +0 -1
  149. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-D9GAttn8.d.cts +0 -59
  150. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-D9GAttn8.d.cts.map +0 -1
  151. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-DbU8BxXO.mjs +0 -970
  152. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-DbU8BxXO.mjs.map +0 -1
  153. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Djgwc46-.cjs +0 -976
  154. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Djgwc46-.cjs.map +0 -1
  155. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Xtj52JOa.d.mts +0 -59
  156. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Xtj52JOa.d.mts.map +0 -1
  157. package/node_modules/@modelcontextprotocol/client/dist/chunk-Bnu9O96Y.cjs +0 -60
  158. package/node_modules/@modelcontextprotocol/client/dist/chunk-Br0eD_fh.mjs +0 -42
  159. package/node_modules/@modelcontextprotocol/client/dist/index-ZagFkUbt.d.mts +0 -2675
  160. package/node_modules/@modelcontextprotocol/client/dist/index-ZagFkUbt.d.mts.map +0 -1
  161. package/node_modules/@modelcontextprotocol/client/dist/index-gN3EXmil.d.cts +0 -2678
  162. package/node_modules/@modelcontextprotocol/client/dist/index-gN3EXmil.d.cts.map +0 -1
  163. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +0 -5427
  164. package/node_modules/@modelcontextprotocol/client/dist/index.cjs.map +0 -1
  165. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts +0 -3196
  166. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +0 -1
  167. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts +0 -3196
  168. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +0 -1
  169. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +0 -5224
  170. package/node_modules/@modelcontextprotocol/client/dist/index.mjs.map +0 -1
  171. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs +0 -14
  172. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs.map +0 -1
  173. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts +0 -13
  174. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts.map +0 -1
  175. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts +0 -13
  176. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts.map +0 -1
  177. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs +0 -13
  178. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs.map +0 -1
  179. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs +0 -14
  180. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs.map +0 -1
  181. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts +0 -13
  182. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts.map +0 -1
  183. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts +0 -13
  184. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts.map +0 -1
  185. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +0 -13
  186. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs.map +0 -1
  187. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +0 -21
  188. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs.map +0 -1
  189. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts +0 -13
  190. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts.map +0 -1
  191. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts +0 -13
  192. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts.map +0 -1
  193. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +0 -20
  194. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs.map +0 -1
  195. package/node_modules/@modelcontextprotocol/client/dist/src-BzzZSQyL.cjs +0 -7331
  196. package/node_modules/@modelcontextprotocol/client/dist/src-BzzZSQyL.cjs.map +0 -1
  197. package/node_modules/@modelcontextprotocol/client/dist/src-DGeA9On3.mjs +0 -6963
  198. package/node_modules/@modelcontextprotocol/client/dist/src-DGeA9On3.mjs.map +0 -1
  199. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +0 -181
  200. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs.map +0 -1
  201. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts +0 -87
  202. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +0 -1
  203. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts +0 -87
  204. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +0 -1
  205. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +0 -176
  206. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs.map +0 -1
  207. package/node_modules/@modelcontextprotocol/client/dist/types-BDNQEPSs.d.mts +0 -1099
  208. package/node_modules/@modelcontextprotocol/client/dist/types-BDNQEPSs.d.mts.map +0 -1
  209. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts +0 -1099
  210. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts.map +0 -1
  211. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.cjs +0 -5
  212. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.cts +0 -2
  213. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.mts +0 -2
  214. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.mjs +0 -3
  215. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.cjs +0 -3
  216. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.cts +0 -2
  217. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.mts +0 -2
  218. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.mjs +0 -3
  219. package/node_modules/@modelcontextprotocol/client/package.json +0 -166
  220. package/node_modules/@modelcontextprotocol/core/LICENSE +0 -216
  221. package/node_modules/@modelcontextprotocol/core/README.md +0 -40
  222. package/node_modules/@modelcontextprotocol/core/dist/auth-BUWfrB3C.d.cts +0 -8198
  223. package/node_modules/@modelcontextprotocol/core/dist/auth-BUWfrB3C.d.cts.map +0 -1
  224. package/node_modules/@modelcontextprotocol/core/dist/auth-CEFpHq32.cjs +0 -2862
  225. package/node_modules/@modelcontextprotocol/core/dist/auth-CEFpHq32.cjs.map +0 -1
  226. package/node_modules/@modelcontextprotocol/core/dist/auth-CNbu4K4a.d.mts +0 -8198
  227. package/node_modules/@modelcontextprotocol/core/dist/auth-CNbu4K4a.d.mts.map +0 -1
  228. package/node_modules/@modelcontextprotocol/core/dist/auth-DFgbUATV.mjs +0 -1653
  229. package/node_modules/@modelcontextprotocol/core/dist/auth-DFgbUATV.mjs.map +0 -1
  230. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +0 -174
  231. package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +0 -2
  232. package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +0 -2
  233. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +0 -3
  234. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +0 -199
  235. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +0 -87
  236. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +0 -1
  237. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +0 -87
  238. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +0 -1
  239. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +0 -3
  240. package/node_modules/@modelcontextprotocol/core/package.json +0 -85
  241. package/node_modules/jose/LICENSE.md +0 -21
  242. package/node_modules/jose/README.md +0 -153
  243. package/node_modules/jose/dist/types/index.d.ts +0 -55
  244. package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +0 -31
  245. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +0 -65
  246. package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +0 -31
  247. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +0 -83
  248. package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +0 -31
  249. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +0 -74
  250. package/node_modules/jose/dist/types/jwk/embedded.d.ts +0 -17
  251. package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +0 -32
  252. package/node_modules/jose/dist/types/jwks/local.d.ts +0 -29
  253. package/node_modules/jose/dist/types/jwks/remote.d.ts +0 -237
  254. package/node_modules/jose/dist/types/jws/compact/sign.d.ts +0 -36
  255. package/node_modules/jose/dist/types/jws/compact/verify.d.ts +0 -33
  256. package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +0 -42
  257. package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +0 -33
  258. package/node_modules/jose/dist/types/jws/general/sign.d.ts +0 -53
  259. package/node_modules/jose/dist/types/jws/general/verify.d.ts +0 -33
  260. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +0 -35
  261. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +0 -91
  262. package/node_modules/jose/dist/types/jwt/sign.d.ts +0 -43
  263. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +0 -43
  264. package/node_modules/jose/dist/types/jwt/verify.d.ts +0 -37
  265. package/node_modules/jose/dist/types/key/export.d.ts +0 -33
  266. package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +0 -47
  267. package/node_modules/jose/dist/types/key/generate_secret.d.ts +0 -35
  268. package/node_modules/jose/dist/types/key/import.d.ts +0 -83
  269. package/node_modules/jose/dist/types/types.d.ts +0 -841
  270. package/node_modules/jose/dist/types/util/base64url.d.ts +0 -9
  271. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +0 -18
  272. package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +0 -17
  273. package/node_modules/jose/dist/types/util/errors.d.ts +0 -213
  274. package/node_modules/jose/dist/webapi/index.js +0 -32
  275. package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +0 -27
  276. package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +0 -27
  277. package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +0 -165
  278. package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +0 -169
  279. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +0 -31
  280. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +0 -187
  281. package/node_modules/jose/dist/webapi/jwk/embedded.js +0 -17
  282. package/node_modules/jose/dist/webapi/jwk/thumbprint.js +0 -68
  283. package/node_modules/jose/dist/webapi/jwks/local.js +0 -119
  284. package/node_modules/jose/dist/webapi/jwks/remote.js +0 -179
  285. package/node_modules/jose/dist/webapi/jws/compact/sign.js +0 -18
  286. package/node_modules/jose/dist/webapi/jws/compact/verify.js +0 -21
  287. package/node_modules/jose/dist/webapi/jws/flattened/sign.js +0 -92
  288. package/node_modules/jose/dist/webapi/jws/flattened/verify.js +0 -120
  289. package/node_modules/jose/dist/webapi/jws/general/sign.js +0 -73
  290. package/node_modules/jose/dist/webapi/jws/general/verify.js +0 -24
  291. package/node_modules/jose/dist/webapi/jwt/decrypt.js +0 -23
  292. package/node_modules/jose/dist/webapi/jwt/encrypt.js +0 -108
  293. package/node_modules/jose/dist/webapi/jwt/sign.js +0 -52
  294. package/node_modules/jose/dist/webapi/jwt/unsecured.js +0 -63
  295. package/node_modules/jose/dist/webapi/jwt/verify.js +0 -15
  296. package/node_modules/jose/dist/webapi/key/export.js +0 -11
  297. package/node_modules/jose/dist/webapi/key/generate_key_pair.js +0 -97
  298. package/node_modules/jose/dist/webapi/key/generate_secret.js +0 -40
  299. package/node_modules/jose/dist/webapi/key/import.js +0 -57
  300. package/node_modules/jose/dist/webapi/lib/aesgcmkw.js +0 -16
  301. package/node_modules/jose/dist/webapi/lib/aeskw.js +0 -25
  302. package/node_modules/jose/dist/webapi/lib/asn1.js +0 -243
  303. package/node_modules/jose/dist/webapi/lib/base64.js +0 -22
  304. package/node_modules/jose/dist/webapi/lib/buffer_utils.js +0 -43
  305. package/node_modules/jose/dist/webapi/lib/cek.js +0 -19
  306. package/node_modules/jose/dist/webapi/lib/check_cek_length.js +0 -7
  307. package/node_modules/jose/dist/webapi/lib/check_iv_length.js +0 -7
  308. package/node_modules/jose/dist/webapi/lib/check_key_length.js +0 -8
  309. package/node_modules/jose/dist/webapi/lib/check_key_type.js +0 -122
  310. package/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -143
  311. package/node_modules/jose/dist/webapi/lib/decrypt.js +0 -106
  312. package/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +0 -127
  313. package/node_modules/jose/dist/webapi/lib/digest.js +0 -4
  314. package/node_modules/jose/dist/webapi/lib/ecdhes.js +0 -52
  315. package/node_modules/jose/dist/webapi/lib/encrypt.js +0 -74
  316. package/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +0 -92
  317. package/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +0 -12
  318. package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -27
  319. package/node_modules/jose/dist/webapi/lib/is_disjoint.js +0 -21
  320. package/node_modules/jose/dist/webapi/lib/is_jwk.js +0 -6
  321. package/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -17
  322. package/node_modules/jose/dist/webapi/lib/is_object.js +0 -14
  323. package/node_modules/jose/dist/webapi/lib/iv.js +0 -19
  324. package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -109
  325. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +0 -238
  326. package/node_modules/jose/dist/webapi/lib/key_to_jwk.js +0 -31
  327. package/node_modules/jose/dist/webapi/lib/normalize_key.js +0 -176
  328. package/node_modules/jose/dist/webapi/lib/pbes2kw.js +0 -39
  329. package/node_modules/jose/dist/webapi/lib/private_symbols.js +0 -1
  330. package/node_modules/jose/dist/webapi/lib/rsaes.js +0 -24
  331. package/node_modules/jose/dist/webapi/lib/sign.js +0 -9
  332. package/node_modules/jose/dist/webapi/lib/subtle_dsa.js +0 -31
  333. package/node_modules/jose/dist/webapi/lib/validate_algorithms.js +0 -10
  334. package/node_modules/jose/dist/webapi/lib/validate_crit.js +0 -33
  335. package/node_modules/jose/dist/webapi/lib/verify.js +0 -14
  336. package/node_modules/jose/dist/webapi/util/base64url.js +0 -30
  337. package/node_modules/jose/dist/webapi/util/decode_jwt.js +0 -32
  338. package/node_modules/jose/dist/webapi/util/decode_protected_header.js +0 -34
  339. package/node_modules/jose/dist/webapi/util/errors.js +0 -99
  340. package/node_modules/jose/package.json +0 -200
  341. package/node_modules/zod/LICENSE +0 -21
  342. package/node_modules/zod/README.md +0 -191
  343. package/node_modules/zod/index.cjs +0 -33
  344. package/node_modules/zod/index.d.cts +0 -4
  345. package/node_modules/zod/index.d.ts +0 -4
  346. package/node_modules/zod/index.js +0 -4
  347. package/node_modules/zod/locales/index.cjs +0 -17
  348. package/node_modules/zod/locales/index.d.cts +0 -1
  349. package/node_modules/zod/locales/index.d.ts +0 -1
  350. package/node_modules/zod/locales/index.js +0 -1
  351. package/node_modules/zod/locales/package.json +0 -7
  352. package/node_modules/zod/mini/index.cjs +0 -32
  353. package/node_modules/zod/mini/index.d.cts +0 -3
  354. package/node_modules/zod/mini/index.d.ts +0 -3
  355. package/node_modules/zod/mini/index.js +0 -3
  356. package/node_modules/zod/mini/package.json +0 -7
  357. package/node_modules/zod/package.json +0 -135
  358. package/node_modules/zod/src/index.ts +0 -4
  359. package/node_modules/zod/src/locales/index.ts +0 -1
  360. package/node_modules/zod/src/mini/index.ts +0 -3
  361. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  362. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  363. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  364. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  365. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  366. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  367. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  368. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  369. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  370. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  371. package/node_modules/zod/src/v3/errors.ts +0 -13
  372. package/node_modules/zod/src/v3/external.ts +0 -6
  373. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  374. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  375. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  376. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  377. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  378. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  379. package/node_modules/zod/src/v3/index.ts +0 -4
  380. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  381. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  382. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  383. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  384. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  385. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  386. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  387. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  388. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  389. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  390. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  391. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  392. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  393. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  394. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  395. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  396. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  397. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  398. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  399. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  400. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  401. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  402. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  403. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  404. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  405. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  406. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  407. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  408. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  409. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  410. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  411. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  412. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  413. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  414. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  415. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  416. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  417. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  418. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  419. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  420. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  421. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  422. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  423. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  424. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  425. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  426. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  427. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  428. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  429. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  430. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  431. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  432. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  433. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  434. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  435. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  436. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  437. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  438. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  439. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  440. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  441. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  442. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  443. package/node_modules/zod/src/v3/types.ts +0 -5138
  444. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  445. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  446. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  447. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  448. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  449. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  450. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  451. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  452. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  453. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  454. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  455. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  456. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  457. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  458. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  459. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  460. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  461. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  462. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  463. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  464. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  465. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  466. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  467. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  468. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  469. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  470. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  471. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  472. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  473. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  474. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  475. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  476. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  477. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  478. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  479. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  480. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  481. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  482. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  483. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  484. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  485. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  486. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  487. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  488. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  489. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  490. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  491. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  492. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  493. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  494. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  495. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  496. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  497. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  498. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  499. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  500. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  501. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  502. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  503. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  504. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  505. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  506. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  507. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  508. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  509. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  510. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  511. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  512. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  513. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  514. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  515. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  516. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  517. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  518. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  519. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  520. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  521. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  522. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  523. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  524. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  525. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  526. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  527. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  528. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  529. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  530. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  531. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  532. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  533. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  534. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  535. package/node_modules/zod/src/v4/core/config.ts +0 -15
  536. package/node_modules/zod/src/v4/core/core.ts +0 -153
  537. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  538. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  539. package/node_modules/zod/src/v4/core/index.ts +0 -16
  540. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  541. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  542. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  543. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  544. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  545. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  546. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  547. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  548. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  549. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  550. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  551. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  552. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  553. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  554. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  555. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  556. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  557. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  558. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  559. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  560. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  561. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  562. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  563. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  564. package/node_modules/zod/src/v4/core/util.ts +0 -983
  565. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  566. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  567. package/node_modules/zod/src/v4/index.ts +0 -4
  568. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  569. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  570. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  571. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  572. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  573. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  574. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  575. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  576. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  577. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  578. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  579. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  580. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  581. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  582. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  583. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  584. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  585. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  586. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  587. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  588. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  589. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  590. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  591. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  592. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  593. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  594. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  595. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  596. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  597. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  598. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  599. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  600. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  601. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  602. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  603. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  604. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  605. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  606. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  607. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  608. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  609. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  610. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  611. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  612. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  613. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  614. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  615. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  616. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  617. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  618. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  619. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  620. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  621. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  622. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  623. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  624. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  625. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  626. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  627. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  628. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  629. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  630. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  631. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  632. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  633. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  634. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  635. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  636. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  637. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  638. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  639. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  640. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  641. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  642. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  643. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  644. package/node_modules/zod/v3/ZodError.cjs +0 -138
  645. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  646. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  647. package/node_modules/zod/v3/ZodError.js +0 -133
  648. package/node_modules/zod/v3/errors.cjs +0 -17
  649. package/node_modules/zod/v3/errors.d.cts +0 -5
  650. package/node_modules/zod/v3/errors.d.ts +0 -5
  651. package/node_modules/zod/v3/errors.js +0 -9
  652. package/node_modules/zod/v3/external.cjs +0 -22
  653. package/node_modules/zod/v3/external.d.cts +0 -6
  654. package/node_modules/zod/v3/external.d.ts +0 -6
  655. package/node_modules/zod/v3/external.js +0 -6
  656. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  657. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  658. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  659. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  660. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  661. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  662. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  663. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  664. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  665. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  666. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  667. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  668. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  669. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  670. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  671. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  672. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  673. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  674. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  675. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  676. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  677. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  678. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  679. package/node_modules/zod/v3/helpers/util.js +0 -133
  680. package/node_modules/zod/v3/index.cjs +0 -33
  681. package/node_modules/zod/v3/index.d.cts +0 -4
  682. package/node_modules/zod/v3/index.d.ts +0 -4
  683. package/node_modules/zod/v3/index.js +0 -4
  684. package/node_modules/zod/v3/locales/en.cjs +0 -112
  685. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  686. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  687. package/node_modules/zod/v3/locales/en.js +0 -109
  688. package/node_modules/zod/v3/package.json +0 -7
  689. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  690. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  691. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  692. package/node_modules/zod/v3/standard-schema.js +0 -1
  693. package/node_modules/zod/v3/types.cjs +0 -3777
  694. package/node_modules/zod/v3/types.d.cts +0 -1034
  695. package/node_modules/zod/v3/types.d.ts +0 -1034
  696. package/node_modules/zod/v3/types.js +0 -3695
  697. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  698. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  699. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  700. package/node_modules/zod/v4/classic/checks.js +0 -1
  701. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  702. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  703. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  704. package/node_modules/zod/v4/classic/coerce.js +0 -17
  705. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  706. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  707. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  708. package/node_modules/zod/v4/classic/compat.js +0 -31
  709. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  710. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  711. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  712. package/node_modules/zod/v4/classic/errors.js +0 -48
  713. package/node_modules/zod/v4/classic/external.cjs +0 -73
  714. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  715. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  716. package/node_modules/zod/v4/classic/external.js +0 -20
  717. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  718. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  719. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  720. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  721. package/node_modules/zod/v4/classic/index.cjs +0 -33
  722. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  723. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  724. package/node_modules/zod/v4/classic/index.js +0 -4
  725. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  726. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  727. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  728. package/node_modules/zod/v4/classic/iso.js +0 -30
  729. package/node_modules/zod/v4/classic/package.json +0 -7
  730. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  731. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  732. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  733. package/node_modules/zod/v4/classic/parse.js +0 -15
  734. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  735. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  736. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  737. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  738. package/node_modules/zod/v4/core/api.cjs +0 -1227
  739. package/node_modules/zod/v4/core/api.d.cts +0 -325
  740. package/node_modules/zod/v4/core/api.d.ts +0 -325
  741. package/node_modules/zod/v4/core/api.js +0 -1087
  742. package/node_modules/zod/v4/core/checks.cjs +0 -601
  743. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  744. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  745. package/node_modules/zod/v4/core/checks.js +0 -575
  746. package/node_modules/zod/v4/core/core.cjs +0 -85
  747. package/node_modules/zod/v4/core/core.d.cts +0 -70
  748. package/node_modules/zod/v4/core/core.d.ts +0 -70
  749. package/node_modules/zod/v4/core/core.js +0 -78
  750. package/node_modules/zod/v4/core/doc.cjs +0 -39
  751. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  752. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  753. package/node_modules/zod/v4/core/doc.js +0 -35
  754. package/node_modules/zod/v4/core/errors.cjs +0 -216
  755. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  756. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  757. package/node_modules/zod/v4/core/errors.js +0 -185
  758. package/node_modules/zod/v4/core/index.cjs +0 -47
  759. package/node_modules/zod/v4/core/index.d.cts +0 -16
  760. package/node_modules/zod/v4/core/index.d.ts +0 -16
  761. package/node_modules/zod/v4/core/index.js +0 -16
  762. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  763. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  764. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  765. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  766. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  767. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  768. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  769. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  770. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  771. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  772. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  773. package/node_modules/zod/v4/core/json-schema.js +0 -1
  774. package/node_modules/zod/v4/core/package.json +0 -7
  775. package/node_modules/zod/v4/core/parse.cjs +0 -131
  776. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  777. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  778. package/node_modules/zod/v4/core/parse.js +0 -93
  779. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  780. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  781. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  782. package/node_modules/zod/v4/core/regexes.js +0 -139
  783. package/node_modules/zod/v4/core/registries.cjs +0 -56
  784. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  785. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  786. package/node_modules/zod/v4/core/registries.js +0 -51
  787. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  788. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  789. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  790. package/node_modules/zod/v4/core/schemas.js +0 -2239
  791. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  792. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  793. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  794. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  795. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  796. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  797. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  798. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  799. package/node_modules/zod/v4/core/util.cjs +0 -734
  800. package/node_modules/zod/v4/core/util.d.cts +0 -200
  801. package/node_modules/zod/v4/core/util.d.ts +0 -200
  802. package/node_modules/zod/v4/core/util.js +0 -674
  803. package/node_modules/zod/v4/core/versions.cjs +0 -8
  804. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  805. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  806. package/node_modules/zod/v4/core/versions.js +0 -5
  807. package/node_modules/zod/v4/index.cjs +0 -22
  808. package/node_modules/zod/v4/index.d.cts +0 -3
  809. package/node_modules/zod/v4/index.d.ts +0 -3
  810. package/node_modules/zod/v4/index.js +0 -3
  811. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  812. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  813. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  814. package/node_modules/zod/v4/locales/ar.js +0 -106
  815. package/node_modules/zod/v4/locales/az.cjs +0 -132
  816. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  817. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  818. package/node_modules/zod/v4/locales/az.js +0 -105
  819. package/node_modules/zod/v4/locales/be.cjs +0 -183
  820. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  821. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  822. package/node_modules/zod/v4/locales/be.js +0 -156
  823. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  824. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  825. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  826. package/node_modules/zod/v4/locales/bg.js +0 -120
  827. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  828. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  829. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  830. package/node_modules/zod/v4/locales/ca.js +0 -107
  831. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  832. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  833. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  834. package/node_modules/zod/v4/locales/cs.js +0 -111
  835. package/node_modules/zod/v4/locales/da.cjs +0 -142
  836. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  837. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  838. package/node_modules/zod/v4/locales/da.js +0 -115
  839. package/node_modules/zod/v4/locales/de.cjs +0 -135
  840. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  841. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  842. package/node_modules/zod/v4/locales/de.js +0 -108
  843. package/node_modules/zod/v4/locales/el.cjs +0 -136
  844. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  845. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  846. package/node_modules/zod/v4/locales/el.js +0 -109
  847. package/node_modules/zod/v4/locales/en.cjs +0 -140
  848. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  849. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  850. package/node_modules/zod/v4/locales/en.js +0 -113
  851. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  852. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  853. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  854. package/node_modules/zod/v4/locales/eo.js +0 -109
  855. package/node_modules/zod/v4/locales/es.cjs +0 -159
  856. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  857. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  858. package/node_modules/zod/v4/locales/es.js +0 -132
  859. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  860. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  861. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  862. package/node_modules/zod/v4/locales/fa.js +0 -114
  863. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  864. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  865. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  866. package/node_modules/zod/v4/locales/fi.js +0 -112
  867. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  868. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  869. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  870. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  871. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  872. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  873. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  874. package/node_modules/zod/v4/locales/fr.js +0 -125
  875. package/node_modules/zod/v4/locales/he.cjs +0 -241
  876. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  877. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  878. package/node_modules/zod/v4/locales/he.js +0 -214
  879. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  880. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  881. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  882. package/node_modules/zod/v4/locales/hr.js +0 -122
  883. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  884. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  885. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  886. package/node_modules/zod/v4/locales/hu.js +0 -108
  887. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  888. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  889. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  890. package/node_modules/zod/v4/locales/hy.js +0 -147
  891. package/node_modules/zod/v4/locales/id.cjs +0 -133
  892. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  893. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  894. package/node_modules/zod/v4/locales/id.js +0 -106
  895. package/node_modules/zod/v4/locales/index.cjs +0 -111
  896. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  897. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  898. package/node_modules/zod/v4/locales/index.js +0 -52
  899. package/node_modules/zod/v4/locales/is.cjs +0 -136
  900. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  901. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  902. package/node_modules/zod/v4/locales/is.js +0 -109
  903. package/node_modules/zod/v4/locales/it.cjs +0 -135
  904. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  905. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  906. package/node_modules/zod/v4/locales/it.js +0 -108
  907. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  908. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  909. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  910. package/node_modules/zod/v4/locales/ja.js +0 -107
  911. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  912. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  913. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  914. package/node_modules/zod/v4/locales/ka.js +0 -112
  915. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  916. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  917. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  918. package/node_modules/zod/v4/locales/kh.js +0 -5
  919. package/node_modules/zod/v4/locales/km.cjs +0 -137
  920. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  921. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  922. package/node_modules/zod/v4/locales/km.js +0 -110
  923. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  924. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  925. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  926. package/node_modules/zod/v4/locales/ko.js +0 -111
  927. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  928. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  929. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  930. package/node_modules/zod/v4/locales/lt.js +0 -203
  931. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  932. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  933. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  934. package/node_modules/zod/v4/locales/mk.js +0 -109
  935. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  936. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  937. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  938. package/node_modules/zod/v4/locales/ms.js +0 -107
  939. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  940. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  941. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  942. package/node_modules/zod/v4/locales/nl.js +0 -110
  943. package/node_modules/zod/v4/locales/no.cjs +0 -135
  944. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  945. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  946. package/node_modules/zod/v4/locales/no.js +0 -108
  947. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  948. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  949. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  950. package/node_modules/zod/v4/locales/ota.js +0 -109
  951. package/node_modules/zod/v4/locales/package.json +0 -7
  952. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  953. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  954. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  955. package/node_modules/zod/v4/locales/pl.js +0 -109
  956. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  957. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  958. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  959. package/node_modules/zod/v4/locales/ps.js +0 -114
  960. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  961. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  962. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  963. package/node_modules/zod/v4/locales/pt.js +0 -108
  964. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  965. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  966. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  967. package/node_modules/zod/v4/locales/ro.js +0 -119
  968. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  969. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  970. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  971. package/node_modules/zod/v4/locales/ru.js +0 -156
  972. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  973. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  974. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  975. package/node_modules/zod/v4/locales/sl.js +0 -109
  976. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  977. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  978. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  979. package/node_modules/zod/v4/locales/sv.js +0 -110
  980. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  981. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  982. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  983. package/node_modules/zod/v4/locales/ta.js +0 -110
  984. package/node_modules/zod/v4/locales/th.cjs +0 -137
  985. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  986. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  987. package/node_modules/zod/v4/locales/th.js +0 -110
  988. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  989. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  990. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  991. package/node_modules/zod/v4/locales/tr.js +0 -105
  992. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  993. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  994. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  995. package/node_modules/zod/v4/locales/ua.js +0 -5
  996. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  997. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  998. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  999. package/node_modules/zod/v4/locales/uk.js +0 -108
  1000. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  1001. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1002. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1003. package/node_modules/zod/v4/locales/ur.js +0 -110
  1004. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  1005. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1006. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1007. package/node_modules/zod/v4/locales/uz.js +0 -110
  1008. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  1009. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1010. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1011. package/node_modules/zod/v4/locales/vi.js +0 -108
  1012. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  1013. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1014. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1015. package/node_modules/zod/v4/locales/yo.js +0 -107
  1016. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  1017. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1018. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1019. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  1020. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  1021. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1022. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1023. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  1024. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  1025. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1026. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1027. package/node_modules/zod/v4/mini/checks.js +0 -1
  1028. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  1029. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1030. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1031. package/node_modules/zod/v4/mini/coerce.js +0 -22
  1032. package/node_modules/zod/v4/mini/external.cjs +0 -63
  1033. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  1034. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  1035. package/node_modules/zod/v4/mini/external.js +0 -14
  1036. package/node_modules/zod/v4/mini/index.cjs +0 -32
  1037. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  1038. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  1039. package/node_modules/zod/v4/mini/index.js +0 -3
  1040. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  1041. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1042. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1043. package/node_modules/zod/v4/mini/iso.js +0 -34
  1044. package/node_modules/zod/v4/mini/package.json +0 -7
  1045. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  1046. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1047. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1048. package/node_modules/zod/v4/mini/parse.js +0 -1
  1049. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  1050. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  1051. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  1052. package/node_modules/zod/v4/mini/schemas.js +0 -961
  1053. package/node_modules/zod/v4/package.json +0 -7
  1054. package/node_modules/zod/v4-mini/index.cjs +0 -32
  1055. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  1056. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  1057. package/node_modules/zod/v4-mini/index.js +0 -3
  1058. package/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,1184 +0,0 @@
1
- import * as checks from "./checks.cjs";
2
- import * as core from "./core.cjs";
3
- import type * as errors from "./errors.cjs";
4
- import type * as JSONSchema from "./json-schema.cjs";
5
- import type { StandardSchemaV1 } from "./standard-schema.cjs";
6
- import type { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.cjs";
7
- import * as util from "./util.cjs";
8
- import { version } from "./versions.cjs";
9
- export interface ParseContext<T extends errors.$ZodIssueBase = never> {
10
- /** Customize error messages. */
11
- readonly error?: errors.$ZodErrorMap<T>;
12
- /** Include the `input` field in issue objects. Default `false`. */
13
- readonly reportInput?: boolean;
14
- /** Skip eval-based fast path. Default `false`. */
15
- readonly jitless?: boolean;
16
- }
17
- /** @internal */
18
- export interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {
19
- readonly async?: boolean | undefined;
20
- readonly direction?: "forward" | "backward";
21
- readonly skipChecks?: boolean;
22
- }
23
- export interface ParsePayload<T = unknown> {
24
- value: T;
25
- issues: errors.$ZodRawIssue[];
26
- /** A way to mark a whole payload as aborted. Used in codecs/pipes. */
27
- aborted?: boolean;
28
- /** @internal Marks a value as a fallback that an outer wrapper (e.g.
29
- * $ZodOptional) may override with its own interpretation when input was
30
- * undefined. Set by $ZodCatch when catchValue substitutes and by every
31
- * $ZodTransform invocation. */
32
- fallback?: boolean | undefined;
33
- }
34
- export type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;
35
- export interface $ZodTypeDef {
36
- 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";
37
- error?: errors.$ZodErrorMap<never> | undefined;
38
- checks?: checks.$ZodCheck<never>[];
39
- }
40
- export interface _$ZodTypeInternals {
41
- /** The `@zod/core` version of this schema */
42
- version: typeof version;
43
- /** Schema definition. */
44
- def: $ZodTypeDef;
45
- /** @internal Randomly generated ID for this schema. */
46
- /** @internal List of deferred initializers. */
47
- deferred: util.AnyFunc[] | undefined;
48
- /** @internal Parses input and runs all checks (refinements). */
49
- run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
50
- /** @internal Parses input, doesn't run checks. */
51
- parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
52
- /** @internal Stores identifiers for the set of traits implemented by this schema. */
53
- traits: Set<string>;
54
- /** @internal Indicates that a schema output type should be considered optional inside objects.
55
- * @default Required
56
- */
57
- /** @internal */
58
- optin?: "optional" | undefined;
59
- /** @internal */
60
- optout?: "optional" | undefined;
61
- /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
62
- *
63
- * Defined on: enum, const, literal, null, undefined
64
- * Passthrough: optional, nullable, branded, default, catch, pipe
65
- * Todo: unions?
66
- */
67
- values?: util.PrimitiveSet | undefined;
68
- /** Default value bubbled up from */
69
- /** @internal A set of literal discriminators used for the fast path in discriminated unions. */
70
- propValues?: util.PropValues | undefined;
71
- /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
72
- pattern: RegExp | undefined;
73
- /** @internal The constructor function of this schema. */
74
- constr: new (def: any) => $ZodType;
75
- /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
76
- bag: Record<string, unknown>;
77
- /** @internal The set of issues this schema might throw during type checking. */
78
- isst: errors.$ZodIssueBase;
79
- /** @internal Subject to change, not a public API. */
80
- processJSONSchema?: ((ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void) | undefined;
81
- /** An optional method used to override `toJSONSchema` logic. */
82
- toJSONSchema?: () => unknown;
83
- /** @internal The parent of this schema. Only set during certain clone operations. */
84
- parent?: $ZodType | undefined;
85
- }
86
- /** @internal */
87
- export interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
88
- /** @internal The inferred output type */
89
- output: O;
90
- /** @internal The inferred input type */
91
- input: I;
92
- }
93
- export type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;
94
- export type SomeType = {
95
- _zod: _$ZodTypeInternals;
96
- };
97
- export interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {
98
- _zod: Internals;
99
- "~standard": $ZodStandardSchema<this>;
100
- }
101
- export interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {
102
- }
103
- export declare const $ZodType: core.$constructor<$ZodType>;
104
- export { clone } from "./util.cjs";
105
- export interface $ZodStringDef extends $ZodTypeDef {
106
- type: "string";
107
- coerce?: boolean;
108
- checks?: checks.$ZodCheck<string>[];
109
- }
110
- export interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
111
- def: $ZodStringDef;
112
- /** @deprecated Internal API, use with caution (not deprecated) */
113
- pattern: RegExp;
114
- /** @deprecated Internal API, use with caution (not deprecated) */
115
- isst: errors.$ZodIssueInvalidType;
116
- bag: util.LoosePartial<{
117
- minimum: number;
118
- maximum: number;
119
- patterns: Set<RegExp>;
120
- format: string;
121
- contentEncoding: string;
122
- }>;
123
- }
124
- export interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {
125
- }
126
- export declare const $ZodString: core.$constructor<$ZodString>;
127
- export interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, checks.$ZodCheckStringFormatDef<Format> {
128
- }
129
- export interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, checks.$ZodCheckStringFormatInternals {
130
- def: $ZodStringFormatDef<Format>;
131
- }
132
- export interface $ZodStringFormat<Format extends string = string> extends $ZodType {
133
- _zod: $ZodStringFormatInternals<Format>;
134
- }
135
- export declare const $ZodStringFormat: core.$constructor<$ZodStringFormat>;
136
- export interface $ZodGUIDDef extends $ZodStringFormatDef<"guid"> {
137
- }
138
- export interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {
139
- }
140
- export interface $ZodGUID extends $ZodType {
141
- _zod: $ZodGUIDInternals;
142
- }
143
- export declare const $ZodGUID: core.$constructor<$ZodGUID>;
144
- export interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
145
- version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
146
- }
147
- export interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
148
- def: $ZodUUIDDef;
149
- }
150
- export interface $ZodUUID extends $ZodType {
151
- _zod: $ZodUUIDInternals;
152
- }
153
- export declare const $ZodUUID: core.$constructor<$ZodUUID>;
154
- export interface $ZodEmailDef extends $ZodStringFormatDef<"email"> {
155
- }
156
- export interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {
157
- }
158
- export interface $ZodEmail extends $ZodType {
159
- _zod: $ZodEmailInternals;
160
- }
161
- export declare const $ZodEmail: core.$constructor<$ZodEmail>;
162
- export interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
163
- hostname?: RegExp | undefined;
164
- protocol?: RegExp | undefined;
165
- normalize?: boolean | undefined;
166
- }
167
- export interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
168
- def: $ZodURLDef;
169
- }
170
- export interface $ZodURL extends $ZodType {
171
- _zod: $ZodURLInternals;
172
- }
173
- export declare const $ZodURL: core.$constructor<$ZodURL>;
174
- export interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {
175
- }
176
- export interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {
177
- }
178
- export interface $ZodEmoji extends $ZodType {
179
- _zod: $ZodEmojiInternals;
180
- }
181
- export declare const $ZodEmoji: core.$constructor<$ZodEmoji>;
182
- export interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {
183
- }
184
- export interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {
185
- }
186
- export interface $ZodNanoID extends $ZodType {
187
- _zod: $ZodNanoIDInternals;
188
- }
189
- export declare const $ZodNanoID: core.$constructor<$ZodNanoID>;
190
- /**
191
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
192
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
193
- * See https://github.com/paralleldrive/cuid.
194
- */
195
- export interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {
196
- }
197
- /**
198
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
199
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
200
- * See https://github.com/paralleldrive/cuid.
201
- */
202
- export interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {
203
- }
204
- /**
205
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
206
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
207
- * See https://github.com/paralleldrive/cuid.
208
- */
209
- export interface $ZodCUID extends $ZodType {
210
- _zod: $ZodCUIDInternals;
211
- }
212
- /**
213
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
214
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
215
- * See https://github.com/paralleldrive/cuid.
216
- */
217
- export declare const $ZodCUID: core.$constructor<$ZodCUID>;
218
- export interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {
219
- }
220
- export interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {
221
- }
222
- export interface $ZodCUID2 extends $ZodType {
223
- _zod: $ZodCUID2Internals;
224
- }
225
- export declare const $ZodCUID2: core.$constructor<$ZodCUID2>;
226
- export interface $ZodULIDDef extends $ZodStringFormatDef<"ulid"> {
227
- }
228
- export interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {
229
- }
230
- export interface $ZodULID extends $ZodType {
231
- _zod: $ZodULIDInternals;
232
- }
233
- export declare const $ZodULID: core.$constructor<$ZodULID>;
234
- export interface $ZodXIDDef extends $ZodStringFormatDef<"xid"> {
235
- }
236
- export interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {
237
- }
238
- export interface $ZodXID extends $ZodType {
239
- _zod: $ZodXIDInternals;
240
- }
241
- export declare const $ZodXID: core.$constructor<$ZodXID>;
242
- export interface $ZodKSUIDDef extends $ZodStringFormatDef<"ksuid"> {
243
- }
244
- export interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {
245
- }
246
- export interface $ZodKSUID extends $ZodType {
247
- _zod: $ZodKSUIDInternals;
248
- }
249
- export declare const $ZodKSUID: core.$constructor<$ZodKSUID>;
250
- export interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
251
- precision: number | null;
252
- offset: boolean;
253
- local: boolean;
254
- }
255
- export interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
256
- def: $ZodISODateTimeDef;
257
- }
258
- export interface $ZodISODateTime extends $ZodType {
259
- _zod: $ZodISODateTimeInternals;
260
- }
261
- export declare const $ZodISODateTime: core.$constructor<$ZodISODateTime>;
262
- export interface $ZodISODateDef extends $ZodStringFormatDef<"date"> {
263
- }
264
- export interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {
265
- }
266
- export interface $ZodISODate extends $ZodType {
267
- _zod: $ZodISODateInternals;
268
- }
269
- export declare const $ZodISODate: core.$constructor<$ZodISODate>;
270
- export interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
271
- precision?: number | null;
272
- }
273
- export interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
274
- def: $ZodISOTimeDef;
275
- }
276
- export interface $ZodISOTime extends $ZodType {
277
- _zod: $ZodISOTimeInternals;
278
- }
279
- export declare const $ZodISOTime: core.$constructor<$ZodISOTime>;
280
- export interface $ZodISODurationDef extends $ZodStringFormatDef<"duration"> {
281
- }
282
- export interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {
283
- }
284
- export interface $ZodISODuration extends $ZodType {
285
- _zod: $ZodISODurationInternals;
286
- }
287
- export declare const $ZodISODuration: core.$constructor<$ZodISODuration>;
288
- export interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
289
- version?: "v4";
290
- }
291
- export interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
292
- def: $ZodIPv4Def;
293
- }
294
- export interface $ZodIPv4 extends $ZodType {
295
- _zod: $ZodIPv4Internals;
296
- }
297
- export declare const $ZodIPv4: core.$constructor<$ZodIPv4>;
298
- export interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
299
- version?: "v6";
300
- }
301
- export interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
302
- def: $ZodIPv6Def;
303
- }
304
- export interface $ZodIPv6 extends $ZodType {
305
- _zod: $ZodIPv6Internals;
306
- }
307
- export declare const $ZodIPv6: core.$constructor<$ZodIPv6>;
308
- export interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
309
- delimiter?: string;
310
- }
311
- export interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
312
- def: $ZodMACDef;
313
- }
314
- export interface $ZodMAC extends $ZodType {
315
- _zod: $ZodMACInternals;
316
- }
317
- export declare const $ZodMAC: core.$constructor<$ZodMAC>;
318
- export interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
319
- version?: "v4";
320
- }
321
- export interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
322
- def: $ZodCIDRv4Def;
323
- }
324
- export interface $ZodCIDRv4 extends $ZodType {
325
- _zod: $ZodCIDRv4Internals;
326
- }
327
- export declare const $ZodCIDRv4: core.$constructor<$ZodCIDRv4>;
328
- export interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
329
- version?: "v6";
330
- }
331
- export interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
332
- def: $ZodCIDRv6Def;
333
- }
334
- export interface $ZodCIDRv6 extends $ZodType {
335
- _zod: $ZodCIDRv6Internals;
336
- }
337
- export declare const $ZodCIDRv6: core.$constructor<$ZodCIDRv6>;
338
- export declare function isValidBase64(data: string): boolean;
339
- export interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {
340
- }
341
- export interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {
342
- }
343
- export interface $ZodBase64 extends $ZodType {
344
- _zod: $ZodBase64Internals;
345
- }
346
- export declare const $ZodBase64: core.$constructor<$ZodBase64>;
347
- export declare function isValidBase64URL(data: string): boolean;
348
- export interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {
349
- }
350
- export interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {
351
- }
352
- export interface $ZodBase64URL extends $ZodType {
353
- _zod: $ZodBase64URLInternals;
354
- }
355
- export declare const $ZodBase64URL: core.$constructor<$ZodBase64URL>;
356
- export interface $ZodE164Def extends $ZodStringFormatDef<"e164"> {
357
- }
358
- export interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {
359
- }
360
- export interface $ZodE164 extends $ZodType {
361
- _zod: $ZodE164Internals;
362
- }
363
- export declare const $ZodE164: core.$constructor<$ZodE164>;
364
- export declare function isValidJWT(token: string, algorithm?: util.JWTAlgorithm | null): boolean;
365
- export interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
366
- alg?: util.JWTAlgorithm | undefined;
367
- }
368
- export interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
369
- def: $ZodJWTDef;
370
- }
371
- export interface $ZodJWT extends $ZodType {
372
- _zod: $ZodJWTInternals;
373
- }
374
- export declare const $ZodJWT: core.$constructor<$ZodJWT>;
375
- export interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {
376
- fn: (val: string) => unknown;
377
- }
378
- export interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {
379
- def: $ZodCustomStringFormatDef<Format>;
380
- }
381
- export interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {
382
- _zod: $ZodCustomStringFormatInternals<Format>;
383
- }
384
- export declare const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat>;
385
- export interface $ZodNumberDef extends $ZodTypeDef {
386
- type: "number";
387
- coerce?: boolean;
388
- }
389
- export interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {
390
- def: $ZodNumberDef;
391
- /** @deprecated Internal API, use with caution (not deprecated) */
392
- pattern: RegExp;
393
- /** @deprecated Internal API, use with caution (not deprecated) */
394
- isst: errors.$ZodIssueInvalidType;
395
- bag: util.LoosePartial<{
396
- minimum: number;
397
- maximum: number;
398
- exclusiveMinimum: number;
399
- exclusiveMaximum: number;
400
- format: string;
401
- pattern: RegExp;
402
- }>;
403
- }
404
- export interface $ZodNumber<Input = unknown> extends $ZodType {
405
- _zod: $ZodNumberInternals<Input>;
406
- }
407
- export declare const $ZodNumber: core.$constructor<$ZodNumber>;
408
- export interface $ZodNumberFormatDef extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef {
409
- }
410
- export interface $ZodNumberFormatInternals extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals {
411
- def: $ZodNumberFormatDef;
412
- isst: errors.$ZodIssueInvalidType;
413
- }
414
- export interface $ZodNumberFormat extends $ZodType {
415
- _zod: $ZodNumberFormatInternals;
416
- }
417
- export declare const $ZodNumberFormat: core.$constructor<$ZodNumberFormat>;
418
- export interface $ZodBooleanDef extends $ZodTypeDef {
419
- type: "boolean";
420
- coerce?: boolean;
421
- checks?: checks.$ZodCheck<boolean>[];
422
- }
423
- export interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {
424
- pattern: RegExp;
425
- def: $ZodBooleanDef;
426
- isst: errors.$ZodIssueInvalidType;
427
- }
428
- export interface $ZodBoolean<T = unknown> extends $ZodType {
429
- _zod: $ZodBooleanInternals<T>;
430
- }
431
- export declare const $ZodBoolean: core.$constructor<$ZodBoolean>;
432
- export interface $ZodBigIntDef extends $ZodTypeDef {
433
- type: "bigint";
434
- coerce?: boolean;
435
- }
436
- export interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {
437
- pattern: RegExp;
438
- /** @internal Internal API, use with caution */
439
- def: $ZodBigIntDef;
440
- isst: errors.$ZodIssueInvalidType;
441
- bag: util.LoosePartial<{
442
- minimum: bigint;
443
- maximum: bigint;
444
- format: string;
445
- }>;
446
- }
447
- export interface $ZodBigInt<T = unknown> extends $ZodType {
448
- _zod: $ZodBigIntInternals<T>;
449
- }
450
- export declare const $ZodBigInt: core.$constructor<$ZodBigInt>;
451
- export interface $ZodBigIntFormatDef extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef {
452
- check: "bigint_format";
453
- }
454
- export interface $ZodBigIntFormatInternals extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals {
455
- def: $ZodBigIntFormatDef;
456
- }
457
- export interface $ZodBigIntFormat extends $ZodType {
458
- _zod: $ZodBigIntFormatInternals;
459
- }
460
- export declare const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat>;
461
- export interface $ZodSymbolDef extends $ZodTypeDef {
462
- type: "symbol";
463
- }
464
- export interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {
465
- def: $ZodSymbolDef;
466
- isst: errors.$ZodIssueInvalidType;
467
- }
468
- export interface $ZodSymbol extends $ZodType {
469
- _zod: $ZodSymbolInternals;
470
- }
471
- export declare const $ZodSymbol: core.$constructor<$ZodSymbol>;
472
- export interface $ZodUndefinedDef extends $ZodTypeDef {
473
- type: "undefined";
474
- }
475
- export interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {
476
- pattern: RegExp;
477
- def: $ZodUndefinedDef;
478
- values: util.PrimitiveSet;
479
- isst: errors.$ZodIssueInvalidType;
480
- }
481
- export interface $ZodUndefined extends $ZodType {
482
- _zod: $ZodUndefinedInternals;
483
- }
484
- export declare const $ZodUndefined: core.$constructor<$ZodUndefined>;
485
- export interface $ZodNullDef extends $ZodTypeDef {
486
- type: "null";
487
- }
488
- export interface $ZodNullInternals extends $ZodTypeInternals<null, null> {
489
- pattern: RegExp;
490
- def: $ZodNullDef;
491
- values: util.PrimitiveSet;
492
- isst: errors.$ZodIssueInvalidType;
493
- }
494
- export interface $ZodNull extends $ZodType {
495
- _zod: $ZodNullInternals;
496
- }
497
- export declare const $ZodNull: core.$constructor<$ZodNull>;
498
- export interface $ZodAnyDef extends $ZodTypeDef {
499
- type: "any";
500
- }
501
- export interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {
502
- def: $ZodAnyDef;
503
- isst: never;
504
- }
505
- export interface $ZodAny extends $ZodType {
506
- _zod: $ZodAnyInternals;
507
- }
508
- export declare const $ZodAny: core.$constructor<$ZodAny>;
509
- export interface $ZodUnknownDef extends $ZodTypeDef {
510
- type: "unknown";
511
- }
512
- export interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {
513
- def: $ZodUnknownDef;
514
- isst: never;
515
- }
516
- export interface $ZodUnknown extends $ZodType {
517
- _zod: $ZodUnknownInternals;
518
- }
519
- export declare const $ZodUnknown: core.$constructor<$ZodUnknown>;
520
- export interface $ZodNeverDef extends $ZodTypeDef {
521
- type: "never";
522
- }
523
- export interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {
524
- def: $ZodNeverDef;
525
- isst: errors.$ZodIssueInvalidType;
526
- }
527
- export interface $ZodNever extends $ZodType {
528
- _zod: $ZodNeverInternals;
529
- }
530
- export declare const $ZodNever: core.$constructor<$ZodNever>;
531
- export interface $ZodVoidDef extends $ZodTypeDef {
532
- type: "void";
533
- }
534
- export interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {
535
- def: $ZodVoidDef;
536
- isst: errors.$ZodIssueInvalidType;
537
- }
538
- export interface $ZodVoid extends $ZodType {
539
- _zod: $ZodVoidInternals;
540
- }
541
- export declare const $ZodVoid: core.$constructor<$ZodVoid>;
542
- export interface $ZodDateDef extends $ZodTypeDef {
543
- type: "date";
544
- coerce?: boolean;
545
- }
546
- export interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {
547
- def: $ZodDateDef;
548
- isst: errors.$ZodIssueInvalidType;
549
- bag: util.LoosePartial<{
550
- minimum: Date;
551
- maximum: Date;
552
- format: string;
553
- }>;
554
- }
555
- export interface $ZodDate<T = unknown> extends $ZodType {
556
- _zod: $ZodDateInternals<T>;
557
- }
558
- export declare const $ZodDate: core.$constructor<$ZodDate>;
559
- export interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
560
- type: "array";
561
- element: T;
562
- }
563
- export interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {
564
- def: $ZodArrayDef<T>;
565
- isst: errors.$ZodIssueInvalidType;
566
- output: core.output<T>[];
567
- input: core.input<T>[];
568
- }
569
- export interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {
570
- }
571
- export declare const $ZodArray: core.$constructor<$ZodArray>;
572
- type OptionalOutSchema = {
573
- _zod: {
574
- optout: "optional";
575
- };
576
- };
577
- type OptionalInSchema = {
578
- _zod: {
579
- optin: "optional";
580
- };
581
- };
582
- export type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, core.output<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{
583
- -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"];
584
- } & {
585
- -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"];
586
- } & Extra>;
587
- export type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : Record<string, core.input<T[keyof T]>> : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{
588
- -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"];
589
- } & {
590
- -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"];
591
- } & Extra>;
592
- export type $ZodObjectConfig = {
593
- out: Record<string, unknown>;
594
- in: Record<string, unknown>;
595
- };
596
- export type $loose = {
597
- out: Record<string, unknown>;
598
- in: Record<string, unknown>;
599
- };
600
- export type $strict = {
601
- out: {};
602
- in: {};
603
- };
604
- export type $strip = {
605
- out: {};
606
- in: {};
607
- };
608
- export type $catchall<T extends SomeType> = {
609
- out: {
610
- [k: string]: core.output<T>;
611
- };
612
- in: {
613
- [k: string]: core.input<T>;
614
- };
615
- };
616
- export type $ZodShape = Readonly<{
617
- [k: string]: $ZodType;
618
- }>;
619
- export interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {
620
- type: "object";
621
- shape: Shape;
622
- catchall?: $ZodType | undefined;
623
- }
624
- export interface $ZodObjectInternals<
625
- /** @ts-ignore Cast variance */
626
- out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
627
- def: $ZodObjectDef<Shape>;
628
- config: Config;
629
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;
630
- propValues: util.PropValues;
631
- output: $InferObjectOutput<Shape, Config["out"]>;
632
- input: $InferObjectInput<Shape, Config["in"]>;
633
- optin?: "optional" | undefined;
634
- optout?: "optional" | undefined;
635
- }
636
- export type $ZodLooseShape = Record<string, any>;
637
- export interface $ZodObject<
638
- /** @ts-ignore Cast variance */
639
- out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {
640
- }
641
- export declare const $ZodObject: core.$constructor<$ZodObject>;
642
- export declare const $ZodObjectJIT: core.$constructor<$ZodObject>;
643
- export type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;
644
- export type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;
645
- export interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
646
- type: "union";
647
- options: Options;
648
- inclusive?: boolean;
649
- }
650
- type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
651
- type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
652
- export interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {
653
- def: $ZodUnionDef<T>;
654
- isst: errors.$ZodIssueInvalidUnion;
655
- pattern: T[number]["_zod"]["pattern"];
656
- values: T[number]["_zod"]["values"];
657
- output: $InferUnionOutput<T[number]>;
658
- input: $InferUnionInput<T[number]>;
659
- optin: IsOptionalIn<T[number]> extends false ? "optional" | undefined : "optional";
660
- optout: IsOptionalOut<T[number]> extends false ? "optional" | undefined : "optional";
661
- }
662
- export interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {
663
- _zod: $ZodUnionInternals<T>;
664
- }
665
- export declare const $ZodUnion: core.$constructor<$ZodUnion>;
666
- export interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {
667
- }
668
- export interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {
669
- _zod: $ZodXorInternals<T>;
670
- }
671
- export declare const $ZodXor: core.$constructor<$ZodXor>;
672
- export interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {
673
- discriminator: Disc;
674
- unionFallback?: boolean;
675
- }
676
- export interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {
677
- def: $ZodDiscriminatedUnionDef<Options, Disc>;
678
- propValues: util.PropValues;
679
- }
680
- export interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {
681
- _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
682
- }
683
- export declare const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion>;
684
- export interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
685
- type: "intersection";
686
- left: Left;
687
- right: Right;
688
- }
689
- export interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {
690
- def: $ZodIntersectionDef<A, B>;
691
- isst: never;
692
- optin: A["_zod"]["optin"] | B["_zod"]["optin"];
693
- optout: A["_zod"]["optout"] | B["_zod"]["optout"];
694
- output: core.output<A> & core.output<B>;
695
- input: core.input<A> & core.input<B>;
696
- }
697
- export interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
698
- _zod: $ZodIntersectionInternals<A, B>;
699
- }
700
- export declare const $ZodIntersection: core.$constructor<$ZodIntersection>;
701
- export interface $ZodTupleDef<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
702
- type: "tuple";
703
- items: T;
704
- rest: Rest;
705
- }
706
- export type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [
707
- ...TupleInputTypeWithOptionals<T>,
708
- ...(Rest extends SomeType ? core.input<Rest>[] : [])
709
- ];
710
- type TupleInputTypeNoOptionals<T extends util.TupleItems> = {
711
- [k in keyof T]: core.input<T[k]>;
712
- };
713
- type TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
714
- ...infer Prefix extends SomeType[],
715
- infer Tail extends SomeType
716
- ] ? Tail["_zod"]["optin"] extends "optional" ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?] : TupleInputTypeNoOptionals<T> : [];
717
- export type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [
718
- ...TupleOutputTypeWithOptionals<T>,
719
- ...(Rest extends SomeType ? core.output<Rest>[] : [])
720
- ];
721
- type TupleOutputTypeNoOptionals<T extends util.TupleItems> = {
722
- [k in keyof T]: core.output<T[k]>;
723
- };
724
- type TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
725
- ...infer Prefix extends SomeType[],
726
- infer Tail extends SomeType
727
- ] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
728
- export interface $ZodTupleInternals<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
729
- def: $ZodTupleDef<T, Rest>;
730
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;
731
- output: $InferTupleOutputType<T, Rest>;
732
- input: $InferTupleInputType<T, Rest>;
733
- }
734
- export interface $ZodTuple<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {
735
- _zod: $ZodTupleInternals<T, Rest>;
736
- }
737
- export declare const $ZodTuple: core.$constructor<$ZodTuple>;
738
- export type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;
739
- export interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {
740
- type: "record";
741
- keyType: Key;
742
- valueType: Value;
743
- /** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
744
- mode?: "strict" | "loose";
745
- }
746
- export type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.output<Key>, core.output<Value>>> : Record<core.output<Key>, core.output<Value>>;
747
- export type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>> : Record<core.input<Key> & PropertyKey, core.input<Value>>;
748
- export interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
749
- def: $ZodRecordDef<Key, Value>;
750
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
751
- optin?: "optional" | undefined;
752
- optout?: "optional" | undefined;
753
- }
754
- export type $partial = {
755
- "~~partial": true;
756
- };
757
- export interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {
758
- _zod: $ZodRecordInternals<Key, Value>;
759
- }
760
- export declare const $ZodRecord: core.$constructor<$ZodRecord>;
761
- export interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
762
- type: "map";
763
- keyType: Key;
764
- valueType: Value;
765
- }
766
- export interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<core.output<Key>, core.output<Value>>, Map<core.input<Key>, core.input<Value>>> {
767
- def: $ZodMapDef<Key, Value>;
768
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;
769
- optin?: "optional" | undefined;
770
- optout?: "optional" | undefined;
771
- }
772
- export interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
773
- _zod: $ZodMapInternals<Key, Value>;
774
- }
775
- export declare const $ZodMap: core.$constructor<$ZodMap>;
776
- export interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
777
- type: "set";
778
- valueType: T;
779
- }
780
- export interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {
781
- def: $ZodSetDef<T>;
782
- isst: errors.$ZodIssueInvalidType;
783
- optin?: "optional" | undefined;
784
- optout?: "optional" | undefined;
785
- }
786
- export interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
787
- _zod: $ZodSetInternals<T>;
788
- }
789
- export declare const $ZodSet: core.$constructor<$ZodSet>;
790
- export type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};
791
- export type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};
792
- export interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {
793
- type: "enum";
794
- entries: T;
795
- }
796
- export interface $ZodEnumInternals<
797
- /** @ts-ignore Cast variance */
798
- out T extends util.EnumLike = util.EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
799
- def: $ZodEnumDef<T>;
800
- /** @deprecated Internal API, use with caution (not deprecated) */
801
- values: util.PrimitiveSet;
802
- /** @deprecated Internal API, use with caution (not deprecated) */
803
- pattern: RegExp;
804
- isst: errors.$ZodIssueInvalidValue;
805
- }
806
- export interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {
807
- _zod: $ZodEnumInternals<T>;
808
- }
809
- export declare const $ZodEnum: core.$constructor<$ZodEnum>;
810
- export interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {
811
- type: "literal";
812
- values: T[];
813
- }
814
- export interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {
815
- def: $ZodLiteralDef<T>;
816
- values: Set<T>;
817
- pattern: RegExp;
818
- isst: errors.$ZodIssueInvalidValue;
819
- }
820
- export interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {
821
- _zod: $ZodLiteralInternals<T>;
822
- }
823
- export declare const $ZodLiteral: core.$constructor<$ZodLiteral>;
824
- type _File = typeof globalThis extends {
825
- File: infer F extends new (...args: any[]) => any;
826
- } ? InstanceType<F> : {};
827
- /** Do not reference this directly. */
828
- export interface File extends _File {
829
- readonly type: string;
830
- readonly size: number;
831
- }
832
- export interface $ZodFileDef extends $ZodTypeDef {
833
- type: "file";
834
- }
835
- export interface $ZodFileInternals extends $ZodTypeInternals<File, File> {
836
- def: $ZodFileDef;
837
- isst: errors.$ZodIssueInvalidType;
838
- bag: util.LoosePartial<{
839
- minimum: number;
840
- maximum: number;
841
- mime: util.MimeTypes[];
842
- }>;
843
- }
844
- export interface $ZodFile extends $ZodType {
845
- _zod: $ZodFileInternals;
846
- }
847
- export declare const $ZodFile: core.$constructor<$ZodFile>;
848
- export interface $ZodTransformDef extends $ZodTypeDef {
849
- type: "transform";
850
- transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;
851
- }
852
- export interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {
853
- def: $ZodTransformDef;
854
- isst: never;
855
- }
856
- export interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {
857
- _zod: $ZodTransformInternals<O, I>;
858
- }
859
- export declare const $ZodTransform: core.$constructor<$ZodTransform>;
860
- export interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
861
- type: "optional";
862
- innerType: T;
863
- }
864
- export interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {
865
- def: $ZodOptionalDef<T>;
866
- optin: "optional";
867
- optout: "optional";
868
- isst: never;
869
- values: T["_zod"]["values"];
870
- pattern: T["_zod"]["pattern"];
871
- }
872
- export interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
873
- _zod: $ZodOptionalInternals<T>;
874
- }
875
- export declare const $ZodOptional: core.$constructor<$ZodOptional>;
876
- export interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {
877
- }
878
- export interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
879
- def: $ZodExactOptionalDef<T>;
880
- output: core.output<T>;
881
- input: core.input<T>;
882
- }
883
- export interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
884
- _zod: $ZodExactOptionalInternals<T>;
885
- }
886
- export declare const $ZodExactOptional: core.$constructor<$ZodExactOptional>;
887
- export interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
888
- type: "nullable";
889
- innerType: T;
890
- }
891
- export interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {
892
- def: $ZodNullableDef<T>;
893
- optin: T["_zod"]["optin"];
894
- optout: T["_zod"]["optout"];
895
- isst: never;
896
- values: T["_zod"]["values"];
897
- pattern: T["_zod"]["pattern"];
898
- }
899
- export interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {
900
- _zod: $ZodNullableInternals<T>;
901
- }
902
- export declare const $ZodNullable: core.$constructor<$ZodNullable>;
903
- export interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
904
- type: "default";
905
- innerType: T;
906
- /** The default value. May be a getter. */
907
- defaultValue: util.NoUndefined<core.output<T>>;
908
- }
909
- export interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
910
- def: $ZodDefaultDef<T>;
911
- optin: "optional";
912
- optout?: "optional" | undefined;
913
- isst: never;
914
- values: T["_zod"]["values"];
915
- }
916
- export interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {
917
- _zod: $ZodDefaultInternals<T>;
918
- }
919
- export declare const $ZodDefault: core.$constructor<$ZodDefault>;
920
- export interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
921
- type: "prefault";
922
- innerType: T;
923
- /** The default value. May be a getter. */
924
- defaultValue: core.input<T>;
925
- }
926
- export interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
927
- def: $ZodPrefaultDef<T>;
928
- optin: "optional";
929
- optout?: "optional" | undefined;
930
- isst: never;
931
- values: T["_zod"]["values"];
932
- }
933
- export interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {
934
- _zod: $ZodPrefaultInternals<T>;
935
- }
936
- export declare const $ZodPrefault: core.$constructor<$ZodPrefault>;
937
- export interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
938
- type: "nonoptional";
939
- innerType: T;
940
- }
941
- export interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {
942
- def: $ZodNonOptionalDef<T>;
943
- isst: errors.$ZodIssueInvalidType;
944
- values: T["_zod"]["values"];
945
- optin: "optional" | undefined;
946
- optout: "optional" | undefined;
947
- }
948
- export interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
949
- _zod: $ZodNonOptionalInternals<T>;
950
- }
951
- export declare const $ZodNonOptional: core.$constructor<$ZodNonOptional>;
952
- export interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
953
- type: "success";
954
- innerType: T;
955
- }
956
- export interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {
957
- def: $ZodSuccessDef<T>;
958
- isst: never;
959
- optin: T["_zod"]["optin"];
960
- optout: "optional" | undefined;
961
- }
962
- export interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
963
- _zod: $ZodSuccessInternals<T>;
964
- }
965
- export declare const $ZodSuccess: core.$constructor<$ZodSuccess>;
966
- export interface $ZodCatchCtx extends ParsePayload {
967
- /** @deprecated Use `ctx.issues` */
968
- error: {
969
- issues: errors.$ZodIssue[];
970
- };
971
- /** @deprecated Use `ctx.value` */
972
- input: unknown;
973
- }
974
- export interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
975
- type: "catch";
976
- innerType: T;
977
- catchValue: (ctx: $ZodCatchCtx) => unknown;
978
- }
979
- export interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {
980
- def: $ZodCatchDef<T>;
981
- optin: T["_zod"]["optin"];
982
- optout: T["_zod"]["optout"];
983
- isst: never;
984
- values: T["_zod"]["values"];
985
- }
986
- export interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
987
- _zod: $ZodCatchInternals<T>;
988
- }
989
- export declare const $ZodCatch: core.$constructor<$ZodCatch>;
990
- export interface $ZodNaNDef extends $ZodTypeDef {
991
- type: "nan";
992
- }
993
- export interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
994
- def: $ZodNaNDef;
995
- isst: errors.$ZodIssueInvalidType;
996
- }
997
- export interface $ZodNaN extends $ZodType {
998
- _zod: $ZodNaNInternals;
999
- }
1000
- export declare const $ZodNaN: core.$constructor<$ZodNaN>;
1001
- export interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
1002
- type: "pipe";
1003
- in: A;
1004
- out: B;
1005
- /** Only defined inside $ZodCodec instances. */
1006
- transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
1007
- /** Only defined inside $ZodCodec instances. */
1008
- reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
1009
- }
1010
- export interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {
1011
- def: $ZodPipeDef<A, B>;
1012
- isst: never;
1013
- values: A["_zod"]["values"];
1014
- optin: A["_zod"]["optin"];
1015
- optout: B["_zod"]["optout"];
1016
- propValues: A["_zod"]["propValues"];
1017
- }
1018
- export interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1019
- _zod: $ZodPipeInternals<A, B>;
1020
- }
1021
- export declare const $ZodPipe: core.$constructor<$ZodPipe>;
1022
- export interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
1023
- transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
1024
- reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
1025
- }
1026
- export interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {
1027
- def: $ZodCodecDef<A, B>;
1028
- isst: never;
1029
- values: A["_zod"]["values"];
1030
- optin: A["_zod"]["optin"];
1031
- optout: B["_zod"]["optout"];
1032
- propValues: A["_zod"]["propValues"];
1033
- }
1034
- export interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1035
- _zod: $ZodCodecInternals<A, B>;
1036
- }
1037
- export declare const $ZodCodec: core.$constructor<$ZodCodec>;
1038
- export interface $ZodPreprocessDef<B extends SomeType = $ZodType> extends $ZodPipeDef<$ZodTransform, B> {
1039
- in: $ZodTransform;
1040
- out: B;
1041
- }
1042
- export interface $ZodPreprocessInternals<B extends SomeType = $ZodType> extends $ZodPipeInternals<$ZodTransform, B> {
1043
- def: $ZodPreprocessDef<B>;
1044
- optin: B["_zod"]["optin"];
1045
- optout: B["_zod"]["optout"];
1046
- }
1047
- export interface $ZodPreprocess<B extends SomeType = $ZodType> extends $ZodPipe<$ZodTransform, B> {
1048
- _zod: $ZodPreprocessInternals<B>;
1049
- }
1050
- export declare const $ZodPreprocess: core.$constructor<$ZodPreprocess>;
1051
- export interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1052
- type: "readonly";
1053
- innerType: T;
1054
- }
1055
- export interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {
1056
- def: $ZodReadonlyDef<T>;
1057
- optin: T["_zod"]["optin"];
1058
- optout: T["_zod"]["optout"];
1059
- isst: never;
1060
- propValues: T["_zod"]["propValues"];
1061
- values: T["_zod"]["values"];
1062
- }
1063
- export interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
1064
- _zod: $ZodReadonlyInternals<T>;
1065
- }
1066
- export declare const $ZodReadonly: core.$constructor<$ZodReadonly>;
1067
- export interface $ZodTemplateLiteralDef extends $ZodTypeDef {
1068
- type: "template_literal";
1069
- parts: $ZodTemplateLiteralPart[];
1070
- format?: string | undefined;
1071
- }
1072
- export interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {
1073
- pattern: RegExp;
1074
- def: $ZodTemplateLiteralDef;
1075
- isst: errors.$ZodIssueInvalidType;
1076
- }
1077
- export interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
1078
- _zod: $ZodTemplateLiteralInternals<Template>;
1079
- }
1080
- type LiteralPart = Exclude<util.Literal, symbol>;
1081
- interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
1082
- pattern: RegExp;
1083
- }
1084
- interface SchemaPart extends $ZodType {
1085
- _zod: SchemaPartInternals;
1086
- }
1087
- export type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
1088
- type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
1089
- type AppendToTemplateLiteral<Template extends string, Suffix extends LiteralPart | $ZodType> = Suffix extends LiteralPart ? `${Template}${UndefinedToEmptyString<Suffix>}` : Suffix extends $ZodType ? `${Template}${core.output<Suffix> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;
1090
- export type ConcatenateTupleOfStrings<T extends string[]> = T extends [
1091
- infer First extends string,
1092
- ...infer Rest extends string[]
1093
- ] ? Rest extends string[] ? First extends "" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : "";
1094
- export type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {
1095
- [K in keyof Parts]: Parts[K] extends LiteralPart ? `${UndefinedToEmptyString<Parts[K]>}` : Parts[K] extends $ZodType ? `${core.output<Parts[K]> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;
1096
- };
1097
- export type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;
1098
- export type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;
1099
- export declare const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral>;
1100
- export type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1101
- export type $ZodFunctionIn = $ZodFunctionArgs;
1102
- export type $ZodFunctionOut = $ZodType;
1103
- export type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => core.input<Returns>;
1104
- export type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => util.MaybeAsync<core.input<Returns>>;
1105
- export type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => core.output<Returns>;
1106
- export type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => Promise<core.output<Returns>>;
1107
- export interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
1108
- type: "function";
1109
- input: In;
1110
- output: Out;
1111
- }
1112
- export interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
1113
- def: $ZodFunctionDef<Args, Returns>;
1114
- isst: errors.$ZodIssueInvalidType;
1115
- }
1116
- export interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
1117
- /** @deprecated */
1118
- _def: $ZodFunctionDef<Args, Returns>;
1119
- _input: $InferInnerFunctionType<Args, Returns>;
1120
- _output: $InferOuterFunctionType<Args, Returns>;
1121
- implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this["_output"]>) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
1122
- implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
1123
- input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
1124
- input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
1125
- input(...args: any[]): $ZodFunction<any, Returns>;
1126
- output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
1127
- }
1128
- export interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
1129
- input?: I;
1130
- output?: O;
1131
- }
1132
- export declare const $ZodFunction: core.$constructor<$ZodFunction>;
1133
- export interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1134
- type: "promise";
1135
- innerType: T;
1136
- }
1137
- export interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<core.output<T>>, util.MaybeAsync<core.input<T>>> {
1138
- def: $ZodPromiseDef<T>;
1139
- isst: never;
1140
- }
1141
- export interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
1142
- _zod: $ZodPromiseInternals<T>;
1143
- }
1144
- export declare const $ZodPromise: core.$constructor<$ZodPromise>;
1145
- export interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1146
- type: "lazy";
1147
- getter: () => T;
1148
- }
1149
- export interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {
1150
- def: $ZodLazyDef<T>;
1151
- isst: never;
1152
- /** Auto-cached way to retrieve the inner schema */
1153
- innerType: T;
1154
- pattern: T["_zod"]["pattern"];
1155
- propValues: T["_zod"]["propValues"];
1156
- optin: T["_zod"]["optin"];
1157
- optout: T["_zod"]["optout"];
1158
- }
1159
- export interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
1160
- _zod: $ZodLazyInternals<T>;
1161
- }
1162
- export declare const $ZodLazy: core.$constructor<$ZodLazy>;
1163
- export interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {
1164
- type: "custom";
1165
- check: "custom";
1166
- path?: PropertyKey[] | undefined;
1167
- error?: errors.$ZodErrorMap | undefined;
1168
- params?: Record<string, any> | undefined;
1169
- fn: (arg: O) => unknown;
1170
- }
1171
- export interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, checks.$ZodCheckInternals<O> {
1172
- def: $ZodCustomDef;
1173
- issc: errors.$ZodIssue;
1174
- isst: never;
1175
- bag: util.LoosePartial<{
1176
- Class: typeof util.Class;
1177
- }>;
1178
- }
1179
- export interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
1180
- _zod: $ZodCustomInternals<O, I>;
1181
- }
1182
- export declare const $ZodCustom: core.$constructor<$ZodCustom>;
1183
- export 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;
1184
- export type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodMAC | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodJWT | $ZodCustomStringFormat<"hex"> | $ZodCustomStringFormat<util.HashFormat> | $ZodCustomStringFormat<"hostname">;