@orgsdk/cli 0.1.0 → 0.2.1
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.
- package/README.md +21 -7
- package/bin/orgsdk.mjs +1 -1
- package/dist/THIRD_PARTY_NOTICES.txt +278 -0
- package/dist/runtime/README.md +9 -7
- package/dist/runtime/cli.js +12 -13
- package/dist/runtime/client.js +79 -17
- package/dist/runtime/contract.js +39 -6
- package/dist/runtime/executor-configuration.js +1 -1
- package/dist/runtime/isolated-actions.js +4 -5
- package/dist/runtime/isolated-worker.js +5 -0
- package/dist/runtime/mcp/aliases.js +29 -0
- package/dist/runtime/mcp/client.js +239 -0
- package/dist/runtime/mcp/contract.js +57 -0
- package/dist/runtime/mcp/functions.js +40 -0
- package/dist/runtime/mcp/network.js +61 -0
- package/dist/runtime/mcp/schema-types.js +35 -0
- package/dist/runtime/mcp/transport.js +18 -0
- package/dist/runtime/project-data.js +1 -1
- package/dist/runtime/register-executor.js +23 -0
- package/dist/runtime/runner.js +30 -24
- package/dist/runtime/sdk-declarations.js +8 -1
- package/dist/runtime/session-job-contract.js +29 -0
- package/dist/runtime/session-job.js +256 -0
- package/dist/runtime/session-plugin-call.js +33 -0
- package/dist/runtime/sessions/manager.js +5 -3
- package/dist/runtime/sessions/process.js +3 -3
- package/dist/runtime/sessions/session-runtime.js +7 -3
- package/dist/runtime/sessions/worker-guard.js +20 -0
- package/dist/runtime/spawn-job.js +69 -0
- package/dist/runtime/supervisor.js +102 -146
- package/dist/runtime/worker.js +48 -45
- package/dist/server/{bun-driver-JKOGHIVX.js → bun-driver-DTZUUCI3.js} +1 -1
- package/dist/server/{chunk-WCVBLUNL.js → chunk-S5SFX3JM.js} +24 -0
- package/dist/server/index.js +2628 -1230
- package/dist/server/migrations/0003_remote-mcp.sql +17 -0
- package/dist/server/migrations/meta/0003_snapshot.json +3395 -0
- package/dist/server/migrations/meta/_journal.json +7 -0
- package/dist/server/{node-driver-FRDSYDBU.js → node-driver-HDJKKWXQ.js} +1 -1
- package/dist/server/out/404/index.html +1 -1
- package/dist/server/out/404.html +1 -1
- package/dist/server/out/__next.!KHdvcmtzcGFjZSk.__PAGE__.txt +10 -10
- package/dist/server/out/__next._full.txt +11 -11
- package/dist/server/out/__next._tree.txt +2 -2
- package/dist/server/out/_next/static/chunks/0ay0b1lpy734z.js +1 -0
- package/dist/server/out/_next/static/chunks/0c-3k17txbh0-.js +1 -0
- package/dist/server/out/_next/static/chunks/0cwfl2xanfapu.js +1 -0
- package/dist/server/out/_next/static/chunks/0e7s8ie0wlk66.js +1 -0
- package/dist/server/out/_next/static/chunks/0ey-6hb0za4r_.js +1 -0
- package/dist/server/out/_next/static/chunks/0huhp5j8dlai8.js +1 -0
- package/dist/server/out/_next/static/chunks/0khjy8qh1ll42.js +1 -0
- package/dist/server/out/_next/static/chunks/0r0572w1rwpcv.js +1 -0
- package/dist/server/out/_next/static/chunks/0rlc9tihf4po6.css +1 -0
- package/dist/server/out/_next/static/chunks/0u_9k8f7709np.js +1 -0
- package/dist/server/out/_next/static/chunks/0w34iczo7r1v5.js +1 -0
- package/dist/server/out/_next/static/chunks/{280w168xxgtwt.js → 0y5lgqdwpeabb.js} +4 -4
- package/dist/server/out/_next/static/chunks/0zfiikazg0_ga.js +1 -0
- package/dist/server/out/_next/static/chunks/1-75euysc3lin.js +22 -0
- package/dist/server/out/_next/static/chunks/10aam78qxauw0.js +1 -0
- package/dist/server/out/_next/static/chunks/12ro_nqb83zku.js +1 -0
- package/dist/server/out/_next/static/chunks/19ue6x5c3f_38.js +3 -0
- package/dist/server/out/_next/static/chunks/1c1ayx3fqtub5.js +31 -0
- package/dist/server/out/_next/static/chunks/1c2xcwifk3vhh.js +1 -0
- package/dist/server/out/_next/static/chunks/1dwr62uuyceq-.js +1 -0
- package/dist/server/out/_next/static/chunks/1fweh1ttncdlv.js +1 -0
- package/dist/server/out/_next/static/chunks/1iklteprcoims.js +1 -0
- package/dist/server/out/_next/static/chunks/1qaow7bdy3oid.js +1 -0
- package/dist/server/out/_next/static/chunks/1tnzhqkfwk7l8.js +1 -0
- package/dist/server/out/_next/static/chunks/1wn9ohqcnx8y8.js +3 -0
- package/dist/server/out/_next/static/chunks/1zieh-zxgxmcp.js +1 -0
- package/dist/server/out/_next/static/chunks/25qsan0t-_of0.js +1 -0
- package/dist/server/out/_next/static/chunks/26yareaaj1kyr.js +1 -0
- package/dist/server/out/_next/static/chunks/2bkkmnhngpacd.js +1 -0
- package/dist/server/out/_next/static/chunks/2e39uy7huhczu.js +1 -0
- package/dist/server/out/_next/static/chunks/2lxgam-nk-e9a.js +3 -0
- package/dist/server/out/_next/static/chunks/{3dx108d0g6032.js → 2navy2mx7--vk.js} +1 -1
- package/dist/server/out/_next/static/chunks/2ngzwwqeitkk7.js +1 -0
- package/dist/server/out/_next/static/chunks/2rp65hq6bmpxv.js +1 -0
- package/dist/server/out/_next/static/chunks/2z60o39-yshg2.js +1 -0
- package/dist/server/out/_next/static/chunks/3_d6w25_b15kx.js +1 -0
- package/dist/server/out/_next/static/chunks/3d8gkwu9nszjk.js +1 -0
- package/dist/server/out/_next/static/chunks/3l-16g1y6k5rs.js +1 -0
- package/dist/server/out/_next/static/chunks/3obu_9-ka7u_h.js +1 -0
- package/dist/server/out/_next/static/chunks/3xs2ji0dgkbmc.js +1 -0
- package/dist/server/out/_next/static/chunks/{turbopack-3-ry682tkyiqk.js → turbopack-2u1d16houkiyo.js} +1 -1
- package/dist/server/out/_not-found/__next._full.txt +4 -4
- package/dist/server/out/_not-found/__next._not-found.__PAGE__.txt +3 -3
- package/dist/server/out/_not-found/__next._tree.txt +2 -2
- package/dist/server/out/_not-found/index.html +1 -1
- package/dist/server/out/_not-found/index.txt +4 -4
- package/dist/server/out/accounts/2fa/__next._full.txt +9 -9
- package/dist/server/out/accounts/2fa/__next._tree.txt +2 -2
- package/dist/server/out/accounts/2fa/__next.accounts.2fa.__PAGE__.txt +8 -8
- package/dist/server/out/accounts/2fa/index.html +1 -1
- package/dist/server/out/accounts/2fa/index.txt +9 -9
- package/dist/server/out/accounts/email/__next._full.txt +8 -8
- package/dist/server/out/accounts/email/__next._tree.txt +2 -2
- package/dist/server/out/accounts/email/__next.accounts.email.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/email/index.html +1 -1
- package/dist/server/out/accounts/email/index.txt +8 -8
- package/dist/server/out/accounts/login/__next._full.txt +8 -8
- package/dist/server/out/accounts/login/__next._tree.txt +2 -2
- package/dist/server/out/accounts/login/__next.accounts.login.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/login/index.html +1 -1
- package/dist/server/out/accounts/login/index.txt +8 -8
- package/dist/server/out/accounts/logout/__next._full.txt +8 -8
- package/dist/server/out/accounts/logout/__next._tree.txt +2 -2
- package/dist/server/out/accounts/logout/__next.accounts.logout.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/logout/index.html +1 -1
- package/dist/server/out/accounts/logout/index.txt +8 -8
- package/dist/server/out/accounts/password/change/__next._full.txt +8 -8
- package/dist/server/out/accounts/password/change/__next._tree.txt +2 -2
- package/dist/server/out/accounts/password/change/__next.accounts.password.change.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/password/change/index.html +1 -1
- package/dist/server/out/accounts/password/change/index.txt +8 -8
- package/dist/server/out/accounts/password/reset/__next._full.txt +6 -6
- package/dist/server/out/accounts/password/reset/__next._tree.txt +2 -2
- package/dist/server/out/accounts/password/reset/__next.accounts.password.reset.__PAGE__.txt +5 -5
- package/dist/server/out/accounts/password/reset/index.html +1 -1
- package/dist/server/out/accounts/password/reset/index.txt +6 -6
- package/dist/server/out/accounts/signup/__next._full.txt +8 -8
- package/dist/server/out/accounts/signup/__next._tree.txt +2 -2
- package/dist/server/out/accounts/signup/__next.accounts.signup.__PAGE__.txt +7 -7
- package/dist/server/out/accounts/signup/index.html +1 -1
- package/dist/server/out/accounts/signup/index.txt +8 -8
- package/dist/server/out/actions/__next.!KHdvcmtzcGFjZSk.actions.__PAGE__.txt +15 -15
- package/dist/server/out/actions/__next._full.txt +16 -16
- package/dist/server/out/actions/__next._tree.txt +2 -2
- package/dist/server/out/actions/index.html +1 -1
- package/dist/server/out/actions/index.txt +16 -16
- package/dist/server/out/agents/__next.!KHdvcmtzcGFjZSk.agents.__PAGE__.txt +8 -8
- package/dist/server/out/agents/__next._full.txt +9 -9
- package/dist/server/out/agents/__next._tree.txt +2 -2
- package/dist/server/out/agents/index.html +1 -1
- package/dist/server/out/agents/index.txt +9 -9
- package/dist/server/out/apple-touch-icon.png +0 -0
- package/dist/server/out/approvals/__next.!KHdvcmtzcGFjZSk.approvals.__PAGE__.txt +10 -10
- package/dist/server/out/approvals/__next._full.txt +11 -11
- package/dist/server/out/approvals/__next._tree.txt +2 -2
- package/dist/server/out/approvals/index.html +1 -1
- package/dist/server/out/approvals/index.txt +11 -11
- package/dist/server/out/artifacts/__next.!KHdvcmtzcGFjZSk.artifacts.__PAGE__.txt +12 -12
- package/dist/server/out/artifacts/__next._full.txt +13 -13
- package/dist/server/out/artifacts/__next._tree.txt +2 -2
- package/dist/server/out/artifacts/index.html +1 -1
- package/dist/server/out/artifacts/index.txt +13 -13
- package/dist/server/out/audit/__next.!KHdvcmtzcGFjZSk.audit.__PAGE__.txt +10 -10
- package/dist/server/out/audit/__next._full.txt +11 -11
- package/dist/server/out/audit/__next._tree.txt +2 -2
- package/dist/server/out/audit/index.html +1 -1
- package/dist/server/out/audit/index.txt +11 -11
- package/dist/server/out/chat/__next.!KHdvcmtzcGFjZSk.chat.__PAGE__.txt +8 -8
- package/dist/server/out/chat/__next._full.txt +9 -9
- package/dist/server/out/chat/__next._tree.txt +2 -2
- package/dist/server/out/chat/index.html +1 -1
- package/dist/server/out/chat/index.txt +9 -9
- package/dist/server/out/connections/__next.!KHdvcmtzcGFjZSk.connections.__PAGE__.txt +10 -10
- package/dist/server/out/connections/__next._full.txt +11 -11
- package/dist/server/out/connections/__next._tree.txt +2 -2
- package/dist/server/out/connections/index.html +1 -1
- package/dist/server/out/connections/index.txt +11 -11
- package/dist/server/out/credentials/__next.!KHdvcmtzcGFjZSk.credentials.__PAGE__.txt +11 -11
- package/dist/server/out/credentials/__next._full.txt +12 -12
- package/dist/server/out/credentials/__next._tree.txt +2 -2
- package/dist/server/out/credentials/index.html +1 -1
- package/dist/server/out/credentials/index.txt +12 -12
- package/dist/server/out/documents/__next.!KHdvcmtzcGFjZSk.documents.__PAGE__.txt +10 -10
- package/dist/server/out/documents/__next._full.txt +11 -11
- package/dist/server/out/documents/__next._tree.txt +2 -2
- package/dist/server/out/documents/index.html +1 -1
- package/dist/server/out/documents/index.txt +11 -11
- package/dist/server/out/favicon.ico +0 -0
- package/dist/server/out/favicon.png +0 -0
- package/dist/server/out/favicon.svg +4 -7
- package/dist/server/out/index.html +1 -1
- package/dist/server/out/index.txt +11 -11
- package/dist/server/out/people/__next.!KHdvcmtzcGFjZSk.people.__PAGE__.txt +10 -10
- package/dist/server/out/people/__next._full.txt +11 -11
- package/dist/server/out/people/__next._tree.txt +2 -2
- package/dist/server/out/people/index.html +1 -1
- package/dist/server/out/people/index.txt +11 -11
- package/dist/server/out/plugins/__next.!KHdvcmtzcGFjZSk.plugins.__PAGE__.txt +13 -13
- package/dist/server/out/plugins/__next._full.txt +14 -14
- package/dist/server/out/plugins/__next._tree.txt +2 -2
- package/dist/server/out/plugins/index.html +1 -1
- package/dist/server/out/plugins/index.txt +14 -14
- package/dist/server/out/projects/__next.!KHdvcmtzcGFjZSk.projects.__PAGE__.txt +10 -10
- package/dist/server/out/projects/__next._full.txt +11 -11
- package/dist/server/out/projects/__next._tree.txt +2 -2
- package/dist/server/out/projects/index.html +1 -1
- package/dist/server/out/projects/index.txt +11 -11
- package/dist/server/out/runs/__next.!KHdvcmtzcGFjZSk.runs.__PAGE__.txt +12 -12
- package/dist/server/out/runs/__next._full.txt +13 -13
- package/dist/server/out/runs/__next._tree.txt +2 -2
- package/dist/server/out/runs/index.html +1 -1
- package/dist/server/out/runs/index.txt +13 -13
- package/dist/server/out/schedules/__next.!KHdvcmtzcGFjZSk.schedules.__PAGE__.txt +12 -12
- package/dist/server/out/schedules/__next._full.txt +13 -13
- package/dist/server/out/schedules/__next._tree.txt +2 -2
- package/dist/server/out/schedules/index.html +1 -1
- package/dist/server/out/schedules/index.txt +13 -13
- package/dist/server/out/settings/__next.!KHdvcmtzcGFjZSk.settings.__PAGE__.txt +10 -10
- package/dist/server/out/settings/__next._full.txt +11 -11
- package/dist/server/out/settings/__next._tree.txt +2 -2
- package/dist/server/out/settings/index.html +1 -1
- package/dist/server/out/settings/index.txt +11 -11
- package/dist/server/out/setup/__next._full.txt +8 -8
- package/dist/server/out/setup/__next._tree.txt +2 -2
- package/dist/server/out/setup/__next.setup.__PAGE__.txt +7 -7
- package/dist/server/out/setup/index.html +1 -1
- package/dist/server/out/setup/index.txt +8 -8
- package/dist/server/out/tables/__next.!KHdvcmtzcGFjZSk.tables.__PAGE__.txt +10 -10
- package/dist/server/out/tables/__next._full.txt +11 -11
- package/dist/server/out/tables/__next._tree.txt +2 -2
- package/dist/server/out/tables/index.html +1 -1
- package/dist/server/out/tables/index.txt +11 -11
- package/dist/server/out/webhooks/__next.!KHdvcmtzcGFjZSk.webhooks.__PAGE__.txt +10 -10
- package/dist/server/out/webhooks/__next._full.txt +11 -11
- package/dist/server/out/webhooks/__next._tree.txt +2 -2
- package/dist/server/out/webhooks/index.html +1 -1
- package/dist/server/out/webhooks/index.txt +11 -11
- package/dist/server/out/workspaces/invite/__next._full.txt +7 -7
- package/dist/server/out/workspaces/invite/__next._tree.txt +2 -2
- package/dist/server/out/workspaces/invite/__next.workspaces.invite.__PAGE__.txt +6 -6
- package/dist/server/out/workspaces/invite/index.html +1 -1
- package/dist/server/out/workspaces/invite/index.txt +7 -7
- package/docs/browser-sessions.md +85 -0
- package/docs/npm-distribution.md +16 -17
- package/docs/remote-mcp.md +51 -0
- package/package.json +53 -20
- package/runtime/README.md +9 -7
- package/dist/runtime/generated/schema.d.ts +0 -6443
- package/dist/server/out/THIRD_PARTY_NOTICES.md +0 -13
- package/dist/server/out/_next/static/chunks/016glzdsa3q5_.js +0 -1
- package/dist/server/out/_next/static/chunks/05i1qq0mw887k.js +0 -1
- package/dist/server/out/_next/static/chunks/06tt8wiyre1ez.js +0 -1
- package/dist/server/out/_next/static/chunks/0cm9i2msjsy--.js +0 -1
- package/dist/server/out/_next/static/chunks/0hq5dvj7fy64b.js +0 -1
- package/dist/server/out/_next/static/chunks/0ma4vl-fj0tmu.js +0 -1
- package/dist/server/out/_next/static/chunks/0noal-jqjivtf.js +0 -1
- package/dist/server/out/_next/static/chunks/0spckmsiek0gd.js +0 -1
- package/dist/server/out/_next/static/chunks/103sekujf0rxr.js +0 -1
- package/dist/server/out/_next/static/chunks/10h8kpcnjfe_v.js +0 -1
- package/dist/server/out/_next/static/chunks/16_aurf9162_6.js +0 -1
- package/dist/server/out/_next/static/chunks/1c48yx15nlt6w.js +0 -1
- package/dist/server/out/_next/static/chunks/1jp827_2p_wkf.js +0 -1
- package/dist/server/out/_next/static/chunks/1kdk-viqnjs3j.js +0 -1
- package/dist/server/out/_next/static/chunks/1mlfee105fhl7.js +0 -1
- package/dist/server/out/_next/static/chunks/1q9jpzm9b6zy9.js +0 -1
- package/dist/server/out/_next/static/chunks/1v0-a7pehktp9.js +0 -22
- package/dist/server/out/_next/static/chunks/24qxhh2dqvhaa.js +0 -1
- package/dist/server/out/_next/static/chunks/253gnn8ai3i89.js +0 -1
- package/dist/server/out/_next/static/chunks/27umf0z4povug.js +0 -1
- package/dist/server/out/_next/static/chunks/2a_c2xcjy62fq.css +0 -1
- package/dist/server/out/_next/static/chunks/2mvlvogrl6o0u.js +0 -1
- package/dist/server/out/_next/static/chunks/2xzrcwr9q6195.js +0 -1
- package/dist/server/out/_next/static/chunks/2yi6lq56xoijl.js +0 -31
- package/dist/server/out/_next/static/chunks/30g0jo299pr8e.js +0 -1
- package/dist/server/out/_next/static/chunks/36tf56rgybjz0.js +0 -3
- package/dist/server/out/_next/static/chunks/39dofrhzg_uju.js +0 -1
- package/dist/server/out/_next/static/chunks/3a8aanmz3kfof.js +0 -1
- package/dist/server/out/_next/static/chunks/3bd3k15tx3lj1.js +0 -1
- package/dist/server/out/_next/static/chunks/3d34pxerfr389.js +0 -1
- package/dist/server/out/_next/static/chunks/3elab9vgx7_ok.js +0 -1
- package/dist/server/out/_next/static/chunks/3gvae9c-5pi5z.js +0 -1
- package/dist/server/out/_next/static/chunks/3hzia782sc9pf.js +0 -1
- package/dist/server/out/_next/static/chunks/3jl4k-15i8847.js +0 -1
- package/dist/server/out/_next/static/chunks/3lb23el6qno6s.js +0 -1
- package/dist/server/out/_next/static/chunks/3prum3lr5470i.js +0 -3
- package/dist/server/out/_next/static/chunks/3prwkrciuqwjg.js +0 -1
- package/dist/server/out/_next/static/chunks/3txmqtuo5xgfd.js +0 -3
- package/dist/server/out/third-party-licenses/monaco-editor.txt +0 -21
- package/dist/server/out/third-party-licenses/zod.txt +0 -21
- /package/dist/server/out/_next/static/{F49bfPs3jKhcIuc95hqZh → pj0R4_8zvgkN95QPXRHgC}/_buildManifest.js +0 -0
- /package/dist/server/out/_next/static/{F49bfPs3jKhcIuc95hqZh → pj0R4_8zvgkN95QPXRHgC}/_clientMiddlewareManifest.js +0 -0
- /package/dist/server/out/_next/static/{F49bfPs3jKhcIuc95hqZh → pj0R4_8zvgkN95QPXRHgC}/_ssgManifest.js +0 -0
|
@@ -365,7 +365,7 @@ Projects::
|
|
|
365
365
|
`;let t=0,n=e=>{r+=`
|
|
366
366
|
Project '${e.projectName}' (${edX[e.projectKind]}) ${t}
|
|
367
367
|
`,r+=e.filesToString(!0),r+="\n-----------------------------------------------\n",t++};this.projectService.externalProjects.forEach(n),this.projectService.configuredProjects.forEach(n),this.projectService.inferredProjects.forEach(n)}}this.logger.msg(r,"Err")}send(e){if("event"===e.type&&!this.canUseEvents){this.logger.hasLevel(3)&&this.logger.info(`Session does not support events: ignored event: ${Ul(e)}`);return}this.writeMessage(e)}writeMessage(e){let t=epo(e,this.logger,this.byteLength,this.host.newLine);this.host.write(t)}event(e,t){this.send(epl(t,e))}doOutput(e,t,n,r,i,a){let o={seq:0,type:"response",command:t,request_seq:n,success:r,performanceData:i&&epT(i)};if(r){let t;if(ix(e))o.body=e,t=e.metadata,delete e.metadata;else if("object"==typeof e)if(e.metadata){let{metadata:n,...r}=e;o.body=r,t=n}else o.body=e;else o.body=e;t&&(o.metadata=t)}else t3.assert(void 0===e);a&&(o.message=a),this.send(o)}semanticCheck(e,t){var n,r;let i=aJ();null==(n=t5)||n.push(t5.Phase.Session,"semanticCheck",{file:e,configFilePath:t.canonicalConfigFilePath});let a=epe(t,e)?edx:t.getLanguageService().getSemanticDiagnostics(e).filter(e=>!!e.file);this.sendDiagnosticsEvent(e,t,a,"semanticDiag",i),null==(r=t5)||r.pop()}syntacticCheck(e,t){var n,r;let i=aJ();null==(n=t5)||n.push(t5.Phase.Session,"syntacticCheck",{file:e,configFilePath:t.canonicalConfigFilePath}),this.sendDiagnosticsEvent(e,t,t.getLanguageService().getSyntacticDiagnostics(e),"syntaxDiag",i),null==(r=t5)||r.pop()}suggestionCheck(e,t){var n,r;let i=aJ();null==(n=t5)||n.push(t5.Phase.Session,"suggestionCheck",{file:e,configFilePath:t.canonicalConfigFilePath}),this.sendDiagnosticsEvent(e,t,t.getLanguageService().getSuggestionDiagnostics(e),"suggestionDiag",i),null==(r=t5)||r.pop()}regionSemanticCheck(e,t,n){var r,i,a;let o,s=aJ();if(null==(r=t5)||r.push(t5.Phase.Session,"regionSemanticCheck",{file:e,configFilePath:t.canonicalConfigFilePath}),!this.shouldDoRegionCheck(e)||!(o=t.getLanguageService().getRegionSemanticDiagnostics(e,n))){null==(i=t5)||i.pop();return}this.sendDiagnosticsEvent(e,t,o.diagnostics,"regionSemanticDiag",s,o.spans),null==(a=t5)||a.pop()}shouldDoRegionCheck(e){var t;let n=null==(t=this.projectService.getScriptInfoForNormalizedPath(e))?void 0:t.textStorage.getLineInfo().getLineCount();return!!(n&&n>=this.regionDiagLineCountThreshold)}sendDiagnosticsEvent(e,t,n,r,i,a){try{let o=t3.checkDefined(t.getScriptInfo(e)),s=aJ()-i,l={file:e,diagnostics:n.map(n=>ept(e,t,n)),spans:null==a?void 0:a.map(e=>epS(e,o))};this.event(l,r),this.addDiagnosticsPerformanceData(e,r,s)}catch(e){this.logError(e,r)}}updateErrorCheck(e,t,n,r=!0){if(0===t.length)return;t3.assert(!this.suppressDiagnosticEvents);let i=this.changeSeq,a=Math.min(n,200),o=0,s=()=>{if(o++,t.length>o)return e.delay("checkOne",a,c)},l=(t,n)=>{if(this.semanticCheck(t,n),this.changeSeq===i){if(this.getPreferences(t).disableSuggestions)return s();e.immediate("suggestionCheck",()=>{this.suggestionCheck(t,n),s()})}},c=()=>{let n;if(this.changeSeq!==i)return;let a=t[o];if(iT(a)?a=this.toPendingErrorCheck(a):"ranges"in a&&(n=a.ranges,a=this.toPendingErrorCheck(a.file)),!a)return s();let{fileName:c,project:_}=a;if((euK(_),_.containsFile(c,r))&&(this.syntacticCheck(c,_),this.changeSeq===i)){if(0!==_.projectService.serverMode)return s();if(n)return e.immediate("regionSemanticCheck",()=>{let t=this.projectService.getScriptInfoForNormalizedPath(c);t&&this.regionSemanticCheck(c,_,n.map(e=>this.getRange({file:c,...e},t))),this.changeSeq===i&&e.immediate("semanticCheck",()=>l(c,_))});e.immediate("semanticCheck",()=>l(c,_))}};t.length>o&&this.changeSeq===i&&e.delay("checkOne",n,c)}cleanProjects(e,t){if(t)for(let n of(this.logger.info(`cleaning ${e}`),t))n.getLanguageService(!1).cleanupSemanticCache(),n.cleanupProgram()}cleanup(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",it(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())}getEncodedSyntacticClassifications(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e);return n.getEncodedSyntacticClassifications(t,e)}getEncodedSemanticClassifications(e){let{file:t,project:n}=this.getFileAndProject(e),r="2020"===e.format?"2020":"original";return n.getLanguageService().getEncodedSemanticClassifications(t,e,r)}getProject(e){return void 0===e?void 0:this.projectService.findProject(e)}getConfigFileAndProject(e){let t=this.getProject(e.projectFileName),n=la(e.file);return{configFile:t&&t.hasConfigFile(n)?n:void 0,project:t}}getConfigFileDiagnostics(e,t,n){let r=ri(rC(t.getAllProjectErrors(),t.getLanguageService().getCompilerOptionsDiagnostics()),t=>!!t.file&&t.file.fileName===e);return n?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(r):rs(r,e=>epi(e,!1))}convertToDiagnosticsWithLinePositionFromDiagnosticFile(e){return e.map(e=>({message:Lu(e.messageText,this.host.newLine),start:e.start,length:e.length,category:oX(e),code:e.code,source:e.source,startLocation:e.file&&epr(l8(e.file,e.start)),endLocation:e.file&&epr(l8(e.file,e.start+e.length)),reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,relatedInformation:rs(e.relatedInformation,epn)}))}getCompilerOptionsDiagnostics(e){let t=this.getProject(e.projectFileName);return this.convertToDiagnosticsWithLinePosition(ri(t.getLanguageService().getCompilerOptionsDiagnostics(),e=>!e.file),void 0)}convertToDiagnosticsWithLinePosition(e,t){return e.map(e=>({message:Lu(e.messageText,this.host.newLine),start:e.start,length:e.length,category:oX(e),code:e.code,source:e.source,startLocation:t&&t.positionToLineOffset(e.start),endLocation:t&&t.positionToLineOffset(e.start+e.length),reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,relatedInformation:rs(e.relatedInformation,epn)}))}getDiagnosticsWorker(e,t,n,r){let{project:i,file:a}=this.getFileAndProject(e);if(t&&epe(i,a))return edx;let o=i.getScriptInfoForNormalizedPath(a),s=n(i,a);return r?this.convertToDiagnosticsWithLinePosition(s,o):s.map(e=>ept(a,i,e))}getDefinition(t,n){let{file:r,project:i}=this.getFileAndProject(t),a=this.getPositionInFile(t,r),o=this.mapDefinitionInfoLocations(i.getLanguageService().getDefinitionAtPosition(r,a)||edx,i);return n?this.mapDefinitionInfo(o,i):o.map(e.mapToOriginalLocation)}mapDefinitionInfoLocations(e,t){return e.map(e=>{let n=epy(e,t);return n?{...n,containerKind:e.containerKind,containerName:e.containerName,kind:e.kind,name:e.name,failedAliasResolution:e.failedAliasResolution,...e.unverified&&{unverified:e.unverified}}:e})}getDefinitionAndBoundSpan(t,n){let{file:r,project:i}=this.getFileAndProject(t),a=this.getPositionInFile(t,r),o=t3.checkDefined(i.getScriptInfo(r)),s=i.getLanguageService().getDefinitionAndBoundSpan(r,a);if(!s||!s.definitions)return{definitions:edx,textSpan:void 0};let l=this.mapDefinitionInfoLocations(s.definitions,i),{textSpan:c}=s;return n?{definitions:this.mapDefinitionInfo(l,i),textSpan:epS(c,o)}:{definitions:l.map(e.mapToOriginalLocation),textSpan:c}}findSourceDefinition(e){var t;let{file:n,project:r}=this.getFileAndProject(e),i=this.getPositionInFile(e,n),a=r.getLanguageService().getDefinitionAtPosition(n,i),o=this.mapDefinitionInfoLocations(a||edx,r).slice();if(0===this.projectService.serverMode&&(!rS(o,e=>la(e.fileName)!==n&&!e.isAmbient)||rS(o,e=>!!e.failedAliasResolution))){let e=iv(e=>e.textSpan.start,qV(this.host.useCaseSensitiveFileNames));null==o||o.forEach(t=>e.add(t));let a=r.getNoDtsResolutionProject(n),l=a.getLanguageService(),c=null==(t=l.getDefinitionAtPosition(n,i,!0,!1))?void 0:t.filter(e=>la(e.fileName)!==n);if(rS(c))for(let t of c){if(t.unverified){let a=function(e,t,r){var a;let o=r.getSourceFile(e.fileName);if(!o)return;let l=JO(t.getSourceFile(n),i),c=t.getTypeChecker().getSymbolAtLocation(l),_=c&&pm(c,277);if(_)return s((null==(a=_.propertyName)?void 0:a.text)||_.name.text,o,r)}(t,r.getLanguageService().getProgram(),l.getProgram());if(rS(a)){for(let t of a)e.add(t);continue}}e.add(t)}else{let t,c,_=o.filter(e=>la(e.fileName)!==n&&e.isAmbient);for(let o of rS(_)?_:(pi(c=JO((t=r.getLanguageService()).getProgram().getSourceFile(n),i))||wz(c))&&bp(c.parent)&&bh(c,e=>{var r;if(e===c)return;let i=null==(r=t.getDefinitionAtPosition(n,e.getStart(),!0,!1))?void 0:r.filter(e=>la(e.fileName)!==n&&e.isAmbient).map(e=>({fileName:e.fileName,name:yp(c)}));if(rS(i))return i})||edx){let t=function(e,t,n){var i,a,o;let s=S4(e);if(s&&e.lastIndexOf(Ob)===s.topLevelNodeModulesIndex){let l=e.substring(0,s.packageRootIndex),c=null==(i=r.getModuleResolutionCache())?void 0:i.getPackageJsonInfoCache(),_=r.getCompilationSettings(),d=OZ(li(l,r.getCurrentDirectory()),OO(c,r,_));if(!d)return;let u=OA(d,{moduleResolution:2},r,r.getModuleResolutionCache()),p=O1(O2(e.substring(s.topLevelPackageNameIndex+1,s.packageRootIndex))),f=r.toPath(e);if(u&&rS(u,e=>r.toPath(e)===f))return null==(a=n.resolutionCache.resolveSingleModuleNameWithoutWatching(p,t).resolvedModule)?void 0:a.resolvedFileName;{let r=e.substring(s.packageRootIndex+1),i=`${p}/${Sa(r)}`;return null==(o=n.resolutionCache.resolveSingleModuleNameWithoutWatching(i,t).resolvedModule)?void 0:o.resolvedFileName}}}(o.fileName,n,a);if(!t)continue;let i=this.projectService.getOrCreateScriptInfoNotOpenedByClient(t,a.currentDirectory,a.directoryStructureHost,!1);if(!i)continue;a.containsScriptInfo(i)||(a.addRoot(i),a.updateGraph());let c=l.getProgram(),_=t3.checkDefined(c.getSourceFile(t));for(let t of s(o.name,_,c))e.add(t)}}o=it(e.values())}return o=o.filter(e=>!e.isAmbient&&!e.failedAliasResolution),this.mapDefinitionInfo(o,r);function s(e,t,n){return rg(eo6.Core.getTopMostDeclarationNamesInFile(e,t),e=>{let t=n.getTypeChecker().getSymbolAtLocation(e),r=hq(e);if(t&&r)return esD.createDefinitionInfo(r,n.getTypeChecker(),t,r,!0)})}}getEmitOutput(e){let{file:t,project:n}=this.getFileAndProject(e);if(!n.shouldEmitFile(n.getScriptInfo(t)))return{emitSkipped:!0,outputFiles:[],diagnostics:[]};let r=n.getLanguageService().getEmitOutput(t);return e.richResponse?{...r,diagnostics:e.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(r.diagnostics):r.diagnostics.map(e=>epi(e,!0))}:r}mapJSDocTagInfo(e,t,n){return e?e.map(e=>{var r;return{...e,text:n?this.mapDisplayParts(e.text,t):null==(r=e.text)?void 0:r.map(e=>e.text).join("")}}):[]}mapDisplayParts(e,t){return e?e.map(e=>"linkName"!==e.kind?e:{...e,target:this.toFileSpan(e.target.fileName,e.target.textSpan,t)}):[]}mapSignatureHelpItems(e,t,n){return e.map(e=>({...e,documentation:this.mapDisplayParts(e.documentation,t),parameters:e.parameters.map(e=>({...e,documentation:this.mapDisplayParts(e.documentation,t)})),tags:this.mapJSDocTagInfo(e.tags,t,n)}))}mapDefinitionInfo(e,t){return e.map(e=>({...this.toFileSpanWithContext(e.fileName,e.textSpan,e.contextSpan,t),...e.unverified&&{unverified:e.unverified}}))}static mapToOriginalLocation(e){return e.originalFileName?(t3.assert(void 0!==e.originalTextSpan,"originalTextSpan should be present if originalFileName is"),{...e,fileName:e.originalFileName,textSpan:e.originalTextSpan,targetFileName:e.fileName,targetTextSpan:e.textSpan,contextSpan:e.originalContextSpan,targetContextSpan:e.contextSpan}):e}toFileSpan(e,t,n){let r=n.getLanguageService(),i=r.toLineColumnOffset(e,t.start),a=r.toLineColumnOffset(e,cR(t));return{file:e,start:{line:i.line+1,offset:i.character+1},end:{line:a.line+1,offset:a.character+1}}}toFileSpanWithContext(e,t,n,r){let i=this.toFileSpan(e,t,r),a=n&&this.toFileSpan(e,n,r);return a?{...i,contextStart:a.start,contextEnd:a.end}:i}getTypeDefinition(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.getPositionInFile(e,t),i=this.mapDefinitionInfoLocations(n.getLanguageService().getTypeDefinitionAtPosition(t,r)||edx,n);return this.mapDefinitionInfo(i,n)}mapImplementationLocations(e,t){return e.map(e=>{let n=epy(e,t);return n?{...n,kind:e.kind,displayParts:e.displayParts}:e})}getImplementation(t,n){let{file:r,project:i}=this.getFileAndProject(t),a=this.getPositionInFile(t,r),o=this.mapImplementationLocations(i.getLanguageService().getImplementationAtPosition(r,a)||edx,i);return n?o.map(({fileName:e,textSpan:t,contextSpan:n})=>this.toFileSpanWithContext(e,t,n,i)):o.map(e.mapToOriginalLocation)}getSyntacticDiagnosticsSync(e){let{configFile:t}=this.getConfigFileAndProject(e);return t?edx:this.getDiagnosticsWorker(e,!1,(e,t)=>e.getLanguageService().getSyntacticDiagnostics(t),!!e.includeLinePosition)}getSemanticDiagnosticsSync(e){let{configFile:t,project:n}=this.getConfigFileAndProject(e);return t?this.getConfigFileDiagnostics(t,n,!!e.includeLinePosition):this.getDiagnosticsWorker(e,!0,(e,t)=>e.getLanguageService().getSemanticDiagnostics(t).filter(e=>!!e.file),!!e.includeLinePosition)}getSuggestionDiagnosticsSync(e){let{configFile:t}=this.getConfigFileAndProject(e);return t?edx:this.getDiagnosticsWorker(e,!0,(e,t)=>e.getLanguageService().getSuggestionDiagnostics(t),!!e.includeLinePosition)}getJsxClosingTag(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t),i=n.getJsxClosingTagAtPosition(t,r);return void 0===i?void 0:{newText:i.newText,caretOffset:0}}getLinkedEditingRange(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t),i=n.getLinkedEditingRangeAtPosition(t,r),a=this.projectService.getScriptInfoForNormalizedPath(t);if(void 0!==a&&void 0!==i){var o,s;let e;return o=i,s=a,e=o.ranges.map(e=>({start:s.positionToLineOffset(e.start),end:s.positionToLineOffset(e.start+e.length)})),o.wordPattern?{ranges:e,wordPattern:o.wordPattern}:{ranges:e}}}getDocumentHighlights(e,t){let{file:n,project:r}=this.getFileAndProject(e),i=this.getPositionInFile(e,n),a=r.getLanguageService().getDocumentHighlights(n,i,e.filesToSearch);return a?t?a.map(({fileName:e,highlightSpans:t})=>{let n=r.getScriptInfo(e);return{file:e,highlightSpans:t.map(({textSpan:e,kind:t,contextSpan:r})=>({...epk(e,r,n),kind:t}))}}):a:edx}provideInlayHints(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.projectService.getScriptInfoForNormalizedPath(t);return n.getLanguageService().provideInlayHints(t,e,this.getPreferences(t)).map(e=>{let{position:t,displayParts:n}=e;return{...e,position:r.positionToLineOffset(t),displayParts:null==n?void 0:n.map(({text:e,span:t,file:n})=>{if(!t)return{text:e};{t3.assertIsDefined(n,"Target file should be defined together with its span.");let r=this.projectService.getScriptInfo(n);return{text:e,span:{start:r.positionToLineOffset(t.start),end:r.positionToLineOffset(t.start+t.length),file:n}}}})}})}mapCode(e){var t;let n=this.getHostFormatOptions(),r=this.getHostPreferences(),{file:i,languageService:a}=this.getFileAndLanguageServiceForSyntacticOperation(e),o=this.projectService.getScriptInfoForNormalizedPath(i),s=null==(t=e.mapping.focusLocations)?void 0:t.map(e=>e.map(e=>{let t=o.lineOffsetToPosition(e.start.line,e.start.offset);return{start:t,length:o.lineOffsetToPosition(e.end.line,e.end.offset)-t}})),l=a.mapCode(i,e.mapping.contents,s,n,r);return this.mapTextChangesToCodeEdits(l)}getCopilotRelatedInfo(){return{relatedFiles:[]}}setCompilerOptionsForInferredProjects(e){this.projectService.setCompilerOptionsForInferredProjects(e.options,e.projectRootPath)}getProjectInfo(e){return this.getProjectInfoWorker(e.file,e.projectFileName,e.needFileNameList,e.needDefaultConfiguredProjectInfo,!1)}getProjectInfoWorker(e,t,n,r,i){let{project:a}=this.getFileAndProjectWorker(e,t);return euK(a),{configFileName:a.getProjectName(),languageServiceDisabled:!a.languageServiceEnabled,fileNames:n?a.getFileNames(!1,i):void 0,configuredProjectInfo:r?this.getDefaultConfiguredProjectInfo(e):void 0}}getDefaultConfiguredProjectInfo(e){var t;let n,r,i=this.projectService.getScriptInfo(e);if(!i)return;let a=this.projectService.findDefaultConfiguredProjectWorker(i,3);if(a)return a.seenProjects.forEach((e,t)=>{t!==a.defaultProject&&(3!==e?(n??(n=[])).push(la(t.getConfigFilePath())):(r??(r=[])).push(la(t.getConfigFilePath())))}),null==(t=a.seenConfigs)||t.forEach(e=>(n??(n=[])).push(e)),{notMatchedByConfig:n,notInProject:r,defaultProject:a.defaultProject&&la(a.defaultProject.getConfigFilePath())}}getRenameInfo(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.getPositionInFile(e,t),i=this.getPreferences(t);return n.getLanguageService().getRenameInfo(t,r,i)}getProjects(e,t,n){let r,i;if(e.projectFileName){let t=this.getProject(e.projectFileName);t&&(r=[t])}else{let a=t?this.projectService.getScriptInfoEnsuringProjectsUptoDate(e.file):this.projectService.getScriptInfo(e.file);if(!a)return n?edx:(this.projectService.logErrorForScriptInfoNotFound(e.file),nU.ThrowNoProject());t||this.projectService.ensureDefaultProjectForFile(a);r=a.containingProjects,i=this.projectService.getSymlinkedProjects(a)}return(r=ri(r,e=>e.languageServiceEnabled&&!e.isOrphan()),n||r&&r.length||i)?i?{projects:r,symLinkedProjects:i}:r:(this.projectService.logErrorForScriptInfoNotFound(e.file??e.projectFileName),nU.ThrowNoProject())}getDefaultProject(e){if(e.projectFileName){let t=this.getProject(e.projectFileName);if(t)return t;if(!e.file)return nU.ThrowNoProject()}return this.projectService.getScriptInfo(e.file).getDefaultProject()}getRenameLocations(e,t){let n=la(e.file),r=this.getPositionInFile(e,n),i=this.getProjects(e),a=this.getDefaultProject(e),o=this.getPreferences(n),s=this.mapRenameInfo(a.getLanguageService().getRenameInfo(n,r,o),t3.checkDefined(this.projectService.getScriptInfo(n)));if(!s.canRename)return t?{info:s,locs:[]}:[];let l=function(e,t,n,r,i,a,o){let s=epu(e,t,n,ep_(t,n,!0),epf,(e,t)=>e.getLanguageService().findRenameLocations(t.fileName,t.pos,r,i,a),(e,t)=>t(epg(e)));if(ix(s))return s;let l=[],c=epc(o);return s.forEach((e,t)=>{for(let n of e)c.has(n)||eph(epg(n),t)||(l.push(n),c.add(n))}),l}(i,a,{fileName:e.file,pos:r},!!e.findInStrings,!!e.findInComments,o,this.host.useCaseSensitiveFileNames);return t?{info:s,locs:this.toSpanGroups(l)}:l}mapRenameInfo(e,t){if(!e.canRename)return e;{let{canRename:n,fileToRename:r,displayName:i,fullDisplayName:a,kind:o,kindModifiers:s,triggerSpan:l}=e;return iN({canRename:n,fileToRename:r,displayName:i,fullDisplayName:a,kind:o,kindModifiers:s,triggerSpan:epS(l,t)})}}toSpanGroups(e){let t=new Map;for(let{fileName:n,textSpan:r,contextSpan:i,originalContextSpan:a,originalTextSpan:o,originalFileName:s,...l}of e){let e=t.get(n);e||t.set(n,e={file:n,locs:[]});let a=t3.checkDefined(this.projectService.getScriptInfo(n));e.locs.push({...epk(r,i,a),...l})}return it(t.values())}getReferences(e,t){let n=la(e.file),r=this.getProjects(e),i=this.getPositionInFile(e,n),a=function(e,t,n,r,i){var a,o;let s=epu(e,t,n,ep_(t,n,!1),epf,(e,t)=>(i.info(`Finding references to ${t.fileName} position ${t.pos} in project ${e.getProjectName()}`),e.getLanguageService().findReferences(t.fileName,t.pos)),(e,t)=>{for(let n of(t(epg(e.definition)),e.references))t(epg(n))});if(ix(s))return s;let l=s.get(t);if((null==(o=null==(a=null==l?void 0:l[0])?void 0:a.references[0])?void 0:o.isDefinition)===void 0)s.forEach(e=>{for(let t of e)for(let e of t.references)delete e.isDefinition});else{let e=epc(r);for(let t of l)for(let n of t.references)if(n.isDefinition){e.add(n);break}let t=new Set;for(;;){let n=!1;if(s.forEach((r,i)=>{t.has(i)||i.getLanguageService().updateIsDefinitionOfReferencedSymbols(r,e)&&(t.add(i),n=!0)}),!n)break}s.forEach((e,n)=>{if(!t.has(n))for(let t of e)for(let e of t.references)e.isDefinition=!1})}let c=[],_=epc(r);return s.forEach((e,t)=>{for(let n of e){let e=eph(epg(n.definition),t),i=void 0===e?n.definition:{...n.definition,textSpan:cY(e.pos,n.definition.textSpan.length),fileName:e.fileName,contextSpan:function(e,t){return qX(e,t.getSourceMapper(),e=>t.projectService.fileExists(e))}(n.definition,t)},a=n5(c,e=>qq(e.definition,i,r));for(let e of(a||(a={definition:i,references:[]},c.push(a)),n.references))_.has(e)||eph(epg(e),t)||(_.add(e),a.references.push(e))}}),c.filter(e=>0!==e.references.length)}(r,this.getDefaultProject(e),{fileName:e.file,pos:i},this.host.useCaseSensitiveFileNames,this.logger);if(!t)return a;let o=this.getPreferences(n),s=this.getDefaultProject(e),l=s.getScriptInfoForNormalizedPath(n),c=s.getLanguageService().getQuickInfoAtPosition(n,i),_=c?X1(c.displayParts):"",d=c&&c.textSpan,u=d?l.positionToLineOffset(d.start).offset:0,p=d?l.getSnapshot().getText(d.start,cR(d)):"";return{refs:rd(a,e=>e.references.map(e=>epP(this.projectService,e,o))),symbolName:p,symbolStartOffset:u,symbolDisplayString:_}}getFileReferences(e,t){let n,r=this.getProjects(e),i=la(e.file),a=this.getPreferences(i),o={fileName:i,pos:0},s=epu(r,this.getDefaultProject(e),o,o,epp,e=>(this.logger.info(`Finding references to file ${i} in project ${e.getProjectName()}`),e.getLanguageService().getFileReferences(i)));if(ix(s))n=s;else{n=[];let e=epc(this.host.useCaseSensitiveFileNames);s.forEach(t=>{for(let r of t)e.has(r)||(n.push(r),e.add(r))})}return t?{refs:n.map(e=>epP(this.projectService,e,a)),symbolName:`"${e.file}"`}:n}openClientFile(e,t,n,r){this.projectService.openClientFileWithNormalizedPath(e,t,n,!1,r)}getPosition(e,t){return void 0!==e.position?e.position:t.lineOffsetToPosition(e.line,e.offset)}getPositionInFile(e,t){let n=this.projectService.getScriptInfoForNormalizedPath(t);return this.getPosition(e,n)}getFileAndProject(e){return this.getFileAndProjectWorker(e.file,e.projectFileName)}getFileAndLanguageServiceForSyntacticOperation(e){let{file:t,project:n}=this.getFileAndProject(e);return{file:t,languageService:n.getLanguageService(!1)}}getFileAndProjectWorker(e,t){let n=la(e),r=this.getProject(t)||this.projectService.ensureDefaultProjectForFile(n);return{file:n,project:r}}getOutliningSpans(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=r.getOutliningSpans(n);if(!t)return i;{let e=this.projectService.getScriptInfoForNormalizedPath(n);return i.map(t=>({textSpan:epS(t.textSpan,e),hintSpan:epS(t.hintSpan,e),bannerText:t.bannerText,autoCollapse:t.autoCollapse,kind:t.kind}))}}getTodoComments(e){let{file:t,project:n}=this.getFileAndProject(e);return n.getLanguageService().getTodoComments(t,e.descriptors)}getDocCommentTemplate(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.getDocCommentTemplateAtPosition(t,r,this.getPreferences(t),this.getFormatOptions(t))}getSpanOfEnclosingComment(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.onlyMultiLine,i=this.getPositionInFile(e,t);return n.getSpanOfEnclosingComment(t,i,r)}getIndentation(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t),i=e.options?euC(e.options):this.getFormatOptions(t),a=n.getIndentationAtPosition(t,r,i);return{position:r,indentation:a}}getBreakpointStatement(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.getBreakpointStatementAtPosition(t,r)}getNameOrDottedNameSpan(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.getNameOrDottedNameSpan(t,r,r)}isValidBraceCompletion(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.getPositionInFile(e,t);return n.isValidBraceCompletionAtPosition(t,r,e.openingBrace.charCodeAt(0))}getQuickInfoWorker(e,t){let{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getPreferences(n),o=r.getLanguageService().getQuickInfoAtPosition(n,this.getPosition(e,i),a.maximumHoverLength,e.verbosityLevel);if(!o)return;let s=!!a.displayPartsForJSDoc;if(!t)return s?o:{...o,tags:this.mapJSDocTagInfo(o.tags,r,!1)};{let e=X1(o.displayParts);return{kind:o.kind,kindModifiers:o.kindModifiers,start:i.positionToLineOffset(o.textSpan.start),end:i.positionToLineOffset(cR(o.textSpan)),displayString:e,documentation:s?this.mapDisplayParts(o.documentation,r):X1(o.documentation),tags:this.mapJSDocTagInfo(o.tags,r,s),canIncreaseVerbosityLevel:o.canIncreaseVerbosityLevel}}}getFormattingEditsForRange(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.projectService.getScriptInfoForNormalizedPath(t),i=r.lineOffsetToPosition(e.line,e.offset),a=r.lineOffsetToPosition(e.endLine,e.endOffset),o=n.getFormattingEditsForRange(t,i,a,this.getFormatOptions(t));if(o)return o.map(e=>this.convertTextChangeToCodeEdit(e,r))}getFormattingEditsForRangeFull(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.options?euC(e.options):this.getFormatOptions(t);return n.getFormattingEditsForRange(t,e.position,e.endPosition,r)}getFormattingEditsForDocumentFull(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.options?euC(e.options):this.getFormatOptions(t);return n.getFormattingEditsForDocument(t,r)}getFormattingEditsAfterKeystrokeFull(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.options?euC(e.options):this.getFormatOptions(t);return n.getFormattingEditsAfterKeystroke(t,e.position,e.key,r)}getFormattingEditsAfterKeystroke(e){let{file:t,languageService:n}=this.getFileAndLanguageServiceForSyntacticOperation(e),r=this.projectService.getScriptInfoForNormalizedPath(t),i=r.lineOffsetToPosition(e.line,e.offset),a=this.getFormatOptions(t),o=n.getFormattingEditsAfterKeystroke(t,i,e.key,a);if("\n"===e.key&&(!o||0===o.length||o.every(e=>cR(e.span)<i))){let{lineText:s,absolutePosition:l}=r.textStorage.getAbsolutePositionAndLineText(e.line);if(s&&0>s.search("\\S")){let e,r,c=n.getIndentationAtPosition(t,i,a),_=0;for(e=0,r=s.length;e<r;e++)if(" "===s.charAt(e))_++;else if(" "===s.charAt(e))_+=a.tabSize;else break;if(c!==_){let t=l+e;o.push({span:c0(l,t),newText:ecZ.getIndentationString(c,a)})}}}if(o)return o.map(e=>({start:r.positionToLineOffset(e.span.start),end:r.positionToLineOffset(cR(e.span)),newText:e.newText?e.newText:""}))}getCompletions(e,t){let{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getPosition(e,i),o=r.getLanguageService().getCompletionsAtPosition(n,a,{...euE(this.getPreferences(n)),triggerCharacter:e.triggerCharacter,triggerKind:e.triggerKind,includeExternalModuleExports:e.includeExternalModuleExports,includeInsertTextCompletions:e.includeInsertTextCompletions},r.projectService.getFormatCodeOptions(n));if(void 0===o)return;if("completions-full"===t)return o;let s=e.prefix||"",l=rg(o.entries,e=>{if(o.isMemberCompletion||aa(e.name.toLowerCase(),s.toLowerCase())){let t=e.replacementSpan?epS(e.replacementSpan,i):void 0;return{...e,replacementSpan:t,hasAction:e.hasAction||void 0,symbol:void 0}}});return"completions"===t?(o.metadata&&(l.metadata=o.metadata),l):{...o,optionalReplacementSpan:o.optionalReplacementSpan&&epS(o.optionalReplacementSpan,i),entries:l}}getCompletionEntryDetails(e,t){let{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getPosition(e,i),o=r.projectService.getFormatCodeOptions(n),s=!!this.getPreferences(n).displayPartsForJSDoc,l=rg(e.entryNames,e=>{let{name:t,source:i,data:s}="string"==typeof e?{name:e,source:void 0,data:void 0}:e;return r.getLanguageService().getCompletionEntryDetails(n,a,t,o,i,this.getPreferences(n),s?iC(s,epD):void 0)});return t?s?l:l.map(e=>({...e,tags:this.mapJSDocTagInfo(e.tags,r,!1)})):l.map(e=>({...e,codeActions:rs(e.codeActions,e=>this.mapCodeAction(e)),documentation:this.mapDisplayParts(e.documentation,r),tags:this.mapJSDocTagInfo(e.tags,r,s)}))}getCompileOnSaveAffectedFileList(e){var t,n;let r,i=this.getProjects(e,!0,!0),a=this.projectService.getScriptInfo(e.file);return a?(t=e=>this.projectService.getScriptInfoForPath(e),n=(e,t)=>{if(!e.compileOnSaveEnabled||!e.languageServiceEnabled||e.isOrphan())return;let n=e.getCompilationSettings();if(!(n.noEmit||EL(t.fileName)&&!(Tn(n)||n.emitDecoratorMetadata)))return{projectFileName:e.getProjectName(),fileNames:e.getCompileOnSaveAffectedFileList(t),projectUsesOutFile:!!n.outFile}},r=ru(ix(i)?i:i.projects,e=>n(e,a)),!ix(i)&&i.symLinkedProjects&&i.symLinkedProjects.forEach((e,i)=>{let a=t(i);r.push(...rd(e,e=>n(e,a)))}),rD(r,ij)):edx}emitFile(e){let{file:t,project:n}=this.getFileAndProject(e);if(n||nU.ThrowNoProject(),!n.languageServiceEnabled)return!!e.richResponse&&{emitSkipped:!0,diagnostics:[]};let r=n.getScriptInfo(t),{emitSkipped:i,diagnostics:a}=n.emitFile(r,(e,t,n)=>this.host.writeFile(e,t,n));return e.richResponse?{emitSkipped:i,diagnostics:e.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(a):a.map(e=>epi(e,!0))}:!i}getSignatureHelpItems(e,t){let{file:n,project:r}=this.getFileAndProject(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getPosition(e,i),o=r.getLanguageService().getSignatureHelpItems(n,a,e),s=!!this.getPreferences(n).displayPartsForJSDoc;if(o&&t){let e=o.applicableSpan;return{...o,applicableSpan:{start:i.positionToLineOffset(e.start),end:i.positionToLineOffset(e.start+e.length)},items:this.mapSignatureHelpItems(o.items,r,s)}}return s||!o?o:{...o,items:o.items.map(e=>({...e,tags:this.mapJSDocTagInfo(e.tags,r,!1)}))}}toPendingErrorCheck(e){let t=la(e),n=this.projectService.tryGetDefaultProjectForFile(t);return n&&{fileName:t,project:n}}getDiagnostics(e,t,n){!this.suppressDiagnosticEvents&&n.length>0&&this.updateErrorCheck(e,n,t)}change(e){let t=this.projectService.getScriptInfo(e.file);t3.assert(!!t),t.textStorage.switchToScriptVersionCache();let n=t.lineOffsetToPosition(e.line,e.offset),r=t.lineOffsetToPosition(e.endLine,e.endOffset);n>=0&&(this.changeSeq++,this.projectService.applyChangesToFile(t,rx({span:{start:n,length:r-n},newText:e.insertString})))}reload(e){let t=la(e.file),n=void 0===e.tmpfile?void 0:la(e.tmpfile),r=this.projectService.getScriptInfoForNormalizedPath(t);r&&(this.changeSeq++,r.reloadFromFile(n))}saveToTmp(e,t){let n=this.projectService.getScriptInfo(e);n&&n.saveTo(t)}closeClientFile(e){if(!e)return;let t=la(e);this.projectService.closeClientFile(t)}mapLocationNavigationBarItems(e,t){return rs(e,e=>({text:e.text,kind:e.kind,kindModifiers:e.kindModifiers,spans:e.spans.map(e=>epS(e,t)),childItems:this.mapLocationNavigationBarItems(e.childItems,t),indent:e.indent}))}getNavigationBarItems(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=r.getNavigationBarItems(n);return i?t?this.mapLocationNavigationBarItems(i,this.projectService.getScriptInfoForNormalizedPath(n)):i:void 0}toLocationNavigationTree(e,t){return{text:e.text,kind:e.kind,kindModifiers:e.kindModifiers,spans:e.spans.map(e=>epS(e,t)),nameSpan:e.nameSpan&&epS(e.nameSpan,t),childItems:rs(e.childItems,e=>this.toLocationNavigationTree(e,t))}}getNavigationTree(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=r.getNavigationTree(n);return i?t?this.toLocationNavigationTree(i,this.projectService.getScriptInfoForNormalizedPath(n)):i:void 0}getNavigateToItems(e,t){let n=this.getFullNavigateToItems(e);return t?rd(n,({project:e,navigateToItems:t})=>t.map(t=>{let n=e.getScriptInfo(t.fileName),r={name:t.name,kind:t.kind,kindModifiers:t.kindModifiers,isCaseSensitive:t.isCaseSensitive,matchKind:t.matchKind,file:t.fileName,start:n.positionToLineOffset(t.textSpan.start),end:n.positionToLineOffset(cR(t.textSpan))};return t.kindModifiers&&""!==t.kindModifiers&&(r.kindModifiers=t.kindModifiers),t.containerName&&t.containerName.length>0&&(r.containerName=t.containerName),t.containerKind&&t.containerKind.length>0&&(r.containerKind=t.containerKind),r})):rd(n,({navigateToItems:e})=>e)}getFullNavigateToItems(e){let{currentFileOnly:t,searchValue:n,maxResultCount:r,projectFileName:i}=e;if(t){t3.assertIsDefined(e.file);let{file:t,project:i}=this.getFileAndProject(e);return[{project:i,navigateToItems:i.getLanguageService().getNavigateToItems(n,r,t)}]}let a=this.getHostPreferences(),o=[],s=new Map;return e.file||i?epd(this.getProjects(e),void 0,e=>l(e)):(this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(e=>l(e))),o;function l(e){let t=ri(e.getLanguageService().getNavigateToItems(n,r,void 0,e.isNonTsProject(),a.excludeLibrarySymbolsInNavTo),t=>(function(e){let t=e.name;if(!s.has(t))return s.set(t,[e]),!0;let n=s.get(t);for(let t of n){var r,i;if((r=t)===(i=e)||r&&i&&r.containerKind===i.containerKind&&r.containerName===i.containerName&&r.fileName===i.fileName&&r.isCaseSensitive===i.isCaseSensitive&&r.kind===i.kind&&r.kindModifiers===i.kindModifiers&&r.matchKind===i.matchKind&&r.name===i.name&&r.textSpan.start===i.textSpan.start&&r.textSpan.length===i.textSpan.length)return!1}return n.push(e),!0})(t)&&!eph(epg(t),e));t.length&&o.push({project:e,navigateToItems:t})}}getSupportedCodeFixes(e){if(!e)return X6();if(e.file){let{file:t,project:n}=this.getFileAndProject(e);return n.getLanguageService().getSupportedCodeFixes(t)}let t=this.getProject(e.projectFileName);return t||nU.ThrowNoProject(),t.getLanguageService().getSupportedCodeFixes()}isLocation(e){return void 0!==e.line}extractPositionOrRange(e,t){var n;let r,i;return this.isLocation(e)?r=void 0!==(n=e).position?n.position:t.lineOffsetToPosition(n.line,n.offset):i=this.getRange(e,t),t3.checkDefined(void 0===r?i:r)}getRange(e,t){let{startPosition:n,endPosition:r}=this.getStartAndEndPosition(e,t);return{pos:n,end:r}}getApplicableRefactors(e){let{file:t,project:n}=this.getFileAndProject(e),r=n.getScriptInfoForNormalizedPath(t);return n.getLanguageService().getApplicableRefactors(t,this.extractPositionOrRange(e,r),this.getPreferences(t),e.triggerReason,e.kind,e.includeInteractiveActions).map(e=>({...e,actions:e.actions.map(e=>({...e,range:e.range?{start:epr({line:e.range.start.line,character:e.range.start.offset}),end:epr({line:e.range.end.line,character:e.range.end.offset})}:void 0}))}))}getEditsForRefactor(e,t){let{file:n,project:r}=this.getFileAndProject(e),i=r.getScriptInfoForNormalizedPath(n),a=r.getLanguageService().getEditsForRefactor(n,this.getFormatOptions(n),this.extractPositionOrRange(e,i),e.refactor,e.action,this.getPreferences(n),e.interactiveRefactorArguments);if(void 0===a)return{edits:[]};if(t){let e,{renameFilename:t,renameLocation:n,edits:i}=a;return void 0!==t&&void 0!==n&&(e=epw(qv(r.getScriptInfoForNormalizedPath(la(t)).getSnapshot()),t,n,i)),{renameLocation:e,renameFilename:t,edits:this.mapTextChangesToCodeEdits(i),notApplicableReason:a.notApplicableReason}}return a}getMoveToRefactoringFileSuggestions(e){let{file:t,project:n}=this.getFileAndProject(e),r=n.getScriptInfoForNormalizedPath(t);return n.getLanguageService().getMoveToRefactoringFileSuggestions(t,this.extractPositionOrRange(e,r),this.getPreferences(t))}preparePasteEdits(e){let{file:t,project:n}=this.getFileAndProject(e);return n.getLanguageService().preparePasteEditsForFile(t,e.copiedTextSpan.map(e=>this.getRange({file:t,startLine:e.start.line,startOffset:e.start.offset,endLine:e.end.line,endOffset:e.end.offset},this.projectService.getScriptInfoForNormalizedPath(t))))}getPasteEdits(e){let{file:t,project:n}=this.getFileAndProject(e);if(edW(t))return;let r=e.copiedFrom?{file:e.copiedFrom.file,range:e.copiedFrom.spans.map(t=>this.getRange({file:e.copiedFrom.file,startLine:t.start.line,startOffset:t.start.offset,endLine:t.end.line,endOffset:t.end.offset},n.getScriptInfoForNormalizedPath(la(e.copiedFrom.file))))}:void 0,i=n.getLanguageService().getPasteEdits({targetFile:t,pastedText:e.pastedText,pasteLocations:e.pasteLocations.map(e=>this.getRange({file:t,startLine:e.start.line,startOffset:e.start.offset,endLine:e.end.line,endOffset:e.end.offset},n.getScriptInfoForNormalizedPath(t))),copiedFrom:r,preferences:this.getPreferences(t)},this.getFormatOptions(t));return i&&this.mapPasteEditsAction(i)}organizeImports(e,t){t3.assert("file"===e.scope.type);let{file:n,project:r}=this.getFileAndProject(e.scope.args),i=r.getLanguageService().organizeImports({fileName:n,mode:e.mode??(e.skipDestructiveCodeActions?"SortAndCombine":void 0),type:"file"},this.getFormatOptions(n),this.getPreferences(n));return t?this.mapTextChangesToCodeEdits(i):i}getEditsForFileRename(e,t){let n=la(e.oldFilePath),r=la(e.newFilePath),i=this.getHostFormatOptions(),a=this.getHostPreferences(),o=new Set,s=[];return this.projectService.loadAncestorProjectTree(),this.projectService.forEachEnabledProject(e=>{let t=e.getLanguageService().getEditsForFileRename(n,r,i,a),l=[];for(let e of t)o.has(e.fileName)||(s.push(e),l.push(e.fileName));for(let e of l)o.add(e)}),t?s.map(e=>this.mapTextChangeToCodeEdit(e)):s}getCodeFixes(e,t){let n,{file:r,project:i}=this.getFileAndProject(e),a=i.getScriptInfoForNormalizedPath(r),{startPosition:o,endPosition:s}=this.getStartAndEndPosition(e,a);try{n=i.getLanguageService().getCodeFixesAtPosition(r,o,s,e.errorCodes,this.getFormatOptions(r),this.getPreferences(r))}catch(c){let t=c instanceof Error?c:Error(c),n=i.getLanguageService(),a=[...n.getSyntacticDiagnostics(r),...n.getSemanticDiagnostics(r),...n.getSuggestionDiagnostics(r)].filter(e=>cK(o,s-o,e.start,e.length)).map(e=>e.code),l=e.errorCodes.find(e=>!a.includes(e));throw void 0!==l&&(t.message+=`
|
|
368
|
-
Additional information: BADCLIENT: Bad error code, ${l} not found in range ${o}..${s} (found: ${a.join(", ")})`),t}return t?n.map(e=>this.mapCodeFixAction(e)):n}getCombinedCodeFix({scope:e,fixId:t},n){t3.assert("file"===e.type);let{file:r,project:i}=this.getFileAndProject(e.args),a=i.getLanguageService().getCombinedCodeFix({type:"file",fileName:r},t,this.getFormatOptions(r),this.getPreferences(r));return n?{changes:this.mapTextChangesToCodeEdits(a.changes),commands:a.commands}:a}applyCodeActionCommand(e){for(let t of ib(e.command)){let{file:e,project:n}=this.getFileAndProject(t);n.getLanguageService().applyCodeActionCommand(t,this.getFormatOptions(e)).then(e=>{},e=>{})}return{}}getStartAndEndPosition(e,t){let n,r;return void 0!==e.startPosition?n=e.startPosition:(n=t.lineOffsetToPosition(e.startLine,e.startOffset),e.startPosition=n),void 0!==e.endPosition?r=e.endPosition:(r=t.lineOffsetToPosition(e.endLine,e.endOffset),e.endPosition=r),{startPosition:n,endPosition:r}}mapCodeAction({description:e,changes:t,commands:n}){return{description:e,changes:this.mapTextChangesToCodeEdits(t),commands:n}}mapCodeFixAction({fixName:e,description:t,changes:n,commands:r,fixId:i,fixAllDescription:a}){return{fixName:e,description:t,changes:this.mapTextChangesToCodeEdits(n),commands:r,fixId:i,fixAllDescription:a}}mapPasteEditsAction({edits:e,fixId:t}){return{edits:this.mapTextChangesToCodeEdits(e),fixId:t}}mapTextChangesToCodeEdits(e){return e.map(e=>this.mapTextChangeToCodeEdit(e))}mapTextChangeToCodeEdit(e){var t;let n,r=this.projectService.getScriptInfoOrConfig(e.fileName);return!!e.isNewFile==!!r&&(r||this.projectService.logErrorForScriptInfoNotFound(e.fileName),t3.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!e.isNewFile,hasScriptInfo:!!r}))),r?{fileName:e.fileName,textChanges:e.textChanges.map(e=>{var t,n;return t=e,{start:epC(n=r,t.span.start),end:epC(n,cR(t.span)),newText:t.newText}})}:(t=e,t3.assert(1===t.textChanges.length),n=rW(t.textChanges),t3.assert(0===n.span.start&&0===n.span.length),{fileName:t.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:n.newText}]})}convertTextChangeToCodeEdit(e,t){return{start:t.positionToLineOffset(e.span.start),end:t.positionToLineOffset(e.span.start+e.span.length),newText:e.newText?e.newText:""}}getBraceMatching(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getPosition(e,i),o=r.getBraceMatchingAtPosition(n,a);return o?t?o.map(e=>epS(e,i)):o:void 0}getDiagnosticsForProject(e,t,n){if(this.suppressDiagnosticEvents)return;let{fileNames:r,languageServiceDisabled:i}=this.getProjectInfoWorker(n,void 0,!0,void 0,!0);if(i)return;let a=r.filter(e=>!e.includes("lib.d.ts"));if(0===a.length)return;let o=[],s=[],l=[],c=[],_=la(n),d=this.projectService.ensureDefaultProjectForFile(_);for(let e of a)this.getCanonicalFileName(e)===this.getCanonicalFileName(n)?o.push(e):this.projectService.getScriptInfo(e).isScriptOpen()?s.push(e):EL(e)?c.push(e):l.push(e);let u=[...o,...s,...l,...c].map(e=>({fileName:e,project:d}));this.updateErrorCheck(e,u,t,!1)}configurePlugin(e){this.projectService.configurePlugin(e)}getSmartSelectionRange(e,t){let{locations:n}=e,{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(e),a=t3.checkDefined(this.projectService.getScriptInfo(r));return rs(n,e=>{let n=this.getPosition(e,a),o=i.getSmartSelectionRange(r,n);return t?this.mapSelectionRange(o,a):o})}toggleLineComment(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfo(n),a=this.getRange(e,i),o=r.toggleLineComment(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}toggleMultilineComment(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getRange(e,i),o=r.toggleMultilineComment(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}commentSelection(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getRange(e,i),o=r.commentSelection(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}uncommentSelection(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getRange(e,i),o=r.uncommentSelection(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}mapSelectionRange(e,t){let n={textSpan:epS(e.textSpan,t)};return e.parent&&(n.parent=this.mapSelectionRange(e.parent,t)),n}getScriptInfoFromProjectService(e){let t=la(e),n=this.projectService.getScriptInfoForNormalizedPath(t);return n||(this.projectService.logErrorForScriptInfoNotFound(t),nU.ThrowNoProject())}toProtocolCallHierarchyItem(e){let t=this.getScriptInfoFromProjectService(e.file);return{name:e.name,kind:e.kind,kindModifiers:e.kindModifiers,file:e.file,containerName:e.containerName,span:epS(e.span,t),selectionSpan:epS(e.selectionSpan,t)}}toProtocolCallHierarchyIncomingCall(e){let t=this.getScriptInfoFromProjectService(e.from.file);return{from:this.toProtocolCallHierarchyItem(e.from),fromSpans:e.fromSpans.map(e=>epS(e,t))}}toProtocolCallHierarchyOutgoingCall(e,t){return{to:this.toProtocolCallHierarchyItem(e.to),fromSpans:e.fromSpans.map(e=>epS(e,t))}}prepareCallHierarchy(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.projectService.getScriptInfoForNormalizedPath(t);if(r){let i=this.getPosition(e,r),a=n.getLanguageService().prepareCallHierarchy(t,i);return a&&V0(a,e=>this.toProtocolCallHierarchyItem(e))}}provideCallHierarchyIncomingCalls(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.getScriptInfoFromProjectService(t);return n.getLanguageService().provideCallHierarchyIncomingCalls(t,this.getPosition(e,r)).map(e=>this.toProtocolCallHierarchyIncomingCall(e))}provideCallHierarchyOutgoingCalls(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.getScriptInfoFromProjectService(t);return n.getLanguageService().provideCallHierarchyOutgoingCalls(t,this.getPosition(e,r)).map(e=>this.toProtocolCallHierarchyOutgoingCall(e,r))}getCanonicalFileName(e){return la(this.host.useCaseSensitiveFileNames?e:iA(e))}exit(){}notRequired(e){return e&&this.doOutput(void 0,e.command,e.seq,!0,this.performanceData),{responseRequired:!1,performanceData:this.performanceData}}requiredResponse(e){return{response:e,responseRequired:!0,performanceData:this.performanceData}}addProtocolHandler(e,t){if(this.handlers.has(e))throw Error(`Protocol handler already exists for command "${e}"`);this.handlers.set(e,t)}setCurrentRequest(e){t3.assert(void 0===this.currentRequestId),this.currentRequestId=e,this.cancellationToken.setRequest(e)}resetCurrentRequest(e){t3.assert(this.currentRequestId===e),this.currentRequestId=void 0,this.cancellationToken.resetRequest(e)}executeWithRequestId(e,t,n){let r=this.performanceData;try{return this.performanceData=n,this.setCurrentRequest(e),t()}finally{this.resetCurrentRequest(e),this.performanceData=r}}executeCommand(e){let t=this.handlers.get(e.command);if(!t)return this.logger.msg(`Unrecognized JSON command:${Ul(e)}`,"Err"),this.doOutput(void 0,"unknown",e.seq,!1,void 0,`Unrecognized JSON command: ${e.command}`),{responseRequired:!1};{let n=this.executeWithRequestId(e.seq,()=>t(e),void 0);return this.projectService.enableRequestedPlugins(),n}}onMessage(e){var t,n,r,i,a,o,s,l;let c,_,d;this.gcTimer.scheduleCollect();let u=this.performanceData;this.logger.hasLevel(2)&&(c=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${Us(this.toStringMessage(e))}`));try{d=(_=this.parseMessage(e)).arguments&&_.arguments.file?_.arguments:void 0,null==(t=t5)||t.instant(t5.Phase.Session,"request",{seq:_.seq,command:_.command}),null==(n=t5)||n.push(t5.Phase.Session,"executeCommand",{seq:_.seq,command:_.command},!0);let{response:a,responseRequired:o,performanceData:s}=this.executeCommand(_);if(null==(r=t5)||r.pop(),this.logger.hasLevel(2)){let e,t=(e=(l=this.hrtime(c))[0],(1e9*e+l[1])/1e6).toFixed(4);o?this.logger.perftrc(`${_.seq}::${_.command}: elapsed time (in milliseconds) ${t}`):this.logger.perftrc(`${_.seq}::${_.command}: async elapsed time (in milliseconds) ${t}`)}null==(i=t5)||i.instant(t5.Phase.Session,"response",{seq:_.seq,command:_.command,success:!!a}),a?this.doOutput(a,_.command,_.seq,!0,s):o&&this.doOutput(void 0,_.command,_.seq,!1,s,"No content available.")}catch(t){if(null==(a=t5)||a.popAll(),t instanceof of){null==(o=t5)||o.instant(t5.Phase.Session,"commandCanceled",{seq:null==_?void 0:_.seq,command:null==_?void 0:_.command}),this.doOutput({canceled:!0},_.command,_.seq,!0,this.performanceData);return}this.logErrorWorker(t,this.toStringMessage(e),d),null==(s=t5)||s.instant(t5.Phase.Session,"commandError",{seq:null==_?void 0:_.seq,command:null==_?void 0:_.command,message:t.message}),this.doOutput(void 0,_?_.command:"unknown",_?_.seq:0,!1,this.performanceData,"Error processing request. "+t.message+"\n"+t.stack)}finally{this.performanceData=u}}parseMessage(e){return JSON.parse(e)}toStringMessage(e){return e}getFormatOptions(e){return this.projectService.getFormatCodeOptions(e)}getPreferences(e){return this.projectService.getPreferences(e)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function epT(e){let t=e.diagnosticsDuration&&it(e.diagnosticsDuration,([e,t])=>({...t,file:e}));return{...e,diagnosticsDuration:t}}function epS(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(cR(e))}}function epk(e,t,n){let r=epS(e,n),i=t&&epS(t,n);return i?{...r,contextStart:i.start,contextEnd:i.end}:r}function epC(e,t){var n;return eu4(e)?{line:(n=e.getLineAndCharacterOfPosition(t)).line+1,offset:n.character+1}:e.positionToLineOffset(t)}function epw(e,t,n,r){let{line:i,character:a}=l6(lY(function(e,t,n){for(let{fileName:r,textChanges:i}of n)if(r===t)for(let t=i.length-1;t>=0;t--){let{newText:n,span:{start:r,length:a}}=i[t];e=e.slice(0,r)+n+e.slice(r+a)}return e}(e,t,r)),n);return{line:i+1,offset:a+1}}function epP(e,{fileName:t,textSpan:n,contextSpan:r,isWriteAccess:i,isDefinition:a},{disableLineTextInReferences:o}){var s,l;let c,_=t3.checkDefined(e.getScriptInfo(t)),d=epk(n,r,_),u=o?void 0:(s=_,l=d,c=s.lineToTextSpan(l.start.line-1),s.getSnapshot().getText(c.start,cR(c)).replace(/\r|\n/g,""));return{file:t,...d,lineText:u,isWriteAccess:i,isDefinition:a}}function epD(e){return void 0===e||e&&"object"==typeof e&&"string"==typeof e.exportName&&(void 0===e.fileName||"string"==typeof e.fileName)&&(void 0===e.ambientModuleName||"string"==typeof e.ambientModuleName&&(void 0===e.isPackageJsonImport||"boolean"==typeof e.isPackageJsonImport))}var epI=((t1=epI||{})[t1.PreStart=0]="PreStart",t1[t1.Start=1]="Start",t1[t1.Entire=2]="Entire",t1[t1.Mid=3]="Mid",t1[t1.End=4]="End",t1[t1.PostEnd=5]="PostEnd",t1),epN=class{constructor(){this.goSubtree=!0,this.lineIndex=new epZ,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new epM,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){let n,r;t&&(this.trailingText=""),e=e?this.initialText+e+this.trailingText:this.initialText+this.trailingText;let i=epZ.linesFromText(e).lines;i.length>1&&""===i[i.length-1]&&i.pop();for(let e=this.endBranch.length-1;e>=0;e--)this.endBranch[e].updateCounts(),0===this.endBranch[e].charCount()&&(r=this.endBranch[e],n=e>0?this.endBranch[e-1]:this.branchNode);r&&n.remove(r);let a=this.startPath[this.startPath.length-1];if(i.length>0)if(a.text=i[0],i.length>1){let e=Array(i.length-1),t=a;for(let t=1;t<i.length;t++)e[t-1]=new epR(i[t]);let n=this.startPath.length-2;for(;n>=0;){let r=this.startPath[n];e=r.insertAt(t,e),n--,t=r}let r=e.length;for(;r>0;){let t=new epM;t.add(this.lineIndex.root),r=(e=t.insertAt(this.lineIndex.root,e)).length,this.lineIndex.root=t}this.lineIndex.root.updateCounts()}else for(let e=this.startPath.length-2;e>=0;e--)this.startPath[e].updateCounts();else{this.startPath[this.startPath.length-2].remove(a);for(let e=this.startPath.length-2;e>=0;e--)this.startPath[e].updateCounts()}return this.lineIndex}post(e,t,n){n===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,n,r,i){let a,o=this.stack[this.stack.length-1];function s(e){return e.isLeaf()?new epR(""):new epM}switch(2===this.state&&1===i&&(this.state=1,this.branchNode=o,this.lineCollectionAtBranch=n),i){case 0:this.goSubtree=!1,4!==this.state&&o.add(n);break;case 1:4===this.state?this.goSubtree=!1:(a=s(n),o.add(a),this.startPath.push(a));break;case 2:4!==this.state?(a=s(n),o.add(a),this.startPath.push(a)):n.isLeaf()||(a=s(n),o.add(a),this.endBranch.push(a));break;case 3:this.goSubtree=!1;break;case 4:4!==this.state?this.goSubtree=!1:n.isLeaf()||(a=s(n),o.add(a),this.endBranch.push(a));break;case 5:this.goSubtree=!1,1!==this.state&&o.add(n)}this.goSubtree&&this.stack.push(a)}leaf(e,t,n){1===this.state?this.initialText=n.text.substring(0,e):(2===this.state&&(this.initialText=n.text.substring(0,e)),this.trailingText=n.text.substring(e+t))}},epE=class{constructor(e,t,n){this.pos=e,this.deleteLen=t,this.insertedText=n}getTextChangeRange(){return c6(cY(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},epF=class e{constructor(){this.changes=[],this.versions=Array(e.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(t<this.minVersion)&&!(t>this.currentVersion))return t%e.maxVersions}currentVersionToIndex(){return this.currentVersion%e.maxVersions}edit(t,n,r){this.changes.push(new epE(t,n,r)),(this.changes.length>e.changeNumberThreshold||n>e.changeLengthThreshold||r&&r.length>e.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let n=t.index;for(let e of this.changes)n=n.edit(e.pos,e.deleteLen,e.insertedText);t=new epO(this.currentVersion+1,this,n,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=e.maxVersions&&(this.minVersion=this.currentVersion-e.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(e){return this._getSnapshot().index.lineNumberToInfo(e)}lineOffsetToPosition(e,t){return this._getSnapshot().index.absolutePositionOfStartOfLine(e)+(t-1)}positionToLineOffset(e){return this._getSnapshot().index.positionToLineOffset(e)}lineToTextSpan(e){let t=this._getSnapshot().index,{lineText:n,absolutePosition:r}=t.lineNumberToInfo(e+1),i=void 0!==n?n.length:t.absolutePositionOfStartOfLine(e+2)-r;return cY(r,i)}getTextChangesBetweenVersions(e,t){if(!(e<t))return c3;if(e>=this.minVersion){let n=[];for(let r=e+1;r<=t;r++)for(let e of this.versions[this.versionToIndex(r)].changesSincePreviousVersion)n.push(e.getTextChangeRange());return c4(n)}}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){let n=new e,r=new epO(0,n,new epZ);n.versions[n.currentVersion]=r;let i=epZ.linesFromText(t);return r.index.load(i.lines),n}};epF.changeNumberThreshold=8,epF.changeLengthThreshold=256,epF.maxVersions=8;var epA=epF,epO=class e{constructor(e,t,n,r=edx){this.version=e,this.cache=t,this.index=n,this.changesSincePreviousVersion=r}getText(e,t){return this.index.getText(e,t-e)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof e&&this.cache===t.cache)if(this.version<=t.version)return c3;else return this.cache.getTextChangesBetweenVersions(t.version,this.version)}},epZ=class e{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(e){return this.lineNumberToInfo(e).absolutePosition}positionToLineOffset(e){let{oneBasedLine:t,zeroBasedColumn:n}=this.root.charOffsetToLineInfo(1,e);return{line:t,offset:n+1}}positionToColumnAndLineText(e){return this.root.charOffsetToLineInfo(1,e)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(e){if(!(e<=this.getLineCount()))return{absolutePosition:this.root.charCount(),lineText:void 0};{let{position:t,leaf:n}=this.root.lineNumberToInfo(e,0);return{absolutePosition:t,lineText:n&&n.text}}}load(t){if(t.length>0){let n=[];for(let e=0;e<t.length;e++)n[e]=new epR(t[e]);this.root=e.buildTreeFromBottom(n)}else this.root=new epM}walk(e,t,n){this.root.walk(e,t,n)}getText(e,t){let n="";return t>0&&e<this.root.charCount()&&this.walk(e,t,{goSubtree:!0,done:!1,leaf:(e,t,r)=>{n=n.concat(r.text.substring(e,e+t))}}),n}getLength(){return this.root.charCount()}every(e,t,n){n||(n=this.root.charCount());let r={goSubtree:!0,done:!1,leaf(t,n,r){e(r,t,n)||(this.done=!0)}};return this.walk(t,n-t,r),!r.done}edit(t,n,r){if(0===this.root.charCount())return(t3.assert(0===n),void 0!==r)?(this.load(e.linesFromText(r).lines),this):void 0;{let e;if(this.checkEdits){let i=this.getText(0,this.root.charCount());e=i.slice(0,t)+r+i.slice(t+n)}let i=new epN,a=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;let e=this.getText(t,1);r=r?e+r:e,n=0,a=!0}else if(n>0){let e=t+n,{zeroBasedColumn:i,lineText:a}=this.positionToColumnAndLineText(e);0===i&&(n+=a.length,r=r?r+a:a)}if(this.root.walk(t,n,i),i.insertLines(r,a),this.checkEdits){let t=i.lineIndex.getText(0,i.lineIndex.getLength());t3.assert(e===t,"buffer edit mismatch")}return i.lineIndex}}static buildTreeFromBottom(e){if(e.length<4)return new epM(e);let t=Array(Math.ceil(e.length/4)),n=0;for(let r=0;r<t.length;r++){let i=Math.min(n+4,e.length);t[r]=new epM(e.slice(n,i)),n=i}return this.buildTreeFromBottom(t)}static linesFromText(e){let t=lY(e);if(0===t.length)return{lines:[],lineMap:t};let n=Array(t.length),r=t.length-1;for(let i=0;i<r;i++)n[i]=e.substring(t[i],t[i+1]);let i=e.substring(t[r]);return i.length>0?n[r]=i:n.pop(),{lines:n,lineMap:t}}},epM=class e{constructor(e=[]){this.children=e,this.totalChars=0,this.totalLines=0,e.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){for(let e of(this.totalChars=0,this.totalLines=0,this.children))this.totalChars+=e.charCount(),this.totalLines+=e.lineCount()}execWalk(e,t,n,r,i){return n.pre&&n.pre(e,t,this.children[r],this,i),n.goSubtree?(this.children[r].walk(e,t,n),n.post&&n.post(e,t,this.children[r],this,i)):n.goSubtree=!0,n.done}skipChild(e,t,n,r,i){r.pre&&!r.done&&(r.pre(e,t,this.children[n],this,i),r.goSubtree=!0)}walk(e,t,n){if(0===this.children.length)return;let r=0,i=this.children[r].charCount(),a=e;for(;a>=i;)this.skipChild(a,t,r,n,0),a-=i,r++,i=this.children[r].charCount();if(a+t<=i){if(this.execWalk(a,t,n,r,2))return}else{if(this.execWalk(a,i-a,n,r,1))return;let e=t-(i-a);for(r++,i=this.children[r].charCount();e>i;){if(this.execWalk(0,i,n,r,3))return;e-=i,r++,i=this.children[r].charCount()}if(e>0&&this.execWalk(0,e,n,r,4))return}if(n.pre){let e=this.children.length;if(r<e-1)for(let t=r+1;t<e;t++)this.skipChild(0,0,t,n,5)}}charOffsetToLineInfo(e,t){if(0===this.children.length)return{oneBasedLine:e,zeroBasedColumn:t,lineText:void 0};for(let n of this.children)if(n.charCount()>t)if(n.isLeaf())return{oneBasedLine:e,zeroBasedColumn:t,lineText:n.text};else return n.charOffsetToLineInfo(e,t);else t-=n.charCount(),e+=n.lineCount();let n=this.lineCount();if(0===n)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};let r=t3.checkDefined(this.lineNumberToInfo(n,0).leaf);return{oneBasedLine:n,zeroBasedColumn:r.charCount(),lineText:void 0}}lineNumberToInfo(e,t){for(let n of this.children){let r=n.lineCount();if(r>=e)return n.isLeaf()?{position:t,leaf:n}:n.lineNumberToInfo(e,t);e-=r,t+=n.charCount()}return{position:t,leaf:void 0}}splitAfter(t){let n,r=this.children.length,i=++t;if(t<r){for(n=new e;t<r;)n.add(this.children[t]),t++;n.updateCounts()}return this.children.length=i,n}remove(e){let t=this.findChildIndex(e),n=this.children.length;if(t<n-1)for(let e=t;e<n-1;e++)this.children[e]=this.children[e+1];this.children.pop()}findChildIndex(e){let t=this.children.indexOf(e);return t3.assert(-1!==t),t}insertAt(t,n){let r=this.findChildIndex(t),i=this.children.length,a=n.length;if(i<4&&r===i-1&&1===a)return this.add(n[0]),this.updateCounts(),[];{let t=this.splitAfter(r),i=0;for(r++;r<4&&i<a;)this.children[r]=n[i],r++,i++;let o=[],s=0;if(i<a){o=Array(s=Math.ceil((a-i)/4));let t=0;for(let t=0;t<s;t++)o[t]=new e;let r=o[0];for(;i<a;)r.add(n[i]),i++,4===r.children.length&&(r=o[++t]);for(let e=o.length-1;e>=0;e--)0===o[e].children.length&&o.pop()}t&&o.push(t),this.updateCounts();for(let e=0;e<s;e++)o[e].updateCounts();return o}}add(e){this.children.push(e),t3.assert(this.children.length<=4)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},epR=class{constructor(e){this.text=e}isLeaf(){return!0}walk(e,t,n){n.leaf(e,t,this)}charCount(){return this.text.length}lineCount(){return 1}},epj=class e{constructor(e,t,n,r,i,a){this.telemetryEnabled=e,this.logger=t,this.host=n,this.globalTypingsCacheLocation=r,this.event=i,this.maxActiveRequestCount=a,this.activeRequestCount=0,this.requestQueue=iy(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(e){var t;return z3.validatePackageName(e)===z3.NameValidationResult.Ok&&(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!(null==(t=this.typesRegistryCache)?void 0:t.has(e)))}installPackage(e){this.packageInstallId++;let t={kind:"installPackage",...e,id:this.packageInstallId},n=new Promise((e,t)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:e,reject:t})});return this.installer.send(t),n}attach(e){this.projectService=e,this.installer=this.createInstallerProcess()}onProjectClosed(e){this.installer.send({projectName:e.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(e,t,n){let r=edT(e,t,n);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${Ul(r)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(r):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${r.projectName}`),this.requestQueue.enqueue(r),this.requestMap.set(r.projectName,r))}handleMessage(e){var t,n;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${Ul(e)}`),e.kind){case z7:this.typesRegistryCache=new Map(Object.entries(e.typesRegistry));break;case z5:{let r=null==(t=this.packageInstalledPromise)?void 0:t.get(e.id);t3.assertIsDefined(r,"Should find the promise for package install"),null==(n=this.packageInstalledPromise)||n.delete(e.id),e.success?r.resolve({successMessage:e.message}):r.reject(e.message),this.projectService.updateTypingsForProject(e),this.event(e,"setTypings");break}case Ut:{let t={message:e.message};this.event(t,"typesInstallerInitializationFailed");break}case z9:{let t={eventId:e.eventId,packages:e.packagesToInstall};this.event(t,"beginInstallTypes");break}case Ue:{if(this.telemetryEnabled){let t={telemetryEventName:"typingsInstalled",payload:{installedPackages:e.packagesToInstall.join(","),installSuccess:e.installSuccess,typingsInstallerVersion:e.typingsInstallerVersion}};this.event(t,"telemetry")}let t={eventId:e.eventId,packages:e.packagesToInstall,success:e.installSuccess};this.event(t,"endInstallTypes");break}case z8:this.projectService.updateTypingsForProject(e);break;case z4:for(this.activeRequestCount>0?this.activeRequestCount--:t3.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){let e=this.requestQueue.dequeue();if(this.requestMap.get(e.projectName)===e){this.requestMap.delete(e.projectName),this.scheduleRequest(e);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${e.projectName}`)}this.projectService.updateTypingsForProject(e),this.event(e,"setTypings");break;case Un:this.projectService.watchTypingLocations(e);break;default:au(e)}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${t.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${Ul(t)}`),this.installer.send(t)},e.requestDelayMillis,`${t.projectName}::${t.kind}`)}};epj.requestDelayMillis=100;var epL=epj,ep$={};nq(ep$,{ActionInvalidate:()=>z8,ActionPackageInstalled:()=>z5,ActionSet:()=>z4,ActionWatchTypingLocations:()=>Un,Arguments:()=>nb,AutoImportProviderProject:()=>ed7,AuxiliaryProject:()=>ed8,CharRangeSection:()=>epI,CloseFileWatcherEvent:()=>euy,CommandNames:()=>epa,ConfigFileDiagEvent:()=>euu,ConfiguredProject:()=>ed9,ConfiguredProjectLoadKind:()=>eu$,CreateDirectoryWatcherEvent:()=>euh,CreateFileWatcherEvent:()=>eug,Errors:()=>nU,EventBeginInstallTypes:()=>z9,EventEndInstallTypes:()=>Ue,EventInitializationFailed:()=>Ut,EventTypesRegistry:()=>z7,ExternalProject:()=>eue,GcTimer:()=>edA,InferredProject:()=>ed4,LargeFileReferencedEvent:()=>eud,LineIndex:()=>epZ,LineLeaf:()=>epR,LineNode:()=>epM,LogLevel:()=>edv,Msg:()=>edb,OpenFileInfoTelemetryEvent:()=>eum,Project:()=>ed3,ProjectInfoTelemetryEvent:()=>euf,ProjectKind:()=>edX,ProjectLanguageServiceStateEvent:()=>eup,ProjectLoadingFinishEvent:()=>eu_,ProjectLoadingStartEvent:()=>euc,ProjectService:()=>eu3,ProjectsUpdatedInBackgroundEvent:()=>eul,ScriptInfo:()=>edK,ScriptVersionCache:()=>epA,Session:()=>epb,TextStorage:()=>edV,ThrottledOperations:()=>edF,TypingsInstallerAdapter:()=>epL,allFilesAreJsOrDts:()=>ed0,allRootFilesAreJsOrDts:()=>edY,asNormalizedPath:()=>edC,convertCompilerOptions:()=>euw,convertFormatOptions:()=>euC,convertScriptKindName:()=>euN,convertTypeAcquisition:()=>euD,convertUserPreferences:()=>euE,convertWatchOptions:()=>euP,countEachFileTypes:()=>edQ,createInstallTypingsRequest:()=>edT,createModuleSpecifierCache:()=>eu5,createNormalizedPathMap:()=>edw,createPackageJsonCache:()=>eu7,createSortedArray:()=>edE,emptyArray:()=>edx,findArgument:()=>Ui,formatDiagnosticToProtocol:()=>epi,formatMessage:()=>epo,getBaseConfigFileName:()=>edO,getDetailWatchInfo:()=>euV,getLocationInNewDocument:()=>epw,hasArgument:()=>Ur,hasNoTypeScriptSource:()=>ed1,indent:()=>Us,isBackgroundProject:()=>eui,isConfigFile:()=>eu4,isConfiguredProject:()=>eun,isDynamicFileName:()=>edW,isExternalProject:()=>eur,isInferredProject:()=>eut,isInferredProjectName:()=>edP,isProjectDeferredClose:()=>eua,makeAutoImportProviderProjectName:()=>edI,makeAuxiliaryProjectName:()=>edN,makeInferredProjectName:()=>edD,maxFileSize:()=>eus,maxProgramSizeForNonTsFiles:()=>euo,normalizedPathToPath:()=>edk,nowString:()=>Ua,nullCancellationToken:()=>eu9,nullTypingsInstaller:()=>euZ,protocol:()=>edZ,scriptInfoIsContainedByBackgroundProject:()=>edH,scriptInfoIsContainedByDeferredClosedProject:()=>edG,stringifyIndented:()=>Ul,toEvent:()=>epl,toNormalizedPath:()=>edS,tryConvertScriptKindName:()=>euI,typingsInstaller:()=>edu,updateProjectIfDirty:()=>euK}),"u">typeof console&&(t3.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:case 4:return console.log(t)}}})})({get exports(){return i},set exports(e){i=e,t.exports&&(t.exports=e)}})},54463,e=>{"use strict";var t,n,r=e.i(18050);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){var r,i;r=t,i=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e){return function t(){for(var n=this,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return i.length>=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return t.apply(n,[].concat(i,r))}}}function _(e){return({}).toString.call(e).includes("Object")}function d(e){return"function"==typeof e}var u=c(function(e,t){throw Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),p=function(e,t){return _(t)||u("changeType"),Object.keys(t).some(function(t){return!Object.prototype.hasOwnProperty.call(e,t)})&&u("changeField"),t},f=function(e){d(e)||u("selectorType")},m=function(e){d(e)||_(e)||u("handlerType"),_(e)&&Object.values(e).some(function(e){return!d(e)})&&u("handlersType")},g=function(e){e||u("initialIsRequired"),_(e)||u("initialType"),Object.keys(e).length||u("initialContent")};function h(e,t){return d(t)?t(e.current):t}function y(e,t){return e.current=l(l({},e.current),t),t}function v(e,t,n){return d(t)?t(e.current):Object.keys(n).forEach(function(n){var r;return null==(r=t[n])?void 0:r.call(t,e.current[n])}),n}var x={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},b=(t=function(e,t){throw Error(e[t]||e.default)},function e(){for(var n=this,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return i.length>=t.length?t.apply(this,i):function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return e.apply(n,[].concat(i,r))}})(x),T=function(e){return(e||b("configIsRequired"),({}).toString.call(e).includes("Object")||b("configType"),e.urls)?(console.warn(x.deprecation),{paths:{vs:e.urls.monacoBase}}):e},S=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}},k={type:"cancelation",msg:"operation is manually canceled"};function C(e){var t=!1,n=new Promise(function(n,r){e.then(function(e){return t?r(k):n(e)}),e.catch(r)});return n.cancel=function(){return t=!0},n}var w=["monaco"],P=function(e){if(Array.isArray(e))return e}(n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g(e),m(t);var n={current:e},r=c(v)(n,t),i=c(y)(n),a=c(p)(e),o=c(h)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return f(e),e(n.current)},function(e){(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}})(r,i,a,o)(e)}]}({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(n=i.call(t)).done)&&(o.push(n.value),2!==o.length);s=!0);}catch(e){l=!0,r=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw r}}return o}}(n)||function(e){if(e){if("string"==typeof e)return i(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,2):void 0}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),D=P[0],I=P[1];function N(e){return document.body.appendChild(e)}function E(e){var t,n,r=D(function(e){return{config:e.config,reject:e.reject}}),i=(t="".concat(r.config.paths.vs,"/loader.js"),n=document.createElement("script"),t&&(n.src=t),n);return i.onload=function(){return e()},i.onerror=r.reject,i}function F(){var e=D(function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(t){var n=t.m||t;A(n),e.resolve(n)},function(t){e.reject(t)})}function A(e){D().monaco||I({monaco:e})}var O=new Promise(function(e,t){return I({resolve:e,reject:t})}),Z=function(e){var t=T(e),n=t.monaco,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,w);I(function(e){return{config:function e(t,n){return Object.keys(n).forEach(function(r){n[r]instanceof Object&&t[r]&&Object.assign(n[r],e(t[r],n[r]))}),o(o({},t),n)}(e.config,r),monaco:n}})},M=function(){var e=D(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(I({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),C(O);if(window.monaco&&window.monaco.editor)return A(window.monaco),e.resolve(window.monaco),C(O);S(N,E)(F)}return C(O)},R=e.i(71645),j={display:"flex",position:"relative",textAlign:"initial"},L={width:"100%"},$={display:"none"},B={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"},z=function({children:e}){return R.default.createElement("div",{style:B},e)},U=(0,R.memo)(function({width:e,height:t,isEditorReady:n,loading:r,_ref:i,className:a,wrapperProps:o}){return R.default.createElement("section",{style:{...j,width:e,height:t},...o},!n&&R.default.createElement(z,null,r),R.default.createElement("div",{ref:i,style:{...L,...!n&&$},className:a}))}),J=function(e){(0,R.useEffect)(e,[])},q=function(e,t,n=!0){let r=(0,R.useRef)(!0);(0,R.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)};function V(){}function W(e,t,n,r){var i,a,o,s,l,c;return i=e,a=r,i.editor.getModel(K(i,a))||(o=e,s=t,l=n,c=r,o.editor.createModel(s,l,c?K(o,c):void 0))}function K(e,t){return e.Uri.parse(t)}(0,R.memo)(function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:i,originalModelPath:a,modifiedModelPath:o,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:l=!1,theme:c="light",loading:_="Loading...",options:d={},height:u="100%",width:p="100%",className:f,wrapperProps:m={},beforeMount:g=V,onMount:h=V}){let[y,v]=(0,R.useState)(!1),[x,b]=(0,R.useState)(!0),T=(0,R.useRef)(null),S=(0,R.useRef)(null),k=(0,R.useRef)(null),C=(0,R.useRef)(h),w=(0,R.useRef)(g),P=(0,R.useRef)(!1);J(()=>{let e=M();return e.then(e=>(S.current=e)&&b(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>{let t;return T.current?(t=T.current?.getModel(),void(s||t?.original?.dispose(),l||t?.modified?.dispose(),T.current?.dispose())):e.cancel()}}),q(()=>{if(T.current&&S.current){let t=T.current.getOriginalEditor(),i=W(S.current,e||"",r||n||"text",a||"");i!==t.getModel()&&t.setModel(i)}},[a],y),q(()=>{if(T.current&&S.current){let e=T.current.getModifiedEditor(),r=W(S.current,t||"",i||n||"text",o||"");r!==e.getModel()&&e.setModel(r)}},[o],y),q(()=>{let e=T.current.getModifiedEditor();e.getOption(S.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],y),q(()=>{T.current?.getModel()?.original.setValue(e||"")},[e],y),q(()=>{let{original:e,modified:t}=T.current.getModel();S.current.editor.setModelLanguage(e,r||n||"text"),S.current.editor.setModelLanguage(t,i||n||"text")},[n,r,i],y),q(()=>{S.current?.editor.setTheme(c)},[c],y),q(()=>{T.current?.updateOptions(d)},[d],y);let D=(0,R.useCallback)(()=>{if(!S.current)return;w.current(S.current);let s=W(S.current,e||"",r||n||"text",a||""),l=W(S.current,t||"",i||n||"text",o||"");T.current?.setModel({original:s,modified:l})},[n,t,i,e,r,a,o]),I=(0,R.useCallback)(()=>{!P.current&&k.current&&(T.current=S.current.editor.createDiffEditor(k.current,{automaticLayout:!0,...d}),D(),S.current?.editor.setTheme(c),v(!0),P.current=!0)},[d,c,D]);return(0,R.useEffect)(()=>{y&&C.current(T.current,S.current)},[y]),(0,R.useEffect)(()=>{x||y||I()},[x,y,I]),R.default.createElement(U,{width:p,height:u,isEditorReady:y,loading:_,_ref:k,className:f,wrapperProps:m})});var H=function(e){let t=(0,R.useRef)();return(0,R.useEffect)(()=>{t.current=e},[e]),t.current},G=new Map,X=(0,R.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:i,path:a,theme:o="light",line:s,loading:l="Loading...",options:c={},overrideServices:_={},saveViewState:d=!0,keepCurrentModel:u=!1,width:p="100%",height:f="100%",className:m,wrapperProps:g={},beforeMount:h=V,onMount:y=V,onChange:v,onValidate:x=V}){let[b,T]=(0,R.useState)(!1),[S,k]=(0,R.useState)(!0),C=(0,R.useRef)(null),w=(0,R.useRef)(null),P=(0,R.useRef)(null),D=(0,R.useRef)(y),I=(0,R.useRef)(h),N=(0,R.useRef)(),E=(0,R.useRef)(r),F=H(a),A=(0,R.useRef)(!1),O=(0,R.useRef)(!1);J(()=>{let e=M();return e.then(e=>(C.current=e)&&k(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>w.current?void(N.current?.dispose(),u?d&&G.set(a,w.current.saveViewState()):w.current.getModel()?.dispose(),w.current.dispose()):e.cancel()}),q(()=>{let o=W(C.current,e||r||"",t||i||"",a||n||"");o!==w.current?.getModel()&&(d&&G.set(F,w.current?.saveViewState()),w.current?.setModel(o),d&&w.current?.restoreViewState(G.get(a)))},[a],b),q(()=>{w.current?.updateOptions(c)},[c],b),q(()=>{w.current&&void 0!==r&&(w.current.getOption(C.current.editor.EditorOption.readOnly)?w.current.setValue(r):r!==w.current.getValue()&&(O.current=!0,w.current.executeEdits("",[{range:w.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),w.current.pushUndoStop(),O.current=!1))},[r],b),q(()=>{let e=w.current?.getModel();e&&i&&C.current?.editor.setModelLanguage(e,i)},[i],b),q(()=>{void 0!==s&&w.current?.revealLine(s)},[s],b),q(()=>{C.current?.editor.setTheme(o)},[o],b);let Z=(0,R.useCallback)(()=>{if(!(!P.current||!C.current)&&!A.current){I.current(C.current);let l=a||n,u=W(C.current,r||e||"",t||i||"",l||"");w.current=C.current?.editor.create(P.current,{model:u,automaticLayout:!0,...c},_),d&&w.current.restoreViewState(G.get(l)),C.current.editor.setTheme(o),void 0!==s&&w.current.revealLine(s),T(!0),A.current=!0}},[e,t,n,r,i,a,c,_,d,o,s]);return(0,R.useEffect)(()=>{b&&D.current(w.current,C.current)},[b]),(0,R.useEffect)(()=>{S||b||Z()},[S,b,Z]),E.current=r,(0,R.useEffect)(()=>{b&&v&&(N.current?.dispose(),N.current=w.current?.onDidChangeModelContent(e=>{O.current||v(w.current.getValue(),e)}))},[b,v]),(0,R.useEffect)(()=>{if(b){let e=C.current.editor.onDidChangeMarkers(e=>{let t=w.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=C.current.editor.getModelMarkers({resource:t});x?.(e)}});return()=>{e?.dispose()}}return()=>{}},[b,x]),R.default.createElement(U,{width:p,height:f,isEditorReady:b,loading:l,_ref:P,className:m,wrapperProps:g})}),Q=e.i(73656),Y=e.i(95813),ee=e.i(35258);let et=new Set(["actionParams","defineParams","handleWebhook","constants","z","console","resetTimeout","keepAlive","Promise","JSON","Date","Math","Object","Array","String","Number","Boolean","Symbol","Map","Set","WeakMap","WeakSet","Error","TypeError","RangeError","RegExp","parseInt","parseFloat","isNaN","isFinite","NaN","Infinity","undefined"]),en=new Set(["__proto__","prototype","constructor","toString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString"]),er=/^[a-z][a-zA-Z0-9]*$/,ei=`
|
|
368
|
+
Additional information: BADCLIENT: Bad error code, ${l} not found in range ${o}..${s} (found: ${a.join(", ")})`),t}return t?n.map(e=>this.mapCodeFixAction(e)):n}getCombinedCodeFix({scope:e,fixId:t},n){t3.assert("file"===e.type);let{file:r,project:i}=this.getFileAndProject(e.args),a=i.getLanguageService().getCombinedCodeFix({type:"file",fileName:r},t,this.getFormatOptions(r),this.getPreferences(r));return n?{changes:this.mapTextChangesToCodeEdits(a.changes),commands:a.commands}:a}applyCodeActionCommand(e){for(let t of ib(e.command)){let{file:e,project:n}=this.getFileAndProject(t);n.getLanguageService().applyCodeActionCommand(t,this.getFormatOptions(e)).then(e=>{},e=>{})}return{}}getStartAndEndPosition(e,t){let n,r;return void 0!==e.startPosition?n=e.startPosition:(n=t.lineOffsetToPosition(e.startLine,e.startOffset),e.startPosition=n),void 0!==e.endPosition?r=e.endPosition:(r=t.lineOffsetToPosition(e.endLine,e.endOffset),e.endPosition=r),{startPosition:n,endPosition:r}}mapCodeAction({description:e,changes:t,commands:n}){return{description:e,changes:this.mapTextChangesToCodeEdits(t),commands:n}}mapCodeFixAction({fixName:e,description:t,changes:n,commands:r,fixId:i,fixAllDescription:a}){return{fixName:e,description:t,changes:this.mapTextChangesToCodeEdits(n),commands:r,fixId:i,fixAllDescription:a}}mapPasteEditsAction({edits:e,fixId:t}){return{edits:this.mapTextChangesToCodeEdits(e),fixId:t}}mapTextChangesToCodeEdits(e){return e.map(e=>this.mapTextChangeToCodeEdit(e))}mapTextChangeToCodeEdit(e){var t;let n,r=this.projectService.getScriptInfoOrConfig(e.fileName);return!!e.isNewFile==!!r&&(r||this.projectService.logErrorForScriptInfoNotFound(e.fileName),t3.fail("Expected isNewFile for (only) new files. "+JSON.stringify({isNewFile:!!e.isNewFile,hasScriptInfo:!!r}))),r?{fileName:e.fileName,textChanges:e.textChanges.map(e=>{var t,n;return t=e,{start:epC(n=r,t.span.start),end:epC(n,cR(t.span)),newText:t.newText}})}:(t=e,t3.assert(1===t.textChanges.length),n=rW(t.textChanges),t3.assert(0===n.span.start&&0===n.span.length),{fileName:t.fileName,textChanges:[{start:{line:0,offset:0},end:{line:0,offset:0},newText:n.newText}]})}convertTextChangeToCodeEdit(e,t){return{start:t.positionToLineOffset(e.span.start),end:t.positionToLineOffset(e.span.start+e.span.length),newText:e.newText?e.newText:""}}getBraceMatching(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getPosition(e,i),o=r.getBraceMatchingAtPosition(n,a);return o?t?o.map(e=>epS(e,i)):o:void 0}getDiagnosticsForProject(e,t,n){if(this.suppressDiagnosticEvents)return;let{fileNames:r,languageServiceDisabled:i}=this.getProjectInfoWorker(n,void 0,!0,void 0,!0);if(i)return;let a=r.filter(e=>!e.includes("lib.d.ts"));if(0===a.length)return;let o=[],s=[],l=[],c=[],_=la(n),d=this.projectService.ensureDefaultProjectForFile(_);for(let e of a)this.getCanonicalFileName(e)===this.getCanonicalFileName(n)?o.push(e):this.projectService.getScriptInfo(e).isScriptOpen()?s.push(e):EL(e)?c.push(e):l.push(e);let u=[...o,...s,...l,...c].map(e=>({fileName:e,project:d}));this.updateErrorCheck(e,u,t,!1)}configurePlugin(e){this.projectService.configurePlugin(e)}getSmartSelectionRange(e,t){let{locations:n}=e,{file:r,languageService:i}=this.getFileAndLanguageServiceForSyntacticOperation(e),a=t3.checkDefined(this.projectService.getScriptInfo(r));return rs(n,e=>{let n=this.getPosition(e,a),o=i.getSmartSelectionRange(r,n);return t?this.mapSelectionRange(o,a):o})}toggleLineComment(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfo(n),a=this.getRange(e,i),o=r.toggleLineComment(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}toggleMultilineComment(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getRange(e,i),o=r.toggleMultilineComment(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}commentSelection(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getRange(e,i),o=r.commentSelection(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}uncommentSelection(e,t){let{file:n,languageService:r}=this.getFileAndLanguageServiceForSyntacticOperation(e),i=this.projectService.getScriptInfoForNormalizedPath(n),a=this.getRange(e,i),o=r.uncommentSelection(n,a);if(t){let e=this.projectService.getScriptInfoForNormalizedPath(n);return o.map(t=>this.convertTextChangeToCodeEdit(t,e))}return o}mapSelectionRange(e,t){let n={textSpan:epS(e.textSpan,t)};return e.parent&&(n.parent=this.mapSelectionRange(e.parent,t)),n}getScriptInfoFromProjectService(e){let t=la(e),n=this.projectService.getScriptInfoForNormalizedPath(t);return n||(this.projectService.logErrorForScriptInfoNotFound(t),nU.ThrowNoProject())}toProtocolCallHierarchyItem(e){let t=this.getScriptInfoFromProjectService(e.file);return{name:e.name,kind:e.kind,kindModifiers:e.kindModifiers,file:e.file,containerName:e.containerName,span:epS(e.span,t),selectionSpan:epS(e.selectionSpan,t)}}toProtocolCallHierarchyIncomingCall(e){let t=this.getScriptInfoFromProjectService(e.from.file);return{from:this.toProtocolCallHierarchyItem(e.from),fromSpans:e.fromSpans.map(e=>epS(e,t))}}toProtocolCallHierarchyOutgoingCall(e,t){return{to:this.toProtocolCallHierarchyItem(e.to),fromSpans:e.fromSpans.map(e=>epS(e,t))}}prepareCallHierarchy(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.projectService.getScriptInfoForNormalizedPath(t);if(r){let i=this.getPosition(e,r),a=n.getLanguageService().prepareCallHierarchy(t,i);return a&&V0(a,e=>this.toProtocolCallHierarchyItem(e))}}provideCallHierarchyIncomingCalls(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.getScriptInfoFromProjectService(t);return n.getLanguageService().provideCallHierarchyIncomingCalls(t,this.getPosition(e,r)).map(e=>this.toProtocolCallHierarchyIncomingCall(e))}provideCallHierarchyOutgoingCalls(e){let{file:t,project:n}=this.getFileAndProject(e),r=this.getScriptInfoFromProjectService(t);return n.getLanguageService().provideCallHierarchyOutgoingCalls(t,this.getPosition(e,r)).map(e=>this.toProtocolCallHierarchyOutgoingCall(e,r))}getCanonicalFileName(e){return la(this.host.useCaseSensitiveFileNames?e:iA(e))}exit(){}notRequired(e){return e&&this.doOutput(void 0,e.command,e.seq,!0,this.performanceData),{responseRequired:!1,performanceData:this.performanceData}}requiredResponse(e){return{response:e,responseRequired:!0,performanceData:this.performanceData}}addProtocolHandler(e,t){if(this.handlers.has(e))throw Error(`Protocol handler already exists for command "${e}"`);this.handlers.set(e,t)}setCurrentRequest(e){t3.assert(void 0===this.currentRequestId),this.currentRequestId=e,this.cancellationToken.setRequest(e)}resetCurrentRequest(e){t3.assert(this.currentRequestId===e),this.currentRequestId=void 0,this.cancellationToken.resetRequest(e)}executeWithRequestId(e,t,n){let r=this.performanceData;try{return this.performanceData=n,this.setCurrentRequest(e),t()}finally{this.resetCurrentRequest(e),this.performanceData=r}}executeCommand(e){let t=this.handlers.get(e.command);if(!t)return this.logger.msg(`Unrecognized JSON command:${Ul(e)}`,"Err"),this.doOutput(void 0,"unknown",e.seq,!1,void 0,`Unrecognized JSON command: ${e.command}`),{responseRequired:!1};{let n=this.executeWithRequestId(e.seq,()=>t(e),void 0);return this.projectService.enableRequestedPlugins(),n}}onMessage(e){var t,n,r,i,a,o,s,l;let c,_,d;this.gcTimer.scheduleCollect();let u=this.performanceData;this.logger.hasLevel(2)&&(c=this.hrtime(),this.logger.hasLevel(3)&&this.logger.info(`request:${Us(this.toStringMessage(e))}`));try{d=(_=this.parseMessage(e)).arguments&&_.arguments.file?_.arguments:void 0,null==(t=t5)||t.instant(t5.Phase.Session,"request",{seq:_.seq,command:_.command}),null==(n=t5)||n.push(t5.Phase.Session,"executeCommand",{seq:_.seq,command:_.command},!0);let{response:a,responseRequired:o,performanceData:s}=this.executeCommand(_);if(null==(r=t5)||r.pop(),this.logger.hasLevel(2)){let e,t=(e=(l=this.hrtime(c))[0],(1e9*e+l[1])/1e6).toFixed(4);o?this.logger.perftrc(`${_.seq}::${_.command}: elapsed time (in milliseconds) ${t}`):this.logger.perftrc(`${_.seq}::${_.command}: async elapsed time (in milliseconds) ${t}`)}null==(i=t5)||i.instant(t5.Phase.Session,"response",{seq:_.seq,command:_.command,success:!!a}),a?this.doOutput(a,_.command,_.seq,!0,s):o&&this.doOutput(void 0,_.command,_.seq,!1,s,"No content available.")}catch(t){if(null==(a=t5)||a.popAll(),t instanceof of){null==(o=t5)||o.instant(t5.Phase.Session,"commandCanceled",{seq:null==_?void 0:_.seq,command:null==_?void 0:_.command}),this.doOutput({canceled:!0},_.command,_.seq,!0,this.performanceData);return}this.logErrorWorker(t,this.toStringMessage(e),d),null==(s=t5)||s.instant(t5.Phase.Session,"commandError",{seq:null==_?void 0:_.seq,command:null==_?void 0:_.command,message:t.message}),this.doOutput(void 0,_?_.command:"unknown",_?_.seq:0,!1,this.performanceData,"Error processing request. "+t.message+"\n"+t.stack)}finally{this.performanceData=u}}parseMessage(e){return JSON.parse(e)}toStringMessage(e){return e}getFormatOptions(e){return this.projectService.getFormatCodeOptions(e)}getPreferences(e){return this.projectService.getPreferences(e)}getHostFormatOptions(){return this.projectService.getHostFormatCodeOptions()}getHostPreferences(){return this.projectService.getHostPreferences()}};function epT(e){let t=e.diagnosticsDuration&&it(e.diagnosticsDuration,([e,t])=>({...t,file:e}));return{...e,diagnosticsDuration:t}}function epS(e,t){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(cR(e))}}function epk(e,t,n){let r=epS(e,n),i=t&&epS(t,n);return i?{...r,contextStart:i.start,contextEnd:i.end}:r}function epC(e,t){var n;return eu4(e)?{line:(n=e.getLineAndCharacterOfPosition(t)).line+1,offset:n.character+1}:e.positionToLineOffset(t)}function epw(e,t,n,r){let{line:i,character:a}=l6(lY(function(e,t,n){for(let{fileName:r,textChanges:i}of n)if(r===t)for(let t=i.length-1;t>=0;t--){let{newText:n,span:{start:r,length:a}}=i[t];e=e.slice(0,r)+n+e.slice(r+a)}return e}(e,t,r)),n);return{line:i+1,offset:a+1}}function epP(e,{fileName:t,textSpan:n,contextSpan:r,isWriteAccess:i,isDefinition:a},{disableLineTextInReferences:o}){var s,l;let c,_=t3.checkDefined(e.getScriptInfo(t)),d=epk(n,r,_),u=o?void 0:(s=_,l=d,c=s.lineToTextSpan(l.start.line-1),s.getSnapshot().getText(c.start,cR(c)).replace(/\r|\n/g,""));return{file:t,...d,lineText:u,isWriteAccess:i,isDefinition:a}}function epD(e){return void 0===e||e&&"object"==typeof e&&"string"==typeof e.exportName&&(void 0===e.fileName||"string"==typeof e.fileName)&&(void 0===e.ambientModuleName||"string"==typeof e.ambientModuleName&&(void 0===e.isPackageJsonImport||"boolean"==typeof e.isPackageJsonImport))}var epI=((t1=epI||{})[t1.PreStart=0]="PreStart",t1[t1.Start=1]="Start",t1[t1.Entire=2]="Entire",t1[t1.Mid=3]="Mid",t1[t1.End=4]="End",t1[t1.PostEnd=5]="PostEnd",t1),epN=class{constructor(){this.goSubtree=!0,this.lineIndex=new epZ,this.endBranch=[],this.state=2,this.initialText="",this.trailingText="",this.lineIndex.root=new epM,this.startPath=[this.lineIndex.root],this.stack=[this.lineIndex.root]}get done(){return!1}insertLines(e,t){let n,r;t&&(this.trailingText=""),e=e?this.initialText+e+this.trailingText:this.initialText+this.trailingText;let i=epZ.linesFromText(e).lines;i.length>1&&""===i[i.length-1]&&i.pop();for(let e=this.endBranch.length-1;e>=0;e--)this.endBranch[e].updateCounts(),0===this.endBranch[e].charCount()&&(r=this.endBranch[e],n=e>0?this.endBranch[e-1]:this.branchNode);r&&n.remove(r);let a=this.startPath[this.startPath.length-1];if(i.length>0)if(a.text=i[0],i.length>1){let e=Array(i.length-1),t=a;for(let t=1;t<i.length;t++)e[t-1]=new epR(i[t]);let n=this.startPath.length-2;for(;n>=0;){let r=this.startPath[n];e=r.insertAt(t,e),n--,t=r}let r=e.length;for(;r>0;){let t=new epM;t.add(this.lineIndex.root),r=(e=t.insertAt(this.lineIndex.root,e)).length,this.lineIndex.root=t}this.lineIndex.root.updateCounts()}else for(let e=this.startPath.length-2;e>=0;e--)this.startPath[e].updateCounts();else{this.startPath[this.startPath.length-2].remove(a);for(let e=this.startPath.length-2;e>=0;e--)this.startPath[e].updateCounts()}return this.lineIndex}post(e,t,n){n===this.lineCollectionAtBranch&&(this.state=4),this.stack.pop()}pre(e,t,n,r,i){let a,o=this.stack[this.stack.length-1];function s(e){return e.isLeaf()?new epR(""):new epM}switch(2===this.state&&1===i&&(this.state=1,this.branchNode=o,this.lineCollectionAtBranch=n),i){case 0:this.goSubtree=!1,4!==this.state&&o.add(n);break;case 1:4===this.state?this.goSubtree=!1:(a=s(n),o.add(a),this.startPath.push(a));break;case 2:4!==this.state?(a=s(n),o.add(a),this.startPath.push(a)):n.isLeaf()||(a=s(n),o.add(a),this.endBranch.push(a));break;case 3:this.goSubtree=!1;break;case 4:4!==this.state?this.goSubtree=!1:n.isLeaf()||(a=s(n),o.add(a),this.endBranch.push(a));break;case 5:this.goSubtree=!1,1!==this.state&&o.add(n)}this.goSubtree&&this.stack.push(a)}leaf(e,t,n){1===this.state?this.initialText=n.text.substring(0,e):(2===this.state&&(this.initialText=n.text.substring(0,e)),this.trailingText=n.text.substring(e+t))}},epE=class{constructor(e,t,n){this.pos=e,this.deleteLen=t,this.insertedText=n}getTextChangeRange(){return c6(cY(this.pos,this.deleteLen),this.insertedText?this.insertedText.length:0)}},epF=class e{constructor(){this.changes=[],this.versions=Array(e.maxVersions),this.minVersion=0,this.currentVersion=0}versionToIndex(t){if(!(t<this.minVersion)&&!(t>this.currentVersion))return t%e.maxVersions}currentVersionToIndex(){return this.currentVersion%e.maxVersions}edit(t,n,r){this.changes.push(new epE(t,n,r)),(this.changes.length>e.changeNumberThreshold||n>e.changeLengthThreshold||r&&r.length>e.changeLengthThreshold)&&this.getSnapshot()}getSnapshot(){return this._getSnapshot()}_getSnapshot(){let t=this.versions[this.currentVersionToIndex()];if(this.changes.length>0){let n=t.index;for(let e of this.changes)n=n.edit(e.pos,e.deleteLen,e.insertedText);t=new epO(this.currentVersion+1,this,n,this.changes),this.currentVersion=t.version,this.versions[this.currentVersionToIndex()]=t,this.changes=[],this.currentVersion-this.minVersion>=e.maxVersions&&(this.minVersion=this.currentVersion-e.maxVersions+1)}return t}getSnapshotVersion(){return this._getSnapshot().version}getAbsolutePositionAndLineText(e){return this._getSnapshot().index.lineNumberToInfo(e)}lineOffsetToPosition(e,t){return this._getSnapshot().index.absolutePositionOfStartOfLine(e)+(t-1)}positionToLineOffset(e){return this._getSnapshot().index.positionToLineOffset(e)}lineToTextSpan(e){let t=this._getSnapshot().index,{lineText:n,absolutePosition:r}=t.lineNumberToInfo(e+1),i=void 0!==n?n.length:t.absolutePositionOfStartOfLine(e+2)-r;return cY(r,i)}getTextChangesBetweenVersions(e,t){if(!(e<t))return c3;if(e>=this.minVersion){let n=[];for(let r=e+1;r<=t;r++)for(let e of this.versions[this.versionToIndex(r)].changesSincePreviousVersion)n.push(e.getTextChangeRange());return c4(n)}}getLineCount(){return this._getSnapshot().index.getLineCount()}static fromString(t){let n=new e,r=new epO(0,n,new epZ);n.versions[n.currentVersion]=r;let i=epZ.linesFromText(t);return r.index.load(i.lines),n}};epF.changeNumberThreshold=8,epF.changeLengthThreshold=256,epF.maxVersions=8;var epA=epF,epO=class e{constructor(e,t,n,r=edx){this.version=e,this.cache=t,this.index=n,this.changesSincePreviousVersion=r}getText(e,t){return this.index.getText(e,t-e)}getLength(){return this.index.getLength()}getChangeRange(t){if(t instanceof e&&this.cache===t.cache)if(this.version<=t.version)return c3;else return this.cache.getTextChangesBetweenVersions(t.version,this.version)}},epZ=class e{constructor(){this.checkEdits=!1}absolutePositionOfStartOfLine(e){return this.lineNumberToInfo(e).absolutePosition}positionToLineOffset(e){let{oneBasedLine:t,zeroBasedColumn:n}=this.root.charOffsetToLineInfo(1,e);return{line:t,offset:n+1}}positionToColumnAndLineText(e){return this.root.charOffsetToLineInfo(1,e)}getLineCount(){return this.root.lineCount()}lineNumberToInfo(e){if(!(e<=this.getLineCount()))return{absolutePosition:this.root.charCount(),lineText:void 0};{let{position:t,leaf:n}=this.root.lineNumberToInfo(e,0);return{absolutePosition:t,lineText:n&&n.text}}}load(t){if(t.length>0){let n=[];for(let e=0;e<t.length;e++)n[e]=new epR(t[e]);this.root=e.buildTreeFromBottom(n)}else this.root=new epM}walk(e,t,n){this.root.walk(e,t,n)}getText(e,t){let n="";return t>0&&e<this.root.charCount()&&this.walk(e,t,{goSubtree:!0,done:!1,leaf:(e,t,r)=>{n=n.concat(r.text.substring(e,e+t))}}),n}getLength(){return this.root.charCount()}every(e,t,n){n||(n=this.root.charCount());let r={goSubtree:!0,done:!1,leaf(t,n,r){e(r,t,n)||(this.done=!0)}};return this.walk(t,n-t,r),!r.done}edit(t,n,r){if(0===this.root.charCount())return(t3.assert(0===n),void 0!==r)?(this.load(e.linesFromText(r).lines),this):void 0;{let e;if(this.checkEdits){let i=this.getText(0,this.root.charCount());e=i.slice(0,t)+r+i.slice(t+n)}let i=new epN,a=!1;if(t>=this.root.charCount()){t=this.root.charCount()-1;let e=this.getText(t,1);r=r?e+r:e,n=0,a=!0}else if(n>0){let e=t+n,{zeroBasedColumn:i,lineText:a}=this.positionToColumnAndLineText(e);0===i&&(n+=a.length,r=r?r+a:a)}if(this.root.walk(t,n,i),i.insertLines(r,a),this.checkEdits){let t=i.lineIndex.getText(0,i.lineIndex.getLength());t3.assert(e===t,"buffer edit mismatch")}return i.lineIndex}}static buildTreeFromBottom(e){if(e.length<4)return new epM(e);let t=Array(Math.ceil(e.length/4)),n=0;for(let r=0;r<t.length;r++){let i=Math.min(n+4,e.length);t[r]=new epM(e.slice(n,i)),n=i}return this.buildTreeFromBottom(t)}static linesFromText(e){let t=lY(e);if(0===t.length)return{lines:[],lineMap:t};let n=Array(t.length),r=t.length-1;for(let i=0;i<r;i++)n[i]=e.substring(t[i],t[i+1]);let i=e.substring(t[r]);return i.length>0?n[r]=i:n.pop(),{lines:n,lineMap:t}}},epM=class e{constructor(e=[]){this.children=e,this.totalChars=0,this.totalLines=0,e.length&&this.updateCounts()}isLeaf(){return!1}updateCounts(){for(let e of(this.totalChars=0,this.totalLines=0,this.children))this.totalChars+=e.charCount(),this.totalLines+=e.lineCount()}execWalk(e,t,n,r,i){return n.pre&&n.pre(e,t,this.children[r],this,i),n.goSubtree?(this.children[r].walk(e,t,n),n.post&&n.post(e,t,this.children[r],this,i)):n.goSubtree=!0,n.done}skipChild(e,t,n,r,i){r.pre&&!r.done&&(r.pre(e,t,this.children[n],this,i),r.goSubtree=!0)}walk(e,t,n){if(0===this.children.length)return;let r=0,i=this.children[r].charCount(),a=e;for(;a>=i;)this.skipChild(a,t,r,n,0),a-=i,r++,i=this.children[r].charCount();if(a+t<=i){if(this.execWalk(a,t,n,r,2))return}else{if(this.execWalk(a,i-a,n,r,1))return;let e=t-(i-a);for(r++,i=this.children[r].charCount();e>i;){if(this.execWalk(0,i,n,r,3))return;e-=i,r++,i=this.children[r].charCount()}if(e>0&&this.execWalk(0,e,n,r,4))return}if(n.pre){let e=this.children.length;if(r<e-1)for(let t=r+1;t<e;t++)this.skipChild(0,0,t,n,5)}}charOffsetToLineInfo(e,t){if(0===this.children.length)return{oneBasedLine:e,zeroBasedColumn:t,lineText:void 0};for(let n of this.children)if(n.charCount()>t)if(n.isLeaf())return{oneBasedLine:e,zeroBasedColumn:t,lineText:n.text};else return n.charOffsetToLineInfo(e,t);else t-=n.charCount(),e+=n.lineCount();let n=this.lineCount();if(0===n)return{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0};let r=t3.checkDefined(this.lineNumberToInfo(n,0).leaf);return{oneBasedLine:n,zeroBasedColumn:r.charCount(),lineText:void 0}}lineNumberToInfo(e,t){for(let n of this.children){let r=n.lineCount();if(r>=e)return n.isLeaf()?{position:t,leaf:n}:n.lineNumberToInfo(e,t);e-=r,t+=n.charCount()}return{position:t,leaf:void 0}}splitAfter(t){let n,r=this.children.length,i=++t;if(t<r){for(n=new e;t<r;)n.add(this.children[t]),t++;n.updateCounts()}return this.children.length=i,n}remove(e){let t=this.findChildIndex(e),n=this.children.length;if(t<n-1)for(let e=t;e<n-1;e++)this.children[e]=this.children[e+1];this.children.pop()}findChildIndex(e){let t=this.children.indexOf(e);return t3.assert(-1!==t),t}insertAt(t,n){let r=this.findChildIndex(t),i=this.children.length,a=n.length;if(i<4&&r===i-1&&1===a)return this.add(n[0]),this.updateCounts(),[];{let t=this.splitAfter(r),i=0;for(r++;r<4&&i<a;)this.children[r]=n[i],r++,i++;let o=[],s=0;if(i<a){o=Array(s=Math.ceil((a-i)/4));let t=0;for(let t=0;t<s;t++)o[t]=new e;let r=o[0];for(;i<a;)r.add(n[i]),i++,4===r.children.length&&(r=o[++t]);for(let e=o.length-1;e>=0;e--)0===o[e].children.length&&o.pop()}t&&o.push(t),this.updateCounts();for(let e=0;e<s;e++)o[e].updateCounts();return o}}add(e){this.children.push(e),t3.assert(this.children.length<=4)}charCount(){return this.totalChars}lineCount(){return this.totalLines}},epR=class{constructor(e){this.text=e}isLeaf(){return!0}walk(e,t,n){n.leaf(e,t,this)}charCount(){return this.text.length}lineCount(){return 1}},epj=class e{constructor(e,t,n,r,i,a){this.telemetryEnabled=e,this.logger=t,this.host=n,this.globalTypingsCacheLocation=r,this.event=i,this.maxActiveRequestCount=a,this.activeRequestCount=0,this.requestQueue=iy(),this.requestMap=new Map,this.requestedRegistry=!1,this.packageInstallId=0}isKnownTypesPackageName(e){var t;return z3.validatePackageName(e)===z3.NameValidationResult.Ok&&(this.requestedRegistry||(this.requestedRegistry=!0,this.installer.send({kind:"typesRegistry"})),!!(null==(t=this.typesRegistryCache)?void 0:t.has(e)))}installPackage(e){this.packageInstallId++;let t={kind:"installPackage",...e,id:this.packageInstallId},n=new Promise((e,t)=>{(this.packageInstalledPromise??(this.packageInstalledPromise=new Map)).set(this.packageInstallId,{resolve:e,reject:t})});return this.installer.send(t),n}attach(e){this.projectService=e,this.installer=this.createInstallerProcess()}onProjectClosed(e){this.installer.send({projectName:e.getProjectName(),kind:"closeProject"})}enqueueInstallTypingsRequest(e,t,n){let r=edT(e,t,n);this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling throttled operation:${Ul(r)}`),this.activeRequestCount<this.maxActiveRequestCount?this.scheduleRequest(r):(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Deferring request for: ${r.projectName}`),this.requestQueue.enqueue(r),this.requestMap.set(r.projectName,r))}handleMessage(e){var t,n;switch(this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Received response:${Ul(e)}`),e.kind){case z7:this.typesRegistryCache=new Map(Object.entries(e.typesRegistry));break;case z5:{let r=null==(t=this.packageInstalledPromise)?void 0:t.get(e.id);t3.assertIsDefined(r,"Should find the promise for package install"),null==(n=this.packageInstalledPromise)||n.delete(e.id),e.success?r.resolve({successMessage:e.message}):r.reject(e.message),this.projectService.updateTypingsForProject(e),this.event(e,"setTypings");break}case Ut:{let t={message:e.message};this.event(t,"typesInstallerInitializationFailed");break}case z9:{let t={eventId:e.eventId,packages:e.packagesToInstall};this.event(t,"beginInstallTypes");break}case Ue:{if(this.telemetryEnabled){let t={telemetryEventName:"typingsInstalled",payload:{installedPackages:e.packagesToInstall.join(","),installSuccess:e.installSuccess,typingsInstallerVersion:e.typingsInstallerVersion}};this.event(t,"telemetry")}let t={eventId:e.eventId,packages:e.packagesToInstall,success:e.installSuccess};this.event(t,"endInstallTypes");break}case z8:this.projectService.updateTypingsForProject(e);break;case z4:for(this.activeRequestCount>0?this.activeRequestCount--:t3.fail("TIAdapter:: Received too many responses");!this.requestQueue.isEmpty();){let e=this.requestQueue.dequeue();if(this.requestMap.get(e.projectName)===e){this.requestMap.delete(e.projectName),this.scheduleRequest(e);break}this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Skipping defunct request for: ${e.projectName}`)}this.projectService.updateTypingsForProject(e),this.event(e,"setTypings");break;case Un:this.projectService.watchTypingLocations(e);break;default:au(e)}}scheduleRequest(t){this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Scheduling request for: ${t.projectName}`),this.activeRequestCount++,this.host.setTimeout(()=>{this.logger.hasLevel(3)&&this.logger.info(`TIAdapter:: Sending request:${Ul(t)}`),this.installer.send(t)},e.requestDelayMillis,`${t.projectName}::${t.kind}`)}};epj.requestDelayMillis=100;var epL=epj,ep$={};nq(ep$,{ActionInvalidate:()=>z8,ActionPackageInstalled:()=>z5,ActionSet:()=>z4,ActionWatchTypingLocations:()=>Un,Arguments:()=>nb,AutoImportProviderProject:()=>ed7,AuxiliaryProject:()=>ed8,CharRangeSection:()=>epI,CloseFileWatcherEvent:()=>euy,CommandNames:()=>epa,ConfigFileDiagEvent:()=>euu,ConfiguredProject:()=>ed9,ConfiguredProjectLoadKind:()=>eu$,CreateDirectoryWatcherEvent:()=>euh,CreateFileWatcherEvent:()=>eug,Errors:()=>nU,EventBeginInstallTypes:()=>z9,EventEndInstallTypes:()=>Ue,EventInitializationFailed:()=>Ut,EventTypesRegistry:()=>z7,ExternalProject:()=>eue,GcTimer:()=>edA,InferredProject:()=>ed4,LargeFileReferencedEvent:()=>eud,LineIndex:()=>epZ,LineLeaf:()=>epR,LineNode:()=>epM,LogLevel:()=>edv,Msg:()=>edb,OpenFileInfoTelemetryEvent:()=>eum,Project:()=>ed3,ProjectInfoTelemetryEvent:()=>euf,ProjectKind:()=>edX,ProjectLanguageServiceStateEvent:()=>eup,ProjectLoadingFinishEvent:()=>eu_,ProjectLoadingStartEvent:()=>euc,ProjectService:()=>eu3,ProjectsUpdatedInBackgroundEvent:()=>eul,ScriptInfo:()=>edK,ScriptVersionCache:()=>epA,Session:()=>epb,TextStorage:()=>edV,ThrottledOperations:()=>edF,TypingsInstallerAdapter:()=>epL,allFilesAreJsOrDts:()=>ed0,allRootFilesAreJsOrDts:()=>edY,asNormalizedPath:()=>edC,convertCompilerOptions:()=>euw,convertFormatOptions:()=>euC,convertScriptKindName:()=>euN,convertTypeAcquisition:()=>euD,convertUserPreferences:()=>euE,convertWatchOptions:()=>euP,countEachFileTypes:()=>edQ,createInstallTypingsRequest:()=>edT,createModuleSpecifierCache:()=>eu5,createNormalizedPathMap:()=>edw,createPackageJsonCache:()=>eu7,createSortedArray:()=>edE,emptyArray:()=>edx,findArgument:()=>Ui,formatDiagnosticToProtocol:()=>epi,formatMessage:()=>epo,getBaseConfigFileName:()=>edO,getDetailWatchInfo:()=>euV,getLocationInNewDocument:()=>epw,hasArgument:()=>Ur,hasNoTypeScriptSource:()=>ed1,indent:()=>Us,isBackgroundProject:()=>eui,isConfigFile:()=>eu4,isConfiguredProject:()=>eun,isDynamicFileName:()=>edW,isExternalProject:()=>eur,isInferredProject:()=>eut,isInferredProjectName:()=>edP,isProjectDeferredClose:()=>eua,makeAutoImportProviderProjectName:()=>edI,makeAuxiliaryProjectName:()=>edN,makeInferredProjectName:()=>edD,maxFileSize:()=>eus,maxProgramSizeForNonTsFiles:()=>euo,normalizedPathToPath:()=>edk,nowString:()=>Ua,nullCancellationToken:()=>eu9,nullTypingsInstaller:()=>euZ,protocol:()=>edZ,scriptInfoIsContainedByBackgroundProject:()=>edH,scriptInfoIsContainedByDeferredClosedProject:()=>edG,stringifyIndented:()=>Ul,toEvent:()=>epl,toNormalizedPath:()=>edS,tryConvertScriptKindName:()=>euI,typingsInstaller:()=>edu,updateProjectIfDirty:()=>euK}),"u">typeof console&&(t3.loggingHost={log(e,t){switch(e){case 1:return console.error(t);case 2:return console.warn(t);case 3:case 4:return console.log(t)}}})})({get exports(){return i},set exports(e){i=e,t.exports&&(t.exports=e)}})},54463,e=>{"use strict";var t,n,r=e.i(18050);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){var r,i;r=t,i=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e){return function t(){for(var n=this,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return i.length>=e.length?e.apply(this,i):function(){for(var e=arguments.length,r=Array(e),a=0;a<e;a++)r[a]=arguments[a];return t.apply(n,[].concat(i,r))}}}function _(e){return({}).toString.call(e).includes("Object")}function d(e){return"function"==typeof e}var u=c(function(e,t){throw Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),p=function(e,t){return _(t)||u("changeType"),Object.keys(t).some(function(t){return!Object.prototype.hasOwnProperty.call(e,t)})&&u("changeField"),t},f=function(e){d(e)||u("selectorType")},m=function(e){d(e)||_(e)||u("handlerType"),_(e)&&Object.values(e).some(function(e){return!d(e)})&&u("handlersType")},g=function(e){e||u("initialIsRequired"),_(e)||u("initialType"),Object.keys(e).length||u("initialContent")};function h(e,t){return d(t)?t(e.current):t}function y(e,t){return e.current=l(l({},e.current),t),t}function v(e,t,n){return d(t)?t(e.current):Object.keys(n).forEach(function(n){var r;return null==(r=t[n])?void 0:r.call(t,e.current[n])}),n}var x={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},b=(t=function(e,t){throw Error(e[t]||e.default)},function e(){for(var n=this,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];return i.length>=t.length?t.apply(this,i):function(){for(var t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return e.apply(n,[].concat(i,r))}})(x),T=function(e){return(e||b("configIsRequired"),({}).toString.call(e).includes("Object")||b("configType"),e.urls)?(console.warn(x.deprecation),{paths:{vs:e.urls.monacoBase}}):e},S=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}},k={type:"cancelation",msg:"operation is manually canceled"};function C(e){var t=!1,n=new Promise(function(n,r){e.then(function(e){return t?r(k):n(e)}),e.catch(r)});return n.cancel=function(){return t=!0},n}var w=["monaco"],P=function(e){if(Array.isArray(e))return e}(n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};g(e),m(t);var n={current:e},r=c(v)(n,t),i=c(y)(n),a=c(p)(e),o=c(h)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return f(e),e(n.current)},function(e){(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}})(r,i,a,o)(e)}]}({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.55.1/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}))||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,i,a,o=[],s=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(s=(n=i.call(t)).done)&&(o.push(n.value),2!==o.length);s=!0);}catch(e){l=!0,r=e}finally{try{if(!s&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw r}}return o}}(n)||function(e){if(e){if("string"==typeof e)return i(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?i(e,2):void 0}}(n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),D=P[0],I=P[1];function N(e){return document.body.appendChild(e)}function E(e){var t,n,r=D(function(e){return{config:e.config,reject:e.reject}}),i=(t="".concat(r.config.paths.vs,"/loader.js"),n=document.createElement("script"),t&&(n.src=t),n);return i.onload=function(){return e()},i.onerror=r.reject,i}function F(){var e=D(function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(t){var n=t.m||t;A(n),e.resolve(n)},function(t){e.reject(t)})}function A(e){D().monaco||I({monaco:e})}var O=new Promise(function(e,t){return I({resolve:e,reject:t})}),Z=function(e){var t=T(e),n=t.monaco,r=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(t,w);I(function(e){return{config:function e(t,n){return Object.keys(n).forEach(function(r){n[r]instanceof Object&&t[r]&&Object.assign(n[r],e(t[r],n[r]))}),o(o({},t),n)}(e.config,r),monaco:n}})},M=function(){var e=D(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(I({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),C(O);if(window.monaco&&window.monaco.editor)return A(window.monaco),e.resolve(window.monaco),C(O);S(N,E)(F)}return C(O)},R=e.i(71645),j={display:"flex",position:"relative",textAlign:"initial"},L={width:"100%"},$={display:"none"},B={display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"},z=function({children:e}){return R.default.createElement("div",{style:B},e)},U=(0,R.memo)(function({width:e,height:t,isEditorReady:n,loading:r,_ref:i,className:a,wrapperProps:o}){return R.default.createElement("section",{style:{...j,width:e,height:t},...o},!n&&R.default.createElement(z,null,r),R.default.createElement("div",{ref:i,style:{...L,...!n&&$},className:a}))}),J=function(e){(0,R.useEffect)(e,[])},q=function(e,t,n=!0){let r=(0,R.useRef)(!0);(0,R.useEffect)(r.current||!n?()=>{r.current=!1}:e,t)};function V(){}function W(e,t,n,r){var i,a,o,s,l,c;return i=e,a=r,i.editor.getModel(K(i,a))||(o=e,s=t,l=n,c=r,o.editor.createModel(s,l,c?K(o,c):void 0))}function K(e,t){return e.Uri.parse(t)}(0,R.memo)(function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:i,originalModelPath:a,modifiedModelPath:o,keepCurrentOriginalModel:s=!1,keepCurrentModifiedModel:l=!1,theme:c="light",loading:_="Loading...",options:d={},height:u="100%",width:p="100%",className:f,wrapperProps:m={},beforeMount:g=V,onMount:h=V}){let[y,v]=(0,R.useState)(!1),[x,b]=(0,R.useState)(!0),T=(0,R.useRef)(null),S=(0,R.useRef)(null),k=(0,R.useRef)(null),C=(0,R.useRef)(h),w=(0,R.useRef)(g),P=(0,R.useRef)(!1);J(()=>{let e=M();return e.then(e=>(S.current=e)&&b(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>{let t;return T.current?(t=T.current?.getModel(),void(s||t?.original?.dispose(),l||t?.modified?.dispose(),T.current?.dispose())):e.cancel()}}),q(()=>{if(T.current&&S.current){let t=T.current.getOriginalEditor(),i=W(S.current,e||"",r||n||"text",a||"");i!==t.getModel()&&t.setModel(i)}},[a],y),q(()=>{if(T.current&&S.current){let e=T.current.getModifiedEditor(),r=W(S.current,t||"",i||n||"text",o||"");r!==e.getModel()&&e.setModel(r)}},[o],y),q(()=>{let e=T.current.getModifiedEditor();e.getOption(S.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],y),q(()=>{T.current?.getModel()?.original.setValue(e||"")},[e],y),q(()=>{let{original:e,modified:t}=T.current.getModel();S.current.editor.setModelLanguage(e,r||n||"text"),S.current.editor.setModelLanguage(t,i||n||"text")},[n,r,i],y),q(()=>{S.current?.editor.setTheme(c)},[c],y),q(()=>{T.current?.updateOptions(d)},[d],y);let D=(0,R.useCallback)(()=>{if(!S.current)return;w.current(S.current);let s=W(S.current,e||"",r||n||"text",a||""),l=W(S.current,t||"",i||n||"text",o||"");T.current?.setModel({original:s,modified:l})},[n,t,i,e,r,a,o]),I=(0,R.useCallback)(()=>{!P.current&&k.current&&(T.current=S.current.editor.createDiffEditor(k.current,{automaticLayout:!0,...d}),D(),S.current?.editor.setTheme(c),v(!0),P.current=!0)},[d,c,D]);return(0,R.useEffect)(()=>{y&&C.current(T.current,S.current)},[y]),(0,R.useEffect)(()=>{x||y||I()},[x,y,I]),R.default.createElement(U,{width:p,height:u,isEditorReady:y,loading:_,_ref:k,className:f,wrapperProps:m})});var H=function(e){let t=(0,R.useRef)();return(0,R.useEffect)(()=>{t.current=e},[e]),t.current},G=new Map,X=(0,R.memo)(function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:i,path:a,theme:o="light",line:s,loading:l="Loading...",options:c={},overrideServices:_={},saveViewState:d=!0,keepCurrentModel:u=!1,width:p="100%",height:f="100%",className:m,wrapperProps:g={},beforeMount:h=V,onMount:y=V,onChange:v,onValidate:x=V}){let[b,T]=(0,R.useState)(!1),[S,k]=(0,R.useState)(!0),C=(0,R.useRef)(null),w=(0,R.useRef)(null),P=(0,R.useRef)(null),D=(0,R.useRef)(y),I=(0,R.useRef)(h),N=(0,R.useRef)(),E=(0,R.useRef)(r),F=H(a),A=(0,R.useRef)(!1),O=(0,R.useRef)(!1);J(()=>{let e=M();return e.then(e=>(C.current=e)&&k(!1)).catch(e=>e?.type!=="cancelation"&&console.error("Monaco initialization: error:",e)),()=>w.current?void(N.current?.dispose(),u?d&&G.set(a,w.current.saveViewState()):w.current.getModel()?.dispose(),w.current.dispose()):e.cancel()}),q(()=>{let o=W(C.current,e||r||"",t||i||"",a||n||"");o!==w.current?.getModel()&&(d&&G.set(F,w.current?.saveViewState()),w.current?.setModel(o),d&&w.current?.restoreViewState(G.get(a)))},[a],b),q(()=>{w.current?.updateOptions(c)},[c],b),q(()=>{w.current&&void 0!==r&&(w.current.getOption(C.current.editor.EditorOption.readOnly)?w.current.setValue(r):r!==w.current.getValue()&&(O.current=!0,w.current.executeEdits("",[{range:w.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),w.current.pushUndoStop(),O.current=!1))},[r],b),q(()=>{let e=w.current?.getModel();e&&i&&C.current?.editor.setModelLanguage(e,i)},[i],b),q(()=>{void 0!==s&&w.current?.revealLine(s)},[s],b),q(()=>{C.current?.editor.setTheme(o)},[o],b);let Z=(0,R.useCallback)(()=>{if(!(!P.current||!C.current)&&!A.current){I.current(C.current);let l=a||n,u=W(C.current,r||e||"",t||i||"",l||"");w.current=C.current?.editor.create(P.current,{model:u,automaticLayout:!0,...c},_),d&&w.current.restoreViewState(G.get(l)),C.current.editor.setTheme(o),void 0!==s&&w.current.revealLine(s),T(!0),A.current=!0}},[e,t,n,r,i,a,c,_,d,o,s]);return(0,R.useEffect)(()=>{b&&D.current(w.current,C.current)},[b]),(0,R.useEffect)(()=>{S||b||Z()},[S,b,Z]),E.current=r,(0,R.useEffect)(()=>{b&&v&&(N.current?.dispose(),N.current=w.current?.onDidChangeModelContent(e=>{O.current||v(w.current.getValue(),e)}))},[b,v]),(0,R.useEffect)(()=>{if(b){let e=C.current.editor.onDidChangeMarkers(e=>{let t=w.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=C.current.editor.getModelMarkers({resource:t});x?.(e)}});return()=>{e?.dispose()}}return()=>{}},[b,x]),R.default.createElement(U,{width:p,height:f,isEditorReady:b,loading:l,_ref:P,className:m,wrapperProps:g})}),Q=e.i(73656),Y=e.i(95813),ee=e.i(35258);function et(e,t=0){if(t>8||!e||"object"!=typeof e||Array.isArray(e)||e.$ref||e.allOf||e.not||e.if)return"unknown";if(Array.isArray(e.enum)&&e.enum.length<=50)return e.enum.map(e=>"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e?JSON.stringify(e):"unknown").join(" | ")||"never";let n=e.anyOf??e.oneOf;if(Array.isArray(n))return n.length>30?"unknown":n.map(e=>et(e,t+1)).join(" | ")||"unknown";if(Array.isArray(e.type))return e.type.map(n=>et({...e,type:n},t+1)).join(" | ");if(["string","boolean","number","null"].includes(String(e.type)))return String(e.type);if("integer"===e.type)return"number";if("array"===e.type)return`Array<${et(e.items,t+1)}>`;if("object"===e.type||e.properties){if(!e.properties||"object"!=typeof e.properties||Array.isArray(e.properties))return"Record<string, unknown>";let n=new Set(Array.isArray(e.required)?e.required:[]),r=Object.entries(e.properties);return r.length>100?"Record<string, unknown>":`{${r.map(([e,r])=>`${JSON.stringify(e)}${n.has(e)?"":"?"}: ${et(r,t+1)}`).join("; ")}${!1===e.additionalProperties?"":"; [key: string]: unknown"}}`}return"unknown"}let en=new Set(["actionParams","defineParams","handleWebhook","constants","z","console","resetTimeout","keepAlive","Promise","JSON","Date","Math","Object","Array","String","Number","Boolean","Symbol","Map","Set","WeakMap","WeakSet","Error","TypeError","RangeError","RegExp","parseInt","parseFloat","isNaN","isFinite","NaN","Infinity","undefined"]),er=new Set(["__proto__","prototype","constructor","toString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString"]),ei=/^[a-z][a-zA-Z0-9]*$/,ea=`
|
|
369
369
|
const z: typeof import("zod").z;
|
|
370
370
|
namespace z {
|
|
371
371
|
type ZodType<T = unknown> = import("zod").ZodType<T>;
|
|
@@ -394,9 +394,9 @@ function deleteTableRow(tableId: string, rowId: string, revision: number): Promi
|
|
|
394
394
|
function listDocuments(offset?: number, limit?: number): Promise<unknown>;
|
|
395
395
|
function readDocument(documentId: string): Promise<unknown>;
|
|
396
396
|
function writeDocument(documentId: string, title: string, content: string): Promise<unknown>;
|
|
397
|
-
`,
|
|
397
|
+
`,eo=new Set([...ea.matchAll(/(?:const|function) (\w+)/g)].map(e=>e[1]));for(let e of["delegate","saveMemory","reportOutcome","eval","arguments"])eo.add(e);function es(e){return null===e||"object"!=typeof e||Array.isArray(e)?void 0:e}function el(e){return!("string"!=typeof e||e.length>100||!ei.test(e)||er.has(e))&&ee.default.createScanner(ee.default.ScriptTarget.Latest,!1,ee.default.LanguageVariant.Standard,e).scan()===ee.default.SyntaxKind.Identifier}function ec(e){if("string"!=typeof e||e.length>1e3)return"unknown";let t=ee.default.createSourceFile("type.ts",`type MetadataType = ${e};`,ee.default.ScriptTarget.Latest,!0),n=t.statements[0];return 1===t.statements.length&&n&&ee.default.isTypeAliasDeclaration(n)&&!t.parseDiagnostics.length?function e(t,n=0){if(n>8)return"unknown";let r=new Map([[ee.default.SyntaxKind.StringKeyword,"string"],[ee.default.SyntaxKind.NumberKeyword,"number"],[ee.default.SyntaxKind.BooleanKeyword,"boolean"],[ee.default.SyntaxKind.UnknownKeyword,"unknown"],[ee.default.SyntaxKind.VoidKeyword,"void"],[ee.default.SyntaxKind.ObjectKeyword,"object"],[ee.default.SyntaxKind.NeverKeyword,"never"]]).get(t.kind);if(r)return r;if(ee.default.isArrayTypeNode(t))return`Array<${e(t.elementType,n+1)}>`;if(ee.default.isParenthesizedTypeNode(t))return`(${e(t.type,n+1)})`;if(ee.default.isUnionTypeNode(t)&&t.types.length<=20)return t.types.map(t=>e(t,n+1)).join(" | ");if(ee.default.isLiteralTypeNode(t)){if(ee.default.isStringLiteral(t.literal))return JSON.stringify(t.literal.text);if(ee.default.isNumericLiteral(t.literal))return t.literal.text;if([ee.default.SyntaxKind.NullKeyword,ee.default.SyntaxKind.TrueKeyword,ee.default.SyntaxKind.FalseKeyword].includes(t.literal.kind))return t.literal.getText()}if(ee.default.isTypeReferenceNode(t)&&ee.default.isIdentifier(t.typeName)){let r=t.typeName.text;if(["Promise","Array","ReadonlyArray"].includes(r)&&t.typeArguments?.length===1&&void 0!==t.typeArguments[0])return`${r}<${e(t.typeArguments[0],n+1)}>`;if("Record"===r&&t.typeArguments?.length===2&&void 0!==t.typeArguments[1]&&t.typeArguments[0]?.kind===ee.default.SyntaxKind.StringKeyword)return`Record<string, ${e(t.typeArguments[1],n+1)}>`}if(ee.default.isTypeLiteralNode(t)&&t.members.length<=30){let r=[];for(let i of t.members){if(!ee.default.isPropertySignature(i)||!i.type||!i.name||!ee.default.isIdentifier(i.name)||!el(i.name.text))return"unknown";r.push(`${i.name.text}${i.questionToken?"?":""}: ${e(i.type,n+1)}`)}return`{${r.join("; ")}}`}return"unknown"}(n.type):"unknown"}var e_=e.i(39625);let ed={moduleDetection:3,lib:["lib.esnext.d.ts"],allowNonTsExtensions:!0,noEmit:!0,skipLibCheck:!0,strict:!1};e.s(["configureMonaco",0,function(){Z({paths:{vs:new URL("/monaco/vs",location.origin).href}})},"default",0,function({value:e,onChange:t,readOnly:n,actionId:i,theme:a="vs-dark",height:o="440px",projectId:s}){let l=(0,R.useRef)(""),c=(0,R.useRef)(void 0),_=(0,R.useRef)(void 0),[d,u]=(0,R.useState)(),p=d&&d.project===s?d.sdk:"",f=d&&d.project===s?d.error:"";return(0,R.useEffect)(()=>{let e=new AbortController;return s&&(async()=>{try{let t=await Q.U.projects.sdk.query({id:s},{signal:e.signal});e.signal.aborted||u({project:s,sdk:function(e){let t=es(e)?.plugins,n=[],r=new Set;if(Array.isArray(t))for(let e of t.slice(0,100)){let t=es(e);if(!t)continue;let i=function(e){let t=e.namespace;if(!0!==e.available||!el(t)||en.has(t)||eo.has(t))return;let n=`const ${t}: Readonly<Record<string, (...args: unknown[]) => Promise<unknown>>>;`;if(!0!==e.metadata_complete||!Array.isArray(e.tools)||e.tools.length>1e3)return n;let r=new Set,i=[];for(let t of e.tools){let a=es(t);if(!a||!el(a.name)||r.has(a.name)||!Array.isArray(a.parameters)||a.parameters.length>30)return n;if(r.add(a.name),"mcp"===e.kind&&a.inputSchema){i.push(`${a.name}(args: ${et(a.inputSchema)}): Promise<{content?: Array<unknown>; structuredContent?: ${et(a.outputSchema)}; [key: string]: unknown}>`);continue}let o="named"===a.calling,s=[],l=new Set,c=!1,_=!1;for(let e of a.parameters){let t=es(e);if(!t||!el(t.name)||l.has(t.name))return n;l.add(t.name);let r=!0===t.optional;if(!o&&c&&!r)return n;c||=r,_||=!r,s.push(`${t.name}${r?"?":""}: ${ec(t.type)}`)}let d=ec(a.returnType??a.returns),u=d.startsWith("Promise<")?d:`Promise<${d}>`,p=s.join(", ");o&&(p=s.length?`args${_?"":"?"}: {${s.join("; ")}}`:"args?: Record<string, never>"),i.push(`${a.name}(${p}): ${u}`)}return`const ${t}: Readonly<{${i.join("; ")}}>;`}(t);if(!i)continue;let a=t.namespace;if(r.has(a))throw Error("Duplicate plugin namespace metadata");if(r.add(a),n.push(i),n.join("\n").length>15e4)throw Error("SDK declarations exceed the supported size")}return`export {};
|
|
398
398
|
declare global {
|
|
399
|
-
${
|
|
399
|
+
${ea}
|
|
400
400
|
${n.join("\n")}
|
|
401
401
|
}
|
|
402
|
-
`}(t),error:""})}catch(t){e.signal.aborted||u({project:s,sdk:"",error:(0,Y.f)(t)})}})(),()=>{e.abort(),c.current?.dispose()}},[s]),(0,R.useEffect)(()=>{l.current=p,c.current?.dispose(),p&&_.current&&(c.current=_.current.languages.typescript.typescriptDefaults.addExtraLib(p,"file:///project-sdk.d.ts"))},[p]),(0,r.jsxs)(r.Fragment,{children:[f?(0,r.jsxs)("p",{role:"alert",children:["Project SDK unavailable: ",f]}):null,(0,r.jsx)(X,{height:o,language:"typescript",theme:a,path:`file:///actions/${i}.ts`,value:e,onChange:(e="")=>{t(e)},onMount:(e,t)=>{for(let[e,n]of Object.entries(ec.default))t.languages.typescript.typescriptDefaults.addExtraLib(n,e);t.languages.typescript.typescriptDefaults.setCompilerOptions({...e_,moduleResolution:t.languages.typescript.ModuleResolutionKind.NodeJs,target:t.languages.typescript.ScriptTarget.ESNext,module:t.languages.typescript.ModuleKind.ESNext}),t.languages.typescript.typescriptDefaults.setDiagnosticsOptions({diagnosticCodesToIgnore:[1375,1108]}),_.current=t,c.current?.dispose(),l.current&&(c.current=t.languages.typescript.typescriptDefaults.addExtraLib(l.current,"file:///project-sdk.d.ts"))},loading:(0,r.jsx)("p",{className:"editor-loading",children:"Loading TypeScript editor…"}),options:{readOnly:n,domReadOnly:n,minimap:{enabled:"light"===a},fontSize:13,lineNumbers:"on",scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2,fixedOverflowWidgets:!0,padding:{top:16,bottom:16},ariaLabel:"TypeScript source",fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace'}}),(0,r.jsx)("p",{className:"small",children:"Project SDK completion uses discovered metadata; complex plugin types remain unknown. Semantic Validate is authoritative."})]})}],54463)},160,function(e){e.n(e.i(54463))},39625,(e,t,n)=>{t.exports=JSON.parse('{"file:///node_modules/zod/compile.d.ts":"export {};\\n","file:///node_modules/zod/index.d.ts":"import * as z from \\"./v4/classic/external.js\\";\\nexport * from \\"./v4/classic/external.js\\";\\nexport { z, z as default };\\n","file:///node_modules/zod/locales/index.d.ts":"export * from \\"../v4/locales/index.js\\";\\n","file:///node_modules/zod/mini/index.d.ts":"import * as z from \\"../v4/mini/external.js\\";\\nexport * from \\"../v4/mini/external.js\\";\\nexport { z };\\n","file:///node_modules/zod/v3/ZodError.d.ts":"import type { Primitive } from \\"./helpers/typeAliases.js\\";\\nimport { util, type ZodParsedType } from \\"./helpers/util.js\\";\\nimport type { TypeOf, ZodType } from \\"./index.js\\";\\ntype allKeys<T> = T extends any ? keyof T : never;\\nexport type inferFlattenedErrors<T extends ZodType<any, any, any>, U = string> = typeToFlattenedError<TypeOf<T>, U>;\\nexport type typeToFlattenedError<T, U = string> = {\\n formErrors: U[];\\n fieldErrors: {\\n [P in allKeys<T>]?: U[];\\n };\\n};\\nexport declare const ZodIssueCode: {\\n invalid_type: \\"invalid_type\\";\\n too_big: \\"too_big\\";\\n too_small: \\"too_small\\";\\n not_multiple_of: \\"not_multiple_of\\";\\n unrecognized_keys: \\"unrecognized_keys\\";\\n invalid_union: \\"invalid_union\\";\\n custom: \\"custom\\";\\n invalid_literal: \\"invalid_literal\\";\\n invalid_union_discriminator: \\"invalid_union_discriminator\\";\\n invalid_enum_value: \\"invalid_enum_value\\";\\n invalid_arguments: \\"invalid_arguments\\";\\n invalid_return_type: \\"invalid_return_type\\";\\n invalid_date: \\"invalid_date\\";\\n invalid_string: \\"invalid_string\\";\\n invalid_intersection_types: \\"invalid_intersection_types\\";\\n not_finite: \\"not_finite\\";\\n};\\nexport type ZodIssueCode = keyof typeof ZodIssueCode;\\nexport type ZodIssueBase = {\\n path: (string | number)[];\\n message?: string | undefined;\\n};\\nexport interface ZodInvalidTypeIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_type;\\n expected: ZodParsedType;\\n received: ZodParsedType;\\n}\\nexport interface ZodInvalidLiteralIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_literal;\\n expected: unknown;\\n received: unknown;\\n}\\nexport interface ZodUnrecognizedKeysIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.unrecognized_keys;\\n keys: string[];\\n}\\nexport interface ZodInvalidUnionIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_union;\\n unionErrors: ZodError[];\\n}\\nexport interface ZodInvalidUnionDiscriminatorIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_union_discriminator;\\n options: Primitive[];\\n}\\nexport interface ZodInvalidEnumValueIssue extends ZodIssueBase {\\n received: string | number;\\n code: typeof ZodIssueCode.invalid_enum_value;\\n options: (string | number)[];\\n}\\nexport interface ZodInvalidArgumentsIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_arguments;\\n argumentsError: ZodError;\\n}\\nexport interface ZodInvalidReturnTypeIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_return_type;\\n returnTypeError: ZodError;\\n}\\nexport interface ZodInvalidDateIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_date;\\n}\\nexport type StringValidation = \\"email\\" | \\"url\\" | \\"emoji\\" | \\"uuid\\" | \\"nanoid\\" | \\"regex\\" | \\"cuid\\" | \\"cuid2\\" | \\"ulid\\" | \\"datetime\\" | \\"date\\" | \\"time\\" | \\"duration\\" | \\"ip\\" | \\"cidr\\" | \\"base64\\" | \\"jwt\\" | \\"base64url\\" | {\\n includes: string;\\n position?: number | undefined;\\n} | {\\n startsWith: string;\\n} | {\\n endsWith: string;\\n};\\nexport interface ZodInvalidStringIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_string;\\n validation: StringValidation;\\n}\\nexport interface ZodTooSmallIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.too_small;\\n minimum: number | bigint;\\n inclusive: boolean;\\n exact?: boolean;\\n type: \\"array\\" | \\"string\\" | \\"number\\" | \\"set\\" | \\"date\\" | \\"bigint\\";\\n}\\nexport interface ZodTooBigIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.too_big;\\n maximum: number | bigint;\\n inclusive: boolean;\\n exact?: boolean;\\n type: \\"array\\" | \\"string\\" | \\"number\\" | \\"set\\" | \\"date\\" | \\"bigint\\";\\n}\\nexport interface ZodInvalidIntersectionTypesIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_intersection_types;\\n}\\nexport interface ZodNotMultipleOfIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.not_multiple_of;\\n multipleOf: number | bigint;\\n}\\nexport interface ZodNotFiniteIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.not_finite;\\n}\\nexport interface ZodCustomIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.custom;\\n params?: {\\n [k: string]: any;\\n };\\n}\\nexport type DenormalizedError = {\\n [k: string]: DenormalizedError | string[];\\n};\\nexport type ZodIssueOptionalMessage = ZodInvalidTypeIssue | ZodInvalidLiteralIssue | ZodUnrecognizedKeysIssue | ZodInvalidUnionIssue | ZodInvalidUnionDiscriminatorIssue | ZodInvalidEnumValueIssue | ZodInvalidArgumentsIssue | ZodInvalidReturnTypeIssue | ZodInvalidDateIssue | ZodInvalidStringIssue | ZodTooSmallIssue | ZodTooBigIssue | ZodInvalidIntersectionTypesIssue | ZodNotMultipleOfIssue | ZodNotFiniteIssue | ZodCustomIssue;\\nexport type ZodIssue = ZodIssueOptionalMessage & {\\n fatal?: boolean | undefined;\\n message: string;\\n};\\nexport declare const quotelessJson: (obj: any) => string;\\ntype recursiveZodFormattedError<T> = T extends [any, ...any[]] ? {\\n [K in keyof T]?: ZodFormattedError<T[K]>;\\n} : T extends any[] ? {\\n [k: number]: ZodFormattedError<T[number]>;\\n} : T extends object ? {\\n [K in keyof T]?: ZodFormattedError<T[K]>;\\n} : unknown;\\nexport type ZodFormattedError<T, U = string> = {\\n _errors: U[];\\n} & recursiveZodFormattedError<NonNullable<T>>;\\nexport type inferFormattedError<T extends ZodType<any, any, any>, U = string> = ZodFormattedError<TypeOf<T>, U>;\\nexport declare class ZodError<T = any> extends Error {\\n issues: ZodIssue[];\\n get errors(): ZodIssue[];\\n constructor(issues: ZodIssue[]);\\n format(): ZodFormattedError<T>;\\n format<U>(mapper: (issue: ZodIssue) => U): ZodFormattedError<T, U>;\\n static create: (issues: ZodIssue[]) => ZodError<any>;\\n static assert(value: unknown): asserts value is ZodError;\\n toString(): string;\\n get message(): string;\\n get isEmpty(): boolean;\\n addIssue: (sub: ZodIssue) => void;\\n addIssues: (subs?: ZodIssue[]) => void;\\n flatten(): typeToFlattenedError<T>;\\n flatten<U>(mapper?: (issue: ZodIssue) => U): typeToFlattenedError<T, U>;\\n get formErrors(): typeToFlattenedError<T, string>;\\n}\\ntype stripPath<T extends object> = T extends any ? util.OmitKeys<T, \\"path\\"> : never;\\nexport type IssueData = stripPath<ZodIssueOptionalMessage> & {\\n path?: (string | number)[];\\n fatal?: boolean | undefined;\\n};\\nexport type ErrorMapCtx = {\\n defaultError: string;\\n data: any;\\n};\\nexport type ZodErrorMap = (issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => {\\n message: string;\\n};\\nexport {};\\n","file:///node_modules/zod/v3/errors.d.ts":"import type { ZodErrorMap } from \\"./ZodError.js\\";\\nimport defaultErrorMap from \\"./locales/en.js\\";\\nexport { defaultErrorMap };\\nexport declare function setErrorMap(map: ZodErrorMap): void;\\nexport declare function getErrorMap(): ZodErrorMap;\\n","file:///node_modules/zod/v3/external.d.ts":"export * from \\"./errors.js\\";\\nexport * from \\"./helpers/parseUtil.js\\";\\nexport * from \\"./helpers/typeAliases.js\\";\\nexport * from \\"./helpers/util.js\\";\\nexport * from \\"./types.js\\";\\nexport * from \\"./ZodError.js\\";\\n","file:///node_modules/zod/v3/helpers/enumUtil.d.ts":"export declare namespace enumUtil {\\n type UnionToIntersectionFn<T> = (T extends unknown ? (k: () => T) => void : never) extends (k: infer Intersection) => void ? Intersection : never;\\n type GetUnionLast<T> = UnionToIntersectionFn<T> extends () => infer Last ? Last : never;\\n type UnionToTuple<T, Tuple extends unknown[] = []> = [T] extends [never] ? Tuple : UnionToTuple<Exclude<T, GetUnionLast<T>>, [GetUnionLast<T>, ...Tuple]>;\\n type CastToStringTuple<T> = T extends [string, ...string[]] ? T : never;\\n export type UnionToTupleString<T> = CastToStringTuple<UnionToTuple<T>>;\\n export {};\\n}\\n","file:///node_modules/zod/v3/helpers/errorUtil.d.ts":"export declare namespace errorUtil {\\n type ErrMessage = string | {\\n message?: string | undefined;\\n };\\n const errToObj: (message?: ErrMessage) => {\\n message?: string | undefined;\\n };\\n const toString: (message?: ErrMessage) => string | undefined;\\n}\\n","file:///node_modules/zod/v3/helpers/parseUtil.d.ts":"import type { IssueData, ZodErrorMap, ZodIssue } from \\"../ZodError.js\\";\\nimport type { ZodParsedType } from \\"./util.js\\";\\nexport declare const makeIssue: (params: {\\n data: any;\\n path: (string | number)[];\\n errorMaps: ZodErrorMap[];\\n issueData: IssueData;\\n}) => ZodIssue;\\nexport type ParseParams = {\\n path: (string | number)[];\\n errorMap: ZodErrorMap;\\n async: boolean;\\n};\\nexport type ParsePathComponent = string | number;\\nexport type ParsePath = ParsePathComponent[];\\nexport declare const EMPTY_PATH: ParsePath;\\nexport interface ParseContext {\\n readonly common: {\\n readonly issues: ZodIssue[];\\n readonly contextualErrorMap?: ZodErrorMap | undefined;\\n readonly async: boolean;\\n };\\n readonly path: ParsePath;\\n readonly schemaErrorMap?: ZodErrorMap | undefined;\\n readonly parent: ParseContext | null;\\n readonly data: any;\\n readonly parsedType: ZodParsedType;\\n}\\nexport type ParseInput = {\\n data: any;\\n path: (string | number)[];\\n parent: ParseContext;\\n};\\nexport declare function addIssueToContext(ctx: ParseContext, issueData: IssueData): void;\\nexport type ObjectPair = {\\n key: SyncParseReturnType<any>;\\n value: SyncParseReturnType<any>;\\n};\\nexport declare class ParseStatus {\\n value: \\"aborted\\" | \\"dirty\\" | \\"valid\\";\\n dirty(): void;\\n abort(): void;\\n static mergeArray(status: ParseStatus, results: SyncParseReturnType<any>[]): SyncParseReturnType;\\n static mergeObjectAsync(status: ParseStatus, pairs: {\\n key: ParseReturnType<any>;\\n value: ParseReturnType<any>;\\n }[]): Promise<SyncParseReturnType<any>>;\\n static mergeObjectSync(status: ParseStatus, pairs: {\\n key: SyncParseReturnType<any>;\\n value: SyncParseReturnType<any>;\\n alwaysSet?: boolean;\\n }[]): SyncParseReturnType;\\n}\\nexport interface ParseResult {\\n status: \\"aborted\\" | \\"dirty\\" | \\"valid\\";\\n data: any;\\n}\\nexport type INVALID = {\\n status: \\"aborted\\";\\n};\\nexport declare const INVALID: INVALID;\\nexport type DIRTY<T> = {\\n status: \\"dirty\\";\\n value: T;\\n};\\nexport declare const DIRTY: <T>(value: T) => DIRTY<T>;\\nexport type OK<T> = {\\n status: \\"valid\\";\\n value: T;\\n};\\nexport declare const OK: <T>(value: T) => OK<T>;\\nexport type SyncParseReturnType<T = any> = OK<T> | DIRTY<T> | INVALID;\\nexport type AsyncParseReturnType<T> = Promise<SyncParseReturnType<T>>;\\nexport type ParseReturnType<T> = SyncParseReturnType<T> | AsyncParseReturnType<T>;\\nexport declare const isAborted: (x: ParseReturnType<any>) => x is INVALID;\\nexport declare const isDirty: <T>(x: ParseReturnType<T>) => x is OK<T> | DIRTY<T>;\\nexport declare const isValid: <T>(x: ParseReturnType<T>) => x is OK<T>;\\nexport declare const isAsync: <T>(x: ParseReturnType<T>) => x is AsyncParseReturnType<T>;\\n","file:///node_modules/zod/v3/helpers/partialUtil.d.ts":"import type { ZodArray, ZodNullable, ZodObject, ZodOptional, ZodRawShape, ZodTuple, ZodTupleItems, ZodTypeAny } from \\"../types.js\\";\\nexport declare namespace partialUtil {\\n type DeepPartial<T extends ZodTypeAny> = T extends ZodObject<ZodRawShape> ? ZodObject<{\\n [k in keyof T[\\"shape\\"]]: ZodOptional<DeepPartial<T[\\"shape\\"][k]>>;\\n }, T[\\"_def\\"][\\"unknownKeys\\"], T[\\"_def\\"][\\"catchall\\"]> : T extends ZodArray<infer Type, infer Card> ? ZodArray<DeepPartial<Type>, Card> : T extends ZodOptional<infer Type> ? ZodOptional<DeepPartial<Type>> : T extends ZodNullable<infer Type> ? ZodNullable<DeepPartial<Type>> : T extends ZodTuple<infer Items> ? {\\n [k in keyof Items]: Items[k] extends ZodTypeAny ? DeepPartial<Items[k]> : never;\\n } extends infer PI ? PI extends ZodTupleItems ? ZodTuple<PI> : never : never : T;\\n}\\n","file:///node_modules/zod/v3/helpers/typeAliases.d.ts":"export type Primitive = string | number | symbol | bigint | boolean | null | undefined;\\nexport type Scalars = Primitive | Primitive[];\\n","file:///node_modules/zod/v3/helpers/util.d.ts":"export declare namespace util {\\n type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? true : false;\\n export type isAny<T> = 0 extends 1 & T ? true : false;\\n export const assertEqual: <A, B>(_: AssertEqual<A, B>) => void;\\n export function assertIs<T>(_arg: T): void;\\n export function assertNever(_x: never): never;\\n export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;\\n export type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;\\n export type MakePartial<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;\\n export type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;\\n export type InexactPartial<T> = {\\n [k in keyof T]?: T[k] | undefined;\\n };\\n export const arrayToEnum: <T extends string, U extends [T, ...T[]]>(items: U) => { [k in U[number]]: k; };\\n export const getValidEnumValues: (obj: any) => any[];\\n export const objectValues: (obj: any) => any[];\\n export const objectKeys: ObjectConstructor[\\"keys\\"];\\n export const find: <T>(arr: T[], checker: (arg: T) => any) => T | undefined;\\n export type identity<T> = objectUtil.identity<T>;\\n export type flatten<T> = objectUtil.flatten<T>;\\n export type noUndefined<T> = T extends undefined ? never : T;\\n export const isInteger: NumberConstructor[\\"isInteger\\"];\\n export function joinValues<T extends any[]>(array: T, separator?: string): string;\\n export const jsonStringifyReplacer: (_: string, value: any) => any;\\n export {};\\n}\\nexport declare namespace objectUtil {\\n export type MergeShapes<U, V> = keyof U & keyof V extends never ? U & V : {\\n [k in Exclude<keyof U, keyof V>]: U[k];\\n } & V;\\n type optionalKeys<T extends object> = {\\n [k in keyof T]: undefined extends T[k] ? k : never;\\n }[keyof T];\\n type requiredKeys<T extends object> = {\\n [k in keyof T]: undefined extends T[k] ? never : k;\\n }[keyof T];\\n export type addQuestionMarks<T extends object, _O = any> = {\\n [K in requiredKeys<T>]: T[K];\\n } & {\\n [K in optionalKeys<T>]?: T[K];\\n } & {\\n [k in keyof T]?: unknown;\\n };\\n export type identity<T> = T;\\n export type flatten<T> = identity<{\\n [k in keyof T]: T[k];\\n }>;\\n export type noNeverKeys<T> = {\\n [k in keyof T]: [T[k]] extends [never] ? never : k;\\n }[keyof T];\\n export type noNever<T> = identity<{\\n [k in noNeverKeys<T>]: k extends keyof T ? T[k] : never;\\n }>;\\n export const mergeShapes: <U, T>(first: U, second: T) => T & U;\\n export type extendShape<A extends object, B extends object> = keyof A & keyof B extends never ? A & B : {\\n [K in keyof A as K extends keyof B ? never : K]: A[K];\\n } & {\\n [K in keyof B]: B[K];\\n };\\n export {};\\n}\\nexport declare const ZodParsedType: {\\n string: \\"string\\";\\n nan: \\"nan\\";\\n number: \\"number\\";\\n integer: \\"integer\\";\\n float: \\"float\\";\\n boolean: \\"boolean\\";\\n date: \\"date\\";\\n bigint: \\"bigint\\";\\n symbol: \\"symbol\\";\\n function: \\"function\\";\\n undefined: \\"undefined\\";\\n null: \\"null\\";\\n array: \\"array\\";\\n object: \\"object\\";\\n unknown: \\"unknown\\";\\n promise: \\"promise\\";\\n void: \\"void\\";\\n never: \\"never\\";\\n map: \\"map\\";\\n set: \\"set\\";\\n};\\nexport type ZodParsedType = keyof typeof ZodParsedType;\\nexport declare const getParsedType: (data: any) => ZodParsedType;\\n","file:///node_modules/zod/v3/index.d.ts":"import * as z from \\"./external.js\\";\\nexport * from \\"./external.js\\";\\nexport { z };\\nexport default z;\\n","file:///node_modules/zod/v3/locales/en.d.ts":"import { type ZodErrorMap } from \\"../ZodError.js\\";\\ndeclare const errorMap: ZodErrorMap;\\nexport default errorMap;\\n","file:///node_modules/zod/v3/standard-schema.d.ts":"/**\\n * The Standard Schema interface.\\n */\\nexport type StandardSchemaV1<Input = unknown, Output = Input> = {\\n /**\\n * The Standard Schema properties.\\n */\\n readonly \\"~standard\\": StandardSchemaV1.Props<Input, Output>;\\n};\\nexport declare namespace StandardSchemaV1 {\\n /**\\n * The Standard Schema properties interface.\\n */\\n export interface Props<Input = unknown, Output = Input> {\\n /**\\n * The version number of the standard.\\n */\\n readonly version: 1;\\n /**\\n * The vendor name of the schema library.\\n */\\n readonly vendor: string;\\n /**\\n * Validates unknown input values.\\n */\\n readonly validate: (value: unknown) => Result<Output> | Promise<Result<Output>>;\\n /**\\n * Inferred types associated with the schema.\\n */\\n readonly types?: Types<Input, Output> | undefined;\\n }\\n /**\\n * The result interface of the validate function.\\n */\\n export type Result<Output> = SuccessResult<Output> | FailureResult;\\n /**\\n * The result interface if validation succeeds.\\n */\\n export interface SuccessResult<Output> {\\n /**\\n * The typed output value.\\n */\\n readonly value: Output;\\n /**\\n * The non-existent issues.\\n */\\n readonly issues?: undefined;\\n }\\n /**\\n * The result interface if validation fails.\\n */\\n export interface FailureResult {\\n /**\\n * The issues of failed validation.\\n */\\n readonly issues: ReadonlyArray<Issue>;\\n }\\n /**\\n * The issue interface of the failure output.\\n */\\n export interface Issue {\\n /**\\n * The error message of the issue.\\n */\\n readonly message: string;\\n /**\\n * The path of the issue, if any.\\n */\\n readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\\n }\\n /**\\n * The path segment interface of the issue.\\n */\\n export interface PathSegment {\\n /**\\n * The key representing a path segment.\\n */\\n readonly key: PropertyKey;\\n }\\n /**\\n * The Standard Schema types interface.\\n */\\n export interface Types<Input = unknown, Output = Input> {\\n /**\\n * The input type of the schema.\\n */\\n readonly input: Input;\\n /**\\n * The output type of the schema.\\n */\\n readonly output: Output;\\n }\\n /**\\n * Infers the input type of a Standard Schema.\\n */\\n export type InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"input\\"];\\n /**\\n * Infers the output type of a Standard Schema.\\n */\\n export type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"output\\"];\\n export {};\\n}\\n","file:///node_modules/zod/v3/types.d.ts":"import { type IssueData, type StringValidation, type ZodCustomIssue, ZodError, type ZodErrorMap } from \\"./ZodError.js\\";\\nimport type { enumUtil } from \\"./helpers/enumUtil.js\\";\\nimport { errorUtil } from \\"./helpers/errorUtil.js\\";\\nimport { type AsyncParseReturnType, INVALID, type ParseContext, type ParseInput, type ParseParams, type ParseReturnType, ParseStatus, type SyncParseReturnType } from \\"./helpers/parseUtil.js\\";\\nimport type { partialUtil } from \\"./helpers/partialUtil.js\\";\\nimport type { Primitive } from \\"./helpers/typeAliases.js\\";\\nimport { util, type objectUtil } from \\"./helpers/util.js\\";\\nimport type { StandardSchemaV1 } from \\"./standard-schema.js\\";\\nexport interface RefinementCtx {\\n addIssue: (arg: IssueData) => void;\\n path: (string | number)[];\\n}\\nexport type ZodRawShape = {\\n [k: string]: ZodTypeAny;\\n};\\nexport type ZodTypeAny = ZodType<any, any, any>;\\nexport type TypeOf<T extends ZodType<any, any, any>> = T[\\"_output\\"];\\nexport type input<T extends ZodType<any, any, any>> = T[\\"_input\\"];\\nexport type output<T extends ZodType<any, any, any>> = T[\\"_output\\"];\\nexport type { TypeOf as infer };\\nexport type CustomErrorParams = Partial<util.Omit<ZodCustomIssue, \\"code\\">>;\\nexport interface ZodTypeDef {\\n errorMap?: ZodErrorMap | undefined;\\n description?: string | undefined;\\n}\\nexport type RawCreateParams = {\\n errorMap?: ZodErrorMap | undefined;\\n invalid_type_error?: string | undefined;\\n required_error?: string | undefined;\\n message?: string | undefined;\\n description?: string | undefined;\\n} | undefined;\\nexport type ProcessedCreateParams = {\\n errorMap?: ZodErrorMap | undefined;\\n description?: string | undefined;\\n};\\nexport type SafeParseSuccess<Output> = {\\n success: true;\\n data: Output;\\n error?: never;\\n};\\nexport type SafeParseError<Input> = {\\n success: false;\\n error: ZodError<Input>;\\n data?: never;\\n};\\nexport type SafeParseReturnType<Input, Output> = SafeParseSuccess<Output> | SafeParseError<Input>;\\nexport declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {\\n readonly _type: Output;\\n readonly _output: Output;\\n readonly _input: Input;\\n readonly _def: Def;\\n get description(): string | undefined;\\n \\"~standard\\": StandardSchemaV1.Props<Input, Output>;\\n abstract _parse(input: ParseInput): ParseReturnType<Output>;\\n _getType(input: ParseInput): string;\\n _getOrReturnCtx(input: ParseInput, ctx?: ParseContext | undefined): ParseContext;\\n _processInputParams(input: ParseInput): {\\n status: ParseStatus;\\n ctx: ParseContext;\\n };\\n _parseSync(input: ParseInput): SyncParseReturnType<Output>;\\n _parseAsync(input: ParseInput): AsyncParseReturnType<Output>;\\n parse(data: unknown, params?: util.InexactPartial<ParseParams>): Output;\\n safeParse(data: unknown, params?: util.InexactPartial<ParseParams>): SafeParseReturnType<Input, Output>;\\n \\"~validate\\"(data: unknown): StandardSchemaV1.Result<Output> | Promise<StandardSchemaV1.Result<Output>>;\\n parseAsync(data: unknown, params?: util.InexactPartial<ParseParams>): Promise<Output>;\\n safeParseAsync(data: unknown, params?: util.InexactPartial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>;\\n /** Alias of safeParseAsync */\\n spa: (data: unknown, params?: util.InexactPartial<ParseParams>) => Promise<SafeParseReturnType<Input, Output>>;\\n refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, Input>;\\n refine(check: (arg: Output) => unknown | Promise<unknown>, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, Output, Input>;\\n refinement<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, refinementData: IssueData | ((arg: Output, ctx: RefinementCtx) => IssueData)): ZodEffects<this, RefinedOutput, Input>;\\n refinement(check: (arg: Output) => boolean, refinementData: IssueData | ((arg: Output, ctx: RefinementCtx) => IssueData)): ZodEffects<this, Output, Input>;\\n _refinement(refinement: RefinementEffect<Output>[\\"refinement\\"]): ZodEffects<this, Output, Input>;\\n superRefine<RefinedOutput extends Output>(refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput): ZodEffects<this, RefinedOutput, Input>;\\n superRefine(refinement: (arg: Output, ctx: RefinementCtx) => void): ZodEffects<this, Output, Input>;\\n superRefine(refinement: (arg: Output, ctx: RefinementCtx) => Promise<void>): ZodEffects<this, Output, Input>;\\n constructor(def: Def);\\n optional(): ZodOptional<this>;\\n nullable(): ZodNullable<this>;\\n nullish(): ZodOptional<ZodNullable<this>>;\\n array(): ZodArray<this>;\\n promise(): ZodPromise<this>;\\n or<T extends ZodTypeAny>(option: T): ZodUnion<[this, T]>;\\n and<T extends ZodTypeAny>(incoming: T): ZodIntersection<this, T>;\\n transform<NewOut>(transform: (arg: Output, ctx: RefinementCtx) => NewOut | Promise<NewOut>): ZodEffects<this, NewOut>;\\n default(def: util.noUndefined<Input>): ZodDefault<this>;\\n default(def: () => util.noUndefined<Input>): ZodDefault<this>;\\n brand<B extends string | number | symbol>(brand?: B): ZodBranded<this, B>;\\n catch(def: Output): ZodCatch<this>;\\n catch(def: (ctx: {\\n error: ZodError;\\n input: Input;\\n }) => Output): ZodCatch<this>;\\n describe(description: string): this;\\n pipe<T extends ZodTypeAny>(target: T): ZodPipeline<this, T>;\\n readonly(): ZodReadonly<this>;\\n isOptional(): boolean;\\n isNullable(): boolean;\\n}\\nexport type IpVersion = \\"v4\\" | \\"v6\\";\\nexport type ZodStringCheck = {\\n kind: \\"min\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"length\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"email\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"url\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"emoji\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"uuid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"nanoid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"cuid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"includes\\";\\n value: string;\\n position?: number | undefined;\\n message?: string | undefined;\\n} | {\\n kind: \\"cuid2\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"ulid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"startsWith\\";\\n value: string;\\n message?: string | undefined;\\n} | {\\n kind: \\"endsWith\\";\\n value: string;\\n message?: string | undefined;\\n} | {\\n kind: \\"regex\\";\\n regex: RegExp;\\n message?: string | undefined;\\n} | {\\n kind: \\"trim\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"toLowerCase\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"toUpperCase\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"jwt\\";\\n alg?: string;\\n message?: string | undefined;\\n} | {\\n kind: \\"datetime\\";\\n offset: boolean;\\n local: boolean;\\n precision: number | null;\\n message?: string | undefined;\\n} | {\\n kind: \\"date\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"time\\";\\n precision: number | null;\\n message?: string | undefined;\\n} | {\\n kind: \\"duration\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"ip\\";\\n version?: IpVersion | undefined;\\n message?: string | undefined;\\n} | {\\n kind: \\"cidr\\";\\n version?: IpVersion | undefined;\\n message?: string | undefined;\\n} | {\\n kind: \\"base64\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"base64url\\";\\n message?: string | undefined;\\n};\\nexport interface ZodStringDef extends ZodTypeDef {\\n checks: ZodStringCheck[];\\n typeName: ZodFirstPartyTypeKind.ZodString;\\n coerce: boolean;\\n}\\nexport declare function datetimeRegex(args: {\\n precision?: number | null;\\n offset?: boolean;\\n local?: boolean;\\n}): RegExp;\\nexport declare class ZodString extends ZodType<string, ZodStringDef, string> {\\n _parse(input: ParseInput): ParseReturnType<string>;\\n protected _regex(regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage): ZodEffects<this, string, string>;\\n _addCheck(check: ZodStringCheck): ZodString;\\n email(message?: errorUtil.ErrMessage): ZodString;\\n url(message?: errorUtil.ErrMessage): ZodString;\\n emoji(message?: errorUtil.ErrMessage): ZodString;\\n uuid(message?: errorUtil.ErrMessage): ZodString;\\n nanoid(message?: errorUtil.ErrMessage): ZodString;\\n cuid(message?: errorUtil.ErrMessage): ZodString;\\n cuid2(message?: errorUtil.ErrMessage): ZodString;\\n ulid(message?: errorUtil.ErrMessage): ZodString;\\n base64(message?: errorUtil.ErrMessage): ZodString;\\n base64url(message?: errorUtil.ErrMessage): ZodString;\\n jwt(options?: {\\n alg?: string;\\n message?: string | undefined;\\n }): ZodString;\\n ip(options?: string | {\\n version?: IpVersion;\\n message?: string | undefined;\\n }): ZodString;\\n cidr(options?: string | {\\n version?: IpVersion;\\n message?: string | undefined;\\n }): ZodString;\\n datetime(options?: string | {\\n message?: string | undefined;\\n precision?: number | null;\\n offset?: boolean;\\n local?: boolean;\\n }): ZodString;\\n date(message?: string): ZodString;\\n time(options?: string | {\\n message?: string | undefined;\\n precision?: number | null;\\n }): ZodString;\\n duration(message?: errorUtil.ErrMessage): ZodString;\\n regex(regex: RegExp, message?: errorUtil.ErrMessage): ZodString;\\n includes(value: string, options?: {\\n message?: string;\\n position?: number;\\n }): ZodString;\\n startsWith(value: string, message?: errorUtil.ErrMessage): ZodString;\\n endsWith(value: string, message?: errorUtil.ErrMessage): ZodString;\\n min(minLength: number, message?: errorUtil.ErrMessage): ZodString;\\n max(maxLength: number, message?: errorUtil.ErrMessage): ZodString;\\n length(len: number, message?: errorUtil.ErrMessage): ZodString;\\n /**\\n * Equivalent to `.min(1)`\\n */\\n nonempty(message?: errorUtil.ErrMessage): ZodString;\\n trim(): ZodString;\\n toLowerCase(): ZodString;\\n toUpperCase(): ZodString;\\n get isDatetime(): boolean;\\n get isDate(): boolean;\\n get isTime(): boolean;\\n get isDuration(): boolean;\\n get isEmail(): boolean;\\n get isURL(): boolean;\\n get isEmoji(): boolean;\\n get isUUID(): boolean;\\n get isNANOID(): boolean;\\n get isCUID(): boolean;\\n get isCUID2(): boolean;\\n get isULID(): boolean;\\n get isIP(): boolean;\\n get isCIDR(): boolean;\\n get isBase64(): boolean;\\n get isBase64url(): boolean;\\n get minLength(): number | null;\\n get maxLength(): number | null;\\n static create: (params?: RawCreateParams & {\\n coerce?: true;\\n }) => ZodString;\\n}\\nexport type ZodNumberCheck = {\\n kind: \\"min\\";\\n value: number;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: number;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"int\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"multipleOf\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"finite\\";\\n message?: string | undefined;\\n};\\nexport interface ZodNumberDef extends ZodTypeDef {\\n checks: ZodNumberCheck[];\\n typeName: ZodFirstPartyTypeKind.ZodNumber;\\n coerce: boolean;\\n}\\nexport declare class ZodNumber extends ZodType<number, ZodNumberDef, number> {\\n _parse(input: ParseInput): ParseReturnType<number>;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodNumber;\\n gte(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n min: (value: number, message?: errorUtil.ErrMessage) => ZodNumber;\\n gt(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n lte(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n max: (value: number, message?: errorUtil.ErrMessage) => ZodNumber;\\n lt(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n protected setLimit(kind: \\"min\\" | \\"max\\", value: number, inclusive: boolean, message?: string): ZodNumber;\\n _addCheck(check: ZodNumberCheck): ZodNumber;\\n int(message?: errorUtil.ErrMessage): ZodNumber;\\n positive(message?: errorUtil.ErrMessage): ZodNumber;\\n negative(message?: errorUtil.ErrMessage): ZodNumber;\\n nonpositive(message?: errorUtil.ErrMessage): ZodNumber;\\n nonnegative(message?: errorUtil.ErrMessage): ZodNumber;\\n multipleOf(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n step: (value: number, message?: errorUtil.ErrMessage) => ZodNumber;\\n finite(message?: errorUtil.ErrMessage): ZodNumber;\\n safe(message?: errorUtil.ErrMessage): ZodNumber;\\n get minValue(): number | null;\\n get maxValue(): number | null;\\n get isInt(): boolean;\\n get isFinite(): boolean;\\n}\\nexport type ZodBigIntCheck = {\\n kind: \\"min\\";\\n value: bigint;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: bigint;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"multipleOf\\";\\n value: bigint;\\n message?: string | undefined;\\n};\\nexport interface ZodBigIntDef extends ZodTypeDef {\\n checks: ZodBigIntCheck[];\\n typeName: ZodFirstPartyTypeKind.ZodBigInt;\\n coerce: boolean;\\n}\\nexport declare class ZodBigInt extends ZodType<bigint, ZodBigIntDef, bigint> {\\n _parse(input: ParseInput): ParseReturnType<bigint>;\\n _getInvalidInput(input: ParseInput): INVALID;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodBigInt;\\n gte(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n min: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;\\n gt(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n lte(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n max: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;\\n lt(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n protected setLimit(kind: \\"min\\" | \\"max\\", value: bigint, inclusive: boolean, message?: string): ZodBigInt;\\n _addCheck(check: ZodBigIntCheck): ZodBigInt;\\n positive(message?: errorUtil.ErrMessage): ZodBigInt;\\n negative(message?: errorUtil.ErrMessage): ZodBigInt;\\n nonpositive(message?: errorUtil.ErrMessage): ZodBigInt;\\n nonnegative(message?: errorUtil.ErrMessage): ZodBigInt;\\n multipleOf(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n get minValue(): bigint | null;\\n get maxValue(): bigint | null;\\n}\\nexport interface ZodBooleanDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodBoolean;\\n coerce: boolean;\\n}\\nexport declare class ZodBoolean extends ZodType<boolean, ZodBooleanDef, boolean> {\\n _parse(input: ParseInput): ParseReturnType<boolean>;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodBoolean;\\n}\\nexport type ZodDateCheck = {\\n kind: \\"min\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: number;\\n message?: string | undefined;\\n};\\nexport interface ZodDateDef extends ZodTypeDef {\\n checks: ZodDateCheck[];\\n coerce: boolean;\\n typeName: ZodFirstPartyTypeKind.ZodDate;\\n}\\nexport declare class ZodDate extends ZodType<Date, ZodDateDef, Date> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n _addCheck(check: ZodDateCheck): ZodDate;\\n min(minDate: Date, message?: errorUtil.ErrMessage): ZodDate;\\n max(maxDate: Date, message?: errorUtil.ErrMessage): ZodDate;\\n get minDate(): Date | null;\\n get maxDate(): Date | null;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodDate;\\n}\\nexport interface ZodSymbolDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodSymbol;\\n}\\nexport declare class ZodSymbol extends ZodType<symbol, ZodSymbolDef, symbol> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodSymbol;\\n}\\nexport interface ZodUndefinedDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodUndefined;\\n}\\nexport declare class ZodUndefined extends ZodType<undefined, ZodUndefinedDef, undefined> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n params?: RawCreateParams;\\n static create: (params?: RawCreateParams) => ZodUndefined;\\n}\\nexport interface ZodNullDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodNull;\\n}\\nexport declare class ZodNull extends ZodType<null, ZodNullDef, null> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodNull;\\n}\\nexport interface ZodAnyDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodAny;\\n}\\nexport declare class ZodAny extends ZodType<any, ZodAnyDef, any> {\\n _any: true;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodAny;\\n}\\nexport interface ZodUnknownDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodUnknown;\\n}\\nexport declare class ZodUnknown extends ZodType<unknown, ZodUnknownDef, unknown> {\\n _unknown: true;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodUnknown;\\n}\\nexport interface ZodNeverDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodNever;\\n}\\nexport declare class ZodNever extends ZodType<never, ZodNeverDef, never> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodNever;\\n}\\nexport interface ZodVoidDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodVoid;\\n}\\nexport declare class ZodVoid extends ZodType<void, ZodVoidDef, void> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodVoid;\\n}\\nexport interface ZodArrayDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n type: T;\\n typeName: ZodFirstPartyTypeKind.ZodArray;\\n exactLength: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n minLength: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n maxLength: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n}\\nexport type ArrayCardinality = \\"many\\" | \\"atleastone\\";\\nexport type arrayOutputType<T extends ZodTypeAny, Cardinality extends ArrayCardinality = \\"many\\"> = Cardinality extends \\"atleastone\\" ? [T[\\"_output\\"], ...T[\\"_output\\"][]] : T[\\"_output\\"][];\\nexport declare class ZodArray<T extends ZodTypeAny, Cardinality extends ArrayCardinality = \\"many\\"> extends ZodType<arrayOutputType<T, Cardinality>, ZodArrayDef<T>, Cardinality extends \\"atleastone\\" ? [T[\\"_input\\"], ...T[\\"_input\\"][]] : T[\\"_input\\"][]> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get element(): T;\\n min(minLength: number, message?: errorUtil.ErrMessage): this;\\n max(maxLength: number, message?: errorUtil.ErrMessage): this;\\n length(len: number, message?: errorUtil.ErrMessage): this;\\n nonempty(message?: errorUtil.ErrMessage): ZodArray<T, \\"atleastone\\">;\\n static create: <El extends ZodTypeAny>(schema: El, params?: RawCreateParams) => ZodArray<El>;\\n}\\nexport type ZodNonEmptyArray<T extends ZodTypeAny> = ZodArray<T, \\"atleastone\\">;\\nexport type UnknownKeysParam = \\"passthrough\\" | \\"strict\\" | \\"strip\\";\\nexport interface ZodObjectDef<T extends ZodRawShape = ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodObject;\\n shape: () => T;\\n catchall: Catchall;\\n unknownKeys: UnknownKeys;\\n}\\nexport type mergeTypes<A, B> = {\\n [k in keyof A | keyof B]: k extends keyof B ? B[k] : k extends keyof A ? A[k] : never;\\n};\\nexport type objectOutputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny, UnknownKeys extends UnknownKeysParam = UnknownKeysParam> = objectUtil.flatten<objectUtil.addQuestionMarks<baseObjectOutputType<Shape>>> & CatchallOutput<Catchall> & PassthroughType<UnknownKeys>;\\nexport type baseObjectOutputType<Shape extends ZodRawShape> = {\\n [k in keyof Shape]: Shape[k][\\"_output\\"];\\n};\\nexport type objectInputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny, UnknownKeys extends UnknownKeysParam = UnknownKeysParam> = objectUtil.flatten<baseObjectInputType<Shape>> & CatchallInput<Catchall> & PassthroughType<UnknownKeys>;\\nexport type baseObjectInputType<Shape extends ZodRawShape> = objectUtil.addQuestionMarks<{\\n [k in keyof Shape]: Shape[k][\\"_input\\"];\\n}>;\\nexport type CatchallOutput<T extends ZodType> = ZodType extends T ? unknown : {\\n [k: string]: T[\\"_output\\"];\\n};\\nexport type CatchallInput<T extends ZodType> = ZodType extends T ? unknown : {\\n [k: string]: T[\\"_input\\"];\\n};\\nexport type PassthroughType<T extends UnknownKeysParam> = T extends \\"passthrough\\" ? {\\n [k: string]: unknown;\\n} : unknown;\\nexport type deoptional<T extends ZodTypeAny> = T extends ZodOptional<infer U> ? deoptional<U> : T extends ZodNullable<infer U> ? ZodNullable<deoptional<U>> : T;\\nexport type SomeZodObject = ZodObject<ZodRawShape, UnknownKeysParam, ZodTypeAny>;\\nexport type noUnrecognized<Obj extends object, Shape extends object> = {\\n [k in keyof Obj]: k extends keyof Shape ? Obj[k] : never;\\n};\\nexport declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny, Output = objectOutputType<T, Catchall, UnknownKeys>, Input = objectInputType<T, Catchall, UnknownKeys>> extends ZodType<Output, ZodObjectDef<T, UnknownKeys, Catchall>, Input> {\\n _cached: {\\n shape: T;\\n keys: string[];\\n } | null;\\n _getCached(): {\\n shape: T;\\n keys: string[];\\n };\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get shape(): T;\\n strict(message?: errorUtil.ErrMessage): ZodObject<T, \\"strict\\", Catchall>;\\n strip(): ZodObject<T, \\"strip\\", Catchall>;\\n passthrough(): ZodObject<T, \\"passthrough\\", Catchall>;\\n /**\\n * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\\n * If you want to pass through unknown properties, use `.passthrough()` instead.\\n */\\n nonstrict: () => ZodObject<T, \\"passthrough\\", Catchall>;\\n extend<Augmentation extends ZodRawShape>(augmentation: Augmentation): ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>;\\n /**\\n * @deprecated Use `.extend` instead\\n * */\\n augment: <Augmentation extends ZodRawShape>(augmentation: Augmentation) => ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>;\\n /**\\n * Prior to zod@1.0.12 there was a bug in the\\n * inferred type of merged objects. Please\\n * upgrade if you are experiencing issues.\\n */\\n merge<Incoming extends AnyZodObject, Augmentation extends Incoming[\\"shape\\"]>(merging: Incoming): ZodObject<objectUtil.extendShape<T, Augmentation>, Incoming[\\"_def\\"][\\"unknownKeys\\"], Incoming[\\"_def\\"][\\"catchall\\"]>;\\n setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & {\\n [k in Key]: Schema;\\n }, UnknownKeys, Catchall>;\\n catchall<Index extends ZodTypeAny>(index: Index): ZodObject<T, UnknownKeys, Index>;\\n pick<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<Pick<T, Extract<keyof T, keyof Mask>>, UnknownKeys, Catchall>;\\n omit<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>;\\n /**\\n * @deprecated\\n */\\n deepPartial(): partialUtil.DeepPartial<this>;\\n partial(): ZodObject<{\\n [k in keyof T]: ZodOptional<T[k]>;\\n }, UnknownKeys, Catchall>;\\n partial<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{\\n [k in keyof T]: k extends keyof Mask ? ZodOptional<T[k]> : T[k];\\n }>, UnknownKeys, Catchall>;\\n required(): ZodObject<{\\n [k in keyof T]: deoptional<T[k]>;\\n }, UnknownKeys, Catchall>;\\n required<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{\\n [k in keyof T]: k extends keyof Mask ? deoptional<T[k]> : T[k];\\n }>, UnknownKeys, Catchall>;\\n keyof(): ZodEnum<enumUtil.UnionToTupleString<keyof T>>;\\n static create: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\", ZodTypeAny, objectOutputType<Shape, ZodTypeAny, \\"strip\\">, objectInputType<Shape, ZodTypeAny, \\"strip\\">>;\\n static strictCreate: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strict\\">;\\n static lazycreate: <Shape extends ZodRawShape>(shape: () => Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\">;\\n}\\nexport type AnyZodObject = ZodObject<any, any, any>;\\nexport type ZodUnionOptions = Readonly<[ZodTypeAny, ...ZodTypeAny[]]>;\\nexport interface ZodUnionDef<T extends ZodUnionOptions = Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>> extends ZodTypeDef {\\n options: T;\\n typeName: ZodFirstPartyTypeKind.ZodUnion;\\n}\\nexport declare class ZodUnion<T extends ZodUnionOptions> extends ZodType<T[number][\\"_output\\"], ZodUnionDef<T>, T[number][\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get options(): T;\\n static create: <Options extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: Options, params?: RawCreateParams) => ZodUnion<Options>;\\n}\\nexport type ZodDiscriminatedUnionOption<Discriminator extends string> = ZodObject<{\\n [key in Discriminator]: ZodTypeAny;\\n} & ZodRawShape, UnknownKeysParam, ZodTypeAny>;\\nexport interface ZodDiscriminatedUnionDef<Discriminator extends string, Options extends readonly ZodDiscriminatedUnionOption<string>[] = ZodDiscriminatedUnionOption<string>[]> extends ZodTypeDef {\\n discriminator: Discriminator;\\n options: Options;\\n optionsMap: Map<Primitive, ZodDiscriminatedUnionOption<any>>;\\n typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion;\\n}\\nexport declare class ZodDiscriminatedUnion<Discriminator extends string, Options extends readonly ZodDiscriminatedUnionOption<Discriminator>[]> extends ZodType<output<Options[number]>, ZodDiscriminatedUnionDef<Discriminator, Options>, input<Options[number]>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get discriminator(): Discriminator;\\n get options(): Options;\\n get optionsMap(): Map<Primitive, ZodDiscriminatedUnionOption<any>>;\\n /**\\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\\n * have a different value for each object in the union.\\n * @param discriminator the name of the discriminator property\\n * @param types an array of object schemas\\n * @param params\\n */\\n static create<Discriminator extends string, Types extends readonly [\\n ZodDiscriminatedUnionOption<Discriminator>,\\n ...ZodDiscriminatedUnionOption<Discriminator>[]\\n ]>(discriminator: Discriminator, options: Types, params?: RawCreateParams): ZodDiscriminatedUnion<Discriminator, Types>;\\n}\\nexport interface ZodIntersectionDef<T extends ZodTypeAny = ZodTypeAny, U extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n left: T;\\n right: U;\\n typeName: ZodFirstPartyTypeKind.ZodIntersection;\\n}\\nexport declare class ZodIntersection<T extends ZodTypeAny, U extends ZodTypeAny> extends ZodType<T[\\"_output\\"] & U[\\"_output\\"], ZodIntersectionDef<T, U>, T[\\"_input\\"] & U[\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <TSchema extends ZodTypeAny, USchema extends ZodTypeAny>(left: TSchema, right: USchema, params?: RawCreateParams) => ZodIntersection<TSchema, USchema>;\\n}\\nexport type ZodTupleItems = [ZodTypeAny, ...ZodTypeAny[]];\\nexport type AssertArray<T> = T extends any[] ? T : never;\\nexport type OutputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{\\n [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k][\\"_output\\"] : never;\\n}>;\\nexport type OutputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest[\\"_output\\"][]] : OutputTypeOfTuple<T>;\\nexport type InputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{\\n [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k][\\"_input\\"] : never;\\n}>;\\nexport type InputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = Rest extends ZodTypeAny ? [...InputTypeOfTuple<T>, ...Rest[\\"_input\\"][]] : InputTypeOfTuple<T>;\\nexport interface ZodTupleDef<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> extends ZodTypeDef {\\n items: T;\\n rest: Rest;\\n typeName: ZodFirstPartyTypeKind.ZodTuple;\\n}\\nexport type AnyZodTuple = ZodTuple<[ZodTypeAny, ...ZodTypeAny[]] | [], ZodTypeAny | null>;\\nexport declare class ZodTuple<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> extends ZodType<OutputTypeOfTupleWithRest<T, Rest>, ZodTupleDef<T, Rest>, InputTypeOfTupleWithRest<T, Rest>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get items(): T;\\n rest<RestSchema extends ZodTypeAny>(rest: RestSchema): ZodTuple<T, RestSchema>;\\n static create: <Items extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: Items, params?: RawCreateParams) => ZodTuple<Items, null>;\\n}\\nexport interface ZodRecordDef<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n valueType: Value;\\n keyType: Key;\\n typeName: ZodFirstPartyTypeKind.ZodRecord;\\n}\\nexport type KeySchema = ZodType<string | number | symbol, any, any>;\\nexport type RecordType<K extends string | number | symbol, V> = [string] extends [K] ? Record<K, V> : [number] extends [K] ? Record<K, V> : [symbol] extends [K] ? Record<K, V> : [BRAND<string | number | symbol>] extends [K] ? Record<K, V> : Partial<Record<K, V>>;\\nexport declare class ZodRecord<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<RecordType<Key[\\"_output\\"], Value[\\"_output\\"]>, ZodRecordDef<Key, Value>, RecordType<Key[\\"_input\\"], Value[\\"_input\\"]>> {\\n get keySchema(): Key;\\n get valueSchema(): Value;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get element(): Value;\\n static create<Value extends ZodTypeAny>(valueType: Value, params?: RawCreateParams): ZodRecord<ZodString, Value>;\\n static create<Keys extends KeySchema, Value extends ZodTypeAny>(keySchema: Keys, valueType: Value, params?: RawCreateParams): ZodRecord<Keys, Value>;\\n}\\nexport interface ZodMapDef<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n valueType: Value;\\n keyType: Key;\\n typeName: ZodFirstPartyTypeKind.ZodMap;\\n}\\nexport declare class ZodMap<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Map<Key[\\"_output\\"], Value[\\"_output\\"]>, ZodMapDef<Key, Value>, Map<Key[\\"_input\\"], Value[\\"_input\\"]>> {\\n get keySchema(): Key;\\n get valueSchema(): Value;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <KeySchema extends ZodTypeAny = ZodTypeAny, ValueSchema extends ZodTypeAny = ZodTypeAny>(keyType: KeySchema, valueType: ValueSchema, params?: RawCreateParams) => ZodMap<KeySchema, ValueSchema>;\\n}\\nexport interface ZodSetDef<Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n valueType: Value;\\n typeName: ZodFirstPartyTypeKind.ZodSet;\\n minSize: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n maxSize: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n}\\nexport declare class ZodSet<Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Set<Value[\\"_output\\"]>, ZodSetDef<Value>, Set<Value[\\"_input\\"]>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n min(minSize: number, message?: errorUtil.ErrMessage): this;\\n max(maxSize: number, message?: errorUtil.ErrMessage): this;\\n size(size: number, message?: errorUtil.ErrMessage): this;\\n nonempty(message?: errorUtil.ErrMessage): ZodSet<Value>;\\n static create: <ValueSchema extends ZodTypeAny = ZodTypeAny>(valueType: ValueSchema, params?: RawCreateParams) => ZodSet<ValueSchema>;\\n}\\nexport interface ZodFunctionDef<Args extends ZodTuple<any, any> = ZodTuple<any, any>, Returns extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n args: Args;\\n returns: Returns;\\n typeName: ZodFirstPartyTypeKind.ZodFunction;\\n}\\nexport type OuterTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = Args[\\"_input\\"] extends Array<any> ? (...args: Args[\\"_input\\"]) => Returns[\\"_output\\"] : never;\\nexport type InnerTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = Args[\\"_output\\"] extends Array<any> ? (...args: Args[\\"_output\\"]) => Returns[\\"_input\\"] : never;\\nexport declare class ZodFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> extends ZodType<OuterTypeOfFunction<Args, Returns>, ZodFunctionDef<Args, Returns>, InnerTypeOfFunction<Args, Returns>> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n parameters(): Args;\\n returnType(): Returns;\\n args<Items extends Parameters<(typeof ZodTuple)[\\"create\\"]>[0]>(...items: Items): ZodFunction<ZodTuple<Items, ZodUnknown>, Returns>;\\n returns<NewReturnType extends ZodType<any, any, any>>(returnType: NewReturnType): ZodFunction<Args, NewReturnType>;\\n implement<F extends InnerTypeOfFunction<Args, Returns>>(func: F): ReturnType<F> extends Returns[\\"_output\\"] ? (...args: Args[\\"_input\\"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>;\\n strictImplement(func: InnerTypeOfFunction<Args, Returns>): InnerTypeOfFunction<Args, Returns>;\\n validate: <F extends InnerTypeOfFunction<Args, Returns>>(func: F) => ReturnType<F> extends Returns[\\"_output\\"] ? (...args: Args[\\"_input\\"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>;\\n static create(): ZodFunction<ZodTuple<[], ZodUnknown>, ZodUnknown>;\\n static create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>>(args: T): ZodFunction<T, ZodUnknown>;\\n static create<T extends AnyZodTuple, U extends ZodTypeAny>(args: T, returns: U): ZodFunction<T, U>;\\n static create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>, U extends ZodTypeAny = ZodUnknown>(args: T, returns: U, params?: RawCreateParams): ZodFunction<T, U>;\\n}\\nexport interface ZodLazyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n getter: () => T;\\n typeName: ZodFirstPartyTypeKind.ZodLazy;\\n}\\nexport declare class ZodLazy<T extends ZodTypeAny> extends ZodType<output<T>, ZodLazyDef<T>, input<T>> {\\n get schema(): T;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <Inner extends ZodTypeAny>(getter: () => Inner, params?: RawCreateParams) => ZodLazy<Inner>;\\n}\\nexport interface ZodLiteralDef<T = any> extends ZodTypeDef {\\n value: T;\\n typeName: ZodFirstPartyTypeKind.ZodLiteral;\\n}\\nexport declare class ZodLiteral<T> extends ZodType<T, ZodLiteralDef<T>, T> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get value(): T;\\n static create: <Value extends Primitive>(value: Value, params?: RawCreateParams) => ZodLiteral<Value>;\\n}\\nexport type ArrayKeys = keyof any[];\\nexport type Indices<T> = Exclude<keyof T, ArrayKeys>;\\nexport type EnumValues<T extends string = string> = readonly [T, ...T[]];\\nexport type Values<T extends EnumValues> = {\\n [k in T[number]]: k;\\n};\\nexport interface ZodEnumDef<T extends EnumValues = EnumValues> extends ZodTypeDef {\\n values: T;\\n typeName: ZodFirstPartyTypeKind.ZodEnum;\\n}\\nexport type Writeable<T> = {\\n -readonly [P in keyof T]: T[P];\\n};\\nexport type FilterEnum<Values, ToExclude> = Values extends [] ? [] : Values extends [infer Head, ...infer Rest] ? Head extends ToExclude ? FilterEnum<Rest, ToExclude> : [Head, ...FilterEnum<Rest, ToExclude>] : never;\\nexport type typecast<A, T> = A extends T ? A : never;\\ndeclare function createZodEnum<U extends string, T extends Readonly<[U, ...U[]]>>(values: T, params?: RawCreateParams): ZodEnum<Writeable<T>>;\\ndeclare function createZodEnum<U extends string, T extends [U, ...U[]]>(values: T, params?: RawCreateParams): ZodEnum<T>;\\nexport declare class ZodEnum<T extends [string, ...string[]]> extends ZodType<T[number], ZodEnumDef<T>, T[number]> {\\n _cache: Set<T[number]> | undefined;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get options(): T;\\n get enum(): Values<T>;\\n get Values(): Values<T>;\\n get Enum(): Values<T>;\\n extract<ToExtract extends readonly [T[number], ...T[number][]]>(values: ToExtract, newDef?: RawCreateParams): ZodEnum<Writeable<ToExtract>>;\\n exclude<ToExclude extends readonly [T[number], ...T[number][]]>(values: ToExclude, newDef?: RawCreateParams): ZodEnum<typecast<Writeable<FilterEnum<T, ToExclude[number]>>, [string, ...string[]]>>;\\n static create: typeof createZodEnum;\\n}\\nexport interface ZodNativeEnumDef<T extends EnumLike = EnumLike> extends ZodTypeDef {\\n values: T;\\n typeName: ZodFirstPartyTypeKind.ZodNativeEnum;\\n}\\nexport type EnumLike = {\\n [k: string]: string | number;\\n [nu: number]: string;\\n};\\nexport declare class ZodNativeEnum<T extends EnumLike> extends ZodType<T[keyof T], ZodNativeEnumDef<T>, T[keyof T]> {\\n _cache: Set<T[keyof T]> | undefined;\\n _parse(input: ParseInput): ParseReturnType<T[keyof T]>;\\n get enum(): T;\\n static create: <Elements extends EnumLike>(values: Elements, params?: RawCreateParams) => ZodNativeEnum<Elements>;\\n}\\nexport interface ZodPromiseDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n type: T;\\n typeName: ZodFirstPartyTypeKind.ZodPromise;\\n}\\nexport declare class ZodPromise<T extends ZodTypeAny> extends ZodType<Promise<T[\\"_output\\"]>, ZodPromiseDef<T>, Promise<T[\\"_input\\"]>> {\\n unwrap(): T;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <Inner extends ZodTypeAny>(schema: Inner, params?: RawCreateParams) => ZodPromise<Inner>;\\n}\\nexport type Refinement<T> = (arg: T, ctx: RefinementCtx) => any;\\nexport type SuperRefinement<T> = (arg: T, ctx: RefinementCtx) => void | Promise<void>;\\nexport type RefinementEffect<T> = {\\n type: \\"refinement\\";\\n refinement: (arg: T, ctx: RefinementCtx) => any;\\n};\\nexport type TransformEffect<T> = {\\n type: \\"transform\\";\\n transform: (arg: T, ctx: RefinementCtx) => any;\\n};\\nexport type PreprocessEffect<T> = {\\n type: \\"preprocess\\";\\n transform: (arg: T, ctx: RefinementCtx) => any;\\n};\\nexport type Effect<T> = RefinementEffect<T> | TransformEffect<T> | PreprocessEffect<T>;\\nexport interface ZodEffectsDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n schema: T;\\n typeName: ZodFirstPartyTypeKind.ZodEffects;\\n effect: Effect<any>;\\n}\\nexport declare class ZodEffects<T extends ZodTypeAny, Output = output<T>, Input = input<T>> extends ZodType<Output, ZodEffectsDef<T>, Input> {\\n innerType(): T;\\n sourceType(): T;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <I extends ZodTypeAny>(schema: I, effect: Effect<I[\\"_output\\"]>, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"]>;\\n static createWithPreprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"], unknown>;\\n}\\nexport { ZodEffects as ZodTransformer };\\nexport interface ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n typeName: ZodFirstPartyTypeKind.ZodOptional;\\n}\\nexport type ZodOptionalType<T extends ZodTypeAny> = ZodOptional<T>;\\nexport declare class ZodOptional<T extends ZodTypeAny> extends ZodType<T[\\"_output\\"] | undefined, ZodOptionalDef<T>, T[\\"_input\\"] | undefined> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n unwrap(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodOptional<Inner>;\\n}\\nexport interface ZodNullableDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n typeName: ZodFirstPartyTypeKind.ZodNullable;\\n}\\nexport type ZodNullableType<T extends ZodTypeAny> = ZodNullable<T>;\\nexport declare class ZodNullable<T extends ZodTypeAny> extends ZodType<T[\\"_output\\"] | null, ZodNullableDef<T>, T[\\"_input\\"] | null> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n unwrap(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodNullable<Inner>;\\n}\\nexport interface ZodDefaultDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n defaultValue: () => util.noUndefined<T[\\"_input\\"]>;\\n typeName: ZodFirstPartyTypeKind.ZodDefault;\\n}\\nexport declare class ZodDefault<T extends ZodTypeAny> extends ZodType<util.noUndefined<T[\\"_output\\"]>, ZodDefaultDef<T>, T[\\"_input\\"] | undefined> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n removeDefault(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params: RawCreateParams & {\\n default: Inner[\\"_input\\"] | (() => util.noUndefined<Inner[\\"_input\\"]>);\\n }) => ZodDefault<Inner>;\\n}\\nexport interface ZodCatchDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n catchValue: (ctx: {\\n error: ZodError;\\n input: unknown;\\n }) => T[\\"_input\\"];\\n typeName: ZodFirstPartyTypeKind.ZodCatch;\\n}\\nexport declare class ZodCatch<T extends ZodTypeAny> extends ZodType<T[\\"_output\\"], ZodCatchDef<T>, unknown> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n removeCatch(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params: RawCreateParams & {\\n catch: Inner[\\"_output\\"] | (() => Inner[\\"_output\\"]);\\n }) => ZodCatch<Inner>;\\n}\\nexport interface ZodNaNDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodNaN;\\n}\\nexport declare class ZodNaN extends ZodType<number, ZodNaNDef, number> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n static create: (params?: RawCreateParams) => ZodNaN;\\n}\\nexport interface ZodBrandedDef<T extends ZodTypeAny> extends ZodTypeDef {\\n type: T;\\n typeName: ZodFirstPartyTypeKind.ZodBranded;\\n}\\nexport declare const BRAND: unique symbol;\\nexport type BRAND<T extends string | number | symbol> = {\\n [BRAND]: {\\n [k in T]: true;\\n };\\n};\\nexport declare class ZodBranded<T extends ZodTypeAny, B extends string | number | symbol> extends ZodType<T[\\"_output\\"] & BRAND<B>, ZodBrandedDef<T>, T[\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n unwrap(): T;\\n}\\nexport interface ZodPipelineDef<A extends ZodTypeAny, B extends ZodTypeAny> extends ZodTypeDef {\\n in: A;\\n out: B;\\n typeName: ZodFirstPartyTypeKind.ZodPipeline;\\n}\\nexport declare class ZodPipeline<A extends ZodTypeAny, B extends ZodTypeAny> extends ZodType<B[\\"_output\\"], ZodPipelineDef<A, B>, A[\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n static create<ASchema extends ZodTypeAny, BSchema extends ZodTypeAny>(a: ASchema, b: BSchema): ZodPipeline<ASchema, BSchema>;\\n}\\ntype BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {\\n readonly [Symbol.toStringTag]: string;\\n} | Date | Error | Generator | Promise<unknown> | RegExp;\\ntype MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;\\nexport interface ZodReadonlyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n typeName: ZodFirstPartyTypeKind.ZodReadonly;\\n}\\nexport declare class ZodReadonly<T extends ZodTypeAny> extends ZodType<MakeReadonly<T[\\"_output\\"]>, ZodReadonlyDef<T>, MakeReadonly<T[\\"_input\\"]>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodReadonly<Inner>;\\n unwrap(): T;\\n}\\ntype CustomParams = CustomErrorParams & {\\n fatal?: boolean;\\n};\\nexport declare function custom<T>(check?: (data: any) => any, _params?: string | CustomParams | ((input: any) => CustomParams), \\n/**\\n * @deprecated\\n *\\n * Pass `fatal` into the params object instead:\\n *\\n * ```ts\\n * z.string().custom((val) => val.length > 5, { fatal: false })\\n * ```\\n *\\n */\\nfatal?: boolean): ZodType<T, ZodTypeDef, T>;\\nexport { ZodType as Schema, ZodType as ZodSchema };\\nexport declare const late: {\\n object: <Shape extends ZodRawShape>(shape: () => Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\">;\\n};\\nexport declare enum ZodFirstPartyTypeKind {\\n ZodString = \\"ZodString\\",\\n ZodNumber = \\"ZodNumber\\",\\n ZodNaN = \\"ZodNaN\\",\\n ZodBigInt = \\"ZodBigInt\\",\\n ZodBoolean = \\"ZodBoolean\\",\\n ZodDate = \\"ZodDate\\",\\n ZodSymbol = \\"ZodSymbol\\",\\n ZodUndefined = \\"ZodUndefined\\",\\n ZodNull = \\"ZodNull\\",\\n ZodAny = \\"ZodAny\\",\\n ZodUnknown = \\"ZodUnknown\\",\\n ZodNever = \\"ZodNever\\",\\n ZodVoid = \\"ZodVoid\\",\\n ZodArray = \\"ZodArray\\",\\n ZodObject = \\"ZodObject\\",\\n ZodUnion = \\"ZodUnion\\",\\n ZodDiscriminatedUnion = \\"ZodDiscriminatedUnion\\",\\n ZodIntersection = \\"ZodIntersection\\",\\n ZodTuple = \\"ZodTuple\\",\\n ZodRecord = \\"ZodRecord\\",\\n ZodMap = \\"ZodMap\\",\\n ZodSet = \\"ZodSet\\",\\n ZodFunction = \\"ZodFunction\\",\\n ZodLazy = \\"ZodLazy\\",\\n ZodLiteral = \\"ZodLiteral\\",\\n ZodEnum = \\"ZodEnum\\",\\n ZodEffects = \\"ZodEffects\\",\\n ZodNativeEnum = \\"ZodNativeEnum\\",\\n ZodOptional = \\"ZodOptional\\",\\n ZodNullable = \\"ZodNullable\\",\\n ZodDefault = \\"ZodDefault\\",\\n ZodCatch = \\"ZodCatch\\",\\n ZodPromise = \\"ZodPromise\\",\\n ZodBranded = \\"ZodBranded\\",\\n ZodPipeline = \\"ZodPipeline\\",\\n ZodReadonly = \\"ZodReadonly\\"\\n}\\nexport type ZodFirstPartySchemaTypes = ZodString | ZodNumber | ZodNaN | ZodBigInt | ZodBoolean | ZodDate | ZodUndefined | ZodNull | ZodAny | ZodUnknown | ZodNever | ZodVoid | ZodArray<any, any> | ZodObject<any, any, any> | ZodUnion<any> | ZodDiscriminatedUnion<any, any> | ZodIntersection<any, any> | ZodTuple<any, any> | ZodRecord<any, any> | ZodMap<any> | ZodSet<any> | ZodFunction<any, any> | ZodLazy<any> | ZodLiteral<any> | ZodEnum<any> | ZodEffects<any, any, any> | ZodNativeEnum<any> | ZodOptional<any> | ZodNullable<any> | ZodDefault<any> | ZodCatch<any> | ZodPromise<any> | ZodBranded<any, any> | ZodPipeline<any, any> | ZodReadonly<any> | ZodSymbol;\\ndeclare abstract class Class {\\n constructor(..._: any[]);\\n}\\ndeclare const instanceOfType: <T extends typeof Class>(cls: T, params?: CustomParams) => ZodType<InstanceType<T>, ZodTypeDef, InstanceType<T>>;\\ndeclare const stringType: (params?: RawCreateParams & {\\n coerce?: true;\\n}) => ZodString;\\ndeclare const numberType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodNumber;\\ndeclare const nanType: (params?: RawCreateParams) => ZodNaN;\\ndeclare const bigIntType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodBigInt;\\ndeclare const booleanType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodBoolean;\\ndeclare const dateType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodDate;\\ndeclare const symbolType: (params?: RawCreateParams) => ZodSymbol;\\ndeclare const undefinedType: (params?: RawCreateParams) => ZodUndefined;\\ndeclare const nullType: (params?: RawCreateParams) => ZodNull;\\ndeclare const anyType: (params?: RawCreateParams) => ZodAny;\\ndeclare const unknownType: (params?: RawCreateParams) => ZodUnknown;\\ndeclare const neverType: (params?: RawCreateParams) => ZodNever;\\ndeclare const voidType: (params?: RawCreateParams) => ZodVoid;\\ndeclare const arrayType: <El extends ZodTypeAny>(schema: El, params?: RawCreateParams) => ZodArray<El>;\\ndeclare const objectType: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\", ZodTypeAny, objectOutputType<Shape, ZodTypeAny, \\"strip\\">, objectInputType<Shape, ZodTypeAny, \\"strip\\">>;\\ndeclare const strictObjectType: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strict\\">;\\ndeclare const unionType: <Options extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: Options, params?: RawCreateParams) => ZodUnion<Options>;\\ndeclare const discriminatedUnionType: typeof ZodDiscriminatedUnion.create;\\ndeclare const intersectionType: <TSchema extends ZodTypeAny, USchema extends ZodTypeAny>(left: TSchema, right: USchema, params?: RawCreateParams) => ZodIntersection<TSchema, USchema>;\\ndeclare const tupleType: <Items extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: Items, params?: RawCreateParams) => ZodTuple<Items, null>;\\ndeclare const recordType: typeof ZodRecord.create;\\ndeclare const mapType: <KeySchema extends ZodTypeAny = ZodTypeAny, ValueSchema extends ZodTypeAny = ZodTypeAny>(keyType: KeySchema, valueType: ValueSchema, params?: RawCreateParams) => ZodMap<KeySchema, ValueSchema>;\\ndeclare const setType: <ValueSchema extends ZodTypeAny = ZodTypeAny>(valueType: ValueSchema, params?: RawCreateParams) => ZodSet<ValueSchema>;\\ndeclare const functionType: typeof ZodFunction.create;\\ndeclare const lazyType: <Inner extends ZodTypeAny>(getter: () => Inner, params?: RawCreateParams) => ZodLazy<Inner>;\\ndeclare const literalType: <Value extends Primitive>(value: Value, params?: RawCreateParams) => ZodLiteral<Value>;\\ndeclare const enumType: typeof createZodEnum;\\ndeclare const nativeEnumType: <Elements extends EnumLike>(values: Elements, params?: RawCreateParams) => ZodNativeEnum<Elements>;\\ndeclare const promiseType: <Inner extends ZodTypeAny>(schema: Inner, params?: RawCreateParams) => ZodPromise<Inner>;\\ndeclare const effectsType: <I extends ZodTypeAny>(schema: I, effect: Effect<I[\\"_output\\"]>, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"]>;\\ndeclare const optionalType: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodOptional<Inner>;\\ndeclare const nullableType: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodNullable<Inner>;\\ndeclare const preprocessType: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"], unknown>;\\ndeclare const pipelineType: typeof ZodPipeline.create;\\ndeclare const ostring: () => ZodOptional<ZodString>;\\ndeclare const onumber: () => ZodOptional<ZodNumber>;\\ndeclare const oboolean: () => ZodOptional<ZodBoolean>;\\nexport declare const coerce: {\\n string: (typeof ZodString)[\\"create\\"];\\n number: (typeof ZodNumber)[\\"create\\"];\\n boolean: (typeof ZodBoolean)[\\"create\\"];\\n bigint: (typeof ZodBigInt)[\\"create\\"];\\n date: (typeof ZodDate)[\\"create\\"];\\n};\\nexport { anyType as any, arrayType as array, bigIntType as bigint, booleanType as boolean, dateType as date, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, instanceOfType as instanceof, intersectionType as intersection, lazyType as lazy, literalType as literal, mapType as map, nanType as nan, nativeEnumType as nativeEnum, neverType as never, nullType as null, nullableType as nullable, numberType as number, objectType as object, oboolean, onumber, optionalType as optional, ostring, pipelineType as pipeline, preprocessType as preprocess, promiseType as promise, recordType as record, setType as set, strictObjectType as strictObject, stringType as string, symbolType as symbol, effectsType as transformer, tupleType as tuple, undefinedType as undefined, unionType as union, unknownType as unknown, voidType as void, };\\nexport declare const NEVER: never;\\n","file:///node_modules/zod/v4/classic/checks.d.ts":"export { _lt as lt, _lte as lte, _gt as gt, _gte as gte, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _properties as properties, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, _slugify as slugify, type $RefinementCtx as RefinementCtx, } from \\"../core/index.js\\";\\n","file:///node_modules/zod/v4/classic/coerce.d.ts":"import * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport interface ZodCoercedString<T = unknown> extends schemas._ZodString<core.$ZodStringInternals<T>> {\\n}\\nexport declare function string<T = unknown>(params?: string | core.$ZodStringParams): ZodCoercedString<T>;\\nexport interface ZodCoercedNumber<T = unknown> extends schemas._ZodNumber<core.$ZodNumberInternals<T>> {\\n}\\nexport declare function number<T = unknown>(params?: string | core.$ZodNumberParams): ZodCoercedNumber<T>;\\nexport interface ZodCoercedBoolean<T = unknown> extends schemas._ZodBoolean<core.$ZodBooleanInternals<T>> {\\n}\\nexport declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): ZodCoercedBoolean<T>;\\nexport interface ZodCoercedBigInt<T = unknown> extends schemas._ZodBigInt<core.$ZodBigIntInternals<T>> {\\n}\\nexport declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): ZodCoercedBigInt<T>;\\nexport interface ZodCoercedDate<T = unknown> extends schemas._ZodDate<core.$ZodDateInternals<T>> {\\n}\\nexport declare function date<T = unknown>(params?: string | core.$ZodDateParams): ZodCoercedDate<T>;\\n","file:///node_modules/zod/v4/classic/compat.d.ts":"import * as core from \\"../core/index.js\\";\\nimport type { ZodType } from \\"./schemas.js\\";\\n/** @deprecated Use `z.output<T>` instead. */\\nexport type TypeOf<T> = core.output<T>;\\n/** @deprecated Use `z.output<T>` instead. */\\nexport type Infer<T> = core.output<T>;\\n/** @deprecated Use `z.core.$ZodTypes` instead */\\nexport type ZodFirstPartySchemaTypes = core.$ZodTypes;\\n/** @deprecated Use the raw string literal codes instead, e.g. \\"invalid_type\\". */\\nexport declare const ZodIssueCode: {\\n readonly invalid_type: \\"invalid_type\\";\\n readonly too_big: \\"too_big\\";\\n readonly too_small: \\"too_small\\";\\n readonly invalid_format: \\"invalid_format\\";\\n readonly not_multiple_of: \\"not_multiple_of\\";\\n readonly unrecognized_keys: \\"unrecognized_keys\\";\\n readonly invalid_union: \\"invalid_union\\";\\n readonly invalid_key: \\"invalid_key\\";\\n readonly invalid_element: \\"invalid_element\\";\\n readonly invalid_value: \\"invalid_value\\";\\n readonly custom: \\"custom\\";\\n};\\n/** @deprecated Use `z.core.$ZodFlattenedError<z.output<T>>` instead; it takes an inferred type, not a schema. */\\nexport type inferFlattenedErrors<T extends core.$ZodType, U = string> = core.$ZodFlattenedError<core.output<T>, U>;\\n/** @deprecated Use `z.core.$ZodFormattedError<z.output<T>>` instead; it takes an inferred type, not a schema. */\\nexport type inferFormattedError<T extends core.$ZodType<any, any>, U = string> = core.$ZodFormattedError<core.output<T>, U>;\\n/** Use `z.$brand` instead */\\nexport type BRAND<T extends string | number | symbol = string | number | symbol> = {\\n [core.$brand]: {\\n [k in T]: true;\\n };\\n};\\nexport { $brand, config } from \\"../core/index.js\\";\\n/** @deprecated Use `z.config(params)` instead. */\\nexport declare function setErrorMap(map: core.$ZodErrorMap): void;\\n/** @deprecated Use `z.config()` instead. */\\nexport declare function getErrorMap(): core.$ZodErrorMap<core.$ZodIssue> | undefined;\\n/** @deprecated Use z.ZodType (without generics) instead. */\\nexport type ZodTypeAny<Output = unknown, Input = unknown, Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;\\n/** @deprecated Use `z.ZodType` */\\nexport type ZodSchema<Output = unknown, Input = unknown, Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;\\n/** @deprecated Use `z.ZodType` */\\nexport type Schema<Output = unknown, Input = unknown, Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;\\n/** Included for Zod 3 compatibility */\\nexport type ZodRawShape = core.$ZodShape;\\n/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */\\nexport declare enum ZodFirstPartyTypeKind {\\n}\\n","file:///node_modules/zod/v4/classic/deep-partial.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\n/** Distributes `.partial()` through every object in a schema type, preserving the wrappers around them. */\\nexport type DeepPartial<T extends core.SomeType> = T extends schemas.ZodObject<infer Shape, infer Config> ? schemas.ZodObject<{\\n -readonly [K in keyof Shape]: schemas.ZodOptional<DeepPartial<Shape[K]>>;\\n}, Config> : T extends schemas.ZodDiscriminatedUnion<infer Options, any> ? schemas.ZodUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodUnion<infer Options> ? schemas.ZodUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodArray<infer El> ? schemas.ZodArray<DeepPartial<El>> : T extends schemas.ZodTuple<infer Items, infer Rest> ? schemas.ZodTuple<{\\n -readonly [K in keyof Items]: Items[K] extends core.SomeType ? DeepPartial<Items[K]> : Items[K];\\n}, Rest extends core.SomeType ? DeepPartial<Rest> : Rest> : T extends schemas.ZodIntersection<infer A, infer B> ? schemas.ZodIntersection<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodRecord<infer K, infer V> ? schemas.ZodRecord<K, DeepPartial<V>> : T extends schemas.ZodMap<infer K, infer V> ? schemas.ZodMap<K, DeepPartial<V>> : T extends schemas.ZodSet<infer El> ? schemas.ZodSet<DeepPartial<El>> : T extends schemas.ZodOptional<infer Inner> ? schemas.ZodOptional<DeepPartial<Inner>> : T extends schemas.ZodNullable<infer Inner> ? schemas.ZodNullable<DeepPartial<Inner>> : T extends schemas.ZodDefault<infer Inner> ? schemas.ZodDefault<DeepPartial<Inner>> : T extends schemas.ZodPrefault<infer Inner> ? schemas.ZodPrefault<DeepPartial<Inner>> : T extends schemas.ZodNonOptional<infer Inner> ? schemas.ZodNonOptional<DeepPartial<Inner>> : T extends schemas.ZodCatch<infer Inner> ? schemas.ZodCatch<DeepPartial<Inner>> : T extends schemas.ZodReadonly<infer Inner> ? schemas.ZodReadonly<DeepPartial<Inner>> : T extends schemas.ZodSuccess<infer Inner> ? schemas.ZodSuccess<DeepPartial<Inner>> : T extends schemas.ZodPromise<infer Inner> ? schemas.ZodPromise<DeepPartial<Inner>> : T extends schemas.ZodCodec<infer A, infer B> ? schemas.ZodCodec<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodPreprocess<infer B> ? schemas.ZodPreprocess<DeepPartial<B>> : T extends schemas.ZodPipe<infer A, infer B> ? schemas.ZodPipe<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodLazy<infer Inner> ? schemas.ZodLazy<DeepPartial<Inner>> : T;\\n/** Returns a copy of the schema with every nested object\'s properties made optional. */\\nexport declare function deepPartial<T extends core.SomeType>(schema: T): DeepPartial<T>;\\n","file:///node_modules/zod/v4/classic/errors.d.ts":"import * as core from \\"../core/index.js\\";\\nimport { $ZodError } from \\"../core/index.js\\";\\n/** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */\\nexport type ZodIssue = core.$ZodIssue;\\n/** An Error-like class used to store Zod validation issues. */\\nexport interface ZodError<T = unknown> extends $ZodError<T> {\\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\\n format(): core.$ZodFormattedError<T>;\\n format<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFormattedError<T, U>;\\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\\n flatten(): core.$ZodFlattenedError<T>;\\n flatten<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFlattenedError<T, U>;\\n /** @deprecated Push directly to `.issues` instead. */\\n addIssue(issue: core.$ZodIssue): void;\\n /** @deprecated Push directly to `.issues` instead. */\\n addIssues(issues: core.$ZodIssue[]): void;\\n /** @deprecated Check `err.issues.length === 0` instead. */\\n isEmpty: boolean;\\n}\\nexport declare const ZodError: core.$constructor<ZodError>;\\nexport declare const ZodRealError: core.$constructor<ZodError>;\\n/** @deprecated Use `z.core.$ZodFlattenedError` instead. */\\nexport type ZodFlattenedError<T, U = string> = core.$ZodFlattenedError<T, U>;\\n/** @deprecated Use `z.core.$ZodFormattedError` instead. */\\nexport type ZodFormattedError<T, U = string> = core.$ZodFormattedError<T, U>;\\n/** @deprecated Use `z.core.$ZodErrorMap` instead. */\\nexport type ZodErrorMap<T extends core.$ZodIssueBase = core.$ZodIssue> = core.$ZodErrorMap<T>;\\n/** @deprecated Use `z.core.$ZodRawIssue` instead. */\\nexport type IssueData = core.$ZodRawIssue;\\n","file:///node_modules/zod/v4/classic/external.d.ts":"export * as core from \\"../core/index.js\\";\\nexport * from \\"./schemas.js\\";\\nexport * from \\"./checks.js\\";\\nexport * from \\"./errors.js\\";\\nexport * from \\"./parse.js\\";\\nexport * from \\"./compat.js\\";\\nexport type { infer } from \\"../core/index.js\\";\\nexport type { JSONType } from \\"../core/util.js\\";\\nexport type { CompileOptions } from \\"../core/index.js\\";\\nexport { globalRegistry, type GlobalMeta, registry, config, memoizer, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, TimePrecision, util, NEVER, INVALID, toZod, compile, withParser, ZodCompileAsyncError, ZodCompileUnsupportedError, getDiscriminatedOption, } from \\"../core/index.js\\";\\nexport { toJSONSchema } from \\"../core/json-schema-processors.js\\";\\nexport { fromJSONSchema } from \\"./from-json-schema.js\\";\\nexport { deepPartial } from \\"./deep-partial.js\\";\\nexport { input, output } from \\"./in-out.js\\";\\nexport * as locales from \\"../locales/index.js\\";\\nexport { ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration } from \\"./iso.js\\";\\nexport * as iso from \\"./iso.js\\";\\nexport type { ZodCoercedString, ZodCoercedNumber, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, } from \\"./coerce.js\\";\\nexport * as coerce from \\"./coerce.js\\";\\n","file:///node_modules/zod/v4/classic/from-json-schema.d.ts":"import type * as JSONSchema from \\"../core/json-schema.js\\";\\nimport { type $ZodRegistry } from \\"../core/registries.js\\";\\nimport type { ZodType } from \\"./schemas.js\\";\\ntype JSONSchemaVersion = \\"draft-2020-12\\" | \\"draft-7\\" | \\"draft-4\\" | \\"openapi-3.0\\";\\ninterface FromJSONSchemaParams {\\n defaultTarget?: JSONSchemaVersion;\\n registry?: $ZodRegistry<any>;\\n}\\n/**\\n * Converts a JSON Schema to a Zod schema. This function should be considered semi-experimental. It\'s behavior is liable to change. */\\nexport declare function fromJSONSchema(schema: JSONSchema.JSONSchema | boolean, params?: FromJSONSchemaParams): ZodType;\\nexport {};\\n","file:///node_modules/zod/v4/classic/in-out.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport type input<T> = core.input<T>;\\nexport type output<T> = core.output<T>;\\n/** Returns a copy of the schema with every pipe replaced by its input side. A codec\'s checks are dropped: they constrain the decoded value the input side never produces. */\\nexport declare function input<T extends core.$ZodType>(schema: T): schemas.ZodType<core.input<T>, core.input<T>>;\\n/** Returns a copy of the schema with every pipe replaced by its output side, carrying over the pipe\'s own checks. */\\nexport declare function output<T extends core.$ZodType>(schema: T): schemas.ZodType<core.output<T>, core.output<T>>;\\n","file:///node_modules/zod/v4/classic/index.d.ts":"import * as z from \\"./external.js\\";\\nexport * from \\"./external.js\\";\\nexport { z, z as default };\\n","file:///node_modules/zod/v4/classic/iso.d.ts":"import * as core from \\"../core/index.js\\";\\nimport { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime } from \\"./schemas.js\\";\\nexport { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime } from \\"./schemas.js\\";\\nexport declare function datetime(params?: string | core.$ZodISODateTimeParams): ZodISODateTime;\\nexport declare function date(params?: string | core.$ZodISODateParams): ZodISODate;\\nexport declare function time(params?: string | core.$ZodISOTimeParams): ZodISOTime;\\nexport declare function duration(params?: string | core.$ZodISODurationParams): ZodISODuration;\\n","file:///node_modules/zod/v4/classic/parse.d.ts":"import * as core from \\"../core/index.js\\";\\nimport { type ZodError } from \\"./errors.js\\";\\nexport type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;\\nexport type ZodSafeParseSuccess<T> = {\\n success: true;\\n data: T;\\n error?: never;\\n};\\nexport type ZodSafeParseError<T> = {\\n success: false;\\n data?: never;\\n error: ZodError<T>;\\n};\\nexport declare const parse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => core.output<T>;\\nexport declare const parseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => Promise<core.output<T>>;\\nexport declare const safeParse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\\nexport declare const safeParseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\\nexport { validate, validateAsync } from \\"../core/index.js\\";\\nexport declare const encode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => core.input<T>;\\nexport declare const decode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => core.output<T>;\\nexport declare const encodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => Promise<core.input<T>>;\\nexport declare const decodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => Promise<core.output<T>>;\\nexport declare const safeEncode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.input<T>>;\\nexport declare const safeDecode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\\nexport declare const safeEncodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.input<T>>>;\\nexport declare const safeDecodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\\n","file:///node_modules/zod/v4/classic/schemas.d.ts":"import type { $ZodBigIntFormats } from \\"../core/checks.js\\";\\nimport * as core from \\"../core/index.js\\";\\nimport { util, type $ZodNumberFormats } from \\"../core/index.js\\";\\nimport type { StandardSchemaWithJSONProps } from \\"../core/standard-schema.js\\";\\nimport * as parse from \\"./parse.js\\";\\nexport type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;\\nexport interface ZodType<out Output = unknown, out Input = unknown, out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> extends core.$ZodType<Output, Input, Internals> {\\n def: Internals[\\"def\\"];\\n type: Internals[\\"def\\"][\\"type\\"];\\n /** @deprecated Use `.def` instead. */\\n _def: Internals[\\"def\\"];\\n /** @deprecated Use `z.output<typeof schema>` instead. */\\n _output: Internals[\\"output\\"];\\n /** @deprecated Use `z.input<typeof schema>` instead. */\\n _input: Internals[\\"input\\"];\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n /** Converts this schema to a JSON Schema representation. */\\n toJSONSchema(params?: core.ToJSONSchemaParams): core.ZodStandardJSONSchemaPayload<this>;\\n check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n clone(def?: Internals[\\"def\\"], params?: {\\n parent: boolean;\\n }): this;\\n register<R extends core.$ZodRegistry>(registry: R, ...meta: this extends R[\\"_schema\\"] ? undefined extends R[\\"_meta\\"] ? [core.$replace<R[\\"_meta\\"], this>?] : [core.$replace<R[\\"_meta\\"], this>] : [\\"Incompatible schema\\"]): this;\\n brand<T extends PropertyKey = PropertyKey, Dir extends \\"in\\" | \\"out\\" | \\"inout\\" = \\"out\\">(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;\\n parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;\\n safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;\\n parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;\\n safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;\\n spa: (data: unknown, params?: core.ParseContext<core.$ZodIssue>) => Promise<parse.ZodSafeParseResult<core.output<this>>>;\\n validate(data: unknown, params?: core.ParseContext<core.$ZodIssue>): data is core.input<this>;\\n validateAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<boolean>;\\n encode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): core.input<this>;\\n decode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;\\n encodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.input<this>>;\\n decodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;\\n safeEncode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.input<this>>;\\n safeDecode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;\\n safeEncodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.input<this>>>;\\n safeDecodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;\\n refine<Ch extends (arg: core.output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | core.$ZodCustomParams): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;\\n superRefine(refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): this;\\n overwrite(fn: (x: core.output<this>) => core.output<this>): this;\\n optional(): ZodOptional<this>;\\n exactOptional(): ZodExactOptional<this>;\\n nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;\\n nullable(): ZodNullable<this>;\\n nullish(): ZodOptional<ZodNullable<this>>;\\n default(def: util.NoUndefined<core.output<this>>): ZodDefault<this>;\\n default(def: () => util.NoUndefined<core.output<this>>): ZodDefault<this>;\\n prefault(def: () => core.input<this>): ZodPrefault<this>;\\n prefault(def: core.input<this>): ZodPrefault<this>;\\n array(): ZodArray<this>;\\n or<T extends core.SomeType>(option: T): ZodUnion<[this, T]>;\\n and<T extends core.SomeType>(incoming: T): ZodIntersection<this, T>;\\n transform<NewOut>(transform: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, core.output<this>>>;\\n catch(def: core.output<this>): ZodCatch<this>;\\n catch(def: (ctx: core.$ZodCatchCtx) => core.output<this>): ZodCatch<this>;\\n pipe<T extends core.$ZodType<any, core.output<this>>>(target: T | core.$ZodType<any, core.output<this>>): ZodPipe<this, T>;\\n readonly(): ZodReadonly<this>;\\n /** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */\\n describe(description: string): this;\\n description?: string;\\n /** Returns the metadata associated with this instance in `z.globalRegistry` */\\n meta(): core.$replace<core.GlobalMeta, this> | undefined;\\n /** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */\\n meta(data: core.$replace<core.GlobalMeta, this>): this;\\n /** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):\\n *\\n * ```ts\\n * const schema = z.string().optional();\\n * const isOptional = schema.safeParse(undefined).success; // true\\n * ```\\n */\\n isOptional(): boolean;\\n /**\\n * @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):\\n *\\n * ```ts\\n * const schema = z.string().nullable();\\n * const isNullable = schema.safeParse(null).success; // true\\n * ```\\n */\\n isNullable(): boolean;\\n apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;\\n}\\nexport interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodType<any, any, Internals> {\\n}\\nexport declare const ZodType: core.$constructor<ZodType>;\\nexport interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>> extends _ZodType<T> {\\n format: string | null;\\n minLength: number | null;\\n maxLength: number | null;\\n regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;\\n includes(value: string, params?: string | core.$ZodCheckIncludesParams): this;\\n startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;\\n endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;\\n min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;\\n max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;\\n length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;\\n nonempty(params?: string | core.$ZodCheckMinLengthParams): this;\\n lowercase(params?: string | core.$ZodCheckLowerCaseParams): this;\\n uppercase(params?: string | core.$ZodCheckUpperCaseParams): this;\\n trim(): this;\\n normalize(form?: \\"NFC\\" | \\"NFD\\" | \\"NFKC\\" | \\"NFKD\\" | (string & {})): this;\\n toLowerCase(): this;\\n toUpperCase(): this;\\n slugify(): this;\\n}\\n/** @internal */\\nexport declare const _ZodString: core.$constructor<_ZodString>;\\nexport interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {\\n /** @deprecated Use `z.email()` instead. */\\n email(params?: string | core.$ZodCheckEmailParams): this;\\n /** @deprecated Use `z.url()` instead. */\\n url(params?: string | core.$ZodCheckURLParams): this;\\n /** @deprecated Use `z.jwt()` instead. */\\n jwt(params?: string | core.$ZodCheckJWTParams): this;\\n /** @deprecated Use `z.emoji()` instead. */\\n emoji(params?: string | core.$ZodCheckEmojiParams): this;\\n /** @deprecated Use `z.guid()` instead. */\\n guid(params?: string | core.$ZodCheckGUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuid(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuidv4(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuidv6(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuidv7(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.nanoid()` instead. */\\n nanoid(params?: string | core.$ZodCheckNanoIDParams): this;\\n /** @deprecated Use `z.guid()` instead. */\\n guid(params?: string | core.$ZodCheckGUIDParams): this;\\n /**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use `z.cuid2()` instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\n cuid(params?: string | core.$ZodCheckCUIDParams): this;\\n /** @deprecated Use `z.cuid2()` instead. */\\n cuid2(params?: string | core.$ZodCheckCUID2Params): this;\\n /** @deprecated Use `z.ulid()` instead. */\\n ulid(params?: string | core.$ZodCheckULIDParams): this;\\n /** @deprecated Use `z.base64()` instead. */\\n base64(params?: string | core.$ZodCheckBase64Params): this;\\n /** @deprecated Use `z.base64url()` instead. */\\n base64url(params?: string | core.$ZodCheckBase64URLParams): this;\\n /** @deprecated Use `z.xid()` instead. */\\n xid(params?: string | core.$ZodCheckXIDParams): this;\\n /** @deprecated Use `z.ksuid()` instead. */\\n ksuid(params?: string | core.$ZodCheckKSUIDParams): this;\\n /** @deprecated Use `z.ipv4()` instead. */\\n ipv4(params?: string | core.$ZodCheckIPv4Params): this;\\n /** @deprecated Use `z.ipv6()` instead. */\\n ipv6(params?: string | core.$ZodCheckIPv6Params): this;\\n /** @deprecated Use `z.cidrv4()` instead. */\\n cidrv4(params?: string | core.$ZodCheckCIDRv4Params): this;\\n /** @deprecated Use `z.cidrv6()` instead. */\\n cidrv6(params?: string | core.$ZodCheckCIDRv6Params): this;\\n /** @deprecated Use `z.e164()` instead. */\\n e164(params?: string | core.$ZodCheckE164Params): this;\\n /** @deprecated Use `z.iso.datetime()` instead. */\\n datetime(params?: string | core.$ZodCheckISODateTimeParams): this;\\n /** @deprecated Use `z.iso.date()` instead. */\\n date(params?: string | core.$ZodCheckISODateParams): this;\\n /** @deprecated Use `z.iso.time()` instead. */\\n time(params?: string | core.$ZodCheckISOTimeParams): this;\\n /** @deprecated Use `z.iso.duration()` instead. */\\n duration(params?: string | core.$ZodCheckISODurationParams): this;\\n}\\nexport declare const ZodString: core.$constructor<ZodString>;\\nexport declare function string(params?: string | core.$ZodStringParams): ZodString;\\nexport declare function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;\\nexport interface ZodStringFormat<Format extends string = string> extends _ZodString<core.$ZodStringFormatInternals<Format>> {\\n}\\nexport declare const ZodStringFormat: core.$constructor<ZodStringFormat>;\\nexport interface ZodISODateTime extends ZodStringFormat {\\n _zod: core.$ZodISODateTimeInternals;\\n}\\nexport declare const ZodISODateTime: core.$constructor<ZodISODateTime>;\\nexport interface ZodISODate extends ZodStringFormat {\\n _zod: core.$ZodISODateInternals;\\n}\\nexport declare const ZodISODate: core.$constructor<ZodISODate>;\\nexport interface ZodISOTime extends ZodStringFormat {\\n _zod: core.$ZodISOTimeInternals;\\n}\\nexport declare const ZodISOTime: core.$constructor<ZodISOTime>;\\nexport interface ZodISODuration extends ZodStringFormat {\\n _zod: core.$ZodISODurationInternals;\\n}\\nexport declare const ZodISODuration: core.$constructor<ZodISODuration>;\\nexport interface ZodEmail extends ZodStringFormat<\\"email\\"> {\\n _zod: core.$ZodEmailInternals;\\n}\\nexport declare const ZodEmail: core.$constructor<ZodEmail>;\\nexport declare function email(params?: string | core.$ZodEmailParams): ZodEmail;\\nexport interface ZodGUID extends ZodStringFormat<\\"guid\\"> {\\n _zod: core.$ZodGUIDInternals;\\n}\\nexport declare const ZodGUID: core.$constructor<ZodGUID>;\\nexport declare function guid(params?: string | core.$ZodGUIDParams): ZodGUID;\\nexport interface ZodUUID extends ZodStringFormat<\\"uuid\\"> {\\n _zod: core.$ZodUUIDInternals;\\n}\\nexport declare const ZodUUID: core.$constructor<ZodUUID>;\\nexport declare function uuid(params?: string | core.$ZodUUIDParams): ZodUUID;\\nexport declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodUUID;\\nexport declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodUUID;\\nexport declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodUUID;\\nexport interface ZodURL extends ZodStringFormat<\\"url\\"> {\\n _zod: core.$ZodURLInternals;\\n}\\nexport declare const ZodURL: core.$constructor<ZodURL>;\\nexport declare function url(params?: string | core.$ZodURLParams): ZodURL;\\nexport declare function httpUrl(params?: string | Omit<core.$ZodURLParams, \\"protocol\\" | \\"hostname\\">): ZodURL;\\nexport interface ZodEmoji extends ZodStringFormat<\\"emoji\\"> {\\n _zod: core.$ZodEmojiInternals;\\n}\\nexport declare const ZodEmoji: core.$constructor<ZodEmoji>;\\nexport declare function emoji(params?: string | core.$ZodEmojiParams): ZodEmoji;\\nexport interface ZodNanoID extends ZodStringFormat<\\"nanoid\\"> {\\n _zod: core.$ZodNanoIDInternals;\\n}\\nexport declare const ZodNanoID: core.$constructor<ZodNanoID>;\\nexport declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface ZodCUID extends ZodStringFormat<\\"cuid\\"> {\\n _zod: core.$ZodCUIDInternals;\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const ZodCUID: core.$constructor<ZodCUID>;\\n/**\\n * Validates a CUID v1 string.\\n *\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare function cuid(params?: string | core.$ZodCUIDParams): ZodCUID;\\nexport interface ZodCUID2 extends ZodStringFormat<\\"cuid2\\"> {\\n _zod: core.$ZodCUID2Internals;\\n}\\nexport declare const ZodCUID2: core.$constructor<ZodCUID2>;\\nexport declare function cuid2(params?: string | core.$ZodCUID2Params): ZodCUID2;\\nexport interface ZodULID extends ZodStringFormat<\\"ulid\\"> {\\n _zod: core.$ZodULIDInternals;\\n}\\nexport declare const ZodULID: core.$constructor<ZodULID>;\\nexport declare function ulid(params?: string | core.$ZodULIDParams): ZodULID;\\nexport interface ZodXID extends ZodStringFormat<\\"xid\\"> {\\n _zod: core.$ZodXIDInternals;\\n}\\nexport declare const ZodXID: core.$constructor<ZodXID>;\\nexport declare function xid(params?: string | core.$ZodXIDParams): ZodXID;\\nexport interface ZodKSUID extends ZodStringFormat<\\"ksuid\\"> {\\n _zod: core.$ZodKSUIDInternals;\\n}\\nexport declare const ZodKSUID: core.$constructor<ZodKSUID>;\\nexport declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodKSUID;\\nexport interface ZodIPv4 extends ZodStringFormat<\\"ipv4\\"> {\\n _zod: core.$ZodIPv4Internals;\\n}\\nexport declare const ZodIPv4: core.$constructor<ZodIPv4>;\\nexport declare function ipv4(params?: string | core.$ZodIPv4Params): ZodIPv4;\\nexport interface ZodMAC extends ZodStringFormat<\\"mac\\"> {\\n _zod: core.$ZodMACInternals;\\n}\\nexport declare const ZodMAC: core.$constructor<ZodMAC>;\\nexport declare function mac(params?: string | core.$ZodMACParams): ZodMAC;\\nexport interface ZodIPv6 extends ZodStringFormat<\\"ipv6\\"> {\\n _zod: core.$ZodIPv6Internals;\\n}\\nexport declare const ZodIPv6: core.$constructor<ZodIPv6>;\\nexport declare function ipv6(params?: string | core.$ZodIPv6Params): ZodIPv6;\\nexport interface ZodCIDRv4 extends ZodStringFormat<\\"cidrv4\\"> {\\n _zod: core.$ZodCIDRv4Internals;\\n}\\nexport declare const ZodCIDRv4: core.$constructor<ZodCIDRv4>;\\nexport declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodCIDRv4;\\nexport interface ZodCIDRv6 extends ZodStringFormat<\\"cidrv6\\"> {\\n _zod: core.$ZodCIDRv6Internals;\\n}\\nexport declare const ZodCIDRv6: core.$constructor<ZodCIDRv6>;\\nexport declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodCIDRv6;\\nexport interface ZodBase64 extends ZodStringFormat<\\"base64\\"> {\\n _zod: core.$ZodBase64Internals;\\n}\\nexport declare const ZodBase64: core.$constructor<ZodBase64>;\\nexport declare function base64(params?: string | core.$ZodBase64Params): ZodBase64;\\nexport interface ZodBase64URL extends ZodStringFormat<\\"base64url\\"> {\\n _zod: core.$ZodBase64URLInternals;\\n}\\nexport declare const ZodBase64URL: core.$constructor<ZodBase64URL>;\\nexport declare function base64url(params?: string | core.$ZodBase64URLParams): ZodBase64URL;\\nexport interface ZodE164 extends ZodStringFormat<\\"e164\\"> {\\n _zod: core.$ZodE164Internals;\\n}\\nexport declare const ZodE164: core.$constructor<ZodE164>;\\nexport declare function e164(params?: string | core.$ZodE164Params): ZodE164;\\nexport interface ZodCreditCard extends ZodStringFormat<\\"credit_card\\"> {\\n _zod: core.$ZodCreditCardInternals;\\n}\\nexport declare const ZodCreditCard: core.$constructor<ZodCreditCard>;\\nexport declare function creditCard(params?: string | core.$ZodCreditCardParams): ZodCreditCard;\\nexport interface ZodIBAN extends ZodStringFormat<\\"iban\\"> {\\n _zod: core.$ZodIBANInternals;\\n}\\nexport declare const ZodIBAN: core.$constructor<ZodIBAN>;\\nexport declare function iban(params?: string | core.$ZodIBANParams): ZodIBAN;\\nexport interface ZodJWT extends ZodStringFormat<\\"jwt\\"> {\\n _zod: core.$ZodJWTInternals;\\n}\\nexport declare const ZodJWT: core.$constructor<ZodJWT>;\\nexport declare function jwt(params?: string | core.$ZodJWTParams): ZodJWT;\\nexport interface ZodCustomStringFormat<Format extends string = string> extends ZodStringFormat<Format>, core.$ZodCustomStringFormat<Format> {\\n _zod: core.$ZodCustomStringFormatInternals<Format>;\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodCustomStringFormat: core.$constructor<ZodCustomStringFormat>;\\nexport declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<Format>;\\nexport declare function hostname(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<\\"hostname\\">;\\nexport declare function hex(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<\\"hex\\">;\\nexport declare function currencyCode(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<\\"currency_code\\">;\\nexport declare function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = \\"hex\\">(alg: Alg, params?: {\\n enc?: Enc;\\n} & core.$ZodStringFormatParams): ZodCustomStringFormat<`${Alg}_${Enc}`>;\\nexport interface _ZodNumber<Internals extends core.$ZodNumberInternals = core.$ZodNumberInternals> extends _ZodType<Internals> {\\n gt(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;\\n /** Identical to .min() */\\n gte(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;\\n min(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;\\n lt(value: number, params?: string | core.$ZodCheckLessThanParams): this;\\n /** Identical to .max() */\\n lte(value: number, params?: string | core.$ZodCheckLessThanParams): this;\\n max(value: number, params?: string | core.$ZodCheckLessThanParams): this;\\n /** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */\\n int(params?: string | core.$ZodCheckNumberFormatParams): this;\\n /** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */\\n safe(params?: string | core.$ZodCheckNumberFormatParams): this;\\n positive(params?: string | core.$ZodCheckGreaterThanParams): this;\\n nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;\\n negative(params?: string | core.$ZodCheckLessThanParams): this;\\n nonpositive(params?: string | core.$ZodCheckLessThanParams): this;\\n multipleOf(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;\\n /** @deprecated Use `.multipleOf()` instead. */\\n step(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;\\n /** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */\\n finite(params?: unknown): this;\\n minValue: number | null;\\n maxValue: number | null;\\n /** @deprecated Check the `format` property instead. */\\n isInt: boolean;\\n /** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */\\n isFinite: boolean;\\n format: string | null;\\n}\\nexport interface ZodNumber extends _ZodNumber<core.$ZodNumberInternals<number>> {\\n}\\nexport declare const ZodNumber: core.$constructor<ZodNumber>;\\nexport declare function number(params?: string | core.$ZodNumberParams): ZodNumber;\\nexport interface ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends ZodNumber {\\n _zod: core.$ZodNumberFormatInternals<Format>;\\n}\\nexport declare const ZodNumberFormat: core.$constructor<ZodNumberFormat>;\\nexport interface ZodInt extends ZodNumberFormat<\\"safeint\\"> {\\n}\\nexport declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodInt;\\nexport interface ZodFloat32 extends ZodNumberFormat<\\"float32\\"> {\\n}\\nexport declare function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat32;\\nexport interface ZodFloat64 extends ZodNumberFormat<\\"float64\\"> {\\n}\\nexport declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat64;\\nexport interface ZodInt32 extends ZodNumberFormat<\\"int32\\"> {\\n}\\nexport declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodInt32;\\nexport interface ZodUInt32 extends ZodNumberFormat<\\"uint32\\"> {\\n}\\nexport declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodUInt32;\\nexport interface _ZodBoolean<T extends core.$ZodBooleanInternals = core.$ZodBooleanInternals> extends _ZodType<T> {\\n}\\nexport interface ZodBoolean extends _ZodBoolean<core.$ZodBooleanInternals<boolean>> {\\n}\\nexport declare const ZodBoolean: core.$constructor<ZodBoolean>;\\nexport declare function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean;\\nexport interface _ZodBigInt<T extends core.$ZodBigIntInternals = core.$ZodBigIntInternals> extends _ZodType<T> {\\n gte(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;\\n /** Alias of `.gte()` */\\n min(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;\\n gt(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;\\n /** Alias of `.lte()` */\\n lte(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;\\n max(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;\\n lt(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;\\n positive(params?: string | core.$ZodCheckGreaterThanParams): this;\\n negative(params?: string | core.$ZodCheckLessThanParams): this;\\n nonpositive(params?: string | core.$ZodCheckLessThanParams): this;\\n nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;\\n multipleOf(value: bigint, params?: string | core.$ZodCheckMultipleOfParams): this;\\n minValue: bigint | null;\\n maxValue: bigint | null;\\n format: string | null;\\n}\\nexport interface ZodBigInt extends _ZodBigInt<core.$ZodBigIntInternals<bigint>> {\\n}\\nexport declare const ZodBigInt: core.$constructor<ZodBigInt>;\\nexport declare function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt;\\nexport interface ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends ZodBigInt {\\n _zod: core.$ZodBigIntFormatInternals<Format>;\\n}\\nexport declare const ZodBigIntFormat: core.$constructor<ZodBigIntFormat>;\\nexport interface ZodInt64 extends ZodBigIntFormat<\\"int64\\"> {\\n}\\nexport declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodInt64;\\nexport interface ZodUInt64 extends ZodBigIntFormat<\\"uint64\\"> {\\n}\\nexport declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodUInt64;\\nexport interface ZodSymbol extends _ZodType<core.$ZodSymbolInternals> {\\n}\\nexport declare const ZodSymbol: core.$constructor<ZodSymbol>;\\nexport declare function symbol(params?: string | core.$ZodSymbolParams): ZodSymbol;\\nexport interface ZodUndefined extends _ZodType<core.$ZodUndefinedInternals> {\\n}\\nexport declare const ZodUndefined: core.$constructor<ZodUndefined>;\\ndeclare function _undefined(params?: string | core.$ZodUndefinedParams): ZodUndefined;\\nexport { _undefined as undefined };\\nexport interface ZodNull extends _ZodType<core.$ZodNullInternals> {\\n}\\nexport declare const ZodNull: core.$constructor<ZodNull>;\\ndeclare function _null(params?: string | core.$ZodNullParams): ZodNull;\\nexport { _null as null };\\nexport interface ZodAny extends _ZodType<core.$ZodAnyInternals> {\\n}\\nexport declare const ZodAny: core.$constructor<ZodAny>;\\nexport declare function any(): ZodAny;\\nexport interface ZodUnknown extends _ZodType<core.$ZodUnknownInternals> {\\n}\\nexport declare const ZodUnknown: core.$constructor<ZodUnknown>;\\nexport declare function unknown(): ZodUnknown;\\nexport interface ZodNever extends _ZodType<core.$ZodNeverInternals> {\\n}\\nexport declare const ZodNever: core.$constructor<ZodNever>;\\nexport declare function never(params?: string | core.$ZodNeverParams): ZodNever;\\nexport interface ZodVoid extends _ZodType<core.$ZodVoidInternals> {\\n}\\nexport declare const ZodVoid: core.$constructor<ZodVoid>;\\ndeclare function _void(params?: string | core.$ZodVoidParams): ZodVoid;\\nexport { _void as void };\\nexport interface _ZodDate<T extends core.$ZodDateInternals = core.$ZodDateInternals> extends _ZodType<T> {\\n min(value: number | Date, params?: string | core.$ZodCheckGreaterThanParams): this;\\n max(value: number | Date, params?: string | core.$ZodCheckLessThanParams): this;\\n /** @deprecated Not recommended. */\\n minDate: Date | null;\\n /** @deprecated Not recommended. */\\n maxDate: Date | null;\\n}\\nexport interface ZodDate extends _ZodDate<core.$ZodDateInternals<Date>> {\\n}\\nexport declare const ZodDate: core.$constructor<ZodDate>;\\nexport declare function date(params?: string | core.$ZodDateParams): ZodDate;\\nexport interface ZodArray<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodArrayInternals<T>>, core.$ZodArray<T> {\\n element: T;\\n min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;\\n nonempty(params?: string | core.$ZodCheckMinLengthParams): this;\\n max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;\\n length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;\\n unwrap(): T;\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodArray: core.$constructor<ZodArray>;\\nexport declare function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T>;\\nexport declare function keyof<T extends ZodObject>(schema: T): ZodEnum<util.KeysEnum<T[\\"_zod\\"][\\"output\\"]>>;\\nexport type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {\\n [K in keyof Ext]: K extends keyof Base ? core.output<Ext[K]> extends core.output<Base[K]> ? core.input<Ext[K]> extends core.input<Base[K]> ? Ext[K] : never : never : Ext[K];\\n};\\nexport interface ZodObject<\\n/** @ts-ignore Cast variance */\\nout Shape extends core.$ZodShape = core.$ZodLooseShape, out Config extends core.$ZodObjectConfig = core.$strip> extends _ZodType<core.$ZodObjectInternals<Shape, Config>>, core.$ZodObject<Shape, Config> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n shape: Shape;\\n keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;\\n /** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */\\n catchall<T extends core.SomeType>(schema: T): ZodObject<Shape, core.$catchall<T>>;\\n /** @deprecated Use `z.looseObject()` or `.loose()` instead. */\\n passthrough(): ZodObject<Shape, core.$loose>;\\n /** Consider `z.looseObject(A.shape)` instead */\\n loose(): ZodObject<Shape, core.$loose>;\\n /** Consider `z.strictObject(A.shape)` instead */\\n strict(): ZodObject<Shape, core.$strict>;\\n /** This is the default behavior. This method call is likely unnecessary. */\\n strip(): ZodObject<Shape, core.$strip>;\\n extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;\\n safeExtend<U extends core.$ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;\\n /**\\n * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.\\n */\\n merge<U extends ZodObject>(other: U): ZodObject<util.Extend<Shape, U[\\"shape\\"]>, U[\\"_zod\\"][\\"config\\"]>;\\n pick<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;\\n omit<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;\\n partial(): ZodObject<{\\n -readonly [k in keyof Shape]: ZodOptional<Shape[k]>;\\n }, Config>;\\n partial<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{\\n -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k];\\n }, Config>;\\n exactPartial(): ZodObject<{\\n -readonly [k in keyof Shape]: ZodExactOptional<Shape[k]>;\\n }, Config>;\\n exactPartial<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{\\n -readonly [k in keyof Shape]: k extends keyof M ? ZodExactOptional<Shape[k]> : Shape[k];\\n }, Config>;\\n required(): ZodObject<{\\n -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>;\\n }, Config>;\\n required<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{\\n -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];\\n }, Config>;\\n}\\nexport declare const ZodObject: core.$constructor<ZodObject>;\\nexport declare function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(shape?: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$strip>;\\nexport declare function strictObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$strict>;\\nexport declare function looseObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$loose>;\\nexport interface ZodUnion<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodUnionInternals<T>>, core.$ZodUnion<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n options: T;\\n}\\nexport declare const ZodUnion: core.$constructor<ZodUnion>;\\nexport declare function union<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodUnion<T>;\\nexport interface ZodXor<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodXorInternals<T>>, core.$ZodXor<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n options: T;\\n}\\nexport declare const ZodXor: core.$constructor<ZodXor>;\\n/** Creates an exclusive union (XOR) where exactly one option must match.\\n * Unlike regular unions that succeed when any option matches, xor fails if\\n * zero or more than one option matches the input. */\\nexport declare function xor<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodXorParams): ZodXor<T>;\\nexport interface ZodDiscriminatedUnion<Options extends readonly core.SomeType[] = readonly core.$ZodType[], Disc extends string = string> extends ZodUnion<Options>, core.$ZodDiscriminatedUnion<Options, Disc> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;\\n def: core.$ZodDiscriminatedUnionDef<Options, Disc>;\\n}\\nexport declare const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion>;\\nexport declare function discriminatedUnion<Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]], Disc extends string>(discriminator: Disc, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodDiscriminatedUnion<Types, Disc>;\\nexport interface ZodIntersection<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodIntersectionInternals<A, B>>, core.$ZodIntersection<A, B> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodIntersection: core.$constructor<ZodIntersection>;\\nexport declare function intersection<T extends core.SomeType, U extends core.SomeType>(left: T, right: U): ZodIntersection<T, U>;\\nexport interface ZodTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends core.SomeType | null = core.$ZodType | null> extends _ZodType<core.$ZodTupleInternals<T, Rest>>, core.$ZodTuple<T, Rest> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;\\n partial(): ZodTuple<{\\n -readonly [k in keyof T]: ZodOptional<T[k]>;\\n }, Rest>;\\n}\\nexport declare const ZodTuple: core.$constructor<ZodTuple>;\\nexport declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]]>(items: T, params?: string | core.$ZodTupleParams): ZodTuple<T, null>;\\nexport declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]], Rest extends core.SomeType>(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodTuple<T, Rest>;\\nexport declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodTuple<[], null>;\\nexport interface ZodRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodRecordInternals<Key, Value>>, core.$ZodRecord<Key, Value> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n keyType: Key;\\n valueType: Value;\\n}\\nexport declare const ZodRecord: core.$constructor<ZodRecord>;\\nexport declare function record<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;\\nexport declare function partialRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key & core.$partial, Value>;\\nexport declare function looseRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;\\nexport interface ZodMap<Key extends core.SomeType = core.$ZodType, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodMapInternals<Key, Value>>, core.$ZodMap<Key, Value> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n keyType: Key;\\n valueType: Value;\\n min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;\\n nonempty(params?: string | core.$ZodCheckMinSizeParams): this;\\n max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;\\n size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;\\n}\\nexport declare const ZodMap: core.$constructor<ZodMap>;\\nexport declare function map<Key extends core.SomeType, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMap<Key, Value>;\\nexport interface ZodSet<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSetInternals<T>>, core.$ZodSet<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;\\n nonempty(params?: string | core.$ZodCheckMinSizeParams): this;\\n max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;\\n size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;\\n}\\nexport declare const ZodSet: core.$constructor<ZodSet>;\\nexport declare function set<Value extends core.SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodSet<Value>;\\nexport interface ZodEnum<\\n/** @ts-ignore Cast variance */\\nout T extends util.EnumLike = util.EnumLike> extends _ZodType<core.$ZodEnumInternals<T>>, core.$ZodEnum<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n enum: T;\\n options: Array<T[keyof T]>;\\n extract<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Pick<T, U[number]>>>;\\n exclude<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Omit<T, U[number]>>>;\\n}\\nexport declare const ZodEnum: core.$constructor<ZodEnum>;\\ndeclare function _enum<const T extends readonly string[]>(values: T, params?: string | core.$ZodEnumParams): ZodEnum<util.ToEnum<T[number]>>;\\ndeclare function _enum<const T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;\\nexport { _enum as enum };\\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\\n *\\n * ```ts\\n * enum Colors { red, green, blue }\\n * z.enum(Colors);\\n * ```\\n */\\nexport declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;\\nexport interface ZodLiteral<T extends util.Literal = util.Literal> extends _ZodType<core.$ZodLiteralInternals<T>>, core.$ZodLiteral<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n values: Set<T>;\\n /** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */\\n value: T;\\n}\\nexport declare const ZodLiteral: core.$constructor<ZodLiteral>;\\nexport declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T[number]>;\\nexport declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T>;\\nexport interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n min(size: number, params?: string | core.$ZodCheckMinSizeParams): this;\\n max(size: number, params?: string | core.$ZodCheckMaxSizeParams): this;\\n mime(types: util.MimeTypes | Array<util.MimeTypes>, params?: string | core.$ZodCheckMimeTypeParams): this;\\n}\\nexport declare const ZodFile: core.$constructor<ZodFile>;\\nexport declare function file(params?: string | core.$ZodFileParams): ZodFile;\\nexport interface ZodTransform<O = unknown, I = unknown> extends _ZodType<core.$ZodTransformInternals<O, I>>, core.$ZodTransform<O, I> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodTransform: core.$constructor<ZodTransform>;\\nexport declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.$RefinementCtx) => O): ZodTransform<Awaited<O>, I>;\\nexport interface ZodOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodOptional: core.$constructor<ZodOptional>;\\nexport declare function optional<T extends core.SomeType>(innerType: T): ZodOptional<T>;\\nexport interface ZodExactOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodExactOptionalInternals<T>>, core.$ZodExactOptional<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodExactOptional: core.$constructor<ZodExactOptional>;\\nexport declare function exactOptional<T extends core.SomeType>(innerType: T): ZodExactOptional<T>;\\nexport interface ZodNullable<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNullableInternals<T>>, core.$ZodNullable<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodNullable: core.$constructor<ZodNullable>;\\nexport declare function nullable<T extends core.SomeType>(innerType: T): ZodNullable<T>;\\nexport declare function nullish<T extends core.SomeType>(innerType: T): ZodOptional<ZodNullable<T>>;\\nexport interface ZodDefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodDefaultInternals<T>>, core.$ZodDefault<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n /** @deprecated Use `.unwrap()` instead. */\\n removeDefault(): T;\\n}\\nexport declare const ZodDefault: core.$constructor<ZodDefault>;\\nexport declare function _default<T extends core.SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodDefault<T>;\\nexport interface ZodPrefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPrefaultInternals<T>>, core.$ZodPrefault<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodPrefault: core.$constructor<ZodPrefault>;\\nexport declare function prefault<T extends core.SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodPrefault<T>;\\nexport interface ZodNonOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNonOptionalInternals<T>>, core.$ZodNonOptional<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodNonOptional: core.$constructor<ZodNonOptional>;\\nexport declare function nonoptional<T extends core.SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodNonOptional<T>;\\nexport interface ZodSuccess<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSuccessInternals<T>>, core.$ZodSuccess<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodSuccess: core.$constructor<ZodSuccess>;\\nexport declare function success<T extends core.SomeType>(innerType: T): ZodSuccess<T>;\\nexport interface ZodCatch<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodCatchInternals<T>>, core.$ZodCatch<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n /** @deprecated Use `.unwrap()` instead. */\\n removeCatch(): T;\\n}\\nexport declare const ZodCatch: core.$constructor<ZodCatch>;\\ndeclare function _catch<T extends core.SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodCatch<T>;\\nexport { _catch as catch };\\nexport interface ZodNaN extends _ZodType<core.$ZodNaNInternals>, core.$ZodNaN {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodNaN: core.$constructor<ZodNaN>;\\nexport declare function nan(params?: string | core.$ZodNaNParams): ZodNaN;\\nexport interface ZodPipe<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPipeInternals<A, B>>, core.$ZodPipe<A, B> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n in: A;\\n out: B;\\n}\\nexport declare const ZodPipe: core.$constructor<ZodPipe>;\\nexport declare function pipe<const A extends core.SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodPipe<A, B>;\\nexport interface ZodCodec<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends ZodPipe<A, B>, core.$ZodCodec<A, B> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _zod: core.$ZodCodecInternals<A, B>;\\n def: core.$ZodCodecDef<A, B>;\\n}\\nexport declare const ZodCodec: core.$constructor<ZodCodec>;\\nexport declare function codec<const A extends core.SomeType, B extends core.SomeType = core.$ZodType>(in_: A, out: B, params: {\\n decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;\\n encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;\\n}): ZodCodec<A, B>;\\nexport declare function invertCodec<A extends core.SomeType, B extends core.SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A>;\\nexport interface ZodPreprocess<B extends core.SomeType = core.$ZodType, I = unknown> extends ZodPipe<core.$ZodTransform<unknown, I>, B>, core.$ZodPreprocess<B, I> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _zod: core.$ZodPreprocessInternals<B, I>;\\n def: core.$ZodPreprocessDef<B, I>;\\n}\\nexport declare const ZodPreprocess: core.$constructor<ZodPreprocess>;\\nexport interface ZodReadonly<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodReadonlyInternals<T>>, core.$ZodReadonly<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodReadonly: core.$constructor<ZodReadonly>;\\nexport declare function readonly<T extends core.SomeType>(innerType: T): ZodReadonly<T>;\\nexport interface ZodTemplateLiteral<Template extends string = string> extends _ZodType<core.$ZodTemplateLiteralInternals<Template>>, core.$ZodTemplateLiteral<Template> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodTemplateLiteral: core.$constructor<ZodTemplateLiteral>;\\nexport declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;\\nexport interface ZodLazy<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodLazyInternals<T>>, core.$ZodLazy<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodLazy: core.$constructor<ZodLazy>;\\nexport declare function lazy<T extends core.SomeType>(getter: () => T): ZodLazy<T>;\\nexport interface ZodPromise<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPromiseInternals<T>>, core.$ZodPromise<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodPromise: core.$constructor<ZodPromise>;\\nexport declare function promise<T extends core.SomeType>(innerType: T): ZodPromise<T>;\\nexport interface ZodFunction<Args extends core.$ZodFunctionIn = core.$ZodFunctionIn, Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut> extends _ZodType<core.$ZodFunctionInternals<Args, Returns>>, core.$ZodFunction<Args, Returns> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _def: core.$ZodFunctionDef<Args, Returns>;\\n _input: core.$InferInnerFunctionType<Args, Returns>;\\n _output: core.$InferOuterFunctionType<Args, Returns>;\\n input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(args: Items, rest?: Rest): ZodFunction<core.$ZodTuple<Items, Rest>, Returns>;\\n input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodFunction<NewArgs, Returns>;\\n input(...args: any[]): ZodFunction<any, Returns>;\\n output<NewReturns extends core.$ZodType>(output: NewReturns): ZodFunction<Args, NewReturns>;\\n}\\nexport declare const ZodFunction: core.$constructor<ZodFunction>;\\nexport declare function _function(): ZodFunction;\\nexport declare function _function<const In extends ReadonlyArray<core.$ZodType>>(params: {\\n input: In;\\n}): ZodFunction<ZodTuple<In, null>, core.$ZodFunctionOut>;\\nexport declare function _function<const In extends ReadonlyArray<core.$ZodType>, const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n input: In;\\n output: Out;\\n}): ZodFunction<ZodTuple<In, null>, Out>;\\nexport declare function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {\\n input: In;\\n}): ZodFunction<In, core.$ZodFunctionOut>;\\nexport declare function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n output: Out;\\n}): ZodFunction<core.$ZodFunctionIn, Out>;\\nexport declare function _function<In extends core.$ZodFunctionIn = core.$ZodFunctionIn, Out extends core.$ZodType = core.$ZodType>(params?: {\\n input: In;\\n output: Out;\\n}): ZodFunction<In, Out>;\\nexport { _function as function };\\nexport interface ZodCustom<O = unknown, I = unknown> extends _ZodType<core.$ZodCustomInternals<O, I>>, core.$ZodCustom<O, I> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodCustom: core.$constructor<ZodCustom>;\\nexport declare function check<O = unknown>(fn: core.CheckFn<O>): core.$ZodCheck<O>;\\nexport declare function custom<O>(fn?: (data: unknown) => unknown, _params?: string | core.$ZodCustomParams | undefined): ZodCustom<O, O>;\\nexport declare function refine<T>(fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>, _params?: string | core.$ZodCustomParams): core.$ZodCheck<T>;\\nexport declare function superRefine<T>(fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): core.$ZodCheck<T>;\\nexport declare const describe: typeof core.describe;\\nexport declare const meta: typeof core.meta;\\ntype ZodInstanceOfParams = core.Params<ZodCustom, core.$ZodIssueCustom, \\"type\\" | \\"check\\" | \\"checks\\" | \\"fn\\" | \\"abort\\" | \\"error\\" | \\"params\\" | \\"path\\">;\\nexport interface ZodInstanceOf<T = unknown> extends ZodCustom<T, T> {\\n properties<Shape extends {\\n [k in keyof T as T[k] extends Function ? never : k]?: core.$ZodType<unknown, T[k]>;\\n }>(shape: Shape, params?: string | core.$ZodCheckPropertiesParams): ZodInstanceOf<T & core.$InferObjectInput<Shape, {}>>;\\n}\\nexport declare const ZodInstanceOf: core.$constructor<ZodInstanceOf>;\\ndeclare function _instanceof<T extends typeof util.Class>(cls: T, params?: ZodInstanceOfParams): ZodInstanceOf<InstanceType<T>>;\\nexport { _instanceof as instanceof };\\nexport declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean>;\\ntype _ZodJSONSchema = ZodUnion<[\\n ZodString,\\n ZodNumber,\\n ZodBoolean,\\n ZodNull,\\n ZodArray<ZodJSONSchema>,\\n ZodRecord<ZodString, ZodJSONSchema>\\n]>;\\ntype _ZodJSONSchemaInternals = _ZodJSONSchema[\\"_zod\\"];\\nexport interface ZodJSONSchemaInternals extends _ZodJSONSchemaInternals {\\n output: util.JSONType;\\n input: util.JSONType;\\n}\\nexport interface ZodJSONSchema extends _ZodJSONSchema {\\n _zod: ZodJSONSchemaInternals;\\n}\\nexport declare function json(params?: string | core.$ZodCustomParams): ZodJSONSchema;\\nexport declare function preprocess<A, U extends core.SomeType, B = unknown>(fn: (arg: B, ctx: core.$RefinementCtx) => A, schema: U): ZodPreprocess<U, B>;\\n","file:///node_modules/zod/v4/core/api.d.ts":"import * as checks from \\"./checks.js\\";\\nimport type * as core from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport * as registries from \\"./registries.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nimport * as util from \\"./util.js\\";\\nexport type Params<T extends schemas.$ZodType | checks.$ZodCheck, IssueTypes extends errors.$ZodIssueBase, OmitKeys extends keyof T[\\"_zod\\"][\\"def\\"] = never> = util.Flatten<Partial<util.EmptyToNever<Omit<T[\\"_zod\\"][\\"def\\"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {\\n error?: string | errors.$ZodErrorMap<IssueTypes> | undefined;\\n /** @deprecated This parameter is deprecated. Use `error` instead. */\\n message?: string | undefined;\\n})>>>;\\nexport type TypeParams<T extends schemas.$ZodType = schemas.$ZodType & {\\n _isst: never;\\n}, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"checks\\" | \\"error\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"isst\\"]>, \\"type\\" | \\"checks\\" | \\"error\\" | AlsoOmit>;\\nexport type CheckParams<T extends checks.$ZodCheck = checks.$ZodCheck, // & { _issc: never },\\nAlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"check\\" | \\"error\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"issc\\"]>, \\"check\\" | \\"error\\" | AlsoOmit>;\\nexport type StringFormatParams<T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"isst\\"] | T[\\"_zod\\"][\\"issc\\"]>, \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\" | AlsoOmit>;\\nexport type CheckStringFormatParams<T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"issc\\"]>, \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\" | AlsoOmit>;\\nexport type CheckTypeParams<T extends schemas.$ZodType & checks.$ZodCheck = schemas.$ZodType & checks.$ZodCheck, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"checks\\" | \\"error\\" | \\"check\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"isst\\"] | T[\\"_zod\\"][\\"issc\\"]>, \\"type\\" | \\"checks\\" | \\"error\\" | \\"check\\" | AlsoOmit>;\\nexport type $ZodStringParams = TypeParams<schemas.$ZodString<string>, \\"coerce\\"> & {\\n checks?: readonly checks.$ZodCheck<string>[];\\n};\\nexport declare function _string<T extends schemas.$ZodString>(Class: util.SchemaClass<T>, params?: string | $ZodStringParams): T;\\nexport declare function _coercedString<T extends schemas.$ZodString>(Class: util.SchemaClass<T>, params?: string | $ZodStringParams): T;\\nexport type $ZodStringFormatParams = CheckTypeParams<schemas.$ZodStringFormat, \\"format\\" | \\"coerce\\" | \\"when\\" | \\"pattern\\">;\\nexport type $ZodCheckStringFormatParams = CheckParams<checks.$ZodCheckStringFormat, \\"format\\">;\\nexport type $ZodEmailParams = StringFormatParams<schemas.$ZodEmail, \\"when\\">;\\nexport type $ZodCheckEmailParams = CheckStringFormatParams<schemas.$ZodEmail, \\"when\\">;\\nexport declare function _email<T extends schemas.$ZodEmail>(Class: util.SchemaClass<T>, params?: string | $ZodEmailParams | $ZodCheckEmailParams): T;\\nexport type $ZodGUIDParams = StringFormatParams<schemas.$ZodGUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckGUIDParams = CheckStringFormatParams<schemas.$ZodGUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _guid<T extends schemas.$ZodGUID>(Class: util.SchemaClass<T>, params?: string | $ZodGUIDParams | $ZodCheckGUIDParams): T;\\nexport type $ZodUUIDParams = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDParams = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuid<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDParams | $ZodCheckUUIDParams): T;\\nexport type $ZodUUIDv4Params = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDv4Params = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuidv4<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params): T;\\nexport type $ZodUUIDv6Params = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDv6Params = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuidv6<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv6Params | $ZodCheckUUIDv6Params): T;\\nexport type $ZodUUIDv7Params = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDv7Params = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuidv7<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv7Params | $ZodCheckUUIDv7Params): T;\\nexport type $ZodURLParams = StringFormatParams<schemas.$ZodURL, \\"when\\">;\\nexport type $ZodCheckURLParams = CheckStringFormatParams<schemas.$ZodURL, \\"when\\">;\\nexport declare function _url<T extends schemas.$ZodURL>(Class: util.SchemaClass<T>, params?: string | $ZodURLParams | $ZodCheckURLParams): T;\\nexport type $ZodEmojiParams = StringFormatParams<schemas.$ZodEmoji, \\"when\\">;\\nexport type $ZodCheckEmojiParams = CheckStringFormatParams<schemas.$ZodEmoji, \\"when\\">;\\nexport declare function _emoji<T extends schemas.$ZodEmoji>(Class: util.SchemaClass<T>, params?: string | $ZodEmojiParams | $ZodCheckEmojiParams): T;\\nexport type $ZodNanoIDParams = StringFormatParams<schemas.$ZodNanoID, \\"when\\" | \\"pattern\\">;\\nexport type $ZodCheckNanoIDParams = CheckStringFormatParams<schemas.$ZodNanoID, \\"when\\" | \\"pattern\\">;\\nexport declare function _nanoid<T extends schemas.$ZodNanoID>(Class: util.SchemaClass<T>, params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams): T;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link _cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport type $ZodCUIDParams = StringFormatParams<schemas.$ZodCUID, \\"when\\">;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link _cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport type $ZodCheckCUIDParams = CheckStringFormatParams<schemas.$ZodCUID, \\"when\\">;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link _cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare function _cuid<T extends schemas.$ZodCUID>(Class: util.SchemaClass<T>, params?: string | $ZodCUIDParams | $ZodCheckCUIDParams): T;\\nexport type $ZodCUID2Params = StringFormatParams<schemas.$ZodCUID2, \\"when\\">;\\nexport type $ZodCheckCUID2Params = CheckStringFormatParams<schemas.$ZodCUID2, \\"when\\">;\\nexport declare function _cuid2<T extends schemas.$ZodCUID2>(Class: util.SchemaClass<T>, params?: string | $ZodCUID2Params | $ZodCheckCUID2Params): T;\\nexport type $ZodULIDParams = StringFormatParams<schemas.$ZodULID, \\"when\\">;\\nexport type $ZodCheckULIDParams = CheckStringFormatParams<schemas.$ZodULID, \\"when\\">;\\nexport declare function _ulid<T extends schemas.$ZodULID>(Class: util.SchemaClass<T>, params?: string | $ZodULIDParams | $ZodCheckULIDParams): T;\\nexport type $ZodXIDParams = StringFormatParams<schemas.$ZodXID, \\"when\\">;\\nexport type $ZodCheckXIDParams = CheckStringFormatParams<schemas.$ZodXID, \\"when\\">;\\nexport declare function _xid<T extends schemas.$ZodXID>(Class: util.SchemaClass<T>, params?: string | $ZodXIDParams | $ZodCheckXIDParams): T;\\nexport type $ZodKSUIDParams = StringFormatParams<schemas.$ZodKSUID, \\"when\\">;\\nexport type $ZodCheckKSUIDParams = CheckStringFormatParams<schemas.$ZodKSUID, \\"when\\">;\\nexport declare function _ksuid<T extends schemas.$ZodKSUID>(Class: util.SchemaClass<T>, params?: string | $ZodKSUIDParams | $ZodCheckKSUIDParams): T;\\nexport type $ZodIPv4Params = StringFormatParams<schemas.$ZodIPv4, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport type $ZodCheckIPv4Params = CheckStringFormatParams<schemas.$ZodIPv4, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport declare function _ipv4<T extends schemas.$ZodIPv4>(Class: util.SchemaClass<T>, params?: string | $ZodIPv4Params | $ZodCheckIPv4Params): T;\\nexport type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport declare function _ipv6<T extends schemas.$ZodIPv6>(Class: util.SchemaClass<T>, params?: string | $ZodIPv6Params | $ZodCheckIPv6Params): T;\\nexport type $ZodMACParams = StringFormatParams<schemas.$ZodMAC, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckMACParams = CheckStringFormatParams<schemas.$ZodMAC, \\"pattern\\" | \\"when\\">;\\nexport declare function _mac<T extends schemas.$ZodMAC>(Class: util.SchemaClass<T>, params?: string | $ZodMACParams | $ZodCheckMACParams): T;\\nexport type $ZodCIDRv4Params = StringFormatParams<schemas.$ZodCIDRv4, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckCIDRv4Params = CheckStringFormatParams<schemas.$ZodCIDRv4, \\"pattern\\" | \\"when\\">;\\nexport declare function _cidrv4<T extends schemas.$ZodCIDRv4>(Class: util.SchemaClass<T>, params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params): T;\\nexport type $ZodCIDRv6Params = StringFormatParams<schemas.$ZodCIDRv6, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckCIDRv6Params = CheckStringFormatParams<schemas.$ZodCIDRv6, \\"pattern\\" | \\"when\\">;\\nexport declare function _cidrv6<T extends schemas.$ZodCIDRv6>(Class: util.SchemaClass<T>, params?: string | $ZodCIDRv6Params | $ZodCheckCIDRv6Params): T;\\nexport type $ZodBase64Params = StringFormatParams<schemas.$ZodBase64, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckBase64Params = CheckStringFormatParams<schemas.$ZodBase64, \\"pattern\\" | \\"when\\">;\\nexport declare function _base64<T extends schemas.$ZodBase64>(Class: util.SchemaClass<T>, params?: string | $ZodBase64Params | $ZodCheckBase64Params): T;\\nexport type $ZodBase64URLParams = StringFormatParams<schemas.$ZodBase64URL, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckBase64URLParams = CheckStringFormatParams<schemas.$ZodBase64URL, \\"pattern\\" | \\"when\\">;\\nexport declare function _base64url<T extends schemas.$ZodBase64URL>(Class: util.SchemaClass<T>, params?: string | $ZodBase64URLParams | $ZodCheckBase64URLParams): T;\\nexport type $ZodE164Params = StringFormatParams<schemas.$ZodE164, \\"when\\">;\\nexport type $ZodCheckE164Params = CheckStringFormatParams<schemas.$ZodE164, \\"when\\">;\\nexport declare function _e164<T extends schemas.$ZodE164>(Class: util.SchemaClass<T>, params?: string | $ZodE164Params | $ZodCheckE164Params): T;\\nexport type $ZodCreditCardParams = StringFormatParams<schemas.$ZodCreditCard, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckCreditCardParams = CheckStringFormatParams<schemas.$ZodCreditCard, \\"pattern\\" | \\"when\\">;\\nexport declare function _creditCard<T extends schemas.$ZodCreditCard>(Class: util.SchemaClass<T>, params?: string | $ZodCreditCardParams | $ZodCheckCreditCardParams): T;\\nexport type $ZodIBANParams = StringFormatParams<schemas.$ZodIBAN, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckIBANParams = CheckStringFormatParams<schemas.$ZodIBAN, \\"pattern\\" | \\"when\\">;\\nexport declare function _iban<T extends schemas.$ZodIBAN>(Class: util.SchemaClass<T>, params?: string | $ZodIBANParams | $ZodCheckIBANParams): T;\\nexport type $ZodJWTParams = StringFormatParams<schemas.$ZodJWT, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckJWTParams = CheckStringFormatParams<schemas.$ZodJWT, \\"pattern\\" | \\"when\\">;\\nexport declare function _jwt<T extends schemas.$ZodJWT>(Class: util.SchemaClass<T>, params?: string | $ZodJWTParams | $ZodCheckJWTParams): T;\\nexport declare const TimePrecision: {\\n readonly Any: null;\\n readonly Minute: -1;\\n readonly Second: 0;\\n readonly Millisecond: 3;\\n readonly Microsecond: 6;\\n};\\nexport type $ZodISODateTimeParams = StringFormatParams<schemas.$ZodISODateTime, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckISODateTimeParams = CheckStringFormatParams<schemas.$ZodISODateTime, \\"pattern\\" | \\"when\\">;\\nexport declare function _isoDateTime<T extends schemas.$ZodISODateTime>(Class: util.SchemaClass<T>, params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams): T;\\nexport type $ZodISODateParams = StringFormatParams<schemas.$ZodISODate, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckISODateParams = CheckStringFormatParams<schemas.$ZodISODate, \\"pattern\\" | \\"when\\">;\\nexport declare function _isoDate<T extends schemas.$ZodISODate>(Class: util.SchemaClass<T>, params?: string | $ZodISODateParams | $ZodCheckISODateParams): T;\\nexport type $ZodISOTimeParams = StringFormatParams<schemas.$ZodISOTime, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckISOTimeParams = CheckStringFormatParams<schemas.$ZodISOTime, \\"pattern\\" | \\"when\\">;\\nexport declare function _isoTime<T extends schemas.$ZodISOTime>(Class: util.SchemaClass<T>, params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams): T;\\nexport type $ZodISODurationParams = StringFormatParams<schemas.$ZodISODuration, \\"when\\">;\\nexport type $ZodCheckISODurationParams = CheckStringFormatParams<schemas.$ZodISODuration, \\"when\\">;\\nexport declare function _isoDuration<T extends schemas.$ZodISODuration>(Class: util.SchemaClass<T>, params?: string | $ZodISODurationParams | $ZodCheckISODurationParams): T;\\nexport type $ZodNumberParams = TypeParams<schemas.$ZodNumber<number>, \\"coerce\\"> & {\\n checks?: readonly checks.$ZodCheck<number>[];\\n};\\nexport type $ZodNumberFormatParams = CheckTypeParams<schemas.$ZodNumberFormat, \\"format\\" | \\"coerce\\">;\\nexport type $ZodCheckNumberFormatParams = CheckParams<checks.$ZodCheckNumberFormat, \\"format\\" | \\"when\\">;\\nexport declare function _number<T extends schemas.$ZodNumber>(Class: util.SchemaClass<T>, params?: string | $ZodNumberParams): T;\\nexport declare function _coercedNumber<T extends schemas.$ZodNumber>(Class: util.SchemaClass<T>, params?: string | $ZodNumberParams): T;\\nexport declare function _int<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _float32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _float64<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _int32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _uint32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport type $ZodBooleanParams = TypeParams<schemas.$ZodBoolean<boolean>, \\"coerce\\">;\\nexport declare function _boolean<T extends schemas.$ZodBoolean>(Class: util.SchemaClass<T>, params?: string | $ZodBooleanParams): T;\\nexport declare function _coercedBoolean<T extends schemas.$ZodBoolean>(Class: util.SchemaClass<T>, params?: string | $ZodBooleanParams): T;\\nexport type $ZodBigIntParams = TypeParams<schemas.$ZodBigInt<bigint>>;\\nexport type $ZodBigIntFormatParams = CheckTypeParams<schemas.$ZodBigIntFormat, \\"format\\" | \\"coerce\\">;\\nexport type $ZodCheckBigIntFormatParams = CheckParams<checks.$ZodCheckBigIntFormat, \\"format\\" | \\"when\\">;\\nexport declare function _bigint<T extends schemas.$ZodBigInt>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntParams): T;\\nexport declare function _coercedBigint<T extends schemas.$ZodBigInt>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntParams): T;\\nexport declare function _int64<T extends schemas.$ZodBigIntFormat>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;\\nexport declare function _uint64<T extends schemas.$ZodBigIntFormat>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;\\nexport type $ZodSymbolParams = TypeParams<schemas.$ZodSymbol>;\\nexport declare function _symbol<T extends schemas.$ZodSymbol>(Class: util.SchemaClass<T>, params?: string | $ZodSymbolParams): T;\\nexport type $ZodUndefinedParams = TypeParams<schemas.$ZodUndefined>;\\nexport declare function _undefined<T extends schemas.$ZodUndefined>(Class: util.SchemaClass<T>, params?: string | $ZodUndefinedParams): T;\\nexport type $ZodNullParams = TypeParams<schemas.$ZodNull>;\\nexport declare function _null<T extends schemas.$ZodNull>(Class: util.SchemaClass<T>, params?: string | $ZodNullParams): T;\\nexport type $ZodAnyParams = TypeParams<schemas.$ZodAny>;\\nexport declare function _any<T extends schemas.$ZodAny>(Class: util.SchemaClass<T>): T;\\nexport type $ZodUnknownParams = TypeParams<schemas.$ZodUnknown>;\\nexport declare function _unknown<T extends schemas.$ZodUnknown>(Class: util.SchemaClass<T>): T;\\nexport type $ZodNeverParams = TypeParams<schemas.$ZodNever>;\\nexport declare function _never<T extends schemas.$ZodNever>(Class: util.SchemaClass<T>, params?: string | $ZodNeverParams): T;\\nexport type $ZodVoidParams = TypeParams<schemas.$ZodVoid>;\\nexport declare function _void<T extends schemas.$ZodVoid>(Class: util.SchemaClass<T>, params?: string | $ZodVoidParams): T;\\nexport type $ZodDateParams = TypeParams<schemas.$ZodDate, \\"coerce\\">;\\nexport declare function _date<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T;\\nexport declare function _coercedDate<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T;\\nexport type $ZodNaNParams = TypeParams<schemas.$ZodNaN>;\\nexport declare function _nan<T extends schemas.$ZodNaN>(Class: util.SchemaClass<T>, params?: string | $ZodNaNParams): T;\\nexport type $ZodCheckLessThanParams = CheckParams<checks.$ZodCheckLessThan, \\"inclusive\\" | \\"value\\" | \\"when\\">;\\nexport declare function _lt(value: util.Numeric, params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan<util.Numeric>;\\nexport declare function _lte(value: util.Numeric, params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan<util.Numeric>;\\nexport { \\n/** @deprecated Use `z.lte()` instead. */\\n_lte as _max, };\\nexport type $ZodCheckGreaterThanParams = CheckParams<checks.$ZodCheckGreaterThan, \\"inclusive\\" | \\"value\\" | \\"when\\">;\\nexport declare function _gt(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport declare function _gte(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport { \\n/** @deprecated Use `z.gte()` instead. */\\n_gte as _min, };\\nexport declare function _positive(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport declare function _negative(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan;\\nexport declare function _nonpositive(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan;\\nexport declare function _nonnegative(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport type $ZodCheckMultipleOfParams = CheckParams<checks.$ZodCheckMultipleOf, \\"value\\" | \\"when\\">;\\nexport declare function _multipleOf(value: number | bigint, params?: string | $ZodCheckMultipleOfParams): checks.$ZodCheckMultipleOf;\\nexport type $ZodCheckMaxSizeParams = CheckParams<checks.$ZodCheckMaxSize, \\"maximum\\" | \\"when\\">;\\nexport declare function _maxSize(maximum: number, params?: string | $ZodCheckMaxSizeParams): checks.$ZodCheckMaxSize<util.HasSize>;\\nexport type $ZodCheckMinSizeParams = CheckParams<checks.$ZodCheckMinSize, \\"minimum\\" | \\"when\\">;\\nexport declare function _minSize(minimum: number, params?: string | $ZodCheckMinSizeParams): checks.$ZodCheckMinSize<util.HasSize>;\\nexport type $ZodCheckSizeEqualsParams = CheckParams<checks.$ZodCheckSizeEquals, \\"size\\" | \\"when\\">;\\nexport declare function _size(size: number, params?: string | $ZodCheckSizeEqualsParams): checks.$ZodCheckSizeEquals<util.HasSize>;\\nexport type $ZodCheckMaxLengthParams = CheckParams<checks.$ZodCheckMaxLength, \\"maximum\\" | \\"when\\">;\\nexport declare function _maxLength(maximum: number, params?: string | $ZodCheckMaxLengthParams): checks.$ZodCheckMaxLength<util.HasLength>;\\nexport type $ZodCheckMinLengthParams = CheckParams<checks.$ZodCheckMinLength, \\"minimum\\" | \\"when\\">;\\nexport declare function _minLength(minimum: number, params?: string | $ZodCheckMinLengthParams): checks.$ZodCheckMinLength<util.HasLength>;\\nexport type $ZodCheckLengthEqualsParams = CheckParams<checks.$ZodCheckLengthEquals, \\"length\\" | \\"when\\">;\\nexport declare function _length(length: number, params?: string | $ZodCheckLengthEqualsParams): checks.$ZodCheckLengthEquals<util.HasLength>;\\nexport type $ZodCheckRegexParams = CheckParams<checks.$ZodCheckRegex, \\"format\\" | \\"pattern\\" | \\"when\\">;\\nexport declare function _regex(pattern: RegExp, params?: string | $ZodCheckRegexParams): checks.$ZodCheckRegex;\\nexport type $ZodCheckLowerCaseParams = CheckParams<checks.$ZodCheckLowerCase, \\"format\\" | \\"when\\">;\\nexport declare function _lowercase(params?: string | $ZodCheckLowerCaseParams): checks.$ZodCheckLowerCase;\\nexport type $ZodCheckUpperCaseParams = CheckParams<checks.$ZodCheckUpperCase, \\"format\\" | \\"when\\">;\\nexport declare function _uppercase(params?: string | $ZodCheckUpperCaseParams): checks.$ZodCheckUpperCase;\\nexport type $ZodCheckIncludesParams = CheckParams<checks.$ZodCheckIncludes, \\"includes\\" | \\"format\\" | \\"when\\" | \\"pattern\\">;\\nexport declare function _includes(includes: string, params?: string | $ZodCheckIncludesParams): checks.$ZodCheckIncludes;\\nexport type $ZodCheckStartsWithParams = CheckParams<checks.$ZodCheckStartsWith, \\"prefix\\" | \\"format\\" | \\"when\\" | \\"pattern\\">;\\nexport declare function _startsWith(prefix: string, params?: string | $ZodCheckStartsWithParams): checks.$ZodCheckStartsWith;\\nexport type $ZodCheckEndsWithParams = CheckParams<checks.$ZodCheckEndsWith, \\"suffix\\" | \\"format\\" | \\"pattern\\" | \\"when\\">;\\nexport declare function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): checks.$ZodCheckEndsWith;\\nexport type $ZodCheckPropertyParams = CheckParams<checks.$ZodCheckProperty, \\"property\\" | \\"schema\\" | \\"when\\">;\\nexport declare function _property<K extends string, T extends schemas.$ZodType>(property: K, schema: T, params?: string | $ZodCheckPropertyParams): checks.$ZodCheckProperty<{\\n [k in K]: util.Widen<core.input<T>>;\\n}>;\\nexport type $ZodCheckPropertiesParams = CheckParams<checks.$ZodCheckProperties, \\"shape\\" | \\"when\\">;\\nexport declare function _properties<Shape extends schemas.$ZodShape>(shape: Shape, params?: string | $ZodCheckPropertiesParams): checks.$ZodCheckProperties<Shape>;\\nexport type $ZodCheckMimeTypeParams = CheckParams<checks.$ZodCheckMimeType, \\"mime\\" | \\"when\\">;\\nexport declare function _mime(types: util.MimeTypes[], params?: string | $ZodCheckMimeTypeParams): checks.$ZodCheckMimeType;\\nexport declare function _overwrite<T>(tx: (input: T) => T): checks.$ZodCheckOverwrite<T>;\\nexport declare function _normalize(form?: \\"NFC\\" | \\"NFD\\" | \\"NFKC\\" | \\"NFKD\\" | (string & {})): checks.$ZodCheckOverwrite<string>;\\nexport declare function _trim(): checks.$ZodCheckOverwrite<string>;\\nexport declare function _toLowerCase(): checks.$ZodCheckOverwrite<string>;\\nexport declare function _toUpperCase(): checks.$ZodCheckOverwrite<string>;\\nexport declare function _slugify(): checks.$ZodCheckOverwrite<string>;\\nexport type $ZodArrayParams = TypeParams<schemas.$ZodArray, \\"element\\">;\\nexport declare function _array<T extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodArray>, element: T, params?: string | $ZodArrayParams): schemas.$ZodArray<T>;\\nexport type $ZodObjectParams = TypeParams<schemas.$ZodObject, \\"shape\\" | \\"catchall\\">;\\nexport type $ZodUnionParams = TypeParams<schemas.$ZodUnion, \\"options\\">;\\nexport declare function _union<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodUnion>, options: T, params?: string | $ZodUnionParams): schemas.$ZodUnion<T>;\\nexport type $ZodXorParams = TypeParams<schemas.$ZodXor, \\"options\\">;\\nexport declare function _xor<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodXor>, options: T, params?: string | $ZodXorParams): schemas.$ZodXor<T>;\\nexport interface $ZodTypeDiscriminableInternals<_Disc extends string = string> extends schemas._$ZodTypeInternals {\\n propValues: util.PropValues;\\n}\\nexport interface $ZodTypeDiscriminable<_Disc extends string = string> extends schemas.SomeType {\\n _zod: $ZodTypeDiscriminableInternals;\\n}\\nexport type $ZodDiscriminatedUnionParams = TypeParams<schemas.$ZodDiscriminatedUnion, \\"options\\" | \\"discriminator\\">;\\nexport declare function _discriminatedUnion<Types extends [$ZodTypeDiscriminable, ...$ZodTypeDiscriminable[]], Disc extends string>(Class: util.SchemaClass<schemas.$ZodDiscriminatedUnion>, discriminator: Disc, options: Types, params?: string | $ZodDiscriminatedUnionParams): schemas.$ZodDiscriminatedUnion<Types, Disc>;\\nexport type $ZodIntersectionParams = TypeParams<schemas.$ZodIntersection, \\"left\\" | \\"right\\">;\\nexport declare function _intersection<T extends schemas.$ZodObject, U extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodIntersection>, left: T, right: U): schemas.$ZodIntersection<T, U>;\\nexport type $ZodTupleParams = TypeParams<schemas.$ZodTuple, \\"items\\" | \\"rest\\">;\\nexport declare function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]]>(Class: util.SchemaClass<schemas.$ZodTuple>, items: T, params?: string | $ZodTupleParams): schemas.$ZodTuple<T, null>;\\nexport declare function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]], Rest extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodTuple>, items: T, rest: Rest, params?: string | $ZodTupleParams): schemas.$ZodTuple<T, Rest>;\\nexport type $ZodRecordParams = TypeParams<schemas.$ZodRecord, \\"keyType\\" | \\"valueType\\" | \\"partial\\">;\\nexport declare function _record<Key extends schemas.$ZodRecordKey, Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodRecord>, keyType: Key, valueType: Value, params?: string | $ZodRecordParams): schemas.$ZodRecord<Key, Value>;\\nexport type $ZodMapParams = TypeParams<schemas.$ZodMap, \\"keyType\\" | \\"valueType\\">;\\nexport declare function _map<Key extends schemas.$ZodObject, Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodMap>, keyType: Key, valueType: Value, params?: string | $ZodMapParams): schemas.$ZodMap<Key, Value>;\\nexport type $ZodSetParams = TypeParams<schemas.$ZodSet, \\"valueType\\">;\\nexport declare function _set<Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodSet>, valueType: Value, params?: string | $ZodSetParams): schemas.$ZodSet<Value>;\\nexport type $ZodEnumParams = TypeParams<schemas.$ZodEnum, \\"entries\\">;\\nexport declare function _enum<const T extends string[]>(Class: util.SchemaClass<schemas.$ZodEnum>, values: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<util.ToEnum<T[number]>>;\\nexport declare function _enum<T extends util.EnumLike>(Class: util.SchemaClass<schemas.$ZodEnum>, entries: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<T>;\\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\\n *\\n * ```ts\\n * enum Colors { red, green, blue }\\n * z.enum(Colors);\\n * ```\\n */\\nexport declare function _nativeEnum<T extends util.EnumLike>(Class: util.SchemaClass<schemas.$ZodEnum>, entries: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<T>;\\nexport type $ZodLiteralParams = TypeParams<schemas.$ZodLiteral, \\"values\\">;\\nexport declare function _literal<const T extends Array<util.Literal>>(Class: util.SchemaClass<schemas.$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): schemas.$ZodLiteral<T[number]>;\\nexport declare function _literal<const T extends util.Literal>(Class: util.SchemaClass<schemas.$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): schemas.$ZodLiteral<T>;\\nexport type $ZodFileParams = TypeParams<schemas.$ZodFile>;\\nexport declare function _file(Class: util.SchemaClass<schemas.$ZodFile>, params?: string | $ZodFileParams): schemas.$ZodFile;\\nexport type $ZodTransformParams = TypeParams<schemas.$ZodTransform, \\"transform\\">;\\nexport declare function _transform<I = unknown, O = I>(Class: util.SchemaClass<schemas.$ZodTransform>, fn: (input: I, ctx?: schemas.ParsePayload) => O): schemas.$ZodTransform<Awaited<O>, I>;\\nexport type $ZodOptionalParams = TypeParams<schemas.$ZodOptional, \\"innerType\\">;\\nexport declare function _optional<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodOptional>, innerType: T): schemas.$ZodOptional<T>;\\nexport type $ZodNullableParams = TypeParams<schemas.$ZodNullable, \\"innerType\\">;\\nexport declare function _nullable<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNullable>, innerType: T): schemas.$ZodNullable<T>;\\nexport type $ZodDefaultParams = TypeParams<schemas.$ZodDefault, \\"innerType\\" | \\"defaultValue\\">;\\nexport declare function _default<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodDefault>, innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): schemas.$ZodDefault<T>;\\nexport type $ZodNonOptionalParams = TypeParams<schemas.$ZodNonOptional, \\"innerType\\">;\\nexport declare function _nonoptional<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNonOptional>, innerType: T, params?: string | $ZodNonOptionalParams): schemas.$ZodNonOptional<T>;\\nexport type $ZodSuccessParams = TypeParams<schemas.$ZodSuccess, \\"innerType\\">;\\nexport declare function _success<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodSuccess>, innerType: T): schemas.$ZodSuccess<T>;\\nexport type $ZodCatchParams = TypeParams<schemas.$ZodCatch, \\"innerType\\" | \\"catchValue\\">;\\nexport declare function _catch<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodCatch>, innerType: T, catchValue: core.output<T> | ((ctx: schemas.$ZodCatchCtx) => core.output<T>)): schemas.$ZodCatch<T>;\\nexport type $ZodPipeParams = TypeParams<schemas.$ZodPipe, \\"in\\" | \\"out\\">;\\nexport declare function _pipe<const A extends schemas.$ZodType, B extends schemas.$ZodType<unknown, core.output<A>> = schemas.$ZodType<unknown, core.output<A>>>(Class: util.SchemaClass<schemas.$ZodPipe>, in_: A, out: B | schemas.$ZodType<unknown, core.output<A>>): schemas.$ZodPipe<A, B>;\\nexport type $ZodReadonlyParams = TypeParams<schemas.$ZodReadonly, \\"innerType\\">;\\nexport declare function _readonly<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodReadonly>, innerType: T): schemas.$ZodReadonly<T>;\\nexport type $ZodTemplateLiteralParams = TypeParams<schemas.$ZodTemplateLiteral, \\"parts\\">;\\nexport declare function _templateLiteral<const Parts extends schemas.$ZodTemplateLiteralPart[]>(Class: util.SchemaClass<schemas.$ZodTemplateLiteral>, parts: Parts, params?: string | $ZodTemplateLiteralParams): schemas.$ZodTemplateLiteral<schemas.$PartsToTemplateLiteral<Parts>>;\\nexport type $ZodLazyParams = TypeParams<schemas.$ZodLazy, \\"getter\\">;\\nexport declare function _lazy<T extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodLazy>, getter: () => T): schemas.$ZodLazy<T>;\\nexport type $ZodPromiseParams = TypeParams<schemas.$ZodPromise, \\"innerType\\">;\\nexport declare function _promise<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodPromise>, innerType: T): schemas.$ZodPromise<T>;\\nexport type $ZodCustomParams = CheckTypeParams<schemas.$ZodCustom, \\"fn\\">;\\nexport declare function _custom<O = unknown, I = O>(Class: util.SchemaClass<schemas.$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): schemas.$ZodCustom<O, I>;\\nexport declare function _refine<O = unknown, I = O>(Class: util.SchemaClass<schemas.$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): schemas.$ZodCustom<O, I>;\\nexport type $ZodSuperRefineIssue<T extends errors.$ZodIssueBase = errors.$ZodIssue> = T extends any ? RawIssue<T> : never;\\ntype RawIssue<T extends errors.$ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \\"message\\" | \\"path\\"> & {\\n /** The schema or check that originated this issue. */\\n readonly inst?: schemas.$ZodType | checks.$ZodCheck;\\n /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */\\n readonly continue?: boolean | undefined;\\n} & Record<string, unknown>> : never;\\nexport interface $RefinementCtx<T = unknown> extends schemas.ParsePayload<T> {\\n addIssue(arg: string | $ZodSuperRefineIssue): void;\\n}\\nexport interface $ZodSuperRefineParams {\\n /** If provided, the refinement runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */\\n when?: ((payload: schemas.ParsePayload) => boolean) | undefined;\\n}\\nexport declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>, params?: $ZodSuperRefineParams): checks.$ZodCheck<T>;\\nexport declare function _check<O = unknown>(fn: schemas.CheckFn<O>, params?: string | $ZodCustomParams): checks.$ZodCheck<O>;\\nexport declare function describe<T>(description: string): checks.$ZodCheck<T>;\\nexport declare function meta<T>(metadata: registries.GlobalMeta): checks.$ZodCheck<T>;\\nexport interface $ZodStringBoolParams extends TypeParams {\\n truthy?: string[];\\n falsy?: string[];\\n /**\\n * Options: `\\"sensitive\\"`, `\\"insensitive\\"`\\n *\\n * @default `\\"insensitive\\"`\\n */\\n case?: \\"sensitive\\" | \\"insensitive\\" | undefined;\\n}\\nexport declare function _stringbool(Classes: {\\n Codec?: typeof schemas.$ZodCodec;\\n Boolean?: typeof schemas.$ZodBoolean;\\n String?: typeof schemas.$ZodString;\\n}, _params?: string | $ZodStringBoolParams): schemas.$ZodCodec<schemas.$ZodString, schemas.$ZodBoolean>;\\nexport declare function _stringFormat<Format extends string>(Class: typeof schemas.$ZodCustomStringFormat, format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): schemas.$ZodCustomStringFormat<Format>;\\n","file:///node_modules/zod/v4/core/checks.d.ts":"import * as core from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport * as util from \\"./util.js\\";\\nexport interface $ZodCheckDef {\\n check: string;\\n error?: errors.$ZodErrorMap<never> | undefined;\\n /** If true, no later checks will be executed if this check fails. Default `false`. */\\n abort?: boolean | undefined;\\n /** If provided, the check runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */\\n when?: ((payload: schemas.ParsePayload) => boolean) | undefined;\\n}\\nexport interface $ZodCheckInternals<T> {\\n def: $ZodCheckDef;\\n /** The set of issues this check might throw. */\\n issc?: errors.$ZodIssueBase;\\n check(payload: schemas.ParsePayload<T>): util.MaybeAsync<void>;\\n onattach: ((schema: schemas.$ZodType) => void)[];\\n}\\nexport interface $ZodCheck<in T = never> {\\n _zod: $ZodCheckInternals<T>;\\n}\\nexport declare const $ZodCheck: core.$constructor<$ZodCheck<any>>;\\nexport interface $ZodCheckLessThanDef extends $ZodCheckDef {\\n check: \\"less_than\\";\\n value: util.Numeric;\\n inclusive: boolean;\\n}\\nexport interface $ZodCheckLessThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\\n def: $ZodCheckLessThanDef;\\n issc: errors.$ZodIssueTooBig<T>;\\n}\\nexport interface $ZodCheckLessThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\\n _zod: $ZodCheckLessThanInternals<T>;\\n}\\nexport declare const $ZodCheckLessThan: core.$constructor<$ZodCheckLessThan>;\\nexport interface $ZodCheckGreaterThanDef extends $ZodCheckDef {\\n check: \\"greater_than\\";\\n value: util.Numeric;\\n inclusive: boolean;\\n}\\nexport interface $ZodCheckGreaterThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\\n def: $ZodCheckGreaterThanDef;\\n issc: errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckGreaterThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\\n _zod: $ZodCheckGreaterThanInternals<T>;\\n}\\nexport declare const $ZodCheckGreaterThan: core.$constructor<$ZodCheckGreaterThan>;\\nexport interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {\\n check: \\"multiple_of\\";\\n value: T;\\n}\\nexport interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMultipleOfDef<T>;\\n issc: errors.$ZodIssueNotMultipleOf;\\n}\\nexport interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {\\n _zod: $ZodCheckMultipleOfInternals<T>;\\n}\\nexport declare const $ZodCheckMultipleOf: core.$constructor<$ZodCheckMultipleOf<number | bigint>>;\\nexport type $ZodNumberFormats = \\"int32\\" | \\"uint32\\" | \\"float32\\" | \\"float64\\" | \\"safeint\\";\\nexport interface $ZodCheckNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckDef {\\n check: \\"number_format\\";\\n format: Format;\\n}\\nexport interface $ZodCheckNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckInternals<number> {\\n def: $ZodCheckNumberFormatDef<Format>;\\n issc: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<\\"number\\"> | errors.$ZodIssueTooSmall<\\"number\\">;\\n}\\nexport interface $ZodCheckNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheck<number> {\\n _zod: $ZodCheckNumberFormatInternals<Format>;\\n}\\nexport declare const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat>;\\nexport type $ZodBigIntFormats = \\"int64\\" | \\"uint64\\";\\nexport interface $ZodCheckBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckDef {\\n check: \\"bigint_format\\";\\n format: Format;\\n}\\nexport interface $ZodCheckBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckInternals<bigint> {\\n def: $ZodCheckBigIntFormatDef<Format>;\\n issc: errors.$ZodIssueTooBig<\\"bigint\\"> | errors.$ZodIssueTooSmall<\\"bigint\\">;\\n}\\nexport interface $ZodCheckBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheck<bigint> {\\n _zod: $ZodCheckBigIntFormatInternals<Format>;\\n}\\nexport declare const $ZodCheckBigIntFormat: core.$constructor<$ZodCheckBigIntFormat>;\\nexport interface $ZodCheckMaxSizeDef extends $ZodCheckDef {\\n check: \\"max_size\\";\\n maximum: number;\\n}\\nexport interface $ZodCheckMaxSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMaxSizeDef;\\n issc: errors.$ZodIssueTooBig<T>;\\n}\\nexport interface $ZodCheckMaxSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\\n _zod: $ZodCheckMaxSizeInternals<T>;\\n}\\nexport declare const $ZodCheckMaxSize: core.$constructor<$ZodCheckMaxSize>;\\nexport interface $ZodCheckMinSizeDef extends $ZodCheckDef {\\n check: \\"min_size\\";\\n minimum: number;\\n}\\nexport interface $ZodCheckMinSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMinSizeDef;\\n issc: errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckMinSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\\n _zod: $ZodCheckMinSizeInternals<T>;\\n}\\nexport declare const $ZodCheckMinSize: core.$constructor<$ZodCheckMinSize>;\\nexport interface $ZodCheckSizeEqualsDef extends $ZodCheckDef {\\n check: \\"size_equals\\";\\n size: number;\\n}\\nexport interface $ZodCheckSizeEqualsInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\\n def: $ZodCheckSizeEqualsDef;\\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckSizeEquals<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\\n _zod: $ZodCheckSizeEqualsInternals<T>;\\n}\\nexport declare const $ZodCheckSizeEquals: core.$constructor<$ZodCheckSizeEquals>;\\nexport interface $ZodCheckMaxLengthDef extends $ZodCheckDef {\\n check: \\"max_length\\";\\n maximum: number;\\n}\\nexport interface $ZodCheckMaxLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMaxLengthDef;\\n issc: errors.$ZodIssueTooBig<T>;\\n}\\nexport interface $ZodCheckMaxLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\\n _zod: $ZodCheckMaxLengthInternals<T>;\\n}\\nexport declare const $ZodCheckMaxLength: core.$constructor<$ZodCheckMaxLength>;\\nexport interface $ZodCheckMinLengthDef extends $ZodCheckDef {\\n check: \\"min_length\\";\\n minimum: number;\\n}\\nexport interface $ZodCheckMinLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMinLengthDef;\\n issc: errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckMinLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\\n _zod: $ZodCheckMinLengthInternals<T>;\\n}\\nexport declare const $ZodCheckMinLength: core.$constructor<$ZodCheckMinLength>;\\nexport interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {\\n check: \\"length_equals\\";\\n length: number;\\n}\\nexport interface $ZodCheckLengthEqualsInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\\n def: $ZodCheckLengthEqualsDef;\\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckLengthEquals<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\\n _zod: $ZodCheckLengthEqualsInternals<T>;\\n}\\nexport declare const $ZodCheckLengthEquals: core.$constructor<$ZodCheckLengthEquals>;\\nexport type $ZodStringFormats = \\"email\\" | \\"url\\" | \\"emoji\\" | \\"uuid\\" | \\"guid\\" | \\"nanoid\\" | \\"cuid\\" | \\"cuid2\\" | \\"ulid\\" | \\"xid\\" | \\"ksuid\\" | \\"datetime\\" | \\"date\\" | \\"time\\" | \\"duration\\" | \\"ipv4\\" | \\"ipv6\\" | \\"cidrv4\\" | \\"cidrv6\\" | \\"base64\\" | \\"base64url\\" | \\"json_string\\" | \\"e164\\" | \\"credit_card\\" | \\"iban\\" | \\"lowercase\\" | \\"uppercase\\" | \\"regex\\" | \\"jwt\\" | \\"starts_with\\" | \\"ends_with\\" | \\"includes\\";\\nexport interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {\\n check: \\"string_format\\";\\n format: Format;\\n pattern?: RegExp | undefined;\\n}\\nexport interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckStringFormatDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckStringFormat extends $ZodCheck<string> {\\n _zod: $ZodCheckStringFormatInternals;\\n}\\nexport declare const $ZodCheckStringFormat: core.$constructor<$ZodCheckStringFormat>;\\nexport interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {\\n format: \\"regex\\";\\n pattern: RegExp;\\n}\\nexport interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckRegexDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckRegex extends $ZodCheck<string> {\\n _zod: $ZodCheckRegexInternals;\\n}\\nexport declare const $ZodCheckRegex: core.$constructor<$ZodCheckRegex>;\\nexport interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<\\"lowercase\\"> {\\n}\\nexport interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckLowerCaseDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckLowerCase extends $ZodCheck<string> {\\n _zod: $ZodCheckLowerCaseInternals;\\n}\\nexport declare const $ZodCheckLowerCase: core.$constructor<$ZodCheckLowerCase>;\\nexport interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<\\"uppercase\\"> {\\n}\\nexport interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckUpperCaseDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckUpperCase extends $ZodCheck<string> {\\n _zod: $ZodCheckUpperCaseInternals;\\n}\\nexport declare const $ZodCheckUpperCase: core.$constructor<$ZodCheckUpperCase>;\\nexport interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<\\"includes\\"> {\\n includes: string;\\n position?: number | undefined;\\n}\\nexport interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckIncludesDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckIncludes extends $ZodCheck<string> {\\n _zod: $ZodCheckIncludesInternals;\\n}\\nexport declare const $ZodCheckIncludes: core.$constructor<$ZodCheckIncludes>;\\nexport interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<\\"starts_with\\"> {\\n prefix: string;\\n}\\nexport interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckStartsWithDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckStartsWith extends $ZodCheck<string> {\\n _zod: $ZodCheckStartsWithInternals;\\n}\\nexport declare const $ZodCheckStartsWith: core.$constructor<$ZodCheckStartsWith>;\\nexport interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<\\"ends_with\\"> {\\n suffix: string;\\n}\\nexport interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckEndsWithDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {\\n _zod: $ZodCheckEndsWithInternals;\\n}\\nexport declare const $ZodCheckEndsWith: core.$constructor<$ZodCheckEndsWith>;\\nexport interface $ZodCheckPropertyDef extends $ZodCheckDef {\\n check: \\"property\\";\\n property: string;\\n schema: schemas.$ZodType;\\n}\\nexport interface $ZodCheckPropertyInternals<T extends object = object> extends $ZodCheckInternals<T> {\\n def: $ZodCheckPropertyDef;\\n issc: errors.$ZodIssue;\\n}\\nexport interface $ZodCheckProperty<T extends object = object> extends $ZodCheck<T> {\\n _zod: $ZodCheckPropertyInternals<T>;\\n}\\nexport declare const $ZodCheckProperty: core.$constructor<$ZodCheckProperty>;\\nexport interface $ZodCheckPropertiesDef<Shape extends schemas.$ZodShape = schemas.$ZodShape> extends $ZodCheckDef {\\n check: \\"properties\\";\\n shape: Shape;\\n}\\nexport type $ZodCheckPropertiesInput<Shape extends schemas.$ZodShape = schemas.$ZodShape> = {\\n -readonly [k in keyof Shape]: util.Widen<core.input<Shape[k]>>;\\n};\\nexport interface $ZodCheckPropertiesInternals<Shape extends schemas.$ZodShape = schemas.$ZodShape> extends $ZodCheckInternals<$ZodCheckPropertiesInput<Shape>> {\\n def: $ZodCheckPropertiesDef<Shape>;\\n issc: errors.$ZodIssue;\\n}\\nexport interface $ZodCheckProperties<Shape extends schemas.$ZodShape = schemas.$ZodShape> extends $ZodCheck<$ZodCheckPropertiesInput<Shape>> {\\n _zod: $ZodCheckPropertiesInternals<Shape>;\\n [Symbol.iterator](): Iterator<this>;\\n}\\nexport declare const $ZodCheckProperties: core.$constructor<$ZodCheckProperties>;\\nexport interface $ZodCheckMimeTypeDef extends $ZodCheckDef {\\n check: \\"mime_type\\";\\n mime: util.MimeTypes[];\\n}\\nexport interface $ZodCheckMimeTypeInternals<T extends schemas.File = schemas.File> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMimeTypeDef;\\n issc: errors.$ZodIssueInvalidValue;\\n}\\nexport interface $ZodCheckMimeType<T extends schemas.File = schemas.File> extends $ZodCheck<T> {\\n _zod: $ZodCheckMimeTypeInternals<T>;\\n}\\nexport declare const $ZodCheckMimeType: core.$constructor<$ZodCheckMimeType>;\\nexport interface $ZodCheckOverwriteDef<T = unknown> extends $ZodCheckDef {\\n check: \\"overwrite\\";\\n tx(value: T): T;\\n}\\nexport interface $ZodCheckOverwriteInternals<T = unknown> extends $ZodCheckInternals<T> {\\n def: $ZodCheckOverwriteDef<T>;\\n issc: never;\\n}\\nexport interface $ZodCheckOverwrite<T = unknown> extends $ZodCheck<T> {\\n _zod: $ZodCheckOverwriteInternals<T>;\\n}\\nexport declare const $ZodCheckOverwrite: core.$constructor<$ZodCheckOverwrite>;\\nexport type $ZodChecks = $ZodCheckLessThan | $ZodCheckGreaterThan | $ZodCheckMultipleOf | $ZodCheckNumberFormat | $ZodCheckBigIntFormat | $ZodCheckMaxSize | $ZodCheckMinSize | $ZodCheckSizeEquals | $ZodCheckMaxLength | $ZodCheckMinLength | $ZodCheckLengthEquals | $ZodCheckStringFormat | $ZodCheckProperty | $ZodCheckMimeType | $ZodCheckOverwrite;\\nexport type $ZodStringFormatChecks = $ZodCheckRegex | $ZodCheckLowerCase | $ZodCheckUpperCase | $ZodCheckIncludes | $ZodCheckStartsWith | $ZodCheckEndsWith | schemas.$ZodStringFormatTypes;\\n","file:///node_modules/zod/v4/core/compile.d.ts":"import type * as core from \\"./core.js\\";\\nimport type { SomeType } from \\"./schemas.js\\";\\n/** @internal Sentinel the compiled fast path returns when validation fails. */\\nexport declare const INVALID: unique symbol;\\n/** @internal */\\nexport type INVALID = typeof INVALID;\\ninterface CompileFnOptions {\\n debug?: boolean | undefined;\\n /** Emit a validator instead of a parser: skip building the output value where nothing reads it. */\\n assertOnly?: boolean | undefined;\\n}\\ntype CompiledFn<T> = ((input: unknown) => T | INVALID) & {\\n code?: string | undefined;\\n /** False when this function\'s INVALID does not strictly mean \\"the runtime would reject\\". */\\n definite?: boolean | undefined;\\n};\\n/** Raised when the schema contains async refinements or transforms. Surfaces only under `compile(schema, { strict: true })`. */\\nexport declare class ZodCompileAsyncError extends Error {\\n constructor(message?: string);\\n}\\n/**\\n * Raised when the schema contains a feature whose semantics the fast path\\n * can\'t fully model. Both the shim in `zod/compile` and the default\\n * `compile()` fall back to the runtime parser for that schema; only\\n * `compile(schema, { strict: true })` lets it surface.\\n */\\nexport declare class ZodCompileUnsupportedError extends Error {\\n /** Whether a container may absorb this refusal by running the child through the runtime (see `compileChild`). False when running only that node on the runtime is not equivalent to running the whole parse there — a runtime island gets no parse context, so a node that *consumes* issues rather than propagating them would finalize them against the wrong error map and still succeed. */\\n readonly islandable: boolean;\\n constructor(feature: string, islandable?: boolean);\\n}\\nexport interface CompileOptions {\\n /** Throw the refusal instead of returning the schema uncompiled. */\\n strict?: boolean | undefined;\\n}\\n/**\\n * AOT-compile a Zod schema. Returns a clone whose `_zod.run` calls a generated\\n * fast path first and falls back to the original runtime parser on failure.\\n *\\n * - Forward direction only. Backward (encode), async, and `skipChecks` paths\\n * bypass the fast path and use the runtime directly.\\n * - Never throws. A schema the fast path can\'t model is returned unchanged and\\n * keeps using the runtime parser. Pass `{ strict: true }` to get the refusal\\n * as a thrown `ZodCompileUnsupportedError` / `ZodCompileAsyncError` instead.\\n * - The original schema is unchanged. The clone shares children by reference.\\n */\\nexport declare function compile<T extends SomeType>(schema: T, options?: CompileOptions): T;\\n/**\\n * Install an already-generated parser as a schema\'s fast path. Returns a clone; the original is\\n * unchanged.\\n *\\n * The parser takes the input and returns the parsed value, or `INVALID` to hand the parse to the\\n * runtime. It must be synchronous and forward-direction, and it must build fresh output rather than\\n * return its input — Zod cannot check either, and a wrong *success* is returned to the caller as-is.\\n *\\n * `compile()` is the ordinary entry point. This is for a build-time or native compiler that produces\\n * a parser where `new Function` is unavailable.\\n */\\nexport declare function withParser<T extends SomeType>(schema: T, parser: (input: unknown) => core.output<T> | INVALID): T;\\n/**\\n * @internal Generate the standalone compiled function: a parser by default, a validator under\\n * `assertOnly`. Returns the parsed value, `true` where nothing reads the output, or `INVALID`. Consumers use `compile()`.\\n */\\nexport declare function compileFn<T extends SomeType>(schema: T, options?: CompileFnOptions): CompiledFn<core.output<T>>;\\nexport {};\\n","file:///node_modules/zod/v4/core/core.d.ts":"import type * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport type { Class, ProtoOf } from \\"./util.js\\";\\ntype ZodTrait = {\\n _zod: {\\n def: any;\\n [k: string]: any;\\n };\\n};\\nexport interface $constructor<T extends ZodTrait, D = T[\\"_zod\\"][\\"def\\"]> {\\n new (def: D): T;\\n init(inst: T, def: D): asserts inst is T;\\n}\\nexport interface $constructorParams {\\n Parent?: typeof Class;\\n}\\n/** A special constant with type `never` */\\nexport declare const NEVER: never;\\nexport declare function $constructor<T extends ZodTrait, D = T[\\"_zod\\"][\\"def\\"]>(name: string, initializer: (inst: T, def: D) => void, \\n/** This trait\'s members, installed once on every prototype that composes it. They cannot be declared in the initializer above: that runs per instance, and the prototype is shared. */\\nproto?: ProtoOf<T>, params?: $constructorParams): $constructor<T, D>;\\nexport declare const $brand: unique symbol;\\nexport type $brand<T extends string | number | symbol = string | number | symbol> = {\\n [$brand]: {\\n [k in T]: true;\\n };\\n};\\nexport type $ZodBranded<T extends schemas.SomeType, Brand extends string | number | symbol, Dir extends \\"in\\" | \\"out\\" | \\"inout\\" = \\"out\\"> = T & (Dir extends \\"inout\\" ? {\\n _zod: {\\n input: input<T> & $brand<Brand>;\\n output: output<T> & $brand<Brand>;\\n };\\n} : Dir extends \\"in\\" ? {\\n _zod: {\\n input: input<T> & $brand<Brand>;\\n };\\n} : {\\n _zod: {\\n output: output<T> & $brand<Brand>;\\n };\\n});\\nexport type $ZodNarrow<T extends schemas.SomeType, Out> = T & {\\n _zod: {\\n output: Out;\\n };\\n};\\nexport declare class $ZodAsyncError extends Error {\\n constructor();\\n}\\nexport declare class $ZodEncodeError extends Error {\\n constructor(name: string);\\n}\\nexport type input<T> = T extends {\\n _zod: {\\n input: any;\\n };\\n} ? T[\\"_zod\\"][\\"input\\"] : unknown;\\nexport type output<T> = T extends {\\n _zod: {\\n output: any;\\n };\\n} ? T[\\"_zod\\"][\\"output\\"] : unknown;\\nexport type { output as infer };\\nexport interface $ZodConfig {\\n /** Custom error map. Overrides `config().localeError`. */\\n customError?: errors.$ZodErrorMap | undefined;\\n /** Localized error map. Lowest priority. */\\n localeError?: errors.$ZodErrorMap | undefined;\\n /** Disable JIT schema compilation. Useful in environments that disallow `eval`. */\\n jitless?: boolean | undefined;\\n /** Enables parsing input that contains reference cycles. Read when a schema is constructed. */\\n memoizer?: schemas.$ZodMemoizer | undefined;\\n /**\\n * Internal: post-processor invoked on every freshly-constructed schema\\n * instance, after init and deferred fns run. Set by `import \\"zod/compile\\"`\\n * to install AOT compilation. Not part of the public API.\\n * @internal\\n */\\n postProcessor?: ((inst: any) => void) | undefined;\\n}\\nexport declare const globalConfig: $ZodConfig;\\nexport declare function config(newConfig?: Partial<$ZodConfig>): $ZodConfig;\\n","file:///node_modules/zod/v4/core/doc.d.ts":"type ModeWriter = (doc: Doc, modes: {\\n execution: \\"sync\\" | \\"async\\";\\n}) => void;\\nexport declare class Doc {\\n args: string[];\\n /** Bindings the compiled function closes over, by name. */\\n closed: Record<string, unknown>;\\n content: string[];\\n indent: number;\\n constructor(args?: string[], closed?: Record<string, unknown>);\\n indented(fn: (doc: Doc) => void): void;\\n write(fn: ModeWriter): void;\\n write(line: string): void;\\n compile(): any;\\n}\\nexport {};\\n","file:///node_modules/zod/v4/core/errors.d.ts":"import type { $ZodCheck, $ZodStringFormats } from \\"./checks.js\\";\\nimport { $constructor } from \\"./core.js\\";\\nimport type { $ZodType } from \\"./schemas.js\\";\\nimport type { StandardSchemaV1 } from \\"./standard-schema.js\\";\\nimport * as util from \\"./util.js\\";\\nexport interface $ZodIssueBase {\\n readonly code?: string;\\n readonly input?: unknown;\\n readonly path: PropertyKey[];\\n readonly message: string;\\n}\\nexport type $ZodInvalidTypeExpected = \\"string\\" | \\"number\\" | \\"int\\" | \\"boolean\\" | \\"bigint\\" | \\"symbol\\" | \\"undefined\\" | \\"null\\" | \\"never\\" | \\"void\\" | \\"date\\" | \\"array\\" | \\"object\\" | \\"tuple\\" | \\"record\\" | \\"map\\" | \\"set\\" | \\"file\\" | \\"nonoptional\\" | \\"nan\\" | \\"function\\" | (string & {});\\nexport interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_type\\";\\n readonly expected: $ZodInvalidTypeExpected;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"too_big\\";\\n readonly origin: \\"number\\" | \\"int\\" | \\"bigint\\" | \\"date\\" | \\"string\\" | \\"array\\" | \\"set\\" | \\"file\\" | (string & {});\\n readonly maximum: number | bigint;\\n readonly inclusive?: boolean;\\n readonly exact?: boolean;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"too_small\\";\\n readonly origin: \\"number\\" | \\"int\\" | \\"bigint\\" | \\"date\\" | \\"string\\" | \\"array\\" | \\"set\\" | \\"file\\" | (string & {});\\n readonly minimum: number | bigint;\\n /** True if the allowable range includes the minimum */\\n readonly inclusive?: boolean;\\n /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */\\n readonly exact?: boolean;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {\\n readonly code: \\"invalid_format\\";\\n readonly format: $ZodStringFormats | (string & {});\\n readonly pattern?: string;\\n readonly input?: string;\\n}\\nexport interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {\\n readonly code: \\"not_multiple_of\\";\\n readonly divisor: number;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {\\n readonly code: \\"unrecognized_keys\\";\\n readonly keys: string[];\\n readonly input?: Record<string, unknown>;\\n}\\ninterface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {\\n readonly code: \\"invalid_union\\";\\n readonly errors: $ZodIssue[][];\\n readonly input?: unknown;\\n readonly discriminator?: string | undefined;\\n readonly options?: util.Primitive[];\\n readonly inclusive?: true;\\n}\\ninterface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {\\n readonly code: \\"invalid_union\\";\\n readonly errors: [];\\n readonly input?: unknown;\\n readonly discriminator?: string | undefined;\\n readonly inclusive: false;\\n /** Indices of the options that matched */\\n readonly matches: number[];\\n}\\nexport type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;\\nexport interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_key\\";\\n readonly origin: \\"map\\" | \\"record\\";\\n readonly issues: $ZodIssue[];\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_element\\";\\n readonly origin: \\"map\\" | \\"set\\";\\n readonly key: unknown;\\n readonly issues: $ZodIssue[];\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_value\\";\\n readonly values: util.Primitive[];\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueCustom extends $ZodIssueBase {\\n readonly code: \\"custom\\";\\n readonly params?: Record<string, any> | undefined;\\n readonly input?: unknown;\\n}\\nexport interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {\\n format: Exclude<$ZodStringFormats, \\"regex\\" | \\"jwt\\" | \\"starts_with\\" | \\"ends_with\\" | \\"includes\\">;\\n}\\nexport interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {\\n format: \\"regex\\";\\n pattern: string;\\n}\\nexport interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {\\n format: \\"jwt\\";\\n algorithm?: string;\\n}\\nexport interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {\\n format: \\"starts_with\\";\\n prefix: string;\\n}\\nexport interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {\\n format: \\"ends_with\\";\\n suffix: string;\\n}\\nexport interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {\\n format: \\"includes\\";\\n includes: string;\\n}\\nexport type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;\\nexport type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;\\nexport type $ZodIssueCode = $ZodIssue[\\"code\\"];\\nexport type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;\\ntype RawIssue<T extends $ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \\"message\\" | \\"path\\"> & {\\n /** The input data */\\n readonly input: unknown;\\n /** The schema or check that originated this issue. */\\n readonly inst?: $ZodType | $ZodCheck;\\n /** The schema that owns the issue. Equal to `inst` when a schema originated the issue, and the schema the check was attached to when a check did. */\\n readonly schema?: $ZodType | undefined;\\n /** If `true`, Zod will continue executing checks/refinements after this issue. */\\n readonly continue?: boolean | undefined;\\n} & Record<string, unknown>> : never;\\nexport type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;\\nexport interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {\\n (issue: $ZodRawIssue<T>): {\\n message: string;\\n } | string | undefined | null;\\n}\\nexport interface $ZodError<T = unknown> extends Error {\\n type: T;\\n issues: $ZodIssue[];\\n _zod: {\\n output: T;\\n def: $ZodIssue[];\\n };\\n stack?: string;\\n name: string;\\n}\\nexport declare const $ZodError: $constructor<$ZodError>;\\ninterface $ZodRealError<T = any> extends $ZodError<T> {\\n}\\nexport declare const $ZodRealError: $constructor<$ZodRealError>;\\nexport type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;\\ntype _FlattenedError<T, U = string> = {\\n formErrors: U[];\\n fieldErrors: {\\n [P in keyof T]?: U[];\\n };\\n};\\nexport declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;\\nexport declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;\\ntype _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? {\\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\\n} : T extends any[] ? {\\n [k: number]: $ZodFormattedError<T[number], U>;\\n} : T extends object ? util.Flatten<{\\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\\n}> : any;\\nexport type $ZodFormattedError<T, U = string> = {\\n _errors: U[];\\n} & util.Flatten<_ZodFormattedError<T, U>>;\\nexport declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;\\nexport declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;\\nexport type $ZodErrorTree<T, U = string> = T extends util.Primitive ? {\\n errors: U[];\\n} : T extends [any, ...any[]] ? {\\n errors: U[];\\n items?: {\\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\\n };\\n} : T extends any[] ? {\\n errors: U[];\\n items?: Array<$ZodErrorTree<T[number], U>>;\\n} : T extends object ? {\\n errors: U[];\\n properties?: {\\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\\n };\\n} : {\\n errors: U[];\\n};\\nexport declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;\\nexport declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;\\n/** Format a ZodError as a human-readable string in the following form.\\n *\\n * From\\n *\\n * ```ts\\n * ZodError {\\n * issues: [\\n * {\\n * expected: \'string\',\\n * code: \'invalid_type\',\\n * path: [ \'username\' ],\\n * message: \'Invalid input: expected string\'\\n * },\\n * {\\n * expected: \'number\',\\n * code: \'invalid_type\',\\n * path: [ \'favoriteNumbers\', 1 ],\\n * message: \'Invalid input: expected number\'\\n * }\\n * ];\\n * }\\n * ```\\n *\\n * to\\n *\\n * ```\\n * username\\n * ✖ Expected number, received string at \\"username\\n * favoriteNumbers[0]\\n * ✖ Invalid input: expected number\\n * ```\\n */\\nexport declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;\\nexport declare function prettifyError(error: StandardSchemaV1.FailureResult): string;\\nexport {};\\n","file:///node_modules/zod/v4/core/index.d.ts":"export * from \\"./core.js\\";\\nexport * from \\"./parse.js\\";\\nexport * from \\"./errors.js\\";\\nexport * from \\"./schemas.js\\";\\nexport * from \\"./memoizer.js\\";\\nexport * from \\"./checks.js\\";\\nexport * from \\"./versions.js\\";\\nexport * as util from \\"./util.js\\";\\nexport { toZod } from \\"./util.js\\";\\nexport * as regexes from \\"./regexes.js\\";\\nexport * as locales from \\"../locales/index.js\\";\\nexport * from \\"./registries.js\\";\\nexport * from \\"./doc.js\\";\\nexport * from \\"./compile.js\\";\\nexport * from \\"./api.js\\";\\nexport * from \\"./to-json-schema.js\\";\\nexport { toJSONSchema } from \\"./json-schema-processors.js\\";\\nexport { JSONSchemaGenerator } from \\"./json-schema-generator.js\\";\\nexport * as JSONSchema from \\"./json-schema.js\\";\\n","file:///node_modules/zod/v4/core/json-schema-generator.d.ts":"import type * as JSONSchema from \\"./json-schema.js\\";\\nimport type { $ZodRegistry } from \\"./registries.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport { type JSONSchemaGeneratorParams, type ProcessParams, type Seen, type ToJSONSchemaContext } from \\"./to-json-schema.js\\";\\n/**\\n * Parameters for the emit method of JSONSchemaGenerator.\\n * @deprecated Use toJSONSchema function instead\\n */\\nexport type EmitParams = Pick<JSONSchemaGeneratorParams, \\"cycles\\" | \\"reused\\" | \\"external\\">;\\n/**\\n * Parameters for JSONSchemaGenerator constructor.\\n * @deprecated Use toJSONSchema function instead\\n */\\ntype JSONSchemaGeneratorConstructorParams = Pick<JSONSchemaGeneratorParams, \\"metadata\\" | \\"target\\" | \\"unrepresentable\\" | \\"override\\" | \\"io\\">;\\n/**\\n * Legacy class-based interface for JSON Schema generation.\\n * This class wraps the new functional implementation to provide backward compatibility.\\n *\\n * @deprecated Use the `toJSONSchema` function instead for new code.\\n *\\n * @example\\n * ```typescript\\n * // Legacy usage (still supported)\\n * const gen = new JSONSchemaGenerator({ target: \\"draft-07\\" });\\n * gen.process(schema);\\n * const result = gen.emit(schema);\\n *\\n * // Preferred modern usage\\n * const result = toJSONSchema(schema, { target: \\"draft-07\\" });\\n * ```\\n */\\nexport declare class JSONSchemaGenerator {\\n private ctx;\\n /** @deprecated Access via ctx instead */\\n get metadataRegistry(): $ZodRegistry<Record<string, any>>;\\n /** @deprecated Access via ctx instead */\\n get target(): ({} & string) | \\"draft-2020-12\\" | \\"draft-07\\" | \\"openapi-3.0\\" | \\"draft-04\\";\\n /** @deprecated Access via ctx instead */\\n get unrepresentable(): ToJSONSchemaContext[\\"unrepresentable\\"];\\n /** @deprecated Access via ctx instead */\\n get override(): (ctx: {\\n zodSchema: schemas.$ZodType;\\n jsonSchema: JSONSchema.BaseSchema;\\n path: (string | number)[];\\n }) => void;\\n /** @deprecated Access via ctx instead */\\n get io(): \\"input\\" | \\"output\\";\\n /** @deprecated Access via ctx instead */\\n get counter(): number;\\n set counter(value: number);\\n /** @deprecated Access via ctx instead */\\n get seen(): Map<schemas.$ZodType, Seen>;\\n constructor(params?: JSONSchemaGeneratorConstructorParams);\\n /**\\n * Process a schema to prepare it for JSON Schema generation.\\n * This must be called before emit().\\n */\\n process(schema: schemas.$ZodType, _params?: ProcessParams): JSONSchema.BaseSchema;\\n /**\\n * Emit the final JSON Schema after processing.\\n * Must call process() first.\\n */\\n emit(schema: schemas.$ZodType, _params?: EmitParams): JSONSchema.BaseSchema;\\n}\\nexport {};\\n","file:///node_modules/zod/v4/core/json-schema-processors.d.ts":"import type { $ZodRegistry } from \\"./registries.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport { type Processor, type RegistryToJSONSchemaParams, type ToJSONSchemaParams, type ZodStandardJSONSchemaPayload } from \\"./to-json-schema.js\\";\\ntype Bound = number | bigint | Date;\\ninterface CheckAggregate<N extends Bound = Bound> {\\n minimum?: N;\\n maximum?: N;\\n exclusiveMinimum?: N;\\n exclusiveMaximum?: N;\\n multipleOf?: number[];\\n format?: string;\\n isInt?: boolean;\\n patterns?: Set<RegExp>;\\n mime?: string[];\\n contentEncoding?: string;\\n laxFormat?: boolean;\\n}\\nexport declare function aggregateChecks<N extends Bound = Bound>(schema: schemas.$ZodType): CheckAggregate<N>;\\nexport declare const stringProcessor: Processor<schemas.$ZodString>;\\nexport declare const numberProcessor: Processor<schemas.$ZodNumber>;\\nexport declare const booleanProcessor: Processor<schemas.$ZodBoolean>;\\nexport declare const bigintProcessor: Processor<schemas.$ZodBigInt>;\\nexport declare const symbolProcessor: Processor<schemas.$ZodSymbol>;\\nexport declare const nullProcessor: Processor<schemas.$ZodNull>;\\nexport declare const undefinedProcessor: Processor<schemas.$ZodUndefined>;\\nexport declare const voidProcessor: Processor<schemas.$ZodVoid>;\\nexport declare const neverProcessor: Processor<schemas.$ZodNever>;\\nexport declare const anyProcessor: Processor<schemas.$ZodAny>;\\nexport declare const unknownProcessor: Processor<schemas.$ZodUnknown>;\\nexport declare const dateProcessor: Processor<schemas.$ZodDate>;\\nexport declare const enumProcessor: Processor<schemas.$ZodEnum>;\\nexport declare const literalProcessor: Processor<schemas.$ZodLiteral>;\\nexport declare const nanProcessor: Processor<schemas.$ZodNaN>;\\nexport declare const templateLiteralProcessor: Processor<schemas.$ZodTemplateLiteral>;\\nexport declare const fileProcessor: Processor<schemas.$ZodFile>;\\nexport declare const successProcessor: Processor<schemas.$ZodSuccess>;\\nexport declare const customProcessor: Processor<schemas.$ZodCustom>;\\nexport declare const functionProcessor: Processor<schemas.$ZodFunction>;\\nexport declare const transformProcessor: Processor<schemas.$ZodTransform>;\\nexport declare const mapProcessor: Processor<schemas.$ZodMap>;\\nexport declare const setProcessor: Processor<schemas.$ZodSet>;\\nexport declare const arrayProcessor: Processor<schemas.$ZodArray>;\\nexport declare const objectProcessor: Processor<schemas.$ZodObject>;\\nexport declare const unionProcessor: Processor<schemas.$ZodUnion>;\\nexport declare const intersectionProcessor: Processor<schemas.$ZodIntersection>;\\nexport declare const tupleProcessor: Processor<schemas.$ZodTuple>;\\nexport declare const recordProcessor: Processor<schemas.$ZodRecord>;\\nexport declare const nullableProcessor: Processor<schemas.$ZodNullable>;\\nexport declare const nonoptionalProcessor: Processor<schemas.$ZodNonOptional>;\\nexport declare const defaultProcessor: Processor<schemas.$ZodDefault>;\\nexport declare const prefaultProcessor: Processor<schemas.$ZodPrefault>;\\nexport declare const catchProcessor: Processor<schemas.$ZodCatch>;\\nexport declare const pipeProcessor: Processor<schemas.$ZodPipe>;\\nexport declare const readonlyProcessor: Processor<schemas.$ZodReadonly>;\\nexport declare const promiseProcessor: Processor<schemas.$ZodPromise>;\\nexport declare const optionalProcessor: Processor<schemas.$ZodOptional>;\\nexport declare const lazyProcessor: Processor<schemas.$ZodLazy>;\\nexport declare const allProcessors: Record<string, Processor<any>>;\\nexport declare function toJSONSchema<T extends schemas.$ZodType>(schema: T, params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<T>;\\nexport declare function toJSONSchema(registry: $ZodRegistry<{\\n id?: string | undefined;\\n}>, params?: RegistryToJSONSchemaParams): {\\n schemas: Record<string, ZodStandardJSONSchemaPayload<schemas.$ZodType>>;\\n};\\nexport {};\\n","file:///node_modules/zod/v4/core/json-schema.d.ts":"export type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;\\nexport type _JSONSchema = boolean | JSONSchema;\\nexport type SchemaType = \\"object\\" | \\"array\\" | \\"string\\" | \\"number\\" | \\"boolean\\" | \\"null\\" | \\"integer\\";\\nexport type JSONSchema = {\\n [k: string]: unknown;\\n $schema?: \\"https://json-schema.org/draft/2020-12/schema\\" | \\"http://json-schema.org/draft-07/schema#\\" | \\"http://json-schema.org/draft-04/schema#\\";\\n $id?: string;\\n $anchor?: string;\\n $ref?: string;\\n $dynamicRef?: string;\\n $dynamicAnchor?: string;\\n $vocabulary?: Record<string, boolean>;\\n $comment?: string;\\n $defs?: Record<string, JSONSchema>;\\n type?: SchemaType | SchemaType[];\\n additionalItems?: _JSONSchema;\\n unevaluatedItems?: _JSONSchema;\\n prefixItems?: _JSONSchema[];\\n items?: _JSONSchema | _JSONSchema[];\\n contains?: _JSONSchema;\\n additionalProperties?: _JSONSchema;\\n unevaluatedProperties?: _JSONSchema;\\n properties?: Record<string, _JSONSchema>;\\n patternProperties?: Record<string, _JSONSchema>;\\n dependentSchemas?: Record<string, _JSONSchema>;\\n propertyNames?: _JSONSchema;\\n if?: _JSONSchema;\\n then?: _JSONSchema;\\n else?: _JSONSchema;\\n allOf?: JSONSchema[];\\n anyOf?: JSONSchema[];\\n oneOf?: JSONSchema[];\\n not?: _JSONSchema;\\n multipleOf?: number;\\n maximum?: number;\\n exclusiveMaximum?: number | boolean;\\n minimum?: number;\\n exclusiveMinimum?: number | boolean;\\n maxLength?: number;\\n minLength?: number;\\n pattern?: string;\\n maxItems?: number;\\n minItems?: number;\\n uniqueItems?: boolean;\\n maxContains?: number;\\n minContains?: number;\\n maxProperties?: number;\\n minProperties?: number;\\n required?: string[];\\n dependentRequired?: Record<string, string[]>;\\n enum?: Array<string | number | boolean | null>;\\n const?: string | number | boolean | null;\\n id?: string;\\n title?: string;\\n description?: string;\\n default?: unknown;\\n deprecated?: boolean;\\n readOnly?: boolean;\\n writeOnly?: boolean;\\n nullable?: boolean;\\n examples?: unknown[];\\n format?: string;\\n contentMediaType?: string;\\n contentEncoding?: string;\\n contentSchema?: JSONSchema;\\n _prefault?: unknown;\\n};\\nexport type BaseSchema = JSONSchema;\\nexport interface ObjectSchema extends JSONSchema {\\n type: \\"object\\";\\n}\\nexport interface ArraySchema extends JSONSchema {\\n type: \\"array\\";\\n}\\nexport interface StringSchema extends JSONSchema {\\n type: \\"string\\";\\n}\\nexport interface NumberSchema extends JSONSchema {\\n type: \\"number\\";\\n}\\nexport interface IntegerSchema extends JSONSchema {\\n type: \\"integer\\";\\n}\\nexport interface BooleanSchema extends JSONSchema {\\n type: \\"boolean\\";\\n}\\nexport interface NullSchema extends JSONSchema {\\n type: \\"null\\";\\n}\\n","file:///node_modules/zod/v4/core/memoizer.d.ts":"import type { $ZodMemoizer, $ZodType } from \\"./schemas.js\\";\\nexport declare class $ZodCyclicError extends Error {\\n constructor();\\n}\\n/**\\n * Whether one parse can re-enter this schema, i.e. its subtree contains a cycle.\\n * Exported for `z.compile`, which refuses to compile such a schema: cycle\\n * breaking is driven from here off state keyed on the parse context, and a\\n * generated fast path has no context to key on.\\n */\\nexport declare function isRecursiveSchema(inst: $ZodType): boolean;\\n/** The memoizer that gives containers cycle support. `zod` installs it by default; `zod/mini` opts in with `config({ memoizer: memoizer() })`. */\\nexport declare function memoizer(): $ZodMemoizer;\\n/** Whether this value is a node a back-edge resolved to before it finished. */\\nexport declare function isBackEdge(ctx: object, value: unknown): boolean;\\n","file:///node_modules/zod/v4/core/parse.d.ts":"import * as core from \\"./core.js\\";\\nimport * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport * as util from \\"./util.js\\";\\nexport type $ZodErrorClass = {\\n new (issues: errors.$ZodIssue[]): errors.$ZodError;\\n};\\ntype $ParseParams = {\\n callee?: util.AnyFunc;\\n Err?: $ZodErrorClass | undefined;\\n};\\nexport type $Parse = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => core.output<T>;\\nexport declare const _parse: (_Err: $ZodErrorClass) => $Parse;\\nexport declare const parse: $Parse;\\nexport type $ParseAsync = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => Promise<core.output<T>>;\\nexport declare const _parseAsync: (_Err: $ZodErrorClass) => $ParseAsync;\\nexport declare const parseAsync: $ParseAsync;\\nexport type $SafeParse = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => util.SafeParseResult<core.output<T>>;\\nexport declare const _safeParse: (_Err: $ZodErrorClass) => $SafeParse;\\nexport declare const safeParse: $SafeParse;\\nexport type $SafeParseAsync = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<util.SafeParseResult<core.output<T>>>;\\nexport declare const _safeParseAsync: (_Err: $ZodErrorClass) => $SafeParseAsync;\\nexport declare const safeParseAsync: $SafeParseAsync;\\nexport type $Validate = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => value is core.input<T>;\\nexport declare const validate: $Validate;\\nexport type $ValidateAsync = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<boolean>;\\nexport declare const validateAsync: $ValidateAsync;\\nexport type $Encode = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => core.input<T>;\\nexport declare const _encode: (_Err: $ZodErrorClass) => $Encode;\\nexport declare const encode: $Encode;\\nexport type $Decode = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => core.output<T>;\\nexport declare const _decode: (_Err: $ZodErrorClass) => $Decode;\\nexport declare const decode: $Decode;\\nexport type $EncodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => Promise<core.input<T>>;\\nexport declare const _encodeAsync: (_Err: $ZodErrorClass) => $EncodeAsync;\\nexport declare const encodeAsync: $EncodeAsync;\\nexport type $DecodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => Promise<core.output<T>>;\\nexport declare const _decodeAsync: (_Err: $ZodErrorClass) => $DecodeAsync;\\nexport declare const decodeAsync: $DecodeAsync;\\nexport type $SafeEncode = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => util.SafeParseResult<core.input<T>>;\\nexport declare const _safeEncode: (_Err: $ZodErrorClass) => $SafeEncode;\\nexport declare const safeEncode: $SafeEncode;\\nexport type $SafeDecode = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => util.SafeParseResult<core.output<T>>;\\nexport declare const _safeDecode: (_Err: $ZodErrorClass) => $SafeDecode;\\nexport declare const safeDecode: $SafeDecode;\\nexport type $SafeEncodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<util.SafeParseResult<core.input<T>>>;\\nexport declare const _safeEncodeAsync: (_Err: $ZodErrorClass) => $SafeEncodeAsync;\\nexport declare const safeEncodeAsync: $SafeEncodeAsync;\\nexport type $SafeDecodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<util.SafeParseResult<core.output<T>>>;\\nexport declare const _safeDecodeAsync: (_Err: $ZodErrorClass) => $SafeDecodeAsync;\\nexport declare const safeDecodeAsync: $SafeDecodeAsync;\\nexport {};\\n","file:///node_modules/zod/v4/core/regexes.d.ts":"/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const cuid: RegExp;\\nexport declare const cuid2: RegExp;\\nexport declare const ulid: RegExp;\\nexport declare const xid: RegExp;\\nexport declare const ksuid: RegExp;\\nexport declare const nanoid: RegExp;\\nexport declare function nanoidOfLength(length: number): RegExp;\\n/** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */\\nexport declare const duration: RegExp;\\n/** Implements ISO 8601-2 extensions like explicit +- prefixes, mixing weeks with other units, and fractional/negative components. */\\nexport declare const extendedDuration: RegExp;\\n/** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */\\nexport declare const guid: RegExp;\\n/** Returns a regex for validating an RFC 9562/4122 UUID.\\n *\\n * @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */\\nexport declare const uuid: (version?: number | undefined) => RegExp;\\nexport declare const uuid4: RegExp;\\nexport declare const uuid6: RegExp;\\nexport declare const uuid7: RegExp;\\n/** Practical email validation */\\nexport declare const email: RegExp;\\n/** Equivalent to the HTML5 input[type=email] validation implemented by browsers. Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email */\\nexport declare const html5Email: RegExp;\\n/** The classic emailregex.com regex for RFC 5322-compliant emails */\\nexport declare const rfc5322Email: RegExp;\\n/** A loose regex that allows Unicode characters, enforces length limits, and that\'s about it. */\\nexport declare const unicodeEmail: RegExp;\\nexport declare const idnEmail: RegExp;\\nexport declare const browserEmail: RegExp;\\nexport declare function emoji(): RegExp;\\nexport declare const ipv4: RegExp;\\nexport declare const ipv6: RegExp;\\nexport declare const mac: (delimiter?: string) => RegExp;\\nexport declare const cidrv4: RegExp;\\nexport declare const cidrv6: RegExp;\\nexport declare const base64: RegExp;\\nexport declare const base64url: RegExp;\\nexport declare const hostname: RegExp;\\nexport declare const domain: RegExp;\\nexport declare const httpProtocol: RegExp;\\nexport declare const e164: RegExp;\\nexport declare const creditCard: RegExp;\\nexport declare const currencyCode: RegExp;\\nexport declare const iban: RegExp;\\nexport declare const date: RegExp;\\nexport declare function time(args: {\\n precision?: number | null;\\n}): RegExp;\\nexport declare function datetime(args: {\\n precision?: number | null;\\n offset?: boolean;\\n local?: boolean;\\n}): RegExp;\\nexport declare const anyString: RegExp;\\nexport declare const string: (params?: {\\n minimum?: number | undefined;\\n maximum?: number | undefined;\\n}) => RegExp;\\nexport declare const bigint: RegExp;\\nexport declare const integer: RegExp;\\nexport declare const number: RegExp;\\nexport declare const boolean: RegExp;\\ndeclare const _null: RegExp;\\nexport { _null as null };\\ndeclare const _undefined: RegExp;\\nexport { _undefined as undefined };\\nexport declare const lowercase: RegExp;\\nexport declare const uppercase: RegExp;\\nexport declare const hex: RegExp;\\nexport declare const md5_hex: RegExp;\\nexport declare const md5_base64: RegExp;\\nexport declare const md5_base64url: RegExp;\\nexport declare const sha1_hex: RegExp;\\nexport declare const sha1_base64: RegExp;\\nexport declare const sha1_base64url: RegExp;\\nexport declare const sha256_hex: RegExp;\\nexport declare const sha256_base64: RegExp;\\nexport declare const sha256_base64url: RegExp;\\nexport declare const sha384_hex: RegExp;\\nexport declare const sha384_base64: RegExp;\\nexport declare const sha384_base64url: RegExp;\\nexport declare const sha512_hex: RegExp;\\nexport declare const sha512_base64: RegExp;\\nexport declare const sha512_base64url: RegExp;\\n","file:///node_modules/zod/v4/core/registries.d.ts":"import type * as core from \\"./core.js\\";\\nimport type { $ZodType } from \\"./schemas.js\\";\\nexport declare const $output: unique symbol;\\nexport type $output = typeof $output;\\nexport declare const $input: unique symbol;\\nexport type $input = typeof $input;\\nexport type $replace<Meta, S extends $ZodType> = Meta extends $output ? core.output<S> : Meta extends $input ? core.input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends (...args: infer P) => infer R ? (...args: {\\n [K in keyof P]: $replace<P[K], S>;\\n}) => $replace<R, S> : Meta extends object ? {\\n [K in keyof Meta]: $replace<Meta[K], S>;\\n} : Meta;\\ntype MetadataType = object | undefined;\\nexport declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {\\n _meta: Meta;\\n _schema: Schema;\\n _map: WeakMap<Schema, $replace<Meta, Schema>>;\\n _idmap: Map<string, Schema>;\\n add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;\\n clear(): this;\\n remove(schema: Schema): this;\\n get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;\\n has(schema: Schema): boolean;\\n}\\nexport interface JSONSchemaMeta {\\n id?: string | undefined;\\n title?: string | undefined;\\n description?: string | undefined;\\n deprecated?: boolean | undefined;\\n [k: string]: unknown;\\n}\\nexport interface GlobalMeta extends JSONSchemaMeta {\\n}\\nexport declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;\\nexport declare const globalRegistry: $ZodRegistry<GlobalMeta>;\\nexport {};\\n","file:///node_modules/zod/v4/core/schemas.d.ts":"import * as checks from \\"./checks.js\\";\\nimport type { $ZodNumberFormats } from \\"./checks.js\\";\\nimport type { $ZodBigIntFormats } from \\"./checks.js\\";\\nimport * as core from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport type * as JSONSchema from \\"./json-schema.js\\";\\nimport type { StandardSchemaV1 } from \\"./standard-schema.js\\";\\nimport type { ProcessParams, ToJSONSchemaContext } from \\"./to-json-schema.js\\";\\nimport * as util from \\"./util.js\\";\\nimport { version } from \\"./versions.js\\";\\nexport interface ParseContext<T extends errors.$ZodIssueBase = never> {\\n /** Customize error messages. */\\n readonly error?: errors.$ZodErrorMap<T>;\\n /** Include the `input` field in issue objects. Default `false`. */\\n readonly reportInput?: boolean;\\n /** Skip eval-based fast path. Default `false`. */\\n readonly jitless?: boolean;\\n}\\n/** @internal */\\nexport interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {\\n readonly async?: boolean | undefined;\\n readonly direction?: \\"forward\\" | \\"backward\\";\\n readonly skipChecks?: boolean;\\n /** Set only by `validate`/`validateAsync`. A container may stop before its next child, never inside one, so a map entry and a tuple\'s fixed items parse whole. */\\n readonly abortEarly?: boolean;\\n}\\n/** Gives a container cycle support: `attach` wraps its parse, and `alloc` registers the object it builds into before any child is parsed so a reference back to the same input resolves to it. */\\nexport interface $ZodMemoizer {\\n attach(inst: $ZodType): void;\\n guard(inst: $ZodType): void;\\n alloc<T extends object>(inst: $ZodType, payload: ParsePayload, empty: T, ctx: ParseContextInternal): T;\\n}\\nexport interface ParsePayload<T = unknown> {\\n value: T;\\n issues: errors.$ZodRawIssue[];\\n /** A way to mark a whole payload as aborted. Used in codecs/pipes. */\\n aborted?: boolean;\\n /** @internal Set when the value came from a repeat visit to a node still being\\n * parsed. Its checks run on the node itself, against the finished value. */\\n memo?: boolean | undefined;\\n}\\nexport type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;\\nexport interface $ZodTypeDef {\\n 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\\";\\n error?: errors.$ZodErrorMap<never> | undefined;\\n checks?: checks.$ZodCheck<never>[];\\n}\\nexport interface _$ZodTypeInternals {\\n /** The `@zod/core` version of this schema */\\n version: typeof version;\\n /** Schema definition. */\\n def: $ZodTypeDef;\\n /** @internal Randomly generated ID for this schema. */\\n /** @internal List of deferred initializers. */\\n deferred: util.AnyFunc[] | undefined;\\n /** @internal Parses input and runs all checks (refinements). */\\n run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\\n /** @internal Parses input, doesn\'t run checks. */\\n parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\\n /** @internal Stores identifiers for the set of traits implemented by this schema. */\\n traits: Set<string>;\\n /** @internal Indicates that a schema output type should be considered optional inside objects.\\n * @default Required\\n */\\n /** @internal Three rungs, each strictly stronger than the last:\\n * undefined — required; the container may not omit this slot\\n * \\"optional\\" — the container may omit it; nothing is supplied in its place\\n * \\"defaulted\\" — the container may omit it AND this schema substitutes a value\\n * Consumers asking \\"may the slot be absent?\\" test `!== undefined`.\\n * $ZodOptional asks the stronger question and tests `=== \\"defaulted\\"`. */\\n optin?: \\"optional\\" | \\"defaulted\\" | undefined;\\n /** @internal */\\n optout?: \\"optional\\" | undefined;\\n /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().\\n *\\n * Defined on: enum, const, literal, null, undefined\\n * Passthrough: optional, nullable, branded, default, catch, pipe\\n * Todo: unions?\\n */\\n values?: util.PrimitiveSet | undefined;\\n /** Default value bubbled up from */\\n /** @internal A set of literal discriminators used for the fast path in discriminated unions. */\\n propValues?: util.PropValues | undefined;\\n /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */\\n pattern: RegExp | undefined;\\n /** @internal The constructor function of this schema. */\\n constr: new (def: any) => $ZodType;\\n /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */\\n bag: Record<string, unknown>;\\n /** @internal The set of issues this schema might throw during type checking. */\\n isst: errors.$ZodIssueBase;\\n /** @internal Subject to change, not a public API. */\\n processJSONSchema?: ((ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void) | undefined;\\n /** An optional method used to override `toJSONSchema` logic. */\\n toJSONSchema?: () => unknown;\\n /** @internal The parent of this schema. Only set during certain clone operations. */\\n parent?: $ZodType | undefined;\\n}\\n/** @internal */\\nexport interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {\\n /** @internal The inferred output type */\\n output: O;\\n /** @internal The inferred input type */\\n input: I;\\n}\\nexport type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;\\nexport type SomeType = {\\n _zod: _$ZodTypeInternals;\\n};\\nexport interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {\\n _zod: Internals;\\n \\"~standard\\": $ZodStandardSchema<this>;\\n}\\nexport interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T[\\"output\\"], T[\\"input\\"], T> {\\n}\\nexport declare const $ZodType: core.$constructor<$ZodType>;\\nexport declare function standardProps(inst: $ZodType): StandardSchemaV1.Props<any, any>;\\nexport { clone } from \\"./util.js\\";\\nexport interface $ZodStringDef extends $ZodTypeDef {\\n type: \\"string\\";\\n coerce?: boolean;\\n checks?: checks.$ZodCheck<string>[];\\n}\\nexport interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {\\n def: $ZodStringDef;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n pattern: RegExp;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: number;\\n maximum: number;\\n patterns: Set<RegExp>;\\n format: string;\\n contentEncoding: string;\\n /** the pattern admits strings its `format` keyword forbids, so `toJSONSchema` must not emit it */\\n laxFormat: boolean;\\n }>;\\n}\\nexport interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {\\n}\\nexport declare const $ZodString: core.$constructor<$ZodString>;\\nexport interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, checks.$ZodCheckStringFormatDef<Format> {\\n}\\nexport interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, checks.$ZodCheckStringFormatInternals {\\n def: $ZodStringFormatDef<Format>;\\n}\\nexport interface $ZodStringFormat<Format extends string = string> extends $ZodType {\\n _zod: $ZodStringFormatInternals<Format>;\\n}\\nexport declare const $ZodStringFormat: core.$constructor<$ZodStringFormat>;\\nexport interface $ZodGUIDDef extends $ZodStringFormatDef<\\"guid\\"> {\\n}\\nexport interface $ZodGUIDInternals extends $ZodStringFormatInternals<\\"guid\\"> {\\n}\\nexport interface $ZodGUID extends $ZodType {\\n _zod: $ZodGUIDInternals;\\n}\\nexport declare const $ZodGUID: core.$constructor<$ZodGUID>;\\nexport interface $ZodUUIDDef extends $ZodStringFormatDef<\\"uuid\\"> {\\n version?: \\"v1\\" | \\"v2\\" | \\"v3\\" | \\"v4\\" | \\"v5\\" | \\"v6\\" | \\"v7\\" | \\"v8\\";\\n}\\nexport interface $ZodUUIDInternals extends $ZodStringFormatInternals<\\"uuid\\"> {\\n def: $ZodUUIDDef;\\n}\\nexport interface $ZodUUID extends $ZodType {\\n _zod: $ZodUUIDInternals;\\n}\\nexport declare const $ZodUUID: core.$constructor<$ZodUUID>;\\nexport interface $ZodEmailDef extends $ZodStringFormatDef<\\"email\\"> {\\n}\\nexport interface $ZodEmailInternals extends $ZodStringFormatInternals<\\"email\\"> {\\n}\\nexport interface $ZodEmail extends $ZodType {\\n _zod: $ZodEmailInternals;\\n}\\nexport declare const $ZodEmail: core.$constructor<$ZodEmail>;\\nexport interface $ZodURLDef extends $ZodStringFormatDef<\\"url\\"> {\\n hostname?: RegExp | undefined;\\n protocol?: RegExp | undefined;\\n normalize?: boolean | undefined;\\n}\\nexport interface $ZodURLInternals extends $ZodStringFormatInternals<\\"url\\"> {\\n def: $ZodURLDef;\\n}\\nexport interface $ZodURL extends $ZodType {\\n _zod: $ZodURLInternals;\\n}\\n/** The `://` guard rejected the input before the URL constructor saw it. */\\nexport declare const URL_BAD_FORMAT = 1;\\n/** The URL parser rejected the input. */\\nexport declare const URL_UNPARSEABLE = 2;\\nexport declare function canParseURL(input: string): boolean;\\nexport declare function validateURL(trimmed: string, def: Pick<$ZodURLDef, \\"protocol\\" | \\"hostname\\" | \\"normalize\\">): URL | true | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;\\n/** Parses a URL while preserving the non-normalizing HTTP guard. */\\nexport declare function parseURLObject(trimmed: string, def: Pick<$ZodURLDef, \\"protocol\\" | \\"normalize\\">): URL | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;\\n/** The URL parser deletes every ASCII tab, LF and CR from its input before it parses, so `new URL(\\"https://exa\\\\nmple.com\\")` reports on `example.com`. Applying the same deletion to the returned value closes the half of that divergence which can move the host; the parser\'s other rewrite, stripping C0 controls at the edges, cannot. */\\nexport declare function stripTabAndNewline(value: string): string;\\nexport declare function urlHostnameOk(url: URL, hostname: RegExp): boolean;\\nexport declare function urlProtocolOk(url: URL, protocol: RegExp): boolean;\\nexport declare const $ZodURL: core.$constructor<$ZodURL>;\\nexport interface $ZodEmojiDef extends $ZodStringFormatDef<\\"emoji\\"> {\\n}\\nexport interface $ZodEmojiInternals extends $ZodStringFormatInternals<\\"emoji\\"> {\\n}\\nexport interface $ZodEmoji extends $ZodType {\\n _zod: $ZodEmojiInternals;\\n}\\nexport declare const $ZodEmoji: core.$constructor<$ZodEmoji>;\\nexport interface $ZodNanoIDDef extends $ZodStringFormatDef<\\"nanoid\\"> {\\n length?: number | undefined;\\n}\\nexport interface $ZodNanoIDInternals extends $ZodStringFormatInternals<\\"nanoid\\"> {\\n def: $ZodNanoIDDef;\\n}\\nexport interface $ZodNanoID extends $ZodType {\\n _zod: $ZodNanoIDInternals;\\n}\\nexport declare const $ZodNanoID: core.$constructor<$ZodNanoID>;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface $ZodCUIDDef extends $ZodStringFormatDef<\\"cuid\\"> {\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface $ZodCUIDInternals extends $ZodStringFormatInternals<\\"cuid\\"> {\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface $ZodCUID extends $ZodType {\\n _zod: $ZodCUIDInternals;\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const $ZodCUID: core.$constructor<$ZodCUID>;\\nexport interface $ZodCUID2Def extends $ZodStringFormatDef<\\"cuid2\\"> {\\n}\\nexport interface $ZodCUID2Internals extends $ZodStringFormatInternals<\\"cuid2\\"> {\\n}\\nexport interface $ZodCUID2 extends $ZodType {\\n _zod: $ZodCUID2Internals;\\n}\\nexport declare const $ZodCUID2: core.$constructor<$ZodCUID2>;\\nexport interface $ZodULIDDef extends $ZodStringFormatDef<\\"ulid\\"> {\\n}\\nexport interface $ZodULIDInternals extends $ZodStringFormatInternals<\\"ulid\\"> {\\n}\\nexport interface $ZodULID extends $ZodType {\\n _zod: $ZodULIDInternals;\\n}\\nexport declare const $ZodULID: core.$constructor<$ZodULID>;\\nexport interface $ZodXIDDef extends $ZodStringFormatDef<\\"xid\\"> {\\n}\\nexport interface $ZodXIDInternals extends $ZodStringFormatInternals<\\"xid\\"> {\\n}\\nexport interface $ZodXID extends $ZodType {\\n _zod: $ZodXIDInternals;\\n}\\nexport declare const $ZodXID: core.$constructor<$ZodXID>;\\nexport interface $ZodKSUIDDef extends $ZodStringFormatDef<\\"ksuid\\"> {\\n}\\nexport interface $ZodKSUIDInternals extends $ZodStringFormatInternals<\\"ksuid\\"> {\\n}\\nexport interface $ZodKSUID extends $ZodType {\\n _zod: $ZodKSUIDInternals;\\n}\\nexport declare const $ZodKSUID: core.$constructor<$ZodKSUID>;\\nexport interface $ZodISODateTimeDef extends $ZodStringFormatDef<\\"datetime\\"> {\\n precision: number | null;\\n offset: boolean;\\n local: boolean;\\n}\\nexport interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {\\n def: $ZodISODateTimeDef;\\n}\\nexport interface $ZodISODateTime extends $ZodType {\\n _zod: $ZodISODateTimeInternals;\\n}\\nexport declare const $ZodISODateTime: core.$constructor<$ZodISODateTime>;\\nexport interface $ZodISODateDef extends $ZodStringFormatDef<\\"date\\"> {\\n}\\nexport interface $ZodISODateInternals extends $ZodStringFormatInternals<\\"date\\"> {\\n}\\nexport interface $ZodISODate extends $ZodType {\\n _zod: $ZodISODateInternals;\\n}\\nexport declare const $ZodISODate: core.$constructor<$ZodISODate>;\\nexport interface $ZodISOTimeDef extends $ZodStringFormatDef<\\"time\\"> {\\n precision?: number | null;\\n}\\nexport interface $ZodISOTimeInternals extends $ZodStringFormatInternals<\\"time\\"> {\\n def: $ZodISOTimeDef;\\n}\\nexport interface $ZodISOTime extends $ZodType {\\n _zod: $ZodISOTimeInternals;\\n}\\nexport declare const $ZodISOTime: core.$constructor<$ZodISOTime>;\\nexport interface $ZodISODurationDef extends $ZodStringFormatDef<\\"duration\\"> {\\n}\\nexport interface $ZodISODurationInternals extends $ZodStringFormatInternals<\\"duration\\"> {\\n}\\nexport interface $ZodISODuration extends $ZodType {\\n _zod: $ZodISODurationInternals;\\n}\\nexport declare const $ZodISODuration: core.$constructor<$ZodISODuration>;\\nexport interface $ZodIPv4Def extends $ZodStringFormatDef<\\"ipv4\\"> {\\n version?: \\"v4\\";\\n}\\nexport interface $ZodIPv4Internals extends $ZodStringFormatInternals<\\"ipv4\\"> {\\n def: $ZodIPv4Def;\\n}\\nexport interface $ZodIPv4 extends $ZodType {\\n _zod: $ZodIPv4Internals;\\n}\\nexport declare const $ZodIPv4: core.$constructor<$ZodIPv4>;\\nexport interface $ZodIPv6Def extends $ZodStringFormatDef<\\"ipv6\\"> {\\n version?: \\"v6\\";\\n}\\nexport interface $ZodIPv6Internals extends $ZodStringFormatInternals<\\"ipv6\\"> {\\n def: $ZodIPv6Def;\\n}\\nexport interface $ZodIPv6 extends $ZodType {\\n _zod: $ZodIPv6Internals;\\n}\\nexport declare function isValidIPv6(value: string): boolean;\\nexport declare const $ZodIPv6: core.$constructor<$ZodIPv6>;\\nexport interface $ZodMACDef extends $ZodStringFormatDef<\\"mac\\"> {\\n delimiter?: string;\\n}\\nexport interface $ZodMACInternals extends $ZodStringFormatInternals<\\"mac\\"> {\\n def: $ZodMACDef;\\n}\\nexport interface $ZodMAC extends $ZodType {\\n _zod: $ZodMACInternals;\\n}\\nexport declare const $ZodMAC: core.$constructor<$ZodMAC>;\\nexport interface $ZodCIDRv4Def extends $ZodStringFormatDef<\\"cidrv4\\"> {\\n version?: \\"v4\\";\\n}\\nexport interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<\\"cidrv4\\"> {\\n def: $ZodCIDRv4Def;\\n}\\nexport interface $ZodCIDRv4 extends $ZodType {\\n _zod: $ZodCIDRv4Internals;\\n}\\nexport declare const $ZodCIDRv4: core.$constructor<$ZodCIDRv4>;\\nexport interface $ZodCIDRv6Def extends $ZodStringFormatDef<\\"cidrv6\\"> {\\n version?: \\"v6\\";\\n}\\nexport interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<\\"cidrv6\\"> {\\n def: $ZodCIDRv6Def;\\n}\\nexport interface $ZodCIDRv6 extends $ZodType {\\n _zod: $ZodCIDRv6Internals;\\n}\\nexport declare function isValidCIDRv6(value: string): boolean;\\nexport declare const $ZodCIDRv6: core.$constructor<$ZodCIDRv6>;\\nexport declare function isValidBase64(data: string): boolean;\\nexport interface $ZodBase64Def extends $ZodStringFormatDef<\\"base64\\"> {\\n}\\nexport interface $ZodBase64Internals extends $ZodStringFormatInternals<\\"base64\\"> {\\n}\\nexport interface $ZodBase64 extends $ZodType {\\n _zod: $ZodBase64Internals;\\n}\\nexport declare const base64Charset: RegExp;\\nexport declare const $ZodBase64: core.$constructor<$ZodBase64>;\\nexport declare const base64urlCharset: RegExp;\\nexport declare function isValidBase64URL(data: string): boolean;\\nexport interface $ZodBase64URLDef extends $ZodStringFormatDef<\\"base64url\\"> {\\n}\\nexport interface $ZodBase64URLInternals extends $ZodStringFormatInternals<\\"base64url\\"> {\\n}\\nexport interface $ZodBase64URL extends $ZodType {\\n _zod: $ZodBase64URLInternals;\\n}\\nexport declare const $ZodBase64URL: core.$constructor<$ZodBase64URL>;\\nexport interface $ZodE164Def extends $ZodStringFormatDef<\\"e164\\"> {\\n}\\nexport interface $ZodE164Internals extends $ZodStringFormatInternals<\\"e164\\"> {\\n}\\nexport interface $ZodE164 extends $ZodType {\\n _zod: $ZodE164Internals;\\n}\\nexport declare const $ZodE164: core.$constructor<$ZodE164>;\\nexport declare function isValidCreditCard(input: string): boolean;\\nexport interface $ZodCreditCardDef extends $ZodStringFormatDef<\\"credit_card\\"> {\\n}\\nexport interface $ZodCreditCardInternals extends $ZodStringFormatInternals<\\"credit_card\\"> {\\n def: $ZodCreditCardDef;\\n}\\nexport interface $ZodCreditCard extends $ZodType {\\n _zod: $ZodCreditCardInternals;\\n}\\nexport declare const $ZodCreditCard: core.$constructor<$ZodCreditCard>;\\nexport declare function isValidIBAN(input: string): boolean;\\nexport interface $ZodIBANDef extends $ZodStringFormatDef<\\"iban\\"> {\\n}\\nexport interface $ZodIBANInternals extends $ZodStringFormatInternals<\\"iban\\"> {\\n def: $ZodIBANDef;\\n}\\nexport interface $ZodIBAN extends $ZodType {\\n _zod: $ZodIBANInternals;\\n}\\nexport declare const $ZodIBAN: core.$constructor<$ZodIBAN>;\\nexport declare function isValidJWT(token: string, algorithm?: util.JWTAlgorithm | null): boolean;\\nexport interface $ZodJWTDef extends $ZodStringFormatDef<\\"jwt\\"> {\\n alg?: util.JWTAlgorithm | undefined;\\n}\\nexport interface $ZodJWTInternals extends $ZodStringFormatInternals<\\"jwt\\"> {\\n def: $ZodJWTDef;\\n}\\nexport interface $ZodJWT extends $ZodType {\\n _zod: $ZodJWTInternals;\\n}\\nexport declare const $ZodJWT: core.$constructor<$ZodJWT>;\\nexport interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {\\n fn: (val: string) => unknown;\\n}\\nexport interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {\\n def: $ZodCustomStringFormatDef<Format>;\\n}\\nexport interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {\\n _zod: $ZodCustomStringFormatInternals<Format>;\\n}\\nexport declare const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat>;\\nexport interface $ZodNumberDef extends $ZodTypeDef {\\n type: \\"number\\";\\n coerce?: boolean;\\n}\\nexport interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {\\n def: $ZodNumberDef;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n pattern: RegExp;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: number;\\n maximum: number;\\n exclusiveMinimum: number;\\n exclusiveMaximum: number;\\n format: string;\\n pattern: RegExp;\\n }>;\\n}\\nexport interface $ZodNumber<Input = unknown> extends $ZodType {\\n _zod: $ZodNumberInternals<Input>;\\n}\\nexport declare const $ZodNumber: core.$constructor<$ZodNumber>;\\nexport interface $ZodNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef<Format> {\\n}\\nexport interface $ZodNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals<Format> {\\n def: $ZodNumberFormatDef<Format>;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodType {\\n _zod: $ZodNumberFormatInternals<Format>;\\n}\\nexport declare const $ZodNumberFormat: core.$constructor<$ZodNumberFormat>;\\nexport interface $ZodBooleanDef extends $ZodTypeDef {\\n type: \\"boolean\\";\\n coerce?: boolean;\\n checks?: checks.$ZodCheck<boolean>[];\\n}\\nexport interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {\\n pattern: RegExp;\\n def: $ZodBooleanDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodBoolean<T = unknown> extends $ZodType {\\n _zod: $ZodBooleanInternals<T>;\\n}\\nexport declare const $ZodBoolean: core.$constructor<$ZodBoolean>;\\nexport interface $ZodBigIntDef extends $ZodTypeDef {\\n type: \\"bigint\\";\\n coerce?: boolean;\\n}\\nexport interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {\\n pattern: RegExp;\\n /** @internal Internal API, use with caution */\\n def: $ZodBigIntDef;\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: bigint;\\n maximum: bigint;\\n format: string;\\n }>;\\n}\\nexport interface $ZodBigInt<T = unknown> extends $ZodType {\\n _zod: $ZodBigIntInternals<T>;\\n}\\nexport declare const $ZodBigInt: core.$constructor<$ZodBigInt>;\\nexport interface $ZodBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef<Format> {\\n check: \\"bigint_format\\";\\n}\\nexport interface $ZodBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals<Format> {\\n def: $ZodBigIntFormatDef<Format>;\\n}\\nexport interface $ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodType {\\n _zod: $ZodBigIntFormatInternals<Format>;\\n}\\nexport declare const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat>;\\nexport interface $ZodSymbolDef extends $ZodTypeDef {\\n type: \\"symbol\\";\\n}\\nexport interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {\\n def: $ZodSymbolDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodSymbol extends $ZodType {\\n _zod: $ZodSymbolInternals;\\n}\\nexport declare const $ZodSymbol: core.$constructor<$ZodSymbol>;\\nexport interface $ZodUndefinedDef extends $ZodTypeDef {\\n type: \\"undefined\\";\\n}\\nexport interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {\\n pattern: RegExp;\\n def: $ZodUndefinedDef;\\n values: util.PrimitiveSet;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodUndefined extends $ZodType {\\n _zod: $ZodUndefinedInternals;\\n}\\nexport declare const $ZodUndefined: core.$constructor<$ZodUndefined>;\\nexport interface $ZodNullDef extends $ZodTypeDef {\\n type: \\"null\\";\\n}\\nexport interface $ZodNullInternals extends $ZodTypeInternals<null, null> {\\n pattern: RegExp;\\n def: $ZodNullDef;\\n values: util.PrimitiveSet;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNull extends $ZodType {\\n _zod: $ZodNullInternals;\\n}\\nexport declare const $ZodNull: core.$constructor<$ZodNull>;\\nexport interface $ZodAnyDef extends $ZodTypeDef {\\n type: \\"any\\";\\n}\\nexport interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {\\n def: $ZodAnyDef;\\n isst: never;\\n}\\nexport interface $ZodAny extends $ZodType {\\n _zod: $ZodAnyInternals;\\n}\\nexport declare const $ZodAny: core.$constructor<$ZodAny>;\\nexport interface $ZodUnknownDef extends $ZodTypeDef {\\n type: \\"unknown\\";\\n}\\nexport interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {\\n def: $ZodUnknownDef;\\n isst: never;\\n}\\nexport interface $ZodUnknown extends $ZodType {\\n _zod: $ZodUnknownInternals;\\n}\\nexport declare const $ZodUnknown: core.$constructor<$ZodUnknown>;\\nexport interface $ZodNeverDef extends $ZodTypeDef {\\n type: \\"never\\";\\n}\\nexport interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {\\n def: $ZodNeverDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNever extends $ZodType {\\n _zod: $ZodNeverInternals;\\n}\\nexport declare const $ZodNever: core.$constructor<$ZodNever>;\\nexport interface $ZodVoidDef extends $ZodTypeDef {\\n type: \\"void\\";\\n}\\nexport interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {\\n def: $ZodVoidDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodVoid extends $ZodType {\\n _zod: $ZodVoidInternals;\\n}\\nexport declare const $ZodVoid: core.$constructor<$ZodVoid>;\\nexport interface $ZodDateDef extends $ZodTypeDef {\\n type: \\"date\\";\\n coerce?: boolean;\\n}\\nexport interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {\\n def: $ZodDateDef;\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: Date;\\n maximum: Date;\\n format: string;\\n }>;\\n}\\nexport interface $ZodDate<T = unknown> extends $ZodType {\\n _zod: $ZodDateInternals<T>;\\n}\\nexport declare const $ZodDate: core.$constructor<$ZodDate>;\\nexport interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"array\\";\\n element: T;\\n}\\nexport interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {\\n def: $ZodArrayDef<T>;\\n isst: errors.$ZodIssueInvalidType;\\n output: core.output<T>[];\\n input: core.input<T>[];\\n}\\nexport interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {\\n}\\nexport declare const $ZodArray: core.$constructor<$ZodArray>;\\ntype OptionalOutSchema = {\\n _zod: {\\n optout: \\"optional\\";\\n };\\n};\\ntype OptionalInSchema = {\\n _zod: {\\n optin: \\"optional\\" | \\"defaulted\\";\\n };\\n};\\nexport type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : {\\n [k in string]: core.output<T[keyof T]>;\\n} : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k][\\"_zod\\"][\\"output\\"];\\n} & {\\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k][\\"_zod\\"][\\"output\\"];\\n} & Extra>;\\nexport type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : {\\n [k in string]: core.input<T[keyof T]>;\\n} : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k][\\"_zod\\"][\\"input\\"];\\n} & {\\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k][\\"_zod\\"][\\"input\\"];\\n} & Extra>;\\nexport type $ZodObjectConfig = {\\n out: Record<string, unknown>;\\n in: Record<string, unknown>;\\n};\\nexport type $loose = {\\n out: Record<string, unknown>;\\n in: Record<string, unknown>;\\n};\\nexport type $strict = {\\n out: {};\\n in: {};\\n};\\nexport type $strip = {\\n out: {};\\n in: {};\\n};\\nexport type $catchall<T extends SomeType> = {\\n out: {\\n [k: string]: core.output<T>;\\n };\\n in: {\\n [k: string]: core.input<T>;\\n };\\n};\\nexport type $ZodShape = Readonly<{\\n [k: string]: $ZodType;\\n}>;\\nexport interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {\\n type: \\"object\\";\\n shape: Shape;\\n catchall?: $ZodType | undefined;\\n}\\nexport interface $ZodObjectInternals<\\n/** @ts-ignore Cast variance */\\nout Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {\\n def: $ZodObjectDef<Shape>;\\n config: Config;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;\\n propValues: util.PropValues;\\n output: $InferObjectOutput<Shape, Config[\\"out\\"]>;\\n input: $InferObjectInput<Shape, Config[\\"in\\"]>;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport type $ZodLooseShape = Record<string, any>;\\nexport interface $ZodObject<\\n/** @ts-ignore Cast variance */\\nout Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {\\n}\\nexport declare const $ZodObject: core.$constructor<$ZodObject>;\\nexport declare const $ZodObjectJIT: core.$constructor<$ZodObject>;\\nexport type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;\\nexport type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;\\nexport interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {\\n type: \\"union\\";\\n options: Options;\\n inclusive?: boolean;\\n}\\ntype IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;\\ntype IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;\\nexport interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {\\n def: $ZodUnionDef<T>;\\n isst: errors.$ZodIssueInvalidUnion;\\n pattern: T[number][\\"_zod\\"][\\"pattern\\"];\\n values: T[number][\\"_zod\\"][\\"values\\"];\\n output: $InferUnionOutput<T[number]>;\\n input: $InferUnionInput<T[number]>;\\n optin: IsOptionalIn<T[number]> extends false ? \\"optional\\" | \\"defaulted\\" | undefined : \\"optional\\" | \\"defaulted\\";\\n optout: IsOptionalOut<T[number]> extends false ? \\"optional\\" | undefined : \\"optional\\";\\n}\\nexport interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {\\n _zod: $ZodUnionInternals<T>;\\n}\\nexport declare const $ZodUnion: core.$constructor<$ZodUnion>;\\nexport interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {\\n}\\nexport interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {\\n _zod: $ZodXorInternals<T>;\\n}\\nexport declare const $ZodXor: core.$constructor<$ZodXor>;\\nexport interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {\\n discriminator: Disc;\\n unionFallback?: boolean;\\n}\\nexport interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {\\n def: $ZodDiscriminatedUnionDef<Options, Disc>;\\n propValues: util.PropValues;\\n bag: util.LoosePartial<{\\n optionsMap: Map<util.Primitive, $ZodType | null>;\\n }>;\\n}\\n/** The discriminator values a member of `Options` can declare. An omittable discriminator contributes `undefined`, matching what `propValues` claims for it. */\\nexport type $DiscriminatorValue<Options extends readonly SomeType[], Disc extends string> = {\\n [I in keyof Options]: Options[I] extends {\\n _zod: {\\n output: infer Out;\\n };\\n } ? Disc extends keyof Out ? Out[Disc] : never : never;\\n}[number];\\n/** The member of `Options` that declares `V`. */\\nexport type $DiscriminatedOption<Options extends readonly SomeType[], Disc extends string, V> = {\\n [I in keyof Options]: Options[I] extends {\\n _zod: {\\n output: infer Out;\\n };\\n } ? Disc extends keyof Out ? V extends Out[Disc] ? Options[I] : never : never : never;\\n}[number];\\n/** Returns the option whose discriminator claims `value`, or throws if ambiguous. */\\nexport declare function getDiscriminatedOption<Options extends readonly SomeType[], Disc extends string, const V extends $DiscriminatorValue<Options, Disc>>(union: $ZodDiscriminatedUnion<Options, Disc>, value: V): $DiscriminatedOption<Options, Disc, V>;\\nexport interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {\\n _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;\\n}\\nexport declare const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion>;\\nexport interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"intersection\\";\\n left: Left;\\n right: Right;\\n}\\nexport interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {\\n def: $ZodIntersectionDef<A, B>;\\n isst: never;\\n optin: A[\\"_zod\\"][\\"optin\\"] | B[\\"_zod\\"][\\"optin\\"];\\n optout: A[\\"_zod\\"][\\"optout\\"] | B[\\"_zod\\"][\\"optout\\"];\\n output: core.output<A> & core.output<B>;\\n input: core.input<A> & core.input<B>;\\n}\\nexport interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodIntersectionInternals<A, B>;\\n}\\nexport declare const $ZodIntersection: core.$constructor<$ZodIntersection>;\\nexport declare function mergeValues(a: any, b: any): {\\n valid: true;\\n data: any;\\n} | {\\n valid: false;\\n mergeErrorPath: (string | number)[];\\n};\\nexport interface $ZodTupleDef<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {\\n type: \\"tuple\\";\\n items: T;\\n rest: Rest;\\n}\\nexport type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [\\n ...TupleInputTypeWithOptionals<T>,\\n ...(Rest extends SomeType ? core.input<Rest>[] : [])\\n];\\ntype TupleInputTypeNoOptionals<T extends util.TupleItems> = {\\n [k in keyof T]: core.input<T[k]>;\\n};\\ntype TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\\n ...infer Prefix extends SomeType[],\\n infer Tail extends SomeType\\n] ? Tail[\\"_zod\\"][\\"optin\\"] extends \\"optional\\" | \\"defaulted\\" ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?] : TupleInputTypeNoOptionals<T> : [];\\nexport type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [\\n ...TupleOutputTypeWithOptionals<T>,\\n ...(Rest extends SomeType ? core.output<Rest>[] : [])\\n];\\ntype TupleOutputTypeNoOptionals<T extends util.TupleItems> = {\\n [k in keyof T]: core.output<T[k]>;\\n};\\ntype TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\\n ...infer Prefix extends SomeType[],\\n infer Tail extends SomeType\\n] ? Tail[\\"_zod\\"][\\"optout\\"] extends \\"optional\\" ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];\\nexport interface $ZodTupleInternals<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {\\n def: $ZodTupleDef<T, Rest>;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;\\n output: $InferTupleOutputType<T, Rest>;\\n input: $InferTupleInputType<T, Rest>;\\n}\\nexport interface $ZodTuple<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {\\n _zod: $ZodTupleInternals<T, Rest>;\\n}\\nexport declare const $ZodTuple: core.$constructor<$ZodTuple>;\\nexport type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;\\nexport interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"record\\";\\n keyType: Key;\\n valueType: Value;\\n /** @default \\"strict\\" - errors on keys not matching keyType. \\"loose\\" passes through non-matching keys unchanged. */\\n mode?: \\"strict\\" | \\"loose\\";\\n partial?: boolean;\\n}\\nexport 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>>;\\nexport type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>> : [\\n Value\\n] extends [OptionalInSchema] ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>> : Record<core.input<Key> & PropertyKey, core.input<Value>>;\\nexport interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals {\\n def: $ZodRecordDef<Key, Value>;\\n output: $InferZodRecordOutput<Key, Value>;\\n input: $InferZodRecordInput<Key, Value>;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport type $partial = {\\n \\"~~partial\\": true;\\n};\\nexport interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodRecordInternals<Key, Value>;\\n}\\nexport declare const $ZodRecord: core.$constructor<$ZodRecord>;\\nexport interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"map\\";\\n keyType: Key;\\n valueType: Value;\\n}\\nexport 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>>> {\\n def: $ZodMapDef<Key, Value>;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodMapInternals<Key, Value>;\\n}\\nexport declare const $ZodMap: core.$constructor<$ZodMap>;\\nexport interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"set\\";\\n valueType: T;\\n}\\nexport interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {\\n def: $ZodSetDef<T>;\\n isst: errors.$ZodIssueInvalidType;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodSetInternals<T>;\\n}\\nexport declare const $ZodSet: core.$constructor<$ZodSet>;\\nexport type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};\\nexport type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};\\nexport interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {\\n type: \\"enum\\";\\n entries: T;\\n}\\nexport interface $ZodEnumInternals<\\n/** @ts-ignore Cast variance */\\nout T extends util.EnumLike = util.EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {\\n def: $ZodEnumDef<T>;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n values: util.PrimitiveSet;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n pattern: RegExp;\\n isst: errors.$ZodIssueInvalidValue;\\n}\\nexport interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {\\n _zod: $ZodEnumInternals<T>;\\n}\\nexport declare const $ZodEnum: core.$constructor<$ZodEnum>;\\nexport interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {\\n type: \\"literal\\";\\n values: T[];\\n}\\nexport interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {\\n def: $ZodLiteralDef<T>;\\n values: Set<T>;\\n pattern: RegExp;\\n isst: errors.$ZodIssueInvalidValue;\\n}\\nexport interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {\\n _zod: $ZodLiteralInternals<T>;\\n}\\nexport declare const $ZodLiteral: core.$constructor<$ZodLiteral>;\\ntype _File = typeof globalThis extends {\\n File: infer F extends new (...args: any[]) => any;\\n} ? InstanceType<F> : {};\\n/** Do not reference this directly. */\\nexport interface File extends _File {\\n readonly type: string;\\n readonly size: number;\\n}\\nexport interface $ZodFileDef extends $ZodTypeDef {\\n type: \\"file\\";\\n}\\nexport interface $ZodFileInternals extends $ZodTypeInternals<File, File> {\\n def: $ZodFileDef;\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: number;\\n maximum: number;\\n mime: util.MimeTypes[];\\n }>;\\n}\\nexport interface $ZodFile extends $ZodType {\\n _zod: $ZodFileInternals;\\n}\\nexport declare const $ZodFile: core.$constructor<$ZodFile>;\\nexport interface $ZodTransformDef extends $ZodTypeDef {\\n type: \\"transform\\";\\n transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;\\n}\\nexport interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {\\n def: $ZodTransformDef;\\n isst: never;\\n}\\nexport interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {\\n _zod: $ZodTransformInternals<O, I>;\\n}\\nexport declare const $ZodTransform: core.$constructor<$ZodTransform>;\\nexport interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"optional\\";\\n innerType: T;\\n}\\nexport interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {\\n def: $ZodOptionalDef<T>;\\n optin: \\"optional\\" | \\"defaulted\\";\\n optout: \\"optional\\";\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n pattern: T[\\"_zod\\"][\\"pattern\\"];\\n}\\nexport interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodOptionalInternals<T>;\\n}\\nexport declare const $ZodOptional: core.$constructor<$ZodOptional>;\\nexport interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {\\n}\\nexport interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {\\n def: $ZodExactOptionalDef<T>;\\n output: core.output<T>;\\n input: core.input<T>;\\n}\\nexport interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodExactOptionalInternals<T>;\\n}\\nexport declare const $ZodExactOptional: core.$constructor<$ZodExactOptional>;\\nexport interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"nullable\\";\\n innerType: T;\\n}\\nexport interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {\\n def: $ZodNullableDef<T>;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n pattern: T[\\"_zod\\"][\\"pattern\\"];\\n}\\nexport interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodNullableInternals<T>;\\n}\\nexport declare const $ZodNullable: core.$constructor<$ZodNullable>;\\nexport interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"default\\";\\n innerType: T;\\n /** The default value. May be a getter. */\\n defaultValue: util.NoUndefined<core.output<T>>;\\n}\\nexport interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {\\n def: $ZodDefaultDef<T>;\\n optin: \\"defaulted\\";\\n optout?: \\"optional\\" | undefined;\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodDefaultInternals<T>;\\n}\\nexport declare const $ZodDefault: core.$constructor<$ZodDefault>;\\nexport interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"prefault\\";\\n innerType: T;\\n /** The default value. May be a getter. */\\n defaultValue: core.input<T>;\\n}\\nexport interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T> | undefined> {\\n def: $ZodPrefaultDef<T>;\\n optin: \\"defaulted\\";\\n optout?: \\"optional\\" | undefined;\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodPrefaultInternals<T>;\\n}\\nexport declare const $ZodPrefault: core.$constructor<$ZodPrefault>;\\nexport interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"nonoptional\\";\\n innerType: T;\\n}\\nexport interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {\\n def: $ZodNonOptionalDef<T>;\\n isst: errors.$ZodIssueInvalidType;\\n values: T[\\"_zod\\"][\\"values\\"];\\n optin: \\"optional\\" | undefined;\\n optout: \\"optional\\" | undefined;\\n}\\nexport interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodNonOptionalInternals<T>;\\n}\\nexport declare const $ZodNonOptional: core.$constructor<$ZodNonOptional>;\\nexport interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"success\\";\\n innerType: T;\\n}\\nexport interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {\\n def: $ZodSuccessDef<T>;\\n isst: never;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: \\"optional\\" | undefined;\\n}\\nexport interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodSuccessInternals<T>;\\n}\\nexport declare const $ZodSuccess: core.$constructor<$ZodSuccess>;\\nexport interface $ZodCatchCtx extends ParsePayload {\\n /** @deprecated Use `ctx.issues` */\\n error: {\\n issues: errors.$ZodIssue[];\\n };\\n /** @deprecated Use `ctx.value` */\\n input: unknown;\\n}\\nexport interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"catch\\";\\n innerType: T;\\n catchValue: (ctx: $ZodCatchCtx) => unknown;\\n}\\nexport interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\\n def: $ZodCatchDef<T>;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodCatchInternals<T>;\\n}\\nexport declare const $ZodCatch: core.$constructor<$ZodCatch>;\\nexport interface $ZodNaNDef extends $ZodTypeDef {\\n type: \\"nan\\";\\n}\\nexport interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {\\n def: $ZodNaNDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNaN extends $ZodType {\\n _zod: $ZodNaNInternals;\\n}\\nexport declare const $ZodNaN: core.$constructor<$ZodNaN>;\\nexport interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"pipe\\";\\n in: A;\\n out: B;\\n /** Only defined inside $ZodCodec instances. */\\n transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\\n /** Only defined inside $ZodCodec instances. */\\n reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\\n}\\nexport interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\\n def: $ZodPipeDef<A, B>;\\n isst: never;\\n values: A[\\"_zod\\"][\\"values\\"];\\n optin: A[\\"_zod\\"][\\"optin\\"];\\n optout: B[\\"_zod\\"][\\"optout\\"];\\n propValues: A[\\"_zod\\"][\\"propValues\\"];\\n}\\nexport interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodPipeInternals<A, B>;\\n}\\nexport declare const $ZodPipe: core.$constructor<$ZodPipe>;\\nexport interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {\\n transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\\n reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\\n}\\nexport interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\\n def: $ZodCodecDef<A, B>;\\n isst: never;\\n values: A[\\"_zod\\"][\\"values\\"];\\n optin: A[\\"_zod\\"][\\"optin\\"];\\n optout: B[\\"_zod\\"][\\"optout\\"];\\n propValues: A[\\"_zod\\"][\\"propValues\\"];\\n}\\nexport interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodCodecInternals<A, B>;\\n}\\nexport declare const $ZodCodec: core.$constructor<$ZodCodec>;\\nexport interface $ZodPreprocessDef<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeDef<$ZodTransform<unknown, I>, B> {\\n in: $ZodTransform<unknown, I>;\\n out: B;\\n}\\nexport interface $ZodPreprocessInternals<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeInternals<$ZodTransform<unknown, I>, B> {\\n def: $ZodPreprocessDef<B, I>;\\n optin: B[\\"_zod\\"][\\"optin\\"];\\n optout: B[\\"_zod\\"][\\"optout\\"];\\n}\\nexport interface $ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends $ZodPipe<$ZodTransform<unknown, I>, B> {\\n _zod: $ZodPreprocessInternals<B, I>;\\n}\\nexport declare const $ZodPreprocess: core.$constructor<$ZodPreprocess>;\\nexport interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"readonly\\";\\n innerType: T;\\n}\\nexport interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {\\n def: $ZodReadonlyDef<T>;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n isst: never;\\n propValues: T[\\"_zod\\"][\\"propValues\\"];\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodReadonlyInternals<T>;\\n}\\nexport declare const $ZodReadonly: core.$constructor<$ZodReadonly>;\\nexport interface $ZodTemplateLiteralDef extends $ZodTypeDef {\\n type: \\"template_literal\\";\\n parts: $ZodTemplateLiteralPart[];\\n format?: string | undefined;\\n}\\nexport interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {\\n pattern: RegExp;\\n def: $ZodTemplateLiteralDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {\\n _zod: $ZodTemplateLiteralInternals<Template>;\\n}\\ntype LiteralPart = Exclude<util.Literal, symbol>;\\ninterface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {\\n pattern: RegExp;\\n}\\ninterface SchemaPart extends $ZodType {\\n _zod: SchemaPartInternals;\\n}\\nexport type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;\\ntype UndefinedToEmptyString<T> = T extends undefined ? \\"\\" : T;\\ntype 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;\\nexport type ConcatenateTupleOfStrings<T extends string[]> = T extends [\\n infer First extends string,\\n ...infer Rest extends string[]\\n] ? Rest extends string[] ? First extends \\"\\" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : \\"\\";\\nexport type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {\\n [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;\\n};\\nexport type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;\\nexport type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;\\nexport declare const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral>;\\nexport type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;\\nexport type $ZodFunctionIn = $ZodFunctionArgs;\\nexport type $ZodFunctionOut = $ZodType;\\nexport type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => core.input<Returns>;\\nexport type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => util.MaybeAsync<core.input<Returns>>;\\nexport type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => core.output<Returns>;\\nexport type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => Promise<core.output<Returns>>;\\nexport interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {\\n type: \\"function\\";\\n input: In;\\n output: Out;\\n}\\nexport interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {\\n def: $ZodFunctionDef<Args, Returns>;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {\\n /** @deprecated */\\n _def: $ZodFunctionDef<Args, Returns>;\\n _input: $InferInnerFunctionType<Args, Returns>;\\n _output: $InferOuterFunctionType<Args, Returns>;\\n implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this[\\"_output\\"]>) => ReturnType<F> extends ReturnType<this[\\"_output\\"]> ? ReturnType<F> : ReturnType<this[\\"_output\\"]>;\\n implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;\\n input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;\\n input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;\\n input(...args: any[]): $ZodFunction<any, Returns>;\\n output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;\\n}\\nexport interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {\\n input?: I;\\n output?: O;\\n}\\nexport declare const $ZodFunction: core.$constructor<$ZodFunction>;\\nexport interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"promise\\";\\n innerType: T;\\n}\\nexport interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<core.output<T>>, util.MaybeAsync<core.input<T>>> {\\n def: $ZodPromiseDef<T>;\\n isst: never;\\n}\\nexport interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodPromiseInternals<T>;\\n}\\nexport declare const $ZodPromise: core.$constructor<$ZodPromise>;\\nexport interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"lazy\\";\\n getter: () => T;\\n}\\nexport interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\\n def: $ZodLazyDef<T>;\\n isst: never;\\n /** Auto-cached way to retrieve the inner schema */\\n innerType: T;\\n pattern: T[\\"_zod\\"][\\"pattern\\"];\\n propValues: T[\\"_zod\\"][\\"propValues\\"];\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n}\\nexport interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodLazyInternals<T>;\\n}\\nexport declare const $ZodLazy: core.$constructor<$ZodLazy>;\\nexport interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {\\n type: \\"custom\\";\\n check: \\"custom\\";\\n path?: PropertyKey[] | undefined;\\n error?: errors.$ZodErrorMap | undefined;\\n params?: Record<string, any> | undefined;\\n fn: (arg: O) => unknown;\\n}\\nexport interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, checks.$ZodCheckInternals<O> {\\n def: $ZodCustomDef;\\n issc: errors.$ZodIssue;\\n isst: never;\\n bag: util.LoosePartial<{\\n Class: typeof util.Class;\\n }>;\\n}\\nexport interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {\\n _zod: $ZodCustomInternals<O, I>;\\n}\\nexport declare const $ZodCustom: core.$constructor<$ZodCustom>;\\nexport 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;\\nexport type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodMAC | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodCreditCard | $ZodIBAN | $ZodJWT | $ZodCustomStringFormat<\\"hex\\"> | $ZodCustomStringFormat<util.HashFormat> | $ZodCustomStringFormat<\\"hostname\\"> | $ZodCustomStringFormat<\\"currency_code\\">;\\n","file:///node_modules/zod/v4/core/standard-schema.d.ts":"/** The Standard interface. */\\nexport interface StandardTypedV1<Input = unknown, Output = Input> {\\n /** The Standard properties. */\\n readonly \\"~standard\\": StandardTypedV1.Props<Input, Output>;\\n}\\nexport declare namespace StandardTypedV1 {\\n /** The Standard properties interface. */\\n interface Props<Input = unknown, Output = Input> {\\n /** The version number of the standard. */\\n readonly version: 1;\\n /** The vendor name of the schema library. */\\n readonly vendor: string;\\n /** Inferred types associated with the schema. */\\n readonly types?: Types<Input, Output> | undefined;\\n }\\n /** The Standard types interface. */\\n interface Types<Input = unknown, Output = Input> {\\n /** The input type of the schema. */\\n readonly input: Input;\\n /** The output type of the schema. */\\n readonly output: Output;\\n }\\n /** Infers the input type of a Standard. */\\n type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"input\\"];\\n /** Infers the output type of a Standard. */\\n type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"output\\"];\\n}\\n/** The Standard Schema interface. */\\nexport interface StandardSchemaV1<Input = unknown, Output = Input> {\\n /** The Standard Schema properties. */\\n readonly \\"~standard\\": StandardSchemaV1.Props<Input, Output>;\\n}\\nexport declare namespace StandardSchemaV1 {\\n /** The Standard Schema properties interface. */\\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\\n /** Validates unknown input values. */\\n readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;\\n }\\n /** The result interface of the validate function. */\\n type Result<Output> = SuccessResult<Output> | FailureResult;\\n /** The result interface if validation succeeds. */\\n interface SuccessResult<Output> {\\n /** The typed output value. */\\n readonly value: Output;\\n /** The absence of issues indicates success. */\\n readonly issues?: undefined;\\n }\\n interface Options {\\n /** Implicit support for additional vendor-specific parameters, if needed. */\\n readonly libraryOptions?: Record<string, unknown> | undefined;\\n }\\n /** The result interface if validation fails. */\\n interface FailureResult {\\n /** The issues of failed validation. */\\n readonly issues: ReadonlyArray<Issue>;\\n }\\n /** The issue interface of the failure output. */\\n interface Issue {\\n /** The error message of the issue. */\\n readonly message: string;\\n /** The path of the issue, if any. */\\n readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\\n }\\n /** The path segment interface of the issue. */\\n interface PathSegment {\\n /** The key representing a path segment. */\\n readonly key: PropertyKey;\\n }\\n /** The Standard types interface. */\\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\\n }\\n /** Infers the input type of a Standard. */\\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\\n /** Infers the output type of a Standard. */\\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\\n}\\n/** The Standard JSON Schema interface. */\\nexport interface StandardJSONSchemaV1<Input = unknown, Output = Input> {\\n /** The Standard JSON Schema properties. */\\n readonly \\"~standard\\": StandardJSONSchemaV1.Props<Input, Output>;\\n}\\nexport declare namespace StandardJSONSchemaV1 {\\n /** The Standard JSON Schema properties interface. */\\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\\n /** Methods for generating the input/output JSON Schema. */\\n readonly jsonSchema: Converter;\\n }\\n /** The Standard JSON Schema converter interface. */\\n interface Converter {\\n /** Converts the input type to JSON Schema. May throw if conversion is not supported. */\\n readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\\n /** Converts the output type to JSON Schema. May throw if conversion is not supported. */\\n readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\\n }\\n /** The target version of the generated JSON Schema.\\n *\\n * It is *strongly recommended* that implementers support `\\"draft-2020-12\\"` and `\\"draft-07\\"`, as they are both in wide use.\\n *\\n * The `\\"openapi-3.0\\"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `\\"draft-04\\"`.\\n *\\n * All other targets can be implemented on a best-effort basis. Libraries should throw if they don\'t support a specified target.\\n */\\n type Target = \\"draft-2020-12\\" | \\"draft-07\\" | \\"openapi-3.0\\" | ({} & string);\\n /** The options for the input/output methods. */\\n interface Options {\\n /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */\\n readonly target: Target;\\n /** Implicit support for additional vendor-specific parameters, if needed. */\\n readonly libraryOptions?: Record<string, unknown> | undefined;\\n }\\n /** The Standard types interface. */\\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\\n }\\n /** Infers the input type of a Standard. */\\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\\n /** Infers the output type of a Standard. */\\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\\n}\\nexport interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {\\n}\\n/**\\n * An interface that combines StandardJSONSchema and StandardSchema.\\n */\\nexport interface StandardSchemaWithJSON<Input = unknown, Output = Input> {\\n \\"~standard\\": StandardSchemaWithJSONProps<Input, Output>;\\n}\\n","file:///node_modules/zod/v4/core/to-json-schema.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport type * as JSONSchema from \\"./json-schema.js\\";\\nimport { type $ZodRegistry } from \\"./registries.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport type { StandardJSONSchemaV1, StandardSchemaWithJSONProps } from \\"./standard-schema.js\\";\\nexport type Processor<T extends schemas.$ZodType = schemas.$ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void;\\n/**\\n * Called for each schema that has no JSON Schema equivalent. Return a JSON Schema to use in its\\n * place, `\\"any\\"` to fall back to the `unrepresentable: \\"any\\"` behavior, or `\\"throw\\"`/`undefined` to\\n * throw the default error. Throwing from the handler propagates, so custom errors work too.\\n */\\nexport type UnrepresentableHandler<T extends schemas.$ZodType = schemas.$ZodType> = (ctx: {\\n zodSchema: T;\\n path: (string | number)[];\\n /** The error Zod would throw. Distinguishes sites that share a `zodSchema`, e.g. an `undefined`\\n * vs a `bigint` member of the same literal. */\\n message: string;\\n}) => JSONSchema.BaseSchema | \\"throw\\" | \\"any\\" | undefined;\\nexport interface JSONSchemaGeneratorParams {\\n processors: Record<string, Processor>;\\n /** A registry used to look up metadata for each schema. Any schema with an `id` property will be extracted as a $def.\\n * @default globalRegistry */\\n metadata?: $ZodRegistry<Record<string, any>>;\\n /** The JSON Schema version to target.\\n * - `\\"draft-2020-12\\"` — Default. JSON Schema Draft 2020-12\\n * - `\\"draft-07\\"` — JSON Schema Draft 7\\n * - `\\"draft-04\\"` — JSON Schema Draft 4\\n * - `\\"openapi-3.0\\"` — OpenAPI 3.0 Schema Object */\\n target?: \\"draft-04\\" | \\"draft-07\\" | \\"draft-2020-12\\" | \\"openapi-3.0\\" | ({} & string) | undefined;\\n /** How to handle unrepresentable types.\\n * - `\\"throw\\"` — Default. Unrepresentable types throw an error\\n * - `\\"any\\"` — Unrepresentable types become `{}`\\n * - A function — called once per unrepresentable schema; see {@link UnrepresentableHandler}. */\\n unrepresentable?: \\"throw\\" | \\"any\\" | UnrepresentableHandler<schemas.$ZodTypes>;\\n /** Arbitrary custom logic that can be used to modify the generated JSON Schema. */\\n override?: (ctx: {\\n zodSchema: schemas.$ZodTypes;\\n jsonSchema: JSONSchema.BaseSchema;\\n path: (string | number)[];\\n }) => void;\\n /** Whether to extract the `\\"input\\"` or `\\"output\\"` type. Relevant to transforms, defaults, coerced primitives, etc.\\n * - `\\"output\\"` — Default. Convert the output schema.\\n * - `\\"input\\"` — Convert the input schema. */\\n io?: \\"input\\" | \\"output\\";\\n cycles?: \\"ref\\" | \\"throw\\";\\n reused?: \\"ref\\" | \\"inline\\";\\n external?: {\\n registry: $ZodRegistry<{\\n id?: string | undefined;\\n }>;\\n uri?: ((id: string) => string) | undefined;\\n defs: Record<string, JSONSchema.BaseSchema>;\\n } | undefined;\\n}\\n/**\\n * Parameters for the toJSONSchema function.\\n */\\nexport type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, \\"processors\\" | \\"external\\">;\\n/**\\n * Parameters for the toJSONSchema function when passing a registry.\\n */\\nexport interface RegistryToJSONSchemaParams extends ToJSONSchemaParams {\\n uri?: (id: string) => string;\\n}\\nexport interface ProcessParams {\\n schemaPath: schemas.$ZodType[];\\n path: (string | number)[];\\n}\\nexport interface Seen {\\n /** JSON Schema result for this Zod schema */\\n schema: JSONSchema.BaseSchema;\\n /** A cached version of the schema that doesn\'t get overwritten during ref resolution */\\n def?: JSONSchema.BaseSchema;\\n defId?: string | undefined;\\n /** Number of times this schema was encountered during traversal */\\n count: number;\\n /** Cycle path */\\n cycle?: (string | number)[] | undefined;\\n isParent?: boolean | undefined;\\n /** Schema to inherit JSON Schema properties from (set by processor for wrappers) */\\n ref?: schemas.$ZodType | null;\\n /** JSON Schema property path for this schema */\\n path?: (string | number)[] | undefined;\\n}\\nexport interface ToJSONSchemaContext {\\n processors: Record<string, Processor>;\\n metadataRegistry: $ZodRegistry<Record<string, any>>;\\n target: \\"draft-04\\" | \\"draft-07\\" | \\"draft-2020-12\\" | \\"openapi-3.0\\" | ({} & string);\\n unrepresentable: \\"throw\\" | \\"any\\" | UnrepresentableHandler;\\n override: (ctx: {\\n zodSchema: schemas.$ZodType;\\n jsonSchema: JSONSchema.BaseSchema;\\n path: (string | number)[];\\n }) => void;\\n io: \\"input\\" | \\"output\\";\\n counter: number;\\n seen: Map<schemas.$ZodType, Seen>;\\n /** Registry conversions share one `seen` map across every emitted schema. These hold the\\n * `external` the whole-map passes below last ran for, so the passes are not repeated once per\\n * schema — and still re-run if the map grows or `external` is swapped. `sharedEmitDoneFor`\\n * covers both passes in `finalize`: the ref flattening and the `$defs` build.\\n *\\n * The passes are valid only while nothing they read has changed, so both are cleared in\\n * `processSchema()` when the map grows, and in `JSONSchemaGenerator.emit()`, which can also change\\n * the `cycles` and `reused` they branch on.\\n *\\n * One case is deliberately not covered: an `override` callback that writes to\\n * `metadataRegistry` mid-conversion. It runs inside `finalize`, so a registry conversion has\\n * nowhere left to clear the guards, and later schemas keep the ids the first pass saw. That\\n * output was never coherent — before this, whether a shared subschema was inlined or extracted\\n * depended on which registry entry happened to be emitted when the callback fired. */\\n sharedDefsExtractedFor?: ToJSONSchemaContext[\\"external\\"];\\n sharedEmitDoneFor?: ToJSONSchemaContext[\\"external\\"];\\n cycles: \\"ref\\" | \\"throw\\";\\n reused: \\"ref\\" | \\"inline\\";\\n /** The `allOf` array of each intersection encountered during traversal, innermost first. `finalize` folds every emitted object holding one; see `foldIntersection`. */\\n intersections: JSONSchema.BaseSchema[][];\\n /** Rewrites a processor deferred to `finalize`, where the flatten has resolved every ref and the union branches are in place. */\\n deferred: (() => void)[];\\n external?: {\\n registry: $ZodRegistry<{\\n id?: string | undefined;\\n }>;\\n uri?: ((id: string) => string) | undefined;\\n defs: Record<string, JSONSchema.BaseSchema>;\\n } | undefined;\\n}\\nexport declare function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext;\\n/**\\n * Applies the `unrepresentable` setting at a site that has no JSON Schema equivalent. Throws\\n * `message` unless the setting (or the handler\'s return value) says otherwise. Returns `true` if a\\n * custom JSON Schema was written into `json`, in which case the caller must not write its own.\\n */\\nexport declare function handleUnrepresentable(schema: schemas.$ZodType, ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams, message: string): boolean;\\nexport declare function processSchema<T extends schemas.$ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): JSONSchema.BaseSchema;\\n/** @deprecated Renamed to `processSchema`. An export alias declares no binding, so it is safe to keep. */\\nexport { processSchema as process };\\nexport declare function extractDefs<T extends schemas.$ZodType>(ctx: ToJSONSchemaContext, schema: T): void;\\nexport declare function finalize<T extends schemas.$ZodType>(ctx: ToJSONSchemaContext, schema: T): ZodStandardJSONSchemaPayload<T>;\\nexport type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;\\nexport interface ZodStandardJSONSchemaPayload<T> extends JSONSchema.BaseSchema {\\n \\"~standard\\": ZodStandardSchemaWithJSON<T>;\\n}\\n/**\\n * Creates a toJSONSchema method for a schema instance.\\n * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.\\n */\\nexport declare const createToJSONSchemaMethod: <T extends schemas.$ZodType>(schema: T, processors?: Record<string, Processor>) => (params?: ToJSONSchemaParams) => ZodStandardJSONSchemaPayload<T>;\\n/**\\n * Creates a toJSONSchema method for a schema instance.\\n * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.\\n */\\ntype StandardJSONSchemaMethodParams = Parameters<StandardJSONSchemaV1[\\"~standard\\"][\\"jsonSchema\\"][\\"input\\"]>[0];\\nexport declare const createStandardJSONSchemaMethod: <T extends schemas.$ZodType>(schema: T, io: \\"input\\" | \\"output\\", processors?: Record<string, Processor>) => (params?: StandardJSONSchemaMethodParams) => JSONSchema.BaseSchema;\\n","file:///node_modules/zod/v4/core/util.d.ts":"import type * as checks from \\"./checks.js\\";\\nimport type { $ZodConfig } from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nexport type JSONType = string | number | boolean | null | JSONType[] | {\\n [key: string]: JSONType;\\n};\\nexport type JWTAlgorithm = \\"HS256\\" | \\"HS384\\" | \\"HS512\\" | \\"RS256\\" | \\"RS384\\" | \\"RS512\\" | \\"ES256\\" | \\"ES384\\" | \\"ES512\\" | \\"PS256\\" | \\"PS384\\" | \\"PS512\\" | \\"EdDSA\\" | (string & {});\\nexport type HashAlgorithm = \\"md5\\" | \\"sha1\\" | \\"sha256\\" | \\"sha384\\" | \\"sha512\\";\\nexport type HashEncoding = \\"hex\\" | \\"base64\\" | \\"base64url\\";\\nexport type HashFormat = `${HashAlgorithm}_${HashEncoding}`;\\nexport type IPVersion = \\"v4\\" | \\"v6\\";\\nexport type MimeTypes = \\"application/json\\" | \\"application/xml\\" | \\"application/x-www-form-urlencoded\\" | \\"application/javascript\\" | \\"application/pdf\\" | \\"application/zip\\" | \\"application/vnd.ms-excel\\" | \\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\\" | \\"application/msword\\" | \\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\\" | \\"application/vnd.ms-powerpoint\\" | \\"application/vnd.openxmlformats-officedocument.presentationml.presentation\\" | \\"application/octet-stream\\" | \\"application/graphql\\" | \\"text/html\\" | \\"text/plain\\" | \\"text/css\\" | \\"text/javascript\\" | \\"text/csv\\" | \\"image/png\\" | \\"image/jpeg\\" | \\"image/gif\\" | \\"image/svg+xml\\" | \\"image/webp\\" | \\"audio/mpeg\\" | \\"audio/ogg\\" | \\"audio/wav\\" | \\"audio/webm\\" | \\"video/mp4\\" | \\"video/webm\\" | \\"video/ogg\\" | \\"font/woff\\" | \\"font/woff2\\" | \\"font/ttf\\" | \\"font/otf\\" | \\"multipart/form-data\\" | (string & {});\\nexport type ParsedTypes = \\"string\\" | \\"number\\" | \\"bigint\\" | \\"boolean\\" | \\"symbol\\" | \\"undefined\\" | \\"object\\" | \\"function\\" | \\"file\\" | \\"date\\" | \\"array\\" | \\"map\\" | \\"set\\" | \\"nan\\" | \\"null\\" | \\"promise\\";\\nexport type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? true : false;\\nexport type AssertNotEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? false : true;\\nexport type AssertExtends<T, U> = T extends U ? T : never;\\ntype ToZodMismatch<T, S extends schemas.$ZodType> = {\\n \\"types do not match\\": {\\n expected: T;\\n received: S[\\"_zod\\"][\\"output\\"];\\n };\\n};\\ntype ToZodKeyMismatch<Expected, Received> = schemas.$ZodType & {\\n \\"types do not match\\": {\\n expected: Expected;\\n received: Received;\\n };\\n};\\ndeclare const toZodDummy: unique symbol;\\ntype ToZodNormalize<T> = [T] extends [(...args: any[]) => any] ? T : [T] extends [object] ? {\\n [K in keyof T]: ToZodNormalize<T[K]>;\\n} : T | typeof toZodDummy;\\ntype ToZodEqual<Output, T> = AssertEqual<Output, T> extends true ? true : IsAny<Output> extends true ? false : IsAny<T> extends true ? false : AssertEqual<ToZodNormalize<Output>, ToZodNormalize<T>>;\\ntype ToZodShape<Shape, T> = {\\n [K in keyof Shape]: Shape[K] extends schemas.$ZodType ? K extends keyof T ? ToZodEqual<Shape[K][\\"_zod\\"][\\"output\\"], T[K]> extends true ? Shape[K] : ToZodKeyMismatch<T[K], Shape[K][\\"_zod\\"][\\"output\\"]> : ToZodKeyMismatch<never, Shape[K][\\"_zod\\"][\\"output\\"]> : Shape[K];\\n} & {\\n [K in Exclude<keyof T, keyof Shape>]: ToZodKeyMismatch<T[K], never>;\\n};\\ntype ToZodExpand<X> = {\\n [K in keyof X]: X[K];\\n} & {};\\ntype ToZodTarget<S extends schemas.$ZodType, T> = S extends schemas.$ZodObject<infer Shape, infer Config> ? T extends object ? AssertEqual<ToZodExpand<ToZodShape<Shape, T>>, ToZodExpand<Shape>> extends true ? S & ToZodMismatch<T, S> : schemas.$ZodObject<ToZodExpand<ToZodShape<Shape, T>>, Config> : S & ToZodMismatch<T, S> : S & ToZodMismatch<T, S>;\\nexport type IsAny<T> = 0 extends 1 & T ? true : false;\\nexport type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;\\nexport type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;\\nexport type MakePartial<T, K extends keyof T> = Omit<T, K> & InexactPartial<Pick<T, K>>;\\nexport type MakeRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;\\nexport type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;\\nexport type NoUndefined<T> = T extends undefined ? never : T;\\nexport type Whatever = {} | undefined | null;\\nexport type Widen<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends bigint ? bigint : T;\\nexport type LoosePartial<T extends object> = InexactPartial<T> & {\\n [k: string]: unknown;\\n};\\nexport type Mask<Keys extends PropertyKey> = {\\n [K in Keys]?: true;\\n};\\nexport type Writeable<T> = {\\n -readonly [P in keyof T]: T[P];\\n} & {};\\nexport type InexactPartial<T> = {\\n [P in keyof T]?: T[P] | undefined;\\n};\\nexport type EmptyObject = Record<string, never>;\\nexport type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {\\n readonly [Symbol.toStringTag]: string;\\n} | Date | Error | Generator | Promise<unknown> | RegExp;\\nexport type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;\\nexport type SomeObject = Record<PropertyKey, any>;\\nexport type Identity<T> = T;\\nexport type Flatten<T> = Identity<{\\n [k in keyof T]: T[k];\\n}>;\\nexport type Mapped<T> = {\\n [k in keyof T]: T[k];\\n};\\nexport type Prettify<T> = {\\n [K in keyof T]: T[K];\\n} & {};\\nexport type NoNeverKeys<T> = {\\n [k in keyof T]: [T[k]] extends [never] ? never : k;\\n}[keyof T];\\nexport type NoNever<T> = Identity<{\\n [k in NoNeverKeys<T>]: k extends keyof T ? T[k] : never;\\n}>;\\nexport type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : {\\n [K in keyof A as K extends keyof B ? never : K]: A[K];\\n} & {\\n [K in keyof B]: B[K];\\n}>;\\nexport type TupleItems = ReadonlyArray<schemas.SomeType>;\\nexport type AnyFunc = (...args: any[]) => any;\\nexport type IsProp<T, K extends keyof T> = T[K] extends AnyFunc ? never : K;\\nexport type MaybeAsync<T> = T | Promise<T>;\\nexport type KeyOf<T> = keyof OmitIndexSignature<T>;\\nexport type OmitIndexSignature<T> = {\\n [K in keyof T as string extends K ? never : K extends string ? K : never]: T[K];\\n};\\nexport type ExtractIndexSignature<T> = {\\n [K in keyof T as string extends K ? K : K extends string ? never : K]: T[K];\\n};\\nexport type Keys<T extends object> = keyof OmitIndexSignature<T>;\\nexport type SchemaClass<T extends schemas.SomeType> = {\\n new (def: T[\\"_zod\\"][\\"def\\"]): T;\\n};\\nexport type EnumValue = string | number;\\nexport type EnumLike = Readonly<Record<string, EnumValue>>;\\nexport type ToEnum<T extends EnumValue> = Flatten<{\\n [k in T]: k;\\n}>;\\nexport type KeysEnum<T extends object> = ToEnum<Exclude<keyof T, symbol>>;\\nexport type KeysArray<T extends object> = Flatten<(keyof T & string)[]>;\\nexport type Literal = string | number | bigint | boolean | null | undefined;\\nexport type LiteralArray = Array<Literal>;\\nexport type Primitive = string | number | symbol | bigint | boolean | null | undefined;\\nexport type PrimitiveArray = Array<Primitive>;\\nexport type HasSize = {\\n size: number;\\n};\\nexport type HasLength = {\\n length: number;\\n};\\nexport type Numeric = number | bigint | Date;\\nexport type SafeParseResult<T> = SafeParseSuccess<T> | SafeParseError<T>;\\nexport type SafeParseSuccess<T> = {\\n success: true;\\n data: T;\\n error?: never;\\n};\\nexport type SafeParseError<T> = {\\n success: false;\\n data?: never;\\n error: errors.$ZodError<T>;\\n};\\nexport type PropValues = Record<string, Set<Primitive>>;\\nexport type PrimitiveSet = Set<Primitive>;\\nexport declare function assertEqual<A, B>(val: AssertEqual<A, B>): AssertEqual<A, B>;\\nexport declare function assertNotEqual<A, B>(val: AssertNotEqual<A, B>): AssertNotEqual<A, B>;\\nexport declare function toZod<T>(): <S extends schemas.$ZodType>(schema: ToZodEqual<S[\\"_zod\\"][\\"output\\"], T> extends true ? S : ToZodTarget<S, T>) => S;\\nexport declare function assertIs<T>(_arg: T): void;\\nexport declare function assertNever(_x: never): never;\\nexport declare function assert<T>(_: any): asserts _ is T;\\nexport declare function getEnumValues(entries: EnumLike): EnumValue[];\\nexport declare function joinValues<T extends Primitive[]>(array: T, separator?: string): string;\\nexport declare function jsonStringifyReplacer(_: string, value: any): any;\\nexport declare function cached<T>(getter: () => T): {\\n value: T;\\n};\\nexport declare function nullish(input: any): boolean;\\nexport declare function cleanRegex(source: string): string;\\nexport declare function floatSafeRemainder(val: number, step: number): number;\\nexport declare function defineLazy<T, K extends keyof T>(object: T, key: K, getter: () => T[K]): void;\\nexport declare function objectClone(obj: object): any;\\nexport declare function assignProp<T extends object, K extends PropertyKey>(target: T, prop: K, value: K extends keyof T ? T[K] : any): void;\\n/** A def\'s `shape` accessor, carrying whichever object it currently answers from. */\\nexport interface ShapeGetter {\\n (): Record<PropertyKey, any>;\\n raw: Record<PropertyKey, any>;\\n}\\n/**\\n * Whichever object a def\'s `shape` currently answers from: the one the caller passed until the first read, the frozen copy after it.\\n *\\n * Its keys and descriptors read without invoking anything, which is what lets a discriminated union check its discriminator, and the cycle walk read a shape, without resolving a getter that references the schema being constructed. A def that answers `shape` from an accessor of its own has none.\\n */\\nexport declare function rawShape(def: any): Record<PropertyKey, any> | undefined;\\nexport declare function mergeDefs(...defs: Record<string, any>[]): any;\\nexport declare function cloneDef(schema: schemas.$ZodType): any;\\nexport declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any;\\nexport declare function promiseAllObject<T extends object>(promisesObj: T): Promise<{\\n [k in keyof T]: Awaited<T[k]>;\\n}>;\\nexport declare function randomString(length?: number): string;\\nexport declare function esc(str: string): string;\\nexport declare function slugify(input: string): string;\\nexport declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void;\\nexport declare function isObject(data: any): data is Record<PropertyKey, unknown>;\\nexport declare const allowsEval: {\\n value: boolean;\\n};\\nexport declare function isPlainObject(o: any): o is Record<PropertyKey, unknown>;\\nexport declare function shallowClone(o: any): any;\\nexport declare function numKeys(data: any): number;\\nexport declare const getParsedType: (data: any) => ParsedTypes;\\nexport declare const propertyKeyTypes: Set<string>;\\nexport declare const primitiveTypes: Set<string>;\\nexport declare function escapeRegex(str: string): string;\\nexport declare function clone<T extends schemas.$ZodType>(inst: T, def?: T[\\"_zod\\"][\\"def\\"], params?: {\\n parent: boolean;\\n}): T;\\nexport type EmptyToNever<T> = keyof T extends never ? never : T;\\nexport type Normalize<T> = T extends undefined ? never : T extends Record<any, any> ? Flatten<{\\n [k in keyof Omit<T, \\"error\\" | \\"message\\">]: T[k];\\n} & (\\"error\\" extends keyof T ? {\\n error?: Exclude<T[\\"error\\"], string>;\\n} : unknown)> : never;\\nexport declare function normalizeParams<T>(_params: T): Normalize<T>;\\nexport declare function createTransparentProxy<T extends object>(getter: () => T): T;\\nexport declare function stringifyPrimitive(value: any): string;\\nexport declare function optionalKeys(shape: schemas.$ZodShape): string[];\\nexport type CleanKey<T extends PropertyKey> = T extends `?${infer K}` ? K : T extends `${infer K}?` ? K : T;\\nexport type ToCleanMap<T extends schemas.$ZodLooseShape> = {\\n [k in keyof T]: k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k;\\n};\\nexport type FromCleanMap<T extends schemas.$ZodLooseShape> = {\\n [k in keyof T as k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k]: k;\\n};\\nexport declare const NUMBER_FORMAT_RANGES: Record<checks.$ZodNumberFormats, [number, number]>;\\nexport declare const BIGINT_FORMAT_RANGES: Record<checks.$ZodBigIntFormats, [bigint, bigint]>;\\nexport declare function pick(schema: schemas.$ZodObject, mask: Record<string, unknown>): any;\\nexport declare function omit(schema: schemas.$ZodObject, mask: object): any;\\nexport declare function extend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\\nexport declare function safeExtend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\\nexport declare function merge(a: schemas.$ZodObject, b: schemas.$ZodObject): any;\\nexport declare function partial(Class: SchemaClass<schemas.$ZodOptional> | null, schema: schemas.$ZodObject, mask: object | undefined, name?: string): any;\\nexport declare function required(Class: SchemaClass<schemas.$ZodNonOptional>, schema: schemas.$ZodObject, mask: object | undefined): any;\\nexport type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;\\nexport declare function aborted(x: schemas.ParsePayload, startIndex?: number): boolean;\\nexport declare function explicitlyAborted(x: schemas.ParsePayload, startIndex?: number): boolean;\\nexport declare function prefixIssues(path: PropertyKey, issues: errors.$ZodRawIssue[]): errors.$ZodRawIssue[];\\nexport declare function unwrapMessage(message: string | {\\n message: string;\\n} | undefined | null): string | undefined;\\n/** The leading size checks of `defChecks` that set an upper bound, each paired with it. */\\nexport declare function sizeCaps(defChecks: checks.$ZodCheck<never>[] | undefined): [number, checks.$ZodCheck<never>][];\\nexport declare function attachSchema(issues: errors.$ZodRawIssue[], start: number, inst: schemas.$ZodType): void;\\nexport declare function finalizeIssue(iss: errors.$ZodRawIssue, ctx: schemas.ParseContextInternal | undefined, config: $ZodConfig): errors.$ZodIssue;\\nexport declare function getSizableOrigin(input: any): \\"set\\" | \\"map\\" | \\"file\\" | \\"unknown\\";\\nexport declare function codePointLength(str: string): number;\\nexport declare function getLengthableOrigin(input: any): \\"array\\" | \\"string\\" | \\"unknown\\";\\nexport declare function parsedType(data: unknown): errors.$ZodInvalidTypeExpected;\\nexport declare function issue(_iss: string, input: any, inst: any): errors.$ZodRawIssue;\\nexport declare function issue(_iss: errors.$ZodRawIssue): errors.$ZodRawIssue;\\nexport declare function cleanEnum(obj: Record<string, EnumValue>): EnumValue[];\\nexport declare function base64ToUint8Array(base64: string): InstanceType<typeof Uint8Array>;\\nexport declare function uint8ArrayToBase64(bytes: Uint8Array): string;\\nexport declare function base64urlToUint8Array(base64url: string): InstanceType<typeof Uint8Array>;\\nexport declare function uint8ArrayToBase64url(bytes: Uint8Array): string;\\nexport declare function hexToUint8Array(hex: string): InstanceType<typeof Uint8Array>;\\nexport declare function uint8ArrayToHex(bytes: Uint8Array): string;\\nexport declare abstract class Class {\\n constructor(..._args: any[]);\\n}\\n/**\\n * Installs a trait\'s members on its prototype. Each value builds that member for the instance on first read; the built value shadows the accessor as an own property, so a detached `const { parse } = schema` keeps working.\\n *\\n * Call this from a `proto` initializer, which runs once per prototype — never per instance.\\n */\\nexport declare function members(proto: object, table: object): void;\\n/** Shadows a prototype member with an own value, so a getter that builds from the instance runs once. */\\nexport declare function own<T>(inst: object, key: PropertyKey, value: T, enumerable?: boolean): T;\\n/** Like {@link own}, for a member that was never an own data property and has to stay out of `Object.keys`. */\\nexport declare function hide<T>(inst: object, key: PropertyKey, value: T): T;\\n/** Adds members a table derives from the instance: each builds on first read and shadows as own data, and assignment shadows the same way, as when these were own properties. */\\nexport declare function derived<T>(computes: {\\n [K in keyof T]?: (inst: T) => T[K];\\n}, table: ProtoOf<T>): ProtoOf<T>;\\n/** A trait\'s prototype members: a partial view of its own interface, with `this` typed as the instance. */\\nexport type ProtoOf<T> = {\\n [K in keyof T]?: (T[K] extends (...args: infer A) => infer R ? (...args: A) => R : T[K]) | undefined;\\n} & ThisType<T>;\\n/**\\n * Installs a lazily-derived internal on the `_zod` prototype of `inst`\'s\\n * constructor, computed from the internals object itself and cached there on\\n * first read. One accessor per constructor rather than one per instance.\\n */\\nexport declare function defineLazyInternal<T extends {\\n _zod: any;\\n}>(inst: T, key: string, compute: (zod: T[\\"_zod\\"]) => unknown): void;\\n/**\\n * Installs `key` on `inst`\'s prototype, computed by `make` on first read and cached there as an own\\n * data property. One accessor per constructor rather than one per instance, because an own accessor\\n * puts every instance after the first into v8 dictionary mode. The key doubles as the sentinel.\\n */\\nexport declare function installLazyProp(inst: object, key: string, make: (self: any) => unknown, enumerable: boolean): void;\\n/** Marks the thunk `_catch` synthesises for a constant catch value. `Function.length` cannot tell that thunk from a user callback — rest and defaulted parameters both report arity 0 — and a user callback reads `ctx.error`, whose issues only finalize correctly against the caller\'s per-parse error map. Provenance can say what arity cannot. A plain string key rather than `Symbol.for`, whose call at module scope no bundler can prove pure — the same shape that anchored `urlCanParse` into every build. */\\nexport declare const CONSTANT_CATCH = \\"~constantCatch\\";\\n/** Wraps a constant catch value in a thunk tagged with {@link CONSTANT_CATCH}. */\\nexport declare function constantCatch<T>(value: T): () => T;\\nexport {};\\n","file:///node_modules/zod/v4/core/versions.d.ts":"export declare const version: {\\n readonly major: 4;\\n readonly minor: 6;\\n readonly patch: number;\\n};\\n","file:///node_modules/zod/v4/core/visit.d.ts":"import * as schemas from \\"./schemas.js\\";\\ntype AnyZod = schemas.$ZodType;\\ntype Kind = schemas.$ZodTypeDef[\\"type\\"];\\n/** The concrete schema class for a `def.type`, or `$ZodType` for kinds with no dedicated class. */\\ntype SchemaOfKind<K extends Kind> = [Extract<schemas.$ZodTypes, {\\n _zod: {\\n def: {\\n type: K;\\n };\\n };\\n}>] extends [never] ? AnyZod : Extract<schemas.$ZodTypes, {\\n _zod: {\\n def: {\\n type: K;\\n };\\n };\\n}>;\\nexport type VisitFn = (node: AnyZod, rewritten: boolean) => AnyZod;\\nexport type VisitHandlers = {\\n [K in Kind]?: (node: SchemaOfKind<K>, rewritten: boolean) => AnyZod;\\n};\\n/**\\n * @internal Bottom-up rewrite of a schema tree. Unhandled kinds and unchanged branches keep their\\n * identity. Returns `$ZodType`: a visitor can swap in a schema of any type, so callers declare\\n * their own return type. `rewritten` tells a handler whether the traversal replaced anything\\n * below the node it is looking at.\\n */\\nexport declare function visit(schema: schemas.SomeType, fn: VisitFn): AnyZod;\\nexport declare function visit(schema: schemas.SomeType, handlers: VisitHandlers): AnyZod;\\nexport {};\\n","file:///node_modules/zod/v4/index.d.ts":"import * as z4 from \\"./classic/external.js\\";\\nexport * from \\"./classic/index.js\\";\\nexport { z4 as default };\\n","file:///node_modules/zod/v4/locales/ar.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/az.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/be.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/bg.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/bn.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ca.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ckb.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/cs.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/da.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/de.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/el.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/en.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/eo.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/es.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fa.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fi.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fr-CA.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fr.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/gu.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/he.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hi.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hr.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hu.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hy.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/id.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/index.d.ts":"export { default as ar } from \\"./ar.js\\";\\nexport { default as az } from \\"./az.js\\";\\nexport { default as be } from \\"./be.js\\";\\nexport { default as bg } from \\"./bg.js\\";\\nexport { default as bn } from \\"./bn.js\\";\\nexport { default as ca } from \\"./ca.js\\";\\nexport { default as ckb } from \\"./ckb.js\\";\\nexport { default as cs } from \\"./cs.js\\";\\nexport { default as da } from \\"./da.js\\";\\nexport { default as de } from \\"./de.js\\";\\nexport { default as el } from \\"./el.js\\";\\nexport { default as en } from \\"./en.js\\";\\nexport { default as eo } from \\"./eo.js\\";\\nexport { default as es } from \\"./es.js\\";\\nexport { default as fa } from \\"./fa.js\\";\\nexport { default as fi } from \\"./fi.js\\";\\nexport { default as fr } from \\"./fr.js\\";\\nexport { default as frCA } from \\"./fr-CA.js\\";\\nexport { default as gu } from \\"./gu.js\\";\\nexport { default as he } from \\"./he.js\\";\\nexport { default as hi } from \\"./hi.js\\";\\nexport { default as hr } from \\"./hr.js\\";\\nexport { default as hu } from \\"./hu.js\\";\\nexport { default as hy } from \\"./hy.js\\";\\nexport { default as id } from \\"./id.js\\";\\nexport { default as is } from \\"./is.js\\";\\nexport { default as it } from \\"./it.js\\";\\nexport { default as ja } from \\"./ja.js\\";\\nexport { default as ka } from \\"./ka.js\\";\\nexport { default as kh } from \\"./kh.js\\";\\nexport { default as km } from \\"./km.js\\";\\nexport { default as kn } from \\"./kn.js\\";\\nexport { default as ko } from \\"./ko.js\\";\\nexport { default as lt } from \\"./lt.js\\";\\nexport { default as mk } from \\"./mk.js\\";\\nexport { default as ms } from \\"./ms.js\\";\\nexport { default as ne } from \\"./ne.js\\";\\nexport { default as nl } from \\"./nl.js\\";\\nexport { default as nn } from \\"./nn.js\\";\\nexport { default as no } from \\"./no.js\\";\\nexport { default as ota } from \\"./ota.js\\";\\nexport { default as ps } from \\"./ps.js\\";\\nexport { default as pl } from \\"./pl.js\\";\\nexport { default as pt } from \\"./pt.js\\";\\nexport { default as ptBR } from \\"./pt-BR.js\\";\\nexport { default as ro } from \\"./ro.js\\";\\nexport { default as ru } from \\"./ru.js\\";\\nexport { default as sk } from \\"./sk.js\\";\\nexport { default as sl } from \\"./sl.js\\";\\nexport { default as sv } from \\"./sv.js\\";\\nexport { default as ta } from \\"./ta.js\\";\\nexport { default as tg } from \\"./tg.js\\";\\nexport { default as th } from \\"./th.js\\";\\nexport { default as tk } from \\"./tk.js\\";\\nexport { default as tr } from \\"./tr.js\\";\\nexport { default as ua } from \\"./ua.js\\";\\nexport { default as uk } from \\"./uk.js\\";\\nexport { default as ur } from \\"./ur.js\\";\\nexport { default as uz } from \\"./uz.js\\";\\nexport { default as vi } from \\"./vi.js\\";\\nexport { default as zhCN } from \\"./zh-CN.js\\";\\nexport { default as zhTW } from \\"./zh-TW.js\\";\\nexport { default as yo } from \\"./yo.js\\";\\n","file:///node_modules/zod/v4/locales/is.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/it.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ja.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ka.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/kh.d.ts":"import type * as errors from \\"../core/errors.js\\";\\n/** @deprecated Use `km` instead. */\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/km.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/kn.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ko.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/lt.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/mk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ms.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ne.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/nl.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/nn.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/no.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ota.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/pl.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ps.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/pt-BR.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/pt.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ro.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ru.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/sk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/sl.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/sv.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ta.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/tg.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/th.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/tk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/tr.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ua.d.ts":"import type * as errors from \\"../core/errors.js\\";\\n/** @deprecated Use `uk` instead. */\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/uk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ur.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/uz.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/vi.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/yo.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/zh-CN.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/zh-TW.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/mini/checks.d.ts":"export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _properties as properties, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from \\"../core/index.js\\";\\n","file:///node_modules/zod/v4/mini/coerce.d.ts":"import * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport declare function string<T = unknown>(params?: string | core.$ZodStringParams): schemas.ZodMiniString<T>;\\nexport declare function number<T = unknown>(params?: string | core.$ZodNumberParams): schemas.ZodMiniNumber<T>;\\nexport declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): schemas.ZodMiniBoolean<T>;\\nexport declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): schemas.ZodMiniBigInt<T>;\\nexport declare function date<T = unknown>(params?: string | core.$ZodDateParams): schemas.ZodMiniDate<T>;\\n","file:///node_modules/zod/v4/mini/deep-partial.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\n/** Mini counterpart of `classic/deep-partial.ts`\'s `DeepPartial`. */\\nexport type DeepPartial<T extends core.SomeType> = T extends schemas.ZodMiniObject<infer Shape, infer Config> ? schemas.ZodMiniObject<{\\n -readonly [K in keyof Shape]: schemas.ZodMiniOptional<DeepPartial<Shape[K]>>;\\n}, Config> : T extends schemas.ZodMiniDiscriminatedUnion<infer Options, any> ? schemas.ZodMiniUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodMiniUnion<infer Options> ? schemas.ZodMiniUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodMiniArray<infer El> ? schemas.ZodMiniArray<DeepPartial<El>> : T extends schemas.ZodMiniTuple<infer Items, infer Rest> ? schemas.ZodMiniTuple<{\\n -readonly [K in keyof Items]: Items[K] extends core.SomeType ? DeepPartial<Items[K]> : Items[K];\\n}, Rest extends core.SomeType ? DeepPartial<Rest> : Rest> : T extends schemas.ZodMiniIntersection<infer A, infer B> ? schemas.ZodMiniIntersection<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodMiniRecord<infer K, infer V> ? schemas.ZodMiniRecord<K, DeepPartial<V>> : T extends schemas.ZodMiniMap<infer K, infer V> ? schemas.ZodMiniMap<K, DeepPartial<V>> : T extends schemas.ZodMiniSet<infer El> ? schemas.ZodMiniSet<DeepPartial<El>> : T extends schemas.ZodMiniOptional<infer Inner> ? schemas.ZodMiniOptional<DeepPartial<Inner>> : T extends schemas.ZodMiniNullable<infer Inner> ? schemas.ZodMiniNullable<DeepPartial<Inner>> : T extends schemas.ZodMiniDefault<infer Inner> ? schemas.ZodMiniDefault<DeepPartial<Inner>> : T extends schemas.ZodMiniPrefault<infer Inner> ? schemas.ZodMiniPrefault<DeepPartial<Inner>> : T extends schemas.ZodMiniNonOptional<infer Inner> ? schemas.ZodMiniNonOptional<DeepPartial<Inner>> : T extends schemas.ZodMiniCatch<infer Inner> ? schemas.ZodMiniCatch<DeepPartial<Inner>> : T extends schemas.ZodMiniReadonly<infer Inner> ? schemas.ZodMiniReadonly<DeepPartial<Inner>> : T extends schemas.ZodMiniSuccess<infer Inner> ? schemas.ZodMiniSuccess<DeepPartial<Inner>> : T extends schemas.ZodMiniPromise<infer Inner> ? schemas.ZodMiniPromise<DeepPartial<Inner>> : T extends schemas.ZodMiniCodec<infer A, infer B> ? schemas.ZodMiniCodec<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodMiniPipe<infer A, infer B> ? schemas.ZodMiniPipe<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodMiniLazy<infer Inner> ? schemas.ZodMiniLazy<DeepPartial<Inner>> : T;\\n/** See `classic/deep-partial.ts`. Mini variant uses `mini.partial(...)`. */\\nexport declare function deepPartial<T extends core.SomeType>(schema: T): DeepPartial<T>;\\n","file:///node_modules/zod/v4/mini/external.d.ts":"export * as core from \\"../core/index.js\\";\\nexport * from \\"./parse.js\\";\\nexport * from \\"./schemas.js\\";\\nexport * from \\"./checks.js\\";\\nexport { deepPartial } from \\"./deep-partial.js\\";\\nexport { input, output } from \\"./in-out.js\\";\\nexport type { infer } from \\"../core/index.js\\";\\nexport type { JSONType } from \\"../core/util.js\\";\\nexport type { CompileOptions } from \\"../core/index.js\\";\\nexport { globalRegistry, registry, config, memoizer, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, TimePrecision, util, NEVER, INVALID, toZod, compile, withParser, ZodCompileAsyncError, ZodCompileUnsupportedError, getDiscriminatedOption, } from \\"../core/index.js\\";\\nexport { toJSONSchema } from \\"../core/json-schema-processors.js\\";\\nexport * as locales from \\"../locales/index.js\\";\\n/** A special constant with type `never` */\\nexport * as iso from \\"./iso.js\\";\\nexport { ZodMiniISODateTime, ZodMiniISODate, ZodMiniISOTime, ZodMiniISODuration, } from \\"./iso.js\\";\\nexport * as coerce from \\"./coerce.js\\";\\n","file:///node_modules/zod/v4/mini/in-out.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport type input<T> = core.input<T>;\\nexport type output<T> = core.output<T>;\\n/** See `classic/in-out.ts`. */\\nexport declare function input<T extends core.$ZodType>(schema: T): schemas.ZodMiniType<core.input<T>, core.input<T>>;\\n/** See `classic/in-out.ts`. */\\nexport declare function output<T extends core.$ZodType>(schema: T): schemas.ZodMiniType<core.output<T>, core.output<T>>;\\n","file:///node_modules/zod/v4/mini/index.d.ts":"import * as z from \\"./external.js\\";\\nexport * from \\"./external.js\\";\\nexport { z };\\n","file:///node_modules/zod/v4/mini/iso.d.ts":"import * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport interface ZodMiniISODateTime extends schemas.ZodMiniStringFormat<\\"datetime\\"> {\\n _zod: core.$ZodISODateTimeInternals;\\n}\\nexport declare const ZodMiniISODateTime: core.$constructor<ZodMiniISODateTime>;\\nexport declare function datetime(params?: string | core.$ZodISODateTimeParams): ZodMiniISODateTime;\\nexport interface ZodMiniISODate extends schemas.ZodMiniStringFormat<\\"date\\"> {\\n _zod: core.$ZodISODateInternals;\\n}\\nexport declare const ZodMiniISODate: core.$constructor<ZodMiniISODate>;\\nexport declare function date(params?: string | core.$ZodISODateParams): ZodMiniISODate;\\nexport interface ZodMiniISOTime extends schemas.ZodMiniStringFormat<\\"time\\"> {\\n _zod: core.$ZodISOTimeInternals;\\n}\\nexport declare const ZodMiniISOTime: core.$constructor<ZodMiniISOTime>;\\nexport declare function time(params?: string | core.$ZodISOTimeParams): ZodMiniISOTime;\\nexport interface ZodMiniISODuration extends schemas.ZodMiniStringFormat<\\"duration\\"> {\\n _zod: core.$ZodISODurationInternals;\\n}\\nexport declare const ZodMiniISODuration: core.$constructor<ZodMiniISODuration>;\\nexport declare function duration(params?: string | core.$ZodISODurationParams): ZodMiniISODuration;\\n","file:///node_modules/zod/v4/mini/parse.d.ts":"export { validate, validateAsync, parse, safeParse, parseAsync, safeParseAsync, encode, decode, encodeAsync, decodeAsync, safeEncode, safeDecode, safeEncodeAsync, safeDecodeAsync, } from \\"../core/index.js\\";\\n","file:///node_modules/zod/v4/mini/schemas.d.ts":"import * as core from \\"../core/index.js\\";\\nimport type { $ZodBigIntFormats } from \\"../core/index.js\\";\\nimport * as util from \\"../core/util.js\\";\\ntype SomeType = core.SomeType;\\nexport interface ZodMiniType<out Output = unknown, out Input = unknown, out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> extends core.$ZodType<Output, Input, Internals> {\\n type: Internals[\\"def\\"][\\"type\\"];\\n check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n clone(def?: Internals[\\"def\\"], params?: {\\n parent: boolean;\\n }): this;\\n register<R extends core.$ZodRegistry>(registry: R, ...meta: this extends R[\\"_schema\\"] ? undefined extends R[\\"_meta\\"] ? [core.$replace<R[\\"_meta\\"], this>?] : [core.$replace<R[\\"_meta\\"], this>] : [\\"Incompatible schema\\"]): this;\\n brand<T extends PropertyKey = PropertyKey, Dir extends \\"in\\" | \\"out\\" | \\"inout\\" = \\"out\\">(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;\\n def: Internals[\\"def\\"];\\n parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;\\n safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): util.SafeParseResult<core.output<this>>;\\n parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;\\n safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<util.SafeParseResult<core.output<this>>>;\\n apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;\\n}\\ninterface _ZodMiniType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodMiniType<any, any, Internals> {\\n}\\nexport declare const ZodMiniType: core.$constructor<ZodMiniType>;\\nexport interface _ZodMiniString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>> extends _ZodMiniType<T>, core.$ZodString<T[\\"input\\"]> {\\n _zod: T;\\n}\\nexport interface ZodMiniString<Input = unknown> extends _ZodMiniString<core.$ZodStringInternals<Input>>, core.$ZodString<Input> {\\n}\\nexport declare const ZodMiniString: core.$constructor<ZodMiniString>;\\nexport declare function string(params?: string | core.$ZodStringParams): ZodMiniString<string>;\\nexport interface ZodMiniStringFormat<Format extends string = string> extends _ZodMiniString<core.$ZodStringFormatInternals<Format>>, core.$ZodStringFormat<Format> {\\n}\\nexport declare const ZodMiniStringFormat: core.$constructor<ZodMiniStringFormat>;\\nexport interface ZodMiniEmail extends _ZodMiniString<core.$ZodEmailInternals> {\\n}\\nexport declare const ZodMiniEmail: core.$constructor<ZodMiniEmail>;\\nexport declare function email(params?: string | core.$ZodEmailParams): ZodMiniEmail;\\nexport interface ZodMiniGUID extends _ZodMiniString<core.$ZodGUIDInternals> {\\n}\\nexport declare const ZodMiniGUID: core.$constructor<ZodMiniGUID>;\\nexport declare function guid(params?: string | core.$ZodGUIDParams): ZodMiniGUID;\\nexport interface ZodMiniUUID extends _ZodMiniString<core.$ZodUUIDInternals> {\\n}\\nexport declare const ZodMiniUUID: core.$constructor<ZodMiniUUID>;\\nexport declare function uuid(params?: string | core.$ZodUUIDParams): ZodMiniUUID;\\nexport declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodMiniUUID;\\nexport declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodMiniUUID;\\nexport declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodMiniUUID;\\nexport interface ZodMiniURL extends _ZodMiniString<core.$ZodURLInternals> {\\n}\\nexport declare const ZodMiniURL: core.$constructor<ZodMiniURL>;\\nexport declare function url(params?: string | core.$ZodURLParams): ZodMiniURL;\\nexport declare function httpUrl(params?: string | Omit<core.$ZodURLParams, \\"protocol\\" | \\"hostname\\">): ZodMiniURL;\\nexport interface ZodMiniEmoji extends _ZodMiniString<core.$ZodEmojiInternals> {\\n}\\nexport declare const ZodMiniEmoji: core.$constructor<ZodMiniEmoji>;\\nexport declare function emoji(params?: string | core.$ZodEmojiParams): ZodMiniEmoji;\\nexport interface ZodMiniNanoID extends _ZodMiniString<core.$ZodNanoIDInternals> {\\n}\\nexport declare const ZodMiniNanoID: core.$constructor<ZodMiniNanoID>;\\nexport declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodMiniNanoID;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface ZodMiniCUID extends _ZodMiniString<core.$ZodCUIDInternals> {\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const ZodMiniCUID: core.$constructor<ZodMiniCUID>;\\n/**\\n * Validates a CUID v1 string.\\n *\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare function cuid(params?: string | core.$ZodCUIDParams): ZodMiniCUID;\\nexport interface ZodMiniCUID2 extends _ZodMiniString<core.$ZodCUID2Internals> {\\n}\\nexport declare const ZodMiniCUID2: core.$constructor<ZodMiniCUID2>;\\nexport declare function cuid2(params?: string | core.$ZodCUID2Params): ZodMiniCUID2;\\nexport interface ZodMiniULID extends _ZodMiniString<core.$ZodULIDInternals> {\\n}\\nexport declare const ZodMiniULID: core.$constructor<ZodMiniULID>;\\nexport declare function ulid(params?: string | core.$ZodULIDParams): ZodMiniULID;\\nexport interface ZodMiniXID extends _ZodMiniString<core.$ZodXIDInternals> {\\n}\\nexport declare const ZodMiniXID: core.$constructor<ZodMiniXID>;\\nexport declare function xid(params?: string | core.$ZodXIDParams): ZodMiniXID;\\nexport interface ZodMiniKSUID extends _ZodMiniString<core.$ZodKSUIDInternals> {\\n}\\nexport declare const ZodMiniKSUID: core.$constructor<ZodMiniKSUID>;\\nexport declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodMiniKSUID;\\nexport interface ZodMiniIPv4 extends _ZodMiniString<core.$ZodIPv4Internals> {\\n}\\nexport declare const ZodMiniIPv4: core.$constructor<ZodMiniIPv4>;\\nexport declare function ipv4(params?: string | core.$ZodIPv4Params): ZodMiniIPv4;\\nexport interface ZodMiniIPv6 extends _ZodMiniString<core.$ZodIPv6Internals> {\\n}\\nexport declare const ZodMiniIPv6: core.$constructor<ZodMiniIPv6>;\\nexport declare function ipv6(params?: string | core.$ZodIPv6Params): ZodMiniIPv6;\\nexport interface ZodMiniCIDRv4 extends _ZodMiniString<core.$ZodCIDRv4Internals> {\\n}\\nexport declare const ZodMiniCIDRv4: core.$constructor<ZodMiniCIDRv4>;\\nexport declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodMiniCIDRv4;\\nexport interface ZodMiniCIDRv6 extends _ZodMiniString<core.$ZodCIDRv6Internals> {\\n}\\nexport declare const ZodMiniCIDRv6: core.$constructor<ZodMiniCIDRv6>;\\nexport declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodMiniCIDRv6;\\nexport interface ZodMiniMAC extends _ZodMiniString<core.$ZodMACInternals> {\\n}\\nexport declare const ZodMiniMAC: core.$constructor<ZodMiniMAC>;\\nexport declare function mac(params?: string | core.$ZodMACParams): ZodMiniMAC;\\nexport interface ZodMiniBase64 extends _ZodMiniString<core.$ZodBase64Internals> {\\n}\\nexport declare const ZodMiniBase64: core.$constructor<ZodMiniBase64>;\\nexport declare function base64(params?: string | core.$ZodBase64Params): ZodMiniBase64;\\nexport interface ZodMiniBase64URL extends _ZodMiniString<core.$ZodBase64URLInternals> {\\n}\\nexport declare const ZodMiniBase64URL: core.$constructor<ZodMiniBase64URL>;\\nexport declare function base64url(params?: string | core.$ZodBase64URLParams): ZodMiniBase64URL;\\nexport interface ZodMiniE164 extends _ZodMiniString<core.$ZodE164Internals> {\\n}\\nexport declare const ZodMiniE164: core.$constructor<ZodMiniE164>;\\nexport declare function e164(params?: string | core.$ZodE164Params): ZodMiniE164;\\nexport interface ZodMiniCreditCard extends _ZodMiniString<core.$ZodCreditCardInternals> {\\n}\\nexport declare const ZodMiniCreditCard: core.$constructor<ZodMiniCreditCard>;\\nexport declare function creditCard(params?: string | core.$ZodCreditCardParams): ZodMiniCreditCard;\\nexport interface ZodMiniIBAN extends _ZodMiniString<core.$ZodIBANInternals> {\\n}\\nexport declare const ZodMiniIBAN: core.$constructor<ZodMiniIBAN>;\\nexport declare function iban(params?: string | core.$ZodIBANParams): ZodMiniIBAN;\\nexport interface ZodMiniJWT extends _ZodMiniString<core.$ZodJWTInternals> {\\n}\\nexport declare const ZodMiniJWT: core.$constructor<ZodMiniJWT>;\\nexport declare function jwt(params?: string | core.$ZodJWTParams): ZodMiniJWT;\\nexport interface ZodMiniCustomStringFormat<Format extends string = string> extends ZodMiniStringFormat<Format>, core.$ZodCustomStringFormat<Format> {\\n _zod: core.$ZodCustomStringFormatInternals<Format>;\\n}\\nexport declare const ZodMiniCustomStringFormat: core.$constructor<ZodMiniCustomStringFormat>;\\nexport declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<Format>;\\nexport declare function hostname(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<\\"hostname\\">;\\nexport declare function hex(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<\\"hex\\">;\\nexport declare function currencyCode(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<\\"currency_code\\">;\\nexport declare function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = \\"hex\\">(alg: Alg, params?: {\\n enc?: Enc;\\n} & core.$ZodStringFormatParams): ZodMiniCustomStringFormat<`${Alg}_${Enc}`>;\\ninterface _ZodMiniNumber<T extends core.$ZodNumberInternals<unknown> = core.$ZodNumberInternals<unknown>> extends _ZodMiniType<T>, core.$ZodNumber<T[\\"input\\"]> {\\n _zod: T;\\n}\\nexport interface ZodMiniNumber<Input = unknown> extends _ZodMiniNumber<core.$ZodNumberInternals<Input>>, core.$ZodNumber<Input> {\\n}\\nexport declare const ZodMiniNumber: core.$constructor<ZodMiniNumber>;\\nexport declare function number(params?: string | core.$ZodNumberParams): ZodMiniNumber<number>;\\nexport interface ZodMiniNumberFormat<Format extends core.$ZodNumberFormats = core.$ZodNumberFormats> extends _ZodMiniNumber<core.$ZodNumberFormatInternals<Format>>, core.$ZodNumberFormat<Format> {\\n}\\nexport declare const ZodMiniNumberFormat: core.$constructor<ZodMiniNumberFormat>;\\nexport interface ZodMiniInt extends ZodMiniNumberFormat<\\"safeint\\"> {\\n}\\nexport declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt;\\nexport interface ZodMiniFloat32 extends ZodMiniNumberFormat<\\"float32\\"> {\\n}\\nexport declare function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat32;\\nexport interface ZodMiniFloat64 extends ZodMiniNumberFormat<\\"float64\\"> {\\n}\\nexport declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat64;\\nexport interface ZodMiniInt32 extends ZodMiniNumberFormat<\\"int32\\"> {\\n}\\nexport declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt32;\\nexport interface ZodMiniUInt32 extends ZodMiniNumberFormat<\\"uint32\\"> {\\n}\\nexport declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniUInt32;\\nexport interface ZodMiniBoolean<T = unknown> extends _ZodMiniType<core.$ZodBooleanInternals<T>> {\\n}\\nexport declare const ZodMiniBoolean: core.$constructor<ZodMiniBoolean>;\\nexport declare function boolean(params?: string | core.$ZodBooleanParams): ZodMiniBoolean<boolean>;\\nexport interface ZodMiniBigInt<T = unknown> extends _ZodMiniType<core.$ZodBigIntInternals<T>>, core.$ZodBigInt<T> {\\n}\\nexport declare const ZodMiniBigInt: core.$constructor<ZodMiniBigInt>;\\nexport declare function bigint(params?: string | core.$ZodBigIntParams): ZodMiniBigInt<bigint>;\\nexport interface ZodMiniBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends _ZodMiniType<core.$ZodBigIntFormatInternals<Format>> {\\n}\\nexport declare const ZodMiniBigIntFormat: core.$constructor<ZodMiniBigIntFormat>;\\nexport interface ZodMiniInt64 extends ZodMiniBigIntFormat<\\"int64\\"> {\\n}\\nexport declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodMiniInt64;\\nexport interface ZodMiniUInt64 extends ZodMiniBigIntFormat<\\"uint64\\"> {\\n}\\nexport declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodMiniUInt64;\\nexport interface ZodMiniSymbol extends _ZodMiniType<core.$ZodSymbolInternals> {\\n}\\nexport declare const ZodMiniSymbol: core.$constructor<ZodMiniSymbol>;\\nexport declare function symbol(params?: string | core.$ZodSymbolParams): ZodMiniSymbol;\\nexport interface ZodMiniUndefined extends _ZodMiniType<core.$ZodUndefinedInternals> {\\n}\\nexport declare const ZodMiniUndefined: core.$constructor<ZodMiniUndefined>;\\ndeclare function _undefined(params?: string | core.$ZodUndefinedParams): ZodMiniUndefined;\\nexport { _undefined as undefined };\\nexport interface ZodMiniNull extends _ZodMiniType<core.$ZodNullInternals> {\\n}\\nexport declare const ZodMiniNull: core.$constructor<ZodMiniNull>;\\ndeclare function _null(params?: string | core.$ZodNullParams): ZodMiniNull;\\nexport { _null as null };\\nexport interface ZodMiniAny extends _ZodMiniType<core.$ZodAnyInternals> {\\n}\\nexport declare const ZodMiniAny: core.$constructor<ZodMiniAny>;\\nexport declare function any(): ZodMiniAny;\\nexport interface ZodMiniUnknown extends _ZodMiniType<core.$ZodUnknownInternals> {\\n}\\nexport declare const ZodMiniUnknown: core.$constructor<ZodMiniUnknown>;\\nexport declare function unknown(): ZodMiniUnknown;\\nexport interface ZodMiniNever extends _ZodMiniType<core.$ZodNeverInternals> {\\n}\\nexport declare const ZodMiniNever: core.$constructor<ZodMiniNever>;\\nexport declare function never(params?: string | core.$ZodNeverParams): ZodMiniNever;\\nexport interface ZodMiniVoid extends _ZodMiniType<core.$ZodVoidInternals> {\\n}\\nexport declare const ZodMiniVoid: core.$constructor<ZodMiniVoid>;\\ndeclare function _void(params?: string | core.$ZodVoidParams): ZodMiniVoid;\\nexport { _void as void };\\nexport interface ZodMiniDate<T = unknown> extends _ZodMiniType<core.$ZodDateInternals<T>> {\\n}\\nexport declare const ZodMiniDate: core.$constructor<ZodMiniDate>;\\nexport declare function date(params?: string | core.$ZodDateParams): ZodMiniDate<Date>;\\nexport interface ZodMiniArray<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodArrayInternals<T>>, core.$ZodArray<T> {\\n}\\nexport declare const ZodMiniArray: core.$constructor<ZodMiniArray>;\\nexport declare function array<T extends SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodMiniArray<T>;\\nexport declare function keyof<T extends ZodMiniObject>(schema: T): ZodMiniEnum<util.KeysEnum<T[\\"shape\\"]>>;\\nexport interface ZodMiniObject<\\n/** @ts-ignore Cast variance */\\nout Shape extends core.$ZodShape = core.$ZodShape, out Config extends core.$ZodObjectConfig = core.$strip> extends ZodMiniType<any, any, core.$ZodObjectInternals<Shape, Config>>, core.$ZodObject<Shape, Config> {\\n shape: Shape;\\n}\\nexport declare const ZodMiniObject: core.$constructor<ZodMiniObject>;\\nexport declare function object<T extends core.$ZodLooseShape = Record<never, SomeType>>(shape?: T, params?: string | core.$ZodObjectParams): ZodMiniObject<util.Writeable<T>, core.$strip>;\\nexport declare function strictObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodMiniObject<util.Writeable<T>, core.$strict>;\\nexport declare function looseObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodMiniObject<util.Writeable<T>, core.$loose>;\\nexport declare function extend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(schema: T, shape: U): ZodMiniObject<util.Extend<T[\\"shape\\"], util.Writeable<U>>, T[\\"_zod\\"][\\"config\\"]>;\\nexport type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {\\n [K in keyof Ext]: K extends keyof Base ? core.output<Ext[K]> extends core.output<Base[K]> ? core.input<Ext[K]> extends core.input<Base[K]> ? Ext[K] : never : never : Ext[K];\\n};\\nexport declare function safeExtend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(schema: T, shape: SafeExtendShape<T[\\"shape\\"], U>): ZodMiniObject<util.Extend<T[\\"shape\\"], util.Writeable<U>>, T[\\"_zod\\"][\\"config\\"]>;\\n/**\\n * @deprecated Use [`z.extend(A, B.shape)`](https://zod.dev/api?id=extend) instead.\\n */\\nexport declare function merge<T extends ZodMiniObject, U extends ZodMiniObject>(a: T, b: U): ZodMiniObject<util.Extend<T[\\"shape\\"], U[\\"shape\\"]>, U[\\"_zod\\"][\\"config\\"]>;\\nexport declare function pick<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<util.Flatten<Pick<T[\\"shape\\"], keyof T[\\"shape\\"] & keyof M>>, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function omit<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<util.Flatten<Omit<T[\\"shape\\"], keyof M>>, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function partial<T extends ZodMiniObject>(schema: T): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: ZodMiniOptional<T[\\"shape\\"][k]>;\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function partial<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: k extends keyof M ? ZodMiniOptional<T[\\"shape\\"][k]> : T[\\"shape\\"][k];\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function partial<T extends util.TupleItems, Rest extends SomeType | null>(schema: ZodMiniTuple<T, Rest>): ZodMiniTuple<{\\n -readonly [k in keyof T]: ZodMiniOptional<T[k]>;\\n}, Rest>;\\nexport declare function exactPartial<T extends ZodMiniObject>(schema: T): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: ZodMiniExactOptional<T[\\"shape\\"][k]>;\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function exactPartial<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: k extends keyof M ? ZodMiniExactOptional<T[\\"shape\\"][k]> : T[\\"shape\\"][k];\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport type RequiredInterfaceShape<Shape extends core.$ZodLooseShape, Keys extends PropertyKey = keyof Shape> = util.Identity<{\\n [k in keyof Shape as k extends Keys ? k : never]: ZodMiniNonOptional<Shape[k]>;\\n} & {\\n [k in keyof Shape as k extends Keys ? never : k]: Shape[k];\\n}>;\\nexport declare function required<T extends ZodMiniObject>(schema: T): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: ZodMiniNonOptional<T[\\"shape\\"][k]>;\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function required<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<util.Extend<T[\\"shape\\"], {\\n [k in keyof M & keyof T[\\"shape\\"]]: ZodMiniNonOptional<T[\\"shape\\"][k]>;\\n}>, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function catchall<T extends ZodMiniObject, U extends SomeType>(inst: T, catchall: U): ZodMiniObject<T[\\"shape\\"], core.$catchall<U>>;\\nexport interface ZodMiniUnion<T extends readonly SomeType[] = readonly core.$ZodType[]> extends _ZodMiniType<core.$ZodUnionInternals<T>> {\\n}\\nexport declare const ZodMiniUnion: core.$constructor<ZodMiniUnion>;\\nexport declare function union<const T extends readonly SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodMiniUnion<T>;\\nexport interface ZodMiniXor<T extends readonly SomeType[] = readonly core.$ZodType[]> extends _ZodMiniType<core.$ZodXorInternals<T>> {\\n}\\nexport declare const ZodMiniXor: core.$constructor<ZodMiniXor>;\\n/** Creates an exclusive union (XOR) where exactly one option must match.\\n * Unlike regular unions that succeed when any option matches, xor fails if\\n * zero or more than one option matches the input. */\\nexport declare function xor<const T extends readonly SomeType[]>(options: T, params?: string | core.$ZodXorParams): ZodMiniXor<T>;\\nexport interface ZodMiniDiscriminatedUnion<Options extends readonly SomeType[] = readonly core.$ZodType[], Disc extends string = string> extends ZodMiniUnion<Options> {\\n _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;\\n}\\nexport declare const ZodMiniDiscriminatedUnion: core.$constructor<ZodMiniDiscriminatedUnion>;\\nexport declare function discriminatedUnion<Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]], Disc extends string>(discriminator: Disc, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodMiniDiscriminatedUnion<Types, Disc>;\\nexport interface ZodMiniIntersection<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodIntersectionInternals<A, B>> {\\n}\\nexport declare const ZodMiniIntersection: core.$constructor<ZodMiniIntersection>;\\nexport declare function intersection<T extends SomeType, U extends SomeType>(left: T, right: U): ZodMiniIntersection<T, U>;\\nexport interface ZodMiniTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends SomeType | null = core.$ZodType | null> extends _ZodMiniType<core.$ZodTupleInternals<T, Rest>> {\\n}\\nexport declare const ZodMiniTuple: core.$constructor<ZodMiniTuple>;\\nexport declare function tuple<const T extends readonly [SomeType, ...SomeType[]]>(items: T, params?: string | core.$ZodTupleParams): ZodMiniTuple<T, null>;\\nexport declare function tuple<const T extends readonly [SomeType, ...SomeType[]], Rest extends SomeType>(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodMiniTuple<T, Rest>;\\nexport declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodMiniTuple<[], null>;\\nexport interface ZodMiniRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodRecordInternals<Key, Value>> {\\n}\\nexport declare const ZodMiniRecord: core.$constructor<ZodMiniRecord>;\\nexport declare function record<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<Key, Value>;\\nexport declare function partialRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<Key & core.$partial, Value>;\\nexport declare function looseRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<Key, Value>;\\nexport interface ZodMiniMap<Key extends SomeType = core.$ZodType, Value extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodMapInternals<Key, Value>> {\\n}\\nexport declare const ZodMiniMap: core.$constructor<ZodMiniMap>;\\nexport declare function map<Key extends SomeType, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMiniMap<Key, Value>;\\nexport interface ZodMiniSet<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSetInternals<T>> {\\n}\\nexport declare const ZodMiniSet: core.$constructor<ZodMiniSet>;\\nexport declare function set<Value extends SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodMiniSet<Value>;\\nexport interface ZodMiniEnum<T extends util.EnumLike = util.EnumLike> extends _ZodMiniType<core.$ZodEnumInternals<T>> {\\n options: Array<T[keyof T]>;\\n}\\nexport declare const ZodMiniEnum: core.$constructor<ZodMiniEnum>;\\ndeclare function _enum<const T extends readonly string[]>(values: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<util.ToEnum<T[number]>>;\\ndeclare function _enum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;\\nexport { _enum as enum };\\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\\n *\\n * ```ts\\n * enum Colors { red, green, blue }\\n * z.enum(Colors);\\n * ```\\n */\\nexport declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;\\nexport interface ZodMiniLiteral<T extends util.Literal = util.Literal> extends _ZodMiniType<core.$ZodLiteralInternals<T>> {\\n}\\nexport declare const ZodMiniLiteral: core.$constructor<ZodMiniLiteral>;\\nexport declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral<T[number]>;\\nexport declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral<T>;\\nexport interface ZodMiniFile extends _ZodMiniType<core.$ZodFileInternals> {\\n}\\nexport declare const ZodMiniFile: core.$constructor<ZodMiniFile>;\\nexport declare function file(params?: string | core.$ZodFileParams): ZodMiniFile;\\nexport interface ZodMiniTransform<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodTransformInternals<O, I>> {\\n}\\nexport declare const ZodMiniTransform: core.$constructor<ZodMiniTransform>;\\nexport declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.ParsePayload) => O): ZodMiniTransform<Awaited<O>, I>;\\nexport interface ZodMiniOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {\\n}\\nexport declare const ZodMiniOptional: core.$constructor<ZodMiniOptional>;\\nexport declare function optional<T extends SomeType>(innerType: T): ZodMiniOptional<T>;\\nexport interface ZodMiniExactOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodExactOptionalInternals<T>>, core.$ZodExactOptional<T> {\\n}\\nexport declare const ZodMiniExactOptional: core.$constructor<ZodMiniExactOptional>;\\nexport declare function exactOptional<T extends SomeType>(innerType: T): ZodMiniExactOptional<T>;\\nexport interface ZodMiniNullable<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNullableInternals<T>> {\\n}\\nexport declare const ZodMiniNullable: core.$constructor<ZodMiniNullable>;\\nexport declare function nullable<T extends SomeType>(innerType: T): ZodMiniNullable<T>;\\nexport declare function nullish<T extends SomeType>(innerType: T): ZodMiniOptional<ZodMiniNullable<T>>;\\nexport interface ZodMiniDefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodDefaultInternals<T>> {\\n}\\nexport declare const ZodMiniDefault: core.$constructor<ZodMiniDefault>;\\nexport declare function _default<T extends SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodMiniDefault<T>;\\nexport interface ZodMiniPrefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPrefaultInternals<T>> {\\n}\\nexport declare const ZodMiniPrefault: core.$constructor<ZodMiniPrefault>;\\nexport declare function prefault<T extends SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodMiniPrefault<T>;\\nexport interface ZodMiniNonOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNonOptionalInternals<T>> {\\n}\\nexport declare const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional>;\\nexport declare function nonoptional<T extends SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodMiniNonOptional<T>;\\nexport interface ZodMiniSuccess<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSuccessInternals<T>> {\\n}\\nexport declare const ZodMiniSuccess: core.$constructor<ZodMiniSuccess>;\\nexport declare function success<T extends SomeType>(innerType: T): ZodMiniSuccess<T>;\\nexport interface ZodMiniCatch<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodCatchInternals<T>> {\\n}\\nexport declare const ZodMiniCatch: core.$constructor<ZodMiniCatch>;\\ndeclare function _catch<T extends SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodMiniCatch<T>;\\nexport { _catch as catch };\\nexport interface ZodMiniNaN extends _ZodMiniType<core.$ZodNaNInternals> {\\n}\\nexport declare const ZodMiniNaN: core.$constructor<ZodMiniNaN>;\\nexport declare function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN;\\nexport interface ZodMiniPipe<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPipeInternals<A, B>> {\\n}\\nexport declare const ZodMiniPipe: core.$constructor<ZodMiniPipe>;\\nexport declare function pipe<const A extends SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodMiniPipe<A, B>;\\nexport interface ZodMiniCodec<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends ZodMiniPipe<A, B>, core.$ZodCodec<A, B> {\\n _zod: core.$ZodCodecInternals<A, B>;\\n def: core.$ZodCodecDef<A, B>;\\n}\\nexport declare const ZodMiniCodec: core.$constructor<ZodMiniCodec>;\\nexport declare function codec<const A extends SomeType, B extends core.SomeType = core.$ZodType>(in_: A, out: B, params: {\\n decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;\\n encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;\\n}): ZodMiniCodec<A, B>;\\nexport declare function invertCodec<A extends SomeType, B extends SomeType>(codec: ZodMiniCodec<A, B>): ZodMiniCodec<B, A>;\\nexport interface ZodMiniReadonly<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodReadonlyInternals<T>> {\\n}\\nexport declare const ZodMiniReadonly: core.$constructor<ZodMiniReadonly>;\\nexport declare function readonly<T extends SomeType>(innerType: T): ZodMiniReadonly<T>;\\nexport interface ZodMiniTemplateLiteral<Template extends string = string> extends _ZodMiniType<core.$ZodTemplateLiteralInternals<Template>> {\\n}\\nexport declare const ZodMiniTemplateLiteral: core.$constructor<ZodMiniTemplateLiteral>;\\nexport declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodMiniTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;\\nexport interface ZodMiniLazy<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodLazyInternals<T>> {\\n}\\nexport declare const ZodMiniLazy: core.$constructor<ZodMiniLazy>;\\ndeclare function _lazy<T extends SomeType>(getter: () => T): ZodMiniLazy<T>;\\nexport { _lazy as lazy };\\nexport interface ZodMiniPromise<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPromiseInternals<T>> {\\n}\\nexport declare const ZodMiniPromise: core.$constructor<ZodMiniPromise>;\\nexport declare function promise<T extends SomeType>(innerType: T): ZodMiniPromise<T>;\\nexport interface ZodMiniCustom<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodCustomInternals<O, I>> {\\n}\\nexport declare const ZodMiniCustom: core.$constructor<ZodMiniCustom>;\\nexport declare function check<O = unknown>(fn: core.CheckFn<O>, params?: string | core.$ZodCustomParams): core.$ZodCheck<O>;\\nexport declare function custom<O = unknown, I = O>(fn?: (data: O) => unknown, _params?: string | core.$ZodCustomParams | undefined): ZodMiniCustom<O, I>;\\nexport declare function refine<T>(fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>, _params?: string | core.$ZodCustomParams): core.$ZodCheck<T>;\\nexport declare function superRefine<T>(fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): core.$ZodCheck<T>;\\nexport declare const describe: typeof core.describe;\\nexport declare const meta: typeof core.meta;\\ndeclare abstract class Class {\\n constructor(..._args: any[]);\\n}\\ndeclare function _instanceof<T extends typeof Class>(cls: T, params?: core.$ZodCustomParams): ZodMiniCustom<InstanceType<T>, InstanceType<T>>;\\nexport { _instanceof as instanceof };\\nexport declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodMiniCodec<ZodMiniString, ZodMiniBoolean>;\\nexport type _ZodMiniJSONSchema = ZodMiniUnion<[\\n ZodMiniString,\\n ZodMiniNumber,\\n ZodMiniBoolean,\\n ZodMiniNull,\\n ZodMiniArray<ZodMiniJSONSchema>,\\n ZodMiniRecord<ZodMiniString<string>, ZodMiniJSONSchema>\\n]>;\\nexport type _ZodMiniJSONSchemaInternals = _ZodMiniJSONSchema[\\"_zod\\"];\\nexport interface ZodMiniJSONSchemaInternals extends _ZodMiniJSONSchemaInternals {\\n output: util.JSONType;\\n input: util.JSONType;\\n}\\nexport interface ZodMiniJSONSchema extends _ZodMiniJSONSchema {\\n _zod: ZodMiniJSONSchemaInternals;\\n}\\nexport declare function json(): ZodMiniJSONSchema;\\nexport interface ZodMiniFunction<Args extends core.$ZodFunctionIn = core.$ZodFunctionIn, Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut> extends _ZodMiniType<core.$ZodFunctionInternals<Args, Returns>>, core.$ZodFunction<Args, Returns> {\\n _def: core.$ZodFunctionDef<Args, Returns>;\\n _input: core.$InferInnerFunctionType<Args, Returns>;\\n _output: core.$InferOuterFunctionType<Args, Returns>;\\n input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(args: Items, rest?: Rest): ZodMiniFunction<ZodMiniTuple<Items, Rest>, Returns>;\\n input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodMiniFunction<NewArgs, Returns>;\\n input(...args: any[]): ZodMiniFunction<any, Returns>;\\n output<NewReturns extends core.$ZodFunctionOut>(output: NewReturns): ZodMiniFunction<Args, NewReturns>;\\n}\\nexport declare const ZodMiniFunction: core.$constructor<ZodMiniFunction>;\\nexport declare function _function(): ZodMiniFunction;\\nexport declare function _function<const In extends Array<SomeType> = Array<SomeType>>(params: {\\n input: In;\\n}): ZodMiniFunction<ZodMiniTuple<In, null>, core.$ZodFunctionOut>;\\nexport declare function _function<const In extends Array<SomeType> = Array<SomeType>, const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n input: In;\\n output: Out;\\n}): ZodMiniFunction<ZodMiniTuple<In, null>, Out>;\\nexport declare function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {\\n input: In;\\n}): ZodMiniFunction<In, core.$ZodFunctionOut>;\\nexport declare function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n output: Out;\\n}): ZodMiniFunction<core.$ZodFunctionIn, Out>;\\nexport declare function _function<In extends core.$ZodFunctionIn = core.$ZodFunctionIn, Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params?: {\\n input: In;\\n output: Out;\\n}): ZodMiniFunction<In, Out>;\\nexport { _function as function };\\n","file:///node_modules/zod/v4-mini/index.d.ts":"import * as z from \\"../v4/mini/external.js\\";\\nexport * from \\"../v4/mini/external.js\\";\\nexport { z };\\n"}')}]);
|
|
402
|
+
`}(t),error:""})}catch(t){e.signal.aborted||u({project:s,sdk:"",error:(0,Y.f)(t)})}})(),()=>{e.abort(),c.current?.dispose()}},[s]),(0,R.useEffect)(()=>{l.current=p,c.current?.dispose(),p&&_.current&&(c.current=_.current.languages.typescript.typescriptDefaults.addExtraLib(p,"file:///project-sdk.d.ts"))},[p]),(0,r.jsxs)(r.Fragment,{children:[f?(0,r.jsxs)("p",{role:"alert",children:["Project SDK unavailable: ",f]}):null,(0,r.jsx)(X,{height:o,language:"typescript",theme:a,path:`file:///actions/${i}.ts`,value:e,onChange:(e="")=>{t(e)},onMount:(e,t)=>{for(let[e,n]of Object.entries(e_.default))t.languages.typescript.typescriptDefaults.addExtraLib(n,e);t.languages.typescript.typescriptDefaults.setCompilerOptions({...ed,moduleResolution:t.languages.typescript.ModuleResolutionKind.NodeJs,target:t.languages.typescript.ScriptTarget.ESNext,module:t.languages.typescript.ModuleKind.ESNext}),t.languages.typescript.typescriptDefaults.setDiagnosticsOptions({diagnosticCodesToIgnore:[1375,1108]}),_.current=t,c.current?.dispose(),l.current&&(c.current=t.languages.typescript.typescriptDefaults.addExtraLib(l.current,"file:///project-sdk.d.ts"))},loading:(0,r.jsx)("p",{className:"editor-loading",children:"Loading TypeScript editor…"}),options:{readOnly:n,domReadOnly:n,minimap:{enabled:"light"===a},fontSize:13,lineNumbers:"on",scrollBeyondLastLine:!1,automaticLayout:!0,tabSize:2,fixedOverflowWidgets:!0,padding:{top:16,bottom:16},ariaLabel:"TypeScript source",fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", monospace'}}),(0,r.jsx)("p",{className:"small",children:"Project SDK completion uses discovered metadata; complex plugin types remain unknown. Semantic Validate is authoritative."})]})}],54463)},160,function(e){e.n(e.i(54463))},39625,(e,t,n)=>{t.exports=JSON.parse('{"file:///node_modules/zod/compile.d.ts":"export {};\\n","file:///node_modules/zod/index.d.ts":"import * as z from \\"./v4/classic/external.js\\";\\nexport * from \\"./v4/classic/external.js\\";\\nexport { z, z as default };\\n","file:///node_modules/zod/locales/index.d.ts":"export * from \\"../v4/locales/index.js\\";\\n","file:///node_modules/zod/mini/index.d.ts":"import * as z from \\"../v4/mini/external.js\\";\\nexport * from \\"../v4/mini/external.js\\";\\nexport { z };\\n","file:///node_modules/zod/v3/ZodError.d.ts":"import type { Primitive } from \\"./helpers/typeAliases.js\\";\\nimport { util, type ZodParsedType } from \\"./helpers/util.js\\";\\nimport type { TypeOf, ZodType } from \\"./index.js\\";\\ntype allKeys<T> = T extends any ? keyof T : never;\\nexport type inferFlattenedErrors<T extends ZodType<any, any, any>, U = string> = typeToFlattenedError<TypeOf<T>, U>;\\nexport type typeToFlattenedError<T, U = string> = {\\n formErrors: U[];\\n fieldErrors: {\\n [P in allKeys<T>]?: U[];\\n };\\n};\\nexport declare const ZodIssueCode: {\\n invalid_type: \\"invalid_type\\";\\n too_big: \\"too_big\\";\\n too_small: \\"too_small\\";\\n not_multiple_of: \\"not_multiple_of\\";\\n unrecognized_keys: \\"unrecognized_keys\\";\\n invalid_union: \\"invalid_union\\";\\n custom: \\"custom\\";\\n invalid_literal: \\"invalid_literal\\";\\n invalid_union_discriminator: \\"invalid_union_discriminator\\";\\n invalid_enum_value: \\"invalid_enum_value\\";\\n invalid_arguments: \\"invalid_arguments\\";\\n invalid_return_type: \\"invalid_return_type\\";\\n invalid_date: \\"invalid_date\\";\\n invalid_string: \\"invalid_string\\";\\n invalid_intersection_types: \\"invalid_intersection_types\\";\\n not_finite: \\"not_finite\\";\\n};\\nexport type ZodIssueCode = keyof typeof ZodIssueCode;\\nexport type ZodIssueBase = {\\n path: (string | number)[];\\n message?: string | undefined;\\n};\\nexport interface ZodInvalidTypeIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_type;\\n expected: ZodParsedType;\\n received: ZodParsedType;\\n}\\nexport interface ZodInvalidLiteralIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_literal;\\n expected: unknown;\\n received: unknown;\\n}\\nexport interface ZodUnrecognizedKeysIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.unrecognized_keys;\\n keys: string[];\\n}\\nexport interface ZodInvalidUnionIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_union;\\n unionErrors: ZodError[];\\n}\\nexport interface ZodInvalidUnionDiscriminatorIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_union_discriminator;\\n options: Primitive[];\\n}\\nexport interface ZodInvalidEnumValueIssue extends ZodIssueBase {\\n received: string | number;\\n code: typeof ZodIssueCode.invalid_enum_value;\\n options: (string | number)[];\\n}\\nexport interface ZodInvalidArgumentsIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_arguments;\\n argumentsError: ZodError;\\n}\\nexport interface ZodInvalidReturnTypeIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_return_type;\\n returnTypeError: ZodError;\\n}\\nexport interface ZodInvalidDateIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_date;\\n}\\nexport type StringValidation = \\"email\\" | \\"url\\" | \\"emoji\\" | \\"uuid\\" | \\"nanoid\\" | \\"regex\\" | \\"cuid\\" | \\"cuid2\\" | \\"ulid\\" | \\"datetime\\" | \\"date\\" | \\"time\\" | \\"duration\\" | \\"ip\\" | \\"cidr\\" | \\"base64\\" | \\"jwt\\" | \\"base64url\\" | {\\n includes: string;\\n position?: number | undefined;\\n} | {\\n startsWith: string;\\n} | {\\n endsWith: string;\\n};\\nexport interface ZodInvalidStringIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_string;\\n validation: StringValidation;\\n}\\nexport interface ZodTooSmallIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.too_small;\\n minimum: number | bigint;\\n inclusive: boolean;\\n exact?: boolean;\\n type: \\"array\\" | \\"string\\" | \\"number\\" | \\"set\\" | \\"date\\" | \\"bigint\\";\\n}\\nexport interface ZodTooBigIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.too_big;\\n maximum: number | bigint;\\n inclusive: boolean;\\n exact?: boolean;\\n type: \\"array\\" | \\"string\\" | \\"number\\" | \\"set\\" | \\"date\\" | \\"bigint\\";\\n}\\nexport interface ZodInvalidIntersectionTypesIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.invalid_intersection_types;\\n}\\nexport interface ZodNotMultipleOfIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.not_multiple_of;\\n multipleOf: number | bigint;\\n}\\nexport interface ZodNotFiniteIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.not_finite;\\n}\\nexport interface ZodCustomIssue extends ZodIssueBase {\\n code: typeof ZodIssueCode.custom;\\n params?: {\\n [k: string]: any;\\n };\\n}\\nexport type DenormalizedError = {\\n [k: string]: DenormalizedError | string[];\\n};\\nexport type ZodIssueOptionalMessage = ZodInvalidTypeIssue | ZodInvalidLiteralIssue | ZodUnrecognizedKeysIssue | ZodInvalidUnionIssue | ZodInvalidUnionDiscriminatorIssue | ZodInvalidEnumValueIssue | ZodInvalidArgumentsIssue | ZodInvalidReturnTypeIssue | ZodInvalidDateIssue | ZodInvalidStringIssue | ZodTooSmallIssue | ZodTooBigIssue | ZodInvalidIntersectionTypesIssue | ZodNotMultipleOfIssue | ZodNotFiniteIssue | ZodCustomIssue;\\nexport type ZodIssue = ZodIssueOptionalMessage & {\\n fatal?: boolean | undefined;\\n message: string;\\n};\\nexport declare const quotelessJson: (obj: any) => string;\\ntype recursiveZodFormattedError<T> = T extends [any, ...any[]] ? {\\n [K in keyof T]?: ZodFormattedError<T[K]>;\\n} : T extends any[] ? {\\n [k: number]: ZodFormattedError<T[number]>;\\n} : T extends object ? {\\n [K in keyof T]?: ZodFormattedError<T[K]>;\\n} : unknown;\\nexport type ZodFormattedError<T, U = string> = {\\n _errors: U[];\\n} & recursiveZodFormattedError<NonNullable<T>>;\\nexport type inferFormattedError<T extends ZodType<any, any, any>, U = string> = ZodFormattedError<TypeOf<T>, U>;\\nexport declare class ZodError<T = any> extends Error {\\n issues: ZodIssue[];\\n get errors(): ZodIssue[];\\n constructor(issues: ZodIssue[]);\\n format(): ZodFormattedError<T>;\\n format<U>(mapper: (issue: ZodIssue) => U): ZodFormattedError<T, U>;\\n static create: (issues: ZodIssue[]) => ZodError<any>;\\n static assert(value: unknown): asserts value is ZodError;\\n toString(): string;\\n get message(): string;\\n get isEmpty(): boolean;\\n addIssue: (sub: ZodIssue) => void;\\n addIssues: (subs?: ZodIssue[]) => void;\\n flatten(): typeToFlattenedError<T>;\\n flatten<U>(mapper?: (issue: ZodIssue) => U): typeToFlattenedError<T, U>;\\n get formErrors(): typeToFlattenedError<T, string>;\\n}\\ntype stripPath<T extends object> = T extends any ? util.OmitKeys<T, \\"path\\"> : never;\\nexport type IssueData = stripPath<ZodIssueOptionalMessage> & {\\n path?: (string | number)[];\\n fatal?: boolean | undefined;\\n};\\nexport type ErrorMapCtx = {\\n defaultError: string;\\n data: any;\\n};\\nexport type ZodErrorMap = (issue: ZodIssueOptionalMessage, _ctx: ErrorMapCtx) => {\\n message: string;\\n};\\nexport {};\\n","file:///node_modules/zod/v3/errors.d.ts":"import type { ZodErrorMap } from \\"./ZodError.js\\";\\nimport defaultErrorMap from \\"./locales/en.js\\";\\nexport { defaultErrorMap };\\nexport declare function setErrorMap(map: ZodErrorMap): void;\\nexport declare function getErrorMap(): ZodErrorMap;\\n","file:///node_modules/zod/v3/external.d.ts":"export * from \\"./errors.js\\";\\nexport * from \\"./helpers/parseUtil.js\\";\\nexport * from \\"./helpers/typeAliases.js\\";\\nexport * from \\"./helpers/util.js\\";\\nexport * from \\"./types.js\\";\\nexport * from \\"./ZodError.js\\";\\n","file:///node_modules/zod/v3/helpers/enumUtil.d.ts":"export declare namespace enumUtil {\\n type UnionToIntersectionFn<T> = (T extends unknown ? (k: () => T) => void : never) extends (k: infer Intersection) => void ? Intersection : never;\\n type GetUnionLast<T> = UnionToIntersectionFn<T> extends () => infer Last ? Last : never;\\n type UnionToTuple<T, Tuple extends unknown[] = []> = [T] extends [never] ? Tuple : UnionToTuple<Exclude<T, GetUnionLast<T>>, [GetUnionLast<T>, ...Tuple]>;\\n type CastToStringTuple<T> = T extends [string, ...string[]] ? T : never;\\n export type UnionToTupleString<T> = CastToStringTuple<UnionToTuple<T>>;\\n export {};\\n}\\n","file:///node_modules/zod/v3/helpers/errorUtil.d.ts":"export declare namespace errorUtil {\\n type ErrMessage = string | {\\n message?: string | undefined;\\n };\\n const errToObj: (message?: ErrMessage) => {\\n message?: string | undefined;\\n };\\n const toString: (message?: ErrMessage) => string | undefined;\\n}\\n","file:///node_modules/zod/v3/helpers/parseUtil.d.ts":"import type { IssueData, ZodErrorMap, ZodIssue } from \\"../ZodError.js\\";\\nimport type { ZodParsedType } from \\"./util.js\\";\\nexport declare const makeIssue: (params: {\\n data: any;\\n path: (string | number)[];\\n errorMaps: ZodErrorMap[];\\n issueData: IssueData;\\n}) => ZodIssue;\\nexport type ParseParams = {\\n path: (string | number)[];\\n errorMap: ZodErrorMap;\\n async: boolean;\\n};\\nexport type ParsePathComponent = string | number;\\nexport type ParsePath = ParsePathComponent[];\\nexport declare const EMPTY_PATH: ParsePath;\\nexport interface ParseContext {\\n readonly common: {\\n readonly issues: ZodIssue[];\\n readonly contextualErrorMap?: ZodErrorMap | undefined;\\n readonly async: boolean;\\n };\\n readonly path: ParsePath;\\n readonly schemaErrorMap?: ZodErrorMap | undefined;\\n readonly parent: ParseContext | null;\\n readonly data: any;\\n readonly parsedType: ZodParsedType;\\n}\\nexport type ParseInput = {\\n data: any;\\n path: (string | number)[];\\n parent: ParseContext;\\n};\\nexport declare function addIssueToContext(ctx: ParseContext, issueData: IssueData): void;\\nexport type ObjectPair = {\\n key: SyncParseReturnType<any>;\\n value: SyncParseReturnType<any>;\\n};\\nexport declare class ParseStatus {\\n value: \\"aborted\\" | \\"dirty\\" | \\"valid\\";\\n dirty(): void;\\n abort(): void;\\n static mergeArray(status: ParseStatus, results: SyncParseReturnType<any>[]): SyncParseReturnType;\\n static mergeObjectAsync(status: ParseStatus, pairs: {\\n key: ParseReturnType<any>;\\n value: ParseReturnType<any>;\\n }[]): Promise<SyncParseReturnType<any>>;\\n static mergeObjectSync(status: ParseStatus, pairs: {\\n key: SyncParseReturnType<any>;\\n value: SyncParseReturnType<any>;\\n alwaysSet?: boolean;\\n }[]): SyncParseReturnType;\\n}\\nexport interface ParseResult {\\n status: \\"aborted\\" | \\"dirty\\" | \\"valid\\";\\n data: any;\\n}\\nexport type INVALID = {\\n status: \\"aborted\\";\\n};\\nexport declare const INVALID: INVALID;\\nexport type DIRTY<T> = {\\n status: \\"dirty\\";\\n value: T;\\n};\\nexport declare const DIRTY: <T>(value: T) => DIRTY<T>;\\nexport type OK<T> = {\\n status: \\"valid\\";\\n value: T;\\n};\\nexport declare const OK: <T>(value: T) => OK<T>;\\nexport type SyncParseReturnType<T = any> = OK<T> | DIRTY<T> | INVALID;\\nexport type AsyncParseReturnType<T> = Promise<SyncParseReturnType<T>>;\\nexport type ParseReturnType<T> = SyncParseReturnType<T> | AsyncParseReturnType<T>;\\nexport declare const isAborted: (x: ParseReturnType<any>) => x is INVALID;\\nexport declare const isDirty: <T>(x: ParseReturnType<T>) => x is OK<T> | DIRTY<T>;\\nexport declare const isValid: <T>(x: ParseReturnType<T>) => x is OK<T>;\\nexport declare const isAsync: <T>(x: ParseReturnType<T>) => x is AsyncParseReturnType<T>;\\n","file:///node_modules/zod/v3/helpers/partialUtil.d.ts":"import type { ZodArray, ZodNullable, ZodObject, ZodOptional, ZodRawShape, ZodTuple, ZodTupleItems, ZodTypeAny } from \\"../types.js\\";\\nexport declare namespace partialUtil {\\n type DeepPartial<T extends ZodTypeAny> = T extends ZodObject<ZodRawShape> ? ZodObject<{\\n [k in keyof T[\\"shape\\"]]: ZodOptional<DeepPartial<T[\\"shape\\"][k]>>;\\n }, T[\\"_def\\"][\\"unknownKeys\\"], T[\\"_def\\"][\\"catchall\\"]> : T extends ZodArray<infer Type, infer Card> ? ZodArray<DeepPartial<Type>, Card> : T extends ZodOptional<infer Type> ? ZodOptional<DeepPartial<Type>> : T extends ZodNullable<infer Type> ? ZodNullable<DeepPartial<Type>> : T extends ZodTuple<infer Items> ? {\\n [k in keyof Items]: Items[k] extends ZodTypeAny ? DeepPartial<Items[k]> : never;\\n } extends infer PI ? PI extends ZodTupleItems ? ZodTuple<PI> : never : never : T;\\n}\\n","file:///node_modules/zod/v3/helpers/typeAliases.d.ts":"export type Primitive = string | number | symbol | bigint | boolean | null | undefined;\\nexport type Scalars = Primitive | Primitive[];\\n","file:///node_modules/zod/v3/helpers/util.d.ts":"export declare namespace util {\\n type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? true : false;\\n export type isAny<T> = 0 extends 1 & T ? true : false;\\n export const assertEqual: <A, B>(_: AssertEqual<A, B>) => void;\\n export function assertIs<T>(_arg: T): void;\\n export function assertNever(_x: never): never;\\n export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;\\n export type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;\\n export type MakePartial<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;\\n export type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;\\n export type InexactPartial<T> = {\\n [k in keyof T]?: T[k] | undefined;\\n };\\n export const arrayToEnum: <T extends string, U extends [T, ...T[]]>(items: U) => { [k in U[number]]: k; };\\n export const getValidEnumValues: (obj: any) => any[];\\n export const objectValues: (obj: any) => any[];\\n export const objectKeys: ObjectConstructor[\\"keys\\"];\\n export const find: <T>(arr: T[], checker: (arg: T) => any) => T | undefined;\\n export type identity<T> = objectUtil.identity<T>;\\n export type flatten<T> = objectUtil.flatten<T>;\\n export type noUndefined<T> = T extends undefined ? never : T;\\n export const isInteger: NumberConstructor[\\"isInteger\\"];\\n export function joinValues<T extends any[]>(array: T, separator?: string): string;\\n export const jsonStringifyReplacer: (_: string, value: any) => any;\\n export {};\\n}\\nexport declare namespace objectUtil {\\n export type MergeShapes<U, V> = keyof U & keyof V extends never ? U & V : {\\n [k in Exclude<keyof U, keyof V>]: U[k];\\n } & V;\\n type optionalKeys<T extends object> = {\\n [k in keyof T]: undefined extends T[k] ? k : never;\\n }[keyof T];\\n type requiredKeys<T extends object> = {\\n [k in keyof T]: undefined extends T[k] ? never : k;\\n }[keyof T];\\n export type addQuestionMarks<T extends object, _O = any> = {\\n [K in requiredKeys<T>]: T[K];\\n } & {\\n [K in optionalKeys<T>]?: T[K];\\n } & {\\n [k in keyof T]?: unknown;\\n };\\n export type identity<T> = T;\\n export type flatten<T> = identity<{\\n [k in keyof T]: T[k];\\n }>;\\n export type noNeverKeys<T> = {\\n [k in keyof T]: [T[k]] extends [never] ? never : k;\\n }[keyof T];\\n export type noNever<T> = identity<{\\n [k in noNeverKeys<T>]: k extends keyof T ? T[k] : never;\\n }>;\\n export const mergeShapes: <U, T>(first: U, second: T) => T & U;\\n export type extendShape<A extends object, B extends object> = keyof A & keyof B extends never ? A & B : {\\n [K in keyof A as K extends keyof B ? never : K]: A[K];\\n } & {\\n [K in keyof B]: B[K];\\n };\\n export {};\\n}\\nexport declare const ZodParsedType: {\\n string: \\"string\\";\\n nan: \\"nan\\";\\n number: \\"number\\";\\n integer: \\"integer\\";\\n float: \\"float\\";\\n boolean: \\"boolean\\";\\n date: \\"date\\";\\n bigint: \\"bigint\\";\\n symbol: \\"symbol\\";\\n function: \\"function\\";\\n undefined: \\"undefined\\";\\n null: \\"null\\";\\n array: \\"array\\";\\n object: \\"object\\";\\n unknown: \\"unknown\\";\\n promise: \\"promise\\";\\n void: \\"void\\";\\n never: \\"never\\";\\n map: \\"map\\";\\n set: \\"set\\";\\n};\\nexport type ZodParsedType = keyof typeof ZodParsedType;\\nexport declare const getParsedType: (data: any) => ZodParsedType;\\n","file:///node_modules/zod/v3/index.d.ts":"import * as z from \\"./external.js\\";\\nexport * from \\"./external.js\\";\\nexport { z };\\nexport default z;\\n","file:///node_modules/zod/v3/locales/en.d.ts":"import { type ZodErrorMap } from \\"../ZodError.js\\";\\ndeclare const errorMap: ZodErrorMap;\\nexport default errorMap;\\n","file:///node_modules/zod/v3/standard-schema.d.ts":"/**\\n * The Standard Schema interface.\\n */\\nexport type StandardSchemaV1<Input = unknown, Output = Input> = {\\n /**\\n * The Standard Schema properties.\\n */\\n readonly \\"~standard\\": StandardSchemaV1.Props<Input, Output>;\\n};\\nexport declare namespace StandardSchemaV1 {\\n /**\\n * The Standard Schema properties interface.\\n */\\n export interface Props<Input = unknown, Output = Input> {\\n /**\\n * The version number of the standard.\\n */\\n readonly version: 1;\\n /**\\n * The vendor name of the schema library.\\n */\\n readonly vendor: string;\\n /**\\n * Validates unknown input values.\\n */\\n readonly validate: (value: unknown) => Result<Output> | Promise<Result<Output>>;\\n /**\\n * Inferred types associated with the schema.\\n */\\n readonly types?: Types<Input, Output> | undefined;\\n }\\n /**\\n * The result interface of the validate function.\\n */\\n export type Result<Output> = SuccessResult<Output> | FailureResult;\\n /**\\n * The result interface if validation succeeds.\\n */\\n export interface SuccessResult<Output> {\\n /**\\n * The typed output value.\\n */\\n readonly value: Output;\\n /**\\n * The non-existent issues.\\n */\\n readonly issues?: undefined;\\n }\\n /**\\n * The result interface if validation fails.\\n */\\n export interface FailureResult {\\n /**\\n * The issues of failed validation.\\n */\\n readonly issues: ReadonlyArray<Issue>;\\n }\\n /**\\n * The issue interface of the failure output.\\n */\\n export interface Issue {\\n /**\\n * The error message of the issue.\\n */\\n readonly message: string;\\n /**\\n * The path of the issue, if any.\\n */\\n readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\\n }\\n /**\\n * The path segment interface of the issue.\\n */\\n export interface PathSegment {\\n /**\\n * The key representing a path segment.\\n */\\n readonly key: PropertyKey;\\n }\\n /**\\n * The Standard Schema types interface.\\n */\\n export interface Types<Input = unknown, Output = Input> {\\n /**\\n * The input type of the schema.\\n */\\n readonly input: Input;\\n /**\\n * The output type of the schema.\\n */\\n readonly output: Output;\\n }\\n /**\\n * Infers the input type of a Standard Schema.\\n */\\n export type InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"input\\"];\\n /**\\n * Infers the output type of a Standard Schema.\\n */\\n export type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"output\\"];\\n export {};\\n}\\n","file:///node_modules/zod/v3/types.d.ts":"import { type IssueData, type StringValidation, type ZodCustomIssue, ZodError, type ZodErrorMap } from \\"./ZodError.js\\";\\nimport type { enumUtil } from \\"./helpers/enumUtil.js\\";\\nimport { errorUtil } from \\"./helpers/errorUtil.js\\";\\nimport { type AsyncParseReturnType, INVALID, type ParseContext, type ParseInput, type ParseParams, type ParseReturnType, ParseStatus, type SyncParseReturnType } from \\"./helpers/parseUtil.js\\";\\nimport type { partialUtil } from \\"./helpers/partialUtil.js\\";\\nimport type { Primitive } from \\"./helpers/typeAliases.js\\";\\nimport { util, type objectUtil } from \\"./helpers/util.js\\";\\nimport type { StandardSchemaV1 } from \\"./standard-schema.js\\";\\nexport interface RefinementCtx {\\n addIssue: (arg: IssueData) => void;\\n path: (string | number)[];\\n}\\nexport type ZodRawShape = {\\n [k: string]: ZodTypeAny;\\n};\\nexport type ZodTypeAny = ZodType<any, any, any>;\\nexport type TypeOf<T extends ZodType<any, any, any>> = T[\\"_output\\"];\\nexport type input<T extends ZodType<any, any, any>> = T[\\"_input\\"];\\nexport type output<T extends ZodType<any, any, any>> = T[\\"_output\\"];\\nexport type { TypeOf as infer };\\nexport type CustomErrorParams = Partial<util.Omit<ZodCustomIssue, \\"code\\">>;\\nexport interface ZodTypeDef {\\n errorMap?: ZodErrorMap | undefined;\\n description?: string | undefined;\\n}\\nexport type RawCreateParams = {\\n errorMap?: ZodErrorMap | undefined;\\n invalid_type_error?: string | undefined;\\n required_error?: string | undefined;\\n message?: string | undefined;\\n description?: string | undefined;\\n} | undefined;\\nexport type ProcessedCreateParams = {\\n errorMap?: ZodErrorMap | undefined;\\n description?: string | undefined;\\n};\\nexport type SafeParseSuccess<Output> = {\\n success: true;\\n data: Output;\\n error?: never;\\n};\\nexport type SafeParseError<Input> = {\\n success: false;\\n error: ZodError<Input>;\\n data?: never;\\n};\\nexport type SafeParseReturnType<Input, Output> = SafeParseSuccess<Output> | SafeParseError<Input>;\\nexport declare abstract class ZodType<Output = any, Def extends ZodTypeDef = ZodTypeDef, Input = Output> {\\n readonly _type: Output;\\n readonly _output: Output;\\n readonly _input: Input;\\n readonly _def: Def;\\n get description(): string | undefined;\\n \\"~standard\\": StandardSchemaV1.Props<Input, Output>;\\n abstract _parse(input: ParseInput): ParseReturnType<Output>;\\n _getType(input: ParseInput): string;\\n _getOrReturnCtx(input: ParseInput, ctx?: ParseContext | undefined): ParseContext;\\n _processInputParams(input: ParseInput): {\\n status: ParseStatus;\\n ctx: ParseContext;\\n };\\n _parseSync(input: ParseInput): SyncParseReturnType<Output>;\\n _parseAsync(input: ParseInput): AsyncParseReturnType<Output>;\\n parse(data: unknown, params?: util.InexactPartial<ParseParams>): Output;\\n safeParse(data: unknown, params?: util.InexactPartial<ParseParams>): SafeParseReturnType<Input, Output>;\\n \\"~validate\\"(data: unknown): StandardSchemaV1.Result<Output> | Promise<StandardSchemaV1.Result<Output>>;\\n parseAsync(data: unknown, params?: util.InexactPartial<ParseParams>): Promise<Output>;\\n safeParseAsync(data: unknown, params?: util.InexactPartial<ParseParams>): Promise<SafeParseReturnType<Input, Output>>;\\n /** Alias of safeParseAsync */\\n spa: (data: unknown, params?: util.InexactPartial<ParseParams>) => Promise<SafeParseReturnType<Input, Output>>;\\n refine<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, RefinedOutput, Input>;\\n refine(check: (arg: Output) => unknown | Promise<unknown>, message?: string | CustomErrorParams | ((arg: Output) => CustomErrorParams)): ZodEffects<this, Output, Input>;\\n refinement<RefinedOutput extends Output>(check: (arg: Output) => arg is RefinedOutput, refinementData: IssueData | ((arg: Output, ctx: RefinementCtx) => IssueData)): ZodEffects<this, RefinedOutput, Input>;\\n refinement(check: (arg: Output) => boolean, refinementData: IssueData | ((arg: Output, ctx: RefinementCtx) => IssueData)): ZodEffects<this, Output, Input>;\\n _refinement(refinement: RefinementEffect<Output>[\\"refinement\\"]): ZodEffects<this, Output, Input>;\\n superRefine<RefinedOutput extends Output>(refinement: (arg: Output, ctx: RefinementCtx) => arg is RefinedOutput): ZodEffects<this, RefinedOutput, Input>;\\n superRefine(refinement: (arg: Output, ctx: RefinementCtx) => void): ZodEffects<this, Output, Input>;\\n superRefine(refinement: (arg: Output, ctx: RefinementCtx) => Promise<void>): ZodEffects<this, Output, Input>;\\n constructor(def: Def);\\n optional(): ZodOptional<this>;\\n nullable(): ZodNullable<this>;\\n nullish(): ZodOptional<ZodNullable<this>>;\\n array(): ZodArray<this>;\\n promise(): ZodPromise<this>;\\n or<T extends ZodTypeAny>(option: T): ZodUnion<[this, T]>;\\n and<T extends ZodTypeAny>(incoming: T): ZodIntersection<this, T>;\\n transform<NewOut>(transform: (arg: Output, ctx: RefinementCtx) => NewOut | Promise<NewOut>): ZodEffects<this, NewOut>;\\n default(def: util.noUndefined<Input>): ZodDefault<this>;\\n default(def: () => util.noUndefined<Input>): ZodDefault<this>;\\n brand<B extends string | number | symbol>(brand?: B): ZodBranded<this, B>;\\n catch(def: Output): ZodCatch<this>;\\n catch(def: (ctx: {\\n error: ZodError;\\n input: Input;\\n }) => Output): ZodCatch<this>;\\n describe(description: string): this;\\n pipe<T extends ZodTypeAny>(target: T): ZodPipeline<this, T>;\\n readonly(): ZodReadonly<this>;\\n isOptional(): boolean;\\n isNullable(): boolean;\\n}\\nexport type IpVersion = \\"v4\\" | \\"v6\\";\\nexport type ZodStringCheck = {\\n kind: \\"min\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"length\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"email\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"url\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"emoji\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"uuid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"nanoid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"cuid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"includes\\";\\n value: string;\\n position?: number | undefined;\\n message?: string | undefined;\\n} | {\\n kind: \\"cuid2\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"ulid\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"startsWith\\";\\n value: string;\\n message?: string | undefined;\\n} | {\\n kind: \\"endsWith\\";\\n value: string;\\n message?: string | undefined;\\n} | {\\n kind: \\"regex\\";\\n regex: RegExp;\\n message?: string | undefined;\\n} | {\\n kind: \\"trim\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"toLowerCase\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"toUpperCase\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"jwt\\";\\n alg?: string;\\n message?: string | undefined;\\n} | {\\n kind: \\"datetime\\";\\n offset: boolean;\\n local: boolean;\\n precision: number | null;\\n message?: string | undefined;\\n} | {\\n kind: \\"date\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"time\\";\\n precision: number | null;\\n message?: string | undefined;\\n} | {\\n kind: \\"duration\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"ip\\";\\n version?: IpVersion | undefined;\\n message?: string | undefined;\\n} | {\\n kind: \\"cidr\\";\\n version?: IpVersion | undefined;\\n message?: string | undefined;\\n} | {\\n kind: \\"base64\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"base64url\\";\\n message?: string | undefined;\\n};\\nexport interface ZodStringDef extends ZodTypeDef {\\n checks: ZodStringCheck[];\\n typeName: ZodFirstPartyTypeKind.ZodString;\\n coerce: boolean;\\n}\\nexport declare function datetimeRegex(args: {\\n precision?: number | null;\\n offset?: boolean;\\n local?: boolean;\\n}): RegExp;\\nexport declare class ZodString extends ZodType<string, ZodStringDef, string> {\\n _parse(input: ParseInput): ParseReturnType<string>;\\n protected _regex(regex: RegExp, validation: StringValidation, message?: errorUtil.ErrMessage): ZodEffects<this, string, string>;\\n _addCheck(check: ZodStringCheck): ZodString;\\n email(message?: errorUtil.ErrMessage): ZodString;\\n url(message?: errorUtil.ErrMessage): ZodString;\\n emoji(message?: errorUtil.ErrMessage): ZodString;\\n uuid(message?: errorUtil.ErrMessage): ZodString;\\n nanoid(message?: errorUtil.ErrMessage): ZodString;\\n cuid(message?: errorUtil.ErrMessage): ZodString;\\n cuid2(message?: errorUtil.ErrMessage): ZodString;\\n ulid(message?: errorUtil.ErrMessage): ZodString;\\n base64(message?: errorUtil.ErrMessage): ZodString;\\n base64url(message?: errorUtil.ErrMessage): ZodString;\\n jwt(options?: {\\n alg?: string;\\n message?: string | undefined;\\n }): ZodString;\\n ip(options?: string | {\\n version?: IpVersion;\\n message?: string | undefined;\\n }): ZodString;\\n cidr(options?: string | {\\n version?: IpVersion;\\n message?: string | undefined;\\n }): ZodString;\\n datetime(options?: string | {\\n message?: string | undefined;\\n precision?: number | null;\\n offset?: boolean;\\n local?: boolean;\\n }): ZodString;\\n date(message?: string): ZodString;\\n time(options?: string | {\\n message?: string | undefined;\\n precision?: number | null;\\n }): ZodString;\\n duration(message?: errorUtil.ErrMessage): ZodString;\\n regex(regex: RegExp, message?: errorUtil.ErrMessage): ZodString;\\n includes(value: string, options?: {\\n message?: string;\\n position?: number;\\n }): ZodString;\\n startsWith(value: string, message?: errorUtil.ErrMessage): ZodString;\\n endsWith(value: string, message?: errorUtil.ErrMessage): ZodString;\\n min(minLength: number, message?: errorUtil.ErrMessage): ZodString;\\n max(maxLength: number, message?: errorUtil.ErrMessage): ZodString;\\n length(len: number, message?: errorUtil.ErrMessage): ZodString;\\n /**\\n * Equivalent to `.min(1)`\\n */\\n nonempty(message?: errorUtil.ErrMessage): ZodString;\\n trim(): ZodString;\\n toLowerCase(): ZodString;\\n toUpperCase(): ZodString;\\n get isDatetime(): boolean;\\n get isDate(): boolean;\\n get isTime(): boolean;\\n get isDuration(): boolean;\\n get isEmail(): boolean;\\n get isURL(): boolean;\\n get isEmoji(): boolean;\\n get isUUID(): boolean;\\n get isNANOID(): boolean;\\n get isCUID(): boolean;\\n get isCUID2(): boolean;\\n get isULID(): boolean;\\n get isIP(): boolean;\\n get isCIDR(): boolean;\\n get isBase64(): boolean;\\n get isBase64url(): boolean;\\n get minLength(): number | null;\\n get maxLength(): number | null;\\n static create: (params?: RawCreateParams & {\\n coerce?: true;\\n }) => ZodString;\\n}\\nexport type ZodNumberCheck = {\\n kind: \\"min\\";\\n value: number;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: number;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"int\\";\\n message?: string | undefined;\\n} | {\\n kind: \\"multipleOf\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"finite\\";\\n message?: string | undefined;\\n};\\nexport interface ZodNumberDef extends ZodTypeDef {\\n checks: ZodNumberCheck[];\\n typeName: ZodFirstPartyTypeKind.ZodNumber;\\n coerce: boolean;\\n}\\nexport declare class ZodNumber extends ZodType<number, ZodNumberDef, number> {\\n _parse(input: ParseInput): ParseReturnType<number>;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodNumber;\\n gte(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n min: (value: number, message?: errorUtil.ErrMessage) => ZodNumber;\\n gt(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n lte(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n max: (value: number, message?: errorUtil.ErrMessage) => ZodNumber;\\n lt(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n protected setLimit(kind: \\"min\\" | \\"max\\", value: number, inclusive: boolean, message?: string): ZodNumber;\\n _addCheck(check: ZodNumberCheck): ZodNumber;\\n int(message?: errorUtil.ErrMessage): ZodNumber;\\n positive(message?: errorUtil.ErrMessage): ZodNumber;\\n negative(message?: errorUtil.ErrMessage): ZodNumber;\\n nonpositive(message?: errorUtil.ErrMessage): ZodNumber;\\n nonnegative(message?: errorUtil.ErrMessage): ZodNumber;\\n multipleOf(value: number, message?: errorUtil.ErrMessage): ZodNumber;\\n step: (value: number, message?: errorUtil.ErrMessage) => ZodNumber;\\n finite(message?: errorUtil.ErrMessage): ZodNumber;\\n safe(message?: errorUtil.ErrMessage): ZodNumber;\\n get minValue(): number | null;\\n get maxValue(): number | null;\\n get isInt(): boolean;\\n get isFinite(): boolean;\\n}\\nexport type ZodBigIntCheck = {\\n kind: \\"min\\";\\n value: bigint;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: bigint;\\n inclusive: boolean;\\n message?: string | undefined;\\n} | {\\n kind: \\"multipleOf\\";\\n value: bigint;\\n message?: string | undefined;\\n};\\nexport interface ZodBigIntDef extends ZodTypeDef {\\n checks: ZodBigIntCheck[];\\n typeName: ZodFirstPartyTypeKind.ZodBigInt;\\n coerce: boolean;\\n}\\nexport declare class ZodBigInt extends ZodType<bigint, ZodBigIntDef, bigint> {\\n _parse(input: ParseInput): ParseReturnType<bigint>;\\n _getInvalidInput(input: ParseInput): INVALID;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodBigInt;\\n gte(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n min: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;\\n gt(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n lte(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n max: (value: bigint, message?: errorUtil.ErrMessage) => ZodBigInt;\\n lt(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n protected setLimit(kind: \\"min\\" | \\"max\\", value: bigint, inclusive: boolean, message?: string): ZodBigInt;\\n _addCheck(check: ZodBigIntCheck): ZodBigInt;\\n positive(message?: errorUtil.ErrMessage): ZodBigInt;\\n negative(message?: errorUtil.ErrMessage): ZodBigInt;\\n nonpositive(message?: errorUtil.ErrMessage): ZodBigInt;\\n nonnegative(message?: errorUtil.ErrMessage): ZodBigInt;\\n multipleOf(value: bigint, message?: errorUtil.ErrMessage): ZodBigInt;\\n get minValue(): bigint | null;\\n get maxValue(): bigint | null;\\n}\\nexport interface ZodBooleanDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodBoolean;\\n coerce: boolean;\\n}\\nexport declare class ZodBoolean extends ZodType<boolean, ZodBooleanDef, boolean> {\\n _parse(input: ParseInput): ParseReturnType<boolean>;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodBoolean;\\n}\\nexport type ZodDateCheck = {\\n kind: \\"min\\";\\n value: number;\\n message?: string | undefined;\\n} | {\\n kind: \\"max\\";\\n value: number;\\n message?: string | undefined;\\n};\\nexport interface ZodDateDef extends ZodTypeDef {\\n checks: ZodDateCheck[];\\n coerce: boolean;\\n typeName: ZodFirstPartyTypeKind.ZodDate;\\n}\\nexport declare class ZodDate extends ZodType<Date, ZodDateDef, Date> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n _addCheck(check: ZodDateCheck): ZodDate;\\n min(minDate: Date, message?: errorUtil.ErrMessage): ZodDate;\\n max(maxDate: Date, message?: errorUtil.ErrMessage): ZodDate;\\n get minDate(): Date | null;\\n get maxDate(): Date | null;\\n static create: (params?: RawCreateParams & {\\n coerce?: boolean;\\n }) => ZodDate;\\n}\\nexport interface ZodSymbolDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodSymbol;\\n}\\nexport declare class ZodSymbol extends ZodType<symbol, ZodSymbolDef, symbol> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodSymbol;\\n}\\nexport interface ZodUndefinedDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodUndefined;\\n}\\nexport declare class ZodUndefined extends ZodType<undefined, ZodUndefinedDef, undefined> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n params?: RawCreateParams;\\n static create: (params?: RawCreateParams) => ZodUndefined;\\n}\\nexport interface ZodNullDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodNull;\\n}\\nexport declare class ZodNull extends ZodType<null, ZodNullDef, null> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodNull;\\n}\\nexport interface ZodAnyDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodAny;\\n}\\nexport declare class ZodAny extends ZodType<any, ZodAnyDef, any> {\\n _any: true;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodAny;\\n}\\nexport interface ZodUnknownDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodUnknown;\\n}\\nexport declare class ZodUnknown extends ZodType<unknown, ZodUnknownDef, unknown> {\\n _unknown: true;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodUnknown;\\n}\\nexport interface ZodNeverDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodNever;\\n}\\nexport declare class ZodNever extends ZodType<never, ZodNeverDef, never> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodNever;\\n}\\nexport interface ZodVoidDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodVoid;\\n}\\nexport declare class ZodVoid extends ZodType<void, ZodVoidDef, void> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: (params?: RawCreateParams) => ZodVoid;\\n}\\nexport interface ZodArrayDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n type: T;\\n typeName: ZodFirstPartyTypeKind.ZodArray;\\n exactLength: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n minLength: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n maxLength: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n}\\nexport type ArrayCardinality = \\"many\\" | \\"atleastone\\";\\nexport type arrayOutputType<T extends ZodTypeAny, Cardinality extends ArrayCardinality = \\"many\\"> = Cardinality extends \\"atleastone\\" ? [T[\\"_output\\"], ...T[\\"_output\\"][]] : T[\\"_output\\"][];\\nexport declare class ZodArray<T extends ZodTypeAny, Cardinality extends ArrayCardinality = \\"many\\"> extends ZodType<arrayOutputType<T, Cardinality>, ZodArrayDef<T>, Cardinality extends \\"atleastone\\" ? [T[\\"_input\\"], ...T[\\"_input\\"][]] : T[\\"_input\\"][]> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get element(): T;\\n min(minLength: number, message?: errorUtil.ErrMessage): this;\\n max(maxLength: number, message?: errorUtil.ErrMessage): this;\\n length(len: number, message?: errorUtil.ErrMessage): this;\\n nonempty(message?: errorUtil.ErrMessage): ZodArray<T, \\"atleastone\\">;\\n static create: <El extends ZodTypeAny>(schema: El, params?: RawCreateParams) => ZodArray<El>;\\n}\\nexport type ZodNonEmptyArray<T extends ZodTypeAny> = ZodArray<T, \\"atleastone\\">;\\nexport type UnknownKeysParam = \\"passthrough\\" | \\"strict\\" | \\"strip\\";\\nexport interface ZodObjectDef<T extends ZodRawShape = ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodObject;\\n shape: () => T;\\n catchall: Catchall;\\n unknownKeys: UnknownKeys;\\n}\\nexport type mergeTypes<A, B> = {\\n [k in keyof A | keyof B]: k extends keyof B ? B[k] : k extends keyof A ? A[k] : never;\\n};\\nexport type objectOutputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny, UnknownKeys extends UnknownKeysParam = UnknownKeysParam> = objectUtil.flatten<objectUtil.addQuestionMarks<baseObjectOutputType<Shape>>> & CatchallOutput<Catchall> & PassthroughType<UnknownKeys>;\\nexport type baseObjectOutputType<Shape extends ZodRawShape> = {\\n [k in keyof Shape]: Shape[k][\\"_output\\"];\\n};\\nexport type objectInputType<Shape extends ZodRawShape, Catchall extends ZodTypeAny, UnknownKeys extends UnknownKeysParam = UnknownKeysParam> = objectUtil.flatten<baseObjectInputType<Shape>> & CatchallInput<Catchall> & PassthroughType<UnknownKeys>;\\nexport type baseObjectInputType<Shape extends ZodRawShape> = objectUtil.addQuestionMarks<{\\n [k in keyof Shape]: Shape[k][\\"_input\\"];\\n}>;\\nexport type CatchallOutput<T extends ZodType> = ZodType extends T ? unknown : {\\n [k: string]: T[\\"_output\\"];\\n};\\nexport type CatchallInput<T extends ZodType> = ZodType extends T ? unknown : {\\n [k: string]: T[\\"_input\\"];\\n};\\nexport type PassthroughType<T extends UnknownKeysParam> = T extends \\"passthrough\\" ? {\\n [k: string]: unknown;\\n} : unknown;\\nexport type deoptional<T extends ZodTypeAny> = T extends ZodOptional<infer U> ? deoptional<U> : T extends ZodNullable<infer U> ? ZodNullable<deoptional<U>> : T;\\nexport type SomeZodObject = ZodObject<ZodRawShape, UnknownKeysParam, ZodTypeAny>;\\nexport type noUnrecognized<Obj extends object, Shape extends object> = {\\n [k in keyof Obj]: k extends keyof Shape ? Obj[k] : never;\\n};\\nexport declare class ZodObject<T extends ZodRawShape, UnknownKeys extends UnknownKeysParam = UnknownKeysParam, Catchall extends ZodTypeAny = ZodTypeAny, Output = objectOutputType<T, Catchall, UnknownKeys>, Input = objectInputType<T, Catchall, UnknownKeys>> extends ZodType<Output, ZodObjectDef<T, UnknownKeys, Catchall>, Input> {\\n _cached: {\\n shape: T;\\n keys: string[];\\n } | null;\\n _getCached(): {\\n shape: T;\\n keys: string[];\\n };\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get shape(): T;\\n strict(message?: errorUtil.ErrMessage): ZodObject<T, \\"strict\\", Catchall>;\\n strip(): ZodObject<T, \\"strip\\", Catchall>;\\n passthrough(): ZodObject<T, \\"passthrough\\", Catchall>;\\n /**\\n * @deprecated In most cases, this is no longer needed - unknown properties are now silently stripped.\\n * If you want to pass through unknown properties, use `.passthrough()` instead.\\n */\\n nonstrict: () => ZodObject<T, \\"passthrough\\", Catchall>;\\n extend<Augmentation extends ZodRawShape>(augmentation: Augmentation): ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>;\\n /**\\n * @deprecated Use `.extend` instead\\n * */\\n augment: <Augmentation extends ZodRawShape>(augmentation: Augmentation) => ZodObject<objectUtil.extendShape<T, Augmentation>, UnknownKeys, Catchall>;\\n /**\\n * Prior to zod@1.0.12 there was a bug in the\\n * inferred type of merged objects. Please\\n * upgrade if you are experiencing issues.\\n */\\n merge<Incoming extends AnyZodObject, Augmentation extends Incoming[\\"shape\\"]>(merging: Incoming): ZodObject<objectUtil.extendShape<T, Augmentation>, Incoming[\\"_def\\"][\\"unknownKeys\\"], Incoming[\\"_def\\"][\\"catchall\\"]>;\\n setKey<Key extends string, Schema extends ZodTypeAny>(key: Key, schema: Schema): ZodObject<T & {\\n [k in Key]: Schema;\\n }, UnknownKeys, Catchall>;\\n catchall<Index extends ZodTypeAny>(index: Index): ZodObject<T, UnknownKeys, Index>;\\n pick<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<Pick<T, Extract<keyof T, keyof Mask>>, UnknownKeys, Catchall>;\\n omit<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<Omit<T, keyof Mask>, UnknownKeys, Catchall>;\\n /**\\n * @deprecated\\n */\\n deepPartial(): partialUtil.DeepPartial<this>;\\n partial(): ZodObject<{\\n [k in keyof T]: ZodOptional<T[k]>;\\n }, UnknownKeys, Catchall>;\\n partial<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{\\n [k in keyof T]: k extends keyof Mask ? ZodOptional<T[k]> : T[k];\\n }>, UnknownKeys, Catchall>;\\n required(): ZodObject<{\\n [k in keyof T]: deoptional<T[k]>;\\n }, UnknownKeys, Catchall>;\\n required<Mask extends util.Exactly<{\\n [k in keyof T]?: true;\\n }, Mask>>(mask: Mask): ZodObject<objectUtil.noNever<{\\n [k in keyof T]: k extends keyof Mask ? deoptional<T[k]> : T[k];\\n }>, UnknownKeys, Catchall>;\\n keyof(): ZodEnum<enumUtil.UnionToTupleString<keyof T>>;\\n static create: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\", ZodTypeAny, objectOutputType<Shape, ZodTypeAny, \\"strip\\">, objectInputType<Shape, ZodTypeAny, \\"strip\\">>;\\n static strictCreate: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strict\\">;\\n static lazycreate: <Shape extends ZodRawShape>(shape: () => Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\">;\\n}\\nexport type AnyZodObject = ZodObject<any, any, any>;\\nexport type ZodUnionOptions = Readonly<[ZodTypeAny, ...ZodTypeAny[]]>;\\nexport interface ZodUnionDef<T extends ZodUnionOptions = Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>> extends ZodTypeDef {\\n options: T;\\n typeName: ZodFirstPartyTypeKind.ZodUnion;\\n}\\nexport declare class ZodUnion<T extends ZodUnionOptions> extends ZodType<T[number][\\"_output\\"], ZodUnionDef<T>, T[number][\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get options(): T;\\n static create: <Options extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: Options, params?: RawCreateParams) => ZodUnion<Options>;\\n}\\nexport type ZodDiscriminatedUnionOption<Discriminator extends string> = ZodObject<{\\n [key in Discriminator]: ZodTypeAny;\\n} & ZodRawShape, UnknownKeysParam, ZodTypeAny>;\\nexport interface ZodDiscriminatedUnionDef<Discriminator extends string, Options extends readonly ZodDiscriminatedUnionOption<string>[] = ZodDiscriminatedUnionOption<string>[]> extends ZodTypeDef {\\n discriminator: Discriminator;\\n options: Options;\\n optionsMap: Map<Primitive, ZodDiscriminatedUnionOption<any>>;\\n typeName: ZodFirstPartyTypeKind.ZodDiscriminatedUnion;\\n}\\nexport declare class ZodDiscriminatedUnion<Discriminator extends string, Options extends readonly ZodDiscriminatedUnionOption<Discriminator>[]> extends ZodType<output<Options[number]>, ZodDiscriminatedUnionDef<Discriminator, Options>, input<Options[number]>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get discriminator(): Discriminator;\\n get options(): Options;\\n get optionsMap(): Map<Primitive, ZodDiscriminatedUnionOption<any>>;\\n /**\\n * The constructor of the discriminated union schema. Its behaviour is very similar to that of the normal z.union() constructor.\\n * However, it only allows a union of objects, all of which need to share a discriminator property. This property must\\n * have a different value for each object in the union.\\n * @param discriminator the name of the discriminator property\\n * @param types an array of object schemas\\n * @param params\\n */\\n static create<Discriminator extends string, Types extends readonly [\\n ZodDiscriminatedUnionOption<Discriminator>,\\n ...ZodDiscriminatedUnionOption<Discriminator>[]\\n ]>(discriminator: Discriminator, options: Types, params?: RawCreateParams): ZodDiscriminatedUnion<Discriminator, Types>;\\n}\\nexport interface ZodIntersectionDef<T extends ZodTypeAny = ZodTypeAny, U extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n left: T;\\n right: U;\\n typeName: ZodFirstPartyTypeKind.ZodIntersection;\\n}\\nexport declare class ZodIntersection<T extends ZodTypeAny, U extends ZodTypeAny> extends ZodType<T[\\"_output\\"] & U[\\"_output\\"], ZodIntersectionDef<T, U>, T[\\"_input\\"] & U[\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <TSchema extends ZodTypeAny, USchema extends ZodTypeAny>(left: TSchema, right: USchema, params?: RawCreateParams) => ZodIntersection<TSchema, USchema>;\\n}\\nexport type ZodTupleItems = [ZodTypeAny, ...ZodTypeAny[]];\\nexport type AssertArray<T> = T extends any[] ? T : never;\\nexport type OutputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{\\n [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k][\\"_output\\"] : never;\\n}>;\\nexport type OutputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = Rest extends ZodTypeAny ? [...OutputTypeOfTuple<T>, ...Rest[\\"_output\\"][]] : OutputTypeOfTuple<T>;\\nexport type InputTypeOfTuple<T extends ZodTupleItems | []> = AssertArray<{\\n [k in keyof T]: T[k] extends ZodType<any, any, any> ? T[k][\\"_input\\"] : never;\\n}>;\\nexport type InputTypeOfTupleWithRest<T extends ZodTupleItems | [], Rest extends ZodTypeAny | null = null> = Rest extends ZodTypeAny ? [...InputTypeOfTuple<T>, ...Rest[\\"_input\\"][]] : InputTypeOfTuple<T>;\\nexport interface ZodTupleDef<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> extends ZodTypeDef {\\n items: T;\\n rest: Rest;\\n typeName: ZodFirstPartyTypeKind.ZodTuple;\\n}\\nexport type AnyZodTuple = ZodTuple<[ZodTypeAny, ...ZodTypeAny[]] | [], ZodTypeAny | null>;\\nexport declare class ZodTuple<T extends ZodTupleItems | [] = ZodTupleItems, Rest extends ZodTypeAny | null = null> extends ZodType<OutputTypeOfTupleWithRest<T, Rest>, ZodTupleDef<T, Rest>, InputTypeOfTupleWithRest<T, Rest>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get items(): T;\\n rest<RestSchema extends ZodTypeAny>(rest: RestSchema): ZodTuple<T, RestSchema>;\\n static create: <Items extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: Items, params?: RawCreateParams) => ZodTuple<Items, null>;\\n}\\nexport interface ZodRecordDef<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n valueType: Value;\\n keyType: Key;\\n typeName: ZodFirstPartyTypeKind.ZodRecord;\\n}\\nexport type KeySchema = ZodType<string | number | symbol, any, any>;\\nexport type RecordType<K extends string | number | symbol, V> = [string] extends [K] ? Record<K, V> : [number] extends [K] ? Record<K, V> : [symbol] extends [K] ? Record<K, V> : [BRAND<string | number | symbol>] extends [K] ? Record<K, V> : Partial<Record<K, V>>;\\nexport declare class ZodRecord<Key extends KeySchema = ZodString, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<RecordType<Key[\\"_output\\"], Value[\\"_output\\"]>, ZodRecordDef<Key, Value>, RecordType<Key[\\"_input\\"], Value[\\"_input\\"]>> {\\n get keySchema(): Key;\\n get valueSchema(): Value;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get element(): Value;\\n static create<Value extends ZodTypeAny>(valueType: Value, params?: RawCreateParams): ZodRecord<ZodString, Value>;\\n static create<Keys extends KeySchema, Value extends ZodTypeAny>(keySchema: Keys, valueType: Value, params?: RawCreateParams): ZodRecord<Keys, Value>;\\n}\\nexport interface ZodMapDef<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n valueType: Value;\\n keyType: Key;\\n typeName: ZodFirstPartyTypeKind.ZodMap;\\n}\\nexport declare class ZodMap<Key extends ZodTypeAny = ZodTypeAny, Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Map<Key[\\"_output\\"], Value[\\"_output\\"]>, ZodMapDef<Key, Value>, Map<Key[\\"_input\\"], Value[\\"_input\\"]>> {\\n get keySchema(): Key;\\n get valueSchema(): Value;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <KeySchema extends ZodTypeAny = ZodTypeAny, ValueSchema extends ZodTypeAny = ZodTypeAny>(keyType: KeySchema, valueType: ValueSchema, params?: RawCreateParams) => ZodMap<KeySchema, ValueSchema>;\\n}\\nexport interface ZodSetDef<Value extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n valueType: Value;\\n typeName: ZodFirstPartyTypeKind.ZodSet;\\n minSize: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n maxSize: {\\n value: number;\\n message?: string | undefined;\\n } | null;\\n}\\nexport declare class ZodSet<Value extends ZodTypeAny = ZodTypeAny> extends ZodType<Set<Value[\\"_output\\"]>, ZodSetDef<Value>, Set<Value[\\"_input\\"]>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n min(minSize: number, message?: errorUtil.ErrMessage): this;\\n max(maxSize: number, message?: errorUtil.ErrMessage): this;\\n size(size: number, message?: errorUtil.ErrMessage): this;\\n nonempty(message?: errorUtil.ErrMessage): ZodSet<Value>;\\n static create: <ValueSchema extends ZodTypeAny = ZodTypeAny>(valueType: ValueSchema, params?: RawCreateParams) => ZodSet<ValueSchema>;\\n}\\nexport interface ZodFunctionDef<Args extends ZodTuple<any, any> = ZodTuple<any, any>, Returns extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n args: Args;\\n returns: Returns;\\n typeName: ZodFirstPartyTypeKind.ZodFunction;\\n}\\nexport type OuterTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = Args[\\"_input\\"] extends Array<any> ? (...args: Args[\\"_input\\"]) => Returns[\\"_output\\"] : never;\\nexport type InnerTypeOfFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> = Args[\\"_output\\"] extends Array<any> ? (...args: Args[\\"_output\\"]) => Returns[\\"_input\\"] : never;\\nexport declare class ZodFunction<Args extends ZodTuple<any, any>, Returns extends ZodTypeAny> extends ZodType<OuterTypeOfFunction<Args, Returns>, ZodFunctionDef<Args, Returns>, InnerTypeOfFunction<Args, Returns>> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n parameters(): Args;\\n returnType(): Returns;\\n args<Items extends Parameters<(typeof ZodTuple)[\\"create\\"]>[0]>(...items: Items): ZodFunction<ZodTuple<Items, ZodUnknown>, Returns>;\\n returns<NewReturnType extends ZodType<any, any, any>>(returnType: NewReturnType): ZodFunction<Args, NewReturnType>;\\n implement<F extends InnerTypeOfFunction<Args, Returns>>(func: F): ReturnType<F> extends Returns[\\"_output\\"] ? (...args: Args[\\"_input\\"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>;\\n strictImplement(func: InnerTypeOfFunction<Args, Returns>): InnerTypeOfFunction<Args, Returns>;\\n validate: <F extends InnerTypeOfFunction<Args, Returns>>(func: F) => ReturnType<F> extends Returns[\\"_output\\"] ? (...args: Args[\\"_input\\"]) => ReturnType<F> : OuterTypeOfFunction<Args, Returns>;\\n static create(): ZodFunction<ZodTuple<[], ZodUnknown>, ZodUnknown>;\\n static create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>>(args: T): ZodFunction<T, ZodUnknown>;\\n static create<T extends AnyZodTuple, U extends ZodTypeAny>(args: T, returns: U): ZodFunction<T, U>;\\n static create<T extends AnyZodTuple = ZodTuple<[], ZodUnknown>, U extends ZodTypeAny = ZodUnknown>(args: T, returns: U, params?: RawCreateParams): ZodFunction<T, U>;\\n}\\nexport interface ZodLazyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n getter: () => T;\\n typeName: ZodFirstPartyTypeKind.ZodLazy;\\n}\\nexport declare class ZodLazy<T extends ZodTypeAny> extends ZodType<output<T>, ZodLazyDef<T>, input<T>> {\\n get schema(): T;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <Inner extends ZodTypeAny>(getter: () => Inner, params?: RawCreateParams) => ZodLazy<Inner>;\\n}\\nexport interface ZodLiteralDef<T = any> extends ZodTypeDef {\\n value: T;\\n typeName: ZodFirstPartyTypeKind.ZodLiteral;\\n}\\nexport declare class ZodLiteral<T> extends ZodType<T, ZodLiteralDef<T>, T> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get value(): T;\\n static create: <Value extends Primitive>(value: Value, params?: RawCreateParams) => ZodLiteral<Value>;\\n}\\nexport type ArrayKeys = keyof any[];\\nexport type Indices<T> = Exclude<keyof T, ArrayKeys>;\\nexport type EnumValues<T extends string = string> = readonly [T, ...T[]];\\nexport type Values<T extends EnumValues> = {\\n [k in T[number]]: k;\\n};\\nexport interface ZodEnumDef<T extends EnumValues = EnumValues> extends ZodTypeDef {\\n values: T;\\n typeName: ZodFirstPartyTypeKind.ZodEnum;\\n}\\nexport type Writeable<T> = {\\n -readonly [P in keyof T]: T[P];\\n};\\nexport type FilterEnum<Values, ToExclude> = Values extends [] ? [] : Values extends [infer Head, ...infer Rest] ? Head extends ToExclude ? FilterEnum<Rest, ToExclude> : [Head, ...FilterEnum<Rest, ToExclude>] : never;\\nexport type typecast<A, T> = A extends T ? A : never;\\ndeclare function createZodEnum<U extends string, T extends Readonly<[U, ...U[]]>>(values: T, params?: RawCreateParams): ZodEnum<Writeable<T>>;\\ndeclare function createZodEnum<U extends string, T extends [U, ...U[]]>(values: T, params?: RawCreateParams): ZodEnum<T>;\\nexport declare class ZodEnum<T extends [string, ...string[]]> extends ZodType<T[number], ZodEnumDef<T>, T[number]> {\\n _cache: Set<T[number]> | undefined;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n get options(): T;\\n get enum(): Values<T>;\\n get Values(): Values<T>;\\n get Enum(): Values<T>;\\n extract<ToExtract extends readonly [T[number], ...T[number][]]>(values: ToExtract, newDef?: RawCreateParams): ZodEnum<Writeable<ToExtract>>;\\n exclude<ToExclude extends readonly [T[number], ...T[number][]]>(values: ToExclude, newDef?: RawCreateParams): ZodEnum<typecast<Writeable<FilterEnum<T, ToExclude[number]>>, [string, ...string[]]>>;\\n static create: typeof createZodEnum;\\n}\\nexport interface ZodNativeEnumDef<T extends EnumLike = EnumLike> extends ZodTypeDef {\\n values: T;\\n typeName: ZodFirstPartyTypeKind.ZodNativeEnum;\\n}\\nexport type EnumLike = {\\n [k: string]: string | number;\\n [nu: number]: string;\\n};\\nexport declare class ZodNativeEnum<T extends EnumLike> extends ZodType<T[keyof T], ZodNativeEnumDef<T>, T[keyof T]> {\\n _cache: Set<T[keyof T]> | undefined;\\n _parse(input: ParseInput): ParseReturnType<T[keyof T]>;\\n get enum(): T;\\n static create: <Elements extends EnumLike>(values: Elements, params?: RawCreateParams) => ZodNativeEnum<Elements>;\\n}\\nexport interface ZodPromiseDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n type: T;\\n typeName: ZodFirstPartyTypeKind.ZodPromise;\\n}\\nexport declare class ZodPromise<T extends ZodTypeAny> extends ZodType<Promise<T[\\"_output\\"]>, ZodPromiseDef<T>, Promise<T[\\"_input\\"]>> {\\n unwrap(): T;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <Inner extends ZodTypeAny>(schema: Inner, params?: RawCreateParams) => ZodPromise<Inner>;\\n}\\nexport type Refinement<T> = (arg: T, ctx: RefinementCtx) => any;\\nexport type SuperRefinement<T> = (arg: T, ctx: RefinementCtx) => void | Promise<void>;\\nexport type RefinementEffect<T> = {\\n type: \\"refinement\\";\\n refinement: (arg: T, ctx: RefinementCtx) => any;\\n};\\nexport type TransformEffect<T> = {\\n type: \\"transform\\";\\n transform: (arg: T, ctx: RefinementCtx) => any;\\n};\\nexport type PreprocessEffect<T> = {\\n type: \\"preprocess\\";\\n transform: (arg: T, ctx: RefinementCtx) => any;\\n};\\nexport type Effect<T> = RefinementEffect<T> | TransformEffect<T> | PreprocessEffect<T>;\\nexport interface ZodEffectsDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n schema: T;\\n typeName: ZodFirstPartyTypeKind.ZodEffects;\\n effect: Effect<any>;\\n}\\nexport declare class ZodEffects<T extends ZodTypeAny, Output = output<T>, Input = input<T>> extends ZodType<Output, ZodEffectsDef<T>, Input> {\\n innerType(): T;\\n sourceType(): T;\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <I extends ZodTypeAny>(schema: I, effect: Effect<I[\\"_output\\"]>, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"]>;\\n static createWithPreprocess: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"], unknown>;\\n}\\nexport { ZodEffects as ZodTransformer };\\nexport interface ZodOptionalDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n typeName: ZodFirstPartyTypeKind.ZodOptional;\\n}\\nexport type ZodOptionalType<T extends ZodTypeAny> = ZodOptional<T>;\\nexport declare class ZodOptional<T extends ZodTypeAny> extends ZodType<T[\\"_output\\"] | undefined, ZodOptionalDef<T>, T[\\"_input\\"] | undefined> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n unwrap(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodOptional<Inner>;\\n}\\nexport interface ZodNullableDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n typeName: ZodFirstPartyTypeKind.ZodNullable;\\n}\\nexport type ZodNullableType<T extends ZodTypeAny> = ZodNullable<T>;\\nexport declare class ZodNullable<T extends ZodTypeAny> extends ZodType<T[\\"_output\\"] | null, ZodNullableDef<T>, T[\\"_input\\"] | null> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n unwrap(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodNullable<Inner>;\\n}\\nexport interface ZodDefaultDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n defaultValue: () => util.noUndefined<T[\\"_input\\"]>;\\n typeName: ZodFirstPartyTypeKind.ZodDefault;\\n}\\nexport declare class ZodDefault<T extends ZodTypeAny> extends ZodType<util.noUndefined<T[\\"_output\\"]>, ZodDefaultDef<T>, T[\\"_input\\"] | undefined> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n removeDefault(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params: RawCreateParams & {\\n default: Inner[\\"_input\\"] | (() => util.noUndefined<Inner[\\"_input\\"]>);\\n }) => ZodDefault<Inner>;\\n}\\nexport interface ZodCatchDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n catchValue: (ctx: {\\n error: ZodError;\\n input: unknown;\\n }) => T[\\"_input\\"];\\n typeName: ZodFirstPartyTypeKind.ZodCatch;\\n}\\nexport declare class ZodCatch<T extends ZodTypeAny> extends ZodType<T[\\"_output\\"], ZodCatchDef<T>, unknown> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n removeCatch(): T;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params: RawCreateParams & {\\n catch: Inner[\\"_output\\"] | (() => Inner[\\"_output\\"]);\\n }) => ZodCatch<Inner>;\\n}\\nexport interface ZodNaNDef extends ZodTypeDef {\\n typeName: ZodFirstPartyTypeKind.ZodNaN;\\n}\\nexport declare class ZodNaN extends ZodType<number, ZodNaNDef, number> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n static create: (params?: RawCreateParams) => ZodNaN;\\n}\\nexport interface ZodBrandedDef<T extends ZodTypeAny> extends ZodTypeDef {\\n type: T;\\n typeName: ZodFirstPartyTypeKind.ZodBranded;\\n}\\nexport declare const BRAND: unique symbol;\\nexport type BRAND<T extends string | number | symbol> = {\\n [BRAND]: {\\n [k in T]: true;\\n };\\n};\\nexport declare class ZodBranded<T extends ZodTypeAny, B extends string | number | symbol> extends ZodType<T[\\"_output\\"] & BRAND<B>, ZodBrandedDef<T>, T[\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n unwrap(): T;\\n}\\nexport interface ZodPipelineDef<A extends ZodTypeAny, B extends ZodTypeAny> extends ZodTypeDef {\\n in: A;\\n out: B;\\n typeName: ZodFirstPartyTypeKind.ZodPipeline;\\n}\\nexport declare class ZodPipeline<A extends ZodTypeAny, B extends ZodTypeAny> extends ZodType<B[\\"_output\\"], ZodPipelineDef<A, B>, A[\\"_input\\"]> {\\n _parse(input: ParseInput): ParseReturnType<any>;\\n static create<ASchema extends ZodTypeAny, BSchema extends ZodTypeAny>(a: ASchema, b: BSchema): ZodPipeline<ASchema, BSchema>;\\n}\\ntype BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {\\n readonly [Symbol.toStringTag]: string;\\n} | Date | Error | Generator | Promise<unknown> | RegExp;\\ntype MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;\\nexport interface ZodReadonlyDef<T extends ZodTypeAny = ZodTypeAny> extends ZodTypeDef {\\n innerType: T;\\n typeName: ZodFirstPartyTypeKind.ZodReadonly;\\n}\\nexport declare class ZodReadonly<T extends ZodTypeAny> extends ZodType<MakeReadonly<T[\\"_output\\"]>, ZodReadonlyDef<T>, MakeReadonly<T[\\"_input\\"]>> {\\n _parse(input: ParseInput): ParseReturnType<this[\\"_output\\"]>;\\n static create: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodReadonly<Inner>;\\n unwrap(): T;\\n}\\ntype CustomParams = CustomErrorParams & {\\n fatal?: boolean;\\n};\\nexport declare function custom<T>(check?: (data: any) => any, _params?: string | CustomParams | ((input: any) => CustomParams), \\n/**\\n * @deprecated\\n *\\n * Pass `fatal` into the params object instead:\\n *\\n * ```ts\\n * z.string().custom((val) => val.length > 5, { fatal: false })\\n * ```\\n *\\n */\\nfatal?: boolean): ZodType<T, ZodTypeDef, T>;\\nexport { ZodType as Schema, ZodType as ZodSchema };\\nexport declare const late: {\\n object: <Shape extends ZodRawShape>(shape: () => Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\">;\\n};\\nexport declare enum ZodFirstPartyTypeKind {\\n ZodString = \\"ZodString\\",\\n ZodNumber = \\"ZodNumber\\",\\n ZodNaN = \\"ZodNaN\\",\\n ZodBigInt = \\"ZodBigInt\\",\\n ZodBoolean = \\"ZodBoolean\\",\\n ZodDate = \\"ZodDate\\",\\n ZodSymbol = \\"ZodSymbol\\",\\n ZodUndefined = \\"ZodUndefined\\",\\n ZodNull = \\"ZodNull\\",\\n ZodAny = \\"ZodAny\\",\\n ZodUnknown = \\"ZodUnknown\\",\\n ZodNever = \\"ZodNever\\",\\n ZodVoid = \\"ZodVoid\\",\\n ZodArray = \\"ZodArray\\",\\n ZodObject = \\"ZodObject\\",\\n ZodUnion = \\"ZodUnion\\",\\n ZodDiscriminatedUnion = \\"ZodDiscriminatedUnion\\",\\n ZodIntersection = \\"ZodIntersection\\",\\n ZodTuple = \\"ZodTuple\\",\\n ZodRecord = \\"ZodRecord\\",\\n ZodMap = \\"ZodMap\\",\\n ZodSet = \\"ZodSet\\",\\n ZodFunction = \\"ZodFunction\\",\\n ZodLazy = \\"ZodLazy\\",\\n ZodLiteral = \\"ZodLiteral\\",\\n ZodEnum = \\"ZodEnum\\",\\n ZodEffects = \\"ZodEffects\\",\\n ZodNativeEnum = \\"ZodNativeEnum\\",\\n ZodOptional = \\"ZodOptional\\",\\n ZodNullable = \\"ZodNullable\\",\\n ZodDefault = \\"ZodDefault\\",\\n ZodCatch = \\"ZodCatch\\",\\n ZodPromise = \\"ZodPromise\\",\\n ZodBranded = \\"ZodBranded\\",\\n ZodPipeline = \\"ZodPipeline\\",\\n ZodReadonly = \\"ZodReadonly\\"\\n}\\nexport type ZodFirstPartySchemaTypes = ZodString | ZodNumber | ZodNaN | ZodBigInt | ZodBoolean | ZodDate | ZodUndefined | ZodNull | ZodAny | ZodUnknown | ZodNever | ZodVoid | ZodArray<any, any> | ZodObject<any, any, any> | ZodUnion<any> | ZodDiscriminatedUnion<any, any> | ZodIntersection<any, any> | ZodTuple<any, any> | ZodRecord<any, any> | ZodMap<any> | ZodSet<any> | ZodFunction<any, any> | ZodLazy<any> | ZodLiteral<any> | ZodEnum<any> | ZodEffects<any, any, any> | ZodNativeEnum<any> | ZodOptional<any> | ZodNullable<any> | ZodDefault<any> | ZodCatch<any> | ZodPromise<any> | ZodBranded<any, any> | ZodPipeline<any, any> | ZodReadonly<any> | ZodSymbol;\\ndeclare abstract class Class {\\n constructor(..._: any[]);\\n}\\ndeclare const instanceOfType: <T extends typeof Class>(cls: T, params?: CustomParams) => ZodType<InstanceType<T>, ZodTypeDef, InstanceType<T>>;\\ndeclare const stringType: (params?: RawCreateParams & {\\n coerce?: true;\\n}) => ZodString;\\ndeclare const numberType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodNumber;\\ndeclare const nanType: (params?: RawCreateParams) => ZodNaN;\\ndeclare const bigIntType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodBigInt;\\ndeclare const booleanType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodBoolean;\\ndeclare const dateType: (params?: RawCreateParams & {\\n coerce?: boolean;\\n}) => ZodDate;\\ndeclare const symbolType: (params?: RawCreateParams) => ZodSymbol;\\ndeclare const undefinedType: (params?: RawCreateParams) => ZodUndefined;\\ndeclare const nullType: (params?: RawCreateParams) => ZodNull;\\ndeclare const anyType: (params?: RawCreateParams) => ZodAny;\\ndeclare const unknownType: (params?: RawCreateParams) => ZodUnknown;\\ndeclare const neverType: (params?: RawCreateParams) => ZodNever;\\ndeclare const voidType: (params?: RawCreateParams) => ZodVoid;\\ndeclare const arrayType: <El extends ZodTypeAny>(schema: El, params?: RawCreateParams) => ZodArray<El>;\\ndeclare const objectType: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strip\\", ZodTypeAny, objectOutputType<Shape, ZodTypeAny, \\"strip\\">, objectInputType<Shape, ZodTypeAny, \\"strip\\">>;\\ndeclare const strictObjectType: <Shape extends ZodRawShape>(shape: Shape, params?: RawCreateParams) => ZodObject<Shape, \\"strict\\">;\\ndeclare const unionType: <Options extends Readonly<[ZodTypeAny, ZodTypeAny, ...ZodTypeAny[]]>>(types: Options, params?: RawCreateParams) => ZodUnion<Options>;\\ndeclare const discriminatedUnionType: typeof ZodDiscriminatedUnion.create;\\ndeclare const intersectionType: <TSchema extends ZodTypeAny, USchema extends ZodTypeAny>(left: TSchema, right: USchema, params?: RawCreateParams) => ZodIntersection<TSchema, USchema>;\\ndeclare const tupleType: <Items extends [ZodTypeAny, ...ZodTypeAny[]] | []>(schemas: Items, params?: RawCreateParams) => ZodTuple<Items, null>;\\ndeclare const recordType: typeof ZodRecord.create;\\ndeclare const mapType: <KeySchema extends ZodTypeAny = ZodTypeAny, ValueSchema extends ZodTypeAny = ZodTypeAny>(keyType: KeySchema, valueType: ValueSchema, params?: RawCreateParams) => ZodMap<KeySchema, ValueSchema>;\\ndeclare const setType: <ValueSchema extends ZodTypeAny = ZodTypeAny>(valueType: ValueSchema, params?: RawCreateParams) => ZodSet<ValueSchema>;\\ndeclare const functionType: typeof ZodFunction.create;\\ndeclare const lazyType: <Inner extends ZodTypeAny>(getter: () => Inner, params?: RawCreateParams) => ZodLazy<Inner>;\\ndeclare const literalType: <Value extends Primitive>(value: Value, params?: RawCreateParams) => ZodLiteral<Value>;\\ndeclare const enumType: typeof createZodEnum;\\ndeclare const nativeEnumType: <Elements extends EnumLike>(values: Elements, params?: RawCreateParams) => ZodNativeEnum<Elements>;\\ndeclare const promiseType: <Inner extends ZodTypeAny>(schema: Inner, params?: RawCreateParams) => ZodPromise<Inner>;\\ndeclare const effectsType: <I extends ZodTypeAny>(schema: I, effect: Effect<I[\\"_output\\"]>, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"]>;\\ndeclare const optionalType: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodOptional<Inner>;\\ndeclare const nullableType: <Inner extends ZodTypeAny>(type: Inner, params?: RawCreateParams) => ZodNullable<Inner>;\\ndeclare const preprocessType: <I extends ZodTypeAny>(preprocess: (arg: unknown, ctx: RefinementCtx) => unknown, schema: I, params?: RawCreateParams) => ZodEffects<I, I[\\"_output\\"], unknown>;\\ndeclare const pipelineType: typeof ZodPipeline.create;\\ndeclare const ostring: () => ZodOptional<ZodString>;\\ndeclare const onumber: () => ZodOptional<ZodNumber>;\\ndeclare const oboolean: () => ZodOptional<ZodBoolean>;\\nexport declare const coerce: {\\n string: (typeof ZodString)[\\"create\\"];\\n number: (typeof ZodNumber)[\\"create\\"];\\n boolean: (typeof ZodBoolean)[\\"create\\"];\\n bigint: (typeof ZodBigInt)[\\"create\\"];\\n date: (typeof ZodDate)[\\"create\\"];\\n};\\nexport { anyType as any, arrayType as array, bigIntType as bigint, booleanType as boolean, dateType as date, discriminatedUnionType as discriminatedUnion, effectsType as effect, enumType as enum, functionType as function, instanceOfType as instanceof, intersectionType as intersection, lazyType as lazy, literalType as literal, mapType as map, nanType as nan, nativeEnumType as nativeEnum, neverType as never, nullType as null, nullableType as nullable, numberType as number, objectType as object, oboolean, onumber, optionalType as optional, ostring, pipelineType as pipeline, preprocessType as preprocess, promiseType as promise, recordType as record, setType as set, strictObjectType as strictObject, stringType as string, symbolType as symbol, effectsType as transformer, tupleType as tuple, undefinedType as undefined, unionType as union, unknownType as unknown, voidType as void, };\\nexport declare const NEVER: never;\\n","file:///node_modules/zod/v4/classic/checks.d.ts":"export { _lt as lt, _lte as lte, _gt as gt, _gte as gte, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _properties as properties, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, _slugify as slugify, type $RefinementCtx as RefinementCtx, } from \\"../core/index.js\\";\\n","file:///node_modules/zod/v4/classic/coerce.d.ts":"import * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport interface ZodCoercedString<T = unknown> extends schemas._ZodString<core.$ZodStringInternals<T>> {\\n}\\nexport declare function string<T = unknown>(params?: string | core.$ZodStringParams): ZodCoercedString<T>;\\nexport interface ZodCoercedNumber<T = unknown> extends schemas._ZodNumber<core.$ZodNumberInternals<T>> {\\n}\\nexport declare function number<T = unknown>(params?: string | core.$ZodNumberParams): ZodCoercedNumber<T>;\\nexport interface ZodCoercedBoolean<T = unknown> extends schemas._ZodBoolean<core.$ZodBooleanInternals<T>> {\\n}\\nexport declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): ZodCoercedBoolean<T>;\\nexport interface ZodCoercedBigInt<T = unknown> extends schemas._ZodBigInt<core.$ZodBigIntInternals<T>> {\\n}\\nexport declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): ZodCoercedBigInt<T>;\\nexport interface ZodCoercedDate<T = unknown> extends schemas._ZodDate<core.$ZodDateInternals<T>> {\\n}\\nexport declare function date<T = unknown>(params?: string | core.$ZodDateParams): ZodCoercedDate<T>;\\n","file:///node_modules/zod/v4/classic/compat.d.ts":"import * as core from \\"../core/index.js\\";\\nimport type { ZodType } from \\"./schemas.js\\";\\n/** @deprecated Use `z.output<T>` instead. */\\nexport type TypeOf<T> = core.output<T>;\\n/** @deprecated Use `z.output<T>` instead. */\\nexport type Infer<T> = core.output<T>;\\n/** @deprecated Use `z.core.$ZodTypes` instead */\\nexport type ZodFirstPartySchemaTypes = core.$ZodTypes;\\n/** @deprecated Use the raw string literal codes instead, e.g. \\"invalid_type\\". */\\nexport declare const ZodIssueCode: {\\n readonly invalid_type: \\"invalid_type\\";\\n readonly too_big: \\"too_big\\";\\n readonly too_small: \\"too_small\\";\\n readonly invalid_format: \\"invalid_format\\";\\n readonly not_multiple_of: \\"not_multiple_of\\";\\n readonly unrecognized_keys: \\"unrecognized_keys\\";\\n readonly invalid_union: \\"invalid_union\\";\\n readonly invalid_key: \\"invalid_key\\";\\n readonly invalid_element: \\"invalid_element\\";\\n readonly invalid_value: \\"invalid_value\\";\\n readonly custom: \\"custom\\";\\n};\\n/** @deprecated Use `z.core.$ZodFlattenedError<z.output<T>>` instead; it takes an inferred type, not a schema. */\\nexport type inferFlattenedErrors<T extends core.$ZodType, U = string> = core.$ZodFlattenedError<core.output<T>, U>;\\n/** @deprecated Use `z.core.$ZodFormattedError<z.output<T>>` instead; it takes an inferred type, not a schema. */\\nexport type inferFormattedError<T extends core.$ZodType<any, any>, U = string> = core.$ZodFormattedError<core.output<T>, U>;\\n/** Use `z.$brand` instead */\\nexport type BRAND<T extends string | number | symbol = string | number | symbol> = {\\n [core.$brand]: {\\n [k in T]: true;\\n };\\n};\\nexport { $brand, config } from \\"../core/index.js\\";\\n/** @deprecated Use `z.config(params)` instead. */\\nexport declare function setErrorMap(map: core.$ZodErrorMap): void;\\n/** @deprecated Use `z.config()` instead. */\\nexport declare function getErrorMap(): core.$ZodErrorMap<core.$ZodIssue> | undefined;\\n/** @deprecated Use z.ZodType (without generics) instead. */\\nexport type ZodTypeAny<Output = unknown, Input = unknown, Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;\\n/** @deprecated Use `z.ZodType` */\\nexport type ZodSchema<Output = unknown, Input = unknown, Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;\\n/** @deprecated Use `z.ZodType` */\\nexport type Schema<Output = unknown, Input = unknown, Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> = ZodType<Output, Input, Internals>;\\n/** Included for Zod 3 compatibility */\\nexport type ZodRawShape = core.$ZodShape;\\n/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */\\nexport declare enum ZodFirstPartyTypeKind {\\n}\\n","file:///node_modules/zod/v4/classic/deep-partial.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\n/** Distributes `.partial()` through every object in a schema type, preserving the wrappers around them. */\\nexport type DeepPartial<T extends core.SomeType> = T extends schemas.ZodObject<infer Shape, infer Config> ? schemas.ZodObject<{\\n -readonly [K in keyof Shape]: schemas.ZodOptional<DeepPartial<Shape[K]>>;\\n}, Config> : T extends schemas.ZodDiscriminatedUnion<infer Options, any> ? schemas.ZodUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodUnion<infer Options> ? schemas.ZodUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodArray<infer El> ? schemas.ZodArray<DeepPartial<El>> : T extends schemas.ZodTuple<infer Items, infer Rest> ? schemas.ZodTuple<{\\n -readonly [K in keyof Items]: Items[K] extends core.SomeType ? DeepPartial<Items[K]> : Items[K];\\n}, Rest extends core.SomeType ? DeepPartial<Rest> : Rest> : T extends schemas.ZodIntersection<infer A, infer B> ? schemas.ZodIntersection<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodRecord<infer K, infer V> ? schemas.ZodRecord<K, DeepPartial<V>> : T extends schemas.ZodMap<infer K, infer V> ? schemas.ZodMap<K, DeepPartial<V>> : T extends schemas.ZodSet<infer El> ? schemas.ZodSet<DeepPartial<El>> : T extends schemas.ZodOptional<infer Inner> ? schemas.ZodOptional<DeepPartial<Inner>> : T extends schemas.ZodNullable<infer Inner> ? schemas.ZodNullable<DeepPartial<Inner>> : T extends schemas.ZodDefault<infer Inner> ? schemas.ZodDefault<DeepPartial<Inner>> : T extends schemas.ZodPrefault<infer Inner> ? schemas.ZodPrefault<DeepPartial<Inner>> : T extends schemas.ZodNonOptional<infer Inner> ? schemas.ZodNonOptional<DeepPartial<Inner>> : T extends schemas.ZodCatch<infer Inner> ? schemas.ZodCatch<DeepPartial<Inner>> : T extends schemas.ZodReadonly<infer Inner> ? schemas.ZodReadonly<DeepPartial<Inner>> : T extends schemas.ZodSuccess<infer Inner> ? schemas.ZodSuccess<DeepPartial<Inner>> : T extends schemas.ZodPromise<infer Inner> ? schemas.ZodPromise<DeepPartial<Inner>> : T extends schemas.ZodCodec<infer A, infer B> ? schemas.ZodCodec<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodPreprocess<infer B> ? schemas.ZodPreprocess<DeepPartial<B>> : T extends schemas.ZodPipe<infer A, infer B> ? schemas.ZodPipe<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodLazy<infer Inner> ? schemas.ZodLazy<DeepPartial<Inner>> : T;\\n/** Returns a copy of the schema with every nested object\'s properties made optional. */\\nexport declare function deepPartial<T extends core.SomeType>(schema: T): DeepPartial<T>;\\n","file:///node_modules/zod/v4/classic/errors.d.ts":"import * as core from \\"../core/index.js\\";\\nimport { $ZodError } from \\"../core/index.js\\";\\n/** @deprecated Use `z.core.$ZodIssue` from `@zod/core` instead, especially if you are building a library on top of Zod. */\\nexport type ZodIssue = core.$ZodIssue;\\n/** An Error-like class used to store Zod validation issues. */\\nexport interface ZodError<T = unknown> extends $ZodError<T> {\\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\\n format(): core.$ZodFormattedError<T>;\\n format<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFormattedError<T, U>;\\n /** @deprecated Use the `z.treeifyError(err)` function instead. */\\n flatten(): core.$ZodFlattenedError<T>;\\n flatten<U>(mapper: (issue: core.$ZodIssue) => U): core.$ZodFlattenedError<T, U>;\\n /** @deprecated Push directly to `.issues` instead. */\\n addIssue(issue: core.$ZodIssue): void;\\n /** @deprecated Push directly to `.issues` instead. */\\n addIssues(issues: core.$ZodIssue[]): void;\\n /** @deprecated Check `err.issues.length === 0` instead. */\\n isEmpty: boolean;\\n}\\nexport declare const ZodError: core.$constructor<ZodError>;\\nexport declare const ZodRealError: core.$constructor<ZodError>;\\n/** @deprecated Use `z.core.$ZodFlattenedError` instead. */\\nexport type ZodFlattenedError<T, U = string> = core.$ZodFlattenedError<T, U>;\\n/** @deprecated Use `z.core.$ZodFormattedError` instead. */\\nexport type ZodFormattedError<T, U = string> = core.$ZodFormattedError<T, U>;\\n/** @deprecated Use `z.core.$ZodErrorMap` instead. */\\nexport type ZodErrorMap<T extends core.$ZodIssueBase = core.$ZodIssue> = core.$ZodErrorMap<T>;\\n/** @deprecated Use `z.core.$ZodRawIssue` instead. */\\nexport type IssueData = core.$ZodRawIssue;\\n","file:///node_modules/zod/v4/classic/external.d.ts":"export * as core from \\"../core/index.js\\";\\nexport * from \\"./schemas.js\\";\\nexport * from \\"./checks.js\\";\\nexport * from \\"./errors.js\\";\\nexport * from \\"./parse.js\\";\\nexport * from \\"./compat.js\\";\\nexport type { infer } from \\"../core/index.js\\";\\nexport type { JSONType } from \\"../core/util.js\\";\\nexport type { CompileOptions } from \\"../core/index.js\\";\\nexport { globalRegistry, type GlobalMeta, registry, config, memoizer, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, TimePrecision, util, NEVER, INVALID, toZod, compile, withParser, ZodCompileAsyncError, ZodCompileUnsupportedError, getDiscriminatedOption, } from \\"../core/index.js\\";\\nexport { toJSONSchema } from \\"../core/json-schema-processors.js\\";\\nexport { fromJSONSchema } from \\"./from-json-schema.js\\";\\nexport { deepPartial } from \\"./deep-partial.js\\";\\nexport { input, output } from \\"./in-out.js\\";\\nexport * as locales from \\"../locales/index.js\\";\\nexport { ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration } from \\"./iso.js\\";\\nexport * as iso from \\"./iso.js\\";\\nexport type { ZodCoercedString, ZodCoercedNumber, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, } from \\"./coerce.js\\";\\nexport * as coerce from \\"./coerce.js\\";\\n","file:///node_modules/zod/v4/classic/from-json-schema.d.ts":"import type * as JSONSchema from \\"../core/json-schema.js\\";\\nimport { type $ZodRegistry } from \\"../core/registries.js\\";\\nimport type { ZodType } from \\"./schemas.js\\";\\ntype JSONSchemaVersion = \\"draft-2020-12\\" | \\"draft-7\\" | \\"draft-4\\" | \\"openapi-3.0\\";\\ninterface FromJSONSchemaParams {\\n defaultTarget?: JSONSchemaVersion;\\n registry?: $ZodRegistry<any>;\\n}\\n/**\\n * Converts a JSON Schema to a Zod schema. This function should be considered semi-experimental. It\'s behavior is liable to change. */\\nexport declare function fromJSONSchema(schema: JSONSchema.JSONSchema | boolean, params?: FromJSONSchemaParams): ZodType;\\nexport {};\\n","file:///node_modules/zod/v4/classic/in-out.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport type input<T> = core.input<T>;\\nexport type output<T> = core.output<T>;\\n/** Returns a copy of the schema with every pipe replaced by its input side. A codec\'s checks are dropped: they constrain the decoded value the input side never produces. */\\nexport declare function input<T extends core.$ZodType>(schema: T): schemas.ZodType<core.input<T>, core.input<T>>;\\n/** Returns a copy of the schema with every pipe replaced by its output side, carrying over the pipe\'s own checks. */\\nexport declare function output<T extends core.$ZodType>(schema: T): schemas.ZodType<core.output<T>, core.output<T>>;\\n","file:///node_modules/zod/v4/classic/index.d.ts":"import * as z from \\"./external.js\\";\\nexport * from \\"./external.js\\";\\nexport { z, z as default };\\n","file:///node_modules/zod/v4/classic/iso.d.ts":"import * as core from \\"../core/index.js\\";\\nimport { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime } from \\"./schemas.js\\";\\nexport { ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime } from \\"./schemas.js\\";\\nexport declare function datetime(params?: string | core.$ZodISODateTimeParams): ZodISODateTime;\\nexport declare function date(params?: string | core.$ZodISODateParams): ZodISODate;\\nexport declare function time(params?: string | core.$ZodISOTimeParams): ZodISOTime;\\nexport declare function duration(params?: string | core.$ZodISODurationParams): ZodISODuration;\\n","file:///node_modules/zod/v4/classic/parse.d.ts":"import * as core from \\"../core/index.js\\";\\nimport { type ZodError } from \\"./errors.js\\";\\nexport type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;\\nexport type ZodSafeParseSuccess<T> = {\\n success: true;\\n data: T;\\n error?: never;\\n};\\nexport type ZodSafeParseError<T> = {\\n success: false;\\n data?: never;\\n error: ZodError<T>;\\n};\\nexport declare const parse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => core.output<T>;\\nexport declare const parseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => Promise<core.output<T>>;\\nexport declare const safeParse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\\nexport declare const safeParseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\\nexport { validate, validateAsync } from \\"../core/index.js\\";\\nexport declare const encode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => core.input<T>;\\nexport declare const decode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => core.output<T>;\\nexport declare const encodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => Promise<core.input<T>>;\\nexport declare const decodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\\n callee?: core.util.AnyFunc;\\n Err?: core.$ZodErrorClass;\\n}) => Promise<core.output<T>>;\\nexport declare const safeEncode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.input<T>>;\\nexport declare const safeDecode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\\nexport declare const safeEncodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.input<T>>>;\\nexport declare const safeDecodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\\n","file:///node_modules/zod/v4/classic/schemas.d.ts":"import type { $ZodBigIntFormats } from \\"../core/checks.js\\";\\nimport * as core from \\"../core/index.js\\";\\nimport { util, type $ZodNumberFormats } from \\"../core/index.js\\";\\nimport type { StandardSchemaWithJSONProps } from \\"../core/standard-schema.js\\";\\nimport * as parse from \\"./parse.js\\";\\nexport type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;\\nexport interface ZodType<out Output = unknown, out Input = unknown, out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> extends core.$ZodType<Output, Input, Internals> {\\n def: Internals[\\"def\\"];\\n type: Internals[\\"def\\"][\\"type\\"];\\n /** @deprecated Use `.def` instead. */\\n _def: Internals[\\"def\\"];\\n /** @deprecated Use `z.output<typeof schema>` instead. */\\n _output: Internals[\\"output\\"];\\n /** @deprecated Use `z.input<typeof schema>` instead. */\\n _input: Internals[\\"input\\"];\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n /** Converts this schema to a JSON Schema representation. */\\n toJSONSchema(params?: core.ToJSONSchemaParams): core.ZodStandardJSONSchemaPayload<this>;\\n check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n clone(def?: Internals[\\"def\\"], params?: {\\n parent: boolean;\\n }): this;\\n register<R extends core.$ZodRegistry>(registry: R, ...meta: this extends R[\\"_schema\\"] ? undefined extends R[\\"_meta\\"] ? [core.$replace<R[\\"_meta\\"], this>?] : [core.$replace<R[\\"_meta\\"], this>] : [\\"Incompatible schema\\"]): this;\\n brand<T extends PropertyKey = PropertyKey, Dir extends \\"in\\" | \\"out\\" | \\"inout\\" = \\"out\\">(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;\\n parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;\\n safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;\\n parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;\\n safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;\\n spa: (data: unknown, params?: core.ParseContext<core.$ZodIssue>) => Promise<parse.ZodSafeParseResult<core.output<this>>>;\\n validate(data: unknown, params?: core.ParseContext<core.$ZodIssue>): data is core.input<this>;\\n validateAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<boolean>;\\n encode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): core.input<this>;\\n decode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;\\n encodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.input<this>>;\\n decodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;\\n safeEncode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.input<this>>;\\n safeDecode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;\\n safeEncodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.input<this>>>;\\n safeDecodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;\\n refine<Ch extends (arg: core.output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | core.$ZodCustomParams): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;\\n superRefine(refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): this;\\n overwrite(fn: (x: core.output<this>) => core.output<this>): this;\\n optional(): ZodOptional<this>;\\n exactOptional(): ZodExactOptional<this>;\\n nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;\\n nullable(): ZodNullable<this>;\\n nullish(): ZodOptional<ZodNullable<this>>;\\n default(def: util.NoUndefined<core.output<this>>): ZodDefault<this>;\\n default(def: () => util.NoUndefined<core.output<this>>): ZodDefault<this>;\\n prefault(def: () => core.input<this>): ZodPrefault<this>;\\n prefault(def: core.input<this>): ZodPrefault<this>;\\n array(): ZodArray<this>;\\n or<T extends core.SomeType>(option: T): ZodUnion<[this, T]>;\\n and<T extends core.SomeType>(incoming: T): ZodIntersection<this, T>;\\n transform<NewOut>(transform: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, core.output<this>>>;\\n catch(def: core.output<this>): ZodCatch<this>;\\n catch(def: (ctx: core.$ZodCatchCtx) => core.output<this>): ZodCatch<this>;\\n pipe<T extends core.$ZodType<any, core.output<this>>>(target: T | core.$ZodType<any, core.output<this>>): ZodPipe<this, T>;\\n readonly(): ZodReadonly<this>;\\n /** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */\\n describe(description: string): this;\\n description?: string;\\n /** Returns the metadata associated with this instance in `z.globalRegistry` */\\n meta(): core.$replace<core.GlobalMeta, this> | undefined;\\n /** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */\\n meta(data: core.$replace<core.GlobalMeta, this>): this;\\n /** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):\\n *\\n * ```ts\\n * const schema = z.string().optional();\\n * const isOptional = schema.safeParse(undefined).success; // true\\n * ```\\n */\\n isOptional(): boolean;\\n /**\\n * @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):\\n *\\n * ```ts\\n * const schema = z.string().nullable();\\n * const isNullable = schema.safeParse(null).success; // true\\n * ```\\n */\\n isNullable(): boolean;\\n apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;\\n}\\nexport interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodType<any, any, Internals> {\\n}\\nexport declare const ZodType: core.$constructor<ZodType>;\\nexport interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>> extends _ZodType<T> {\\n format: string | null;\\n minLength: number | null;\\n maxLength: number | null;\\n regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;\\n includes(value: string, params?: string | core.$ZodCheckIncludesParams): this;\\n startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;\\n endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;\\n min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;\\n max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;\\n length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;\\n nonempty(params?: string | core.$ZodCheckMinLengthParams): this;\\n lowercase(params?: string | core.$ZodCheckLowerCaseParams): this;\\n uppercase(params?: string | core.$ZodCheckUpperCaseParams): this;\\n trim(): this;\\n normalize(form?: \\"NFC\\" | \\"NFD\\" | \\"NFKC\\" | \\"NFKD\\" | (string & {})): this;\\n toLowerCase(): this;\\n toUpperCase(): this;\\n slugify(): this;\\n}\\n/** @internal */\\nexport declare const _ZodString: core.$constructor<_ZodString>;\\nexport interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {\\n /** @deprecated Use `z.email()` instead. */\\n email(params?: string | core.$ZodCheckEmailParams): this;\\n /** @deprecated Use `z.url()` instead. */\\n url(params?: string | core.$ZodCheckURLParams): this;\\n /** @deprecated Use `z.jwt()` instead. */\\n jwt(params?: string | core.$ZodCheckJWTParams): this;\\n /** @deprecated Use `z.emoji()` instead. */\\n emoji(params?: string | core.$ZodCheckEmojiParams): this;\\n /** @deprecated Use `z.guid()` instead. */\\n guid(params?: string | core.$ZodCheckGUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuid(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuidv4(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuidv6(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.uuid()` instead. */\\n uuidv7(params?: string | core.$ZodCheckUUIDParams): this;\\n /** @deprecated Use `z.nanoid()` instead. */\\n nanoid(params?: string | core.$ZodCheckNanoIDParams): this;\\n /** @deprecated Use `z.guid()` instead. */\\n guid(params?: string | core.$ZodCheckGUIDParams): this;\\n /**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use `z.cuid2()` instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\n cuid(params?: string | core.$ZodCheckCUIDParams): this;\\n /** @deprecated Use `z.cuid2()` instead. */\\n cuid2(params?: string | core.$ZodCheckCUID2Params): this;\\n /** @deprecated Use `z.ulid()` instead. */\\n ulid(params?: string | core.$ZodCheckULIDParams): this;\\n /** @deprecated Use `z.base64()` instead. */\\n base64(params?: string | core.$ZodCheckBase64Params): this;\\n /** @deprecated Use `z.base64url()` instead. */\\n base64url(params?: string | core.$ZodCheckBase64URLParams): this;\\n /** @deprecated Use `z.xid()` instead. */\\n xid(params?: string | core.$ZodCheckXIDParams): this;\\n /** @deprecated Use `z.ksuid()` instead. */\\n ksuid(params?: string | core.$ZodCheckKSUIDParams): this;\\n /** @deprecated Use `z.ipv4()` instead. */\\n ipv4(params?: string | core.$ZodCheckIPv4Params): this;\\n /** @deprecated Use `z.ipv6()` instead. */\\n ipv6(params?: string | core.$ZodCheckIPv6Params): this;\\n /** @deprecated Use `z.cidrv4()` instead. */\\n cidrv4(params?: string | core.$ZodCheckCIDRv4Params): this;\\n /** @deprecated Use `z.cidrv6()` instead. */\\n cidrv6(params?: string | core.$ZodCheckCIDRv6Params): this;\\n /** @deprecated Use `z.e164()` instead. */\\n e164(params?: string | core.$ZodCheckE164Params): this;\\n /** @deprecated Use `z.iso.datetime()` instead. */\\n datetime(params?: string | core.$ZodCheckISODateTimeParams): this;\\n /** @deprecated Use `z.iso.date()` instead. */\\n date(params?: string | core.$ZodCheckISODateParams): this;\\n /** @deprecated Use `z.iso.time()` instead. */\\n time(params?: string | core.$ZodCheckISOTimeParams): this;\\n /** @deprecated Use `z.iso.duration()` instead. */\\n duration(params?: string | core.$ZodCheckISODurationParams): this;\\n}\\nexport declare const ZodString: core.$constructor<ZodString>;\\nexport declare function string(params?: string | core.$ZodStringParams): ZodString;\\nexport declare function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;\\nexport interface ZodStringFormat<Format extends string = string> extends _ZodString<core.$ZodStringFormatInternals<Format>> {\\n}\\nexport declare const ZodStringFormat: core.$constructor<ZodStringFormat>;\\nexport interface ZodISODateTime extends ZodStringFormat {\\n _zod: core.$ZodISODateTimeInternals;\\n}\\nexport declare const ZodISODateTime: core.$constructor<ZodISODateTime>;\\nexport interface ZodISODate extends ZodStringFormat {\\n _zod: core.$ZodISODateInternals;\\n}\\nexport declare const ZodISODate: core.$constructor<ZodISODate>;\\nexport interface ZodISOTime extends ZodStringFormat {\\n _zod: core.$ZodISOTimeInternals;\\n}\\nexport declare const ZodISOTime: core.$constructor<ZodISOTime>;\\nexport interface ZodISODuration extends ZodStringFormat {\\n _zod: core.$ZodISODurationInternals;\\n}\\nexport declare const ZodISODuration: core.$constructor<ZodISODuration>;\\nexport interface ZodEmail extends ZodStringFormat<\\"email\\"> {\\n _zod: core.$ZodEmailInternals;\\n}\\nexport declare const ZodEmail: core.$constructor<ZodEmail>;\\nexport declare function email(params?: string | core.$ZodEmailParams): ZodEmail;\\nexport interface ZodGUID extends ZodStringFormat<\\"guid\\"> {\\n _zod: core.$ZodGUIDInternals;\\n}\\nexport declare const ZodGUID: core.$constructor<ZodGUID>;\\nexport declare function guid(params?: string | core.$ZodGUIDParams): ZodGUID;\\nexport interface ZodUUID extends ZodStringFormat<\\"uuid\\"> {\\n _zod: core.$ZodUUIDInternals;\\n}\\nexport declare const ZodUUID: core.$constructor<ZodUUID>;\\nexport declare function uuid(params?: string | core.$ZodUUIDParams): ZodUUID;\\nexport declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodUUID;\\nexport declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodUUID;\\nexport declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodUUID;\\nexport interface ZodURL extends ZodStringFormat<\\"url\\"> {\\n _zod: core.$ZodURLInternals;\\n}\\nexport declare const ZodURL: core.$constructor<ZodURL>;\\nexport declare function url(params?: string | core.$ZodURLParams): ZodURL;\\nexport declare function httpUrl(params?: string | Omit<core.$ZodURLParams, \\"protocol\\" | \\"hostname\\">): ZodURL;\\nexport interface ZodEmoji extends ZodStringFormat<\\"emoji\\"> {\\n _zod: core.$ZodEmojiInternals;\\n}\\nexport declare const ZodEmoji: core.$constructor<ZodEmoji>;\\nexport declare function emoji(params?: string | core.$ZodEmojiParams): ZodEmoji;\\nexport interface ZodNanoID extends ZodStringFormat<\\"nanoid\\"> {\\n _zod: core.$ZodNanoIDInternals;\\n}\\nexport declare const ZodNanoID: core.$constructor<ZodNanoID>;\\nexport declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface ZodCUID extends ZodStringFormat<\\"cuid\\"> {\\n _zod: core.$ZodCUIDInternals;\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const ZodCUID: core.$constructor<ZodCUID>;\\n/**\\n * Validates a CUID v1 string.\\n *\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare function cuid(params?: string | core.$ZodCUIDParams): ZodCUID;\\nexport interface ZodCUID2 extends ZodStringFormat<\\"cuid2\\"> {\\n _zod: core.$ZodCUID2Internals;\\n}\\nexport declare const ZodCUID2: core.$constructor<ZodCUID2>;\\nexport declare function cuid2(params?: string | core.$ZodCUID2Params): ZodCUID2;\\nexport interface ZodULID extends ZodStringFormat<\\"ulid\\"> {\\n _zod: core.$ZodULIDInternals;\\n}\\nexport declare const ZodULID: core.$constructor<ZodULID>;\\nexport declare function ulid(params?: string | core.$ZodULIDParams): ZodULID;\\nexport interface ZodXID extends ZodStringFormat<\\"xid\\"> {\\n _zod: core.$ZodXIDInternals;\\n}\\nexport declare const ZodXID: core.$constructor<ZodXID>;\\nexport declare function xid(params?: string | core.$ZodXIDParams): ZodXID;\\nexport interface ZodKSUID extends ZodStringFormat<\\"ksuid\\"> {\\n _zod: core.$ZodKSUIDInternals;\\n}\\nexport declare const ZodKSUID: core.$constructor<ZodKSUID>;\\nexport declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodKSUID;\\nexport interface ZodIPv4 extends ZodStringFormat<\\"ipv4\\"> {\\n _zod: core.$ZodIPv4Internals;\\n}\\nexport declare const ZodIPv4: core.$constructor<ZodIPv4>;\\nexport declare function ipv4(params?: string | core.$ZodIPv4Params): ZodIPv4;\\nexport interface ZodMAC extends ZodStringFormat<\\"mac\\"> {\\n _zod: core.$ZodMACInternals;\\n}\\nexport declare const ZodMAC: core.$constructor<ZodMAC>;\\nexport declare function mac(params?: string | core.$ZodMACParams): ZodMAC;\\nexport interface ZodIPv6 extends ZodStringFormat<\\"ipv6\\"> {\\n _zod: core.$ZodIPv6Internals;\\n}\\nexport declare const ZodIPv6: core.$constructor<ZodIPv6>;\\nexport declare function ipv6(params?: string | core.$ZodIPv6Params): ZodIPv6;\\nexport interface ZodCIDRv4 extends ZodStringFormat<\\"cidrv4\\"> {\\n _zod: core.$ZodCIDRv4Internals;\\n}\\nexport declare const ZodCIDRv4: core.$constructor<ZodCIDRv4>;\\nexport declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodCIDRv4;\\nexport interface ZodCIDRv6 extends ZodStringFormat<\\"cidrv6\\"> {\\n _zod: core.$ZodCIDRv6Internals;\\n}\\nexport declare const ZodCIDRv6: core.$constructor<ZodCIDRv6>;\\nexport declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodCIDRv6;\\nexport interface ZodBase64 extends ZodStringFormat<\\"base64\\"> {\\n _zod: core.$ZodBase64Internals;\\n}\\nexport declare const ZodBase64: core.$constructor<ZodBase64>;\\nexport declare function base64(params?: string | core.$ZodBase64Params): ZodBase64;\\nexport interface ZodBase64URL extends ZodStringFormat<\\"base64url\\"> {\\n _zod: core.$ZodBase64URLInternals;\\n}\\nexport declare const ZodBase64URL: core.$constructor<ZodBase64URL>;\\nexport declare function base64url(params?: string | core.$ZodBase64URLParams): ZodBase64URL;\\nexport interface ZodE164 extends ZodStringFormat<\\"e164\\"> {\\n _zod: core.$ZodE164Internals;\\n}\\nexport declare const ZodE164: core.$constructor<ZodE164>;\\nexport declare function e164(params?: string | core.$ZodE164Params): ZodE164;\\nexport interface ZodCreditCard extends ZodStringFormat<\\"credit_card\\"> {\\n _zod: core.$ZodCreditCardInternals;\\n}\\nexport declare const ZodCreditCard: core.$constructor<ZodCreditCard>;\\nexport declare function creditCard(params?: string | core.$ZodCreditCardParams): ZodCreditCard;\\nexport interface ZodIBAN extends ZodStringFormat<\\"iban\\"> {\\n _zod: core.$ZodIBANInternals;\\n}\\nexport declare const ZodIBAN: core.$constructor<ZodIBAN>;\\nexport declare function iban(params?: string | core.$ZodIBANParams): ZodIBAN;\\nexport interface ZodJWT extends ZodStringFormat<\\"jwt\\"> {\\n _zod: core.$ZodJWTInternals;\\n}\\nexport declare const ZodJWT: core.$constructor<ZodJWT>;\\nexport declare function jwt(params?: string | core.$ZodJWTParams): ZodJWT;\\nexport interface ZodCustomStringFormat<Format extends string = string> extends ZodStringFormat<Format>, core.$ZodCustomStringFormat<Format> {\\n _zod: core.$ZodCustomStringFormatInternals<Format>;\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodCustomStringFormat: core.$constructor<ZodCustomStringFormat>;\\nexport declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<Format>;\\nexport declare function hostname(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<\\"hostname\\">;\\nexport declare function hex(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<\\"hex\\">;\\nexport declare function currencyCode(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<\\"currency_code\\">;\\nexport declare function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = \\"hex\\">(alg: Alg, params?: {\\n enc?: Enc;\\n} & core.$ZodStringFormatParams): ZodCustomStringFormat<`${Alg}_${Enc}`>;\\nexport interface _ZodNumber<Internals extends core.$ZodNumberInternals = core.$ZodNumberInternals> extends _ZodType<Internals> {\\n gt(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;\\n /** Identical to .min() */\\n gte(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;\\n min(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;\\n lt(value: number, params?: string | core.$ZodCheckLessThanParams): this;\\n /** Identical to .max() */\\n lte(value: number, params?: string | core.$ZodCheckLessThanParams): this;\\n max(value: number, params?: string | core.$ZodCheckLessThanParams): this;\\n /** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */\\n int(params?: string | core.$ZodCheckNumberFormatParams): this;\\n /** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */\\n safe(params?: string | core.$ZodCheckNumberFormatParams): this;\\n positive(params?: string | core.$ZodCheckGreaterThanParams): this;\\n nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;\\n negative(params?: string | core.$ZodCheckLessThanParams): this;\\n nonpositive(params?: string | core.$ZodCheckLessThanParams): this;\\n multipleOf(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;\\n /** @deprecated Use `.multipleOf()` instead. */\\n step(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;\\n /** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */\\n finite(params?: unknown): this;\\n minValue: number | null;\\n maxValue: number | null;\\n /** @deprecated Check the `format` property instead. */\\n isInt: boolean;\\n /** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */\\n isFinite: boolean;\\n format: string | null;\\n}\\nexport interface ZodNumber extends _ZodNumber<core.$ZodNumberInternals<number>> {\\n}\\nexport declare const ZodNumber: core.$constructor<ZodNumber>;\\nexport declare function number(params?: string | core.$ZodNumberParams): ZodNumber;\\nexport interface ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends ZodNumber {\\n _zod: core.$ZodNumberFormatInternals<Format>;\\n}\\nexport declare const ZodNumberFormat: core.$constructor<ZodNumberFormat>;\\nexport interface ZodInt extends ZodNumberFormat<\\"safeint\\"> {\\n}\\nexport declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodInt;\\nexport interface ZodFloat32 extends ZodNumberFormat<\\"float32\\"> {\\n}\\nexport declare function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat32;\\nexport interface ZodFloat64 extends ZodNumberFormat<\\"float64\\"> {\\n}\\nexport declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat64;\\nexport interface ZodInt32 extends ZodNumberFormat<\\"int32\\"> {\\n}\\nexport declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodInt32;\\nexport interface ZodUInt32 extends ZodNumberFormat<\\"uint32\\"> {\\n}\\nexport declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodUInt32;\\nexport interface _ZodBoolean<T extends core.$ZodBooleanInternals = core.$ZodBooleanInternals> extends _ZodType<T> {\\n}\\nexport interface ZodBoolean extends _ZodBoolean<core.$ZodBooleanInternals<boolean>> {\\n}\\nexport declare const ZodBoolean: core.$constructor<ZodBoolean>;\\nexport declare function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean;\\nexport interface _ZodBigInt<T extends core.$ZodBigIntInternals = core.$ZodBigIntInternals> extends _ZodType<T> {\\n gte(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;\\n /** Alias of `.gte()` */\\n min(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;\\n gt(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;\\n /** Alias of `.lte()` */\\n lte(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;\\n max(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;\\n lt(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;\\n positive(params?: string | core.$ZodCheckGreaterThanParams): this;\\n negative(params?: string | core.$ZodCheckLessThanParams): this;\\n nonpositive(params?: string | core.$ZodCheckLessThanParams): this;\\n nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;\\n multipleOf(value: bigint, params?: string | core.$ZodCheckMultipleOfParams): this;\\n minValue: bigint | null;\\n maxValue: bigint | null;\\n format: string | null;\\n}\\nexport interface ZodBigInt extends _ZodBigInt<core.$ZodBigIntInternals<bigint>> {\\n}\\nexport declare const ZodBigInt: core.$constructor<ZodBigInt>;\\nexport declare function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt;\\nexport interface ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends ZodBigInt {\\n _zod: core.$ZodBigIntFormatInternals<Format>;\\n}\\nexport declare const ZodBigIntFormat: core.$constructor<ZodBigIntFormat>;\\nexport interface ZodInt64 extends ZodBigIntFormat<\\"int64\\"> {\\n}\\nexport declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodInt64;\\nexport interface ZodUInt64 extends ZodBigIntFormat<\\"uint64\\"> {\\n}\\nexport declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodUInt64;\\nexport interface ZodSymbol extends _ZodType<core.$ZodSymbolInternals> {\\n}\\nexport declare const ZodSymbol: core.$constructor<ZodSymbol>;\\nexport declare function symbol(params?: string | core.$ZodSymbolParams): ZodSymbol;\\nexport interface ZodUndefined extends _ZodType<core.$ZodUndefinedInternals> {\\n}\\nexport declare const ZodUndefined: core.$constructor<ZodUndefined>;\\ndeclare function _undefined(params?: string | core.$ZodUndefinedParams): ZodUndefined;\\nexport { _undefined as undefined };\\nexport interface ZodNull extends _ZodType<core.$ZodNullInternals> {\\n}\\nexport declare const ZodNull: core.$constructor<ZodNull>;\\ndeclare function _null(params?: string | core.$ZodNullParams): ZodNull;\\nexport { _null as null };\\nexport interface ZodAny extends _ZodType<core.$ZodAnyInternals> {\\n}\\nexport declare const ZodAny: core.$constructor<ZodAny>;\\nexport declare function any(): ZodAny;\\nexport interface ZodUnknown extends _ZodType<core.$ZodUnknownInternals> {\\n}\\nexport declare const ZodUnknown: core.$constructor<ZodUnknown>;\\nexport declare function unknown(): ZodUnknown;\\nexport interface ZodNever extends _ZodType<core.$ZodNeverInternals> {\\n}\\nexport declare const ZodNever: core.$constructor<ZodNever>;\\nexport declare function never(params?: string | core.$ZodNeverParams): ZodNever;\\nexport interface ZodVoid extends _ZodType<core.$ZodVoidInternals> {\\n}\\nexport declare const ZodVoid: core.$constructor<ZodVoid>;\\ndeclare function _void(params?: string | core.$ZodVoidParams): ZodVoid;\\nexport { _void as void };\\nexport interface _ZodDate<T extends core.$ZodDateInternals = core.$ZodDateInternals> extends _ZodType<T> {\\n min(value: number | Date, params?: string | core.$ZodCheckGreaterThanParams): this;\\n max(value: number | Date, params?: string | core.$ZodCheckLessThanParams): this;\\n /** @deprecated Not recommended. */\\n minDate: Date | null;\\n /** @deprecated Not recommended. */\\n maxDate: Date | null;\\n}\\nexport interface ZodDate extends _ZodDate<core.$ZodDateInternals<Date>> {\\n}\\nexport declare const ZodDate: core.$constructor<ZodDate>;\\nexport declare function date(params?: string | core.$ZodDateParams): ZodDate;\\nexport interface ZodArray<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodArrayInternals<T>>, core.$ZodArray<T> {\\n element: T;\\n min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;\\n nonempty(params?: string | core.$ZodCheckMinLengthParams): this;\\n max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;\\n length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;\\n unwrap(): T;\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodArray: core.$constructor<ZodArray>;\\nexport declare function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T>;\\nexport declare function keyof<T extends ZodObject>(schema: T): ZodEnum<util.KeysEnum<T[\\"_zod\\"][\\"output\\"]>>;\\nexport type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {\\n [K in keyof Ext]: K extends keyof Base ? core.output<Ext[K]> extends core.output<Base[K]> ? core.input<Ext[K]> extends core.input<Base[K]> ? Ext[K] : never : never : Ext[K];\\n};\\nexport interface ZodObject<\\n/** @ts-ignore Cast variance */\\nout Shape extends core.$ZodShape = core.$ZodLooseShape, out Config extends core.$ZodObjectConfig = core.$strip> extends _ZodType<core.$ZodObjectInternals<Shape, Config>>, core.$ZodObject<Shape, Config> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n shape: Shape;\\n keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;\\n /** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */\\n catchall<T extends core.SomeType>(schema: T): ZodObject<Shape, core.$catchall<T>>;\\n /** @deprecated Use `z.looseObject()` or `.loose()` instead. */\\n passthrough(): ZodObject<Shape, core.$loose>;\\n /** Consider `z.looseObject(A.shape)` instead */\\n loose(): ZodObject<Shape, core.$loose>;\\n /** Consider `z.strictObject(A.shape)` instead */\\n strict(): ZodObject<Shape, core.$strict>;\\n /** This is the default behavior. This method call is likely unnecessary. */\\n strip(): ZodObject<Shape, core.$strip>;\\n extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;\\n safeExtend<U extends core.$ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;\\n /**\\n * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.\\n */\\n merge<U extends ZodObject>(other: U): ZodObject<util.Extend<Shape, U[\\"shape\\"]>, U[\\"_zod\\"][\\"config\\"]>;\\n pick<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;\\n omit<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;\\n partial(): ZodObject<{\\n -readonly [k in keyof Shape]: ZodOptional<Shape[k]>;\\n }, Config>;\\n partial<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{\\n -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k];\\n }, Config>;\\n exactPartial(): ZodObject<{\\n -readonly [k in keyof Shape]: ZodExactOptional<Shape[k]>;\\n }, Config>;\\n exactPartial<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{\\n -readonly [k in keyof Shape]: k extends keyof M ? ZodExactOptional<Shape[k]> : Shape[k];\\n }, Config>;\\n required(): ZodObject<{\\n -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>;\\n }, Config>;\\n required<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{\\n -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];\\n }, Config>;\\n}\\nexport declare const ZodObject: core.$constructor<ZodObject>;\\nexport declare function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(shape?: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$strip>;\\nexport declare function strictObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$strict>;\\nexport declare function looseObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$loose>;\\nexport interface ZodUnion<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodUnionInternals<T>>, core.$ZodUnion<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n options: T;\\n}\\nexport declare const ZodUnion: core.$constructor<ZodUnion>;\\nexport declare function union<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodUnion<T>;\\nexport interface ZodXor<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodXorInternals<T>>, core.$ZodXor<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n options: T;\\n}\\nexport declare const ZodXor: core.$constructor<ZodXor>;\\n/** Creates an exclusive union (XOR) where exactly one option must match.\\n * Unlike regular unions that succeed when any option matches, xor fails if\\n * zero or more than one option matches the input. */\\nexport declare function xor<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodXorParams): ZodXor<T>;\\nexport interface ZodDiscriminatedUnion<Options extends readonly core.SomeType[] = readonly core.$ZodType[], Disc extends string = string> extends ZodUnion<Options>, core.$ZodDiscriminatedUnion<Options, Disc> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;\\n def: core.$ZodDiscriminatedUnionDef<Options, Disc>;\\n}\\nexport declare const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion>;\\nexport declare function discriminatedUnion<Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]], Disc extends string>(discriminator: Disc, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodDiscriminatedUnion<Types, Disc>;\\nexport interface ZodIntersection<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodIntersectionInternals<A, B>>, core.$ZodIntersection<A, B> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodIntersection: core.$constructor<ZodIntersection>;\\nexport declare function intersection<T extends core.SomeType, U extends core.SomeType>(left: T, right: U): ZodIntersection<T, U>;\\nexport interface ZodTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends core.SomeType | null = core.$ZodType | null> extends _ZodType<core.$ZodTupleInternals<T, Rest>>, core.$ZodTuple<T, Rest> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;\\n partial(): ZodTuple<{\\n -readonly [k in keyof T]: ZodOptional<T[k]>;\\n }, Rest>;\\n}\\nexport declare const ZodTuple: core.$constructor<ZodTuple>;\\nexport declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]]>(items: T, params?: string | core.$ZodTupleParams): ZodTuple<T, null>;\\nexport declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]], Rest extends core.SomeType>(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodTuple<T, Rest>;\\nexport declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodTuple<[], null>;\\nexport interface ZodRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodRecordInternals<Key, Value>>, core.$ZodRecord<Key, Value> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n keyType: Key;\\n valueType: Value;\\n}\\nexport declare const ZodRecord: core.$constructor<ZodRecord>;\\nexport declare function record<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;\\nexport declare function partialRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key & core.$partial, Value>;\\nexport declare function looseRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;\\nexport interface ZodMap<Key extends core.SomeType = core.$ZodType, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodMapInternals<Key, Value>>, core.$ZodMap<Key, Value> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n keyType: Key;\\n valueType: Value;\\n min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;\\n nonempty(params?: string | core.$ZodCheckMinSizeParams): this;\\n max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;\\n size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;\\n}\\nexport declare const ZodMap: core.$constructor<ZodMap>;\\nexport declare function map<Key extends core.SomeType, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMap<Key, Value>;\\nexport interface ZodSet<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSetInternals<T>>, core.$ZodSet<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;\\n nonempty(params?: string | core.$ZodCheckMinSizeParams): this;\\n max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;\\n size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;\\n}\\nexport declare const ZodSet: core.$constructor<ZodSet>;\\nexport declare function set<Value extends core.SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodSet<Value>;\\nexport interface ZodEnum<\\n/** @ts-ignore Cast variance */\\nout T extends util.EnumLike = util.EnumLike> extends _ZodType<core.$ZodEnumInternals<T>>, core.$ZodEnum<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n enum: T;\\n options: Array<T[keyof T]>;\\n extract<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Pick<T, U[number]>>>;\\n exclude<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Omit<T, U[number]>>>;\\n}\\nexport declare const ZodEnum: core.$constructor<ZodEnum>;\\ndeclare function _enum<const T extends readonly string[]>(values: T, params?: string | core.$ZodEnumParams): ZodEnum<util.ToEnum<T[number]>>;\\ndeclare function _enum<const T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;\\nexport { _enum as enum };\\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\\n *\\n * ```ts\\n * enum Colors { red, green, blue }\\n * z.enum(Colors);\\n * ```\\n */\\nexport declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;\\nexport interface ZodLiteral<T extends util.Literal = util.Literal> extends _ZodType<core.$ZodLiteralInternals<T>>, core.$ZodLiteral<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n values: Set<T>;\\n /** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */\\n value: T;\\n}\\nexport declare const ZodLiteral: core.$constructor<ZodLiteral>;\\nexport declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T[number]>;\\nexport declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T>;\\nexport interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n min(size: number, params?: string | core.$ZodCheckMinSizeParams): this;\\n max(size: number, params?: string | core.$ZodCheckMaxSizeParams): this;\\n mime(types: util.MimeTypes | Array<util.MimeTypes>, params?: string | core.$ZodCheckMimeTypeParams): this;\\n}\\nexport declare const ZodFile: core.$constructor<ZodFile>;\\nexport declare function file(params?: string | core.$ZodFileParams): ZodFile;\\nexport interface ZodTransform<O = unknown, I = unknown> extends _ZodType<core.$ZodTransformInternals<O, I>>, core.$ZodTransform<O, I> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodTransform: core.$constructor<ZodTransform>;\\nexport declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.$RefinementCtx) => O): ZodTransform<Awaited<O>, I>;\\nexport interface ZodOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodOptional: core.$constructor<ZodOptional>;\\nexport declare function optional<T extends core.SomeType>(innerType: T): ZodOptional<T>;\\nexport interface ZodExactOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodExactOptionalInternals<T>>, core.$ZodExactOptional<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodExactOptional: core.$constructor<ZodExactOptional>;\\nexport declare function exactOptional<T extends core.SomeType>(innerType: T): ZodExactOptional<T>;\\nexport interface ZodNullable<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNullableInternals<T>>, core.$ZodNullable<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodNullable: core.$constructor<ZodNullable>;\\nexport declare function nullable<T extends core.SomeType>(innerType: T): ZodNullable<T>;\\nexport declare function nullish<T extends core.SomeType>(innerType: T): ZodOptional<ZodNullable<T>>;\\nexport interface ZodDefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodDefaultInternals<T>>, core.$ZodDefault<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n /** @deprecated Use `.unwrap()` instead. */\\n removeDefault(): T;\\n}\\nexport declare const ZodDefault: core.$constructor<ZodDefault>;\\nexport declare function _default<T extends core.SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodDefault<T>;\\nexport interface ZodPrefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPrefaultInternals<T>>, core.$ZodPrefault<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodPrefault: core.$constructor<ZodPrefault>;\\nexport declare function prefault<T extends core.SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodPrefault<T>;\\nexport interface ZodNonOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNonOptionalInternals<T>>, core.$ZodNonOptional<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodNonOptional: core.$constructor<ZodNonOptional>;\\nexport declare function nonoptional<T extends core.SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodNonOptional<T>;\\nexport interface ZodSuccess<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSuccessInternals<T>>, core.$ZodSuccess<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodSuccess: core.$constructor<ZodSuccess>;\\nexport declare function success<T extends core.SomeType>(innerType: T): ZodSuccess<T>;\\nexport interface ZodCatch<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodCatchInternals<T>>, core.$ZodCatch<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n /** @deprecated Use `.unwrap()` instead. */\\n removeCatch(): T;\\n}\\nexport declare const ZodCatch: core.$constructor<ZodCatch>;\\ndeclare function _catch<T extends core.SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodCatch<T>;\\nexport { _catch as catch };\\nexport interface ZodNaN extends _ZodType<core.$ZodNaNInternals>, core.$ZodNaN {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodNaN: core.$constructor<ZodNaN>;\\nexport declare function nan(params?: string | core.$ZodNaNParams): ZodNaN;\\nexport interface ZodPipe<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPipeInternals<A, B>>, core.$ZodPipe<A, B> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n in: A;\\n out: B;\\n}\\nexport declare const ZodPipe: core.$constructor<ZodPipe>;\\nexport declare function pipe<const A extends core.SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodPipe<A, B>;\\nexport interface ZodCodec<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends ZodPipe<A, B>, core.$ZodCodec<A, B> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _zod: core.$ZodCodecInternals<A, B>;\\n def: core.$ZodCodecDef<A, B>;\\n}\\nexport declare const ZodCodec: core.$constructor<ZodCodec>;\\nexport declare function codec<const A extends core.SomeType, B extends core.SomeType = core.$ZodType>(in_: A, out: B, params: {\\n decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;\\n encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;\\n}): ZodCodec<A, B>;\\nexport declare function invertCodec<A extends core.SomeType, B extends core.SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A>;\\nexport interface ZodPreprocess<B extends core.SomeType = core.$ZodType, I = unknown> extends ZodPipe<core.$ZodTransform<unknown, I>, B>, core.$ZodPreprocess<B, I> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _zod: core.$ZodPreprocessInternals<B, I>;\\n def: core.$ZodPreprocessDef<B, I>;\\n}\\nexport declare const ZodPreprocess: core.$constructor<ZodPreprocess>;\\nexport interface ZodReadonly<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodReadonlyInternals<T>>, core.$ZodReadonly<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodReadonly: core.$constructor<ZodReadonly>;\\nexport declare function readonly<T extends core.SomeType>(innerType: T): ZodReadonly<T>;\\nexport interface ZodTemplateLiteral<Template extends string = string> extends _ZodType<core.$ZodTemplateLiteralInternals<Template>>, core.$ZodTemplateLiteral<Template> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodTemplateLiteral: core.$constructor<ZodTemplateLiteral>;\\nexport declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;\\nexport interface ZodLazy<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodLazyInternals<T>>, core.$ZodLazy<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodLazy: core.$constructor<ZodLazy>;\\nexport declare function lazy<T extends core.SomeType>(getter: () => T): ZodLazy<T>;\\nexport interface ZodPromise<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPromiseInternals<T>>, core.$ZodPromise<T> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n unwrap(): T;\\n}\\nexport declare const ZodPromise: core.$constructor<ZodPromise>;\\nexport declare function promise<T extends core.SomeType>(innerType: T): ZodPromise<T>;\\nexport interface ZodFunction<Args extends core.$ZodFunctionIn = core.$ZodFunctionIn, Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut> extends _ZodType<core.$ZodFunctionInternals<Args, Returns>>, core.$ZodFunction<Args, Returns> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n _def: core.$ZodFunctionDef<Args, Returns>;\\n _input: core.$InferInnerFunctionType<Args, Returns>;\\n _output: core.$InferOuterFunctionType<Args, Returns>;\\n input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(args: Items, rest?: Rest): ZodFunction<core.$ZodTuple<Items, Rest>, Returns>;\\n input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodFunction<NewArgs, Returns>;\\n input(...args: any[]): ZodFunction<any, Returns>;\\n output<NewReturns extends core.$ZodType>(output: NewReturns): ZodFunction<Args, NewReturns>;\\n}\\nexport declare const ZodFunction: core.$constructor<ZodFunction>;\\nexport declare function _function(): ZodFunction;\\nexport declare function _function<const In extends ReadonlyArray<core.$ZodType>>(params: {\\n input: In;\\n}): ZodFunction<ZodTuple<In, null>, core.$ZodFunctionOut>;\\nexport declare function _function<const In extends ReadonlyArray<core.$ZodType>, const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n input: In;\\n output: Out;\\n}): ZodFunction<ZodTuple<In, null>, Out>;\\nexport declare function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {\\n input: In;\\n}): ZodFunction<In, core.$ZodFunctionOut>;\\nexport declare function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n output: Out;\\n}): ZodFunction<core.$ZodFunctionIn, Out>;\\nexport declare function _function<In extends core.$ZodFunctionIn = core.$ZodFunctionIn, Out extends core.$ZodType = core.$ZodType>(params?: {\\n input: In;\\n output: Out;\\n}): ZodFunction<In, Out>;\\nexport { _function as function };\\nexport interface ZodCustom<O = unknown, I = unknown> extends _ZodType<core.$ZodCustomInternals<O, I>>, core.$ZodCustom<O, I> {\\n \\"~standard\\": ZodStandardSchemaWithJSON<this>;\\n}\\nexport declare const ZodCustom: core.$constructor<ZodCustom>;\\nexport declare function check<O = unknown>(fn: core.CheckFn<O>): core.$ZodCheck<O>;\\nexport declare function custom<O>(fn?: (data: unknown) => unknown, _params?: string | core.$ZodCustomParams | undefined): ZodCustom<O, O>;\\nexport declare function refine<T>(fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>, _params?: string | core.$ZodCustomParams): core.$ZodCheck<T>;\\nexport declare function superRefine<T>(fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): core.$ZodCheck<T>;\\nexport declare const describe: typeof core.describe;\\nexport declare const meta: typeof core.meta;\\ntype ZodInstanceOfParams = core.Params<ZodCustom, core.$ZodIssueCustom, \\"type\\" | \\"check\\" | \\"checks\\" | \\"fn\\" | \\"abort\\" | \\"error\\" | \\"params\\" | \\"path\\">;\\nexport interface ZodInstanceOf<T = unknown> extends ZodCustom<T, T> {\\n properties<Shape extends {\\n [k in keyof T as T[k] extends Function ? never : k]?: core.$ZodType<unknown, T[k]>;\\n }>(shape: Shape, params?: string | core.$ZodCheckPropertiesParams): ZodInstanceOf<T & core.$InferObjectInput<Shape, {}>>;\\n}\\nexport declare const ZodInstanceOf: core.$constructor<ZodInstanceOf>;\\ndeclare function _instanceof<T extends typeof util.Class>(cls: T, params?: ZodInstanceOfParams): ZodInstanceOf<InstanceType<T>>;\\nexport { _instanceof as instanceof };\\nexport declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean>;\\ntype _ZodJSONSchema = ZodUnion<[\\n ZodString,\\n ZodNumber,\\n ZodBoolean,\\n ZodNull,\\n ZodArray<ZodJSONSchema>,\\n ZodRecord<ZodString, ZodJSONSchema>\\n]>;\\ntype _ZodJSONSchemaInternals = _ZodJSONSchema[\\"_zod\\"];\\nexport interface ZodJSONSchemaInternals extends _ZodJSONSchemaInternals {\\n output: util.JSONType;\\n input: util.JSONType;\\n}\\nexport interface ZodJSONSchema extends _ZodJSONSchema {\\n _zod: ZodJSONSchemaInternals;\\n}\\nexport declare function json(params?: string | core.$ZodCustomParams): ZodJSONSchema;\\nexport declare function preprocess<A, U extends core.SomeType, B = unknown>(fn: (arg: B, ctx: core.$RefinementCtx) => A, schema: U): ZodPreprocess<U, B>;\\n","file:///node_modules/zod/v4/core/api.d.ts":"import * as checks from \\"./checks.js\\";\\nimport type * as core from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport * as registries from \\"./registries.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nimport * as util from \\"./util.js\\";\\nexport type Params<T extends schemas.$ZodType | checks.$ZodCheck, IssueTypes extends errors.$ZodIssueBase, OmitKeys extends keyof T[\\"_zod\\"][\\"def\\"] = never> = util.Flatten<Partial<util.EmptyToNever<Omit<T[\\"_zod\\"][\\"def\\"], OmitKeys> & ([IssueTypes] extends [never] ? {} : {\\n error?: string | errors.$ZodErrorMap<IssueTypes> | undefined;\\n /** @deprecated This parameter is deprecated. Use `error` instead. */\\n message?: string | undefined;\\n})>>>;\\nexport type TypeParams<T extends schemas.$ZodType = schemas.$ZodType & {\\n _isst: never;\\n}, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"checks\\" | \\"error\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"isst\\"]>, \\"type\\" | \\"checks\\" | \\"error\\" | AlsoOmit>;\\nexport type CheckParams<T extends checks.$ZodCheck = checks.$ZodCheck, // & { _issc: never },\\nAlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"check\\" | \\"error\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"issc\\"]>, \\"check\\" | \\"error\\" | AlsoOmit>;\\nexport type StringFormatParams<T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"isst\\"] | T[\\"_zod\\"][\\"issc\\"]>, \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\" | AlsoOmit>;\\nexport type CheckStringFormatParams<T extends schemas.$ZodStringFormat = schemas.$ZodStringFormat, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"issc\\"]>, \\"type\\" | \\"coerce\\" | \\"checks\\" | \\"error\\" | \\"check\\" | \\"format\\" | AlsoOmit>;\\nexport type CheckTypeParams<T extends schemas.$ZodType & checks.$ZodCheck = schemas.$ZodType & checks.$ZodCheck, AlsoOmit extends Exclude<keyof T[\\"_zod\\"][\\"def\\"], \\"type\\" | \\"checks\\" | \\"error\\" | \\"check\\"> = never> = Params<T, NonNullable<T[\\"_zod\\"][\\"isst\\"] | T[\\"_zod\\"][\\"issc\\"]>, \\"type\\" | \\"checks\\" | \\"error\\" | \\"check\\" | AlsoOmit>;\\nexport type $ZodStringParams = TypeParams<schemas.$ZodString<string>, \\"coerce\\"> & {\\n checks?: readonly checks.$ZodCheck<string>[];\\n};\\nexport declare function _string<T extends schemas.$ZodString>(Class: util.SchemaClass<T>, params?: string | $ZodStringParams): T;\\nexport declare function _coercedString<T extends schemas.$ZodString>(Class: util.SchemaClass<T>, params?: string | $ZodStringParams): T;\\nexport type $ZodStringFormatParams = CheckTypeParams<schemas.$ZodStringFormat, \\"format\\" | \\"coerce\\" | \\"when\\" | \\"pattern\\">;\\nexport type $ZodCheckStringFormatParams = CheckParams<checks.$ZodCheckStringFormat, \\"format\\">;\\nexport type $ZodEmailParams = StringFormatParams<schemas.$ZodEmail, \\"when\\">;\\nexport type $ZodCheckEmailParams = CheckStringFormatParams<schemas.$ZodEmail, \\"when\\">;\\nexport declare function _email<T extends schemas.$ZodEmail>(Class: util.SchemaClass<T>, params?: string | $ZodEmailParams | $ZodCheckEmailParams): T;\\nexport type $ZodGUIDParams = StringFormatParams<schemas.$ZodGUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckGUIDParams = CheckStringFormatParams<schemas.$ZodGUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _guid<T extends schemas.$ZodGUID>(Class: util.SchemaClass<T>, params?: string | $ZodGUIDParams | $ZodCheckGUIDParams): T;\\nexport type $ZodUUIDParams = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDParams = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuid<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDParams | $ZodCheckUUIDParams): T;\\nexport type $ZodUUIDv4Params = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDv4Params = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuidv4<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv4Params | $ZodCheckUUIDv4Params): T;\\nexport type $ZodUUIDv6Params = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDv6Params = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuidv6<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv6Params | $ZodCheckUUIDv6Params): T;\\nexport type $ZodUUIDv7Params = StringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckUUIDv7Params = CheckStringFormatParams<schemas.$ZodUUID, \\"pattern\\" | \\"when\\">;\\nexport declare function _uuidv7<T extends schemas.$ZodUUID>(Class: util.SchemaClass<T>, params?: string | $ZodUUIDv7Params | $ZodCheckUUIDv7Params): T;\\nexport type $ZodURLParams = StringFormatParams<schemas.$ZodURL, \\"when\\">;\\nexport type $ZodCheckURLParams = CheckStringFormatParams<schemas.$ZodURL, \\"when\\">;\\nexport declare function _url<T extends schemas.$ZodURL>(Class: util.SchemaClass<T>, params?: string | $ZodURLParams | $ZodCheckURLParams): T;\\nexport type $ZodEmojiParams = StringFormatParams<schemas.$ZodEmoji, \\"when\\">;\\nexport type $ZodCheckEmojiParams = CheckStringFormatParams<schemas.$ZodEmoji, \\"when\\">;\\nexport declare function _emoji<T extends schemas.$ZodEmoji>(Class: util.SchemaClass<T>, params?: string | $ZodEmojiParams | $ZodCheckEmojiParams): T;\\nexport type $ZodNanoIDParams = StringFormatParams<schemas.$ZodNanoID, \\"when\\" | \\"pattern\\">;\\nexport type $ZodCheckNanoIDParams = CheckStringFormatParams<schemas.$ZodNanoID, \\"when\\" | \\"pattern\\">;\\nexport declare function _nanoid<T extends schemas.$ZodNanoID>(Class: util.SchemaClass<T>, params?: string | $ZodNanoIDParams | $ZodCheckNanoIDParams): T;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link _cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport type $ZodCUIDParams = StringFormatParams<schemas.$ZodCUID, \\"when\\">;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link _cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport type $ZodCheckCUIDParams = CheckStringFormatParams<schemas.$ZodCUID, \\"when\\">;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link _cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare function _cuid<T extends schemas.$ZodCUID>(Class: util.SchemaClass<T>, params?: string | $ZodCUIDParams | $ZodCheckCUIDParams): T;\\nexport type $ZodCUID2Params = StringFormatParams<schemas.$ZodCUID2, \\"when\\">;\\nexport type $ZodCheckCUID2Params = CheckStringFormatParams<schemas.$ZodCUID2, \\"when\\">;\\nexport declare function _cuid2<T extends schemas.$ZodCUID2>(Class: util.SchemaClass<T>, params?: string | $ZodCUID2Params | $ZodCheckCUID2Params): T;\\nexport type $ZodULIDParams = StringFormatParams<schemas.$ZodULID, \\"when\\">;\\nexport type $ZodCheckULIDParams = CheckStringFormatParams<schemas.$ZodULID, \\"when\\">;\\nexport declare function _ulid<T extends schemas.$ZodULID>(Class: util.SchemaClass<T>, params?: string | $ZodULIDParams | $ZodCheckULIDParams): T;\\nexport type $ZodXIDParams = StringFormatParams<schemas.$ZodXID, \\"when\\">;\\nexport type $ZodCheckXIDParams = CheckStringFormatParams<schemas.$ZodXID, \\"when\\">;\\nexport declare function _xid<T extends schemas.$ZodXID>(Class: util.SchemaClass<T>, params?: string | $ZodXIDParams | $ZodCheckXIDParams): T;\\nexport type $ZodKSUIDParams = StringFormatParams<schemas.$ZodKSUID, \\"when\\">;\\nexport type $ZodCheckKSUIDParams = CheckStringFormatParams<schemas.$ZodKSUID, \\"when\\">;\\nexport declare function _ksuid<T extends schemas.$ZodKSUID>(Class: util.SchemaClass<T>, params?: string | $ZodKSUIDParams | $ZodCheckKSUIDParams): T;\\nexport type $ZodIPv4Params = StringFormatParams<schemas.$ZodIPv4, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport type $ZodCheckIPv4Params = CheckStringFormatParams<schemas.$ZodIPv4, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport declare function _ipv4<T extends schemas.$ZodIPv4>(Class: util.SchemaClass<T>, params?: string | $ZodIPv4Params | $ZodCheckIPv4Params): T;\\nexport type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, \\"pattern\\" | \\"when\\" | \\"version\\">;\\nexport declare function _ipv6<T extends schemas.$ZodIPv6>(Class: util.SchemaClass<T>, params?: string | $ZodIPv6Params | $ZodCheckIPv6Params): T;\\nexport type $ZodMACParams = StringFormatParams<schemas.$ZodMAC, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckMACParams = CheckStringFormatParams<schemas.$ZodMAC, \\"pattern\\" | \\"when\\">;\\nexport declare function _mac<T extends schemas.$ZodMAC>(Class: util.SchemaClass<T>, params?: string | $ZodMACParams | $ZodCheckMACParams): T;\\nexport type $ZodCIDRv4Params = StringFormatParams<schemas.$ZodCIDRv4, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckCIDRv4Params = CheckStringFormatParams<schemas.$ZodCIDRv4, \\"pattern\\" | \\"when\\">;\\nexport declare function _cidrv4<T extends schemas.$ZodCIDRv4>(Class: util.SchemaClass<T>, params?: string | $ZodCIDRv4Params | $ZodCheckCIDRv4Params): T;\\nexport type $ZodCIDRv6Params = StringFormatParams<schemas.$ZodCIDRv6, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckCIDRv6Params = CheckStringFormatParams<schemas.$ZodCIDRv6, \\"pattern\\" | \\"when\\">;\\nexport declare function _cidrv6<T extends schemas.$ZodCIDRv6>(Class: util.SchemaClass<T>, params?: string | $ZodCIDRv6Params | $ZodCheckCIDRv6Params): T;\\nexport type $ZodBase64Params = StringFormatParams<schemas.$ZodBase64, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckBase64Params = CheckStringFormatParams<schemas.$ZodBase64, \\"pattern\\" | \\"when\\">;\\nexport declare function _base64<T extends schemas.$ZodBase64>(Class: util.SchemaClass<T>, params?: string | $ZodBase64Params | $ZodCheckBase64Params): T;\\nexport type $ZodBase64URLParams = StringFormatParams<schemas.$ZodBase64URL, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckBase64URLParams = CheckStringFormatParams<schemas.$ZodBase64URL, \\"pattern\\" | \\"when\\">;\\nexport declare function _base64url<T extends schemas.$ZodBase64URL>(Class: util.SchemaClass<T>, params?: string | $ZodBase64URLParams | $ZodCheckBase64URLParams): T;\\nexport type $ZodE164Params = StringFormatParams<schemas.$ZodE164, \\"when\\">;\\nexport type $ZodCheckE164Params = CheckStringFormatParams<schemas.$ZodE164, \\"when\\">;\\nexport declare function _e164<T extends schemas.$ZodE164>(Class: util.SchemaClass<T>, params?: string | $ZodE164Params | $ZodCheckE164Params): T;\\nexport type $ZodCreditCardParams = StringFormatParams<schemas.$ZodCreditCard, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckCreditCardParams = CheckStringFormatParams<schemas.$ZodCreditCard, \\"pattern\\" | \\"when\\">;\\nexport declare function _creditCard<T extends schemas.$ZodCreditCard>(Class: util.SchemaClass<T>, params?: string | $ZodCreditCardParams | $ZodCheckCreditCardParams): T;\\nexport type $ZodIBANParams = StringFormatParams<schemas.$ZodIBAN, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckIBANParams = CheckStringFormatParams<schemas.$ZodIBAN, \\"pattern\\" | \\"when\\">;\\nexport declare function _iban<T extends schemas.$ZodIBAN>(Class: util.SchemaClass<T>, params?: string | $ZodIBANParams | $ZodCheckIBANParams): T;\\nexport type $ZodJWTParams = StringFormatParams<schemas.$ZodJWT, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckJWTParams = CheckStringFormatParams<schemas.$ZodJWT, \\"pattern\\" | \\"when\\">;\\nexport declare function _jwt<T extends schemas.$ZodJWT>(Class: util.SchemaClass<T>, params?: string | $ZodJWTParams | $ZodCheckJWTParams): T;\\nexport declare const TimePrecision: {\\n readonly Any: null;\\n readonly Minute: -1;\\n readonly Second: 0;\\n readonly Millisecond: 3;\\n readonly Microsecond: 6;\\n};\\nexport type $ZodISODateTimeParams = StringFormatParams<schemas.$ZodISODateTime, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckISODateTimeParams = CheckStringFormatParams<schemas.$ZodISODateTime, \\"pattern\\" | \\"when\\">;\\nexport declare function _isoDateTime<T extends schemas.$ZodISODateTime>(Class: util.SchemaClass<T>, params?: string | $ZodISODateTimeParams | $ZodCheckISODateTimeParams): T;\\nexport type $ZodISODateParams = StringFormatParams<schemas.$ZodISODate, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckISODateParams = CheckStringFormatParams<schemas.$ZodISODate, \\"pattern\\" | \\"when\\">;\\nexport declare function _isoDate<T extends schemas.$ZodISODate>(Class: util.SchemaClass<T>, params?: string | $ZodISODateParams | $ZodCheckISODateParams): T;\\nexport type $ZodISOTimeParams = StringFormatParams<schemas.$ZodISOTime, \\"pattern\\" | \\"when\\">;\\nexport type $ZodCheckISOTimeParams = CheckStringFormatParams<schemas.$ZodISOTime, \\"pattern\\" | \\"when\\">;\\nexport declare function _isoTime<T extends schemas.$ZodISOTime>(Class: util.SchemaClass<T>, params?: string | $ZodISOTimeParams | $ZodCheckISOTimeParams): T;\\nexport type $ZodISODurationParams = StringFormatParams<schemas.$ZodISODuration, \\"when\\">;\\nexport type $ZodCheckISODurationParams = CheckStringFormatParams<schemas.$ZodISODuration, \\"when\\">;\\nexport declare function _isoDuration<T extends schemas.$ZodISODuration>(Class: util.SchemaClass<T>, params?: string | $ZodISODurationParams | $ZodCheckISODurationParams): T;\\nexport type $ZodNumberParams = TypeParams<schemas.$ZodNumber<number>, \\"coerce\\"> & {\\n checks?: readonly checks.$ZodCheck<number>[];\\n};\\nexport type $ZodNumberFormatParams = CheckTypeParams<schemas.$ZodNumberFormat, \\"format\\" | \\"coerce\\">;\\nexport type $ZodCheckNumberFormatParams = CheckParams<checks.$ZodCheckNumberFormat, \\"format\\" | \\"when\\">;\\nexport declare function _number<T extends schemas.$ZodNumber>(Class: util.SchemaClass<T>, params?: string | $ZodNumberParams): T;\\nexport declare function _coercedNumber<T extends schemas.$ZodNumber>(Class: util.SchemaClass<T>, params?: string | $ZodNumberParams): T;\\nexport declare function _int<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _float32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _float64<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _int32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport declare function _uint32<T extends schemas.$ZodNumberFormat>(Class: util.SchemaClass<T>, params?: string | $ZodCheckNumberFormatParams): T;\\nexport type $ZodBooleanParams = TypeParams<schemas.$ZodBoolean<boolean>, \\"coerce\\">;\\nexport declare function _boolean<T extends schemas.$ZodBoolean>(Class: util.SchemaClass<T>, params?: string | $ZodBooleanParams): T;\\nexport declare function _coercedBoolean<T extends schemas.$ZodBoolean>(Class: util.SchemaClass<T>, params?: string | $ZodBooleanParams): T;\\nexport type $ZodBigIntParams = TypeParams<schemas.$ZodBigInt<bigint>>;\\nexport type $ZodBigIntFormatParams = CheckTypeParams<schemas.$ZodBigIntFormat, \\"format\\" | \\"coerce\\">;\\nexport type $ZodCheckBigIntFormatParams = CheckParams<checks.$ZodCheckBigIntFormat, \\"format\\" | \\"when\\">;\\nexport declare function _bigint<T extends schemas.$ZodBigInt>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntParams): T;\\nexport declare function _coercedBigint<T extends schemas.$ZodBigInt>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntParams): T;\\nexport declare function _int64<T extends schemas.$ZodBigIntFormat>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;\\nexport declare function _uint64<T extends schemas.$ZodBigIntFormat>(Class: util.SchemaClass<T>, params?: string | $ZodBigIntFormatParams): T;\\nexport type $ZodSymbolParams = TypeParams<schemas.$ZodSymbol>;\\nexport declare function _symbol<T extends schemas.$ZodSymbol>(Class: util.SchemaClass<T>, params?: string | $ZodSymbolParams): T;\\nexport type $ZodUndefinedParams = TypeParams<schemas.$ZodUndefined>;\\nexport declare function _undefined<T extends schemas.$ZodUndefined>(Class: util.SchemaClass<T>, params?: string | $ZodUndefinedParams): T;\\nexport type $ZodNullParams = TypeParams<schemas.$ZodNull>;\\nexport declare function _null<T extends schemas.$ZodNull>(Class: util.SchemaClass<T>, params?: string | $ZodNullParams): T;\\nexport type $ZodAnyParams = TypeParams<schemas.$ZodAny>;\\nexport declare function _any<T extends schemas.$ZodAny>(Class: util.SchemaClass<T>): T;\\nexport type $ZodUnknownParams = TypeParams<schemas.$ZodUnknown>;\\nexport declare function _unknown<T extends schemas.$ZodUnknown>(Class: util.SchemaClass<T>): T;\\nexport type $ZodNeverParams = TypeParams<schemas.$ZodNever>;\\nexport declare function _never<T extends schemas.$ZodNever>(Class: util.SchemaClass<T>, params?: string | $ZodNeverParams): T;\\nexport type $ZodVoidParams = TypeParams<schemas.$ZodVoid>;\\nexport declare function _void<T extends schemas.$ZodVoid>(Class: util.SchemaClass<T>, params?: string | $ZodVoidParams): T;\\nexport type $ZodDateParams = TypeParams<schemas.$ZodDate, \\"coerce\\">;\\nexport declare function _date<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T;\\nexport declare function _coercedDate<T extends schemas.$ZodDate>(Class: util.SchemaClass<T>, params?: string | $ZodDateParams): T;\\nexport type $ZodNaNParams = TypeParams<schemas.$ZodNaN>;\\nexport declare function _nan<T extends schemas.$ZodNaN>(Class: util.SchemaClass<T>, params?: string | $ZodNaNParams): T;\\nexport type $ZodCheckLessThanParams = CheckParams<checks.$ZodCheckLessThan, \\"inclusive\\" | \\"value\\" | \\"when\\">;\\nexport declare function _lt(value: util.Numeric, params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan<util.Numeric>;\\nexport declare function _lte(value: util.Numeric, params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan<util.Numeric>;\\nexport { \\n/** @deprecated Use `z.lte()` instead. */\\n_lte as _max, };\\nexport type $ZodCheckGreaterThanParams = CheckParams<checks.$ZodCheckGreaterThan, \\"inclusive\\" | \\"value\\" | \\"when\\">;\\nexport declare function _gt(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport declare function _gte(value: util.Numeric, params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport { \\n/** @deprecated Use `z.gte()` instead. */\\n_gte as _min, };\\nexport declare function _positive(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport declare function _negative(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan;\\nexport declare function _nonpositive(params?: string | $ZodCheckLessThanParams): checks.$ZodCheckLessThan;\\nexport declare function _nonnegative(params?: string | $ZodCheckGreaterThanParams): checks.$ZodCheckGreaterThan;\\nexport type $ZodCheckMultipleOfParams = CheckParams<checks.$ZodCheckMultipleOf, \\"value\\" | \\"when\\">;\\nexport declare function _multipleOf(value: number | bigint, params?: string | $ZodCheckMultipleOfParams): checks.$ZodCheckMultipleOf;\\nexport type $ZodCheckMaxSizeParams = CheckParams<checks.$ZodCheckMaxSize, \\"maximum\\" | \\"when\\">;\\nexport declare function _maxSize(maximum: number, params?: string | $ZodCheckMaxSizeParams): checks.$ZodCheckMaxSize<util.HasSize>;\\nexport type $ZodCheckMinSizeParams = CheckParams<checks.$ZodCheckMinSize, \\"minimum\\" | \\"when\\">;\\nexport declare function _minSize(minimum: number, params?: string | $ZodCheckMinSizeParams): checks.$ZodCheckMinSize<util.HasSize>;\\nexport type $ZodCheckSizeEqualsParams = CheckParams<checks.$ZodCheckSizeEquals, \\"size\\" | \\"when\\">;\\nexport declare function _size(size: number, params?: string | $ZodCheckSizeEqualsParams): checks.$ZodCheckSizeEquals<util.HasSize>;\\nexport type $ZodCheckMaxLengthParams = CheckParams<checks.$ZodCheckMaxLength, \\"maximum\\" | \\"when\\">;\\nexport declare function _maxLength(maximum: number, params?: string | $ZodCheckMaxLengthParams): checks.$ZodCheckMaxLength<util.HasLength>;\\nexport type $ZodCheckMinLengthParams = CheckParams<checks.$ZodCheckMinLength, \\"minimum\\" | \\"when\\">;\\nexport declare function _minLength(minimum: number, params?: string | $ZodCheckMinLengthParams): checks.$ZodCheckMinLength<util.HasLength>;\\nexport type $ZodCheckLengthEqualsParams = CheckParams<checks.$ZodCheckLengthEquals, \\"length\\" | \\"when\\">;\\nexport declare function _length(length: number, params?: string | $ZodCheckLengthEqualsParams): checks.$ZodCheckLengthEquals<util.HasLength>;\\nexport type $ZodCheckRegexParams = CheckParams<checks.$ZodCheckRegex, \\"format\\" | \\"pattern\\" | \\"when\\">;\\nexport declare function _regex(pattern: RegExp, params?: string | $ZodCheckRegexParams): checks.$ZodCheckRegex;\\nexport type $ZodCheckLowerCaseParams = CheckParams<checks.$ZodCheckLowerCase, \\"format\\" | \\"when\\">;\\nexport declare function _lowercase(params?: string | $ZodCheckLowerCaseParams): checks.$ZodCheckLowerCase;\\nexport type $ZodCheckUpperCaseParams = CheckParams<checks.$ZodCheckUpperCase, \\"format\\" | \\"when\\">;\\nexport declare function _uppercase(params?: string | $ZodCheckUpperCaseParams): checks.$ZodCheckUpperCase;\\nexport type $ZodCheckIncludesParams = CheckParams<checks.$ZodCheckIncludes, \\"includes\\" | \\"format\\" | \\"when\\" | \\"pattern\\">;\\nexport declare function _includes(includes: string, params?: string | $ZodCheckIncludesParams): checks.$ZodCheckIncludes;\\nexport type $ZodCheckStartsWithParams = CheckParams<checks.$ZodCheckStartsWith, \\"prefix\\" | \\"format\\" | \\"when\\" | \\"pattern\\">;\\nexport declare function _startsWith(prefix: string, params?: string | $ZodCheckStartsWithParams): checks.$ZodCheckStartsWith;\\nexport type $ZodCheckEndsWithParams = CheckParams<checks.$ZodCheckEndsWith, \\"suffix\\" | \\"format\\" | \\"pattern\\" | \\"when\\">;\\nexport declare function _endsWith(suffix: string, params?: string | $ZodCheckEndsWithParams): checks.$ZodCheckEndsWith;\\nexport type $ZodCheckPropertyParams = CheckParams<checks.$ZodCheckProperty, \\"property\\" | \\"schema\\" | \\"when\\">;\\nexport declare function _property<K extends string, T extends schemas.$ZodType>(property: K, schema: T, params?: string | $ZodCheckPropertyParams): checks.$ZodCheckProperty<{\\n [k in K]: util.Widen<core.input<T>>;\\n}>;\\nexport type $ZodCheckPropertiesParams = CheckParams<checks.$ZodCheckProperties, \\"shape\\" | \\"when\\">;\\nexport declare function _properties<Shape extends schemas.$ZodShape>(shape: Shape, params?: string | $ZodCheckPropertiesParams): checks.$ZodCheckProperties<Shape>;\\nexport type $ZodCheckMimeTypeParams = CheckParams<checks.$ZodCheckMimeType, \\"mime\\" | \\"when\\">;\\nexport declare function _mime(types: util.MimeTypes[], params?: string | $ZodCheckMimeTypeParams): checks.$ZodCheckMimeType;\\nexport declare function _overwrite<T>(tx: (input: T) => T): checks.$ZodCheckOverwrite<T>;\\nexport declare function _normalize(form?: \\"NFC\\" | \\"NFD\\" | \\"NFKC\\" | \\"NFKD\\" | (string & {})): checks.$ZodCheckOverwrite<string>;\\nexport declare function _trim(): checks.$ZodCheckOverwrite<string>;\\nexport declare function _toLowerCase(): checks.$ZodCheckOverwrite<string>;\\nexport declare function _toUpperCase(): checks.$ZodCheckOverwrite<string>;\\nexport declare function _slugify(): checks.$ZodCheckOverwrite<string>;\\nexport type $ZodArrayParams = TypeParams<schemas.$ZodArray, \\"element\\">;\\nexport declare function _array<T extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodArray>, element: T, params?: string | $ZodArrayParams): schemas.$ZodArray<T>;\\nexport type $ZodObjectParams = TypeParams<schemas.$ZodObject, \\"shape\\" | \\"catchall\\">;\\nexport type $ZodUnionParams = TypeParams<schemas.$ZodUnion, \\"options\\">;\\nexport declare function _union<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodUnion>, options: T, params?: string | $ZodUnionParams): schemas.$ZodUnion<T>;\\nexport type $ZodXorParams = TypeParams<schemas.$ZodXor, \\"options\\">;\\nexport declare function _xor<const T extends readonly schemas.$ZodObject[]>(Class: util.SchemaClass<schemas.$ZodXor>, options: T, params?: string | $ZodXorParams): schemas.$ZodXor<T>;\\nexport interface $ZodTypeDiscriminableInternals<_Disc extends string = string> extends schemas._$ZodTypeInternals {\\n propValues: util.PropValues;\\n}\\nexport interface $ZodTypeDiscriminable<_Disc extends string = string> extends schemas.SomeType {\\n _zod: $ZodTypeDiscriminableInternals;\\n}\\nexport type $ZodDiscriminatedUnionParams = TypeParams<schemas.$ZodDiscriminatedUnion, \\"options\\" | \\"discriminator\\">;\\nexport declare function _discriminatedUnion<Types extends [$ZodTypeDiscriminable, ...$ZodTypeDiscriminable[]], Disc extends string>(Class: util.SchemaClass<schemas.$ZodDiscriminatedUnion>, discriminator: Disc, options: Types, params?: string | $ZodDiscriminatedUnionParams): schemas.$ZodDiscriminatedUnion<Types, Disc>;\\nexport type $ZodIntersectionParams = TypeParams<schemas.$ZodIntersection, \\"left\\" | \\"right\\">;\\nexport declare function _intersection<T extends schemas.$ZodObject, U extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodIntersection>, left: T, right: U): schemas.$ZodIntersection<T, U>;\\nexport type $ZodTupleParams = TypeParams<schemas.$ZodTuple, \\"items\\" | \\"rest\\">;\\nexport declare function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]]>(Class: util.SchemaClass<schemas.$ZodTuple>, items: T, params?: string | $ZodTupleParams): schemas.$ZodTuple<T, null>;\\nexport declare function _tuple<T extends readonly [schemas.$ZodType, ...schemas.$ZodType[]], Rest extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodTuple>, items: T, rest: Rest, params?: string | $ZodTupleParams): schemas.$ZodTuple<T, Rest>;\\nexport type $ZodRecordParams = TypeParams<schemas.$ZodRecord, \\"keyType\\" | \\"valueType\\" | \\"partial\\">;\\nexport declare function _record<Key extends schemas.$ZodRecordKey, Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodRecord>, keyType: Key, valueType: Value, params?: string | $ZodRecordParams): schemas.$ZodRecord<Key, Value>;\\nexport type $ZodMapParams = TypeParams<schemas.$ZodMap, \\"keyType\\" | \\"valueType\\">;\\nexport declare function _map<Key extends schemas.$ZodObject, Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodMap>, keyType: Key, valueType: Value, params?: string | $ZodMapParams): schemas.$ZodMap<Key, Value>;\\nexport type $ZodSetParams = TypeParams<schemas.$ZodSet, \\"valueType\\">;\\nexport declare function _set<Value extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodSet>, valueType: Value, params?: string | $ZodSetParams): schemas.$ZodSet<Value>;\\nexport type $ZodEnumParams = TypeParams<schemas.$ZodEnum, \\"entries\\">;\\nexport declare function _enum<const T extends string[]>(Class: util.SchemaClass<schemas.$ZodEnum>, values: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<util.ToEnum<T[number]>>;\\nexport declare function _enum<T extends util.EnumLike>(Class: util.SchemaClass<schemas.$ZodEnum>, entries: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<T>;\\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\\n *\\n * ```ts\\n * enum Colors { red, green, blue }\\n * z.enum(Colors);\\n * ```\\n */\\nexport declare function _nativeEnum<T extends util.EnumLike>(Class: util.SchemaClass<schemas.$ZodEnum>, entries: T, params?: string | $ZodEnumParams): schemas.$ZodEnum<T>;\\nexport type $ZodLiteralParams = TypeParams<schemas.$ZodLiteral, \\"values\\">;\\nexport declare function _literal<const T extends Array<util.Literal>>(Class: util.SchemaClass<schemas.$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): schemas.$ZodLiteral<T[number]>;\\nexport declare function _literal<const T extends util.Literal>(Class: util.SchemaClass<schemas.$ZodLiteral>, value: T, params?: string | $ZodLiteralParams): schemas.$ZodLiteral<T>;\\nexport type $ZodFileParams = TypeParams<schemas.$ZodFile>;\\nexport declare function _file(Class: util.SchemaClass<schemas.$ZodFile>, params?: string | $ZodFileParams): schemas.$ZodFile;\\nexport type $ZodTransformParams = TypeParams<schemas.$ZodTransform, \\"transform\\">;\\nexport declare function _transform<I = unknown, O = I>(Class: util.SchemaClass<schemas.$ZodTransform>, fn: (input: I, ctx?: schemas.ParsePayload) => O): schemas.$ZodTransform<Awaited<O>, I>;\\nexport type $ZodOptionalParams = TypeParams<schemas.$ZodOptional, \\"innerType\\">;\\nexport declare function _optional<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodOptional>, innerType: T): schemas.$ZodOptional<T>;\\nexport type $ZodNullableParams = TypeParams<schemas.$ZodNullable, \\"innerType\\">;\\nexport declare function _nullable<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNullable>, innerType: T): schemas.$ZodNullable<T>;\\nexport type $ZodDefaultParams = TypeParams<schemas.$ZodDefault, \\"innerType\\" | \\"defaultValue\\">;\\nexport declare function _default<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodDefault>, innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): schemas.$ZodDefault<T>;\\nexport type $ZodNonOptionalParams = TypeParams<schemas.$ZodNonOptional, \\"innerType\\">;\\nexport declare function _nonoptional<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodNonOptional>, innerType: T, params?: string | $ZodNonOptionalParams): schemas.$ZodNonOptional<T>;\\nexport type $ZodSuccessParams = TypeParams<schemas.$ZodSuccess, \\"innerType\\">;\\nexport declare function _success<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodSuccess>, innerType: T): schemas.$ZodSuccess<T>;\\nexport type $ZodCatchParams = TypeParams<schemas.$ZodCatch, \\"innerType\\" | \\"catchValue\\">;\\nexport declare function _catch<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodCatch>, innerType: T, catchValue: core.output<T> | ((ctx: schemas.$ZodCatchCtx) => core.output<T>)): schemas.$ZodCatch<T>;\\nexport type $ZodPipeParams = TypeParams<schemas.$ZodPipe, \\"in\\" | \\"out\\">;\\nexport declare function _pipe<const A extends schemas.$ZodType, B extends schemas.$ZodType<unknown, core.output<A>> = schemas.$ZodType<unknown, core.output<A>>>(Class: util.SchemaClass<schemas.$ZodPipe>, in_: A, out: B | schemas.$ZodType<unknown, core.output<A>>): schemas.$ZodPipe<A, B>;\\nexport type $ZodReadonlyParams = TypeParams<schemas.$ZodReadonly, \\"innerType\\">;\\nexport declare function _readonly<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodReadonly>, innerType: T): schemas.$ZodReadonly<T>;\\nexport type $ZodTemplateLiteralParams = TypeParams<schemas.$ZodTemplateLiteral, \\"parts\\">;\\nexport declare function _templateLiteral<const Parts extends schemas.$ZodTemplateLiteralPart[]>(Class: util.SchemaClass<schemas.$ZodTemplateLiteral>, parts: Parts, params?: string | $ZodTemplateLiteralParams): schemas.$ZodTemplateLiteral<schemas.$PartsToTemplateLiteral<Parts>>;\\nexport type $ZodLazyParams = TypeParams<schemas.$ZodLazy, \\"getter\\">;\\nexport declare function _lazy<T extends schemas.$ZodType>(Class: util.SchemaClass<schemas.$ZodLazy>, getter: () => T): schemas.$ZodLazy<T>;\\nexport type $ZodPromiseParams = TypeParams<schemas.$ZodPromise, \\"innerType\\">;\\nexport declare function _promise<T extends schemas.$ZodObject>(Class: util.SchemaClass<schemas.$ZodPromise>, innerType: T): schemas.$ZodPromise<T>;\\nexport type $ZodCustomParams = CheckTypeParams<schemas.$ZodCustom, \\"fn\\">;\\nexport declare function _custom<O = unknown, I = O>(Class: util.SchemaClass<schemas.$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): schemas.$ZodCustom<O, I>;\\nexport declare function _refine<O = unknown, I = O>(Class: util.SchemaClass<schemas.$ZodCustom>, fn: (data: O) => unknown, _params: string | $ZodCustomParams | undefined): schemas.$ZodCustom<O, I>;\\nexport type $ZodSuperRefineIssue<T extends errors.$ZodIssueBase = errors.$ZodIssue> = T extends any ? RawIssue<T> : never;\\ntype RawIssue<T extends errors.$ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \\"message\\" | \\"path\\"> & {\\n /** The schema or check that originated this issue. */\\n readonly inst?: schemas.$ZodType | checks.$ZodCheck;\\n /** If `true`, Zod will execute subsequent checks/refinements instead of immediately aborting */\\n readonly continue?: boolean | undefined;\\n} & Record<string, unknown>> : never;\\nexport interface $RefinementCtx<T = unknown> extends schemas.ParsePayload<T> {\\n addIssue(arg: string | $ZodSuperRefineIssue): void;\\n}\\nexport interface $ZodSuperRefineParams {\\n /** If provided, the refinement runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */\\n when?: ((payload: schemas.ParsePayload) => boolean) | undefined;\\n}\\nexport declare function _superRefine<T>(fn: (arg: T, payload: $RefinementCtx<T>) => void | Promise<void>, params?: $ZodSuperRefineParams): checks.$ZodCheck<T>;\\nexport declare function _check<O = unknown>(fn: schemas.CheckFn<O>, params?: string | $ZodCustomParams): checks.$ZodCheck<O>;\\nexport declare function describe<T>(description: string): checks.$ZodCheck<T>;\\nexport declare function meta<T>(metadata: registries.GlobalMeta): checks.$ZodCheck<T>;\\nexport interface $ZodStringBoolParams extends TypeParams {\\n truthy?: string[];\\n falsy?: string[];\\n /**\\n * Options: `\\"sensitive\\"`, `\\"insensitive\\"`\\n *\\n * @default `\\"insensitive\\"`\\n */\\n case?: \\"sensitive\\" | \\"insensitive\\" | undefined;\\n}\\nexport declare function _stringbool(Classes: {\\n Codec?: typeof schemas.$ZodCodec;\\n Boolean?: typeof schemas.$ZodBoolean;\\n String?: typeof schemas.$ZodString;\\n}, _params?: string | $ZodStringBoolParams): schemas.$ZodCodec<schemas.$ZodString, schemas.$ZodBoolean>;\\nexport declare function _stringFormat<Format extends string>(Class: typeof schemas.$ZodCustomStringFormat, format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | $ZodStringFormatParams): schemas.$ZodCustomStringFormat<Format>;\\n","file:///node_modules/zod/v4/core/checks.d.ts":"import * as core from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport * as util from \\"./util.js\\";\\nexport interface $ZodCheckDef {\\n check: string;\\n error?: errors.$ZodErrorMap<never> | undefined;\\n /** If true, no later checks will be executed if this check fails. Default `false`. */\\n abort?: boolean | undefined;\\n /** If provided, the check runs only when this returns `true`. By default, it is skipped if prior parsing produced aborting issues. */\\n when?: ((payload: schemas.ParsePayload) => boolean) | undefined;\\n}\\nexport interface $ZodCheckInternals<T> {\\n def: $ZodCheckDef;\\n /** The set of issues this check might throw. */\\n issc?: errors.$ZodIssueBase;\\n check(payload: schemas.ParsePayload<T>): util.MaybeAsync<void>;\\n onattach: ((schema: schemas.$ZodType) => void)[];\\n}\\nexport interface $ZodCheck<in T = never> {\\n _zod: $ZodCheckInternals<T>;\\n}\\nexport declare const $ZodCheck: core.$constructor<$ZodCheck<any>>;\\nexport interface $ZodCheckLessThanDef extends $ZodCheckDef {\\n check: \\"less_than\\";\\n value: util.Numeric;\\n inclusive: boolean;\\n}\\nexport interface $ZodCheckLessThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\\n def: $ZodCheckLessThanDef;\\n issc: errors.$ZodIssueTooBig<T>;\\n}\\nexport interface $ZodCheckLessThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\\n _zod: $ZodCheckLessThanInternals<T>;\\n}\\nexport declare const $ZodCheckLessThan: core.$constructor<$ZodCheckLessThan>;\\nexport interface $ZodCheckGreaterThanDef extends $ZodCheckDef {\\n check: \\"greater_than\\";\\n value: util.Numeric;\\n inclusive: boolean;\\n}\\nexport interface $ZodCheckGreaterThanInternals<T extends util.Numeric = util.Numeric> extends $ZodCheckInternals<T> {\\n def: $ZodCheckGreaterThanDef;\\n issc: errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckGreaterThan<T extends util.Numeric = util.Numeric> extends $ZodCheck<T> {\\n _zod: $ZodCheckGreaterThanInternals<T>;\\n}\\nexport declare const $ZodCheckGreaterThan: core.$constructor<$ZodCheckGreaterThan>;\\nexport interface $ZodCheckMultipleOfDef<T extends number | bigint = number | bigint> extends $ZodCheckDef {\\n check: \\"multiple_of\\";\\n value: T;\\n}\\nexport interface $ZodCheckMultipleOfInternals<T extends number | bigint = number | bigint> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMultipleOfDef<T>;\\n issc: errors.$ZodIssueNotMultipleOf;\\n}\\nexport interface $ZodCheckMultipleOf<T extends number | bigint = number | bigint> extends $ZodCheck<T> {\\n _zod: $ZodCheckMultipleOfInternals<T>;\\n}\\nexport declare const $ZodCheckMultipleOf: core.$constructor<$ZodCheckMultipleOf<number | bigint>>;\\nexport type $ZodNumberFormats = \\"int32\\" | \\"uint32\\" | \\"float32\\" | \\"float64\\" | \\"safeint\\";\\nexport interface $ZodCheckNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckDef {\\n check: \\"number_format\\";\\n format: Format;\\n}\\nexport interface $ZodCheckNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheckInternals<number> {\\n def: $ZodCheckNumberFormatDef<Format>;\\n issc: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<\\"number\\"> | errors.$ZodIssueTooSmall<\\"number\\">;\\n}\\nexport interface $ZodCheckNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodCheck<number> {\\n _zod: $ZodCheckNumberFormatInternals<Format>;\\n}\\nexport declare const $ZodCheckNumberFormat: core.$constructor<$ZodCheckNumberFormat>;\\nexport type $ZodBigIntFormats = \\"int64\\" | \\"uint64\\";\\nexport interface $ZodCheckBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckDef {\\n check: \\"bigint_format\\";\\n format: Format;\\n}\\nexport interface $ZodCheckBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheckInternals<bigint> {\\n def: $ZodCheckBigIntFormatDef<Format>;\\n issc: errors.$ZodIssueTooBig<\\"bigint\\"> | errors.$ZodIssueTooSmall<\\"bigint\\">;\\n}\\nexport interface $ZodCheckBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodCheck<bigint> {\\n _zod: $ZodCheckBigIntFormatInternals<Format>;\\n}\\nexport declare const $ZodCheckBigIntFormat: core.$constructor<$ZodCheckBigIntFormat>;\\nexport interface $ZodCheckMaxSizeDef extends $ZodCheckDef {\\n check: \\"max_size\\";\\n maximum: number;\\n}\\nexport interface $ZodCheckMaxSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMaxSizeDef;\\n issc: errors.$ZodIssueTooBig<T>;\\n}\\nexport interface $ZodCheckMaxSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\\n _zod: $ZodCheckMaxSizeInternals<T>;\\n}\\nexport declare const $ZodCheckMaxSize: core.$constructor<$ZodCheckMaxSize>;\\nexport interface $ZodCheckMinSizeDef extends $ZodCheckDef {\\n check: \\"min_size\\";\\n minimum: number;\\n}\\nexport interface $ZodCheckMinSizeInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMinSizeDef;\\n issc: errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckMinSize<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\\n _zod: $ZodCheckMinSizeInternals<T>;\\n}\\nexport declare const $ZodCheckMinSize: core.$constructor<$ZodCheckMinSize>;\\nexport interface $ZodCheckSizeEqualsDef extends $ZodCheckDef {\\n check: \\"size_equals\\";\\n size: number;\\n}\\nexport interface $ZodCheckSizeEqualsInternals<T extends util.HasSize = util.HasSize> extends $ZodCheckInternals<T> {\\n def: $ZodCheckSizeEqualsDef;\\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckSizeEquals<T extends util.HasSize = util.HasSize> extends $ZodCheck<T> {\\n _zod: $ZodCheckSizeEqualsInternals<T>;\\n}\\nexport declare const $ZodCheckSizeEquals: core.$constructor<$ZodCheckSizeEquals>;\\nexport interface $ZodCheckMaxLengthDef extends $ZodCheckDef {\\n check: \\"max_length\\";\\n maximum: number;\\n}\\nexport interface $ZodCheckMaxLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMaxLengthDef;\\n issc: errors.$ZodIssueTooBig<T>;\\n}\\nexport interface $ZodCheckMaxLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\\n _zod: $ZodCheckMaxLengthInternals<T>;\\n}\\nexport declare const $ZodCheckMaxLength: core.$constructor<$ZodCheckMaxLength>;\\nexport interface $ZodCheckMinLengthDef extends $ZodCheckDef {\\n check: \\"min_length\\";\\n minimum: number;\\n}\\nexport interface $ZodCheckMinLengthInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMinLengthDef;\\n issc: errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckMinLength<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\\n _zod: $ZodCheckMinLengthInternals<T>;\\n}\\nexport declare const $ZodCheckMinLength: core.$constructor<$ZodCheckMinLength>;\\nexport interface $ZodCheckLengthEqualsDef extends $ZodCheckDef {\\n check: \\"length_equals\\";\\n length: number;\\n}\\nexport interface $ZodCheckLengthEqualsInternals<T extends util.HasLength = util.HasLength> extends $ZodCheckInternals<T> {\\n def: $ZodCheckLengthEqualsDef;\\n issc: errors.$ZodIssueTooBig<T> | errors.$ZodIssueTooSmall<T>;\\n}\\nexport interface $ZodCheckLengthEquals<T extends util.HasLength = util.HasLength> extends $ZodCheck<T> {\\n _zod: $ZodCheckLengthEqualsInternals<T>;\\n}\\nexport declare const $ZodCheckLengthEquals: core.$constructor<$ZodCheckLengthEquals>;\\nexport type $ZodStringFormats = \\"email\\" | \\"url\\" | \\"emoji\\" | \\"uuid\\" | \\"guid\\" | \\"nanoid\\" | \\"cuid\\" | \\"cuid2\\" | \\"ulid\\" | \\"xid\\" | \\"ksuid\\" | \\"datetime\\" | \\"date\\" | \\"time\\" | \\"duration\\" | \\"ipv4\\" | \\"ipv6\\" | \\"cidrv4\\" | \\"cidrv6\\" | \\"base64\\" | \\"base64url\\" | \\"json_string\\" | \\"e164\\" | \\"credit_card\\" | \\"iban\\" | \\"lowercase\\" | \\"uppercase\\" | \\"regex\\" | \\"jwt\\" | \\"starts_with\\" | \\"ends_with\\" | \\"includes\\";\\nexport interface $ZodCheckStringFormatDef<Format extends string = string> extends $ZodCheckDef {\\n check: \\"string_format\\";\\n format: Format;\\n pattern?: RegExp | undefined;\\n}\\nexport interface $ZodCheckStringFormatInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckStringFormatDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckStringFormat extends $ZodCheck<string> {\\n _zod: $ZodCheckStringFormatInternals;\\n}\\nexport declare const $ZodCheckStringFormat: core.$constructor<$ZodCheckStringFormat>;\\nexport interface $ZodCheckRegexDef extends $ZodCheckStringFormatDef {\\n format: \\"regex\\";\\n pattern: RegExp;\\n}\\nexport interface $ZodCheckRegexInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckRegexDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckRegex extends $ZodCheck<string> {\\n _zod: $ZodCheckRegexInternals;\\n}\\nexport declare const $ZodCheckRegex: core.$constructor<$ZodCheckRegex>;\\nexport interface $ZodCheckLowerCaseDef extends $ZodCheckStringFormatDef<\\"lowercase\\"> {\\n}\\nexport interface $ZodCheckLowerCaseInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckLowerCaseDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckLowerCase extends $ZodCheck<string> {\\n _zod: $ZodCheckLowerCaseInternals;\\n}\\nexport declare const $ZodCheckLowerCase: core.$constructor<$ZodCheckLowerCase>;\\nexport interface $ZodCheckUpperCaseDef extends $ZodCheckStringFormatDef<\\"uppercase\\"> {\\n}\\nexport interface $ZodCheckUpperCaseInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckUpperCaseDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckUpperCase extends $ZodCheck<string> {\\n _zod: $ZodCheckUpperCaseInternals;\\n}\\nexport declare const $ZodCheckUpperCase: core.$constructor<$ZodCheckUpperCase>;\\nexport interface $ZodCheckIncludesDef extends $ZodCheckStringFormatDef<\\"includes\\"> {\\n includes: string;\\n position?: number | undefined;\\n}\\nexport interface $ZodCheckIncludesInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckIncludesDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckIncludes extends $ZodCheck<string> {\\n _zod: $ZodCheckIncludesInternals;\\n}\\nexport declare const $ZodCheckIncludes: core.$constructor<$ZodCheckIncludes>;\\nexport interface $ZodCheckStartsWithDef extends $ZodCheckStringFormatDef<\\"starts_with\\"> {\\n prefix: string;\\n}\\nexport interface $ZodCheckStartsWithInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckStartsWithDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckStartsWith extends $ZodCheck<string> {\\n _zod: $ZodCheckStartsWithInternals;\\n}\\nexport declare const $ZodCheckStartsWith: core.$constructor<$ZodCheckStartsWith>;\\nexport interface $ZodCheckEndsWithDef extends $ZodCheckStringFormatDef<\\"ends_with\\"> {\\n suffix: string;\\n}\\nexport interface $ZodCheckEndsWithInternals extends $ZodCheckInternals<string> {\\n def: $ZodCheckEndsWithDef;\\n issc: errors.$ZodIssueInvalidStringFormat;\\n}\\nexport interface $ZodCheckEndsWith extends $ZodCheckInternals<string> {\\n _zod: $ZodCheckEndsWithInternals;\\n}\\nexport declare const $ZodCheckEndsWith: core.$constructor<$ZodCheckEndsWith>;\\nexport interface $ZodCheckPropertyDef extends $ZodCheckDef {\\n check: \\"property\\";\\n property: string;\\n schema: schemas.$ZodType;\\n}\\nexport interface $ZodCheckPropertyInternals<T extends object = object> extends $ZodCheckInternals<T> {\\n def: $ZodCheckPropertyDef;\\n issc: errors.$ZodIssue;\\n}\\nexport interface $ZodCheckProperty<T extends object = object> extends $ZodCheck<T> {\\n _zod: $ZodCheckPropertyInternals<T>;\\n}\\nexport declare const $ZodCheckProperty: core.$constructor<$ZodCheckProperty>;\\nexport interface $ZodCheckPropertiesDef<Shape extends schemas.$ZodShape = schemas.$ZodShape> extends $ZodCheckDef {\\n check: \\"properties\\";\\n shape: Shape;\\n}\\nexport type $ZodCheckPropertiesInput<Shape extends schemas.$ZodShape = schemas.$ZodShape> = {\\n -readonly [k in keyof Shape]: util.Widen<core.input<Shape[k]>>;\\n};\\nexport interface $ZodCheckPropertiesInternals<Shape extends schemas.$ZodShape = schemas.$ZodShape> extends $ZodCheckInternals<$ZodCheckPropertiesInput<Shape>> {\\n def: $ZodCheckPropertiesDef<Shape>;\\n issc: errors.$ZodIssue;\\n}\\nexport interface $ZodCheckProperties<Shape extends schemas.$ZodShape = schemas.$ZodShape> extends $ZodCheck<$ZodCheckPropertiesInput<Shape>> {\\n _zod: $ZodCheckPropertiesInternals<Shape>;\\n [Symbol.iterator](): Iterator<this>;\\n}\\nexport declare const $ZodCheckProperties: core.$constructor<$ZodCheckProperties>;\\nexport interface $ZodCheckMimeTypeDef extends $ZodCheckDef {\\n check: \\"mime_type\\";\\n mime: util.MimeTypes[];\\n}\\nexport interface $ZodCheckMimeTypeInternals<T extends schemas.File = schemas.File> extends $ZodCheckInternals<T> {\\n def: $ZodCheckMimeTypeDef;\\n issc: errors.$ZodIssueInvalidValue;\\n}\\nexport interface $ZodCheckMimeType<T extends schemas.File = schemas.File> extends $ZodCheck<T> {\\n _zod: $ZodCheckMimeTypeInternals<T>;\\n}\\nexport declare const $ZodCheckMimeType: core.$constructor<$ZodCheckMimeType>;\\nexport interface $ZodCheckOverwriteDef<T = unknown> extends $ZodCheckDef {\\n check: \\"overwrite\\";\\n tx(value: T): T;\\n}\\nexport interface $ZodCheckOverwriteInternals<T = unknown> extends $ZodCheckInternals<T> {\\n def: $ZodCheckOverwriteDef<T>;\\n issc: never;\\n}\\nexport interface $ZodCheckOverwrite<T = unknown> extends $ZodCheck<T> {\\n _zod: $ZodCheckOverwriteInternals<T>;\\n}\\nexport declare const $ZodCheckOverwrite: core.$constructor<$ZodCheckOverwrite>;\\nexport type $ZodChecks = $ZodCheckLessThan | $ZodCheckGreaterThan | $ZodCheckMultipleOf | $ZodCheckNumberFormat | $ZodCheckBigIntFormat | $ZodCheckMaxSize | $ZodCheckMinSize | $ZodCheckSizeEquals | $ZodCheckMaxLength | $ZodCheckMinLength | $ZodCheckLengthEquals | $ZodCheckStringFormat | $ZodCheckProperty | $ZodCheckMimeType | $ZodCheckOverwrite;\\nexport type $ZodStringFormatChecks = $ZodCheckRegex | $ZodCheckLowerCase | $ZodCheckUpperCase | $ZodCheckIncludes | $ZodCheckStartsWith | $ZodCheckEndsWith | schemas.$ZodStringFormatTypes;\\n","file:///node_modules/zod/v4/core/compile.d.ts":"import type * as core from \\"./core.js\\";\\nimport type { SomeType } from \\"./schemas.js\\";\\n/** @internal Sentinel the compiled fast path returns when validation fails. */\\nexport declare const INVALID: unique symbol;\\n/** @internal */\\nexport type INVALID = typeof INVALID;\\ninterface CompileFnOptions {\\n debug?: boolean | undefined;\\n /** Emit a validator instead of a parser: skip building the output value where nothing reads it. */\\n assertOnly?: boolean | undefined;\\n}\\ntype CompiledFn<T> = ((input: unknown) => T | INVALID) & {\\n code?: string | undefined;\\n /** False when this function\'s INVALID does not strictly mean \\"the runtime would reject\\". */\\n definite?: boolean | undefined;\\n};\\n/** Raised when the schema contains async refinements or transforms. Surfaces only under `compile(schema, { strict: true })`. */\\nexport declare class ZodCompileAsyncError extends Error {\\n constructor(message?: string);\\n}\\n/**\\n * Raised when the schema contains a feature whose semantics the fast path\\n * can\'t fully model. Both the shim in `zod/compile` and the default\\n * `compile()` fall back to the runtime parser for that schema; only\\n * `compile(schema, { strict: true })` lets it surface.\\n */\\nexport declare class ZodCompileUnsupportedError extends Error {\\n /** Whether a container may absorb this refusal by running the child through the runtime (see `compileChild`). False when running only that node on the runtime is not equivalent to running the whole parse there — a runtime island gets no parse context, so a node that *consumes* issues rather than propagating them would finalize them against the wrong error map and still succeed. */\\n readonly islandable: boolean;\\n constructor(feature: string, islandable?: boolean);\\n}\\nexport interface CompileOptions {\\n /** Throw the refusal instead of returning the schema uncompiled. */\\n strict?: boolean | undefined;\\n}\\n/**\\n * AOT-compile a Zod schema. Returns a clone whose `_zod.run` calls a generated\\n * fast path first and falls back to the original runtime parser on failure.\\n *\\n * - Forward direction only. Backward (encode), async, and `skipChecks` paths\\n * bypass the fast path and use the runtime directly.\\n * - Never throws. A schema the fast path can\'t model is returned unchanged and\\n * keeps using the runtime parser. Pass `{ strict: true }` to get the refusal\\n * as a thrown `ZodCompileUnsupportedError` / `ZodCompileAsyncError` instead.\\n * - The original schema is unchanged. The clone shares children by reference.\\n */\\nexport declare function compile<T extends SomeType>(schema: T, options?: CompileOptions): T;\\n/**\\n * Install an already-generated parser as a schema\'s fast path. Returns a clone; the original is\\n * unchanged.\\n *\\n * The parser takes the input and returns the parsed value, or `INVALID` to hand the parse to the\\n * runtime. It must be synchronous and forward-direction, and it must build fresh output rather than\\n * return its input — Zod cannot check either, and a wrong *success* is returned to the caller as-is.\\n *\\n * `compile()` is the ordinary entry point. This is for a build-time or native compiler that produces\\n * a parser where `new Function` is unavailable.\\n */\\nexport declare function withParser<T extends SomeType>(schema: T, parser: (input: unknown) => core.output<T> | INVALID): T;\\n/**\\n * @internal Generate the standalone compiled function: a parser by default, a validator under\\n * `assertOnly`. Returns the parsed value, `true` where nothing reads the output, or `INVALID`. Consumers use `compile()`.\\n */\\nexport declare function compileFn<T extends SomeType>(schema: T, options?: CompileFnOptions): CompiledFn<core.output<T>>;\\nexport {};\\n","file:///node_modules/zod/v4/core/core.d.ts":"import type * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport type { Class, ProtoOf } from \\"./util.js\\";\\ntype ZodTrait = {\\n _zod: {\\n def: any;\\n [k: string]: any;\\n };\\n};\\nexport interface $constructor<T extends ZodTrait, D = T[\\"_zod\\"][\\"def\\"]> {\\n new (def: D): T;\\n init(inst: T, def: D): asserts inst is T;\\n}\\nexport interface $constructorParams {\\n Parent?: typeof Class;\\n}\\n/** A special constant with type `never` */\\nexport declare const NEVER: never;\\nexport declare function $constructor<T extends ZodTrait, D = T[\\"_zod\\"][\\"def\\"]>(name: string, initializer: (inst: T, def: D) => void, \\n/** This trait\'s members, installed once on every prototype that composes it. They cannot be declared in the initializer above: that runs per instance, and the prototype is shared. */\\nproto?: ProtoOf<T>, params?: $constructorParams): $constructor<T, D>;\\nexport declare const $brand: unique symbol;\\nexport type $brand<T extends string | number | symbol = string | number | symbol> = {\\n [$brand]: {\\n [k in T]: true;\\n };\\n};\\nexport type $ZodBranded<T extends schemas.SomeType, Brand extends string | number | symbol, Dir extends \\"in\\" | \\"out\\" | \\"inout\\" = \\"out\\"> = T & (Dir extends \\"inout\\" ? {\\n _zod: {\\n input: input<T> & $brand<Brand>;\\n output: output<T> & $brand<Brand>;\\n };\\n} : Dir extends \\"in\\" ? {\\n _zod: {\\n input: input<T> & $brand<Brand>;\\n };\\n} : {\\n _zod: {\\n output: output<T> & $brand<Brand>;\\n };\\n});\\nexport type $ZodNarrow<T extends schemas.SomeType, Out> = T & {\\n _zod: {\\n output: Out;\\n };\\n};\\nexport declare class $ZodAsyncError extends Error {\\n constructor();\\n}\\nexport declare class $ZodEncodeError extends Error {\\n constructor(name: string);\\n}\\nexport type input<T> = T extends {\\n _zod: {\\n input: any;\\n };\\n} ? T[\\"_zod\\"][\\"input\\"] : unknown;\\nexport type output<T> = T extends {\\n _zod: {\\n output: any;\\n };\\n} ? T[\\"_zod\\"][\\"output\\"] : unknown;\\nexport type { output as infer };\\nexport interface $ZodConfig {\\n /** Custom error map. Overrides `config().localeError`. */\\n customError?: errors.$ZodErrorMap | undefined;\\n /** Localized error map. Lowest priority. */\\n localeError?: errors.$ZodErrorMap | undefined;\\n /** Disable JIT schema compilation. Useful in environments that disallow `eval`. */\\n jitless?: boolean | undefined;\\n /** Enables parsing input that contains reference cycles. Read when a schema is constructed. */\\n memoizer?: schemas.$ZodMemoizer | undefined;\\n /**\\n * Internal: post-processor invoked on every freshly-constructed schema\\n * instance, after init and deferred fns run. Set by `import \\"zod/compile\\"`\\n * to install AOT compilation. Not part of the public API.\\n * @internal\\n */\\n postProcessor?: ((inst: any) => void) | undefined;\\n}\\nexport declare const globalConfig: $ZodConfig;\\nexport declare function config(newConfig?: Partial<$ZodConfig>): $ZodConfig;\\n","file:///node_modules/zod/v4/core/doc.d.ts":"type ModeWriter = (doc: Doc, modes: {\\n execution: \\"sync\\" | \\"async\\";\\n}) => void;\\nexport declare class Doc {\\n args: string[];\\n /** Bindings the compiled function closes over, by name. */\\n closed: Record<string, unknown>;\\n content: string[];\\n indent: number;\\n constructor(args?: string[], closed?: Record<string, unknown>);\\n indented(fn: (doc: Doc) => void): void;\\n write(fn: ModeWriter): void;\\n write(line: string): void;\\n compile(): any;\\n}\\nexport {};\\n","file:///node_modules/zod/v4/core/errors.d.ts":"import type { $ZodCheck, $ZodStringFormats } from \\"./checks.js\\";\\nimport { $constructor } from \\"./core.js\\";\\nimport type { $ZodType } from \\"./schemas.js\\";\\nimport type { StandardSchemaV1 } from \\"./standard-schema.js\\";\\nimport * as util from \\"./util.js\\";\\nexport interface $ZodIssueBase {\\n readonly code?: string;\\n readonly input?: unknown;\\n readonly path: PropertyKey[];\\n readonly message: string;\\n}\\nexport type $ZodInvalidTypeExpected = \\"string\\" | \\"number\\" | \\"int\\" | \\"boolean\\" | \\"bigint\\" | \\"symbol\\" | \\"undefined\\" | \\"null\\" | \\"never\\" | \\"void\\" | \\"date\\" | \\"array\\" | \\"object\\" | \\"tuple\\" | \\"record\\" | \\"map\\" | \\"set\\" | \\"file\\" | \\"nonoptional\\" | \\"nan\\" | \\"function\\" | (string & {});\\nexport interface $ZodIssueInvalidType<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_type\\";\\n readonly expected: $ZodInvalidTypeExpected;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueTooBig<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"too_big\\";\\n readonly origin: \\"number\\" | \\"int\\" | \\"bigint\\" | \\"date\\" | \\"string\\" | \\"array\\" | \\"set\\" | \\"file\\" | (string & {});\\n readonly maximum: number | bigint;\\n readonly inclusive?: boolean;\\n readonly exact?: boolean;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueTooSmall<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"too_small\\";\\n readonly origin: \\"number\\" | \\"int\\" | \\"bigint\\" | \\"date\\" | \\"string\\" | \\"array\\" | \\"set\\" | \\"file\\" | (string & {});\\n readonly minimum: number | bigint;\\n /** True if the allowable range includes the minimum */\\n readonly inclusive?: boolean;\\n /** True if the allowed value is fixed (e.g.` z.length(5)`), not a range (`z.minLength(5)`) */\\n readonly exact?: boolean;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueInvalidStringFormat extends $ZodIssueBase {\\n readonly code: \\"invalid_format\\";\\n readonly format: $ZodStringFormats | (string & {});\\n readonly pattern?: string;\\n readonly input?: string;\\n}\\nexport interface $ZodIssueNotMultipleOf<Input extends number | bigint = number | bigint> extends $ZodIssueBase {\\n readonly code: \\"not_multiple_of\\";\\n readonly divisor: number;\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueUnrecognizedKeys extends $ZodIssueBase {\\n readonly code: \\"unrecognized_keys\\";\\n readonly keys: string[];\\n readonly input?: Record<string, unknown>;\\n}\\ninterface $ZodIssueInvalidUnionNoMatch extends $ZodIssueBase {\\n readonly code: \\"invalid_union\\";\\n readonly errors: $ZodIssue[][];\\n readonly input?: unknown;\\n readonly discriminator?: string | undefined;\\n readonly options?: util.Primitive[];\\n readonly inclusive?: true;\\n}\\ninterface $ZodIssueInvalidUnionMultipleMatch extends $ZodIssueBase {\\n readonly code: \\"invalid_union\\";\\n readonly errors: [];\\n readonly input?: unknown;\\n readonly discriminator?: string | undefined;\\n readonly inclusive: false;\\n /** Indices of the options that matched */\\n readonly matches: number[];\\n}\\nexport type $ZodIssueInvalidUnion = $ZodIssueInvalidUnionNoMatch | $ZodIssueInvalidUnionMultipleMatch;\\nexport interface $ZodIssueInvalidKey<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_key\\";\\n readonly origin: \\"map\\" | \\"record\\";\\n readonly issues: $ZodIssue[];\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueInvalidElement<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_element\\";\\n readonly origin: \\"map\\" | \\"set\\";\\n readonly key: unknown;\\n readonly issues: $ZodIssue[];\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueInvalidValue<Input = unknown> extends $ZodIssueBase {\\n readonly code: \\"invalid_value\\";\\n readonly values: util.Primitive[];\\n readonly input?: Input;\\n}\\nexport interface $ZodIssueCustom extends $ZodIssueBase {\\n readonly code: \\"custom\\";\\n readonly params?: Record<string, any> | undefined;\\n readonly input?: unknown;\\n}\\nexport interface $ZodIssueStringCommonFormats extends $ZodIssueInvalidStringFormat {\\n format: Exclude<$ZodStringFormats, \\"regex\\" | \\"jwt\\" | \\"starts_with\\" | \\"ends_with\\" | \\"includes\\">;\\n}\\nexport interface $ZodIssueStringInvalidRegex extends $ZodIssueInvalidStringFormat {\\n format: \\"regex\\";\\n pattern: string;\\n}\\nexport interface $ZodIssueStringInvalidJWT extends $ZodIssueInvalidStringFormat {\\n format: \\"jwt\\";\\n algorithm?: string;\\n}\\nexport interface $ZodIssueStringStartsWith extends $ZodIssueInvalidStringFormat {\\n format: \\"starts_with\\";\\n prefix: string;\\n}\\nexport interface $ZodIssueStringEndsWith extends $ZodIssueInvalidStringFormat {\\n format: \\"ends_with\\";\\n suffix: string;\\n}\\nexport interface $ZodIssueStringIncludes extends $ZodIssueInvalidStringFormat {\\n format: \\"includes\\";\\n includes: string;\\n}\\nexport type $ZodStringFormatIssues = $ZodIssueStringCommonFormats | $ZodIssueStringInvalidRegex | $ZodIssueStringInvalidJWT | $ZodIssueStringStartsWith | $ZodIssueStringEndsWith | $ZodIssueStringIncludes;\\nexport type $ZodIssue = $ZodIssueInvalidType | $ZodIssueTooBig | $ZodIssueTooSmall | $ZodIssueInvalidStringFormat | $ZodIssueNotMultipleOf | $ZodIssueUnrecognizedKeys | $ZodIssueInvalidUnion | $ZodIssueInvalidKey | $ZodIssueInvalidElement | $ZodIssueInvalidValue | $ZodIssueCustom;\\nexport type $ZodIssueCode = $ZodIssue[\\"code\\"];\\nexport type $ZodInternalIssue<T extends $ZodIssueBase = $ZodIssue> = T extends any ? RawIssue<T> : never;\\ntype RawIssue<T extends $ZodIssueBase> = T extends any ? util.Flatten<util.MakePartial<T, \\"message\\" | \\"path\\"> & {\\n /** The input data */\\n readonly input: unknown;\\n /** The schema or check that originated this issue. */\\n readonly inst?: $ZodType | $ZodCheck;\\n /** The schema that owns the issue. Equal to `inst` when a schema originated the issue, and the schema the check was attached to when a check did. */\\n readonly schema?: $ZodType | undefined;\\n /** If `true`, Zod will continue executing checks/refinements after this issue. */\\n readonly continue?: boolean | undefined;\\n} & Record<string, unknown>> : never;\\nexport type $ZodRawIssue<T extends $ZodIssueBase = $ZodIssue> = $ZodInternalIssue<T>;\\nexport interface $ZodErrorMap<T extends $ZodIssueBase = $ZodIssue> {\\n (issue: $ZodRawIssue<T>): {\\n message: string;\\n } | string | undefined | null;\\n}\\nexport interface $ZodError<T = unknown> extends Error {\\n type: T;\\n issues: $ZodIssue[];\\n _zod: {\\n output: T;\\n def: $ZodIssue[];\\n };\\n stack?: string;\\n name: string;\\n}\\nexport declare const $ZodError: $constructor<$ZodError>;\\ninterface $ZodRealError<T = any> extends $ZodError<T> {\\n}\\nexport declare const $ZodRealError: $constructor<$ZodRealError>;\\nexport type $ZodFlattenedError<T, U = string> = _FlattenedError<T, U>;\\ntype _FlattenedError<T, U = string> = {\\n formErrors: U[];\\n fieldErrors: {\\n [P in keyof T]?: U[];\\n };\\n};\\nexport declare function flattenError<T>(error: $ZodError<T>): _FlattenedError<T>;\\nexport declare function flattenError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): _FlattenedError<T, U>;\\ntype _ZodFormattedError<T, U = string> = T extends [any, ...any[]] ? {\\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\\n} : T extends any[] ? {\\n [k: number]: $ZodFormattedError<T[number], U>;\\n} : T extends object ? util.Flatten<{\\n [K in keyof T]?: $ZodFormattedError<T[K], U>;\\n}> : any;\\nexport type $ZodFormattedError<T, U = string> = {\\n _errors: U[];\\n} & util.Flatten<_ZodFormattedError<T, U>>;\\nexport declare function formatError<T>(error: $ZodError<T>): $ZodFormattedError<T>;\\nexport declare function formatError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodFormattedError<T, U>;\\nexport type $ZodErrorTree<T, U = string> = T extends util.Primitive ? {\\n errors: U[];\\n} : T extends [any, ...any[]] ? {\\n errors: U[];\\n items?: {\\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\\n };\\n} : T extends any[] ? {\\n errors: U[];\\n items?: Array<$ZodErrorTree<T[number], U>>;\\n} : T extends object ? {\\n errors: U[];\\n properties?: {\\n [K in keyof T]?: $ZodErrorTree<T[K], U>;\\n };\\n} : {\\n errors: U[];\\n};\\nexport declare function treeifyError<T>(error: $ZodError<T>): $ZodErrorTree<T>;\\nexport declare function treeifyError<T, U>(error: $ZodError<T>, mapper?: (issue: $ZodIssue) => U): $ZodErrorTree<T, U>;\\n/** Format a ZodError as a human-readable string in the following form.\\n *\\n * From\\n *\\n * ```ts\\n * ZodError {\\n * issues: [\\n * {\\n * expected: \'string\',\\n * code: \'invalid_type\',\\n * path: [ \'username\' ],\\n * message: \'Invalid input: expected string\'\\n * },\\n * {\\n * expected: \'number\',\\n * code: \'invalid_type\',\\n * path: [ \'favoriteNumbers\', 1 ],\\n * message: \'Invalid input: expected number\'\\n * }\\n * ];\\n * }\\n * ```\\n *\\n * to\\n *\\n * ```\\n * username\\n * ✖ Expected number, received string at \\"username\\n * favoriteNumbers[0]\\n * ✖ Invalid input: expected number\\n * ```\\n */\\nexport declare function toDotPath(_path: readonly (string | number | symbol | StandardSchemaV1.PathSegment)[]): string;\\nexport declare function prettifyError(error: StandardSchemaV1.FailureResult): string;\\nexport {};\\n","file:///node_modules/zod/v4/core/index.d.ts":"export * from \\"./core.js\\";\\nexport * from \\"./parse.js\\";\\nexport * from \\"./errors.js\\";\\nexport * from \\"./schemas.js\\";\\nexport * from \\"./memoizer.js\\";\\nexport * from \\"./checks.js\\";\\nexport * from \\"./versions.js\\";\\nexport * as util from \\"./util.js\\";\\nexport { toZod } from \\"./util.js\\";\\nexport * as regexes from \\"./regexes.js\\";\\nexport * as locales from \\"../locales/index.js\\";\\nexport * from \\"./registries.js\\";\\nexport * from \\"./doc.js\\";\\nexport * from \\"./compile.js\\";\\nexport * from \\"./api.js\\";\\nexport * from \\"./to-json-schema.js\\";\\nexport { toJSONSchema } from \\"./json-schema-processors.js\\";\\nexport { JSONSchemaGenerator } from \\"./json-schema-generator.js\\";\\nexport * as JSONSchema from \\"./json-schema.js\\";\\n","file:///node_modules/zod/v4/core/json-schema-generator.d.ts":"import type * as JSONSchema from \\"./json-schema.js\\";\\nimport type { $ZodRegistry } from \\"./registries.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport { type JSONSchemaGeneratorParams, type ProcessParams, type Seen, type ToJSONSchemaContext } from \\"./to-json-schema.js\\";\\n/**\\n * Parameters for the emit method of JSONSchemaGenerator.\\n * @deprecated Use toJSONSchema function instead\\n */\\nexport type EmitParams = Pick<JSONSchemaGeneratorParams, \\"cycles\\" | \\"reused\\" | \\"external\\">;\\n/**\\n * Parameters for JSONSchemaGenerator constructor.\\n * @deprecated Use toJSONSchema function instead\\n */\\ntype JSONSchemaGeneratorConstructorParams = Pick<JSONSchemaGeneratorParams, \\"metadata\\" | \\"target\\" | \\"unrepresentable\\" | \\"override\\" | \\"io\\">;\\n/**\\n * Legacy class-based interface for JSON Schema generation.\\n * This class wraps the new functional implementation to provide backward compatibility.\\n *\\n * @deprecated Use the `toJSONSchema` function instead for new code.\\n *\\n * @example\\n * ```typescript\\n * // Legacy usage (still supported)\\n * const gen = new JSONSchemaGenerator({ target: \\"draft-07\\" });\\n * gen.process(schema);\\n * const result = gen.emit(schema);\\n *\\n * // Preferred modern usage\\n * const result = toJSONSchema(schema, { target: \\"draft-07\\" });\\n * ```\\n */\\nexport declare class JSONSchemaGenerator {\\n private ctx;\\n /** @deprecated Access via ctx instead */\\n get metadataRegistry(): $ZodRegistry<Record<string, any>>;\\n /** @deprecated Access via ctx instead */\\n get target(): ({} & string) | \\"draft-2020-12\\" | \\"draft-07\\" | \\"openapi-3.0\\" | \\"draft-04\\";\\n /** @deprecated Access via ctx instead */\\n get unrepresentable(): ToJSONSchemaContext[\\"unrepresentable\\"];\\n /** @deprecated Access via ctx instead */\\n get override(): (ctx: {\\n zodSchema: schemas.$ZodType;\\n jsonSchema: JSONSchema.BaseSchema;\\n path: (string | number)[];\\n }) => void;\\n /** @deprecated Access via ctx instead */\\n get io(): \\"input\\" | \\"output\\";\\n /** @deprecated Access via ctx instead */\\n get counter(): number;\\n set counter(value: number);\\n /** @deprecated Access via ctx instead */\\n get seen(): Map<schemas.$ZodType, Seen>;\\n constructor(params?: JSONSchemaGeneratorConstructorParams);\\n /**\\n * Process a schema to prepare it for JSON Schema generation.\\n * This must be called before emit().\\n */\\n process(schema: schemas.$ZodType, _params?: ProcessParams): JSONSchema.BaseSchema;\\n /**\\n * Emit the final JSON Schema after processing.\\n * Must call process() first.\\n */\\n emit(schema: schemas.$ZodType, _params?: EmitParams): JSONSchema.BaseSchema;\\n}\\nexport {};\\n","file:///node_modules/zod/v4/core/json-schema-processors.d.ts":"import type { $ZodRegistry } from \\"./registries.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport { type Processor, type RegistryToJSONSchemaParams, type ToJSONSchemaParams, type ZodStandardJSONSchemaPayload } from \\"./to-json-schema.js\\";\\ntype Bound = number | bigint | Date;\\ninterface CheckAggregate<N extends Bound = Bound> {\\n minimum?: N;\\n maximum?: N;\\n exclusiveMinimum?: N;\\n exclusiveMaximum?: N;\\n multipleOf?: number[];\\n format?: string;\\n isInt?: boolean;\\n patterns?: Set<RegExp>;\\n mime?: string[];\\n contentEncoding?: string;\\n laxFormat?: boolean;\\n}\\nexport declare function aggregateChecks<N extends Bound = Bound>(schema: schemas.$ZodType): CheckAggregate<N>;\\nexport declare const stringProcessor: Processor<schemas.$ZodString>;\\nexport declare const numberProcessor: Processor<schemas.$ZodNumber>;\\nexport declare const booleanProcessor: Processor<schemas.$ZodBoolean>;\\nexport declare const bigintProcessor: Processor<schemas.$ZodBigInt>;\\nexport declare const symbolProcessor: Processor<schemas.$ZodSymbol>;\\nexport declare const nullProcessor: Processor<schemas.$ZodNull>;\\nexport declare const undefinedProcessor: Processor<schemas.$ZodUndefined>;\\nexport declare const voidProcessor: Processor<schemas.$ZodVoid>;\\nexport declare const neverProcessor: Processor<schemas.$ZodNever>;\\nexport declare const anyProcessor: Processor<schemas.$ZodAny>;\\nexport declare const unknownProcessor: Processor<schemas.$ZodUnknown>;\\nexport declare const dateProcessor: Processor<schemas.$ZodDate>;\\nexport declare const enumProcessor: Processor<schemas.$ZodEnum>;\\nexport declare const literalProcessor: Processor<schemas.$ZodLiteral>;\\nexport declare const nanProcessor: Processor<schemas.$ZodNaN>;\\nexport declare const templateLiteralProcessor: Processor<schemas.$ZodTemplateLiteral>;\\nexport declare const fileProcessor: Processor<schemas.$ZodFile>;\\nexport declare const successProcessor: Processor<schemas.$ZodSuccess>;\\nexport declare const customProcessor: Processor<schemas.$ZodCustom>;\\nexport declare const functionProcessor: Processor<schemas.$ZodFunction>;\\nexport declare const transformProcessor: Processor<schemas.$ZodTransform>;\\nexport declare const mapProcessor: Processor<schemas.$ZodMap>;\\nexport declare const setProcessor: Processor<schemas.$ZodSet>;\\nexport declare const arrayProcessor: Processor<schemas.$ZodArray>;\\nexport declare const objectProcessor: Processor<schemas.$ZodObject>;\\nexport declare const unionProcessor: Processor<schemas.$ZodUnion>;\\nexport declare const intersectionProcessor: Processor<schemas.$ZodIntersection>;\\nexport declare const tupleProcessor: Processor<schemas.$ZodTuple>;\\nexport declare const recordProcessor: Processor<schemas.$ZodRecord>;\\nexport declare const nullableProcessor: Processor<schemas.$ZodNullable>;\\nexport declare const nonoptionalProcessor: Processor<schemas.$ZodNonOptional>;\\nexport declare const defaultProcessor: Processor<schemas.$ZodDefault>;\\nexport declare const prefaultProcessor: Processor<schemas.$ZodPrefault>;\\nexport declare const catchProcessor: Processor<schemas.$ZodCatch>;\\nexport declare const pipeProcessor: Processor<schemas.$ZodPipe>;\\nexport declare const readonlyProcessor: Processor<schemas.$ZodReadonly>;\\nexport declare const promiseProcessor: Processor<schemas.$ZodPromise>;\\nexport declare const optionalProcessor: Processor<schemas.$ZodOptional>;\\nexport declare const lazyProcessor: Processor<schemas.$ZodLazy>;\\nexport declare const allProcessors: Record<string, Processor<any>>;\\nexport declare function toJSONSchema<T extends schemas.$ZodType>(schema: T, params?: ToJSONSchemaParams): ZodStandardJSONSchemaPayload<T>;\\nexport declare function toJSONSchema(registry: $ZodRegistry<{\\n id?: string | undefined;\\n}>, params?: RegistryToJSONSchemaParams): {\\n schemas: Record<string, ZodStandardJSONSchemaPayload<schemas.$ZodType>>;\\n};\\nexport {};\\n","file:///node_modules/zod/v4/core/json-schema.d.ts":"export type Schema = ObjectSchema | ArraySchema | StringSchema | NumberSchema | IntegerSchema | BooleanSchema | NullSchema;\\nexport type _JSONSchema = boolean | JSONSchema;\\nexport type SchemaType = \\"object\\" | \\"array\\" | \\"string\\" | \\"number\\" | \\"boolean\\" | \\"null\\" | \\"integer\\";\\nexport type JSONSchema = {\\n [k: string]: unknown;\\n $schema?: \\"https://json-schema.org/draft/2020-12/schema\\" | \\"http://json-schema.org/draft-07/schema#\\" | \\"http://json-schema.org/draft-04/schema#\\";\\n $id?: string;\\n $anchor?: string;\\n $ref?: string;\\n $dynamicRef?: string;\\n $dynamicAnchor?: string;\\n $vocabulary?: Record<string, boolean>;\\n $comment?: string;\\n $defs?: Record<string, JSONSchema>;\\n type?: SchemaType | SchemaType[];\\n additionalItems?: _JSONSchema;\\n unevaluatedItems?: _JSONSchema;\\n prefixItems?: _JSONSchema[];\\n items?: _JSONSchema | _JSONSchema[];\\n contains?: _JSONSchema;\\n additionalProperties?: _JSONSchema;\\n unevaluatedProperties?: _JSONSchema;\\n properties?: Record<string, _JSONSchema>;\\n patternProperties?: Record<string, _JSONSchema>;\\n dependentSchemas?: Record<string, _JSONSchema>;\\n propertyNames?: _JSONSchema;\\n if?: _JSONSchema;\\n then?: _JSONSchema;\\n else?: _JSONSchema;\\n allOf?: JSONSchema[];\\n anyOf?: JSONSchema[];\\n oneOf?: JSONSchema[];\\n not?: _JSONSchema;\\n multipleOf?: number;\\n maximum?: number;\\n exclusiveMaximum?: number | boolean;\\n minimum?: number;\\n exclusiveMinimum?: number | boolean;\\n maxLength?: number;\\n minLength?: number;\\n pattern?: string;\\n maxItems?: number;\\n minItems?: number;\\n uniqueItems?: boolean;\\n maxContains?: number;\\n minContains?: number;\\n maxProperties?: number;\\n minProperties?: number;\\n required?: string[];\\n dependentRequired?: Record<string, string[]>;\\n enum?: Array<string | number | boolean | null>;\\n const?: string | number | boolean | null;\\n id?: string;\\n title?: string;\\n description?: string;\\n default?: unknown;\\n deprecated?: boolean;\\n readOnly?: boolean;\\n writeOnly?: boolean;\\n nullable?: boolean;\\n examples?: unknown[];\\n format?: string;\\n contentMediaType?: string;\\n contentEncoding?: string;\\n contentSchema?: JSONSchema;\\n _prefault?: unknown;\\n};\\nexport type BaseSchema = JSONSchema;\\nexport interface ObjectSchema extends JSONSchema {\\n type: \\"object\\";\\n}\\nexport interface ArraySchema extends JSONSchema {\\n type: \\"array\\";\\n}\\nexport interface StringSchema extends JSONSchema {\\n type: \\"string\\";\\n}\\nexport interface NumberSchema extends JSONSchema {\\n type: \\"number\\";\\n}\\nexport interface IntegerSchema extends JSONSchema {\\n type: \\"integer\\";\\n}\\nexport interface BooleanSchema extends JSONSchema {\\n type: \\"boolean\\";\\n}\\nexport interface NullSchema extends JSONSchema {\\n type: \\"null\\";\\n}\\n","file:///node_modules/zod/v4/core/memoizer.d.ts":"import type { $ZodMemoizer, $ZodType } from \\"./schemas.js\\";\\nexport declare class $ZodCyclicError extends Error {\\n constructor();\\n}\\n/**\\n * Whether one parse can re-enter this schema, i.e. its subtree contains a cycle.\\n * Exported for `z.compile`, which refuses to compile such a schema: cycle\\n * breaking is driven from here off state keyed on the parse context, and a\\n * generated fast path has no context to key on.\\n */\\nexport declare function isRecursiveSchema(inst: $ZodType): boolean;\\n/** The memoizer that gives containers cycle support. `zod` installs it by default; `zod/mini` opts in with `config({ memoizer: memoizer() })`. */\\nexport declare function memoizer(): $ZodMemoizer;\\n/** Whether this value is a node a back-edge resolved to before it finished. */\\nexport declare function isBackEdge(ctx: object, value: unknown): boolean;\\n","file:///node_modules/zod/v4/core/parse.d.ts":"import * as core from \\"./core.js\\";\\nimport * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport * as util from \\"./util.js\\";\\nexport type $ZodErrorClass = {\\n new (issues: errors.$ZodIssue[]): errors.$ZodError;\\n};\\ntype $ParseParams = {\\n callee?: util.AnyFunc;\\n Err?: $ZodErrorClass | undefined;\\n};\\nexport type $Parse = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => core.output<T>;\\nexport declare const _parse: (_Err: $ZodErrorClass) => $Parse;\\nexport declare const parse: $Parse;\\nexport type $ParseAsync = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => Promise<core.output<T>>;\\nexport declare const _parseAsync: (_Err: $ZodErrorClass) => $ParseAsync;\\nexport declare const parseAsync: $ParseAsync;\\nexport type $SafeParse = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => util.SafeParseResult<core.output<T>>;\\nexport declare const _safeParse: (_Err: $ZodErrorClass) => $SafeParse;\\nexport declare const safeParse: $SafeParse;\\nexport type $SafeParseAsync = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<util.SafeParseResult<core.output<T>>>;\\nexport declare const _safeParseAsync: (_Err: $ZodErrorClass) => $SafeParseAsync;\\nexport declare const safeParseAsync: $SafeParseAsync;\\nexport type $Validate = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => value is core.input<T>;\\nexport declare const validate: $Validate;\\nexport type $ValidateAsync = <T extends schemas.$ZodType>(schema: T, value: unknown, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<boolean>;\\nexport declare const validateAsync: $ValidateAsync;\\nexport type $Encode = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => core.input<T>;\\nexport declare const _encode: (_Err: $ZodErrorClass) => $Encode;\\nexport declare const encode: $Encode;\\nexport type $Decode = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => core.output<T>;\\nexport declare const _decode: (_Err: $ZodErrorClass) => $Decode;\\nexport declare const decode: $Decode;\\nexport type $EncodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => Promise<core.input<T>>;\\nexport declare const _encodeAsync: (_Err: $ZodErrorClass) => $EncodeAsync;\\nexport declare const encodeAsync: $EncodeAsync;\\nexport type $DecodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>, _params?: $ParseParams) => Promise<core.output<T>>;\\nexport declare const _decodeAsync: (_Err: $ZodErrorClass) => $DecodeAsync;\\nexport declare const decodeAsync: $DecodeAsync;\\nexport type $SafeEncode = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => util.SafeParseResult<core.input<T>>;\\nexport declare const _safeEncode: (_Err: $ZodErrorClass) => $SafeEncode;\\nexport declare const safeEncode: $SafeEncode;\\nexport type $SafeDecode = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => util.SafeParseResult<core.output<T>>;\\nexport declare const _safeDecode: (_Err: $ZodErrorClass) => $SafeDecode;\\nexport declare const safeDecode: $SafeDecode;\\nexport type $SafeEncodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.output<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<util.SafeParseResult<core.input<T>>>;\\nexport declare const _safeEncodeAsync: (_Err: $ZodErrorClass) => $SafeEncodeAsync;\\nexport declare const safeEncodeAsync: $SafeEncodeAsync;\\nexport type $SafeDecodeAsync = <T extends schemas.$ZodType>(schema: T, value: core.input<T>, _ctx?: schemas.ParseContext<errors.$ZodIssue>) => Promise<util.SafeParseResult<core.output<T>>>;\\nexport declare const _safeDecodeAsync: (_Err: $ZodErrorClass) => $SafeDecodeAsync;\\nexport declare const safeDecodeAsync: $SafeDecodeAsync;\\nexport {};\\n","file:///node_modules/zod/v4/core/regexes.d.ts":"/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link cuid2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const cuid: RegExp;\\nexport declare const cuid2: RegExp;\\nexport declare const ulid: RegExp;\\nexport declare const xid: RegExp;\\nexport declare const ksuid: RegExp;\\nexport declare const nanoid: RegExp;\\nexport declare function nanoidOfLength(length: number): RegExp;\\n/** ISO 8601-1 duration regex. Does not support the 8601-2 extensions like negative durations or fractional/negative components. */\\nexport declare const duration: RegExp;\\n/** Implements ISO 8601-2 extensions like explicit +- prefixes, mixing weeks with other units, and fractional/negative components. */\\nexport declare const extendedDuration: RegExp;\\n/** A regex for any UUID-like identifier: 8-4-4-4-12 hex pattern */\\nexport declare const guid: RegExp;\\n/** Returns a regex for validating an RFC 9562/4122 UUID.\\n *\\n * @param version Optionally specify a version 1-8. If no version is specified, all versions are supported. */\\nexport declare const uuid: (version?: number | undefined) => RegExp;\\nexport declare const uuid4: RegExp;\\nexport declare const uuid6: RegExp;\\nexport declare const uuid7: RegExp;\\n/** Practical email validation */\\nexport declare const email: RegExp;\\n/** Equivalent to the HTML5 input[type=email] validation implemented by browsers. Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/email */\\nexport declare const html5Email: RegExp;\\n/** The classic emailregex.com regex for RFC 5322-compliant emails */\\nexport declare const rfc5322Email: RegExp;\\n/** A loose regex that allows Unicode characters, enforces length limits, and that\'s about it. */\\nexport declare const unicodeEmail: RegExp;\\nexport declare const idnEmail: RegExp;\\nexport declare const browserEmail: RegExp;\\nexport declare function emoji(): RegExp;\\nexport declare const ipv4: RegExp;\\nexport declare const ipv6: RegExp;\\nexport declare const mac: (delimiter?: string) => RegExp;\\nexport declare const cidrv4: RegExp;\\nexport declare const cidrv6: RegExp;\\nexport declare const base64: RegExp;\\nexport declare const base64url: RegExp;\\nexport declare const hostname: RegExp;\\nexport declare const domain: RegExp;\\nexport declare const httpProtocol: RegExp;\\nexport declare const e164: RegExp;\\nexport declare const creditCard: RegExp;\\nexport declare const currencyCode: RegExp;\\nexport declare const iban: RegExp;\\nexport declare const date: RegExp;\\nexport declare function time(args: {\\n precision?: number | null;\\n}): RegExp;\\nexport declare function datetime(args: {\\n precision?: number | null;\\n offset?: boolean;\\n local?: boolean;\\n}): RegExp;\\nexport declare const anyString: RegExp;\\nexport declare const string: (params?: {\\n minimum?: number | undefined;\\n maximum?: number | undefined;\\n}) => RegExp;\\nexport declare const bigint: RegExp;\\nexport declare const integer: RegExp;\\nexport declare const number: RegExp;\\nexport declare const boolean: RegExp;\\ndeclare const _null: RegExp;\\nexport { _null as null };\\ndeclare const _undefined: RegExp;\\nexport { _undefined as undefined };\\nexport declare const lowercase: RegExp;\\nexport declare const uppercase: RegExp;\\nexport declare const hex: RegExp;\\nexport declare const md5_hex: RegExp;\\nexport declare const md5_base64: RegExp;\\nexport declare const md5_base64url: RegExp;\\nexport declare const sha1_hex: RegExp;\\nexport declare const sha1_base64: RegExp;\\nexport declare const sha1_base64url: RegExp;\\nexport declare const sha256_hex: RegExp;\\nexport declare const sha256_base64: RegExp;\\nexport declare const sha256_base64url: RegExp;\\nexport declare const sha384_hex: RegExp;\\nexport declare const sha384_base64: RegExp;\\nexport declare const sha384_base64url: RegExp;\\nexport declare const sha512_hex: RegExp;\\nexport declare const sha512_base64: RegExp;\\nexport declare const sha512_base64url: RegExp;\\n","file:///node_modules/zod/v4/core/registries.d.ts":"import type * as core from \\"./core.js\\";\\nimport type { $ZodType } from \\"./schemas.js\\";\\nexport declare const $output: unique symbol;\\nexport type $output = typeof $output;\\nexport declare const $input: unique symbol;\\nexport type $input = typeof $input;\\nexport type $replace<Meta, S extends $ZodType> = Meta extends $output ? core.output<S> : Meta extends $input ? core.input<S> : Meta extends (infer M)[] ? $replace<M, S>[] : Meta extends (...args: infer P) => infer R ? (...args: {\\n [K in keyof P]: $replace<P[K], S>;\\n}) => $replace<R, S> : Meta extends object ? {\\n [K in keyof Meta]: $replace<Meta[K], S>;\\n} : Meta;\\ntype MetadataType = object | undefined;\\nexport declare class $ZodRegistry<Meta extends MetadataType = MetadataType, Schema extends $ZodType = $ZodType> {\\n _meta: Meta;\\n _schema: Schema;\\n _map: WeakMap<Schema, $replace<Meta, Schema>>;\\n _idmap: Map<string, Schema>;\\n add<S extends Schema>(schema: S, ..._meta: undefined extends Meta ? [$replace<Meta, S>?] : [$replace<Meta, S>]): this;\\n clear(): this;\\n remove(schema: Schema): this;\\n get<S extends Schema>(schema: S): $replace<Meta, S> | undefined;\\n has(schema: Schema): boolean;\\n}\\nexport interface JSONSchemaMeta {\\n id?: string | undefined;\\n title?: string | undefined;\\n description?: string | undefined;\\n deprecated?: boolean | undefined;\\n [k: string]: unknown;\\n}\\nexport interface GlobalMeta extends JSONSchemaMeta {\\n}\\nexport declare function registry<T extends MetadataType = MetadataType, S extends $ZodType = $ZodType>(): $ZodRegistry<T, S>;\\nexport declare const globalRegistry: $ZodRegistry<GlobalMeta>;\\nexport {};\\n","file:///node_modules/zod/v4/core/schemas.d.ts":"import * as checks from \\"./checks.js\\";\\nimport type { $ZodNumberFormats } from \\"./checks.js\\";\\nimport type { $ZodBigIntFormats } from \\"./checks.js\\";\\nimport * as core from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport type * as JSONSchema from \\"./json-schema.js\\";\\nimport type { StandardSchemaV1 } from \\"./standard-schema.js\\";\\nimport type { ProcessParams, ToJSONSchemaContext } from \\"./to-json-schema.js\\";\\nimport * as util from \\"./util.js\\";\\nimport { version } from \\"./versions.js\\";\\nexport interface ParseContext<T extends errors.$ZodIssueBase = never> {\\n /** Customize error messages. */\\n readonly error?: errors.$ZodErrorMap<T>;\\n /** Include the `input` field in issue objects. Default `false`. */\\n readonly reportInput?: boolean;\\n /** Skip eval-based fast path. Default `false`. */\\n readonly jitless?: boolean;\\n}\\n/** @internal */\\nexport interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {\\n readonly async?: boolean | undefined;\\n readonly direction?: \\"forward\\" | \\"backward\\";\\n readonly skipChecks?: boolean;\\n /** Set only by `validate`/`validateAsync`. A container may stop before its next child, never inside one, so a map entry and a tuple\'s fixed items parse whole. */\\n readonly abortEarly?: boolean;\\n}\\n/** Gives a container cycle support: `attach` wraps its parse, and `alloc` registers the object it builds into before any child is parsed so a reference back to the same input resolves to it. */\\nexport interface $ZodMemoizer {\\n attach(inst: $ZodType): void;\\n guard(inst: $ZodType): void;\\n alloc<T extends object>(inst: $ZodType, payload: ParsePayload, empty: T, ctx: ParseContextInternal): T;\\n}\\nexport interface ParsePayload<T = unknown> {\\n value: T;\\n issues: errors.$ZodRawIssue[];\\n /** A way to mark a whole payload as aborted. Used in codecs/pipes. */\\n aborted?: boolean;\\n /** @internal Set when the value came from a repeat visit to a node still being\\n * parsed. Its checks run on the node itself, against the finished value. */\\n memo?: boolean | undefined;\\n}\\nexport type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;\\nexport interface $ZodTypeDef {\\n 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\\";\\n error?: errors.$ZodErrorMap<never> | undefined;\\n checks?: checks.$ZodCheck<never>[];\\n}\\nexport interface _$ZodTypeInternals {\\n /** The `@zod/core` version of this schema */\\n version: typeof version;\\n /** Schema definition. */\\n def: $ZodTypeDef;\\n /** @internal Randomly generated ID for this schema. */\\n /** @internal List of deferred initializers. */\\n deferred: util.AnyFunc[] | undefined;\\n /** @internal Parses input and runs all checks (refinements). */\\n run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\\n /** @internal Parses input, doesn\'t run checks. */\\n parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;\\n /** @internal Stores identifiers for the set of traits implemented by this schema. */\\n traits: Set<string>;\\n /** @internal Indicates that a schema output type should be considered optional inside objects.\\n * @default Required\\n */\\n /** @internal Three rungs, each strictly stronger than the last:\\n * undefined — required; the container may not omit this slot\\n * \\"optional\\" — the container may omit it; nothing is supplied in its place\\n * \\"defaulted\\" — the container may omit it AND this schema substitutes a value\\n * Consumers asking \\"may the slot be absent?\\" test `!== undefined`.\\n * $ZodOptional asks the stronger question and tests `=== \\"defaulted\\"`. */\\n optin?: \\"optional\\" | \\"defaulted\\" | undefined;\\n /** @internal */\\n optout?: \\"optional\\" | undefined;\\n /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().\\n *\\n * Defined on: enum, const, literal, null, undefined\\n * Passthrough: optional, nullable, branded, default, catch, pipe\\n * Todo: unions?\\n */\\n values?: util.PrimitiveSet | undefined;\\n /** Default value bubbled up from */\\n /** @internal A set of literal discriminators used for the fast path in discriminated unions. */\\n propValues?: util.PropValues | undefined;\\n /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */\\n pattern: RegExp | undefined;\\n /** @internal The constructor function of this schema. */\\n constr: new (def: any) => $ZodType;\\n /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */\\n bag: Record<string, unknown>;\\n /** @internal The set of issues this schema might throw during type checking. */\\n isst: errors.$ZodIssueBase;\\n /** @internal Subject to change, not a public API. */\\n processJSONSchema?: ((ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void) | undefined;\\n /** An optional method used to override `toJSONSchema` logic. */\\n toJSONSchema?: () => unknown;\\n /** @internal The parent of this schema. Only set during certain clone operations. */\\n parent?: $ZodType | undefined;\\n}\\n/** @internal */\\nexport interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {\\n /** @internal The inferred output type */\\n output: O;\\n /** @internal The inferred input type */\\n input: I;\\n}\\nexport type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;\\nexport type SomeType = {\\n _zod: _$ZodTypeInternals;\\n};\\nexport interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {\\n _zod: Internals;\\n \\"~standard\\": $ZodStandardSchema<this>;\\n}\\nexport interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T[\\"output\\"], T[\\"input\\"], T> {\\n}\\nexport declare const $ZodType: core.$constructor<$ZodType>;\\nexport declare function standardProps(inst: $ZodType): StandardSchemaV1.Props<any, any>;\\nexport { clone } from \\"./util.js\\";\\nexport interface $ZodStringDef extends $ZodTypeDef {\\n type: \\"string\\";\\n coerce?: boolean;\\n checks?: checks.$ZodCheck<string>[];\\n}\\nexport interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {\\n def: $ZodStringDef;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n pattern: RegExp;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: number;\\n maximum: number;\\n patterns: Set<RegExp>;\\n format: string;\\n contentEncoding: string;\\n /** the pattern admits strings its `format` keyword forbids, so `toJSONSchema` must not emit it */\\n laxFormat: boolean;\\n }>;\\n}\\nexport interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {\\n}\\nexport declare const $ZodString: core.$constructor<$ZodString>;\\nexport interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, checks.$ZodCheckStringFormatDef<Format> {\\n}\\nexport interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, checks.$ZodCheckStringFormatInternals {\\n def: $ZodStringFormatDef<Format>;\\n}\\nexport interface $ZodStringFormat<Format extends string = string> extends $ZodType {\\n _zod: $ZodStringFormatInternals<Format>;\\n}\\nexport declare const $ZodStringFormat: core.$constructor<$ZodStringFormat>;\\nexport interface $ZodGUIDDef extends $ZodStringFormatDef<\\"guid\\"> {\\n}\\nexport interface $ZodGUIDInternals extends $ZodStringFormatInternals<\\"guid\\"> {\\n}\\nexport interface $ZodGUID extends $ZodType {\\n _zod: $ZodGUIDInternals;\\n}\\nexport declare const $ZodGUID: core.$constructor<$ZodGUID>;\\nexport interface $ZodUUIDDef extends $ZodStringFormatDef<\\"uuid\\"> {\\n version?: \\"v1\\" | \\"v2\\" | \\"v3\\" | \\"v4\\" | \\"v5\\" | \\"v6\\" | \\"v7\\" | \\"v8\\";\\n}\\nexport interface $ZodUUIDInternals extends $ZodStringFormatInternals<\\"uuid\\"> {\\n def: $ZodUUIDDef;\\n}\\nexport interface $ZodUUID extends $ZodType {\\n _zod: $ZodUUIDInternals;\\n}\\nexport declare const $ZodUUID: core.$constructor<$ZodUUID>;\\nexport interface $ZodEmailDef extends $ZodStringFormatDef<\\"email\\"> {\\n}\\nexport interface $ZodEmailInternals extends $ZodStringFormatInternals<\\"email\\"> {\\n}\\nexport interface $ZodEmail extends $ZodType {\\n _zod: $ZodEmailInternals;\\n}\\nexport declare const $ZodEmail: core.$constructor<$ZodEmail>;\\nexport interface $ZodURLDef extends $ZodStringFormatDef<\\"url\\"> {\\n hostname?: RegExp | undefined;\\n protocol?: RegExp | undefined;\\n normalize?: boolean | undefined;\\n}\\nexport interface $ZodURLInternals extends $ZodStringFormatInternals<\\"url\\"> {\\n def: $ZodURLDef;\\n}\\nexport interface $ZodURL extends $ZodType {\\n _zod: $ZodURLInternals;\\n}\\n/** The `://` guard rejected the input before the URL constructor saw it. */\\nexport declare const URL_BAD_FORMAT = 1;\\n/** The URL parser rejected the input. */\\nexport declare const URL_UNPARSEABLE = 2;\\nexport declare function canParseURL(input: string): boolean;\\nexport declare function validateURL(trimmed: string, def: Pick<$ZodURLDef, \\"protocol\\" | \\"hostname\\" | \\"normalize\\">): URL | true | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;\\n/** Parses a URL while preserving the non-normalizing HTTP guard. */\\nexport declare function parseURLObject(trimmed: string, def: Pick<$ZodURLDef, \\"protocol\\" | \\"normalize\\">): URL | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;\\n/** The URL parser deletes every ASCII tab, LF and CR from its input before it parses, so `new URL(\\"https://exa\\\\nmple.com\\")` reports on `example.com`. Applying the same deletion to the returned value closes the half of that divergence which can move the host; the parser\'s other rewrite, stripping C0 controls at the edges, cannot. */\\nexport declare function stripTabAndNewline(value: string): string;\\nexport declare function urlHostnameOk(url: URL, hostname: RegExp): boolean;\\nexport declare function urlProtocolOk(url: URL, protocol: RegExp): boolean;\\nexport declare const $ZodURL: core.$constructor<$ZodURL>;\\nexport interface $ZodEmojiDef extends $ZodStringFormatDef<\\"emoji\\"> {\\n}\\nexport interface $ZodEmojiInternals extends $ZodStringFormatInternals<\\"emoji\\"> {\\n}\\nexport interface $ZodEmoji extends $ZodType {\\n _zod: $ZodEmojiInternals;\\n}\\nexport declare const $ZodEmoji: core.$constructor<$ZodEmoji>;\\nexport interface $ZodNanoIDDef extends $ZodStringFormatDef<\\"nanoid\\"> {\\n length?: number | undefined;\\n}\\nexport interface $ZodNanoIDInternals extends $ZodStringFormatInternals<\\"nanoid\\"> {\\n def: $ZodNanoIDDef;\\n}\\nexport interface $ZodNanoID extends $ZodType {\\n _zod: $ZodNanoIDInternals;\\n}\\nexport declare const $ZodNanoID: core.$constructor<$ZodNanoID>;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface $ZodCUIDDef extends $ZodStringFormatDef<\\"cuid\\"> {\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface $ZodCUIDInternals extends $ZodStringFormatInternals<\\"cuid\\"> {\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface $ZodCUID extends $ZodType {\\n _zod: $ZodCUIDInternals;\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const $ZodCUID: core.$constructor<$ZodCUID>;\\nexport interface $ZodCUID2Def extends $ZodStringFormatDef<\\"cuid2\\"> {\\n}\\nexport interface $ZodCUID2Internals extends $ZodStringFormatInternals<\\"cuid2\\"> {\\n}\\nexport interface $ZodCUID2 extends $ZodType {\\n _zod: $ZodCUID2Internals;\\n}\\nexport declare const $ZodCUID2: core.$constructor<$ZodCUID2>;\\nexport interface $ZodULIDDef extends $ZodStringFormatDef<\\"ulid\\"> {\\n}\\nexport interface $ZodULIDInternals extends $ZodStringFormatInternals<\\"ulid\\"> {\\n}\\nexport interface $ZodULID extends $ZodType {\\n _zod: $ZodULIDInternals;\\n}\\nexport declare const $ZodULID: core.$constructor<$ZodULID>;\\nexport interface $ZodXIDDef extends $ZodStringFormatDef<\\"xid\\"> {\\n}\\nexport interface $ZodXIDInternals extends $ZodStringFormatInternals<\\"xid\\"> {\\n}\\nexport interface $ZodXID extends $ZodType {\\n _zod: $ZodXIDInternals;\\n}\\nexport declare const $ZodXID: core.$constructor<$ZodXID>;\\nexport interface $ZodKSUIDDef extends $ZodStringFormatDef<\\"ksuid\\"> {\\n}\\nexport interface $ZodKSUIDInternals extends $ZodStringFormatInternals<\\"ksuid\\"> {\\n}\\nexport interface $ZodKSUID extends $ZodType {\\n _zod: $ZodKSUIDInternals;\\n}\\nexport declare const $ZodKSUID: core.$constructor<$ZodKSUID>;\\nexport interface $ZodISODateTimeDef extends $ZodStringFormatDef<\\"datetime\\"> {\\n precision: number | null;\\n offset: boolean;\\n local: boolean;\\n}\\nexport interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {\\n def: $ZodISODateTimeDef;\\n}\\nexport interface $ZodISODateTime extends $ZodType {\\n _zod: $ZodISODateTimeInternals;\\n}\\nexport declare const $ZodISODateTime: core.$constructor<$ZodISODateTime>;\\nexport interface $ZodISODateDef extends $ZodStringFormatDef<\\"date\\"> {\\n}\\nexport interface $ZodISODateInternals extends $ZodStringFormatInternals<\\"date\\"> {\\n}\\nexport interface $ZodISODate extends $ZodType {\\n _zod: $ZodISODateInternals;\\n}\\nexport declare const $ZodISODate: core.$constructor<$ZodISODate>;\\nexport interface $ZodISOTimeDef extends $ZodStringFormatDef<\\"time\\"> {\\n precision?: number | null;\\n}\\nexport interface $ZodISOTimeInternals extends $ZodStringFormatInternals<\\"time\\"> {\\n def: $ZodISOTimeDef;\\n}\\nexport interface $ZodISOTime extends $ZodType {\\n _zod: $ZodISOTimeInternals;\\n}\\nexport declare const $ZodISOTime: core.$constructor<$ZodISOTime>;\\nexport interface $ZodISODurationDef extends $ZodStringFormatDef<\\"duration\\"> {\\n}\\nexport interface $ZodISODurationInternals extends $ZodStringFormatInternals<\\"duration\\"> {\\n}\\nexport interface $ZodISODuration extends $ZodType {\\n _zod: $ZodISODurationInternals;\\n}\\nexport declare const $ZodISODuration: core.$constructor<$ZodISODuration>;\\nexport interface $ZodIPv4Def extends $ZodStringFormatDef<\\"ipv4\\"> {\\n version?: \\"v4\\";\\n}\\nexport interface $ZodIPv4Internals extends $ZodStringFormatInternals<\\"ipv4\\"> {\\n def: $ZodIPv4Def;\\n}\\nexport interface $ZodIPv4 extends $ZodType {\\n _zod: $ZodIPv4Internals;\\n}\\nexport declare const $ZodIPv4: core.$constructor<$ZodIPv4>;\\nexport interface $ZodIPv6Def extends $ZodStringFormatDef<\\"ipv6\\"> {\\n version?: \\"v6\\";\\n}\\nexport interface $ZodIPv6Internals extends $ZodStringFormatInternals<\\"ipv6\\"> {\\n def: $ZodIPv6Def;\\n}\\nexport interface $ZodIPv6 extends $ZodType {\\n _zod: $ZodIPv6Internals;\\n}\\nexport declare function isValidIPv6(value: string): boolean;\\nexport declare const $ZodIPv6: core.$constructor<$ZodIPv6>;\\nexport interface $ZodMACDef extends $ZodStringFormatDef<\\"mac\\"> {\\n delimiter?: string;\\n}\\nexport interface $ZodMACInternals extends $ZodStringFormatInternals<\\"mac\\"> {\\n def: $ZodMACDef;\\n}\\nexport interface $ZodMAC extends $ZodType {\\n _zod: $ZodMACInternals;\\n}\\nexport declare const $ZodMAC: core.$constructor<$ZodMAC>;\\nexport interface $ZodCIDRv4Def extends $ZodStringFormatDef<\\"cidrv4\\"> {\\n version?: \\"v4\\";\\n}\\nexport interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<\\"cidrv4\\"> {\\n def: $ZodCIDRv4Def;\\n}\\nexport interface $ZodCIDRv4 extends $ZodType {\\n _zod: $ZodCIDRv4Internals;\\n}\\nexport declare const $ZodCIDRv4: core.$constructor<$ZodCIDRv4>;\\nexport interface $ZodCIDRv6Def extends $ZodStringFormatDef<\\"cidrv6\\"> {\\n version?: \\"v6\\";\\n}\\nexport interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<\\"cidrv6\\"> {\\n def: $ZodCIDRv6Def;\\n}\\nexport interface $ZodCIDRv6 extends $ZodType {\\n _zod: $ZodCIDRv6Internals;\\n}\\nexport declare function isValidCIDRv6(value: string): boolean;\\nexport declare const $ZodCIDRv6: core.$constructor<$ZodCIDRv6>;\\nexport declare function isValidBase64(data: string): boolean;\\nexport interface $ZodBase64Def extends $ZodStringFormatDef<\\"base64\\"> {\\n}\\nexport interface $ZodBase64Internals extends $ZodStringFormatInternals<\\"base64\\"> {\\n}\\nexport interface $ZodBase64 extends $ZodType {\\n _zod: $ZodBase64Internals;\\n}\\nexport declare const base64Charset: RegExp;\\nexport declare const $ZodBase64: core.$constructor<$ZodBase64>;\\nexport declare const base64urlCharset: RegExp;\\nexport declare function isValidBase64URL(data: string): boolean;\\nexport interface $ZodBase64URLDef extends $ZodStringFormatDef<\\"base64url\\"> {\\n}\\nexport interface $ZodBase64URLInternals extends $ZodStringFormatInternals<\\"base64url\\"> {\\n}\\nexport interface $ZodBase64URL extends $ZodType {\\n _zod: $ZodBase64URLInternals;\\n}\\nexport declare const $ZodBase64URL: core.$constructor<$ZodBase64URL>;\\nexport interface $ZodE164Def extends $ZodStringFormatDef<\\"e164\\"> {\\n}\\nexport interface $ZodE164Internals extends $ZodStringFormatInternals<\\"e164\\"> {\\n}\\nexport interface $ZodE164 extends $ZodType {\\n _zod: $ZodE164Internals;\\n}\\nexport declare const $ZodE164: core.$constructor<$ZodE164>;\\nexport declare function isValidCreditCard(input: string): boolean;\\nexport interface $ZodCreditCardDef extends $ZodStringFormatDef<\\"credit_card\\"> {\\n}\\nexport interface $ZodCreditCardInternals extends $ZodStringFormatInternals<\\"credit_card\\"> {\\n def: $ZodCreditCardDef;\\n}\\nexport interface $ZodCreditCard extends $ZodType {\\n _zod: $ZodCreditCardInternals;\\n}\\nexport declare const $ZodCreditCard: core.$constructor<$ZodCreditCard>;\\nexport declare function isValidIBAN(input: string): boolean;\\nexport interface $ZodIBANDef extends $ZodStringFormatDef<\\"iban\\"> {\\n}\\nexport interface $ZodIBANInternals extends $ZodStringFormatInternals<\\"iban\\"> {\\n def: $ZodIBANDef;\\n}\\nexport interface $ZodIBAN extends $ZodType {\\n _zod: $ZodIBANInternals;\\n}\\nexport declare const $ZodIBAN: core.$constructor<$ZodIBAN>;\\nexport declare function isValidJWT(token: string, algorithm?: util.JWTAlgorithm | null): boolean;\\nexport interface $ZodJWTDef extends $ZodStringFormatDef<\\"jwt\\"> {\\n alg?: util.JWTAlgorithm | undefined;\\n}\\nexport interface $ZodJWTInternals extends $ZodStringFormatInternals<\\"jwt\\"> {\\n def: $ZodJWTDef;\\n}\\nexport interface $ZodJWT extends $ZodType {\\n _zod: $ZodJWTInternals;\\n}\\nexport declare const $ZodJWT: core.$constructor<$ZodJWT>;\\nexport interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {\\n fn: (val: string) => unknown;\\n}\\nexport interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {\\n def: $ZodCustomStringFormatDef<Format>;\\n}\\nexport interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {\\n _zod: $ZodCustomStringFormatInternals<Format>;\\n}\\nexport declare const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat>;\\nexport interface $ZodNumberDef extends $ZodTypeDef {\\n type: \\"number\\";\\n coerce?: boolean;\\n}\\nexport interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {\\n def: $ZodNumberDef;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n pattern: RegExp;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: number;\\n maximum: number;\\n exclusiveMinimum: number;\\n exclusiveMaximum: number;\\n format: string;\\n pattern: RegExp;\\n }>;\\n}\\nexport interface $ZodNumber<Input = unknown> extends $ZodType {\\n _zod: $ZodNumberInternals<Input>;\\n}\\nexport declare const $ZodNumber: core.$constructor<$ZodNumber>;\\nexport interface $ZodNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef<Format> {\\n}\\nexport interface $ZodNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals<Format> {\\n def: $ZodNumberFormatDef<Format>;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodType {\\n _zod: $ZodNumberFormatInternals<Format>;\\n}\\nexport declare const $ZodNumberFormat: core.$constructor<$ZodNumberFormat>;\\nexport interface $ZodBooleanDef extends $ZodTypeDef {\\n type: \\"boolean\\";\\n coerce?: boolean;\\n checks?: checks.$ZodCheck<boolean>[];\\n}\\nexport interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {\\n pattern: RegExp;\\n def: $ZodBooleanDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodBoolean<T = unknown> extends $ZodType {\\n _zod: $ZodBooleanInternals<T>;\\n}\\nexport declare const $ZodBoolean: core.$constructor<$ZodBoolean>;\\nexport interface $ZodBigIntDef extends $ZodTypeDef {\\n type: \\"bigint\\";\\n coerce?: boolean;\\n}\\nexport interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {\\n pattern: RegExp;\\n /** @internal Internal API, use with caution */\\n def: $ZodBigIntDef;\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: bigint;\\n maximum: bigint;\\n format: string;\\n }>;\\n}\\nexport interface $ZodBigInt<T = unknown> extends $ZodType {\\n _zod: $ZodBigIntInternals<T>;\\n}\\nexport declare const $ZodBigInt: core.$constructor<$ZodBigInt>;\\nexport interface $ZodBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef<Format> {\\n check: \\"bigint_format\\";\\n}\\nexport interface $ZodBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals<Format> {\\n def: $ZodBigIntFormatDef<Format>;\\n}\\nexport interface $ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodType {\\n _zod: $ZodBigIntFormatInternals<Format>;\\n}\\nexport declare const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat>;\\nexport interface $ZodSymbolDef extends $ZodTypeDef {\\n type: \\"symbol\\";\\n}\\nexport interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {\\n def: $ZodSymbolDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodSymbol extends $ZodType {\\n _zod: $ZodSymbolInternals;\\n}\\nexport declare const $ZodSymbol: core.$constructor<$ZodSymbol>;\\nexport interface $ZodUndefinedDef extends $ZodTypeDef {\\n type: \\"undefined\\";\\n}\\nexport interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {\\n pattern: RegExp;\\n def: $ZodUndefinedDef;\\n values: util.PrimitiveSet;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodUndefined extends $ZodType {\\n _zod: $ZodUndefinedInternals;\\n}\\nexport declare const $ZodUndefined: core.$constructor<$ZodUndefined>;\\nexport interface $ZodNullDef extends $ZodTypeDef {\\n type: \\"null\\";\\n}\\nexport interface $ZodNullInternals extends $ZodTypeInternals<null, null> {\\n pattern: RegExp;\\n def: $ZodNullDef;\\n values: util.PrimitiveSet;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNull extends $ZodType {\\n _zod: $ZodNullInternals;\\n}\\nexport declare const $ZodNull: core.$constructor<$ZodNull>;\\nexport interface $ZodAnyDef extends $ZodTypeDef {\\n type: \\"any\\";\\n}\\nexport interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {\\n def: $ZodAnyDef;\\n isst: never;\\n}\\nexport interface $ZodAny extends $ZodType {\\n _zod: $ZodAnyInternals;\\n}\\nexport declare const $ZodAny: core.$constructor<$ZodAny>;\\nexport interface $ZodUnknownDef extends $ZodTypeDef {\\n type: \\"unknown\\";\\n}\\nexport interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {\\n def: $ZodUnknownDef;\\n isst: never;\\n}\\nexport interface $ZodUnknown extends $ZodType {\\n _zod: $ZodUnknownInternals;\\n}\\nexport declare const $ZodUnknown: core.$constructor<$ZodUnknown>;\\nexport interface $ZodNeverDef extends $ZodTypeDef {\\n type: \\"never\\";\\n}\\nexport interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {\\n def: $ZodNeverDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNever extends $ZodType {\\n _zod: $ZodNeverInternals;\\n}\\nexport declare const $ZodNever: core.$constructor<$ZodNever>;\\nexport interface $ZodVoidDef extends $ZodTypeDef {\\n type: \\"void\\";\\n}\\nexport interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {\\n def: $ZodVoidDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodVoid extends $ZodType {\\n _zod: $ZodVoidInternals;\\n}\\nexport declare const $ZodVoid: core.$constructor<$ZodVoid>;\\nexport interface $ZodDateDef extends $ZodTypeDef {\\n type: \\"date\\";\\n coerce?: boolean;\\n}\\nexport interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {\\n def: $ZodDateDef;\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: Date;\\n maximum: Date;\\n format: string;\\n }>;\\n}\\nexport interface $ZodDate<T = unknown> extends $ZodType {\\n _zod: $ZodDateInternals<T>;\\n}\\nexport declare const $ZodDate: core.$constructor<$ZodDate>;\\nexport interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"array\\";\\n element: T;\\n}\\nexport interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {\\n def: $ZodArrayDef<T>;\\n isst: errors.$ZodIssueInvalidType;\\n output: core.output<T>[];\\n input: core.input<T>[];\\n}\\nexport interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {\\n}\\nexport declare const $ZodArray: core.$constructor<$ZodArray>;\\ntype OptionalOutSchema = {\\n _zod: {\\n optout: \\"optional\\";\\n };\\n};\\ntype OptionalInSchema = {\\n _zod: {\\n optin: \\"optional\\" | \\"defaulted\\";\\n };\\n};\\nexport type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : {\\n [k in string]: core.output<T[keyof T]>;\\n} : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k][\\"_zod\\"][\\"output\\"];\\n} & {\\n -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k][\\"_zod\\"][\\"output\\"];\\n} & Extra>;\\nexport type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : {\\n [k in string]: core.input<T[keyof T]>;\\n} : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{\\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k][\\"_zod\\"][\\"input\\"];\\n} & {\\n -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k][\\"_zod\\"][\\"input\\"];\\n} & Extra>;\\nexport type $ZodObjectConfig = {\\n out: Record<string, unknown>;\\n in: Record<string, unknown>;\\n};\\nexport type $loose = {\\n out: Record<string, unknown>;\\n in: Record<string, unknown>;\\n};\\nexport type $strict = {\\n out: {};\\n in: {};\\n};\\nexport type $strip = {\\n out: {};\\n in: {};\\n};\\nexport type $catchall<T extends SomeType> = {\\n out: {\\n [k: string]: core.output<T>;\\n };\\n in: {\\n [k: string]: core.input<T>;\\n };\\n};\\nexport type $ZodShape = Readonly<{\\n [k: string]: $ZodType;\\n}>;\\nexport interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {\\n type: \\"object\\";\\n shape: Shape;\\n catchall?: $ZodType | undefined;\\n}\\nexport interface $ZodObjectInternals<\\n/** @ts-ignore Cast variance */\\nout Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {\\n def: $ZodObjectDef<Shape>;\\n config: Config;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;\\n propValues: util.PropValues;\\n output: $InferObjectOutput<Shape, Config[\\"out\\"]>;\\n input: $InferObjectInput<Shape, Config[\\"in\\"]>;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport type $ZodLooseShape = Record<string, any>;\\nexport interface $ZodObject<\\n/** @ts-ignore Cast variance */\\nout Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {\\n}\\nexport declare const $ZodObject: core.$constructor<$ZodObject>;\\nexport declare const $ZodObjectJIT: core.$constructor<$ZodObject>;\\nexport type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;\\nexport type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;\\nexport interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {\\n type: \\"union\\";\\n options: Options;\\n inclusive?: boolean;\\n}\\ntype IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;\\ntype IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;\\nexport interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {\\n def: $ZodUnionDef<T>;\\n isst: errors.$ZodIssueInvalidUnion;\\n pattern: T[number][\\"_zod\\"][\\"pattern\\"];\\n values: T[number][\\"_zod\\"][\\"values\\"];\\n output: $InferUnionOutput<T[number]>;\\n input: $InferUnionInput<T[number]>;\\n optin: IsOptionalIn<T[number]> extends false ? \\"optional\\" | \\"defaulted\\" | undefined : \\"optional\\" | \\"defaulted\\";\\n optout: IsOptionalOut<T[number]> extends false ? \\"optional\\" | undefined : \\"optional\\";\\n}\\nexport interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {\\n _zod: $ZodUnionInternals<T>;\\n}\\nexport declare const $ZodUnion: core.$constructor<$ZodUnion>;\\nexport interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {\\n}\\nexport interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {\\n _zod: $ZodXorInternals<T>;\\n}\\nexport declare const $ZodXor: core.$constructor<$ZodXor>;\\nexport interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {\\n discriminator: Disc;\\n unionFallback?: boolean;\\n}\\nexport interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {\\n def: $ZodDiscriminatedUnionDef<Options, Disc>;\\n propValues: util.PropValues;\\n bag: util.LoosePartial<{\\n optionsMap: Map<util.Primitive, $ZodType | null>;\\n }>;\\n}\\n/** The discriminator values a member of `Options` can declare. An omittable discriminator contributes `undefined`, matching what `propValues` claims for it. */\\nexport type $DiscriminatorValue<Options extends readonly SomeType[], Disc extends string> = {\\n [I in keyof Options]: Options[I] extends {\\n _zod: {\\n output: infer Out;\\n };\\n } ? Disc extends keyof Out ? Out[Disc] : never : never;\\n}[number];\\n/** The member of `Options` that declares `V`. */\\nexport type $DiscriminatedOption<Options extends readonly SomeType[], Disc extends string, V> = {\\n [I in keyof Options]: Options[I] extends {\\n _zod: {\\n output: infer Out;\\n };\\n } ? Disc extends keyof Out ? V extends Out[Disc] ? Options[I] : never : never : never;\\n}[number];\\n/** Returns the option whose discriminator claims `value`, or throws if ambiguous. */\\nexport declare function getDiscriminatedOption<Options extends readonly SomeType[], Disc extends string, const V extends $DiscriminatorValue<Options, Disc>>(union: $ZodDiscriminatedUnion<Options, Disc>, value: V): $DiscriminatedOption<Options, Disc, V>;\\nexport interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {\\n _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;\\n}\\nexport declare const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion>;\\nexport interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"intersection\\";\\n left: Left;\\n right: Right;\\n}\\nexport interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {\\n def: $ZodIntersectionDef<A, B>;\\n isst: never;\\n optin: A[\\"_zod\\"][\\"optin\\"] | B[\\"_zod\\"][\\"optin\\"];\\n optout: A[\\"_zod\\"][\\"optout\\"] | B[\\"_zod\\"][\\"optout\\"];\\n output: core.output<A> & core.output<B>;\\n input: core.input<A> & core.input<B>;\\n}\\nexport interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodIntersectionInternals<A, B>;\\n}\\nexport declare const $ZodIntersection: core.$constructor<$ZodIntersection>;\\nexport declare function mergeValues(a: any, b: any): {\\n valid: true;\\n data: any;\\n} | {\\n valid: false;\\n mergeErrorPath: (string | number)[];\\n};\\nexport interface $ZodTupleDef<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {\\n type: \\"tuple\\";\\n items: T;\\n rest: Rest;\\n}\\nexport type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [\\n ...TupleInputTypeWithOptionals<T>,\\n ...(Rest extends SomeType ? core.input<Rest>[] : [])\\n];\\ntype TupleInputTypeNoOptionals<T extends util.TupleItems> = {\\n [k in keyof T]: core.input<T[k]>;\\n};\\ntype TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\\n ...infer Prefix extends SomeType[],\\n infer Tail extends SomeType\\n] ? Tail[\\"_zod\\"][\\"optin\\"] extends \\"optional\\" | \\"defaulted\\" ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?] : TupleInputTypeNoOptionals<T> : [];\\nexport type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [\\n ...TupleOutputTypeWithOptionals<T>,\\n ...(Rest extends SomeType ? core.output<Rest>[] : [])\\n];\\ntype TupleOutputTypeNoOptionals<T extends util.TupleItems> = {\\n [k in keyof T]: core.output<T[k]>;\\n};\\ntype TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [\\n ...infer Prefix extends SomeType[],\\n infer Tail extends SomeType\\n] ? Tail[\\"_zod\\"][\\"optout\\"] extends \\"optional\\" ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];\\nexport interface $ZodTupleInternals<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {\\n def: $ZodTupleDef<T, Rest>;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;\\n output: $InferTupleOutputType<T, Rest>;\\n input: $InferTupleInputType<T, Rest>;\\n}\\nexport interface $ZodTuple<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {\\n _zod: $ZodTupleInternals<T, Rest>;\\n}\\nexport declare const $ZodTuple: core.$constructor<$ZodTuple>;\\nexport type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;\\nexport interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"record\\";\\n keyType: Key;\\n valueType: Value;\\n /** @default \\"strict\\" - errors on keys not matching keyType. \\"loose\\" passes through non-matching keys unchanged. */\\n mode?: \\"strict\\" | \\"loose\\";\\n partial?: boolean;\\n}\\nexport 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>>;\\nexport type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>> : [\\n Value\\n] extends [OptionalInSchema] ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>> : Record<core.input<Key> & PropertyKey, core.input<Value>>;\\nexport interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals {\\n def: $ZodRecordDef<Key, Value>;\\n output: $InferZodRecordOutput<Key, Value>;\\n input: $InferZodRecordInput<Key, Value>;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport type $partial = {\\n \\"~~partial\\": true;\\n};\\nexport interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodRecordInternals<Key, Value>;\\n}\\nexport declare const $ZodRecord: core.$constructor<$ZodRecord>;\\nexport interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"map\\";\\n keyType: Key;\\n valueType: Value;\\n}\\nexport 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>>> {\\n def: $ZodMapDef<Key, Value>;\\n isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodMapInternals<Key, Value>;\\n}\\nexport declare const $ZodMap: core.$constructor<$ZodMap>;\\nexport interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"set\\";\\n valueType: T;\\n}\\nexport interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {\\n def: $ZodSetDef<T>;\\n isst: errors.$ZodIssueInvalidType;\\n optin?: \\"optional\\" | undefined;\\n optout?: \\"optional\\" | undefined;\\n}\\nexport interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodSetInternals<T>;\\n}\\nexport declare const $ZodSet: core.$constructor<$ZodSet>;\\nexport type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};\\nexport type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};\\nexport interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {\\n type: \\"enum\\";\\n entries: T;\\n}\\nexport interface $ZodEnumInternals<\\n/** @ts-ignore Cast variance */\\nout T extends util.EnumLike = util.EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {\\n def: $ZodEnumDef<T>;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n values: util.PrimitiveSet;\\n /** @deprecated Internal API, use with caution (not deprecated) */\\n pattern: RegExp;\\n isst: errors.$ZodIssueInvalidValue;\\n}\\nexport interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {\\n _zod: $ZodEnumInternals<T>;\\n}\\nexport declare const $ZodEnum: core.$constructor<$ZodEnum>;\\nexport interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {\\n type: \\"literal\\";\\n values: T[];\\n}\\nexport interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {\\n def: $ZodLiteralDef<T>;\\n values: Set<T>;\\n pattern: RegExp;\\n isst: errors.$ZodIssueInvalidValue;\\n}\\nexport interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {\\n _zod: $ZodLiteralInternals<T>;\\n}\\nexport declare const $ZodLiteral: core.$constructor<$ZodLiteral>;\\ntype _File = typeof globalThis extends {\\n File: infer F extends new (...args: any[]) => any;\\n} ? InstanceType<F> : {};\\n/** Do not reference this directly. */\\nexport interface File extends _File {\\n readonly type: string;\\n readonly size: number;\\n}\\nexport interface $ZodFileDef extends $ZodTypeDef {\\n type: \\"file\\";\\n}\\nexport interface $ZodFileInternals extends $ZodTypeInternals<File, File> {\\n def: $ZodFileDef;\\n isst: errors.$ZodIssueInvalidType;\\n bag: util.LoosePartial<{\\n minimum: number;\\n maximum: number;\\n mime: util.MimeTypes[];\\n }>;\\n}\\nexport interface $ZodFile extends $ZodType {\\n _zod: $ZodFileInternals;\\n}\\nexport declare const $ZodFile: core.$constructor<$ZodFile>;\\nexport interface $ZodTransformDef extends $ZodTypeDef {\\n type: \\"transform\\";\\n transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;\\n}\\nexport interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {\\n def: $ZodTransformDef;\\n isst: never;\\n}\\nexport interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {\\n _zod: $ZodTransformInternals<O, I>;\\n}\\nexport declare const $ZodTransform: core.$constructor<$ZodTransform>;\\nexport interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"optional\\";\\n innerType: T;\\n}\\nexport interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {\\n def: $ZodOptionalDef<T>;\\n optin: \\"optional\\" | \\"defaulted\\";\\n optout: \\"optional\\";\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n pattern: T[\\"_zod\\"][\\"pattern\\"];\\n}\\nexport interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodOptionalInternals<T>;\\n}\\nexport declare const $ZodOptional: core.$constructor<$ZodOptional>;\\nexport interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {\\n}\\nexport interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {\\n def: $ZodExactOptionalDef<T>;\\n output: core.output<T>;\\n input: core.input<T>;\\n}\\nexport interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodExactOptionalInternals<T>;\\n}\\nexport declare const $ZodExactOptional: core.$constructor<$ZodExactOptional>;\\nexport interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"nullable\\";\\n innerType: T;\\n}\\nexport interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {\\n def: $ZodNullableDef<T>;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n pattern: T[\\"_zod\\"][\\"pattern\\"];\\n}\\nexport interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodNullableInternals<T>;\\n}\\nexport declare const $ZodNullable: core.$constructor<$ZodNullable>;\\nexport interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"default\\";\\n innerType: T;\\n /** The default value. May be a getter. */\\n defaultValue: util.NoUndefined<core.output<T>>;\\n}\\nexport interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {\\n def: $ZodDefaultDef<T>;\\n optin: \\"defaulted\\";\\n optout?: \\"optional\\" | undefined;\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodDefaultInternals<T>;\\n}\\nexport declare const $ZodDefault: core.$constructor<$ZodDefault>;\\nexport interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"prefault\\";\\n innerType: T;\\n /** The default value. May be a getter. */\\n defaultValue: core.input<T>;\\n}\\nexport interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T> | undefined> {\\n def: $ZodPrefaultDef<T>;\\n optin: \\"defaulted\\";\\n optout?: \\"optional\\" | undefined;\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodPrefaultInternals<T>;\\n}\\nexport declare const $ZodPrefault: core.$constructor<$ZodPrefault>;\\nexport interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"nonoptional\\";\\n innerType: T;\\n}\\nexport interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {\\n def: $ZodNonOptionalDef<T>;\\n isst: errors.$ZodIssueInvalidType;\\n values: T[\\"_zod\\"][\\"values\\"];\\n optin: \\"optional\\" | undefined;\\n optout: \\"optional\\" | undefined;\\n}\\nexport interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodNonOptionalInternals<T>;\\n}\\nexport declare const $ZodNonOptional: core.$constructor<$ZodNonOptional>;\\nexport interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"success\\";\\n innerType: T;\\n}\\nexport interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {\\n def: $ZodSuccessDef<T>;\\n isst: never;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: \\"optional\\" | undefined;\\n}\\nexport interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodSuccessInternals<T>;\\n}\\nexport declare const $ZodSuccess: core.$constructor<$ZodSuccess>;\\nexport interface $ZodCatchCtx extends ParsePayload {\\n /** @deprecated Use `ctx.issues` */\\n error: {\\n issues: errors.$ZodIssue[];\\n };\\n /** @deprecated Use `ctx.value` */\\n input: unknown;\\n}\\nexport interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"catch\\";\\n innerType: T;\\n catchValue: (ctx: $ZodCatchCtx) => unknown;\\n}\\nexport interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\\n def: $ZodCatchDef<T>;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n isst: never;\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodCatchInternals<T>;\\n}\\nexport declare const $ZodCatch: core.$constructor<$ZodCatch>;\\nexport interface $ZodNaNDef extends $ZodTypeDef {\\n type: \\"nan\\";\\n}\\nexport interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {\\n def: $ZodNaNDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodNaN extends $ZodType {\\n _zod: $ZodNaNInternals;\\n}\\nexport declare const $ZodNaN: core.$constructor<$ZodNaN>;\\nexport interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"pipe\\";\\n in: A;\\n out: B;\\n /** Only defined inside $ZodCodec instances. */\\n transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\\n /** Only defined inside $ZodCodec instances. */\\n reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\\n}\\nexport interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\\n def: $ZodPipeDef<A, B>;\\n isst: never;\\n values: A[\\"_zod\\"][\\"values\\"];\\n optin: A[\\"_zod\\"][\\"optin\\"];\\n optout: B[\\"_zod\\"][\\"optout\\"];\\n propValues: A[\\"_zod\\"][\\"propValues\\"];\\n}\\nexport interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodPipeInternals<A, B>;\\n}\\nexport declare const $ZodPipe: core.$constructor<$ZodPipe>;\\nexport interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {\\n transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;\\n reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;\\n}\\nexport interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {\\n def: $ZodCodecDef<A, B>;\\n isst: never;\\n values: A[\\"_zod\\"][\\"values\\"];\\n optin: A[\\"_zod\\"][\\"optin\\"];\\n optout: B[\\"_zod\\"][\\"optout\\"];\\n propValues: A[\\"_zod\\"][\\"propValues\\"];\\n}\\nexport interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodCodecInternals<A, B>;\\n}\\nexport declare const $ZodCodec: core.$constructor<$ZodCodec>;\\nexport interface $ZodPreprocessDef<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeDef<$ZodTransform<unknown, I>, B> {\\n in: $ZodTransform<unknown, I>;\\n out: B;\\n}\\nexport interface $ZodPreprocessInternals<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeInternals<$ZodTransform<unknown, I>, B> {\\n def: $ZodPreprocessDef<B, I>;\\n optin: B[\\"_zod\\"][\\"optin\\"];\\n optout: B[\\"_zod\\"][\\"optout\\"];\\n}\\nexport interface $ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends $ZodPipe<$ZodTransform<unknown, I>, B> {\\n _zod: $ZodPreprocessInternals<B, I>;\\n}\\nexport declare const $ZodPreprocess: core.$constructor<$ZodPreprocess>;\\nexport interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"readonly\\";\\n innerType: T;\\n}\\nexport interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {\\n def: $ZodReadonlyDef<T>;\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n isst: never;\\n propValues: T[\\"_zod\\"][\\"propValues\\"];\\n values: T[\\"_zod\\"][\\"values\\"];\\n}\\nexport interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodReadonlyInternals<T>;\\n}\\nexport declare const $ZodReadonly: core.$constructor<$ZodReadonly>;\\nexport interface $ZodTemplateLiteralDef extends $ZodTypeDef {\\n type: \\"template_literal\\";\\n parts: $ZodTemplateLiteralPart[];\\n format?: string | undefined;\\n}\\nexport interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {\\n pattern: RegExp;\\n def: $ZodTemplateLiteralDef;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {\\n _zod: $ZodTemplateLiteralInternals<Template>;\\n}\\ntype LiteralPart = Exclude<util.Literal, symbol>;\\ninterface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {\\n pattern: RegExp;\\n}\\ninterface SchemaPart extends $ZodType {\\n _zod: SchemaPartInternals;\\n}\\nexport type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;\\ntype UndefinedToEmptyString<T> = T extends undefined ? \\"\\" : T;\\ntype 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;\\nexport type ConcatenateTupleOfStrings<T extends string[]> = T extends [\\n infer First extends string,\\n ...infer Rest extends string[]\\n] ? Rest extends string[] ? First extends \\"\\" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : \\"\\";\\nexport type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {\\n [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;\\n};\\nexport type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;\\nexport type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;\\nexport declare const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral>;\\nexport type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;\\nexport type $ZodFunctionIn = $ZodFunctionArgs;\\nexport type $ZodFunctionOut = $ZodType;\\nexport type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => core.input<Returns>;\\nexport type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => util.MaybeAsync<core.input<Returns>>;\\nexport type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => core.output<Returns>;\\nexport type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => Promise<core.output<Returns>>;\\nexport interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {\\n type: \\"function\\";\\n input: In;\\n output: Out;\\n}\\nexport interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {\\n def: $ZodFunctionDef<Args, Returns>;\\n isst: errors.$ZodIssueInvalidType;\\n}\\nexport interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {\\n /** @deprecated */\\n _def: $ZodFunctionDef<Args, Returns>;\\n _input: $InferInnerFunctionType<Args, Returns>;\\n _output: $InferOuterFunctionType<Args, Returns>;\\n implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this[\\"_output\\"]>) => ReturnType<F> extends ReturnType<this[\\"_output\\"]> ? ReturnType<F> : ReturnType<this[\\"_output\\"]>;\\n implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;\\n input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;\\n input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;\\n input(...args: any[]): $ZodFunction<any, Returns>;\\n output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;\\n}\\nexport interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {\\n input?: I;\\n output?: O;\\n}\\nexport declare const $ZodFunction: core.$constructor<$ZodFunction>;\\nexport interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"promise\\";\\n innerType: T;\\n}\\nexport interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<core.output<T>>, util.MaybeAsync<core.input<T>>> {\\n def: $ZodPromiseDef<T>;\\n isst: never;\\n}\\nexport interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodPromiseInternals<T>;\\n}\\nexport declare const $ZodPromise: core.$constructor<$ZodPromise>;\\nexport interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {\\n type: \\"lazy\\";\\n getter: () => T;\\n}\\nexport interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {\\n def: $ZodLazyDef<T>;\\n isst: never;\\n /** Auto-cached way to retrieve the inner schema */\\n innerType: T;\\n pattern: T[\\"_zod\\"][\\"pattern\\"];\\n propValues: T[\\"_zod\\"][\\"propValues\\"];\\n optin: T[\\"_zod\\"][\\"optin\\"];\\n optout: T[\\"_zod\\"][\\"optout\\"];\\n}\\nexport interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {\\n _zod: $ZodLazyInternals<T>;\\n}\\nexport declare const $ZodLazy: core.$constructor<$ZodLazy>;\\nexport interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {\\n type: \\"custom\\";\\n check: \\"custom\\";\\n path?: PropertyKey[] | undefined;\\n error?: errors.$ZodErrorMap | undefined;\\n params?: Record<string, any> | undefined;\\n fn: (arg: O) => unknown;\\n}\\nexport interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, checks.$ZodCheckInternals<O> {\\n def: $ZodCustomDef;\\n issc: errors.$ZodIssue;\\n isst: never;\\n bag: util.LoosePartial<{\\n Class: typeof util.Class;\\n }>;\\n}\\nexport interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {\\n _zod: $ZodCustomInternals<O, I>;\\n}\\nexport declare const $ZodCustom: core.$constructor<$ZodCustom>;\\nexport 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;\\nexport type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodMAC | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodCreditCard | $ZodIBAN | $ZodJWT | $ZodCustomStringFormat<\\"hex\\"> | $ZodCustomStringFormat<util.HashFormat> | $ZodCustomStringFormat<\\"hostname\\"> | $ZodCustomStringFormat<\\"currency_code\\">;\\n","file:///node_modules/zod/v4/core/standard-schema.d.ts":"/** The Standard interface. */\\nexport interface StandardTypedV1<Input = unknown, Output = Input> {\\n /** The Standard properties. */\\n readonly \\"~standard\\": StandardTypedV1.Props<Input, Output>;\\n}\\nexport declare namespace StandardTypedV1 {\\n /** The Standard properties interface. */\\n interface Props<Input = unknown, Output = Input> {\\n /** The version number of the standard. */\\n readonly version: 1;\\n /** The vendor name of the schema library. */\\n readonly vendor: string;\\n /** Inferred types associated with the schema. */\\n readonly types?: Types<Input, Output> | undefined;\\n }\\n /** The Standard types interface. */\\n interface Types<Input = unknown, Output = Input> {\\n /** The input type of the schema. */\\n readonly input: Input;\\n /** The output type of the schema. */\\n readonly output: Output;\\n }\\n /** Infers the input type of a Standard. */\\n type InferInput<Schema extends StandardTypedV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"input\\"];\\n /** Infers the output type of a Standard. */\\n type InferOutput<Schema extends StandardTypedV1> = NonNullable<Schema[\\"~standard\\"][\\"types\\"]>[\\"output\\"];\\n}\\n/** The Standard Schema interface. */\\nexport interface StandardSchemaV1<Input = unknown, Output = Input> {\\n /** The Standard Schema properties. */\\n readonly \\"~standard\\": StandardSchemaV1.Props<Input, Output>;\\n}\\nexport declare namespace StandardSchemaV1 {\\n /** The Standard Schema properties interface. */\\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\\n /** Validates unknown input values. */\\n readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result<Output> | Promise<Result<Output>>;\\n }\\n /** The result interface of the validate function. */\\n type Result<Output> = SuccessResult<Output> | FailureResult;\\n /** The result interface if validation succeeds. */\\n interface SuccessResult<Output> {\\n /** The typed output value. */\\n readonly value: Output;\\n /** The absence of issues indicates success. */\\n readonly issues?: undefined;\\n }\\n interface Options {\\n /** Implicit support for additional vendor-specific parameters, if needed. */\\n readonly libraryOptions?: Record<string, unknown> | undefined;\\n }\\n /** The result interface if validation fails. */\\n interface FailureResult {\\n /** The issues of failed validation. */\\n readonly issues: ReadonlyArray<Issue>;\\n }\\n /** The issue interface of the failure output. */\\n interface Issue {\\n /** The error message of the issue. */\\n readonly message: string;\\n /** The path of the issue, if any. */\\n readonly path?: ReadonlyArray<PropertyKey | PathSegment> | undefined;\\n }\\n /** The path segment interface of the issue. */\\n interface PathSegment {\\n /** The key representing a path segment. */\\n readonly key: PropertyKey;\\n }\\n /** The Standard types interface. */\\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\\n }\\n /** Infers the input type of a Standard. */\\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\\n /** Infers the output type of a Standard. */\\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\\n}\\n/** The Standard JSON Schema interface. */\\nexport interface StandardJSONSchemaV1<Input = unknown, Output = Input> {\\n /** The Standard JSON Schema properties. */\\n readonly \\"~standard\\": StandardJSONSchemaV1.Props<Input, Output>;\\n}\\nexport declare namespace StandardJSONSchemaV1 {\\n /** The Standard JSON Schema properties interface. */\\n interface Props<Input = unknown, Output = Input> extends StandardTypedV1.Props<Input, Output> {\\n /** Methods for generating the input/output JSON Schema. */\\n readonly jsonSchema: Converter;\\n }\\n /** The Standard JSON Schema converter interface. */\\n interface Converter {\\n /** Converts the input type to JSON Schema. May throw if conversion is not supported. */\\n readonly input: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\\n /** Converts the output type to JSON Schema. May throw if conversion is not supported. */\\n readonly output: (options: StandardJSONSchemaV1.Options) => Record<string, unknown>;\\n }\\n /** The target version of the generated JSON Schema.\\n *\\n * It is *strongly recommended* that implementers support `\\"draft-2020-12\\"` and `\\"draft-07\\"`, as they are both in wide use.\\n *\\n * The `\\"openapi-3.0\\"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `\\"draft-04\\"`.\\n *\\n * All other targets can be implemented on a best-effort basis. Libraries should throw if they don\'t support a specified target.\\n */\\n type Target = \\"draft-2020-12\\" | \\"draft-07\\" | \\"openapi-3.0\\" | ({} & string);\\n /** The options for the input/output methods. */\\n interface Options {\\n /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */\\n readonly target: Target;\\n /** Implicit support for additional vendor-specific parameters, if needed. */\\n readonly libraryOptions?: Record<string, unknown> | undefined;\\n }\\n /** The Standard types interface. */\\n interface Types<Input = unknown, Output = Input> extends StandardTypedV1.Types<Input, Output> {\\n }\\n /** Infers the input type of a Standard. */\\n type InferInput<Schema extends StandardTypedV1> = StandardTypedV1.InferInput<Schema>;\\n /** Infers the output type of a Standard. */\\n type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;\\n}\\nexport interface StandardSchemaWithJSONProps<Input = unknown, Output = Input> extends StandardSchemaV1.Props<Input, Output>, StandardJSONSchemaV1.Props<Input, Output> {\\n}\\n/**\\n * An interface that combines StandardJSONSchema and StandardSchema.\\n */\\nexport interface StandardSchemaWithJSON<Input = unknown, Output = Input> {\\n \\"~standard\\": StandardSchemaWithJSONProps<Input, Output>;\\n}\\n","file:///node_modules/zod/v4/core/to-json-schema.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport type * as JSONSchema from \\"./json-schema.js\\";\\nimport { type $ZodRegistry } from \\"./registries.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nimport type { StandardJSONSchemaV1, StandardSchemaWithJSONProps } from \\"./standard-schema.js\\";\\nexport type Processor<T extends schemas.$ZodType = schemas.$ZodType> = (schema: T, ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void;\\n/**\\n * Called for each schema that has no JSON Schema equivalent. Return a JSON Schema to use in its\\n * place, `\\"any\\"` to fall back to the `unrepresentable: \\"any\\"` behavior, or `\\"throw\\"`/`undefined` to\\n * throw the default error. Throwing from the handler propagates, so custom errors work too.\\n */\\nexport type UnrepresentableHandler<T extends schemas.$ZodType = schemas.$ZodType> = (ctx: {\\n zodSchema: T;\\n path: (string | number)[];\\n /** The error Zod would throw. Distinguishes sites that share a `zodSchema`, e.g. an `undefined`\\n * vs a `bigint` member of the same literal. */\\n message: string;\\n}) => JSONSchema.BaseSchema | \\"throw\\" | \\"any\\" | undefined;\\nexport interface JSONSchemaGeneratorParams {\\n processors: Record<string, Processor>;\\n /** A registry used to look up metadata for each schema. Any schema with an `id` property will be extracted as a $def.\\n * @default globalRegistry */\\n metadata?: $ZodRegistry<Record<string, any>>;\\n /** The JSON Schema version to target.\\n * - `\\"draft-2020-12\\"` — Default. JSON Schema Draft 2020-12\\n * - `\\"draft-07\\"` — JSON Schema Draft 7\\n * - `\\"draft-04\\"` — JSON Schema Draft 4\\n * - `\\"openapi-3.0\\"` — OpenAPI 3.0 Schema Object */\\n target?: \\"draft-04\\" | \\"draft-07\\" | \\"draft-2020-12\\" | \\"openapi-3.0\\" | ({} & string) | undefined;\\n /** How to handle unrepresentable types.\\n * - `\\"throw\\"` — Default. Unrepresentable types throw an error\\n * - `\\"any\\"` — Unrepresentable types become `{}`\\n * - A function — called once per unrepresentable schema; see {@link UnrepresentableHandler}. */\\n unrepresentable?: \\"throw\\" | \\"any\\" | UnrepresentableHandler<schemas.$ZodTypes>;\\n /** Arbitrary custom logic that can be used to modify the generated JSON Schema. */\\n override?: (ctx: {\\n zodSchema: schemas.$ZodTypes;\\n jsonSchema: JSONSchema.BaseSchema;\\n path: (string | number)[];\\n }) => void;\\n /** Whether to extract the `\\"input\\"` or `\\"output\\"` type. Relevant to transforms, defaults, coerced primitives, etc.\\n * - `\\"output\\"` — Default. Convert the output schema.\\n * - `\\"input\\"` — Convert the input schema. */\\n io?: \\"input\\" | \\"output\\";\\n cycles?: \\"ref\\" | \\"throw\\";\\n reused?: \\"ref\\" | \\"inline\\";\\n external?: {\\n registry: $ZodRegistry<{\\n id?: string | undefined;\\n }>;\\n uri?: ((id: string) => string) | undefined;\\n defs: Record<string, JSONSchema.BaseSchema>;\\n } | undefined;\\n}\\n/**\\n * Parameters for the toJSONSchema function.\\n */\\nexport type ToJSONSchemaParams = Omit<JSONSchemaGeneratorParams, \\"processors\\" | \\"external\\">;\\n/**\\n * Parameters for the toJSONSchema function when passing a registry.\\n */\\nexport interface RegistryToJSONSchemaParams extends ToJSONSchemaParams {\\n uri?: (id: string) => string;\\n}\\nexport interface ProcessParams {\\n schemaPath: schemas.$ZodType[];\\n path: (string | number)[];\\n}\\nexport interface Seen {\\n /** JSON Schema result for this Zod schema */\\n schema: JSONSchema.BaseSchema;\\n /** A cached version of the schema that doesn\'t get overwritten during ref resolution */\\n def?: JSONSchema.BaseSchema;\\n defId?: string | undefined;\\n /** Number of times this schema was encountered during traversal */\\n count: number;\\n /** Cycle path */\\n cycle?: (string | number)[] | undefined;\\n isParent?: boolean | undefined;\\n /** Schema to inherit JSON Schema properties from (set by processor for wrappers) */\\n ref?: schemas.$ZodType | null;\\n /** JSON Schema property path for this schema */\\n path?: (string | number)[] | undefined;\\n}\\nexport interface ToJSONSchemaContext {\\n processors: Record<string, Processor>;\\n metadataRegistry: $ZodRegistry<Record<string, any>>;\\n target: \\"draft-04\\" | \\"draft-07\\" | \\"draft-2020-12\\" | \\"openapi-3.0\\" | ({} & string);\\n unrepresentable: \\"throw\\" | \\"any\\" | UnrepresentableHandler;\\n override: (ctx: {\\n zodSchema: schemas.$ZodType;\\n jsonSchema: JSONSchema.BaseSchema;\\n path: (string | number)[];\\n }) => void;\\n io: \\"input\\" | \\"output\\";\\n counter: number;\\n seen: Map<schemas.$ZodType, Seen>;\\n /** Registry conversions share one `seen` map across every emitted schema. These hold the\\n * `external` the whole-map passes below last ran for, so the passes are not repeated once per\\n * schema — and still re-run if the map grows or `external` is swapped. `sharedEmitDoneFor`\\n * covers both passes in `finalize`: the ref flattening and the `$defs` build.\\n *\\n * The passes are valid only while nothing they read has changed, so both are cleared in\\n * `processSchema()` when the map grows, and in `JSONSchemaGenerator.emit()`, which can also change\\n * the `cycles` and `reused` they branch on.\\n *\\n * One case is deliberately not covered: an `override` callback that writes to\\n * `metadataRegistry` mid-conversion. It runs inside `finalize`, so a registry conversion has\\n * nowhere left to clear the guards, and later schemas keep the ids the first pass saw. That\\n * output was never coherent — before this, whether a shared subschema was inlined or extracted\\n * depended on which registry entry happened to be emitted when the callback fired. */\\n sharedDefsExtractedFor?: ToJSONSchemaContext[\\"external\\"];\\n sharedEmitDoneFor?: ToJSONSchemaContext[\\"external\\"];\\n cycles: \\"ref\\" | \\"throw\\";\\n reused: \\"ref\\" | \\"inline\\";\\n /** The `allOf` array of each intersection encountered during traversal, innermost first. `finalize` folds every emitted object holding one; see `foldIntersection`. */\\n intersections: JSONSchema.BaseSchema[][];\\n /** Rewrites a processor deferred to `finalize`, where the flatten has resolved every ref and the union branches are in place. */\\n deferred: (() => void)[];\\n external?: {\\n registry: $ZodRegistry<{\\n id?: string | undefined;\\n }>;\\n uri?: ((id: string) => string) | undefined;\\n defs: Record<string, JSONSchema.BaseSchema>;\\n } | undefined;\\n}\\nexport declare function initializeContext(params: JSONSchemaGeneratorParams): ToJSONSchemaContext;\\n/**\\n * Applies the `unrepresentable` setting at a site that has no JSON Schema equivalent. Throws\\n * `message` unless the setting (or the handler\'s return value) says otherwise. Returns `true` if a\\n * custom JSON Schema was written into `json`, in which case the caller must not write its own.\\n */\\nexport declare function handleUnrepresentable(schema: schemas.$ZodType, ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams, message: string): boolean;\\nexport declare function processSchema<T extends schemas.$ZodType>(schema: T, ctx: ToJSONSchemaContext, _params?: ProcessParams): JSONSchema.BaseSchema;\\n/** @deprecated Renamed to `processSchema`. An export alias declares no binding, so it is safe to keep. */\\nexport { processSchema as process };\\nexport declare function extractDefs<T extends schemas.$ZodType>(ctx: ToJSONSchemaContext, schema: T): void;\\nexport declare function finalize<T extends schemas.$ZodType>(ctx: ToJSONSchemaContext, schema: T): ZodStandardJSONSchemaPayload<T>;\\nexport type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;\\nexport interface ZodStandardJSONSchemaPayload<T> extends JSONSchema.BaseSchema {\\n \\"~standard\\": ZodStandardSchemaWithJSON<T>;\\n}\\n/**\\n * Creates a toJSONSchema method for a schema instance.\\n * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.\\n */\\nexport declare const createToJSONSchemaMethod: <T extends schemas.$ZodType>(schema: T, processors?: Record<string, Processor>) => (params?: ToJSONSchemaParams) => ZodStandardJSONSchemaPayload<T>;\\n/**\\n * Creates a toJSONSchema method for a schema instance.\\n * This encapsulates the logic of initializing context, processing, extracting defs, and finalizing.\\n */\\ntype StandardJSONSchemaMethodParams = Parameters<StandardJSONSchemaV1[\\"~standard\\"][\\"jsonSchema\\"][\\"input\\"]>[0];\\nexport declare const createStandardJSONSchemaMethod: <T extends schemas.$ZodType>(schema: T, io: \\"input\\" | \\"output\\", processors?: Record<string, Processor>) => (params?: StandardJSONSchemaMethodParams) => JSONSchema.BaseSchema;\\n","file:///node_modules/zod/v4/core/util.d.ts":"import type * as checks from \\"./checks.js\\";\\nimport type { $ZodConfig } from \\"./core.js\\";\\nimport type * as errors from \\"./errors.js\\";\\nimport type * as schemas from \\"./schemas.js\\";\\nexport type JSONType = string | number | boolean | null | JSONType[] | {\\n [key: string]: JSONType;\\n};\\nexport type JWTAlgorithm = \\"HS256\\" | \\"HS384\\" | \\"HS512\\" | \\"RS256\\" | \\"RS384\\" | \\"RS512\\" | \\"ES256\\" | \\"ES384\\" | \\"ES512\\" | \\"PS256\\" | \\"PS384\\" | \\"PS512\\" | \\"EdDSA\\" | (string & {});\\nexport type HashAlgorithm = \\"md5\\" | \\"sha1\\" | \\"sha256\\" | \\"sha384\\" | \\"sha512\\";\\nexport type HashEncoding = \\"hex\\" | \\"base64\\" | \\"base64url\\";\\nexport type HashFormat = `${HashAlgorithm}_${HashEncoding}`;\\nexport type IPVersion = \\"v4\\" | \\"v6\\";\\nexport type MimeTypes = \\"application/json\\" | \\"application/xml\\" | \\"application/x-www-form-urlencoded\\" | \\"application/javascript\\" | \\"application/pdf\\" | \\"application/zip\\" | \\"application/vnd.ms-excel\\" | \\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\\" | \\"application/msword\\" | \\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\\" | \\"application/vnd.ms-powerpoint\\" | \\"application/vnd.openxmlformats-officedocument.presentationml.presentation\\" | \\"application/octet-stream\\" | \\"application/graphql\\" | \\"text/html\\" | \\"text/plain\\" | \\"text/css\\" | \\"text/javascript\\" | \\"text/csv\\" | \\"image/png\\" | \\"image/jpeg\\" | \\"image/gif\\" | \\"image/svg+xml\\" | \\"image/webp\\" | \\"audio/mpeg\\" | \\"audio/ogg\\" | \\"audio/wav\\" | \\"audio/webm\\" | \\"video/mp4\\" | \\"video/webm\\" | \\"video/ogg\\" | \\"font/woff\\" | \\"font/woff2\\" | \\"font/ttf\\" | \\"font/otf\\" | \\"multipart/form-data\\" | (string & {});\\nexport type ParsedTypes = \\"string\\" | \\"number\\" | \\"bigint\\" | \\"boolean\\" | \\"symbol\\" | \\"undefined\\" | \\"object\\" | \\"function\\" | \\"file\\" | \\"date\\" | \\"array\\" | \\"map\\" | \\"set\\" | \\"nan\\" | \\"null\\" | \\"promise\\";\\nexport type AssertEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? true : false;\\nexport type AssertNotEqual<T, U> = (<V>() => V extends T ? 1 : 2) extends <V>() => V extends U ? 1 : 2 ? false : true;\\nexport type AssertExtends<T, U> = T extends U ? T : never;\\ntype ToZodMismatch<T, S extends schemas.$ZodType> = {\\n \\"types do not match\\": {\\n expected: T;\\n received: S[\\"_zod\\"][\\"output\\"];\\n };\\n};\\ntype ToZodKeyMismatch<Expected, Received> = schemas.$ZodType & {\\n \\"types do not match\\": {\\n expected: Expected;\\n received: Received;\\n };\\n};\\ndeclare const toZodDummy: unique symbol;\\ntype ToZodNormalize<T> = [T] extends [(...args: any[]) => any] ? T : [T] extends [object] ? {\\n [K in keyof T]: ToZodNormalize<T[K]>;\\n} : T | typeof toZodDummy;\\ntype ToZodEqual<Output, T> = AssertEqual<Output, T> extends true ? true : IsAny<Output> extends true ? false : IsAny<T> extends true ? false : AssertEqual<ToZodNormalize<Output>, ToZodNormalize<T>>;\\ntype ToZodShape<Shape, T> = {\\n [K in keyof Shape]: Shape[K] extends schemas.$ZodType ? K extends keyof T ? ToZodEqual<Shape[K][\\"_zod\\"][\\"output\\"], T[K]> extends true ? Shape[K] : ToZodKeyMismatch<T[K], Shape[K][\\"_zod\\"][\\"output\\"]> : ToZodKeyMismatch<never, Shape[K][\\"_zod\\"][\\"output\\"]> : Shape[K];\\n} & {\\n [K in Exclude<keyof T, keyof Shape>]: ToZodKeyMismatch<T[K], never>;\\n};\\ntype ToZodExpand<X> = {\\n [K in keyof X]: X[K];\\n} & {};\\ntype ToZodTarget<S extends schemas.$ZodType, T> = S extends schemas.$ZodObject<infer Shape, infer Config> ? T extends object ? AssertEqual<ToZodExpand<ToZodShape<Shape, T>>, ToZodExpand<Shape>> extends true ? S & ToZodMismatch<T, S> : schemas.$ZodObject<ToZodExpand<ToZodShape<Shape, T>>, Config> : S & ToZodMismatch<T, S> : S & ToZodMismatch<T, S>;\\nexport type IsAny<T> = 0 extends 1 & T ? true : false;\\nexport type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;\\nexport type OmitKeys<T, K extends string> = Pick<T, Exclude<keyof T, K>>;\\nexport type MakePartial<T, K extends keyof T> = Omit<T, K> & InexactPartial<Pick<T, K>>;\\nexport type MakeRequired<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;\\nexport type Exactly<T, X> = T & Record<Exclude<keyof X, keyof T>, never>;\\nexport type NoUndefined<T> = T extends undefined ? never : T;\\nexport type Whatever = {} | undefined | null;\\nexport type Widen<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends bigint ? bigint : T;\\nexport type LoosePartial<T extends object> = InexactPartial<T> & {\\n [k: string]: unknown;\\n};\\nexport type Mask<Keys extends PropertyKey> = {\\n [K in Keys]?: true;\\n};\\nexport type Writeable<T> = {\\n -readonly [P in keyof T]: T[P];\\n} & {};\\nexport type InexactPartial<T> = {\\n [P in keyof T]?: T[P] | undefined;\\n};\\nexport type EmptyObject = Record<string, never>;\\nexport type BuiltIn = (((...args: any[]) => any) | (new (...args: any[]) => any)) | {\\n readonly [Symbol.toStringTag]: string;\\n} | Date | Error | Generator | Promise<unknown> | RegExp;\\nexport type MakeReadonly<T> = T extends Map<infer K, infer V> ? ReadonlyMap<K, V> : T extends Set<infer V> ? ReadonlySet<V> : T extends [infer Head, ...infer Tail] ? readonly [Head, ...Tail] : T extends Array<infer V> ? ReadonlyArray<V> : T extends BuiltIn ? T : Readonly<T>;\\nexport type SomeObject = Record<PropertyKey, any>;\\nexport type Identity<T> = T;\\nexport type Flatten<T> = Identity<{\\n [k in keyof T]: T[k];\\n}>;\\nexport type Mapped<T> = {\\n [k in keyof T]: T[k];\\n};\\nexport type Prettify<T> = {\\n [K in keyof T]: T[K];\\n} & {};\\nexport type NoNeverKeys<T> = {\\n [k in keyof T]: [T[k]] extends [never] ? never : k;\\n}[keyof T];\\nexport type NoNever<T> = Identity<{\\n [k in NoNeverKeys<T>]: k extends keyof T ? T[k] : never;\\n}>;\\nexport type Extend<A extends SomeObject, B extends SomeObject> = Flatten<keyof A & keyof B extends never ? A & B : {\\n [K in keyof A as K extends keyof B ? never : K]: A[K];\\n} & {\\n [K in keyof B]: B[K];\\n}>;\\nexport type TupleItems = ReadonlyArray<schemas.SomeType>;\\nexport type AnyFunc = (...args: any[]) => any;\\nexport type IsProp<T, K extends keyof T> = T[K] extends AnyFunc ? never : K;\\nexport type MaybeAsync<T> = T | Promise<T>;\\nexport type KeyOf<T> = keyof OmitIndexSignature<T>;\\nexport type OmitIndexSignature<T> = {\\n [K in keyof T as string extends K ? never : K extends string ? K : never]: T[K];\\n};\\nexport type ExtractIndexSignature<T> = {\\n [K in keyof T as string extends K ? K : K extends string ? never : K]: T[K];\\n};\\nexport type Keys<T extends object> = keyof OmitIndexSignature<T>;\\nexport type SchemaClass<T extends schemas.SomeType> = {\\n new (def: T[\\"_zod\\"][\\"def\\"]): T;\\n};\\nexport type EnumValue = string | number;\\nexport type EnumLike = Readonly<Record<string, EnumValue>>;\\nexport type ToEnum<T extends EnumValue> = Flatten<{\\n [k in T]: k;\\n}>;\\nexport type KeysEnum<T extends object> = ToEnum<Exclude<keyof T, symbol>>;\\nexport type KeysArray<T extends object> = Flatten<(keyof T & string)[]>;\\nexport type Literal = string | number | bigint | boolean | null | undefined;\\nexport type LiteralArray = Array<Literal>;\\nexport type Primitive = string | number | symbol | bigint | boolean | null | undefined;\\nexport type PrimitiveArray = Array<Primitive>;\\nexport type HasSize = {\\n size: number;\\n};\\nexport type HasLength = {\\n length: number;\\n};\\nexport type Numeric = number | bigint | Date;\\nexport type SafeParseResult<T> = SafeParseSuccess<T> | SafeParseError<T>;\\nexport type SafeParseSuccess<T> = {\\n success: true;\\n data: T;\\n error?: never;\\n};\\nexport type SafeParseError<T> = {\\n success: false;\\n data?: never;\\n error: errors.$ZodError<T>;\\n};\\nexport type PropValues = Record<string, Set<Primitive>>;\\nexport type PrimitiveSet = Set<Primitive>;\\nexport declare function assertEqual<A, B>(val: AssertEqual<A, B>): AssertEqual<A, B>;\\nexport declare function assertNotEqual<A, B>(val: AssertNotEqual<A, B>): AssertNotEqual<A, B>;\\nexport declare function toZod<T>(): <S extends schemas.$ZodType>(schema: ToZodEqual<S[\\"_zod\\"][\\"output\\"], T> extends true ? S : ToZodTarget<S, T>) => S;\\nexport declare function assertIs<T>(_arg: T): void;\\nexport declare function assertNever(_x: never): never;\\nexport declare function assert<T>(_: any): asserts _ is T;\\nexport declare function getEnumValues(entries: EnumLike): EnumValue[];\\nexport declare function joinValues<T extends Primitive[]>(array: T, separator?: string): string;\\nexport declare function jsonStringifyReplacer(_: string, value: any): any;\\nexport declare function cached<T>(getter: () => T): {\\n value: T;\\n};\\nexport declare function nullish(input: any): boolean;\\nexport declare function cleanRegex(source: string): string;\\nexport declare function floatSafeRemainder(val: number, step: number): number;\\nexport declare function defineLazy<T, K extends keyof T>(object: T, key: K, getter: () => T[K]): void;\\nexport declare function objectClone(obj: object): any;\\nexport declare function assignProp<T extends object, K extends PropertyKey>(target: T, prop: K, value: K extends keyof T ? T[K] : any): void;\\n/** A def\'s `shape` accessor, carrying whichever object it currently answers from. */\\nexport interface ShapeGetter {\\n (): Record<PropertyKey, any>;\\n raw: Record<PropertyKey, any>;\\n}\\n/**\\n * Whichever object a def\'s `shape` currently answers from: the one the caller passed until the first read, the frozen copy after it.\\n *\\n * Its keys and descriptors read without invoking anything, which is what lets a discriminated union check its discriminator, and the cycle walk read a shape, without resolving a getter that references the schema being constructed. A def that answers `shape` from an accessor of its own has none.\\n */\\nexport declare function rawShape(def: any): Record<PropertyKey, any> | undefined;\\nexport declare function mergeDefs(...defs: Record<string, any>[]): any;\\nexport declare function cloneDef(schema: schemas.$ZodType): any;\\nexport declare function getElementAtPath(obj: any, path: (string | number)[] | null | undefined): any;\\nexport declare function promiseAllObject<T extends object>(promisesObj: T): Promise<{\\n [k in keyof T]: Awaited<T[k]>;\\n}>;\\nexport declare function randomString(length?: number): string;\\nexport declare function esc(str: string): string;\\nexport declare function slugify(input: string): string;\\nexport declare const captureStackTrace: (targetObject: object, constructorOpt?: Function) => void;\\nexport declare function isObject(data: any): data is Record<PropertyKey, unknown>;\\nexport declare const allowsEval: {\\n value: boolean;\\n};\\nexport declare function isPlainObject(o: any): o is Record<PropertyKey, unknown>;\\nexport declare function shallowClone(o: any): any;\\nexport declare function numKeys(data: any): number;\\nexport declare const getParsedType: (data: any) => ParsedTypes;\\nexport declare const propertyKeyTypes: Set<string>;\\nexport declare const primitiveTypes: Set<string>;\\nexport declare function escapeRegex(str: string): string;\\nexport declare function clone<T extends schemas.$ZodType>(inst: T, def?: T[\\"_zod\\"][\\"def\\"], params?: {\\n parent: boolean;\\n}): T;\\nexport type EmptyToNever<T> = keyof T extends never ? never : T;\\nexport type Normalize<T> = T extends undefined ? never : T extends Record<any, any> ? Flatten<{\\n [k in keyof Omit<T, \\"error\\" | \\"message\\">]: T[k];\\n} & (\\"error\\" extends keyof T ? {\\n error?: Exclude<T[\\"error\\"], string>;\\n} : unknown)> : never;\\nexport declare function normalizeParams<T>(_params: T): Normalize<T>;\\nexport declare function createTransparentProxy<T extends object>(getter: () => T): T;\\nexport declare function stringifyPrimitive(value: any): string;\\nexport declare function optionalKeys(shape: schemas.$ZodShape): string[];\\nexport type CleanKey<T extends PropertyKey> = T extends `?${infer K}` ? K : T extends `${infer K}?` ? K : T;\\nexport type ToCleanMap<T extends schemas.$ZodLooseShape> = {\\n [k in keyof T]: k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k;\\n};\\nexport type FromCleanMap<T extends schemas.$ZodLooseShape> = {\\n [k in keyof T as k extends `?${infer K}` ? K : k extends `${infer K}?` ? K : k]: k;\\n};\\nexport declare const NUMBER_FORMAT_RANGES: Record<checks.$ZodNumberFormats, [number, number]>;\\nexport declare const BIGINT_FORMAT_RANGES: Record<checks.$ZodBigIntFormats, [bigint, bigint]>;\\nexport declare function pick(schema: schemas.$ZodObject, mask: Record<string, unknown>): any;\\nexport declare function omit(schema: schemas.$ZodObject, mask: object): any;\\nexport declare function extend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\\nexport declare function safeExtend(schema: schemas.$ZodObject, shape: schemas.$ZodShape): any;\\nexport declare function merge(a: schemas.$ZodObject, b: schemas.$ZodObject): any;\\nexport declare function partial(Class: SchemaClass<schemas.$ZodOptional> | null, schema: schemas.$ZodObject, mask: object | undefined, name?: string): any;\\nexport declare function required(Class: SchemaClass<schemas.$ZodNonOptional>, schema: schemas.$ZodObject, mask: object | undefined): any;\\nexport type Constructor<T, Def extends any[] = any[]> = new (...args: Def) => T;\\nexport declare function aborted(x: schemas.ParsePayload, startIndex?: number): boolean;\\nexport declare function explicitlyAborted(x: schemas.ParsePayload, startIndex?: number): boolean;\\nexport declare function prefixIssues(path: PropertyKey, issues: errors.$ZodRawIssue[]): errors.$ZodRawIssue[];\\nexport declare function unwrapMessage(message: string | {\\n message: string;\\n} | undefined | null): string | undefined;\\n/** The leading size checks of `defChecks` that set an upper bound, each paired with it. */\\nexport declare function sizeCaps(defChecks: checks.$ZodCheck<never>[] | undefined): [number, checks.$ZodCheck<never>][];\\nexport declare function attachSchema(issues: errors.$ZodRawIssue[], start: number, inst: schemas.$ZodType): void;\\nexport declare function finalizeIssue(iss: errors.$ZodRawIssue, ctx: schemas.ParseContextInternal | undefined, config: $ZodConfig): errors.$ZodIssue;\\nexport declare function getSizableOrigin(input: any): \\"set\\" | \\"map\\" | \\"file\\" | \\"unknown\\";\\nexport declare function codePointLength(str: string): number;\\nexport declare function getLengthableOrigin(input: any): \\"array\\" | \\"string\\" | \\"unknown\\";\\nexport declare function parsedType(data: unknown): errors.$ZodInvalidTypeExpected;\\nexport declare function issue(_iss: string, input: any, inst: any): errors.$ZodRawIssue;\\nexport declare function issue(_iss: errors.$ZodRawIssue): errors.$ZodRawIssue;\\nexport declare function cleanEnum(obj: Record<string, EnumValue>): EnumValue[];\\nexport declare function base64ToUint8Array(base64: string): InstanceType<typeof Uint8Array>;\\nexport declare function uint8ArrayToBase64(bytes: Uint8Array): string;\\nexport declare function base64urlToUint8Array(base64url: string): InstanceType<typeof Uint8Array>;\\nexport declare function uint8ArrayToBase64url(bytes: Uint8Array): string;\\nexport declare function hexToUint8Array(hex: string): InstanceType<typeof Uint8Array>;\\nexport declare function uint8ArrayToHex(bytes: Uint8Array): string;\\nexport declare abstract class Class {\\n constructor(..._args: any[]);\\n}\\n/**\\n * Installs a trait\'s members on its prototype. Each value builds that member for the instance on first read; the built value shadows the accessor as an own property, so a detached `const { parse } = schema` keeps working.\\n *\\n * Call this from a `proto` initializer, which runs once per prototype — never per instance.\\n */\\nexport declare function members(proto: object, table: object): void;\\n/** Shadows a prototype member with an own value, so a getter that builds from the instance runs once. */\\nexport declare function own<T>(inst: object, key: PropertyKey, value: T, enumerable?: boolean): T;\\n/** Like {@link own}, for a member that was never an own data property and has to stay out of `Object.keys`. */\\nexport declare function hide<T>(inst: object, key: PropertyKey, value: T): T;\\n/** Adds members a table derives from the instance: each builds on first read and shadows as own data, and assignment shadows the same way, as when these were own properties. */\\nexport declare function derived<T>(computes: {\\n [K in keyof T]?: (inst: T) => T[K];\\n}, table: ProtoOf<T>): ProtoOf<T>;\\n/** A trait\'s prototype members: a partial view of its own interface, with `this` typed as the instance. */\\nexport type ProtoOf<T> = {\\n [K in keyof T]?: (T[K] extends (...args: infer A) => infer R ? (...args: A) => R : T[K]) | undefined;\\n} & ThisType<T>;\\n/**\\n * Installs a lazily-derived internal on the `_zod` prototype of `inst`\'s\\n * constructor, computed from the internals object itself and cached there on\\n * first read. One accessor per constructor rather than one per instance.\\n */\\nexport declare function defineLazyInternal<T extends {\\n _zod: any;\\n}>(inst: T, key: string, compute: (zod: T[\\"_zod\\"]) => unknown): void;\\n/**\\n * Installs `key` on `inst`\'s prototype, computed by `make` on first read and cached there as an own\\n * data property. One accessor per constructor rather than one per instance, because an own accessor\\n * puts every instance after the first into v8 dictionary mode. The key doubles as the sentinel.\\n */\\nexport declare function installLazyProp(inst: object, key: string, make: (self: any) => unknown, enumerable: boolean): void;\\n/** Marks the thunk `_catch` synthesises for a constant catch value. `Function.length` cannot tell that thunk from a user callback — rest and defaulted parameters both report arity 0 — and a user callback reads `ctx.error`, whose issues only finalize correctly against the caller\'s per-parse error map. Provenance can say what arity cannot. A plain string key rather than `Symbol.for`, whose call at module scope no bundler can prove pure — the same shape that anchored `urlCanParse` into every build. */\\nexport declare const CONSTANT_CATCH = \\"~constantCatch\\";\\n/** Wraps a constant catch value in a thunk tagged with {@link CONSTANT_CATCH}. */\\nexport declare function constantCatch<T>(value: T): () => T;\\nexport {};\\n","file:///node_modules/zod/v4/core/versions.d.ts":"export declare const version: {\\n readonly major: 4;\\n readonly minor: 6;\\n readonly patch: number;\\n};\\n","file:///node_modules/zod/v4/core/visit.d.ts":"import * as schemas from \\"./schemas.js\\";\\ntype AnyZod = schemas.$ZodType;\\ntype Kind = schemas.$ZodTypeDef[\\"type\\"];\\n/** The concrete schema class for a `def.type`, or `$ZodType` for kinds with no dedicated class. */\\ntype SchemaOfKind<K extends Kind> = [Extract<schemas.$ZodTypes, {\\n _zod: {\\n def: {\\n type: K;\\n };\\n };\\n}>] extends [never] ? AnyZod : Extract<schemas.$ZodTypes, {\\n _zod: {\\n def: {\\n type: K;\\n };\\n };\\n}>;\\nexport type VisitFn = (node: AnyZod, rewritten: boolean) => AnyZod;\\nexport type VisitHandlers = {\\n [K in Kind]?: (node: SchemaOfKind<K>, rewritten: boolean) => AnyZod;\\n};\\n/**\\n * @internal Bottom-up rewrite of a schema tree. Unhandled kinds and unchanged branches keep their\\n * identity. Returns `$ZodType`: a visitor can swap in a schema of any type, so callers declare\\n * their own return type. `rewritten` tells a handler whether the traversal replaced anything\\n * below the node it is looking at.\\n */\\nexport declare function visit(schema: schemas.SomeType, fn: VisitFn): AnyZod;\\nexport declare function visit(schema: schemas.SomeType, handlers: VisitHandlers): AnyZod;\\nexport {};\\n","file:///node_modules/zod/v4/index.d.ts":"import * as z4 from \\"./classic/external.js\\";\\nexport * from \\"./classic/index.js\\";\\nexport { z4 as default };\\n","file:///node_modules/zod/v4/locales/ar.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/az.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/be.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/bg.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/bn.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ca.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ckb.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/cs.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/da.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/de.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/el.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/en.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/eo.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/es.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fa.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fi.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fr-CA.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/fr.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/gu.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/he.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hi.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hr.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hu.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/hy.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/id.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/index.d.ts":"export { default as ar } from \\"./ar.js\\";\\nexport { default as az } from \\"./az.js\\";\\nexport { default as be } from \\"./be.js\\";\\nexport { default as bg } from \\"./bg.js\\";\\nexport { default as bn } from \\"./bn.js\\";\\nexport { default as ca } from \\"./ca.js\\";\\nexport { default as ckb } from \\"./ckb.js\\";\\nexport { default as cs } from \\"./cs.js\\";\\nexport { default as da } from \\"./da.js\\";\\nexport { default as de } from \\"./de.js\\";\\nexport { default as el } from \\"./el.js\\";\\nexport { default as en } from \\"./en.js\\";\\nexport { default as eo } from \\"./eo.js\\";\\nexport { default as es } from \\"./es.js\\";\\nexport { default as fa } from \\"./fa.js\\";\\nexport { default as fi } from \\"./fi.js\\";\\nexport { default as fr } from \\"./fr.js\\";\\nexport { default as frCA } from \\"./fr-CA.js\\";\\nexport { default as gu } from \\"./gu.js\\";\\nexport { default as he } from \\"./he.js\\";\\nexport { default as hi } from \\"./hi.js\\";\\nexport { default as hr } from \\"./hr.js\\";\\nexport { default as hu } from \\"./hu.js\\";\\nexport { default as hy } from \\"./hy.js\\";\\nexport { default as id } from \\"./id.js\\";\\nexport { default as is } from \\"./is.js\\";\\nexport { default as it } from \\"./it.js\\";\\nexport { default as ja } from \\"./ja.js\\";\\nexport { default as ka } from \\"./ka.js\\";\\nexport { default as kh } from \\"./kh.js\\";\\nexport { default as km } from \\"./km.js\\";\\nexport { default as kn } from \\"./kn.js\\";\\nexport { default as ko } from \\"./ko.js\\";\\nexport { default as lt } from \\"./lt.js\\";\\nexport { default as mk } from \\"./mk.js\\";\\nexport { default as ms } from \\"./ms.js\\";\\nexport { default as ne } from \\"./ne.js\\";\\nexport { default as nl } from \\"./nl.js\\";\\nexport { default as nn } from \\"./nn.js\\";\\nexport { default as no } from \\"./no.js\\";\\nexport { default as ota } from \\"./ota.js\\";\\nexport { default as ps } from \\"./ps.js\\";\\nexport { default as pl } from \\"./pl.js\\";\\nexport { default as pt } from \\"./pt.js\\";\\nexport { default as ptBR } from \\"./pt-BR.js\\";\\nexport { default as ro } from \\"./ro.js\\";\\nexport { default as ru } from \\"./ru.js\\";\\nexport { default as sk } from \\"./sk.js\\";\\nexport { default as sl } from \\"./sl.js\\";\\nexport { default as sv } from \\"./sv.js\\";\\nexport { default as ta } from \\"./ta.js\\";\\nexport { default as tg } from \\"./tg.js\\";\\nexport { default as th } from \\"./th.js\\";\\nexport { default as tk } from \\"./tk.js\\";\\nexport { default as tr } from \\"./tr.js\\";\\nexport { default as ua } from \\"./ua.js\\";\\nexport { default as uk } from \\"./uk.js\\";\\nexport { default as ur } from \\"./ur.js\\";\\nexport { default as uz } from \\"./uz.js\\";\\nexport { default as vi } from \\"./vi.js\\";\\nexport { default as zhCN } from \\"./zh-CN.js\\";\\nexport { default as zhTW } from \\"./zh-TW.js\\";\\nexport { default as yo } from \\"./yo.js\\";\\n","file:///node_modules/zod/v4/locales/is.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/it.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ja.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ka.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/kh.d.ts":"import type * as errors from \\"../core/errors.js\\";\\n/** @deprecated Use `km` instead. */\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/km.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/kn.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ko.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/lt.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/mk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ms.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ne.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/nl.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/nn.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/no.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ota.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/pl.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ps.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/pt-BR.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/pt.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ro.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ru.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/sk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/sl.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/sv.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ta.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/tg.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/th.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/tk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/tr.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ua.d.ts":"import type * as errors from \\"../core/errors.js\\";\\n/** @deprecated Use `uk` instead. */\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/uk.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/ur.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/uz.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/vi.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/yo.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/zh-CN.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/locales/zh-TW.d.ts":"import type * as errors from \\"../core/errors.js\\";\\nexport default function (): {\\n localeError: errors.$ZodErrorMap;\\n};\\n","file:///node_modules/zod/v4/mini/checks.d.ts":"export { _lt as lt, _lte as lte, _lte as maximum, _gt as gt, _gte as gte, _gte as minimum, _positive as positive, _negative as negative, _nonpositive as nonpositive, _nonnegative as nonnegative, _multipleOf as multipleOf, _maxSize as maxSize, _minSize as minSize, _size as size, _maxLength as maxLength, _minLength as minLength, _length as length, _regex as regex, _lowercase as lowercase, _uppercase as uppercase, _includes as includes, _startsWith as startsWith, _endsWith as endsWith, _property as property, _properties as properties, _mime as mime, _overwrite as overwrite, _normalize as normalize, _trim as trim, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, } from \\"../core/index.js\\";\\n","file:///node_modules/zod/v4/mini/coerce.d.ts":"import * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport declare function string<T = unknown>(params?: string | core.$ZodStringParams): schemas.ZodMiniString<T>;\\nexport declare function number<T = unknown>(params?: string | core.$ZodNumberParams): schemas.ZodMiniNumber<T>;\\nexport declare function boolean<T = unknown>(params?: string | core.$ZodBooleanParams): schemas.ZodMiniBoolean<T>;\\nexport declare function bigint<T = unknown>(params?: string | core.$ZodBigIntParams): schemas.ZodMiniBigInt<T>;\\nexport declare function date<T = unknown>(params?: string | core.$ZodDateParams): schemas.ZodMiniDate<T>;\\n","file:///node_modules/zod/v4/mini/deep-partial.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\n/** Mini counterpart of `classic/deep-partial.ts`\'s `DeepPartial`. */\\nexport type DeepPartial<T extends core.SomeType> = T extends schemas.ZodMiniObject<infer Shape, infer Config> ? schemas.ZodMiniObject<{\\n -readonly [K in keyof Shape]: schemas.ZodMiniOptional<DeepPartial<Shape[K]>>;\\n}, Config> : T extends schemas.ZodMiniDiscriminatedUnion<infer Options, any> ? schemas.ZodMiniUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodMiniUnion<infer Options> ? schemas.ZodMiniUnion<{\\n -readonly [I in keyof Options]: Options[I] extends core.SomeType ? DeepPartial<Options[I]> : Options[I];\\n}> : T extends schemas.ZodMiniArray<infer El> ? schemas.ZodMiniArray<DeepPartial<El>> : T extends schemas.ZodMiniTuple<infer Items, infer Rest> ? schemas.ZodMiniTuple<{\\n -readonly [K in keyof Items]: Items[K] extends core.SomeType ? DeepPartial<Items[K]> : Items[K];\\n}, Rest extends core.SomeType ? DeepPartial<Rest> : Rest> : T extends schemas.ZodMiniIntersection<infer A, infer B> ? schemas.ZodMiniIntersection<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodMiniRecord<infer K, infer V> ? schemas.ZodMiniRecord<K, DeepPartial<V>> : T extends schemas.ZodMiniMap<infer K, infer V> ? schemas.ZodMiniMap<K, DeepPartial<V>> : T extends schemas.ZodMiniSet<infer El> ? schemas.ZodMiniSet<DeepPartial<El>> : T extends schemas.ZodMiniOptional<infer Inner> ? schemas.ZodMiniOptional<DeepPartial<Inner>> : T extends schemas.ZodMiniNullable<infer Inner> ? schemas.ZodMiniNullable<DeepPartial<Inner>> : T extends schemas.ZodMiniDefault<infer Inner> ? schemas.ZodMiniDefault<DeepPartial<Inner>> : T extends schemas.ZodMiniPrefault<infer Inner> ? schemas.ZodMiniPrefault<DeepPartial<Inner>> : T extends schemas.ZodMiniNonOptional<infer Inner> ? schemas.ZodMiniNonOptional<DeepPartial<Inner>> : T extends schemas.ZodMiniCatch<infer Inner> ? schemas.ZodMiniCatch<DeepPartial<Inner>> : T extends schemas.ZodMiniReadonly<infer Inner> ? schemas.ZodMiniReadonly<DeepPartial<Inner>> : T extends schemas.ZodMiniSuccess<infer Inner> ? schemas.ZodMiniSuccess<DeepPartial<Inner>> : T extends schemas.ZodMiniPromise<infer Inner> ? schemas.ZodMiniPromise<DeepPartial<Inner>> : T extends schemas.ZodMiniCodec<infer A, infer B> ? schemas.ZodMiniCodec<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodMiniPipe<infer A, infer B> ? schemas.ZodMiniPipe<DeepPartial<A>, DeepPartial<B>> : T extends schemas.ZodMiniLazy<infer Inner> ? schemas.ZodMiniLazy<DeepPartial<Inner>> : T;\\n/** See `classic/deep-partial.ts`. Mini variant uses `mini.partial(...)`. */\\nexport declare function deepPartial<T extends core.SomeType>(schema: T): DeepPartial<T>;\\n","file:///node_modules/zod/v4/mini/external.d.ts":"export * as core from \\"../core/index.js\\";\\nexport * from \\"./parse.js\\";\\nexport * from \\"./schemas.js\\";\\nexport * from \\"./checks.js\\";\\nexport { deepPartial } from \\"./deep-partial.js\\";\\nexport { input, output } from \\"./in-out.js\\";\\nexport type { infer } from \\"../core/index.js\\";\\nexport type { JSONType } from \\"../core/util.js\\";\\nexport type { CompileOptions } from \\"../core/index.js\\";\\nexport { globalRegistry, registry, config, memoizer, $output, $input, $brand, clone, regexes, treeifyError, prettifyError, formatError, flattenError, TimePrecision, util, NEVER, INVALID, toZod, compile, withParser, ZodCompileAsyncError, ZodCompileUnsupportedError, getDiscriminatedOption, } from \\"../core/index.js\\";\\nexport { toJSONSchema } from \\"../core/json-schema-processors.js\\";\\nexport * as locales from \\"../locales/index.js\\";\\n/** A special constant with type `never` */\\nexport * as iso from \\"./iso.js\\";\\nexport { ZodMiniISODateTime, ZodMiniISODate, ZodMiniISOTime, ZodMiniISODuration, } from \\"./iso.js\\";\\nexport * as coerce from \\"./coerce.js\\";\\n","file:///node_modules/zod/v4/mini/in-out.d.ts":"import type * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport type input<T> = core.input<T>;\\nexport type output<T> = core.output<T>;\\n/** See `classic/in-out.ts`. */\\nexport declare function input<T extends core.$ZodType>(schema: T): schemas.ZodMiniType<core.input<T>, core.input<T>>;\\n/** See `classic/in-out.ts`. */\\nexport declare function output<T extends core.$ZodType>(schema: T): schemas.ZodMiniType<core.output<T>, core.output<T>>;\\n","file:///node_modules/zod/v4/mini/index.d.ts":"import * as z from \\"./external.js\\";\\nexport * from \\"./external.js\\";\\nexport { z };\\n","file:///node_modules/zod/v4/mini/iso.d.ts":"import * as core from \\"../core/index.js\\";\\nimport * as schemas from \\"./schemas.js\\";\\nexport interface ZodMiniISODateTime extends schemas.ZodMiniStringFormat<\\"datetime\\"> {\\n _zod: core.$ZodISODateTimeInternals;\\n}\\nexport declare const ZodMiniISODateTime: core.$constructor<ZodMiniISODateTime>;\\nexport declare function datetime(params?: string | core.$ZodISODateTimeParams): ZodMiniISODateTime;\\nexport interface ZodMiniISODate extends schemas.ZodMiniStringFormat<\\"date\\"> {\\n _zod: core.$ZodISODateInternals;\\n}\\nexport declare const ZodMiniISODate: core.$constructor<ZodMiniISODate>;\\nexport declare function date(params?: string | core.$ZodISODateParams): ZodMiniISODate;\\nexport interface ZodMiniISOTime extends schemas.ZodMiniStringFormat<\\"time\\"> {\\n _zod: core.$ZodISOTimeInternals;\\n}\\nexport declare const ZodMiniISOTime: core.$constructor<ZodMiniISOTime>;\\nexport declare function time(params?: string | core.$ZodISOTimeParams): ZodMiniISOTime;\\nexport interface ZodMiniISODuration extends schemas.ZodMiniStringFormat<\\"duration\\"> {\\n _zod: core.$ZodISODurationInternals;\\n}\\nexport declare const ZodMiniISODuration: core.$constructor<ZodMiniISODuration>;\\nexport declare function duration(params?: string | core.$ZodISODurationParams): ZodMiniISODuration;\\n","file:///node_modules/zod/v4/mini/parse.d.ts":"export { validate, validateAsync, parse, safeParse, parseAsync, safeParseAsync, encode, decode, encodeAsync, decodeAsync, safeEncode, safeDecode, safeEncodeAsync, safeDecodeAsync, } from \\"../core/index.js\\";\\n","file:///node_modules/zod/v4/mini/schemas.d.ts":"import * as core from \\"../core/index.js\\";\\nimport type { $ZodBigIntFormats } from \\"../core/index.js\\";\\nimport * as util from \\"../core/util.js\\";\\ntype SomeType = core.SomeType;\\nexport interface ZodMiniType<out Output = unknown, out Input = unknown, out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> extends core.$ZodType<Output, Input, Internals> {\\n type: Internals[\\"def\\"][\\"type\\"];\\n check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;\\n clone(def?: Internals[\\"def\\"], params?: {\\n parent: boolean;\\n }): this;\\n register<R extends core.$ZodRegistry>(registry: R, ...meta: this extends R[\\"_schema\\"] ? undefined extends R[\\"_meta\\"] ? [core.$replace<R[\\"_meta\\"], this>?] : [core.$replace<R[\\"_meta\\"], this>] : [\\"Incompatible schema\\"]): this;\\n brand<T extends PropertyKey = PropertyKey, Dir extends \\"in\\" | \\"out\\" | \\"inout\\" = \\"out\\">(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;\\n def: Internals[\\"def\\"];\\n parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;\\n safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): util.SafeParseResult<core.output<this>>;\\n parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;\\n safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<util.SafeParseResult<core.output<this>>>;\\n apply<T, TArgs extends unknown[] = []>(fn: (schema: this, ...args: TArgs) => T, ...args: TArgs): T;\\n}\\ninterface _ZodMiniType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodMiniType<any, any, Internals> {\\n}\\nexport declare const ZodMiniType: core.$constructor<ZodMiniType>;\\nexport interface _ZodMiniString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>> extends _ZodMiniType<T>, core.$ZodString<T[\\"input\\"]> {\\n _zod: T;\\n}\\nexport interface ZodMiniString<Input = unknown> extends _ZodMiniString<core.$ZodStringInternals<Input>>, core.$ZodString<Input> {\\n}\\nexport declare const ZodMiniString: core.$constructor<ZodMiniString>;\\nexport declare function string(params?: string | core.$ZodStringParams): ZodMiniString<string>;\\nexport interface ZodMiniStringFormat<Format extends string = string> extends _ZodMiniString<core.$ZodStringFormatInternals<Format>>, core.$ZodStringFormat<Format> {\\n}\\nexport declare const ZodMiniStringFormat: core.$constructor<ZodMiniStringFormat>;\\nexport interface ZodMiniEmail extends _ZodMiniString<core.$ZodEmailInternals> {\\n}\\nexport declare const ZodMiniEmail: core.$constructor<ZodMiniEmail>;\\nexport declare function email(params?: string | core.$ZodEmailParams): ZodMiniEmail;\\nexport interface ZodMiniGUID extends _ZodMiniString<core.$ZodGUIDInternals> {\\n}\\nexport declare const ZodMiniGUID: core.$constructor<ZodMiniGUID>;\\nexport declare function guid(params?: string | core.$ZodGUIDParams): ZodMiniGUID;\\nexport interface ZodMiniUUID extends _ZodMiniString<core.$ZodUUIDInternals> {\\n}\\nexport declare const ZodMiniUUID: core.$constructor<ZodMiniUUID>;\\nexport declare function uuid(params?: string | core.$ZodUUIDParams): ZodMiniUUID;\\nexport declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodMiniUUID;\\nexport declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodMiniUUID;\\nexport declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodMiniUUID;\\nexport interface ZodMiniURL extends _ZodMiniString<core.$ZodURLInternals> {\\n}\\nexport declare const ZodMiniURL: core.$constructor<ZodMiniURL>;\\nexport declare function url(params?: string | core.$ZodURLParams): ZodMiniURL;\\nexport declare function httpUrl(params?: string | Omit<core.$ZodURLParams, \\"protocol\\" | \\"hostname\\">): ZodMiniURL;\\nexport interface ZodMiniEmoji extends _ZodMiniString<core.$ZodEmojiInternals> {\\n}\\nexport declare const ZodMiniEmoji: core.$constructor<ZodMiniEmoji>;\\nexport declare function emoji(params?: string | core.$ZodEmojiParams): ZodMiniEmoji;\\nexport interface ZodMiniNanoID extends _ZodMiniString<core.$ZodNanoIDInternals> {\\n}\\nexport declare const ZodMiniNanoID: core.$constructor<ZodMiniNanoID>;\\nexport declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodMiniNanoID;\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport interface ZodMiniCUID extends _ZodMiniString<core.$ZodCUIDInternals> {\\n}\\n/**\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link ZodMiniCUID2} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare const ZodMiniCUID: core.$constructor<ZodMiniCUID>;\\n/**\\n * Validates a CUID v1 string.\\n *\\n * @deprecated CUID v1 is deprecated by its authors due to information leakage\\n * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.\\n * See https://github.com/paralleldrive/cuid.\\n */\\nexport declare function cuid(params?: string | core.$ZodCUIDParams): ZodMiniCUID;\\nexport interface ZodMiniCUID2 extends _ZodMiniString<core.$ZodCUID2Internals> {\\n}\\nexport declare const ZodMiniCUID2: core.$constructor<ZodMiniCUID2>;\\nexport declare function cuid2(params?: string | core.$ZodCUID2Params): ZodMiniCUID2;\\nexport interface ZodMiniULID extends _ZodMiniString<core.$ZodULIDInternals> {\\n}\\nexport declare const ZodMiniULID: core.$constructor<ZodMiniULID>;\\nexport declare function ulid(params?: string | core.$ZodULIDParams): ZodMiniULID;\\nexport interface ZodMiniXID extends _ZodMiniString<core.$ZodXIDInternals> {\\n}\\nexport declare const ZodMiniXID: core.$constructor<ZodMiniXID>;\\nexport declare function xid(params?: string | core.$ZodXIDParams): ZodMiniXID;\\nexport interface ZodMiniKSUID extends _ZodMiniString<core.$ZodKSUIDInternals> {\\n}\\nexport declare const ZodMiniKSUID: core.$constructor<ZodMiniKSUID>;\\nexport declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodMiniKSUID;\\nexport interface ZodMiniIPv4 extends _ZodMiniString<core.$ZodIPv4Internals> {\\n}\\nexport declare const ZodMiniIPv4: core.$constructor<ZodMiniIPv4>;\\nexport declare function ipv4(params?: string | core.$ZodIPv4Params): ZodMiniIPv4;\\nexport interface ZodMiniIPv6 extends _ZodMiniString<core.$ZodIPv6Internals> {\\n}\\nexport declare const ZodMiniIPv6: core.$constructor<ZodMiniIPv6>;\\nexport declare function ipv6(params?: string | core.$ZodIPv6Params): ZodMiniIPv6;\\nexport interface ZodMiniCIDRv4 extends _ZodMiniString<core.$ZodCIDRv4Internals> {\\n}\\nexport declare const ZodMiniCIDRv4: core.$constructor<ZodMiniCIDRv4>;\\nexport declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodMiniCIDRv4;\\nexport interface ZodMiniCIDRv6 extends _ZodMiniString<core.$ZodCIDRv6Internals> {\\n}\\nexport declare const ZodMiniCIDRv6: core.$constructor<ZodMiniCIDRv6>;\\nexport declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodMiniCIDRv6;\\nexport interface ZodMiniMAC extends _ZodMiniString<core.$ZodMACInternals> {\\n}\\nexport declare const ZodMiniMAC: core.$constructor<ZodMiniMAC>;\\nexport declare function mac(params?: string | core.$ZodMACParams): ZodMiniMAC;\\nexport interface ZodMiniBase64 extends _ZodMiniString<core.$ZodBase64Internals> {\\n}\\nexport declare const ZodMiniBase64: core.$constructor<ZodMiniBase64>;\\nexport declare function base64(params?: string | core.$ZodBase64Params): ZodMiniBase64;\\nexport interface ZodMiniBase64URL extends _ZodMiniString<core.$ZodBase64URLInternals> {\\n}\\nexport declare const ZodMiniBase64URL: core.$constructor<ZodMiniBase64URL>;\\nexport declare function base64url(params?: string | core.$ZodBase64URLParams): ZodMiniBase64URL;\\nexport interface ZodMiniE164 extends _ZodMiniString<core.$ZodE164Internals> {\\n}\\nexport declare const ZodMiniE164: core.$constructor<ZodMiniE164>;\\nexport declare function e164(params?: string | core.$ZodE164Params): ZodMiniE164;\\nexport interface ZodMiniCreditCard extends _ZodMiniString<core.$ZodCreditCardInternals> {\\n}\\nexport declare const ZodMiniCreditCard: core.$constructor<ZodMiniCreditCard>;\\nexport declare function creditCard(params?: string | core.$ZodCreditCardParams): ZodMiniCreditCard;\\nexport interface ZodMiniIBAN extends _ZodMiniString<core.$ZodIBANInternals> {\\n}\\nexport declare const ZodMiniIBAN: core.$constructor<ZodMiniIBAN>;\\nexport declare function iban(params?: string | core.$ZodIBANParams): ZodMiniIBAN;\\nexport interface ZodMiniJWT extends _ZodMiniString<core.$ZodJWTInternals> {\\n}\\nexport declare const ZodMiniJWT: core.$constructor<ZodMiniJWT>;\\nexport declare function jwt(params?: string | core.$ZodJWTParams): ZodMiniJWT;\\nexport interface ZodMiniCustomStringFormat<Format extends string = string> extends ZodMiniStringFormat<Format>, core.$ZodCustomStringFormat<Format> {\\n _zod: core.$ZodCustomStringFormatInternals<Format>;\\n}\\nexport declare const ZodMiniCustomStringFormat: core.$constructor<ZodMiniCustomStringFormat>;\\nexport declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<Format>;\\nexport declare function hostname(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<\\"hostname\\">;\\nexport declare function hex(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<\\"hex\\">;\\nexport declare function currencyCode(_params?: string | core.$ZodStringFormatParams): ZodMiniCustomStringFormat<\\"currency_code\\">;\\nexport declare function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = \\"hex\\">(alg: Alg, params?: {\\n enc?: Enc;\\n} & core.$ZodStringFormatParams): ZodMiniCustomStringFormat<`${Alg}_${Enc}`>;\\ninterface _ZodMiniNumber<T extends core.$ZodNumberInternals<unknown> = core.$ZodNumberInternals<unknown>> extends _ZodMiniType<T>, core.$ZodNumber<T[\\"input\\"]> {\\n _zod: T;\\n}\\nexport interface ZodMiniNumber<Input = unknown> extends _ZodMiniNumber<core.$ZodNumberInternals<Input>>, core.$ZodNumber<Input> {\\n}\\nexport declare const ZodMiniNumber: core.$constructor<ZodMiniNumber>;\\nexport declare function number(params?: string | core.$ZodNumberParams): ZodMiniNumber<number>;\\nexport interface ZodMiniNumberFormat<Format extends core.$ZodNumberFormats = core.$ZodNumberFormats> extends _ZodMiniNumber<core.$ZodNumberFormatInternals<Format>>, core.$ZodNumberFormat<Format> {\\n}\\nexport declare const ZodMiniNumberFormat: core.$constructor<ZodMiniNumberFormat>;\\nexport interface ZodMiniInt extends ZodMiniNumberFormat<\\"safeint\\"> {\\n}\\nexport declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt;\\nexport interface ZodMiniFloat32 extends ZodMiniNumberFormat<\\"float32\\"> {\\n}\\nexport declare function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat32;\\nexport interface ZodMiniFloat64 extends ZodMiniNumberFormat<\\"float64\\"> {\\n}\\nexport declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniFloat64;\\nexport interface ZodMiniInt32 extends ZodMiniNumberFormat<\\"int32\\"> {\\n}\\nexport declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniInt32;\\nexport interface ZodMiniUInt32 extends ZodMiniNumberFormat<\\"uint32\\"> {\\n}\\nexport declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodMiniUInt32;\\nexport interface ZodMiniBoolean<T = unknown> extends _ZodMiniType<core.$ZodBooleanInternals<T>> {\\n}\\nexport declare const ZodMiniBoolean: core.$constructor<ZodMiniBoolean>;\\nexport declare function boolean(params?: string | core.$ZodBooleanParams): ZodMiniBoolean<boolean>;\\nexport interface ZodMiniBigInt<T = unknown> extends _ZodMiniType<core.$ZodBigIntInternals<T>>, core.$ZodBigInt<T> {\\n}\\nexport declare const ZodMiniBigInt: core.$constructor<ZodMiniBigInt>;\\nexport declare function bigint(params?: string | core.$ZodBigIntParams): ZodMiniBigInt<bigint>;\\nexport interface ZodMiniBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends _ZodMiniType<core.$ZodBigIntFormatInternals<Format>> {\\n}\\nexport declare const ZodMiniBigIntFormat: core.$constructor<ZodMiniBigIntFormat>;\\nexport interface ZodMiniInt64 extends ZodMiniBigIntFormat<\\"int64\\"> {\\n}\\nexport declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodMiniInt64;\\nexport interface ZodMiniUInt64 extends ZodMiniBigIntFormat<\\"uint64\\"> {\\n}\\nexport declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodMiniUInt64;\\nexport interface ZodMiniSymbol extends _ZodMiniType<core.$ZodSymbolInternals> {\\n}\\nexport declare const ZodMiniSymbol: core.$constructor<ZodMiniSymbol>;\\nexport declare function symbol(params?: string | core.$ZodSymbolParams): ZodMiniSymbol;\\nexport interface ZodMiniUndefined extends _ZodMiniType<core.$ZodUndefinedInternals> {\\n}\\nexport declare const ZodMiniUndefined: core.$constructor<ZodMiniUndefined>;\\ndeclare function _undefined(params?: string | core.$ZodUndefinedParams): ZodMiniUndefined;\\nexport { _undefined as undefined };\\nexport interface ZodMiniNull extends _ZodMiniType<core.$ZodNullInternals> {\\n}\\nexport declare const ZodMiniNull: core.$constructor<ZodMiniNull>;\\ndeclare function _null(params?: string | core.$ZodNullParams): ZodMiniNull;\\nexport { _null as null };\\nexport interface ZodMiniAny extends _ZodMiniType<core.$ZodAnyInternals> {\\n}\\nexport declare const ZodMiniAny: core.$constructor<ZodMiniAny>;\\nexport declare function any(): ZodMiniAny;\\nexport interface ZodMiniUnknown extends _ZodMiniType<core.$ZodUnknownInternals> {\\n}\\nexport declare const ZodMiniUnknown: core.$constructor<ZodMiniUnknown>;\\nexport declare function unknown(): ZodMiniUnknown;\\nexport interface ZodMiniNever extends _ZodMiniType<core.$ZodNeverInternals> {\\n}\\nexport declare const ZodMiniNever: core.$constructor<ZodMiniNever>;\\nexport declare function never(params?: string | core.$ZodNeverParams): ZodMiniNever;\\nexport interface ZodMiniVoid extends _ZodMiniType<core.$ZodVoidInternals> {\\n}\\nexport declare const ZodMiniVoid: core.$constructor<ZodMiniVoid>;\\ndeclare function _void(params?: string | core.$ZodVoidParams): ZodMiniVoid;\\nexport { _void as void };\\nexport interface ZodMiniDate<T = unknown> extends _ZodMiniType<core.$ZodDateInternals<T>> {\\n}\\nexport declare const ZodMiniDate: core.$constructor<ZodMiniDate>;\\nexport declare function date(params?: string | core.$ZodDateParams): ZodMiniDate<Date>;\\nexport interface ZodMiniArray<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodArrayInternals<T>>, core.$ZodArray<T> {\\n}\\nexport declare const ZodMiniArray: core.$constructor<ZodMiniArray>;\\nexport declare function array<T extends SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodMiniArray<T>;\\nexport declare function keyof<T extends ZodMiniObject>(schema: T): ZodMiniEnum<util.KeysEnum<T[\\"shape\\"]>>;\\nexport interface ZodMiniObject<\\n/** @ts-ignore Cast variance */\\nout Shape extends core.$ZodShape = core.$ZodShape, out Config extends core.$ZodObjectConfig = core.$strip> extends ZodMiniType<any, any, core.$ZodObjectInternals<Shape, Config>>, core.$ZodObject<Shape, Config> {\\n shape: Shape;\\n}\\nexport declare const ZodMiniObject: core.$constructor<ZodMiniObject>;\\nexport declare function object<T extends core.$ZodLooseShape = Record<never, SomeType>>(shape?: T, params?: string | core.$ZodObjectParams): ZodMiniObject<util.Writeable<T>, core.$strip>;\\nexport declare function strictObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodMiniObject<util.Writeable<T>, core.$strict>;\\nexport declare function looseObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodMiniObject<util.Writeable<T>, core.$loose>;\\nexport declare function extend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(schema: T, shape: U): ZodMiniObject<util.Extend<T[\\"shape\\"], util.Writeable<U>>, T[\\"_zod\\"][\\"config\\"]>;\\nexport type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {\\n [K in keyof Ext]: K extends keyof Base ? core.output<Ext[K]> extends core.output<Base[K]> ? core.input<Ext[K]> extends core.input<Base[K]> ? Ext[K] : never : never : Ext[K];\\n};\\nexport declare function safeExtend<T extends ZodMiniObject, U extends core.$ZodLooseShape>(schema: T, shape: SafeExtendShape<T[\\"shape\\"], U>): ZodMiniObject<util.Extend<T[\\"shape\\"], util.Writeable<U>>, T[\\"_zod\\"][\\"config\\"]>;\\n/**\\n * @deprecated Use [`z.extend(A, B.shape)`](https://zod.dev/api?id=extend) instead.\\n */\\nexport declare function merge<T extends ZodMiniObject, U extends ZodMiniObject>(a: T, b: U): ZodMiniObject<util.Extend<T[\\"shape\\"], U[\\"shape\\"]>, U[\\"_zod\\"][\\"config\\"]>;\\nexport declare function pick<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<util.Flatten<Pick<T[\\"shape\\"], keyof T[\\"shape\\"] & keyof M>>, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function omit<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<util.Flatten<Omit<T[\\"shape\\"], keyof M>>, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function partial<T extends ZodMiniObject>(schema: T): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: ZodMiniOptional<T[\\"shape\\"][k]>;\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function partial<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: k extends keyof M ? ZodMiniOptional<T[\\"shape\\"][k]> : T[\\"shape\\"][k];\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function partial<T extends util.TupleItems, Rest extends SomeType | null>(schema: ZodMiniTuple<T, Rest>): ZodMiniTuple<{\\n -readonly [k in keyof T]: ZodMiniOptional<T[k]>;\\n}, Rest>;\\nexport declare function exactPartial<T extends ZodMiniObject>(schema: T): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: ZodMiniExactOptional<T[\\"shape\\"][k]>;\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function exactPartial<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: k extends keyof M ? ZodMiniExactOptional<T[\\"shape\\"][k]> : T[\\"shape\\"][k];\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport type RequiredInterfaceShape<Shape extends core.$ZodLooseShape, Keys extends PropertyKey = keyof Shape> = util.Identity<{\\n [k in keyof Shape as k extends Keys ? k : never]: ZodMiniNonOptional<Shape[k]>;\\n} & {\\n [k in keyof Shape as k extends Keys ? never : k]: Shape[k];\\n}>;\\nexport declare function required<T extends ZodMiniObject>(schema: T): ZodMiniObject<{\\n -readonly [k in keyof T[\\"shape\\"]]: ZodMiniNonOptional<T[\\"shape\\"][k]>;\\n}, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function required<T extends ZodMiniObject, M extends util.Mask<keyof T[\\"shape\\"]>>(schema: T, mask: M & Record<Exclude<keyof M, keyof T[\\"shape\\"]>, never>): ZodMiniObject<util.Extend<T[\\"shape\\"], {\\n [k in keyof M & keyof T[\\"shape\\"]]: ZodMiniNonOptional<T[\\"shape\\"][k]>;\\n}>, T[\\"_zod\\"][\\"config\\"]>;\\nexport declare function catchall<T extends ZodMiniObject, U extends SomeType>(inst: T, catchall: U): ZodMiniObject<T[\\"shape\\"], core.$catchall<U>>;\\nexport interface ZodMiniUnion<T extends readonly SomeType[] = readonly core.$ZodType[]> extends _ZodMiniType<core.$ZodUnionInternals<T>> {\\n}\\nexport declare const ZodMiniUnion: core.$constructor<ZodMiniUnion>;\\nexport declare function union<const T extends readonly SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodMiniUnion<T>;\\nexport interface ZodMiniXor<T extends readonly SomeType[] = readonly core.$ZodType[]> extends _ZodMiniType<core.$ZodXorInternals<T>> {\\n}\\nexport declare const ZodMiniXor: core.$constructor<ZodMiniXor>;\\n/** Creates an exclusive union (XOR) where exactly one option must match.\\n * Unlike regular unions that succeed when any option matches, xor fails if\\n * zero or more than one option matches the input. */\\nexport declare function xor<const T extends readonly SomeType[]>(options: T, params?: string | core.$ZodXorParams): ZodMiniXor<T>;\\nexport interface ZodMiniDiscriminatedUnion<Options extends readonly SomeType[] = readonly core.$ZodType[], Disc extends string = string> extends ZodMiniUnion<Options> {\\n _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;\\n}\\nexport declare const ZodMiniDiscriminatedUnion: core.$constructor<ZodMiniDiscriminatedUnion>;\\nexport declare function discriminatedUnion<Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]], Disc extends string>(discriminator: Disc, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodMiniDiscriminatedUnion<Types, Disc>;\\nexport interface ZodMiniIntersection<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodIntersectionInternals<A, B>> {\\n}\\nexport declare const ZodMiniIntersection: core.$constructor<ZodMiniIntersection>;\\nexport declare function intersection<T extends SomeType, U extends SomeType>(left: T, right: U): ZodMiniIntersection<T, U>;\\nexport interface ZodMiniTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends SomeType | null = core.$ZodType | null> extends _ZodMiniType<core.$ZodTupleInternals<T, Rest>> {\\n}\\nexport declare const ZodMiniTuple: core.$constructor<ZodMiniTuple>;\\nexport declare function tuple<const T extends readonly [SomeType, ...SomeType[]]>(items: T, params?: string | core.$ZodTupleParams): ZodMiniTuple<T, null>;\\nexport declare function tuple<const T extends readonly [SomeType, ...SomeType[]], Rest extends SomeType>(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodMiniTuple<T, Rest>;\\nexport declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodMiniTuple<[], null>;\\nexport interface ZodMiniRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodRecordInternals<Key, Value>> {\\n}\\nexport declare const ZodMiniRecord: core.$constructor<ZodMiniRecord>;\\nexport declare function record<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<Key, Value>;\\nexport declare function partialRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<Key & core.$partial, Value>;\\nexport declare function looseRecord<Key extends core.$ZodRecordKey, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodMiniRecord<Key, Value>;\\nexport interface ZodMiniMap<Key extends SomeType = core.$ZodType, Value extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodMapInternals<Key, Value>> {\\n}\\nexport declare const ZodMiniMap: core.$constructor<ZodMiniMap>;\\nexport declare function map<Key extends SomeType, Value extends SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMiniMap<Key, Value>;\\nexport interface ZodMiniSet<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSetInternals<T>> {\\n}\\nexport declare const ZodMiniSet: core.$constructor<ZodMiniSet>;\\nexport declare function set<Value extends SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodMiniSet<Value>;\\nexport interface ZodMiniEnum<T extends util.EnumLike = util.EnumLike> extends _ZodMiniType<core.$ZodEnumInternals<T>> {\\n options: Array<T[keyof T]>;\\n}\\nexport declare const ZodMiniEnum: core.$constructor<ZodMiniEnum>;\\ndeclare function _enum<const T extends readonly string[]>(values: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<util.ToEnum<T[number]>>;\\ndeclare function _enum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;\\nexport { _enum as enum };\\n/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.\\n *\\n * ```ts\\n * enum Colors { red, green, blue }\\n * z.enum(Colors);\\n * ```\\n */\\nexport declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodMiniEnum<T>;\\nexport interface ZodMiniLiteral<T extends util.Literal = util.Literal> extends _ZodMiniType<core.$ZodLiteralInternals<T>> {\\n}\\nexport declare const ZodMiniLiteral: core.$constructor<ZodMiniLiteral>;\\nexport declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral<T[number]>;\\nexport declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodMiniLiteral<T>;\\nexport interface ZodMiniFile extends _ZodMiniType<core.$ZodFileInternals> {\\n}\\nexport declare const ZodMiniFile: core.$constructor<ZodMiniFile>;\\nexport declare function file(params?: string | core.$ZodFileParams): ZodMiniFile;\\nexport interface ZodMiniTransform<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodTransformInternals<O, I>> {\\n}\\nexport declare const ZodMiniTransform: core.$constructor<ZodMiniTransform>;\\nexport declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.ParsePayload) => O): ZodMiniTransform<Awaited<O>, I>;\\nexport interface ZodMiniOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {\\n}\\nexport declare const ZodMiniOptional: core.$constructor<ZodMiniOptional>;\\nexport declare function optional<T extends SomeType>(innerType: T): ZodMiniOptional<T>;\\nexport interface ZodMiniExactOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodExactOptionalInternals<T>>, core.$ZodExactOptional<T> {\\n}\\nexport declare const ZodMiniExactOptional: core.$constructor<ZodMiniExactOptional>;\\nexport declare function exactOptional<T extends SomeType>(innerType: T): ZodMiniExactOptional<T>;\\nexport interface ZodMiniNullable<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNullableInternals<T>> {\\n}\\nexport declare const ZodMiniNullable: core.$constructor<ZodMiniNullable>;\\nexport declare function nullable<T extends SomeType>(innerType: T): ZodMiniNullable<T>;\\nexport declare function nullish<T extends SomeType>(innerType: T): ZodMiniOptional<ZodMiniNullable<T>>;\\nexport interface ZodMiniDefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodDefaultInternals<T>> {\\n}\\nexport declare const ZodMiniDefault: core.$constructor<ZodMiniDefault>;\\nexport declare function _default<T extends SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodMiniDefault<T>;\\nexport interface ZodMiniPrefault<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPrefaultInternals<T>> {\\n}\\nexport declare const ZodMiniPrefault: core.$constructor<ZodMiniPrefault>;\\nexport declare function prefault<T extends SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodMiniPrefault<T>;\\nexport interface ZodMiniNonOptional<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodNonOptionalInternals<T>> {\\n}\\nexport declare const ZodMiniNonOptional: core.$constructor<ZodMiniNonOptional>;\\nexport declare function nonoptional<T extends SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodMiniNonOptional<T>;\\nexport interface ZodMiniSuccess<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodSuccessInternals<T>> {\\n}\\nexport declare const ZodMiniSuccess: core.$constructor<ZodMiniSuccess>;\\nexport declare function success<T extends SomeType>(innerType: T): ZodMiniSuccess<T>;\\nexport interface ZodMiniCatch<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodCatchInternals<T>> {\\n}\\nexport declare const ZodMiniCatch: core.$constructor<ZodMiniCatch>;\\ndeclare function _catch<T extends SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodMiniCatch<T>;\\nexport { _catch as catch };\\nexport interface ZodMiniNaN extends _ZodMiniType<core.$ZodNaNInternals> {\\n}\\nexport declare const ZodMiniNaN: core.$constructor<ZodMiniNaN>;\\nexport declare function nan(params?: string | core.$ZodNaNParams): ZodMiniNaN;\\nexport interface ZodMiniPipe<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPipeInternals<A, B>> {\\n}\\nexport declare const ZodMiniPipe: core.$constructor<ZodMiniPipe>;\\nexport declare function pipe<const A extends SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodMiniPipe<A, B>;\\nexport interface ZodMiniCodec<A extends SomeType = core.$ZodType, B extends SomeType = core.$ZodType> extends ZodMiniPipe<A, B>, core.$ZodCodec<A, B> {\\n _zod: core.$ZodCodecInternals<A, B>;\\n def: core.$ZodCodecDef<A, B>;\\n}\\nexport declare const ZodMiniCodec: core.$constructor<ZodMiniCodec>;\\nexport declare function codec<const A extends SomeType, B extends core.SomeType = core.$ZodType>(in_: A, out: B, params: {\\n decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;\\n encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;\\n}): ZodMiniCodec<A, B>;\\nexport declare function invertCodec<A extends SomeType, B extends SomeType>(codec: ZodMiniCodec<A, B>): ZodMiniCodec<B, A>;\\nexport interface ZodMiniReadonly<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodReadonlyInternals<T>> {\\n}\\nexport declare const ZodMiniReadonly: core.$constructor<ZodMiniReadonly>;\\nexport declare function readonly<T extends SomeType>(innerType: T): ZodMiniReadonly<T>;\\nexport interface ZodMiniTemplateLiteral<Template extends string = string> extends _ZodMiniType<core.$ZodTemplateLiteralInternals<Template>> {\\n}\\nexport declare const ZodMiniTemplateLiteral: core.$constructor<ZodMiniTemplateLiteral>;\\nexport declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodMiniTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;\\nexport interface ZodMiniLazy<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodLazyInternals<T>> {\\n}\\nexport declare const ZodMiniLazy: core.$constructor<ZodMiniLazy>;\\ndeclare function _lazy<T extends SomeType>(getter: () => T): ZodMiniLazy<T>;\\nexport { _lazy as lazy };\\nexport interface ZodMiniPromise<T extends SomeType = core.$ZodType> extends _ZodMiniType<core.$ZodPromiseInternals<T>> {\\n}\\nexport declare const ZodMiniPromise: core.$constructor<ZodMiniPromise>;\\nexport declare function promise<T extends SomeType>(innerType: T): ZodMiniPromise<T>;\\nexport interface ZodMiniCustom<O = unknown, I = unknown> extends _ZodMiniType<core.$ZodCustomInternals<O, I>> {\\n}\\nexport declare const ZodMiniCustom: core.$constructor<ZodMiniCustom>;\\nexport declare function check<O = unknown>(fn: core.CheckFn<O>, params?: string | core.$ZodCustomParams): core.$ZodCheck<O>;\\nexport declare function custom<O = unknown, I = O>(fn?: (data: O) => unknown, _params?: string | core.$ZodCustomParams | undefined): ZodMiniCustom<O, I>;\\nexport declare function refine<T>(fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>, _params?: string | core.$ZodCustomParams): core.$ZodCheck<T>;\\nexport declare function superRefine<T>(fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): core.$ZodCheck<T>;\\nexport declare const describe: typeof core.describe;\\nexport declare const meta: typeof core.meta;\\ndeclare abstract class Class {\\n constructor(..._args: any[]);\\n}\\ndeclare function _instanceof<T extends typeof Class>(cls: T, params?: core.$ZodCustomParams): ZodMiniCustom<InstanceType<T>, InstanceType<T>>;\\nexport { _instanceof as instanceof };\\nexport declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodMiniCodec<ZodMiniString, ZodMiniBoolean>;\\nexport type _ZodMiniJSONSchema = ZodMiniUnion<[\\n ZodMiniString,\\n ZodMiniNumber,\\n ZodMiniBoolean,\\n ZodMiniNull,\\n ZodMiniArray<ZodMiniJSONSchema>,\\n ZodMiniRecord<ZodMiniString<string>, ZodMiniJSONSchema>\\n]>;\\nexport type _ZodMiniJSONSchemaInternals = _ZodMiniJSONSchema[\\"_zod\\"];\\nexport interface ZodMiniJSONSchemaInternals extends _ZodMiniJSONSchemaInternals {\\n output: util.JSONType;\\n input: util.JSONType;\\n}\\nexport interface ZodMiniJSONSchema extends _ZodMiniJSONSchema {\\n _zod: ZodMiniJSONSchemaInternals;\\n}\\nexport declare function json(): ZodMiniJSONSchema;\\nexport interface ZodMiniFunction<Args extends core.$ZodFunctionIn = core.$ZodFunctionIn, Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut> extends _ZodMiniType<core.$ZodFunctionInternals<Args, Returns>>, core.$ZodFunction<Args, Returns> {\\n _def: core.$ZodFunctionDef<Args, Returns>;\\n _input: core.$InferInnerFunctionType<Args, Returns>;\\n _output: core.$InferOuterFunctionType<Args, Returns>;\\n input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(args: Items, rest?: Rest): ZodMiniFunction<ZodMiniTuple<Items, Rest>, Returns>;\\n input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodMiniFunction<NewArgs, Returns>;\\n input(...args: any[]): ZodMiniFunction<any, Returns>;\\n output<NewReturns extends core.$ZodFunctionOut>(output: NewReturns): ZodMiniFunction<Args, NewReturns>;\\n}\\nexport declare const ZodMiniFunction: core.$constructor<ZodMiniFunction>;\\nexport declare function _function(): ZodMiniFunction;\\nexport declare function _function<const In extends Array<SomeType> = Array<SomeType>>(params: {\\n input: In;\\n}): ZodMiniFunction<ZodMiniTuple<In, null>, core.$ZodFunctionOut>;\\nexport declare function _function<const In extends Array<SomeType> = Array<SomeType>, const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n input: In;\\n output: Out;\\n}): ZodMiniFunction<ZodMiniTuple<In, null>, Out>;\\nexport declare function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {\\n input: In;\\n}): ZodMiniFunction<In, core.$ZodFunctionOut>;\\nexport declare function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {\\n output: Out;\\n}): ZodMiniFunction<core.$ZodFunctionIn, Out>;\\nexport declare function _function<In extends core.$ZodFunctionIn = core.$ZodFunctionIn, Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params?: {\\n input: In;\\n output: Out;\\n}): ZodMiniFunction<In, Out>;\\nexport { _function as function };\\n","file:///node_modules/zod/v4-mini/index.d.ts":"import * as z from \\"../v4/mini/external.js\\";\\nexport * from \\"../v4/mini/external.js\\";\\nexport { z };\\n"}')}]);
|