@r_masseater/masseater-utils 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (265) hide show
  1. package/README.md +1 -1
  2. package/dist/app-name.d.mts +1 -2
  3. package/dist/browser-test/vite.d.mts +1 -2
  4. package/dist/browser-test/vite.mjs +1 -1
  5. package/dist/{browser-test-vite-DS3fTcyM.mjs → browser-test-vite-DtB8cExi.mjs} +1 -1
  6. package/dist/{browser-test-vite-DS3fTcyM.mjs.map → browser-test-vite-DtB8cExi.mjs.map} +1 -1
  7. package/dist/{button-980Op0uF.mjs → button-Cu09f5VU.mjs} +4 -4
  8. package/dist/{button-980Op0uF.mjs.map → button-Cu09f5VU.mjs.map} +1 -1
  9. package/dist/{button-variants-BLMlMm-s.mjs → button-variants-BlDbQ4DD.mjs} +1 -1
  10. package/dist/{button-variants-BLMlMm-s.mjs.map → button-variants-BlDbQ4DD.mjs.map} +1 -1
  11. package/dist/{button-variants-Bupz7GI3.d.mts → button-variants-YGBhQ_mb.d.mts} +1 -2
  12. package/dist/{client-BS-MCJ0I.mjs → client-DX2jXirb.mjs} +39 -42
  13. package/dist/client-DX2jXirb.mjs.map +1 -0
  14. package/dist/{cn-DtxpfSUK.mjs → cn-COS9Py_F.mjs} +1 -1
  15. package/dist/{cn-DtxpfSUK.mjs.map → cn-COS9Py_F.mjs.map} +1 -1
  16. package/dist/{context-B_4aJtEC.mjs → context-COCO-Ecg.mjs} +1 -1
  17. package/dist/{context-B_4aJtEC.mjs.map → context-COCO-Ecg.mjs.map} +1 -1
  18. package/dist/desktop-shell/media-notes/protocol.d.mts +1 -1
  19. package/dist/desktop-shell/media-notes/protocol.mjs +1 -1
  20. package/dist/desktop-shell/media-notes.d.mts +5 -5
  21. package/dist/desktop-shell/media-notes.mjs +7 -7
  22. package/dist/desktop-shell/media-notes.mjs.map +1 -1
  23. package/dist/desktop-shell/release-cli.mjs +2 -2
  24. package/dist/desktop-shell/telemetry.d.mts +1 -2
  25. package/dist/desktop-shell/telemetry.mjs +2 -2
  26. package/dist/desktop-shell/vite.d.mts +1 -2
  27. package/dist/desktop-shell/vite.mjs +2 -2
  28. package/dist/effect2cs.d.mts +1 -2
  29. package/dist/effect2rs.d.mts +2 -3
  30. package/dist/effect2rs.mjs +4 -4
  31. package/dist/{failure-CjeINRVu.mjs → failure-BhLz69b6.mjs} +1 -1
  32. package/dist/{failure-CjeINRVu.mjs.map → failure-BhLz69b6.mjs.map} +1 -1
  33. package/dist/github-workflow.d.mts +2 -3
  34. package/dist/github-workflow.mjs +1 -1
  35. package/dist/{headers-Cr6gAurg.mjs → headers-Bpv9DhNS.mjs} +2 -2
  36. package/dist/{headers-Cr6gAurg.mjs.map → headers-Bpv9DhNS.mjs.map} +1 -1
  37. package/dist/{headers-BK-aW9Kw.d.mts → headers-NUwRihYD.d.mts} +1 -2
  38. package/dist/{heading-class-H4Z13Bpn.mjs → heading-class-Cj0jHgsZ.mjs} +1 -1
  39. package/dist/{heading-class-H4Z13Bpn.mjs.map → heading-class-Cj0jHgsZ.mjs.map} +1 -1
  40. package/dist/{heading-class-CDq0WZpR.d.mts → heading-class-DPbs-YiQ.d.mts} +1 -2
  41. package/dist/hook-flags.d.mts +1 -2
  42. package/dist/{index-CeVmiNfF.d.mts → index-1-4t9rX2.d.mts} +2 -3
  43. package/dist/{index-KNezbJnC.d.mts → index-2z0Rr69i.d.mts} +1 -2
  44. package/dist/{index-ChbPLmqu.d.mts → index-8ZrDzBaY.d.mts} +1 -2
  45. package/dist/{index-CjUS4pmA.d.mts → index-B9MYxbAp.d.mts} +2 -3
  46. package/dist/{index-BkZOsFv4.d.mts → index-BhIR7Vrb.d.mts} +1 -2
  47. package/dist/index-Cz3K0tg_.d.mts +3 -0
  48. package/dist/index-DJGZKGut.d.mts +5 -0
  49. package/dist/{index-CLb1-l_c.d.mts → index-DeL_mxdJ.d.mts} +2 -3
  50. package/dist/index-DgofHxew.d.mts +1 -0
  51. package/dist/{index-Cb8YSEwo.d.mts → index-DmIMnqv8.d.mts} +1 -2
  52. package/dist/kestrion/node.d.mts +1 -2
  53. package/dist/kestrion/npm.d.mts +2 -3
  54. package/dist/kestrion/npm.mjs +1 -1
  55. package/dist/kestrion/pnpm.d.mts +2 -3
  56. package/dist/kestrion/pnpm.mjs +4 -4
  57. package/dist/kestrion.d.mts +1 -1
  58. package/dist/kestrion.mjs +1 -1
  59. package/dist/lapse/sdk.d.mts +1 -2
  60. package/dist/lapse.d.mts +2 -3
  61. package/dist/lapse.mjs +1 -1
  62. package/dist/local-server/node.d.mts +2 -3
  63. package/dist/local-server/node.mjs +3 -3
  64. package/dist/local-server/node.mjs.map +1 -1
  65. package/dist/local-server/serve.d.mts +1 -2
  66. package/dist/local-server.d.mts +2 -3
  67. package/dist/local-server.mjs +1 -1
  68. package/dist/mapped-import/mapper.d.mts +2 -3
  69. package/dist/mapped-import/vite.d.mts +1 -2
  70. package/dist/mapped-import/vite.mjs +1 -1
  71. package/dist/mapped-import.d.mts +1 -1
  72. package/dist/{media-protocol-CMyatw7A.mjs → media-protocol-Buk1x3Gb.mjs} +1 -1
  73. package/dist/{media-protocol-CMyatw7A.mjs.map → media-protocol-Buk1x3Gb.mjs.map} +1 -1
  74. package/dist/model-server/process.mjs +7 -7
  75. package/dist/model-server/process.mjs.map +1 -1
  76. package/dist/model-server.d.mts +423 -102
  77. package/dist/model-server.mjs +1 -1
  78. package/dist/model-server.mjs.map +1 -1
  79. package/dist/{node-main-Bwril94o.mjs → node-main-BrhzkUvP.mjs} +1 -1
  80. package/dist/{node-main-Bwril94o.mjs.map → node-main-BrhzkUvP.mjs.map} +1 -1
  81. package/dist/node-main.d.mts +2 -3
  82. package/dist/node-main.mjs +2 -2
  83. package/dist/{normalize-CogX79EO.mjs → normalize-CboffJzv.mjs} +1 -1
  84. package/dist/{normalize-CogX79EO.mjs.map → normalize-CboffJzv.mjs.map} +1 -1
  85. package/dist/{otlp-ohapzeFh.mjs → otlp-DwZqQqjc.mjs} +1 -1
  86. package/dist/{otlp-ohapzeFh.mjs.map → otlp-DwZqQqjc.mjs.map} +1 -1
  87. package/dist/{otlp-schema-CDBPGJ5s.mjs → otlp-schema-DcYNaxGn.mjs} +1 -1
  88. package/dist/{otlp-schema-CDBPGJ5s.mjs.map → otlp-schema-DcYNaxGn.mjs.map} +1 -1
  89. package/dist/{otlp-spans-D88555DO.mjs → otlp-spans-BF7m_C1W.mjs} +2 -2
  90. package/dist/{otlp-spans-D88555DO.mjs.map → otlp-spans-BF7m_C1W.mjs.map} +1 -1
  91. package/dist/{package-json-CYRyaF9U.mjs → package-json-CdnNcBLT.mjs} +1 -1
  92. package/dist/{package-json-CYRyaF9U.mjs.map → package-json-CdnNcBLT.mjs.map} +1 -1
  93. package/dist/plugin-kit.d.mts +3 -4
  94. package/dist/plugin-kit.mjs +1 -1
  95. package/dist/plugin-kit.mjs.map +1 -1
  96. package/dist/{portfolio-BQJtJtfK.mjs → portfolio-VMbxOrAS.mjs} +1 -1
  97. package/dist/{portfolio-BQJtJtfK.mjs.map → portfolio-VMbxOrAS.mjs.map} +1 -1
  98. package/dist/{process-_W_7DeKe.d.mts → process-BHJEIAWo.d.mts} +1 -2
  99. package/dist/{process-lKS6nYWh.mjs → process-l69KvwcT.mjs} +1 -1
  100. package/dist/{process-lKS6nYWh.mjs.map → process-l69KvwcT.mjs.map} +1 -1
  101. package/dist/process.d.mts +1 -1
  102. package/dist/process.mjs +1 -1
  103. package/dist/{receive-S2txZwcV.mjs → receive-o3h4RxCi.mjs} +1 -1
  104. package/dist/{receive-S2txZwcV.mjs.map → receive-o3h4RxCi.mjs.map} +1 -1
  105. package/dist/{route-handlers-Cn3O2hmf.mjs → route-handlers-CKVY2bqC.mjs} +1 -1
  106. package/dist/{route-handlers-Cn3O2hmf.mjs.map → route-handlers-CKVY2bqC.mjs.map} +1 -1
  107. package/dist/{route-handlers-E2lwhaAf.d.mts → route-handlers-DAmv3iMD.d.mts} +1 -2
  108. package/dist/{run-D59Owiv1.d.mts → run-C1nPjDih.d.mts} +1 -2
  109. package/dist/{run-Cc5W9mi8.mjs → run-DKB2KSjp.mjs} +2 -2
  110. package/dist/{run-Cc5W9mi8.mjs.map → run-DKB2KSjp.mjs.map} +1 -1
  111. package/dist/{run-main-BD4uT8sr.mjs → run-main-Chtieg-p.mjs} +7 -7
  112. package/dist/run-main-Chtieg-p.mjs.map +1 -0
  113. package/dist/security-headers/http.d.mts +2 -3
  114. package/dist/security-headers/http.mjs +1 -1
  115. package/dist/security-headers/request.d.mts +1 -2
  116. package/dist/security-headers/response.d.mts +1 -2
  117. package/dist/security-headers/response.mjs +1 -1
  118. package/dist/security-headers/static.d.mts +1 -1
  119. package/dist/security-headers/static.mjs +1 -1
  120. package/dist/security-headers/vite.d.mts +1 -1
  121. package/dist/security-headers/vite.mjs +1 -1
  122. package/dist/security-headers.d.mts +3 -3
  123. package/dist/security-headers.mjs +2 -2
  124. package/dist/skerm.d.mts +1 -2
  125. package/dist/{socket-port-CTg-qfiP.mjs → socket-port-Cq7YKLFS.mjs} +1 -1
  126. package/dist/{socket-port-CTg-qfiP.mjs.map → socket-port-Cq7YKLFS.mjs.map} +1 -1
  127. package/dist/{span-BKjRu617.mjs → span-BK0kTs11.mjs} +2 -2
  128. package/dist/{span-BKjRu617.mjs.map → span-BK0kTs11.mjs.map} +1 -1
  129. package/dist/{static-page-headers-_B0WGkew.mjs → static-page-headers-muClDOhu.mjs} +2 -2
  130. package/dist/{static-page-headers-_B0WGkew.mjs.map → static-page-headers-muClDOhu.mjs.map} +1 -1
  131. package/dist/{sync-BkyZGGDA.mjs → sync-Ctl9b02O.mjs} +1 -1
  132. package/dist/{sync-BkyZGGDA.mjs.map → sync-Ctl9b02O.mjs.map} +1 -1
  133. package/dist/{table-class-BeiCXlFj.d.mts → table-class-B6OCkS3k.d.mts} +1 -2
  134. package/dist/{table-class-RQvT6MYy.mjs → table-class-Ck9lRrm4.mjs} +1 -1
  135. package/dist/{table-class-RQvT6MYy.mjs.map → table-class-Ck9lRrm4.mjs.map} +1 -1
  136. package/dist/{telemetry-BEWIE8tU.d.mts → telemetry-D6lI0_F9.d.mts} +1 -2
  137. package/dist/ui/backdrop-palette.d.mts +1 -2
  138. package/dist/ui/badge.d.mts +1 -2
  139. package/dist/ui/badge.mjs +1 -1
  140. package/dist/ui/browser-runtime.d.mts +1 -2
  141. package/dist/ui/browser-runtime.mjs +1 -1
  142. package/dist/ui/button-variants.d.mts +1 -1
  143. package/dist/ui/button-variants.mjs +1 -1
  144. package/dist/ui/button.d.mts +3 -4
  145. package/dist/ui/button.mjs +1 -1
  146. package/dist/ui/cn.d.mts +1 -2
  147. package/dist/ui/cn.mjs +1 -1
  148. package/dist/ui/color-scheme.d.mts +1 -2
  149. package/dist/ui/heading-class.d.mts +1 -1
  150. package/dist/ui/heading-class.mjs +1 -1
  151. package/dist/ui/heading.d.mts +2 -3
  152. package/dist/ui/heading.mjs +1 -1
  153. package/dist/ui/input-class.d.mts +1 -2
  154. package/dist/ui/native-select-class.d.mts +1 -2
  155. package/dist/ui/next-page-trigger.d.mts +1 -2
  156. package/dist/ui/next-page-trigger.mjs +2 -2
  157. package/dist/ui/page-footer.d.mts +2 -3
  158. package/dist/ui/page-footer.mjs +1 -1
  159. package/dist/ui/page-header.d.mts +2 -3
  160. package/dist/ui/page-header.mjs +1 -1
  161. package/dist/ui/pointer.d.mts +1 -2
  162. package/dist/ui/portfolio.d.mts +1 -2
  163. package/dist/ui/portfolio.mjs +1 -1
  164. package/dist/ui/table-class.d.mts +1 -1
  165. package/dist/ui/table-class.mjs +1 -1
  166. package/dist/ui/table.d.mts +2 -3
  167. package/dist/ui/table.mjs +2 -2
  168. package/dist/ui/to-wavy-letters.d.mts +1 -2
  169. package/dist/ui/web-analytics.d.mts +3 -4
  170. package/dist/ui/web-analytics.mjs +1 -1
  171. package/dist/usage-meter/report.d.mts +2 -3
  172. package/dist/usage-meter/report.mjs +1 -1
  173. package/dist/{usage-meter-CmCceKx1.mjs → usage-meter-B196tKiM.mjs} +2 -2
  174. package/dist/{usage-meter-CmCceKx1.mjs.map → usage-meter-B196tKiM.mjs.map} +1 -1
  175. package/dist/usage-meter.d.mts +3 -4
  176. package/dist/usage-meter.mjs +2 -2
  177. package/dist/{usage-tally-C7zVBg75.d.mts → usage-tally-BBhBouif.d.mts} +1 -2
  178. package/dist/{usage-tally-FiAxcD-H.mjs → usage-tally-BD3f41V8.mjs} +1 -1
  179. package/dist/{usage-tally-FiAxcD-H.mjs.map → usage-tally-BD3f41V8.mjs.map} +1 -1
  180. package/dist/vitest-otlp/collector-files.d.mts +3 -4
  181. package/dist/vitest-otlp/collector-files.mjs +2 -2
  182. package/dist/vitest-otlp/semconv.d.mts +1 -2
  183. package/dist/vitest-otlp/semconv.mjs +2 -2
  184. package/dist/vitest-otlp/setup.mjs +4 -4
  185. package/dist/vitest-otlp/workers.d.mts +2 -3
  186. package/dist/vitest-otlp/workers.mjs +1 -1
  187. package/dist/{vitest-otlp-current-receiver-8c7rIP1N.mjs → vitest-otlp-current-receiver-Bh_4YbhT.mjs} +1 -1
  188. package/dist/{vitest-otlp-current-receiver-8c7rIP1N.mjs.map → vitest-otlp-current-receiver-Bh_4YbhT.mjs.map} +1 -1
  189. package/dist/{vitest-otlp-current-receiver-DphmM9Ha.d.mts → vitest-otlp-current-receiver-DSgQ3zo9.d.mts} +3 -4
  190. package/dist/vitest-otlp.d.mts +4 -5
  191. package/dist/vitest-otlp.mjs +3 -3
  192. package/dist/{web-analytics-Bz6nyJmQ.mjs → web-analytics-CondjbtC.mjs} +1 -1
  193. package/dist/{web-analytics-Bz6nyJmQ.mjs.map → web-analytics-CondjbtC.mjs.map} +1 -1
  194. package/dist/{web-analytics-BM9LdncT.d.mts → web-analytics-Cvs9PDoh.d.mts} +1 -2
  195. package/dist/workers-tracing/alchemy.d.mts +3 -4
  196. package/dist/workers-tracing/alchemy.mjs +3 -3
  197. package/dist/workers-tracing/browser-logs.d.mts +2 -3
  198. package/dist/workers-tracing/browser-logs.mjs +2 -2
  199. package/dist/workers-tracing/browser-spans.d.mts +2 -3
  200. package/dist/workers-tracing/browser-spans.mjs +2 -2
  201. package/dist/workers-tracing/effect.browser.d.mts +2 -3
  202. package/dist/workers-tracing/effect.browser.mjs +1 -1
  203. package/dist/workers-tracing/effect.d.mts +2 -3
  204. package/dist/workers-tracing/effect.mjs +3 -3
  205. package/dist/workers-tracing/elysia.d.mts +2 -3
  206. package/dist/workers-tracing/elysia.mjs +4 -4
  207. package/dist/workers-tracing/elysia.node.d.mts +1 -1
  208. package/dist/workers-tracing/elysia.node.mjs +1 -1
  209. package/dist/workers-tracing/tanstack-start.browser.d.mts +1 -2
  210. package/dist/workers-tracing/tanstack-start.d.mts +1 -2
  211. package/dist/workers-tracing/tanstack-start.mjs +3 -3
  212. package/dist/workers-tracing/trace-sink-worker.d.mts +1 -2
  213. package/dist/workers-tracing/trace-sink-worker.mjs +1 -1
  214. package/dist/workers-tracing/workers-ai.d.mts +1 -2
  215. package/dist/yohaku-protocol/sync.d.mts +1 -1
  216. package/dist/yohaku-protocol/sync.mjs +1 -1
  217. package/dist/yohaku-protocol.d.mts +1 -1
  218. package/dist/yohaku-protocol.mjs +1 -1
  219. package/native/desktop-shell/Cargo.toml +38 -0
  220. package/native/desktop-shell/src/app/builder.rs +39 -0
  221. package/native/desktop-shell/src/app/mod.rs +3 -0
  222. package/native/desktop-shell/src/entities/access_token.rs +77 -0
  223. package/native/desktop-shell/src/entities/mod.rs +1 -0
  224. package/native/desktop-shell/src/features/mod.rs +4 -0
  225. package/native/desktop-shell/src/features/record_telemetry/appender.rs +127 -0
  226. package/native/desktop-shell/src/features/record_telemetry/forwarder.rs +183 -0
  227. package/native/desktop-shell/src/features/record_telemetry/invoke.rs +80 -0
  228. package/native/desktop-shell/src/features/record_telemetry/mod.rs +231 -0
  229. package/native/desktop-shell/src/features/serve_screen/mod.rs +135 -0
  230. package/native/desktop-shell/src/features/serve_tools/mod.rs +37 -0
  231. package/native/desktop-shell/src/features/update_app/mod.rs +53 -0
  232. package/native/desktop-shell/src/lib.rs +17 -0
  233. package/native/desktop-shell/src/shared/lib/bearer.rs +49 -0
  234. package/native/desktop-shell/src/shared/lib/host.rs +1 -0
  235. package/native/desktop-shell/src/shared/lib/mod.rs +5 -0
  236. package/native/desktop-shell/src/shared/mod.rs +2 -0
  237. package/native/desktop-shell/src/shared/ui/log.rs +15 -0
  238. package/native/desktop-shell/src/shared/ui/menu.rs +37 -0
  239. package/native/desktop-shell/src/shared/ui/mod.rs +7 -0
  240. package/native/desktop-shell/src/shared/ui/window.rs +49 -0
  241. package/native/media-notes/Cargo.toml +36 -0
  242. package/native/media-notes/src/entities/media_file.rs +89 -0
  243. package/native/media-notes/src/entities/media_notes.rs +31 -0
  244. package/native/media-notes/src/entities/mod.rs +3 -0
  245. package/native/media-notes/src/entities/source/credit.rs +129 -0
  246. package/native/media-notes/src/entities/source/link.rs +194 -0
  247. package/native/media-notes/src/entities/source/mod.rs +5 -0
  248. package/native/media-notes/src/features/mod.rs +2 -0
  249. package/native/media-notes/src/features/open_media/mod.rs +88 -0
  250. package/native/media-notes/src/features/share_mcp_access.rs +15 -0
  251. package/native/media-notes/src/lib.rs +12 -0
  252. package/native/media-notes/src/shared/db/mod.rs +3 -0
  253. package/native/media-notes/src/shared/db/store.rs +276 -0
  254. package/native/media-notes/src/shared/lib/failure.rs +55 -0
  255. package/native/media-notes/src/shared/lib/mcp.rs +34 -0
  256. package/native/media-notes/src/shared/lib/mod.rs +5 -0
  257. package/native/media-notes/src/shared/mod.rs +3 -0
  258. package/native/media-notes/src/shared/protocol.rs +69 -0
  259. package/package.json +7 -3
  260. package/skills/build-tauri-app/SKILL.md +4 -2
  261. package/dist/client-BS-MCJ0I.mjs.map +0 -1
  262. package/dist/index-BtcxUsGh.d.mts +0 -4
  263. package/dist/index-CUo4CRam.d.mts +0 -1
  264. package/dist/index-DudHILTn.d.mts +0 -6
  265. package/dist/run-main-BD4uT8sr.mjs.map +0 -1
@@ -955,7 +955,7 @@ type Leaf = InvalidType | InvalidValue | MissingKey | UnexpectedKey | Forbidden
955
955
  * @category models
956
956
  * @since 4.0.0
957
957
  */
958
- type Issue = Leaf | Filter$1 | Encoding$1 | Pointer | Composite | AnyOf;
958
+ type Issue$1 = Leaf | Filter$3 | Encoding$1 | Pointer | Composite | AnyOf;
959
959
  interface IssueNode {
960
960
  readonly [TypeId$4]: typeof TypeId$4;
961
961
  /**
@@ -1005,16 +1005,16 @@ interface IssueNode {
1005
1005
  * @category models
1006
1006
  * @since 4.0.0
1007
1007
  */
1008
- interface Filter$1 extends IssueNode {
1008
+ interface Filter$3 extends IssueNode {
1009
1009
  readonly _tag: "Filter";
1010
1010
  /**
1011
1011
  * The filter that failed.
1012
1012
  */
1013
- readonly filter: Filter<unknown>;
1013
+ readonly filter: Filter$2<unknown>;
1014
1014
  /**
1015
1015
  * The issue that occurred.
1016
1016
  */
1017
- readonly issue: Issue;
1017
+ readonly issue: Issue$1;
1018
1018
  }
1019
1019
  /**
1020
1020
  * Constructs a schema issue for a failed refinement check.
@@ -1023,15 +1023,15 @@ interface Filter$1 extends IssueNode {
1023
1023
  * @category constructors
1024
1024
  * @since 4.0.0
1025
1025
  */
1026
- declare const Filter$1: new (
1026
+ declare const Filter$3: new (
1027
1027
  /**
1028
1028
  * The filter that failed.
1029
1029
  */
1030
- filter: Filter<any>,
1030
+ filter: Filter$2<any>,
1031
1031
  /**
1032
1032
  * The issue that occurred.
1033
1033
  */
1034
- issue: Issue,
1034
+ issue: Issue$1,
1035
1035
  /**
1036
1036
  * The present input associated with the issue. It is retained only when
1037
1037
  * `options.reportInput` is `true`.
@@ -1040,7 +1040,7 @@ input?: unknown,
1040
1040
  /**
1041
1041
  * The effective parse options controlling input retention.
1042
1042
  */
1043
- options?: ParseOptions) => Filter$1;
1043
+ options?: ParseOptions) => Filter$3;
1044
1044
  /**
1045
1045
  * Represents a schema issue produced when a schema transformation (encode/decode step) fails.
1046
1046
  *
@@ -1070,7 +1070,7 @@ interface Encoding$1 extends IssueNode {
1070
1070
  /**
1071
1071
  * The issue that occurred.
1072
1072
  */
1073
- readonly issue: Issue;
1073
+ readonly issue: Issue$1;
1074
1074
  }
1075
1075
  /**
1076
1076
  * Constructs a schema issue for a failed transformation.
@@ -1079,7 +1079,7 @@ interface Encoding$1 extends IssueNode {
1079
1079
  * @category constructors
1080
1080
  * @since 4.0.0
1081
1081
  */
1082
- declare const Encoding$1: new (ast: AST, issue: Issue, input?: unknown, options?: ParseOptions) => Encoding$1;
1082
+ declare const Encoding$1: new (ast: AST, issue: Issue$1, input?: unknown, options?: ParseOptions) => Encoding$1;
1083
1083
  /**
1084
1084
  * Wraps an inner {@link Issue} with a property-key path, indicating *where* in
1085
1085
  * a nested structure the error occurred.
@@ -1110,7 +1110,7 @@ interface Pointer extends IssueNode {
1110
1110
  /**
1111
1111
  * The issue that occurred.
1112
1112
  */
1113
- readonly issue: Issue;
1113
+ readonly issue: Issue$1;
1114
1114
  }
1115
1115
  /**
1116
1116
  * Constructs a schema issue that points to a nested location.
@@ -1119,7 +1119,7 @@ interface Pointer extends IssueNode {
1119
1119
  * @category constructors
1120
1120
  * @since 4.0.0
1121
1121
  */
1122
- declare const Pointer: new (path: ReadonlyArray<PropertyKey>, issue: Issue) => Pointer;
1122
+ declare const Pointer: new (path: ReadonlyArray<PropertyKey>, issue: Issue$1) => Pointer;
1123
1123
  /**
1124
1124
  * Represents a schema issue produced when a required key or tuple index is missing from the input.
1125
1125
  *
@@ -1220,7 +1220,7 @@ interface Composite extends IssueNode {
1220
1220
  /**
1221
1221
  * The issues that occurred.
1222
1222
  */
1223
- readonly issues: readonly [Issue, ...Array<Issue>];
1223
+ readonly issues: readonly [Issue$1, ...Array<Issue$1>];
1224
1224
  }
1225
1225
  /**
1226
1226
  * Constructs a schema issue that groups multiple child issues.
@@ -1229,7 +1229,7 @@ interface Composite extends IssueNode {
1229
1229
  * @category constructors
1230
1230
  * @since 4.0.0
1231
1231
  */
1232
- declare const Composite: new (ast: AST, issues: readonly [Issue, ...Array<Issue>], input?: unknown, options?: ParseOptions) => Composite;
1232
+ declare const Composite: new (ast: AST, issues: readonly [Issue$1, ...Array<Issue$1>], input?: unknown, options?: ParseOptions) => Composite;
1233
1233
  /**
1234
1234
  * Represents a schema issue produced when the runtime type of the input does not match the type
1235
1235
  * expected by the schema.
@@ -1405,11 +1405,11 @@ interface AnyOf extends IssueNode {
1405
1405
  /**
1406
1406
  * The schema that caused the issue.
1407
1407
  */
1408
- readonly ast: Union$1;
1408
+ readonly ast: Union$2;
1409
1409
  /**
1410
1410
  * The issues that occurred.
1411
1411
  */
1412
- readonly issues: ReadonlyArray<Issue>;
1412
+ readonly issues: ReadonlyArray<Issue$1>;
1413
1413
  }
1414
1414
  /**
1415
1415
  * Constructs a schema issue for a value that matches no union member.
@@ -1418,7 +1418,7 @@ interface AnyOf extends IssueNode {
1418
1418
  * @category constructors
1419
1419
  * @since 4.0.0
1420
1420
  */
1421
- declare const AnyOf: new (ast: Union$1, issues: ReadonlyArray<Issue>, input?: unknown, options?: ParseOptions) => AnyOf;
1421
+ declare const AnyOf: new (ast: Union$2, issues: ReadonlyArray<Issue$1>, input?: unknown, options?: ParseOptions) => AnyOf;
1422
1422
  /**
1423
1423
  * Represents a schema issue produced when a value matches *multiple* members of a union that is
1424
1424
  * configured to allow exactly one match (oneOf mode).
@@ -1448,7 +1448,7 @@ interface OneOf extends IssueNode {
1448
1448
  /**
1449
1449
  * The schema that caused the issue.
1450
1450
  */
1451
- readonly ast: Union$1;
1451
+ readonly ast: Union$2;
1452
1452
  /**
1453
1453
  * The schemas that were successful.
1454
1454
  */
@@ -1461,7 +1461,7 @@ interface OneOf extends IssueNode {
1461
1461
  * @category constructors
1462
1462
  * @since 4.0.0
1463
1463
  */
1464
- declare const OneOf: new (ast: Union$1, successes: ReadonlyArray<AST>, input?: unknown, options?: ParseOptions) => OneOf;
1464
+ declare const OneOf: new (ast: Union$2, successes: ReadonlyArray<AST>, input?: unknown, options?: ParseOptions) => OneOf;
1465
1465
  /**
1466
1466
  * A transformation that returns its input unchanged.
1467
1467
  *
@@ -1503,7 +1503,7 @@ interface TransformOptional<out T, in E> extends Pipeable {
1503
1503
  */
1504
1504
  interface TransformEffect<out T, in E, R> extends Pipeable {
1505
1505
  readonly _tag: "TransformEffect";
1506
- readonly transform: (input: E, options: ParseOptions) => Effect<T, Issue, R>;
1506
+ readonly transform: (input: E, options: ParseOptions) => Effect<T, Issue$1, R>;
1507
1507
  }
1508
1508
  /**
1509
1509
  * An effectful transformation of optional values.
@@ -1514,7 +1514,7 @@ interface TransformEffect<out T, in E, R> extends Pipeable {
1514
1514
  */
1515
1515
  interface TransformOptionalEffect<out T, in E, R> extends Pipeable {
1516
1516
  readonly _tag: "TransformOptionalEffect";
1517
- readonly transform: (input: Option<E>, options: ParseOptions) => Effect<Option<T>, Issue, R>;
1517
+ readonly transform: (input: Option<E>, options: ParseOptions) => Effect<Option<T>, Issue$1, R>;
1518
1518
  }
1519
1519
  /**
1520
1520
  * Represents a composable transformation from an encoded type `E` to a decoded type `T`.
@@ -1603,8 +1603,8 @@ type Getter<T, E, R = never> = Passthrough | Transform<T, E> | TransformOptional
1603
1603
  */
1604
1604
  interface Middleware<in out T, in out E, RDE, RDT, RET, REE> extends Pipeable {
1605
1605
  readonly _tag: "Middleware";
1606
- readonly decode: (effect: Effect<Option<E>, Issue, RDE>, options: ParseOptions) => Effect<Option<T>, Issue, RDT>;
1607
- readonly encode: (effect: Effect<Option<T>, Issue, RET>, options: ParseOptions) => Effect<Option<E>, Issue, REE>;
1606
+ readonly decode: (effect: Effect<Option<E>, Issue$1, RDE>, options: ParseOptions) => Effect<Option<T>, Issue$1, RDT>;
1607
+ readonly encode: (effect: Effect<Option<T>, Issue$1, RET>, options: ParseOptions) => Effect<Option<E>, Issue$1, REE>;
1608
1608
  flip(): Middleware<E, T, RET, REE, RDE, RDT>;
1609
1609
  }
1610
1610
  /**
@@ -1614,7 +1614,7 @@ interface Middleware<in out T, in out E, RDE, RDT, RET, REE> extends Pipeable {
1614
1614
  * @category constructors
1615
1615
  * @since 4.0.0
1616
1616
  */
1617
- declare const Middleware: new <T, E, RDE, RDT, RET, REE>(decode: (effect: Effect<Option<E>, Issue, RDE>, options: ParseOptions) => Effect<Option<T>, Issue, RDT>, encode: (effect: Effect<Option<T>, Issue, RET>, options: ParseOptions) => Effect<Option<E>, Issue, REE>) => Middleware<T, E, RDE, RDT, RET, REE>;
1617
+ declare const Middleware: new <T, E, RDE, RDT, RET, REE>(decode: (effect: Effect<Option<E>, Issue$1, RDE>, options: ParseOptions) => Effect<Option<T>, Issue$1, RDT>, encode: (effect: Effect<Option<T>, Issue$1, RET>, options: ParseOptions) => Effect<Option<E>, Issue$1, REE>) => Middleware<T, E, RDE, RDT, RET, REE>;
1618
1618
  declare const TypeId$3 = "~effect/SchemaTransformation/Transformation";
1619
1619
  /**
1620
1620
  * Represents a bidirectional transformation between a decoded type `T` and an encoded
@@ -1693,7 +1693,7 @@ declare const Transformation: new <T, E, RD = never, RE = never>(decode: Getter<
1693
1693
  * @category models
1694
1694
  * @since 4.0.0
1695
1695
  */
1696
- type AST = Declaration | Null | Undefined | Void | Never | Unknown | Any | String$1 | Number$1 | Boolean | BigInt | Symbol$2 | Literal | UniqueSymbol | ObjectKeyword | Enum | TemplateLiteral | Arrays | Objects$1 | Union$1 | Suspend;
1696
+ type AST = Declaration$2 | Null$1 | Undefined$1 | Void$1 | Never$1 | Unknown$1 | Any$1 | String$2 | Number$2 | Boolean$1 | BigInt$1 | Symbol$3 | Literal$1 | UniqueSymbol$1 | ObjectKeyword$1 | Enum$1 | TemplateLiteral$1 | Arrays$1 | Objects$2 | Union$2 | Suspend$1;
1697
1697
  /**
1698
1698
  * Represents a single step in an {@link Encoding} chain.
1699
1699
  *
@@ -1886,7 +1886,7 @@ interface Context {
1886
1886
  readonly isOptional: boolean;
1887
1887
  readonly isMutable: boolean;
1888
1888
  /** Used for constructor default values (e.g. `withConstructorDefault` API) */
1889
- readonly constructorDefault: Effect<unknown, Issue> | undefined;
1889
+ readonly constructorDefault: Effect<unknown, Issue$1> | undefined;
1890
1890
  readonly annotations: Annotations.Key<unknown> | undefined;
1891
1891
  }
1892
1892
  /**
@@ -1896,7 +1896,7 @@ interface Context {
1896
1896
  * @category constructors
1897
1897
  * @since 4.0.0
1898
1898
  */
1899
- declare const Context: new (isOptional: boolean, isMutable: boolean, /** Used for constructor default values (e.g. `withConstructorDefault` API) */ constructorDefault?: Effect<unknown, Issue> | undefined, annotations?: Annotations.Key<unknown> | undefined) => Context;
1899
+ declare const Context: new (isOptional: boolean, isMutable: boolean, /** Used for constructor default values (e.g. `withConstructorDefault` API) */ constructorDefault?: Effect<unknown, Issue$1> | undefined, annotations?: Annotations.Key<unknown> | undefined) => Context;
1900
1900
  /**
1901
1901
  * Non-empty array of validation {@link Check} values attached to an AST node's
1902
1902
  * `checks` field.
@@ -1913,7 +1913,7 @@ declare const Context: new (isOptional: boolean, isMutable: boolean, /** Used fo
1913
1913
  * @category models
1914
1914
  * @since 4.0.0
1915
1915
  */
1916
- type Checks = readonly [Check<any>, ...Array<Check<any>>];
1916
+ type Checks = readonly [Check$1<any>, ...Array<Check$1<any>>];
1917
1917
  declare const TypeId$2 = "~effect/Schema";
1918
1918
  interface ASTNode {
1919
1919
  readonly [TypeId$2]: typeof TypeId$2;
@@ -1924,7 +1924,7 @@ interface ASTNode {
1924
1924
  readonly context: Context | undefined;
1925
1925
  toString(): string;
1926
1926
  }
1927
- type DeclarationRun = (typeParameters: ReadonlyArray<AST>) => (input: unknown, self: Declaration, options: ParseOptions) => Effect<any, Issue>;
1927
+ type DeclarationRun = (typeParameters: ReadonlyArray<AST>) => (input: unknown, self: Declaration$2, options: ParseOptions) => Effect<any, Issue$1>;
1928
1928
  /**
1929
1929
  * AST node for user-defined opaque types with custom parsing logic.
1930
1930
  *
@@ -1946,7 +1946,7 @@ type DeclarationRun = (typeParameters: ReadonlyArray<AST>) => (input: unknown, s
1946
1946
  * @category models
1947
1947
  * @since 4.0.0
1948
1948
  */
1949
- interface Declaration extends ASTNode {
1949
+ interface Declaration$2 extends ASTNode {
1950
1950
  readonly _tag: "Declaration";
1951
1951
  readonly typeParameters: ReadonlyArray<AST>;
1952
1952
  readonly run: DeclarationRun;
@@ -1964,7 +1964,7 @@ interface Declaration extends ASTNode {
1964
1964
  * @category constructors
1965
1965
  * @since 4.0.0
1966
1966
  */
1967
- declare const Declaration: new (typeParameters: ReadonlyArray<AST>, run: DeclarationRun, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks, encodingRun?: DeclarationRun) => Declaration;
1967
+ declare const Declaration$2: new (typeParameters: ReadonlyArray<AST>, run: DeclarationRun, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks, encodingRun?: DeclarationRun) => Declaration$2;
1968
1968
  /**
1969
1969
  * AST node matching the `null` literal value.
1970
1970
  *
@@ -1978,7 +1978,7 @@ declare const Declaration: new (typeParameters: ReadonlyArray<AST>, run: Declara
1978
1978
  * @category models
1979
1979
  * @since 4.0.0
1980
1980
  */
1981
- interface Null extends ASTNode {
1981
+ interface Null$1 extends ASTNode {
1982
1982
  readonly _tag: "Null";
1983
1983
  }
1984
1984
  /**
@@ -1988,7 +1988,7 @@ interface Null extends ASTNode {
1988
1988
  * @category constructors
1989
1989
  * @since 4.0.0
1990
1990
  */
1991
- declare const Null: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Null;
1991
+ declare const Null$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Null$1;
1992
1992
  /**
1993
1993
  * AST node matching the `undefined` value.
1994
1994
  *
@@ -2002,7 +2002,7 @@ declare const Null: new (annotations?: Annotations.Annotations | undefined, chec
2002
2002
  * @category models
2003
2003
  * @since 4.0.0
2004
2004
  */
2005
- interface Undefined extends ASTNode {
2005
+ interface Undefined$1 extends ASTNode {
2006
2006
  readonly _tag: "Undefined";
2007
2007
  }
2008
2008
  /**
@@ -2012,7 +2012,7 @@ interface Undefined extends ASTNode {
2012
2012
  * @category constructors
2013
2013
  * @since 4.0.0
2014
2014
  */
2015
- declare const Undefined: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Undefined;
2015
+ declare const Undefined$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Undefined$1;
2016
2016
  /**
2017
2017
  * AST node matching TypeScript `void` return-value semantics.
2018
2018
  *
@@ -2034,7 +2034,7 @@ declare const Undefined: new (annotations?: Annotations.Annotations | undefined,
2034
2034
  * @category models
2035
2035
  * @since 4.0.0
2036
2036
  */
2037
- interface Void extends ASTNode {
2037
+ interface Void$1 extends ASTNode {
2038
2038
  readonly _tag: "Void";
2039
2039
  }
2040
2040
  /**
@@ -2044,7 +2044,7 @@ interface Void extends ASTNode {
2044
2044
  * @category constructors
2045
2045
  * @since 4.0.0
2046
2046
  */
2047
- declare const Void: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Void;
2047
+ declare const Void$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Void$1;
2048
2048
  /**
2049
2049
  * AST node representing the `never` type — no value matches.
2050
2050
  *
@@ -2059,7 +2059,7 @@ declare const Void: new (annotations?: Annotations.Annotations | undefined, chec
2059
2059
  * @category models
2060
2060
  * @since 4.0.0
2061
2061
  */
2062
- interface Never extends ASTNode {
2062
+ interface Never$1 extends ASTNode {
2063
2063
  readonly _tag: "Never";
2064
2064
  }
2065
2065
  /**
@@ -2069,7 +2069,7 @@ interface Never extends ASTNode {
2069
2069
  * @category constructors
2070
2070
  * @since 4.0.0
2071
2071
  */
2072
- declare const Never: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Never;
2072
+ declare const Never$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Never$1;
2073
2073
  /**
2074
2074
  * AST node representing the `any` type — every value matches.
2075
2075
  *
@@ -2080,7 +2080,7 @@ declare const Never: new (annotations?: Annotations.Annotations | undefined, che
2080
2080
  * @category models
2081
2081
  * @since 4.0.0
2082
2082
  */
2083
- interface Any extends ASTNode {
2083
+ interface Any$1 extends ASTNode {
2084
2084
  readonly _tag: "Any";
2085
2085
  }
2086
2086
  /**
@@ -2090,7 +2090,7 @@ interface Any extends ASTNode {
2090
2090
  * @category constructors
2091
2091
  * @since 4.0.0
2092
2092
  */
2093
- declare const Any: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Any;
2093
+ declare const Any$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Any$1;
2094
2094
  /**
2095
2095
  * AST node representing the `unknown` type — every value matches.
2096
2096
  *
@@ -2105,7 +2105,7 @@ declare const Any: new (annotations?: Annotations.Annotations | undefined, check
2105
2105
  * @category models
2106
2106
  * @since 4.0.0
2107
2107
  */
2108
- interface Unknown extends ASTNode {
2108
+ interface Unknown$1 extends ASTNode {
2109
2109
  readonly _tag: "Unknown";
2110
2110
  }
2111
2111
  /**
@@ -2115,7 +2115,7 @@ interface Unknown extends ASTNode {
2115
2115
  * @category constructors
2116
2116
  * @since 4.0.0
2117
2117
  */
2118
- declare const Unknown: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Unknown;
2118
+ declare const Unknown$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Unknown$1;
2119
2119
  /**
2120
2120
  * AST node matching the TypeScript `object` type — accepts objects, arrays,
2121
2121
  * and functions (anything non-primitive and non-null).
@@ -2127,7 +2127,7 @@ declare const Unknown: new (annotations?: Annotations.Annotations | undefined, c
2127
2127
  * @category models
2128
2128
  * @since 4.0.0
2129
2129
  */
2130
- interface ObjectKeyword extends ASTNode {
2130
+ interface ObjectKeyword$1 extends ASTNode {
2131
2131
  readonly _tag: "ObjectKeyword";
2132
2132
  }
2133
2133
  /**
@@ -2137,7 +2137,7 @@ interface ObjectKeyword extends ASTNode {
2137
2137
  * @category constructors
2138
2138
  * @since 4.0.0
2139
2139
  */
2140
- declare const ObjectKeyword: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => ObjectKeyword;
2140
+ declare const ObjectKeyword$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => ObjectKeyword$1;
2141
2141
  /**
2142
2142
  * AST node representing a TypeScript `enum`.
2143
2143
  *
@@ -2151,7 +2151,7 @@ declare const ObjectKeyword: new (annotations?: Annotations.Annotations | undefi
2151
2151
  * @category models
2152
2152
  * @since 4.0.0
2153
2153
  */
2154
- interface Enum extends ASTNode {
2154
+ interface Enum$1 extends ASTNode {
2155
2155
  readonly _tag: "Enum";
2156
2156
  readonly enums: ReadonlyArray<readonly [string, string | number]>;
2157
2157
  }
@@ -2162,7 +2162,7 @@ interface Enum extends ASTNode {
2162
2162
  * @category constructors
2163
2163
  * @since 4.0.0
2164
2164
  */
2165
- declare const Enum: new (enums: ReadonlyArray<readonly [string, string | number]>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => Enum;
2165
+ declare const Enum$1: new (enums: ReadonlyArray<readonly [string, string | number]>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => Enum$1;
2166
2166
  /**
2167
2167
  * AST node representing a TypeScript template literal type
2168
2168
  * (e.g. `` `user_${string}` ``).
@@ -2177,7 +2177,7 @@ declare const Enum: new (enums: ReadonlyArray<readonly [string, string | number]
2177
2177
  * @category models
2178
2178
  * @since 4.0.0
2179
2179
  */
2180
- interface TemplateLiteral extends ASTNode {
2180
+ interface TemplateLiteral$1 extends ASTNode {
2181
2181
  readonly _tag: "TemplateLiteral";
2182
2182
  readonly parts: ReadonlyArray<AST>;
2183
2183
  }
@@ -2193,7 +2193,7 @@ interface TemplateLiteral extends ASTNode {
2193
2193
  * @category constructors
2194
2194
  * @since 4.0.0
2195
2195
  */
2196
- declare const TemplateLiteral: new (parts: ReadonlyArray<AST>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => TemplateLiteral;
2196
+ declare const TemplateLiteral$1: new (parts: ReadonlyArray<AST>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => TemplateLiteral$1;
2197
2197
  /**
2198
2198
  * AST node matching a specific `unique symbol` value.
2199
2199
  *
@@ -2207,7 +2207,7 @@ declare const TemplateLiteral: new (parts: ReadonlyArray<AST>, annotations?: Ann
2207
2207
  * @category models
2208
2208
  * @since 4.0.0
2209
2209
  */
2210
- interface UniqueSymbol extends ASTNode {
2210
+ interface UniqueSymbol$1 extends ASTNode {
2211
2211
  readonly _tag: "UniqueSymbol";
2212
2212
  readonly symbol: symbol;
2213
2213
  }
@@ -2218,7 +2218,7 @@ interface UniqueSymbol extends ASTNode {
2218
2218
  * @category constructors
2219
2219
  * @since 4.0.0
2220
2220
  */
2221
- declare const UniqueSymbol: new (symbol: symbol, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => UniqueSymbol;
2221
+ declare const UniqueSymbol$1: new (symbol: symbol, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => UniqueSymbol$1;
2222
2222
  /**
2223
2223
  * The set of primitive types that can appear as a {@link Literal} value.
2224
2224
  *
@@ -2256,7 +2256,7 @@ type LiteralValue = string | number | boolean | bigint;
2256
2256
  * @category models
2257
2257
  * @since 4.0.0
2258
2258
  */
2259
- interface Literal extends ASTNode {
2259
+ interface Literal$1 extends ASTNode {
2260
2260
  readonly _tag: "Literal";
2261
2261
  readonly literal: LiteralValue;
2262
2262
  }
@@ -2267,7 +2267,7 @@ interface Literal extends ASTNode {
2267
2267
  * @category constructors
2268
2268
  * @since 4.0.0
2269
2269
  */
2270
- declare const Literal: new (literal: LiteralValue, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => Literal;
2270
+ declare const Literal$1: new (literal: LiteralValue, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => Literal$1;
2271
2271
  /**
2272
2272
  * AST node matching any `string` value.
2273
2273
  *
@@ -2278,7 +2278,7 @@ declare const Literal: new (literal: LiteralValue, annotations?: Annotations.Ann
2278
2278
  * @category models
2279
2279
  * @since 4.0.0
2280
2280
  */
2281
- interface String$1 extends ASTNode {
2281
+ interface String$2 extends ASTNode {
2282
2282
  readonly _tag: "String";
2283
2283
  }
2284
2284
  /**
@@ -2288,7 +2288,7 @@ interface String$1 extends ASTNode {
2288
2288
  * @category constructors
2289
2289
  * @since 4.0.0
2290
2290
  */
2291
- declare const String$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => String$1;
2291
+ declare const String$2: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => String$2;
2292
2292
  /**
2293
2293
  * AST node matching any `number` value (including `NaN`, `Infinity`,
2294
2294
  * `-Infinity`).
@@ -2309,7 +2309,7 @@ declare const String$1: new (annotations?: Annotations.Annotations | undefined,
2309
2309
  * @category models
2310
2310
  * @since 4.0.0
2311
2311
  */
2312
- interface Number$1 extends ASTNode {
2312
+ interface Number$2 extends ASTNode {
2313
2313
  readonly _tag: "Number";
2314
2314
  }
2315
2315
  /**
@@ -2319,7 +2319,7 @@ interface Number$1 extends ASTNode {
2319
2319
  * @category constructors
2320
2320
  * @since 4.0.0
2321
2321
  */
2322
- declare const Number$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Number$1;
2322
+ declare const Number$2: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Number$2;
2323
2323
  /**
2324
2324
  * AST node matching any `boolean` value (`true` or `false`).
2325
2325
  *
@@ -2330,7 +2330,7 @@ declare const Number$1: new (annotations?: Annotations.Annotations | undefined,
2330
2330
  * @category models
2331
2331
  * @since 4.0.0
2332
2332
  */
2333
- interface Boolean extends ASTNode {
2333
+ interface Boolean$1 extends ASTNode {
2334
2334
  readonly _tag: "Boolean";
2335
2335
  }
2336
2336
  /**
@@ -2340,7 +2340,7 @@ interface Boolean extends ASTNode {
2340
2340
  * @category constructors
2341
2341
  * @since 4.0.0
2342
2342
  */
2343
- declare const Boolean: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Boolean;
2343
+ declare const Boolean$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Boolean$1;
2344
2344
  /**
2345
2345
  * AST node matching any `symbol` value.
2346
2346
  *
@@ -2360,7 +2360,7 @@ declare const Boolean: new (annotations?: Annotations.Annotations | undefined, c
2360
2360
  * @category models
2361
2361
  * @since 4.0.0
2362
2362
  */
2363
- interface Symbol$2 extends ASTNode {
2363
+ interface Symbol$3 extends ASTNode {
2364
2364
  readonly _tag: "Symbol";
2365
2365
  }
2366
2366
  /**
@@ -2370,7 +2370,7 @@ interface Symbol$2 extends ASTNode {
2370
2370
  * @category constructors
2371
2371
  * @since 4.0.0
2372
2372
  */
2373
- declare const Symbol$2: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Symbol$2;
2373
+ declare const Symbol$3: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => Symbol$3;
2374
2374
  /**
2375
2375
  * AST node matching any `bigint` value.
2376
2376
  *
@@ -2385,7 +2385,7 @@ declare const Symbol$2: new (annotations?: Annotations.Annotations | undefined,
2385
2385
  * @category models
2386
2386
  * @since 4.0.0
2387
2387
  */
2388
- interface BigInt extends ASTNode {
2388
+ interface BigInt$1 extends ASTNode {
2389
2389
  readonly _tag: "BigInt";
2390
2390
  }
2391
2391
  /**
@@ -2395,7 +2395,7 @@ interface BigInt extends ASTNode {
2395
2395
  * @category constructors
2396
2396
  * @since 4.0.0
2397
2397
  */
2398
- declare const BigInt: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => BigInt;
2398
+ declare const BigInt$1: new (annotations?: Annotations.Annotations | undefined, checks?: Checks | undefined, encoding?: Encoding | undefined, context?: Context | undefined) => BigInt$1;
2399
2399
  /**
2400
2400
  * AST node for array-like types — both tuples and arrays.
2401
2401
  *
@@ -2439,7 +2439,7 @@ declare const BigInt: new (annotations?: Annotations.Annotations | undefined, ch
2439
2439
  * @category models
2440
2440
  * @since 4.0.0
2441
2441
  */
2442
- interface Arrays extends ASTNode {
2442
+ interface Arrays$1 extends ASTNode {
2443
2443
  readonly _tag: "Arrays";
2444
2444
  readonly isMutable: boolean;
2445
2445
  readonly elements: ReadonlyArray<AST>;
@@ -2453,7 +2453,7 @@ interface Arrays extends ASTNode {
2453
2453
  * @category constructors
2454
2454
  * @since 4.0.0
2455
2455
  */
2456
- declare const Arrays: new (isMutable: boolean, elements: ReadonlyArray<AST>, rest: ReadonlyArray<AST>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks) => Arrays;
2456
+ declare const Arrays$1: new (isMutable: boolean, elements: ReadonlyArray<AST>, rest: ReadonlyArray<AST>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks) => Arrays$1;
2457
2457
  /**
2458
2458
  * Represents a named property within an {@link Objects} node.
2459
2459
  *
@@ -2468,7 +2468,7 @@ declare const Arrays: new (isMutable: boolean, elements: ReadonlyArray<AST>, res
2468
2468
  * @category models
2469
2469
  * @since 4.0.0
2470
2470
  */
2471
- interface PropertySignature {
2471
+ interface PropertySignature$1 {
2472
2472
  readonly name: PropertyKey;
2473
2473
  readonly type: AST;
2474
2474
  }
@@ -2479,8 +2479,8 @@ interface PropertySignature {
2479
2479
  * @category constructors
2480
2480
  * @since 4.0.0
2481
2481
  */
2482
- declare const PropertySignature: new (name: PropertyKey, type: AST) => PropertySignature;
2483
- type IndexSignatureParameter = String$1 | Number$1 | Symbol$2 | TemplateLiteral | Union$1<IndexSignatureParameter>;
2482
+ declare const PropertySignature$1: new (name: PropertyKey, type: AST) => PropertySignature$1;
2483
+ type IndexSignatureParameter = String$2 | Number$2 | Symbol$3 | TemplateLiteral$1 | Union$2<IndexSignatureParameter>;
2484
2484
  /**
2485
2485
  * Represents an index signature entry within an {@link Objects} node.
2486
2486
  *
@@ -2508,7 +2508,7 @@ type IndexSignatureParameter = String$1 | Number$1 | Symbol$2 | TemplateLiteral
2508
2508
  * @category models
2509
2509
  * @since 4.0.0
2510
2510
  */
2511
- interface IndexSignature {
2511
+ interface IndexSignature$1 {
2512
2512
  readonly parameter: IndexSignatureParameter;
2513
2513
  readonly type: AST;
2514
2514
  }
@@ -2519,7 +2519,7 @@ interface IndexSignature {
2519
2519
  * @category constructors
2520
2520
  * @since 4.0.0
2521
2521
  */
2522
- declare const IndexSignature: new (parameter: AST, type: AST) => IndexSignature;
2522
+ declare const IndexSignature$1: new (parameter: AST, type: AST) => IndexSignature$1;
2523
2523
  /**
2524
2524
  * AST node for object-like schemas, including structs and records.
2525
2525
  *
@@ -2563,10 +2563,10 @@ declare const IndexSignature: new (parameter: AST, type: AST) => IndexSignature;
2563
2563
  * @category models
2564
2564
  * @since 4.0.0
2565
2565
  */
2566
- interface Objects$1 extends ASTNode {
2566
+ interface Objects$2 extends ASTNode {
2567
2567
  readonly _tag: "Objects";
2568
- readonly propertySignatures: ReadonlyArray<PropertySignature>;
2569
- readonly indexSignatures: ReadonlyArray<IndexSignature>;
2568
+ readonly propertySignatures: ReadonlyArray<PropertySignature$1>;
2569
+ readonly indexSignatures: ReadonlyArray<IndexSignature$1>;
2570
2570
  readonly encodingChecks: Checks | undefined;
2571
2571
  }
2572
2572
  /**
@@ -2576,7 +2576,7 @@ interface Objects$1 extends ASTNode {
2576
2576
  * @category constructors
2577
2577
  * @since 4.0.0
2578
2578
  */
2579
- declare const Objects$1: new (propertySignatures: ReadonlyArray<PropertySignature>, indexSignatures: ReadonlyArray<IndexSignature>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks) => Objects$1;
2579
+ declare const Objects$2: new (propertySignatures: ReadonlyArray<PropertySignature$1>, indexSignatures: ReadonlyArray<IndexSignature$1>, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks) => Objects$2;
2580
2580
  /**
2581
2581
  * AST node representing a union of schemas.
2582
2582
  *
@@ -2608,7 +2608,7 @@ declare const Objects$1: new (propertySignatures: ReadonlyArray<PropertySignatur
2608
2608
  * @category models
2609
2609
  * @since 4.0.0
2610
2610
  */
2611
- interface Union$1<A extends AST = AST> extends ASTNode {
2611
+ interface Union$2<A extends AST = AST> extends ASTNode {
2612
2612
  readonly _tag: "Union";
2613
2613
  readonly types: ReadonlyArray<A>;
2614
2614
  readonly options: UnionOptions | undefined;
@@ -2632,7 +2632,7 @@ interface UnionOptions {
2632
2632
  * @category constructors
2633
2633
  * @since 4.0.0
2634
2634
  */
2635
- declare const Union$1: new <A extends AST = AST>(types: ReadonlyArray<A>, options?: UnionOptions, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks) => Union$1<A>;
2635
+ declare const Union$2: new <A extends AST = AST>(types: ReadonlyArray<A>, options?: UnionOptions, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context, encodingChecks?: Checks) => Union$2<A>;
2636
2636
  /**
2637
2637
  * AST node for lazy/recursive schemas.
2638
2638
  *
@@ -2665,7 +2665,7 @@ declare const Union$1: new <A extends AST = AST>(types: ReadonlyArray<A>, option
2665
2665
  * @category models
2666
2666
  * @since 4.0.0
2667
2667
  */
2668
- interface Suspend extends ASTNode {
2668
+ interface Suspend$1 extends ASTNode {
2669
2669
  readonly _tag: "Suspend";
2670
2670
  readonly thunk: () => AST;
2671
2671
  }
@@ -2676,7 +2676,7 @@ interface Suspend extends ASTNode {
2676
2676
  * @category constructors
2677
2677
  * @since 4.0.0
2678
2678
  */
2679
- declare const Suspend: new (thunk: () => AST, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => Suspend;
2679
+ declare const Suspend$1: new (thunk: () => AST, annotations?: Annotations.Annotations, checks?: Checks, encoding?: Encoding, context?: Context) => Suspend$1;
2680
2680
  /**
2681
2681
  * Represents a single validation check attached to an AST node.
2682
2682
  *
@@ -2699,17 +2699,17 @@ declare const Suspend: new (thunk: () => AST, annotations?: Annotations.Annotati
2699
2699
  * @category models
2700
2700
  * @since 4.0.0
2701
2701
  */
2702
- interface Filter<in E> extends Pipeable {
2702
+ interface Filter$2<in E> extends Pipeable {
2703
2703
  readonly _tag: "Filter";
2704
- readonly run: (input: E, self: AST, options: ParseOptions) => Issue | undefined;
2704
+ readonly run: (input: E, self: AST, options: ParseOptions) => Issue$1 | undefined;
2705
2705
  readonly annotations: Annotations.Filter | undefined;
2706
2706
  /**
2707
2707
  * Whether the parsing process should be aborted after this check has failed.
2708
2708
  */
2709
2709
  readonly aborted: boolean;
2710
- annotate(annotations: Annotations.Filter): Filter<E>;
2711
- abort(): Filter<E>;
2712
- and(other: Check<E>, annotations?: Annotations.Filter): FilterGroup<E>;
2710
+ annotate(annotations: Annotations.Filter): Filter$2<E>;
2711
+ abort(): Filter$2<E>;
2712
+ and(other: Check$1<E>, annotations?: Annotations.Filter): FilterGroup$1<E>;
2713
2713
  }
2714
2714
  /**
2715
2715
  * Constructs a {@link Filter}.
@@ -2718,9 +2718,9 @@ interface Filter<in E> extends Pipeable {
2718
2718
  * @category constructors
2719
2719
  * @since 4.0.0
2720
2720
  */
2721
- declare const Filter: new <E>(run: (input: E, self: AST, options: ParseOptions) => Issue | undefined, annotations?: Annotations.Filter | undefined, /**
2721
+ declare const Filter$2: new <E>(run: (input: E, self: AST, options: ParseOptions) => Issue$1 | undefined, annotations?: Annotations.Filter | undefined, /**
2722
2722
  * Whether the parsing process should be aborted after this check has failed.
2723
- */ aborted?: boolean) => Filter<E>;
2723
+ */ aborted?: boolean) => Filter$2<E>;
2724
2724
  /**
2725
2725
  * Represents a composite validation check grouping multiple {@link Check} values.
2726
2726
  *
@@ -2736,12 +2736,12 @@ declare const Filter: new <E>(run: (input: E, self: AST, options: ParseOptions)
2736
2736
  * @category models
2737
2737
  * @since 4.0.0
2738
2738
  */
2739
- interface FilterGroup<in E> extends Pipeable {
2739
+ interface FilterGroup$1<in E> extends Pipeable {
2740
2740
  readonly _tag: "FilterGroup";
2741
- readonly checks: readonly [Check<E>, ...Array<Check<E>>];
2741
+ readonly checks: readonly [Check$1<E>, ...Array<Check$1<E>>];
2742
2742
  readonly annotations: Annotations.Filter | undefined;
2743
- annotate(annotations: Annotations.Filter): FilterGroup<E>;
2744
- and(other: Check<E>, annotations?: Annotations.Filter): FilterGroup<E>;
2743
+ annotate(annotations: Annotations.Filter): FilterGroup$1<E>;
2744
+ and(other: Check$1<E>, annotations?: Annotations.Filter): FilterGroup$1<E>;
2745
2745
  }
2746
2746
  /**
2747
2747
  * Constructs a {@link FilterGroup}.
@@ -2750,7 +2750,7 @@ interface FilterGroup<in E> extends Pipeable {
2750
2750
  * @category constructors
2751
2751
  * @since 4.0.0
2752
2752
  */
2753
- declare const FilterGroup: new <E>(checks: readonly [Check<E>, ...Array<Check<E>>], annotations?: Annotations.Filter | undefined) => FilterGroup<E>;
2753
+ declare const FilterGroup$1: new <E>(checks: readonly [Check$1<E>, ...Array<Check$1<E>>], annotations?: Annotations.Filter | undefined) => FilterGroup$1<E>;
2754
2754
  /**
2755
2755
  * A validation check — either a single {@link Filter} or a composite
2756
2756
  * {@link FilterGroup}.
@@ -2765,7 +2765,7 @@ declare const FilterGroup: new <E>(checks: readonly [Check<E>, ...Array<Check<E>
2765
2765
  * @category models
2766
2766
  * @since 4.0.0
2767
2767
  */
2768
- type Check<T> = Filter<T> | FilterGroup<T>;
2768
+ type Check$1<T> = Filter$2<T> | FilterGroup$1<T>;
2769
2769
  /**
2770
2770
  * Open persistence identity carried by declarations and opaque checks.
2771
2771
  *
@@ -2946,6 +2946,328 @@ declare namespace Generation {
2946
2946
  */
2947
2947
  type Check = (input: CheckInput) => CheckOutput;
2948
2948
  }
2949
+ /**
2950
+ * A custom opaque declaration.
2951
+ *
2952
+ * @stability stable
2953
+ * @category models
2954
+ * @since 4.0.0
2955
+ */
2956
+ interface Declaration$1 {
2957
+ readonly _tag: "Declaration";
2958
+ readonly representation?: RepresentationAnnotation | undefined;
2959
+ readonly annotations?: Annotations.Annotations | undefined;
2960
+ readonly typeParameters: ReadonlyArray<Representation>;
2961
+ readonly checks: ReadonlyArray<Check>;
2962
+ }
2963
+ /**
2964
+ * A lazily resolved representation.
2965
+ *
2966
+ * @stability stable
2967
+ * @category models
2968
+ * @since 4.0.0
2969
+ */
2970
+ interface Suspend {
2971
+ readonly _tag: "Suspend";
2972
+ readonly annotations?: Annotations.Annotations | undefined;
2973
+ readonly checks: readonly [];
2974
+ readonly thunk: Representation;
2975
+ }
2976
+ /**
2977
+ * A named reference.
2978
+ *
2979
+ * @stability stable
2980
+ * @category models
2981
+ * @since 4.0.0
2982
+ */
2983
+ interface Reference {
2984
+ readonly _tag: "Reference";
2985
+ readonly $ref: string;
2986
+ }
2987
+ interface Keyword<Tag extends string> {
2988
+ readonly _tag: Tag;
2989
+ readonly annotations?: Annotations.Annotations | undefined;
2990
+ readonly checks: ReadonlyArray<Check>;
2991
+ }
2992
+ /**
2993
+ * The null keyword representation.
2994
+ *
2995
+ * @stability stable
2996
+ * @category models
2997
+ * @since 4.0.0
2998
+ */
2999
+ interface Null extends Keyword<"Null"> {}
3000
+ /**
3001
+ * The undefined keyword representation.
3002
+ *
3003
+ * @stability stable
3004
+ * @category models
3005
+ * @since 4.0.0
3006
+ */
3007
+ interface Undefined extends Keyword<"Undefined"> {}
3008
+ /**
3009
+ * The void keyword representation.
3010
+ *
3011
+ * @stability stable
3012
+ * @category models
3013
+ * @since 4.0.0
3014
+ */
3015
+ interface Void extends Keyword<"Void"> {}
3016
+ /**
3017
+ * The never keyword representation.
3018
+ *
3019
+ * @stability stable
3020
+ * @category models
3021
+ * @since 4.0.0
3022
+ */
3023
+ interface Never extends Keyword<"Never"> {}
3024
+ /**
3025
+ * The unknown keyword representation.
3026
+ *
3027
+ * @stability stable
3028
+ * @category models
3029
+ * @since 4.0.0
3030
+ */
3031
+ interface Unknown extends Keyword<"Unknown"> {}
3032
+ /**
3033
+ * The any keyword representation.
3034
+ *
3035
+ * @stability stable
3036
+ * @category models
3037
+ * @since 4.0.0
3038
+ */
3039
+ interface Any extends Keyword<"Any"> {}
3040
+ /**
3041
+ * A string representation, optionally describing its content through a media
3042
+ * type and a schema for the value encoded in the string.
3043
+ *
3044
+ * @stability stable
3045
+ * @category models
3046
+ * @since 4.0.0
3047
+ */
3048
+ interface String$1 extends Keyword<"String"> {
3049
+ readonly content?: {
3050
+ readonly mediaType: string;
3051
+ readonly schema?: Representation | undefined;
3052
+ } | undefined;
3053
+ }
3054
+ /**
3055
+ * A number representation.
3056
+ *
3057
+ * @stability stable
3058
+ * @category models
3059
+ * @since 4.0.0
3060
+ */
3061
+ interface Number$1 extends Keyword<"Number"> {}
3062
+ /**
3063
+ * A boolean representation.
3064
+ *
3065
+ * @stability stable
3066
+ * @category models
3067
+ * @since 4.0.0
3068
+ */
3069
+ interface Boolean extends Keyword<"Boolean"> {}
3070
+ /**
3071
+ * A bigint representation.
3072
+ *
3073
+ * @stability stable
3074
+ * @category models
3075
+ * @since 4.0.0
3076
+ */
3077
+ interface BigInt extends Keyword<"BigInt"> {}
3078
+ /**
3079
+ * A symbol representation.
3080
+ *
3081
+ * @stability stable
3082
+ * @category models
3083
+ * @since 4.0.0
3084
+ */
3085
+ interface Symbol$2 extends Keyword<"Symbol"> {}
3086
+ /**
3087
+ * A literal representation.
3088
+ *
3089
+ * **Details**
3090
+ *
3091
+ * The live representation stores the native literal value. Persistent codecs
3092
+ * add an explicit type discriminator when encoding it.
3093
+ *
3094
+ * @stability stable
3095
+ * @category models
3096
+ * @since 4.0.0
3097
+ */
3098
+ interface Literal extends Keyword<"Literal"> {
3099
+ readonly literal: LiteralValue;
3100
+ }
3101
+ /**
3102
+ * A unique symbol representation.
3103
+ *
3104
+ * **Details**
3105
+ *
3106
+ * Globally registered symbols have an exact JSON string representation. Local
3107
+ * symbols have no JSON representation.
3108
+ *
3109
+ * @stability stable
3110
+ * @category models
3111
+ * @since 4.0.0
3112
+ */
3113
+ interface UniqueSymbol extends Keyword<"UniqueSymbol"> {
3114
+ readonly symbol: symbol;
3115
+ }
3116
+ /**
3117
+ * The object keyword representation.
3118
+ *
3119
+ * @stability stable
3120
+ * @category models
3121
+ * @since 4.0.0
3122
+ */
3123
+ interface ObjectKeyword extends Keyword<"ObjectKeyword"> {}
3124
+ /**
3125
+ * An enum representation.
3126
+ *
3127
+ * **Details**
3128
+ *
3129
+ * Enum members are stored as native string or finite number values. Persistent
3130
+ * codecs add an explicit type discriminator when encoding them.
3131
+ *
3132
+ * @stability stable
3133
+ * @category models
3134
+ * @since 4.0.0
3135
+ */
3136
+ interface Enum extends Keyword<"Enum"> {
3137
+ readonly enums: ReadonlyArray<readonly [string, string | number]>;
3138
+ }
3139
+ /**
3140
+ * A template literal representation.
3141
+ *
3142
+ * @stability stable
3143
+ * @category models
3144
+ * @since 4.0.0
3145
+ */
3146
+ interface TemplateLiteral extends Keyword<"TemplateLiteral"> {
3147
+ readonly parts: ReadonlyArray<Representation>;
3148
+ }
3149
+ /**
3150
+ * A tuple element.
3151
+ *
3152
+ * @stability stable
3153
+ * @category models
3154
+ * @since 4.0.0
3155
+ */
3156
+ interface Element {
3157
+ readonly isOptional: boolean;
3158
+ readonly type: Representation;
3159
+ readonly annotations?: Annotations.Annotations | undefined;
3160
+ }
3161
+ /**
3162
+ * An array or tuple representation.
3163
+ *
3164
+ * @stability stable
3165
+ * @category models
3166
+ * @since 4.0.0
3167
+ */
3168
+ interface Arrays extends Keyword<"Arrays"> {
3169
+ readonly elements: ReadonlyArray<Element>;
3170
+ readonly rest: ReadonlyArray<Representation>;
3171
+ }
3172
+ /**
3173
+ * A property signature.
3174
+ *
3175
+ * **Details**
3176
+ *
3177
+ * The live representation stores the native property key. Persistent codecs
3178
+ * add an explicit type discriminator when encoding it.
3179
+ *
3180
+ * **Gotchas**
3181
+ *
3182
+ * Local symbols can be represented while the schema is live, but persistent
3183
+ * codecs reject them because they cannot be reconstructed by identity.
3184
+ *
3185
+ * @stability stable
3186
+ * @category models
3187
+ * @since 4.0.0
3188
+ */
3189
+ interface PropertySignature {
3190
+ readonly name: PropertyKey;
3191
+ readonly type: Representation;
3192
+ readonly isOptional: boolean;
3193
+ readonly isMutable: boolean;
3194
+ readonly annotations?: Annotations.Annotations | undefined;
3195
+ }
3196
+ /**
3197
+ * An index signature.
3198
+ *
3199
+ * @stability stable
3200
+ * @category models
3201
+ * @since 4.0.0
3202
+ */
3203
+ interface IndexSignature {
3204
+ readonly parameter: Representation;
3205
+ readonly type: Representation;
3206
+ }
3207
+ /**
3208
+ * An object representation.
3209
+ *
3210
+ * @stability stable
3211
+ * @category models
3212
+ * @since 4.0.0
3213
+ */
3214
+ interface Objects$1 extends Keyword<"Objects"> {
3215
+ readonly propertySignatures: ReadonlyArray<PropertySignature>;
3216
+ readonly indexSignatures: ReadonlyArray<IndexSignature>;
3217
+ }
3218
+ /**
3219
+ * A union representation.
3220
+ *
3221
+ * @stability stable
3222
+ * @category models
3223
+ * @since 4.0.0
3224
+ */
3225
+ interface Union$1 extends Keyword<"Union"> {
3226
+ readonly types: ReadonlyArray<Representation>;
3227
+ readonly options?: UnionOptions | undefined;
3228
+ }
3229
+ /**
3230
+ * The structural schema representation.
3231
+ *
3232
+ * @stability stable
3233
+ * @category models
3234
+ * @since 4.0.0
3235
+ */
3236
+ type Representation = Declaration$1 | Reference | Suspend | Null | Undefined | Void | Never | Unknown | Any | String$1 | Number$1 | Boolean | BigInt | Symbol$2 | Literal | UniqueSymbol | ObjectKeyword | Enum | TemplateLiteral | Arrays | Objects$1 | Union$1;
3237
+ /**
3238
+ * A structural check.
3239
+ *
3240
+ * @stability stable
3241
+ * @category models
3242
+ * @since 4.0.0
3243
+ */
3244
+ type Check = Filter$1 | FilterGroup;
3245
+ /**
3246
+ * An opaque leaf check.
3247
+ *
3248
+ * @stability stable
3249
+ * @category models
3250
+ * @since 4.0.0
3251
+ */
3252
+ interface Filter$1 {
3253
+ readonly _tag: "Filter";
3254
+ readonly representation?: CheckRepresentationAnnotation<Representation> | undefined;
3255
+ readonly annotations?: Annotations.Annotations | undefined;
3256
+ readonly aborted: boolean;
3257
+ }
3258
+ /**
3259
+ * A non-empty group of checks.
3260
+ *
3261
+ * @stability stable
3262
+ * @category models
3263
+ * @since 4.0.0
3264
+ */
3265
+ interface FilterGroup {
3266
+ readonly _tag: "FilterGroup";
3267
+ readonly representation?: CheckRepresentationAnnotation<Representation> | undefined;
3268
+ readonly annotations?: Annotations.Annotations | undefined;
3269
+ readonly checks: readonly [Check, ...Array<Check>];
3270
+ }
2949
3271
  /**
2950
3272
  * Runtime and TypeScript source generated for one schema.
2951
3273
  *
@@ -3114,7 +3436,7 @@ interface BottomWithoutNew<out T, out E, out RD, out RE, out Ast extends AST, ou
3114
3436
  readonly "~encoded.optionality": EncodedOptionality;
3115
3437
  annotate(annotations: Annotations.Bottom<this["Type"], this["~type.parameters"]>): this["Rebuild"];
3116
3438
  annotateKey(annotations: Annotations.Key<this["Type"]>): this["Rebuild"];
3117
- check(...checks: readonly [Check<this["Type"]>, ...Array<Check<this["Type"]>>]): this["Rebuild"];
3439
+ check(...checks: readonly [Check$1<this["Type"]>, ...Array<Check$1<this["Type"]>>]): this["Rebuild"];
3118
3440
  rebuild(ast: this["ast"]): this["Rebuild"];
3119
3441
  /**
3120
3442
  * Constructs a value from the make input representation synchronously.
@@ -3193,7 +3515,7 @@ interface BottomWithoutNew<out T, out E, out RD, out RE, out Ast extends AST, ou
3193
3515
  * @see {@link BottomWithoutNew.make} — construct synchronously when validation failure should throw
3194
3516
  * @see {@link BottomWithoutNew.makeOption} — construct synchronously and discard validation details
3195
3517
  */
3196
- makeEffect(input: this["~type.make.in"], options?: MakeOptions): Effect<this["Type"], Issue>;
3518
+ makeEffect(input: this["~type.make.in"], options?: MakeOptions): Effect<this["Type"], Issue$1>;
3197
3519
  }
3198
3520
  /**
3199
3521
  * Fully-parameterized base interface for schemas that can be extended directly
@@ -3505,7 +3827,7 @@ interface Codec<out T, out E = T, out RD = never, out RE = never> extends Schema
3505
3827
  * @category models
3506
3828
  * @since 4.0.0
3507
3829
  */
3508
- interface String extends Bottom<string, string, never, never, String$1, String> {}
3830
+ interface String extends Bottom<string, string, never, never, String$2, String> {}
3509
3831
  /**
3510
3832
  * Schema for `string` values. Validates that the input is `typeof` `"string"`.
3511
3833
  *
@@ -3521,7 +3843,7 @@ declare const String: String;
3521
3843
  * @category models
3522
3844
  * @since 4.0.0
3523
3845
  */
3524
- interface Number extends Bottom<number, number, never, never, Number$1, Number> {}
3846
+ interface Number extends Bottom<number, number, never, never, Number$2, Number> {}
3525
3847
  /**
3526
3848
  * Schema for `number` values, including `NaN`, `Infinity`, and `-Infinity`.
3527
3849
  *
@@ -3545,7 +3867,7 @@ declare const Number: Number;
3545
3867
  * @category models
3546
3868
  * @since 4.0.0
3547
3869
  */
3548
- interface Symbol$1 extends Bottom<symbol, symbol, never, never, Symbol$2, Symbol$1> {}
3870
+ interface Symbol$1 extends Bottom<symbol, symbol, never, never, Symbol$3, Symbol$1> {}
3549
3871
  /**
3550
3872
  * Schema for `symbol` values. Validates that the input is `typeof` `"symbol"`.
3551
3873
  *
@@ -3682,7 +4004,7 @@ declare namespace Struct {
3682
4004
  * @category models
3683
4005
  * @since 3.10.0
3684
4006
  */
3685
- interface Struct<Fields extends Struct.Fields> extends BottomLazy<Objects$1, Struct<Fields>> {
4007
+ interface Struct<Fields extends Struct.Fields> extends BottomLazy<Objects$2, Struct<Fields>> {
3686
4008
  readonly "Type": Struct.Type<Fields>;
3687
4009
  readonly "Encoded": Struct.Encoded<Fields>;
3688
4010
  readonly "DecodingServices": Struct.DecodingServices<Fields>;
@@ -3896,7 +4218,7 @@ declare namespace Record$1 {
3896
4218
  * @category models
3897
4219
  * @since 4.0.0
3898
4220
  */
3899
- interface $Record<Key extends Record$1.Key, Value extends Constraint> extends BottomLazy<Objects$1, $Record<Key, Value>> {
4221
+ interface $Record<Key extends Record$1.Key, Value extends Constraint> extends BottomLazy<Objects$2, $Record<Key, Value>> {
3900
4222
  readonly "Type": Record$1.Type<Key, Value>;
3901
4223
  readonly "Encoded": Record$1.Encoded<Key, Value>;
3902
4224
  readonly "DecodingServices": Record$1.DecodingServices<Key, Value>;
@@ -3961,7 +4283,7 @@ declare function Record$1<Key extends Record$1.Key, Value extends Constraint>(ke
3961
4283
  * @category models
3962
4284
  * @since 4.0.0
3963
4285
  */
3964
- interface $Array<S extends Constraint> extends BottomLazy<Arrays, $Array<S>> {
4286
+ interface $Array<S extends Constraint> extends BottomLazy<Arrays$1, $Array<S>> {
3965
4287
  readonly "Type": ReadonlyArray<S["Type"]>;
3966
4288
  readonly "Encoded": ReadonlyArray<S["Encoded"]>;
3967
4289
  readonly "DecodingServices": S["DecodingServices"];
@@ -3978,7 +4300,7 @@ interface $Array<S extends Constraint> extends BottomLazy<Arrays, $Array<S>> {
3978
4300
  * @category models
3979
4301
  * @since 3.10.0
3980
4302
  */
3981
- interface Union<Members extends ReadonlyArray<Constraint>> extends BottomLazy<Union$1<{ [K in keyof Members]: Members[K]["ast"]; }[number]>, Union<Members>> {
4303
+ interface Union<Members extends ReadonlyArray<Constraint>> extends BottomLazy<Union$2<{ [K in keyof Members]: Members[K]["ast"]; }[number]>, Union<Members>> {
3982
4304
  readonly "Type": { [K in keyof Members]: Members[K]["Type"]; }[number];
3983
4305
  readonly "Encoded": { [K in keyof Members]: Members[K]["Encoded"]; }[number];
3984
4306
  readonly "DecodingServices": { [K in keyof Members]: Members[K]["DecodingServices"]; }[number];
@@ -5122,5 +5444,4 @@ export type ServerState = {
5122
5444
  readonly running: true;
5123
5445
  } & Status);
5124
5446
  export declare const status: (options: LocationOptions) => Promise<ServerState>;
5125
- export type { Document };
5126
- //# sourceMappingURL=model-server.d.mts.map
5447
+ export type { Document };