dp-worker 0.1.10 → 0.1.11

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 (804) hide show
  1. package/builtin-skills/reddit.md +29 -0
  2. package/builtin-skills/x.md +44 -0
  3. package/builtin-skills/youtube.md +27 -0
  4. package/dist/agent/agent.d.ts +10 -2
  5. package/dist/agent/agent.js +37 -2
  6. package/dist/agent/agent.js.map +1 -1
  7. package/dist/agent/chat-engine.d.ts +7 -0
  8. package/dist/agent/chat-engine.js +5 -1
  9. package/dist/agent/chat-engine.js.map +1 -1
  10. package/dist/agent/executors/download-executor.d.ts +6 -0
  11. package/dist/agent/executors/download-executor.js +59 -0
  12. package/dist/agent/executors/download-executor.js.map +1 -0
  13. package/dist/agent/persona.d.ts +19 -0
  14. package/dist/agent/persona.js +43 -0
  15. package/dist/agent/persona.js.map +1 -0
  16. package/dist/agent/skill-generator.js +16 -0
  17. package/dist/agent/skill-generator.js.map +1 -1
  18. package/dist/agent/task-runner.d.ts +4 -1
  19. package/dist/agent/task-runner.js +16 -2
  20. package/dist/agent/task-runner.js.map +1 -1
  21. package/dist/browser/account-health.d.ts +22 -0
  22. package/dist/browser/account-health.js +84 -0
  23. package/dist/browser/account-health.js.map +1 -0
  24. package/dist/browser/actions.js +34 -0
  25. package/dist/browser/actions.js.map +1 -1
  26. package/dist/chrome-extension/omni-flow/manifest.json +1 -1
  27. package/dist/index.js +1 -1
  28. package/dist/index.js.map +1 -1
  29. package/dist/llm/tools.d.ts +1 -0
  30. package/dist/llm/tools.js +20 -0
  31. package/dist/llm/tools.js.map +1 -1
  32. package/node_modules/dp-shared/dist/admin-broadcast.d.ts +1 -1
  33. package/node_modules/dp-shared/dist/admin-broadcast.d.ts.map +1 -1
  34. package/node_modules/dp-shared/dist/db-rows.d.ts +13 -0
  35. package/node_modules/dp-shared/dist/db-rows.d.ts.map +1 -1
  36. package/node_modules/dp-shared/dist/db-rows.js +14 -0
  37. package/node_modules/dp-shared/dist/db-rows.js.map +1 -1
  38. package/node_modules/dp-shared/dist/index.d.ts +2 -0
  39. package/node_modules/dp-shared/dist/index.d.ts.map +1 -1
  40. package/node_modules/dp-shared/dist/index.js +2 -0
  41. package/node_modules/dp-shared/dist/index.js.map +1 -1
  42. package/node_modules/dp-shared/dist/omni-flow-cookie.d.ts +112 -0
  43. package/node_modules/dp-shared/dist/omni-flow-cookie.d.ts.map +1 -0
  44. package/node_modules/dp-shared/dist/omni-flow-cookie.js +197 -0
  45. package/node_modules/dp-shared/dist/omni-flow-cookie.js.map +1 -0
  46. package/node_modules/dp-shared/dist/post-drafts-contracts.d.ts +417 -0
  47. package/node_modules/dp-shared/dist/post-drafts-contracts.d.ts.map +1 -0
  48. package/node_modules/dp-shared/dist/post-drafts-contracts.js +337 -0
  49. package/node_modules/dp-shared/dist/post-drafts-contracts.js.map +1 -0
  50. package/node_modules/dp-shared/dist/rest-contracts.d.ts +211 -0
  51. package/node_modules/dp-shared/dist/rest-contracts.d.ts.map +1 -1
  52. package/node_modules/dp-shared/dist/rest-contracts.js +140 -0
  53. package/node_modules/dp-shared/dist/rest-contracts.js.map +1 -1
  54. package/node_modules/dp-shared/dist/task-history-contracts.d.ts +2 -0
  55. package/node_modules/dp-shared/dist/task-history-contracts.d.ts.map +1 -1
  56. package/node_modules/dp-shared/dist/task-history-contracts.js +2 -0
  57. package/node_modules/dp-shared/dist/task-history-contracts.js.map +1 -1
  58. package/node_modules/dp-shared/src/admin-broadcast.ts +2 -0
  59. package/node_modules/dp-shared/src/db-rows.ts +15 -0
  60. package/node_modules/dp-shared/src/index.ts +2 -0
  61. package/node_modules/dp-shared/src/omni-flow-cookie.ts +272 -0
  62. package/node_modules/dp-shared/src/post-drafts-contracts.ts +402 -0
  63. package/node_modules/dp-shared/src/rest-contracts.ts +174 -0
  64. package/node_modules/dp-shared/src/task-history-contracts.ts +2 -0
  65. package/package.json +1 -1
  66. package/dist/render/ffmpeg-compose.d.ts +0 -25
  67. package/dist/render/ffmpeg-compose.js +0 -141
  68. package/dist/render/ffmpeg-compose.js.map +0 -1
  69. package/dist/render/ffmpeg-merge.d.ts +0 -5
  70. package/dist/render/ffmpeg-merge.js +0 -61
  71. package/dist/render/ffmpeg-merge.js.map +0 -1
  72. package/dist/render/font.d.ts +0 -1
  73. package/dist/render/font.js +0 -61
  74. package/dist/render/font.js.map +0 -1
  75. package/dist/render/image-gen.d.ts +0 -11
  76. package/dist/render/image-gen.js +0 -42
  77. package/dist/render/image-gen.js.map +0 -1
  78. package/dist/render/render-frontend.d.ts +0 -46
  79. package/dist/render/render-frontend.js +0 -156
  80. package/dist/render/render-frontend.js.map +0 -1
  81. package/dist/render/render-runner.d.ts +0 -30
  82. package/dist/render/render-runner.js +0 -115
  83. package/dist/render/render-runner.js.map +0 -1
  84. package/dist/render/tts.d.ts +0 -15
  85. package/dist/render/tts.js +0 -35
  86. package/dist/render/tts.js.map +0 -1
  87. package/node_modules/zod/LICENSE +0 -21
  88. package/node_modules/zod/README.md +0 -191
  89. package/node_modules/zod/index.cjs +0 -33
  90. package/node_modules/zod/index.d.cts +0 -4
  91. package/node_modules/zod/index.d.ts +0 -4
  92. package/node_modules/zod/index.js +0 -4
  93. package/node_modules/zod/locales/index.cjs +0 -17
  94. package/node_modules/zod/locales/index.d.cts +0 -1
  95. package/node_modules/zod/locales/index.d.ts +0 -1
  96. package/node_modules/zod/locales/index.js +0 -1
  97. package/node_modules/zod/locales/package.json +0 -7
  98. package/node_modules/zod/mini/index.cjs +0 -32
  99. package/node_modules/zod/mini/index.d.cts +0 -3
  100. package/node_modules/zod/mini/index.d.ts +0 -3
  101. package/node_modules/zod/mini/index.js +0 -3
  102. package/node_modules/zod/mini/package.json +0 -7
  103. package/node_modules/zod/package.json +0 -135
  104. package/node_modules/zod/src/index.ts +0 -4
  105. package/node_modules/zod/src/locales/index.ts +0 -1
  106. package/node_modules/zod/src/mini/index.ts +0 -3
  107. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  108. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  109. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  110. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  111. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  112. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  113. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  114. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  115. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  116. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  117. package/node_modules/zod/src/v3/errors.ts +0 -13
  118. package/node_modules/zod/src/v3/external.ts +0 -6
  119. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  120. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  121. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  122. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  123. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  124. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  125. package/node_modules/zod/src/v3/index.ts +0 -4
  126. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  127. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  128. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  129. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  130. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  131. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  132. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  133. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  134. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  135. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  136. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  137. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  138. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  139. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  140. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  141. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  142. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  143. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  144. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  145. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  146. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  147. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  148. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  149. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  150. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  151. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  152. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  153. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  154. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  155. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  156. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  157. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  158. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  159. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  160. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  161. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  162. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  163. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  164. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  165. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  166. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  167. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  168. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  169. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  170. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  171. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  172. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  173. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  174. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  175. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  176. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  177. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  178. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  179. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  180. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  181. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  182. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  183. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  184. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  185. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  186. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  187. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  188. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  189. package/node_modules/zod/src/v3/types.ts +0 -5138
  190. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  191. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  192. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  193. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  194. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  195. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  196. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  197. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  198. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  199. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  200. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  201. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  202. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  203. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  204. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  205. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  206. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  207. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  208. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  209. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  210. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  211. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  212. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  213. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  214. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  215. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  216. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  217. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  218. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  219. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  220. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  221. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  222. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  223. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  224. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  225. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  226. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  227. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  228. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  229. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  230. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  231. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  232. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  233. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  234. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  235. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  236. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  237. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  238. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  239. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  240. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  241. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  242. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  243. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  244. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  245. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  246. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  247. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  248. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  249. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  250. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  251. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  252. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  253. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  254. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  255. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  256. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  257. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  258. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  259. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  260. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  261. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  262. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  263. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  264. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  265. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  266. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  267. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  268. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  269. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  270. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  271. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  272. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  273. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  274. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  275. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  276. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  277. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  278. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  279. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  280. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  281. package/node_modules/zod/src/v4/core/config.ts +0 -15
  282. package/node_modules/zod/src/v4/core/core.ts +0 -153
  283. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  284. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  285. package/node_modules/zod/src/v4/core/index.ts +0 -16
  286. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  287. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  288. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  289. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  290. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  291. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  292. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  293. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  294. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  295. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  296. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  297. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  298. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  299. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  300. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  301. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  302. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  303. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  304. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  305. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  306. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  307. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  308. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  309. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  310. package/node_modules/zod/src/v4/core/util.ts +0 -983
  311. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  312. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  313. package/node_modules/zod/src/v4/index.ts +0 -4
  314. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  315. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  316. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  317. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  318. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  319. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  320. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  321. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  322. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  323. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  324. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  325. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  326. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  327. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  328. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  329. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  330. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  331. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  332. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  333. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  334. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  335. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  336. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  337. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  338. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  339. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  340. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  341. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  342. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  343. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  344. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  345. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  346. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  347. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  348. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  349. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  350. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  351. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  352. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  353. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  354. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  355. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  356. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  357. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  358. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  359. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  360. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  361. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  362. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  363. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  364. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  365. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  366. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  367. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  368. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  369. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  370. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  371. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  372. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  373. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  374. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  375. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  376. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  377. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  378. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  379. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  380. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  381. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  382. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  383. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  384. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  385. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  386. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  387. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  388. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  389. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  390. package/node_modules/zod/v3/ZodError.cjs +0 -138
  391. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  392. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  393. package/node_modules/zod/v3/ZodError.js +0 -133
  394. package/node_modules/zod/v3/errors.cjs +0 -17
  395. package/node_modules/zod/v3/errors.d.cts +0 -5
  396. package/node_modules/zod/v3/errors.d.ts +0 -5
  397. package/node_modules/zod/v3/errors.js +0 -9
  398. package/node_modules/zod/v3/external.cjs +0 -22
  399. package/node_modules/zod/v3/external.d.cts +0 -6
  400. package/node_modules/zod/v3/external.d.ts +0 -6
  401. package/node_modules/zod/v3/external.js +0 -6
  402. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  403. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  404. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  405. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  406. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  407. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  408. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  409. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  410. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  411. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  412. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  413. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  414. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  415. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  416. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  417. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  418. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  419. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  420. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  421. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  422. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  423. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  424. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  425. package/node_modules/zod/v3/helpers/util.js +0 -133
  426. package/node_modules/zod/v3/index.cjs +0 -33
  427. package/node_modules/zod/v3/index.d.cts +0 -4
  428. package/node_modules/zod/v3/index.d.ts +0 -4
  429. package/node_modules/zod/v3/index.js +0 -4
  430. package/node_modules/zod/v3/locales/en.cjs +0 -112
  431. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  432. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  433. package/node_modules/zod/v3/locales/en.js +0 -109
  434. package/node_modules/zod/v3/package.json +0 -7
  435. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  436. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  437. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  438. package/node_modules/zod/v3/standard-schema.js +0 -1
  439. package/node_modules/zod/v3/types.cjs +0 -3777
  440. package/node_modules/zod/v3/types.d.cts +0 -1034
  441. package/node_modules/zod/v3/types.d.ts +0 -1034
  442. package/node_modules/zod/v3/types.js +0 -3695
  443. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  444. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  445. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  446. package/node_modules/zod/v4/classic/checks.js +0 -1
  447. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  448. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  449. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  450. package/node_modules/zod/v4/classic/coerce.js +0 -17
  451. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  452. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  453. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  454. package/node_modules/zod/v4/classic/compat.js +0 -31
  455. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  456. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  457. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  458. package/node_modules/zod/v4/classic/errors.js +0 -48
  459. package/node_modules/zod/v4/classic/external.cjs +0 -73
  460. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  461. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  462. package/node_modules/zod/v4/classic/external.js +0 -20
  463. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  464. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  465. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  466. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  467. package/node_modules/zod/v4/classic/index.cjs +0 -33
  468. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  469. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  470. package/node_modules/zod/v4/classic/index.js +0 -4
  471. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  472. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  473. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  474. package/node_modules/zod/v4/classic/iso.js +0 -30
  475. package/node_modules/zod/v4/classic/package.json +0 -7
  476. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  477. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  478. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  479. package/node_modules/zod/v4/classic/parse.js +0 -15
  480. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  481. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  482. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  483. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  484. package/node_modules/zod/v4/core/api.cjs +0 -1227
  485. package/node_modules/zod/v4/core/api.d.cts +0 -325
  486. package/node_modules/zod/v4/core/api.d.ts +0 -325
  487. package/node_modules/zod/v4/core/api.js +0 -1087
  488. package/node_modules/zod/v4/core/checks.cjs +0 -601
  489. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  490. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  491. package/node_modules/zod/v4/core/checks.js +0 -575
  492. package/node_modules/zod/v4/core/core.cjs +0 -85
  493. package/node_modules/zod/v4/core/core.d.cts +0 -70
  494. package/node_modules/zod/v4/core/core.d.ts +0 -70
  495. package/node_modules/zod/v4/core/core.js +0 -78
  496. package/node_modules/zod/v4/core/doc.cjs +0 -39
  497. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  498. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  499. package/node_modules/zod/v4/core/doc.js +0 -35
  500. package/node_modules/zod/v4/core/errors.cjs +0 -216
  501. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  502. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  503. package/node_modules/zod/v4/core/errors.js +0 -185
  504. package/node_modules/zod/v4/core/index.cjs +0 -47
  505. package/node_modules/zod/v4/core/index.d.cts +0 -16
  506. package/node_modules/zod/v4/core/index.d.ts +0 -16
  507. package/node_modules/zod/v4/core/index.js +0 -16
  508. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  509. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  510. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  511. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  512. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  513. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  514. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  515. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  516. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  517. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  518. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  519. package/node_modules/zod/v4/core/json-schema.js +0 -1
  520. package/node_modules/zod/v4/core/package.json +0 -7
  521. package/node_modules/zod/v4/core/parse.cjs +0 -131
  522. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  523. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  524. package/node_modules/zod/v4/core/parse.js +0 -93
  525. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  526. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  527. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  528. package/node_modules/zod/v4/core/regexes.js +0 -139
  529. package/node_modules/zod/v4/core/registries.cjs +0 -56
  530. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  531. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  532. package/node_modules/zod/v4/core/registries.js +0 -51
  533. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  534. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  535. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  536. package/node_modules/zod/v4/core/schemas.js +0 -2239
  537. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  538. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  539. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  540. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  541. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  542. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  543. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  544. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  545. package/node_modules/zod/v4/core/util.cjs +0 -734
  546. package/node_modules/zod/v4/core/util.d.cts +0 -200
  547. package/node_modules/zod/v4/core/util.d.ts +0 -200
  548. package/node_modules/zod/v4/core/util.js +0 -674
  549. package/node_modules/zod/v4/core/versions.cjs +0 -8
  550. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  551. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  552. package/node_modules/zod/v4/core/versions.js +0 -5
  553. package/node_modules/zod/v4/index.cjs +0 -22
  554. package/node_modules/zod/v4/index.d.cts +0 -3
  555. package/node_modules/zod/v4/index.d.ts +0 -3
  556. package/node_modules/zod/v4/index.js +0 -3
  557. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  558. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  559. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  560. package/node_modules/zod/v4/locales/ar.js +0 -106
  561. package/node_modules/zod/v4/locales/az.cjs +0 -132
  562. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  563. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  564. package/node_modules/zod/v4/locales/az.js +0 -105
  565. package/node_modules/zod/v4/locales/be.cjs +0 -183
  566. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  567. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  568. package/node_modules/zod/v4/locales/be.js +0 -156
  569. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  570. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  571. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  572. package/node_modules/zod/v4/locales/bg.js +0 -120
  573. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  574. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  575. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  576. package/node_modules/zod/v4/locales/ca.js +0 -107
  577. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  578. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  579. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  580. package/node_modules/zod/v4/locales/cs.js +0 -111
  581. package/node_modules/zod/v4/locales/da.cjs +0 -142
  582. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  583. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  584. package/node_modules/zod/v4/locales/da.js +0 -115
  585. package/node_modules/zod/v4/locales/de.cjs +0 -135
  586. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  587. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  588. package/node_modules/zod/v4/locales/de.js +0 -108
  589. package/node_modules/zod/v4/locales/el.cjs +0 -136
  590. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  591. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  592. package/node_modules/zod/v4/locales/el.js +0 -109
  593. package/node_modules/zod/v4/locales/en.cjs +0 -140
  594. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  595. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  596. package/node_modules/zod/v4/locales/en.js +0 -113
  597. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  598. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  599. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  600. package/node_modules/zod/v4/locales/eo.js +0 -109
  601. package/node_modules/zod/v4/locales/es.cjs +0 -159
  602. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  603. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  604. package/node_modules/zod/v4/locales/es.js +0 -132
  605. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  606. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  607. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  608. package/node_modules/zod/v4/locales/fa.js +0 -114
  609. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  610. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  611. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  612. package/node_modules/zod/v4/locales/fi.js +0 -112
  613. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  614. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  615. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  616. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  617. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  618. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  619. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  620. package/node_modules/zod/v4/locales/fr.js +0 -125
  621. package/node_modules/zod/v4/locales/he.cjs +0 -241
  622. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  623. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  624. package/node_modules/zod/v4/locales/he.js +0 -214
  625. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  626. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  627. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  628. package/node_modules/zod/v4/locales/hr.js +0 -122
  629. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  630. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  631. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  632. package/node_modules/zod/v4/locales/hu.js +0 -108
  633. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  634. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  635. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  636. package/node_modules/zod/v4/locales/hy.js +0 -147
  637. package/node_modules/zod/v4/locales/id.cjs +0 -133
  638. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  639. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  640. package/node_modules/zod/v4/locales/id.js +0 -106
  641. package/node_modules/zod/v4/locales/index.cjs +0 -111
  642. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  643. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  644. package/node_modules/zod/v4/locales/index.js +0 -52
  645. package/node_modules/zod/v4/locales/is.cjs +0 -136
  646. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  647. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  648. package/node_modules/zod/v4/locales/is.js +0 -109
  649. package/node_modules/zod/v4/locales/it.cjs +0 -135
  650. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  651. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  652. package/node_modules/zod/v4/locales/it.js +0 -108
  653. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  654. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  655. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  656. package/node_modules/zod/v4/locales/ja.js +0 -107
  657. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  658. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  659. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  660. package/node_modules/zod/v4/locales/ka.js +0 -112
  661. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  662. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  663. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  664. package/node_modules/zod/v4/locales/kh.js +0 -5
  665. package/node_modules/zod/v4/locales/km.cjs +0 -137
  666. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  667. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  668. package/node_modules/zod/v4/locales/km.js +0 -110
  669. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  670. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  671. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  672. package/node_modules/zod/v4/locales/ko.js +0 -111
  673. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  674. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  675. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  676. package/node_modules/zod/v4/locales/lt.js +0 -203
  677. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  678. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  679. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  680. package/node_modules/zod/v4/locales/mk.js +0 -109
  681. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  682. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  683. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  684. package/node_modules/zod/v4/locales/ms.js +0 -107
  685. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  686. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  687. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  688. package/node_modules/zod/v4/locales/nl.js +0 -110
  689. package/node_modules/zod/v4/locales/no.cjs +0 -135
  690. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  691. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  692. package/node_modules/zod/v4/locales/no.js +0 -108
  693. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  694. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  695. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  696. package/node_modules/zod/v4/locales/ota.js +0 -109
  697. package/node_modules/zod/v4/locales/package.json +0 -7
  698. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  699. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  700. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  701. package/node_modules/zod/v4/locales/pl.js +0 -109
  702. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  703. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  704. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  705. package/node_modules/zod/v4/locales/ps.js +0 -114
  706. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  707. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  708. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  709. package/node_modules/zod/v4/locales/pt.js +0 -108
  710. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  711. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  712. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  713. package/node_modules/zod/v4/locales/ro.js +0 -119
  714. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  715. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  716. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  717. package/node_modules/zod/v4/locales/ru.js +0 -156
  718. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  719. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  720. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  721. package/node_modules/zod/v4/locales/sl.js +0 -109
  722. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  723. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  724. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  725. package/node_modules/zod/v4/locales/sv.js +0 -110
  726. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  727. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  728. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  729. package/node_modules/zod/v4/locales/ta.js +0 -110
  730. package/node_modules/zod/v4/locales/th.cjs +0 -137
  731. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  732. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  733. package/node_modules/zod/v4/locales/th.js +0 -110
  734. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  735. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  736. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  737. package/node_modules/zod/v4/locales/tr.js +0 -105
  738. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  739. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  740. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  741. package/node_modules/zod/v4/locales/ua.js +0 -5
  742. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  743. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  744. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  745. package/node_modules/zod/v4/locales/uk.js +0 -108
  746. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  747. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  748. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  749. package/node_modules/zod/v4/locales/ur.js +0 -110
  750. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  751. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  752. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  753. package/node_modules/zod/v4/locales/uz.js +0 -110
  754. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  755. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  756. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  757. package/node_modules/zod/v4/locales/vi.js +0 -108
  758. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  759. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  760. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  761. package/node_modules/zod/v4/locales/yo.js +0 -107
  762. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  763. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  764. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  765. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  766. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  767. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  768. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  769. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  770. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  771. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  772. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  773. package/node_modules/zod/v4/mini/checks.js +0 -1
  774. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  775. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  776. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  777. package/node_modules/zod/v4/mini/coerce.js +0 -22
  778. package/node_modules/zod/v4/mini/external.cjs +0 -63
  779. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  780. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  781. package/node_modules/zod/v4/mini/external.js +0 -14
  782. package/node_modules/zod/v4/mini/index.cjs +0 -32
  783. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  784. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  785. package/node_modules/zod/v4/mini/index.js +0 -3
  786. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  787. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  788. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  789. package/node_modules/zod/v4/mini/iso.js +0 -34
  790. package/node_modules/zod/v4/mini/package.json +0 -7
  791. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  792. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  793. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  794. package/node_modules/zod/v4/mini/parse.js +0 -1
  795. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  796. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  797. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  798. package/node_modules/zod/v4/mini/schemas.js +0 -961
  799. package/node_modules/zod/v4/package.json +0 -7
  800. package/node_modules/zod/v4-mini/index.cjs +0 -32
  801. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  802. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  803. package/node_modules/zod/v4-mini/index.js +0 -3
  804. 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">;