effect 4.0.0-beta.69 → 4.0.0-beta.70

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 (1269) hide show
  1. package/dist/Array.d.ts +454 -0
  2. package/dist/Array.d.ts.map +1 -1
  3. package/dist/Array.js +152 -0
  4. package/dist/Array.js.map +1 -1
  5. package/dist/BigDecimal.d.ts +87 -33
  6. package/dist/BigDecimal.d.ts.map +1 -1
  7. package/dist/BigDecimal.js +37 -11
  8. package/dist/BigDecimal.js.map +1 -1
  9. package/dist/BigInt.d.ts +71 -14
  10. package/dist/BigInt.d.ts.map +1 -1
  11. package/dist/BigInt.js +35 -10
  12. package/dist/BigInt.js.map +1 -1
  13. package/dist/Boolean.d.ts +4 -0
  14. package/dist/Boolean.d.ts.map +1 -1
  15. package/dist/Boolean.js +4 -0
  16. package/dist/Boolean.js.map +1 -1
  17. package/dist/Brand.d.ts +16 -11
  18. package/dist/Brand.d.ts.map +1 -1
  19. package/dist/Brand.js +16 -11
  20. package/dist/Brand.js.map +1 -1
  21. package/dist/Cache.d.ts +13 -1
  22. package/dist/Cache.d.ts.map +1 -1
  23. package/dist/Cache.js +8 -0
  24. package/dist/Cache.js.map +1 -1
  25. package/dist/Cause.d.ts +95 -3
  26. package/dist/Cause.d.ts.map +1 -1
  27. package/dist/Cause.js +56 -2
  28. package/dist/Cause.js.map +1 -1
  29. package/dist/Channel.d.ts +312 -0
  30. package/dist/Channel.d.ts.map +1 -1
  31. package/dist/Channel.js +126 -0
  32. package/dist/Channel.js.map +1 -1
  33. package/dist/ChannelSchema.d.ts +20 -0
  34. package/dist/ChannelSchema.d.ts.map +1 -1
  35. package/dist/ChannelSchema.js +12 -0
  36. package/dist/ChannelSchema.js.map +1 -1
  37. package/dist/Chunk.d.ts +59 -22
  38. package/dist/Chunk.d.ts.map +1 -1
  39. package/dist/Chunk.js +29 -10
  40. package/dist/Chunk.js.map +1 -1
  41. package/dist/Combiner.d.ts +75 -71
  42. package/dist/Combiner.d.ts.map +1 -1
  43. package/dist/Combiner.js +67 -62
  44. package/dist/Combiner.js.map +1 -1
  45. package/dist/Config.d.ts +167 -46
  46. package/dist/Config.d.ts.map +1 -1
  47. package/dist/Config.js +108 -28
  48. package/dist/Config.js.map +1 -1
  49. package/dist/ConfigProvider.d.ts +235 -158
  50. package/dist/ConfigProvider.d.ts.map +1 -1
  51. package/dist/ConfigProvider.js +144 -93
  52. package/dist/ConfigProvider.js.map +1 -1
  53. package/dist/Console.d.ts +21 -79
  54. package/dist/Console.d.ts.map +1 -1
  55. package/dist/Console.js +20 -75
  56. package/dist/Console.js.map +1 -1
  57. package/dist/Context.d.ts +4 -4
  58. package/dist/Context.js +2 -2
  59. package/dist/Cron.d.ts +42 -16
  60. package/dist/Cron.d.ts.map +1 -1
  61. package/dist/Cron.js +33 -13
  62. package/dist/Cron.js.map +1 -1
  63. package/dist/Crypto.d.ts +6 -0
  64. package/dist/Crypto.d.ts.map +1 -1
  65. package/dist/Crypto.js.map +1 -1
  66. package/dist/Data.d.ts +132 -70
  67. package/dist/Data.d.ts.map +1 -1
  68. package/dist/Data.js +44 -29
  69. package/dist/Data.js.map +1 -1
  70. package/dist/DateTime.d.ts +227 -14
  71. package/dist/DateTime.d.ts.map +1 -1
  72. package/dist/DateTime.js +115 -6
  73. package/dist/DateTime.js.map +1 -1
  74. package/dist/Deferred.d.ts +94 -27
  75. package/dist/Deferred.d.ts.map +1 -1
  76. package/dist/Deferred.js +33 -8
  77. package/dist/Deferred.js.map +1 -1
  78. package/dist/Differ.d.ts +2 -0
  79. package/dist/Differ.d.ts.map +1 -1
  80. package/dist/Duration.d.ts +64 -6
  81. package/dist/Duration.d.ts.map +1 -1
  82. package/dist/Duration.js +26 -2
  83. package/dist/Duration.js.map +1 -1
  84. package/dist/Effect.d.ts +907 -603
  85. package/dist/Effect.d.ts.map +1 -1
  86. package/dist/Effect.js +360 -233
  87. package/dist/Effect.js.map +1 -1
  88. package/dist/Effectable.d.ts +3 -1
  89. package/dist/Effectable.d.ts.map +1 -1
  90. package/dist/Effectable.js +3 -1
  91. package/dist/Effectable.js.map +1 -1
  92. package/dist/Encoding.d.ts +16 -0
  93. package/dist/Encoding.d.ts.map +1 -1
  94. package/dist/Encoding.js +16 -0
  95. package/dist/Encoding.js.map +1 -1
  96. package/dist/Equal.d.ts +52 -40
  97. package/dist/Equal.d.ts.map +1 -1
  98. package/dist/Equal.js +32 -26
  99. package/dist/Equal.js.map +1 -1
  100. package/dist/Equivalence.d.ts +190 -153
  101. package/dist/Equivalence.d.ts.map +1 -1
  102. package/dist/Equivalence.js +129 -104
  103. package/dist/Equivalence.js.map +1 -1
  104. package/dist/ErrorReporter.d.ts +35 -14
  105. package/dist/ErrorReporter.d.ts.map +1 -1
  106. package/dist/ErrorReporter.js +18 -6
  107. package/dist/ErrorReporter.js.map +1 -1
  108. package/dist/ExecutionPlan.d.ts +10 -3
  109. package/dist/ExecutionPlan.d.ts.map +1 -1
  110. package/dist/ExecutionPlan.js +4 -3
  111. package/dist/ExecutionPlan.js.map +1 -1
  112. package/dist/Exit.d.ts +212 -6
  113. package/dist/Exit.d.ts.map +1 -1
  114. package/dist/Exit.js +139 -2
  115. package/dist/Exit.js.map +1 -1
  116. package/dist/Fiber.d.ts +8 -0
  117. package/dist/Fiber.d.ts.map +1 -1
  118. package/dist/Fiber.js +4 -0
  119. package/dist/Fiber.js.map +1 -1
  120. package/dist/FiberHandle.d.ts +46 -23
  121. package/dist/FiberHandle.d.ts.map +1 -1
  122. package/dist/FiberHandle.js +27 -11
  123. package/dist/FiberHandle.js.map +1 -1
  124. package/dist/FiberMap.d.ts +43 -4
  125. package/dist/FiberMap.d.ts.map +1 -1
  126. package/dist/FiberMap.js +27 -4
  127. package/dist/FiberMap.js.map +1 -1
  128. package/dist/FiberSet.d.ts +21 -6
  129. package/dist/FiberSet.d.ts.map +1 -1
  130. package/dist/FiberSet.js +17 -6
  131. package/dist/FiberSet.js.map +1 -1
  132. package/dist/FileSystem.d.ts +64 -0
  133. package/dist/FileSystem.d.ts.map +1 -1
  134. package/dist/FileSystem.js +26 -0
  135. package/dist/FileSystem.js.map +1 -1
  136. package/dist/Filter.d.ts +53 -21
  137. package/dist/Filter.d.ts.map +1 -1
  138. package/dist/Filter.js +20 -9
  139. package/dist/Filter.js.map +1 -1
  140. package/dist/Formatter.d.ts +21 -22
  141. package/dist/Formatter.d.ts.map +1 -1
  142. package/dist/Formatter.js +12 -12
  143. package/dist/Formatter.js.map +1 -1
  144. package/dist/Function.d.ts +67 -75
  145. package/dist/Function.d.ts.map +1 -1
  146. package/dist/Function.js +29 -19
  147. package/dist/Function.js.map +1 -1
  148. package/dist/Graph.d.ts +51 -13
  149. package/dist/Graph.d.ts.map +1 -1
  150. package/dist/Graph.js +19 -3
  151. package/dist/Graph.js.map +1 -1
  152. package/dist/HKT.d.ts +22 -21
  153. package/dist/HKT.d.ts.map +1 -1
  154. package/dist/Hash.d.ts +33 -10
  155. package/dist/Hash.d.ts.map +1 -1
  156. package/dist/Hash.js +27 -10
  157. package/dist/Hash.js.map +1 -1
  158. package/dist/HashMap.d.ts +50 -9
  159. package/dist/HashMap.d.ts.map +1 -1
  160. package/dist/HashMap.js +17 -3
  161. package/dist/HashMap.js.map +1 -1
  162. package/dist/HashRing.d.ts +4 -0
  163. package/dist/HashRing.d.ts.map +1 -1
  164. package/dist/HashRing.js +2 -0
  165. package/dist/HashRing.js.map +1 -1
  166. package/dist/HashSet.d.ts +2 -0
  167. package/dist/HashSet.d.ts.map +1 -1
  168. package/dist/HashSet.js.map +1 -1
  169. package/dist/Inspectable.d.ts +15 -2
  170. package/dist/Inspectable.d.ts.map +1 -1
  171. package/dist/Inspectable.js +11 -2
  172. package/dist/Inspectable.js.map +1 -1
  173. package/dist/Iterable.d.ts +104 -22
  174. package/dist/Iterable.d.ts.map +1 -1
  175. package/dist/Iterable.js +46 -12
  176. package/dist/Iterable.js.map +1 -1
  177. package/dist/JsonPatch.d.ts +61 -80
  178. package/dist/JsonPatch.d.ts.map +1 -1
  179. package/dist/JsonPatch.js +35 -42
  180. package/dist/JsonPatch.js.map +1 -1
  181. package/dist/JsonPointer.d.ts +16 -20
  182. package/dist/JsonPointer.d.ts.map +1 -1
  183. package/dist/JsonPointer.js +16 -20
  184. package/dist/JsonPointer.js.map +1 -1
  185. package/dist/JsonSchema.d.ts +123 -73
  186. package/dist/JsonSchema.d.ts.map +1 -1
  187. package/dist/JsonSchema.js +95 -53
  188. package/dist/JsonSchema.js.map +1 -1
  189. package/dist/Latch.d.ts +28 -2
  190. package/dist/Latch.d.ts.map +1 -1
  191. package/dist/Latch.js +22 -2
  192. package/dist/Latch.js.map +1 -1
  193. package/dist/Layer.d.ts +781 -335
  194. package/dist/Layer.d.ts.map +1 -1
  195. package/dist/Layer.js +324 -129
  196. package/dist/Layer.js.map +1 -1
  197. package/dist/LogLevel.d.ts +86 -13
  198. package/dist/LogLevel.d.ts.map +1 -1
  199. package/dist/LogLevel.js +30 -4
  200. package/dist/LogLevel.js.map +1 -1
  201. package/dist/Logger.d.ts +63 -51
  202. package/dist/Logger.d.ts.map +1 -1
  203. package/dist/Logger.js +61 -51
  204. package/dist/Logger.js.map +1 -1
  205. package/dist/ManagedRuntime.d.ts +12 -0
  206. package/dist/ManagedRuntime.d.ts.map +1 -1
  207. package/dist/ManagedRuntime.js +1 -0
  208. package/dist/ManagedRuntime.js.map +1 -1
  209. package/dist/Match.d.ts +83 -1
  210. package/dist/Match.d.ts.map +1 -1
  211. package/dist/Match.js +31 -1
  212. package/dist/Match.js.map +1 -1
  213. package/dist/Metric.d.ts +89 -12
  214. package/dist/Metric.d.ts.map +1 -1
  215. package/dist/Metric.js +53 -8
  216. package/dist/Metric.js.map +1 -1
  217. package/dist/MutableHashMap.d.ts +14 -0
  218. package/dist/MutableHashMap.d.ts.map +1 -1
  219. package/dist/MutableHashMap.js +4 -0
  220. package/dist/MutableHashMap.js.map +1 -1
  221. package/dist/MutableHashSet.d.ts +2 -0
  222. package/dist/MutableHashSet.d.ts.map +1 -1
  223. package/dist/MutableHashSet.js.map +1 -1
  224. package/dist/MutableList.d.ts +24 -6
  225. package/dist/MutableList.d.ts.map +1 -1
  226. package/dist/MutableList.js +22 -6
  227. package/dist/MutableList.js.map +1 -1
  228. package/dist/MutableRef.d.ts +2 -0
  229. package/dist/MutableRef.d.ts.map +1 -1
  230. package/dist/MutableRef.js.map +1 -1
  231. package/dist/Newtype.d.ts +69 -30
  232. package/dist/Newtype.d.ts.map +1 -1
  233. package/dist/Newtype.js +52 -22
  234. package/dist/Newtype.js.map +1 -1
  235. package/dist/NonEmptyIterable.d.ts +6 -0
  236. package/dist/NonEmptyIterable.d.ts.map +1 -1
  237. package/dist/NonEmptyIterable.js +2 -0
  238. package/dist/NonEmptyIterable.js.map +1 -1
  239. package/dist/Number.d.ts +16 -30
  240. package/dist/Number.d.ts.map +1 -1
  241. package/dist/Number.js +6 -12
  242. package/dist/Number.js.map +1 -1
  243. package/dist/Optic.d.ts +90 -40
  244. package/dist/Optic.d.ts.map +1 -1
  245. package/dist/Optic.js +48 -24
  246. package/dist/Optic.js.map +1 -1
  247. package/dist/Option.d.ts +121 -111
  248. package/dist/Option.d.ts.map +1 -1
  249. package/dist/Option.js +56 -54
  250. package/dist/Option.js.map +1 -1
  251. package/dist/Order.d.ts +169 -167
  252. package/dist/Order.d.ts.map +1 -1
  253. package/dist/Order.js +135 -135
  254. package/dist/Order.js.map +1 -1
  255. package/dist/Ordering.d.ts +4 -0
  256. package/dist/Ordering.d.ts.map +1 -1
  257. package/dist/Ordering.js +2 -0
  258. package/dist/Ordering.js.map +1 -1
  259. package/dist/PartitionedSemaphore.d.ts +7 -5
  260. package/dist/PartitionedSemaphore.d.ts.map +1 -1
  261. package/dist/PartitionedSemaphore.js +5 -5
  262. package/dist/PartitionedSemaphore.js.map +1 -1
  263. package/dist/Path.d.ts +8 -0
  264. package/dist/Path.d.ts.map +1 -1
  265. package/dist/Path.js +4 -0
  266. package/dist/Path.js.map +1 -1
  267. package/dist/Pipeable.d.ts +10 -0
  268. package/dist/Pipeable.d.ts.map +1 -1
  269. package/dist/Pipeable.js +8 -0
  270. package/dist/Pipeable.js.map +1 -1
  271. package/dist/PlatformError.d.ts +12 -0
  272. package/dist/PlatformError.d.ts.map +1 -1
  273. package/dist/PlatformError.js +10 -0
  274. package/dist/PlatformError.js.map +1 -1
  275. package/dist/Pool.d.ts +30 -16
  276. package/dist/Pool.d.ts.map +1 -1
  277. package/dist/Pool.js +30 -16
  278. package/dist/Pool.js.map +1 -1
  279. package/dist/Predicate.d.ts +520 -352
  280. package/dist/Predicate.d.ts.map +1 -1
  281. package/dist/Predicate.js +271 -184
  282. package/dist/Predicate.js.map +1 -1
  283. package/dist/PrimaryKey.d.ts +4 -0
  284. package/dist/PrimaryKey.d.ts.map +1 -1
  285. package/dist/PrimaryKey.js +2 -0
  286. package/dist/PrimaryKey.js.map +1 -1
  287. package/dist/PubSub.d.ts +22 -4
  288. package/dist/PubSub.d.ts.map +1 -1
  289. package/dist/PubSub.js +17 -3
  290. package/dist/PubSub.js.map +1 -1
  291. package/dist/Pull.d.ts +16 -0
  292. package/dist/Pull.d.ts.map +1 -1
  293. package/dist/Pull.js +10 -0
  294. package/dist/Pull.js.map +1 -1
  295. package/dist/Queue.d.ts +44 -0
  296. package/dist/Queue.d.ts.map +1 -1
  297. package/dist/Queue.js +28 -0
  298. package/dist/Queue.js.map +1 -1
  299. package/dist/Random.d.ts +25 -6
  300. package/dist/Random.d.ts.map +1 -1
  301. package/dist/Random.js +11 -2
  302. package/dist/Random.js.map +1 -1
  303. package/dist/RcMap.d.ts +10 -6
  304. package/dist/RcMap.d.ts.map +1 -1
  305. package/dist/RcMap.js +2 -2
  306. package/dist/RcMap.js.map +1 -1
  307. package/dist/RcRef.d.ts +3 -1
  308. package/dist/RcRef.d.ts.map +1 -1
  309. package/dist/RcRef.js.map +1 -1
  310. package/dist/Record.d.ts +24 -3
  311. package/dist/Record.d.ts.map +1 -1
  312. package/dist/Record.js +12 -3
  313. package/dist/Record.js.map +1 -1
  314. package/dist/Redactable.d.ts +54 -41
  315. package/dist/Redactable.d.ts.map +1 -1
  316. package/dist/Redactable.js +42 -32
  317. package/dist/Redactable.js.map +1 -1
  318. package/dist/Redacted.d.ts +10 -0
  319. package/dist/Redacted.d.ts.map +1 -1
  320. package/dist/Redacted.js +6 -0
  321. package/dist/Redacted.js.map +1 -1
  322. package/dist/Reducer.d.ts +20 -11
  323. package/dist/Reducer.d.ts.map +1 -1
  324. package/dist/Reducer.js +10 -6
  325. package/dist/Reducer.js.map +1 -1
  326. package/dist/Ref.d.ts +45 -24
  327. package/dist/Ref.d.ts.map +1 -1
  328. package/dist/Ref.js +41 -21
  329. package/dist/Ref.js.map +1 -1
  330. package/dist/References.d.ts +18 -1
  331. package/dist/References.d.ts.map +1 -1
  332. package/dist/References.js +17 -1
  333. package/dist/References.js.map +1 -1
  334. package/dist/Request.d.ts +3 -3
  335. package/dist/Request.js +2 -2
  336. package/dist/RequestResolver.d.ts +7 -17
  337. package/dist/RequestResolver.d.ts.map +1 -1
  338. package/dist/RequestResolver.js +3 -5
  339. package/dist/RequestResolver.js.map +1 -1
  340. package/dist/Resource.d.ts +2 -0
  341. package/dist/Resource.d.ts.map +1 -1
  342. package/dist/Resource.js +2 -0
  343. package/dist/Resource.js.map +1 -1
  344. package/dist/Result.d.ts +188 -6
  345. package/dist/Result.d.ts.map +1 -1
  346. package/dist/Result.js +84 -2
  347. package/dist/Result.js.map +1 -1
  348. package/dist/Runtime.d.ts +14 -11
  349. package/dist/Runtime.d.ts.map +1 -1
  350. package/dist/Runtime.js +11 -9
  351. package/dist/Runtime.js.map +1 -1
  352. package/dist/Schedule.d.ts +27 -3
  353. package/dist/Schedule.d.ts.map +1 -1
  354. package/dist/Schedule.js +21 -2
  355. package/dist/Schedule.js.map +1 -1
  356. package/dist/Scheduler.d.ts +22 -19
  357. package/dist/Scheduler.d.ts.map +1 -1
  358. package/dist/Scheduler.js +14 -12
  359. package/dist/Scheduler.js.map +1 -1
  360. package/dist/Schema.d.ts +547 -130
  361. package/dist/Schema.d.ts.map +1 -1
  362. package/dist/Schema.js +409 -121
  363. package/dist/Schema.js.map +1 -1
  364. package/dist/SchemaAST.d.ts +123 -65
  365. package/dist/SchemaAST.d.ts.map +1 -1
  366. package/dist/SchemaAST.js +90 -39
  367. package/dist/SchemaAST.js.map +1 -1
  368. package/dist/SchemaGetter.d.ts +269 -234
  369. package/dist/SchemaGetter.d.ts.map +1 -1
  370. package/dist/SchemaGetter.js +245 -215
  371. package/dist/SchemaGetter.js.map +1 -1
  372. package/dist/SchemaIssue.d.ts +48 -46
  373. package/dist/SchemaIssue.d.ts.map +1 -1
  374. package/dist/SchemaIssue.js +34 -34
  375. package/dist/SchemaIssue.js.map +1 -1
  376. package/dist/SchemaParser.d.ts +58 -0
  377. package/dist/SchemaParser.d.ts.map +1 -1
  378. package/dist/SchemaParser.js +58 -0
  379. package/dist/SchemaParser.js.map +1 -1
  380. package/dist/SchemaRepresentation.d.ts +198 -96
  381. package/dist/SchemaRepresentation.d.ts.map +1 -1
  382. package/dist/SchemaRepresentation.js +107 -45
  383. package/dist/SchemaRepresentation.js.map +1 -1
  384. package/dist/SchemaTransformation.d.ts +272 -203
  385. package/dist/SchemaTransformation.d.ts.map +1 -1
  386. package/dist/SchemaTransformation.js +249 -187
  387. package/dist/SchemaTransformation.js.map +1 -1
  388. package/dist/SchemaUtils.d.ts +2 -0
  389. package/dist/SchemaUtils.d.ts.map +1 -1
  390. package/dist/SchemaUtils.js +2 -0
  391. package/dist/SchemaUtils.js.map +1 -1
  392. package/dist/Scope.d.ts +18 -0
  393. package/dist/Scope.d.ts.map +1 -1
  394. package/dist/Scope.js +12 -0
  395. package/dist/Scope.js.map +1 -1
  396. package/dist/ScopedCache.d.ts +44 -0
  397. package/dist/ScopedCache.d.ts.map +1 -1
  398. package/dist/ScopedCache.js +18 -0
  399. package/dist/ScopedCache.js.map +1 -1
  400. package/dist/ScopedRef.d.ts +9 -3
  401. package/dist/ScopedRef.d.ts.map +1 -1
  402. package/dist/ScopedRef.js +3 -1
  403. package/dist/ScopedRef.js.map +1 -1
  404. package/dist/Semaphore.d.ts +6 -0
  405. package/dist/Semaphore.d.ts.map +1 -1
  406. package/dist/Semaphore.js +4 -0
  407. package/dist/Semaphore.js.map +1 -1
  408. package/dist/Sink.d.ts +108 -0
  409. package/dist/Sink.d.ts.map +1 -1
  410. package/dist/Sink.js +54 -0
  411. package/dist/Sink.js.map +1 -1
  412. package/dist/Stdio.d.ts +7 -3
  413. package/dist/Stdio.d.ts.map +1 -1
  414. package/dist/Stdio.js +2 -0
  415. package/dist/Stdio.js.map +1 -1
  416. package/dist/Stream.d.ts +416 -16
  417. package/dist/Stream.d.ts.map +1 -1
  418. package/dist/Stream.js +164 -8
  419. package/dist/Stream.js.map +1 -1
  420. package/dist/String.d.ts +14 -0
  421. package/dist/String.d.ts.map +1 -1
  422. package/dist/String.js +6 -0
  423. package/dist/String.js.map +1 -1
  424. package/dist/Struct.d.ts +371 -191
  425. package/dist/Struct.d.ts.map +1 -1
  426. package/dist/Struct.js +144 -77
  427. package/dist/Struct.js.map +1 -1
  428. package/dist/SubscriptionRef.d.ts +7 -1
  429. package/dist/SubscriptionRef.d.ts.map +1 -1
  430. package/dist/SubscriptionRef.js +5 -1
  431. package/dist/SubscriptionRef.js.map +1 -1
  432. package/dist/SynchronizedRef.d.ts +2 -0
  433. package/dist/SynchronizedRef.d.ts.map +1 -1
  434. package/dist/SynchronizedRef.js +2 -0
  435. package/dist/SynchronizedRef.js.map +1 -1
  436. package/dist/Tracer.d.ts +17 -27
  437. package/dist/Tracer.d.ts.map +1 -1
  438. package/dist/Tracer.js +8 -12
  439. package/dist/Tracer.js.map +1 -1
  440. package/dist/Trie.d.ts +23 -9
  441. package/dist/Trie.d.ts.map +1 -1
  442. package/dist/Trie.js +13 -3
  443. package/dist/Trie.js.map +1 -1
  444. package/dist/Tuple.d.ts +287 -144
  445. package/dist/Tuple.d.ts.map +1 -1
  446. package/dist/Tuple.js +135 -66
  447. package/dist/Tuple.js.map +1 -1
  448. package/dist/TxChunk.d.ts +182 -93
  449. package/dist/TxChunk.d.ts.map +1 -1
  450. package/dist/TxChunk.js +68 -35
  451. package/dist/TxChunk.js.map +1 -1
  452. package/dist/TxDeferred.d.ts +3 -4
  453. package/dist/TxDeferred.d.ts.map +1 -1
  454. package/dist/TxDeferred.js.map +1 -1
  455. package/dist/TxHashMap.d.ts +163 -86
  456. package/dist/TxHashMap.d.ts.map +1 -1
  457. package/dist/TxHashMap.js +57 -30
  458. package/dist/TxHashMap.js.map +1 -1
  459. package/dist/TxHashSet.d.ts +24 -27
  460. package/dist/TxHashSet.d.ts.map +1 -1
  461. package/dist/TxHashSet.js +9 -6
  462. package/dist/TxHashSet.js.map +1 -1
  463. package/dist/TxPriorityQueue.d.ts +2 -0
  464. package/dist/TxPriorityQueue.d.ts.map +1 -1
  465. package/dist/TxPriorityQueue.js.map +1 -1
  466. package/dist/TxPubSub.d.ts +36 -35
  467. package/dist/TxPubSub.d.ts.map +1 -1
  468. package/dist/TxPubSub.js +22 -21
  469. package/dist/TxPubSub.js.map +1 -1
  470. package/dist/TxQueue.d.ts +77 -114
  471. package/dist/TxQueue.d.ts.map +1 -1
  472. package/dist/TxQueue.js +45 -62
  473. package/dist/TxQueue.js.map +1 -1
  474. package/dist/TxRef.d.ts +4 -0
  475. package/dist/TxRef.d.ts.map +1 -1
  476. package/dist/TxRef.js +2 -0
  477. package/dist/TxRef.js.map +1 -1
  478. package/dist/TxSemaphore.d.ts +66 -27
  479. package/dist/TxSemaphore.d.ts.map +1 -1
  480. package/dist/TxSemaphore.js +38 -15
  481. package/dist/TxSemaphore.js.map +1 -1
  482. package/dist/Types.d.ts +202 -75
  483. package/dist/Types.d.ts.map +1 -1
  484. package/dist/UndefinedOr.d.ts +31 -29
  485. package/dist/UndefinedOr.d.ts.map +1 -1
  486. package/dist/UndefinedOr.js +27 -21
  487. package/dist/UndefinedOr.js.map +1 -1
  488. package/dist/Unify.d.ts +28 -0
  489. package/dist/Unify.d.ts.map +1 -1
  490. package/dist/Unify.js +2 -0
  491. package/dist/Unify.js.map +1 -1
  492. package/dist/Utils.d.ts +29 -35
  493. package/dist/Utils.d.ts.map +1 -1
  494. package/dist/Utils.js +11 -13
  495. package/dist/Utils.js.map +1 -1
  496. package/dist/index.d.ts +18 -7
  497. package/dist/index.d.ts.map +1 -1
  498. package/dist/index.js +18 -7
  499. package/dist/index.js.map +1 -1
  500. package/dist/testing/TestClock.d.ts +17 -17
  501. package/dist/testing/TestClock.js +1 -1
  502. package/dist/testing/TestClock.js.map +1 -1
  503. package/dist/testing/TestConsole.d.ts +2 -0
  504. package/dist/testing/TestConsole.d.ts.map +1 -1
  505. package/dist/testing/TestConsole.js.map +1 -1
  506. package/dist/testing/TestSchema.d.ts +43 -55
  507. package/dist/testing/TestSchema.d.ts.map +1 -1
  508. package/dist/testing/TestSchema.js +43 -55
  509. package/dist/testing/TestSchema.js.map +1 -1
  510. package/dist/unstable/ai/AiError.d.ts +62 -11
  511. package/dist/unstable/ai/AiError.d.ts.map +1 -1
  512. package/dist/unstable/ai/AiError.js +58 -11
  513. package/dist/unstable/ai/AiError.js.map +1 -1
  514. package/dist/unstable/ai/AnthropicStructuredOutput.d.ts +4 -4
  515. package/dist/unstable/ai/AnthropicStructuredOutput.js +4 -4
  516. package/dist/unstable/ai/Chat.d.ts +29 -1
  517. package/dist/unstable/ai/Chat.d.ts.map +1 -1
  518. package/dist/unstable/ai/Chat.js +15 -1
  519. package/dist/unstable/ai/Chat.js.map +1 -1
  520. package/dist/unstable/ai/IdGenerator.d.ts +10 -0
  521. package/dist/unstable/ai/IdGenerator.d.ts.map +1 -1
  522. package/dist/unstable/ai/IdGenerator.js +8 -0
  523. package/dist/unstable/ai/IdGenerator.js.map +1 -1
  524. package/dist/unstable/ai/LanguageModel.d.ts +32 -46
  525. package/dist/unstable/ai/LanguageModel.d.ts.map +1 -1
  526. package/dist/unstable/ai/LanguageModel.js +5 -14
  527. package/dist/unstable/ai/LanguageModel.js.map +1 -1
  528. package/dist/unstable/ai/McpSchema.d.ts +84 -32
  529. package/dist/unstable/ai/McpSchema.d.ts.map +1 -1
  530. package/dist/unstable/ai/McpSchema.js +73 -28
  531. package/dist/unstable/ai/McpSchema.js.map +1 -1
  532. package/dist/unstable/ai/McpServer.d.ts +8 -0
  533. package/dist/unstable/ai/McpServer.d.ts.map +1 -1
  534. package/dist/unstable/ai/McpServer.js +6 -0
  535. package/dist/unstable/ai/McpServer.js.map +1 -1
  536. package/dist/unstable/ai/Model.d.ts +9 -5
  537. package/dist/unstable/ai/Model.d.ts.map +1 -1
  538. package/dist/unstable/ai/Model.js +4 -0
  539. package/dist/unstable/ai/Model.js.map +1 -1
  540. package/dist/unstable/ai/OpenAiStructuredOutput.d.ts +3 -2
  541. package/dist/unstable/ai/OpenAiStructuredOutput.d.ts.map +1 -1
  542. package/dist/unstable/ai/OpenAiStructuredOutput.js +3 -2
  543. package/dist/unstable/ai/OpenAiStructuredOutput.js.map +1 -1
  544. package/dist/unstable/ai/Prompt.d.ts +62 -35
  545. package/dist/unstable/ai/Prompt.d.ts.map +1 -1
  546. package/dist/unstable/ai/Prompt.js +16 -15
  547. package/dist/unstable/ai/Prompt.js.map +1 -1
  548. package/dist/unstable/ai/Response.d.ts +40 -21
  549. package/dist/unstable/ai/Response.d.ts.map +1 -1
  550. package/dist/unstable/ai/Response.js +10 -0
  551. package/dist/unstable/ai/Response.js.map +1 -1
  552. package/dist/unstable/ai/ResponseIdTracker.d.ts +8 -0
  553. package/dist/unstable/ai/ResponseIdTracker.d.ts.map +1 -1
  554. package/dist/unstable/ai/ResponseIdTracker.js +4 -0
  555. package/dist/unstable/ai/ResponseIdTracker.js.map +1 -1
  556. package/dist/unstable/ai/Telemetry.d.ts +30 -5
  557. package/dist/unstable/ai/Telemetry.d.ts.map +1 -1
  558. package/dist/unstable/ai/Telemetry.js +7 -1
  559. package/dist/unstable/ai/Telemetry.js.map +1 -1
  560. package/dist/unstable/ai/Tokenizer.d.ts +6 -0
  561. package/dist/unstable/ai/Tokenizer.d.ts.map +1 -1
  562. package/dist/unstable/ai/Tokenizer.js +4 -0
  563. package/dist/unstable/ai/Tokenizer.js.map +1 -1
  564. package/dist/unstable/ai/Tool.d.ts +68 -0
  565. package/dist/unstable/ai/Tool.d.ts.map +1 -1
  566. package/dist/unstable/ai/Tool.js +36 -0
  567. package/dist/unstable/ai/Tool.js.map +1 -1
  568. package/dist/unstable/ai/Toolkit.d.ts +12 -0
  569. package/dist/unstable/ai/Toolkit.d.ts.map +1 -1
  570. package/dist/unstable/ai/Toolkit.js +6 -0
  571. package/dist/unstable/ai/Toolkit.js.map +1 -1
  572. package/dist/unstable/cli/Argument.d.ts +14 -4
  573. package/dist/unstable/cli/Argument.d.ts.map +1 -1
  574. package/dist/unstable/cli/Argument.js +4 -0
  575. package/dist/unstable/cli/Argument.js.map +1 -1
  576. package/dist/unstable/cli/CliError.d.ts +6 -0
  577. package/dist/unstable/cli/CliError.d.ts.map +1 -1
  578. package/dist/unstable/cli/CliError.js +4 -0
  579. package/dist/unstable/cli/CliError.js.map +1 -1
  580. package/dist/unstable/cli/Command.d.ts +123 -12
  581. package/dist/unstable/cli/Command.d.ts.map +1 -1
  582. package/dist/unstable/cli/Command.js +57 -4
  583. package/dist/unstable/cli/Command.js.map +1 -1
  584. package/dist/unstable/cli/Flag.d.ts +31 -14
  585. package/dist/unstable/cli/Flag.d.ts.map +1 -1
  586. package/dist/unstable/cli/Flag.js +23 -10
  587. package/dist/unstable/cli/Flag.js.map +1 -1
  588. package/dist/unstable/cli/Param.d.ts +10 -0
  589. package/dist/unstable/cli/Param.d.ts.map +1 -1
  590. package/dist/unstable/cli/Param.js +46 -5
  591. package/dist/unstable/cli/Param.js.map +1 -1
  592. package/dist/unstable/cli/Primitive.d.ts +10 -0
  593. package/dist/unstable/cli/Primitive.d.ts.map +1 -1
  594. package/dist/unstable/cli/Primitive.js +10 -0
  595. package/dist/unstable/cli/Primitive.js.map +1 -1
  596. package/dist/unstable/cli/Prompt.d.ts +47 -40
  597. package/dist/unstable/cli/Prompt.d.ts.map +1 -1
  598. package/dist/unstable/cli/Prompt.js +25 -20
  599. package/dist/unstable/cli/Prompt.js.map +1 -1
  600. package/dist/unstable/cli/internal/command.d.ts +1 -0
  601. package/dist/unstable/cli/internal/command.d.ts.map +1 -1
  602. package/dist/unstable/cli/internal/command.js +10 -2
  603. package/dist/unstable/cli/internal/command.js.map +1 -1
  604. package/dist/unstable/cli/internal/completions/descriptor.js +3 -0
  605. package/dist/unstable/cli/internal/completions/descriptor.js.map +1 -1
  606. package/dist/unstable/cli/internal/parser.js +8 -1
  607. package/dist/unstable/cli/internal/parser.js.map +1 -1
  608. package/dist/unstable/cluster/ClusterCron.d.ts +10 -1
  609. package/dist/unstable/cluster/ClusterCron.d.ts.map +1 -1
  610. package/dist/unstable/cluster/ClusterCron.js +2 -0
  611. package/dist/unstable/cluster/ClusterCron.js.map +1 -1
  612. package/dist/unstable/cluster/ClusterSchema.d.ts +8 -0
  613. package/dist/unstable/cluster/ClusterSchema.d.ts.map +1 -1
  614. package/dist/unstable/cluster/ClusterSchema.js +8 -0
  615. package/dist/unstable/cluster/ClusterSchema.js.map +1 -1
  616. package/dist/unstable/cluster/ClusterWorkflowEngine.d.ts +4 -0
  617. package/dist/unstable/cluster/ClusterWorkflowEngine.d.ts.map +1 -1
  618. package/dist/unstable/cluster/ClusterWorkflowEngine.js +4 -0
  619. package/dist/unstable/cluster/ClusterWorkflowEngine.js.map +1 -1
  620. package/dist/unstable/cluster/DeliverAt.d.ts +3 -4
  621. package/dist/unstable/cluster/DeliverAt.d.ts.map +1 -1
  622. package/dist/unstable/cluster/DeliverAt.js.map +1 -1
  623. package/dist/unstable/cluster/Entity.d.ts +24 -0
  624. package/dist/unstable/cluster/Entity.d.ts.map +1 -1
  625. package/dist/unstable/cluster/Entity.js +12 -0
  626. package/dist/unstable/cluster/Entity.js.map +1 -1
  627. package/dist/unstable/cluster/EntityProxy.d.ts +10 -4
  628. package/dist/unstable/cluster/EntityProxy.d.ts.map +1 -1
  629. package/dist/unstable/cluster/EntityProxy.js.map +1 -1
  630. package/dist/unstable/cluster/EntityProxyServer.d.ts +6 -0
  631. package/dist/unstable/cluster/EntityProxyServer.d.ts.map +1 -1
  632. package/dist/unstable/cluster/EntityProxyServer.js +4 -0
  633. package/dist/unstable/cluster/EntityProxyServer.js.map +1 -1
  634. package/dist/unstable/cluster/EntityResource.d.ts +10 -0
  635. package/dist/unstable/cluster/EntityResource.d.ts.map +1 -1
  636. package/dist/unstable/cluster/EntityResource.js +8 -0
  637. package/dist/unstable/cluster/EntityResource.js.map +1 -1
  638. package/dist/unstable/cluster/Envelope.d.ts +16 -0
  639. package/dist/unstable/cluster/Envelope.d.ts.map +1 -1
  640. package/dist/unstable/cluster/Envelope.js +10 -0
  641. package/dist/unstable/cluster/Envelope.js.map +1 -1
  642. package/dist/unstable/cluster/HttpRunner.d.ts +16 -0
  643. package/dist/unstable/cluster/HttpRunner.d.ts.map +1 -1
  644. package/dist/unstable/cluster/HttpRunner.js +16 -0
  645. package/dist/unstable/cluster/HttpRunner.js.map +1 -1
  646. package/dist/unstable/cluster/K8sHttpClient.d.ts +8 -0
  647. package/dist/unstable/cluster/K8sHttpClient.d.ts.map +1 -1
  648. package/dist/unstable/cluster/K8sHttpClient.js +8 -0
  649. package/dist/unstable/cluster/K8sHttpClient.js.map +1 -1
  650. package/dist/unstable/cluster/Message.d.ts +24 -0
  651. package/dist/unstable/cluster/Message.d.ts.map +1 -1
  652. package/dist/unstable/cluster/Message.js +18 -0
  653. package/dist/unstable/cluster/Message.js.map +1 -1
  654. package/dist/unstable/cluster/MessageStorage.d.ts +64 -20
  655. package/dist/unstable/cluster/MessageStorage.d.ts.map +1 -1
  656. package/dist/unstable/cluster/MessageStorage.js +8 -0
  657. package/dist/unstable/cluster/MessageStorage.js.map +1 -1
  658. package/dist/unstable/cluster/Reply.d.ts +6 -6
  659. package/dist/unstable/cluster/Reply.d.ts.map +1 -1
  660. package/dist/unstable/cluster/Reply.js +4 -3
  661. package/dist/unstable/cluster/Reply.js.map +1 -1
  662. package/dist/unstable/cluster/Runner.d.ts +2 -0
  663. package/dist/unstable/cluster/Runner.d.ts.map +1 -1
  664. package/dist/unstable/cluster/Runner.js +2 -0
  665. package/dist/unstable/cluster/Runner.js.map +1 -1
  666. package/dist/unstable/cluster/RunnerHealth.d.ts +13 -2
  667. package/dist/unstable/cluster/RunnerHealth.d.ts.map +1 -1
  668. package/dist/unstable/cluster/RunnerHealth.js +13 -2
  669. package/dist/unstable/cluster/RunnerHealth.js.map +1 -1
  670. package/dist/unstable/cluster/RunnerServer.d.ts +8 -8
  671. package/dist/unstable/cluster/RunnerServer.d.ts.map +1 -1
  672. package/dist/unstable/cluster/RunnerServer.js +8 -8
  673. package/dist/unstable/cluster/RunnerServer.js.map +1 -1
  674. package/dist/unstable/cluster/RunnerStorage.d.ts +2 -0
  675. package/dist/unstable/cluster/RunnerStorage.d.ts.map +1 -1
  676. package/dist/unstable/cluster/RunnerStorage.js +2 -0
  677. package/dist/unstable/cluster/RunnerStorage.js.map +1 -1
  678. package/dist/unstable/cluster/ShardId.d.ts +4 -0
  679. package/dist/unstable/cluster/ShardId.d.ts.map +1 -1
  680. package/dist/unstable/cluster/ShardId.js +4 -0
  681. package/dist/unstable/cluster/ShardId.js.map +1 -1
  682. package/dist/unstable/cluster/Snowflake.d.ts +2 -0
  683. package/dist/unstable/cluster/Snowflake.d.ts.map +1 -1
  684. package/dist/unstable/cluster/Snowflake.js +2 -0
  685. package/dist/unstable/cluster/Snowflake.js.map +1 -1
  686. package/dist/unstable/cluster/TestRunner.d.ts +3 -2
  687. package/dist/unstable/cluster/TestRunner.d.ts.map +1 -1
  688. package/dist/unstable/cluster/TestRunner.js +3 -2
  689. package/dist/unstable/cluster/TestRunner.js.map +1 -1
  690. package/dist/unstable/devtools/DevToolsSchema.d.ts +34 -2
  691. package/dist/unstable/devtools/DevToolsSchema.d.ts.map +1 -1
  692. package/dist/unstable/devtools/DevToolsSchema.js +14 -0
  693. package/dist/unstable/devtools/DevToolsSchema.js.map +1 -1
  694. package/dist/unstable/devtools/DevToolsServer.d.ts +4 -0
  695. package/dist/unstable/devtools/DevToolsServer.d.ts.map +1 -1
  696. package/dist/unstable/devtools/DevToolsServer.js +2 -0
  697. package/dist/unstable/devtools/DevToolsServer.js.map +1 -1
  698. package/dist/unstable/encoding/Msgpack.d.ts +24 -0
  699. package/dist/unstable/encoding/Msgpack.d.ts.map +1 -1
  700. package/dist/unstable/encoding/Msgpack.js +18 -0
  701. package/dist/unstable/encoding/Msgpack.js.map +1 -1
  702. package/dist/unstable/encoding/Ndjson.d.ts +46 -2
  703. package/dist/unstable/encoding/Ndjson.d.ts.map +1 -1
  704. package/dist/unstable/encoding/Ndjson.js +30 -2
  705. package/dist/unstable/encoding/Ndjson.js.map +1 -1
  706. package/dist/unstable/encoding/Sse.d.ts +24 -17
  707. package/dist/unstable/encoding/Sse.d.ts.map +1 -1
  708. package/dist/unstable/encoding/Sse.js +20 -11
  709. package/dist/unstable/encoding/Sse.js.map +1 -1
  710. package/dist/unstable/eventlog/Event.d.ts +16 -0
  711. package/dist/unstable/eventlog/Event.d.ts.map +1 -1
  712. package/dist/unstable/eventlog/Event.js.map +1 -1
  713. package/dist/unstable/eventlog/EventGroup.d.ts +4 -0
  714. package/dist/unstable/eventlog/EventGroup.d.ts.map +1 -1
  715. package/dist/unstable/eventlog/EventGroup.js +2 -0
  716. package/dist/unstable/eventlog/EventGroup.js.map +1 -1
  717. package/dist/unstable/eventlog/EventJournal.d.ts +20 -0
  718. package/dist/unstable/eventlog/EventJournal.d.ts.map +1 -1
  719. package/dist/unstable/eventlog/EventJournal.js +18 -0
  720. package/dist/unstable/eventlog/EventJournal.js.map +1 -1
  721. package/dist/unstable/eventlog/EventLog.d.ts +22 -0
  722. package/dist/unstable/eventlog/EventLog.d.ts.map +1 -1
  723. package/dist/unstable/eventlog/EventLog.js +18 -0
  724. package/dist/unstable/eventlog/EventLog.js.map +1 -1
  725. package/dist/unstable/eventlog/EventLogMessage.d.ts +10 -0
  726. package/dist/unstable/eventlog/EventLogMessage.d.ts.map +1 -1
  727. package/dist/unstable/eventlog/EventLogMessage.js +10 -0
  728. package/dist/unstable/eventlog/EventLogMessage.js.map +1 -1
  729. package/dist/unstable/eventlog/EventLogRemote.d.ts +4 -0
  730. package/dist/unstable/eventlog/EventLogRemote.d.ts.map +1 -1
  731. package/dist/unstable/eventlog/EventLogRemote.js +4 -0
  732. package/dist/unstable/eventlog/EventLogRemote.js.map +1 -1
  733. package/dist/unstable/eventlog/EventLogServer.d.ts +4 -0
  734. package/dist/unstable/eventlog/EventLogServer.d.ts.map +1 -1
  735. package/dist/unstable/eventlog/EventLogServer.js +4 -0
  736. package/dist/unstable/eventlog/EventLogServer.js.map +1 -1
  737. package/dist/unstable/eventlog/EventLogServerEncrypted.d.ts +6 -0
  738. package/dist/unstable/eventlog/EventLogServerEncrypted.d.ts.map +1 -1
  739. package/dist/unstable/eventlog/EventLogServerEncrypted.js +6 -0
  740. package/dist/unstable/eventlog/EventLogServerEncrypted.js.map +1 -1
  741. package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +8 -0
  742. package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts.map +1 -1
  743. package/dist/unstable/eventlog/EventLogServerUnencrypted.js +8 -0
  744. package/dist/unstable/eventlog/EventLogServerUnencrypted.js.map +1 -1
  745. package/dist/unstable/eventlog/EventLogSessionAuth.d.ts +11 -1
  746. package/dist/unstable/eventlog/EventLogSessionAuth.d.ts.map +1 -1
  747. package/dist/unstable/eventlog/EventLogSessionAuth.js +11 -1
  748. package/dist/unstable/eventlog/EventLogSessionAuth.js.map +1 -1
  749. package/dist/unstable/eventlog/SqlEventJournal.d.ts +2 -0
  750. package/dist/unstable/eventlog/SqlEventJournal.d.ts.map +1 -1
  751. package/dist/unstable/eventlog/SqlEventJournal.js +2 -0
  752. package/dist/unstable/eventlog/SqlEventJournal.js.map +1 -1
  753. package/dist/unstable/eventlog/SqlEventLogServerEncrypted.d.ts +2 -0
  754. package/dist/unstable/eventlog/SqlEventLogServerEncrypted.d.ts.map +1 -1
  755. package/dist/unstable/eventlog/SqlEventLogServerEncrypted.js +2 -0
  756. package/dist/unstable/eventlog/SqlEventLogServerEncrypted.js.map +1 -1
  757. package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.d.ts +2 -0
  758. package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.d.ts.map +1 -1
  759. package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.js +2 -0
  760. package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
  761. package/dist/unstable/http/Cookies.d.ts +34 -0
  762. package/dist/unstable/http/Cookies.d.ts.map +1 -1
  763. package/dist/unstable/http/Cookies.js +18 -0
  764. package/dist/unstable/http/Cookies.js.map +1 -1
  765. package/dist/unstable/http/Etag.d.ts +4 -0
  766. package/dist/unstable/http/Etag.d.ts.map +1 -1
  767. package/dist/unstable/http/Etag.js.map +1 -1
  768. package/dist/unstable/http/FetchHttpClient.d.ts +4 -0
  769. package/dist/unstable/http/FetchHttpClient.d.ts.map +1 -1
  770. package/dist/unstable/http/FetchHttpClient.js +4 -0
  771. package/dist/unstable/http/FetchHttpClient.js.map +1 -1
  772. package/dist/unstable/http/Headers.d.ts +60 -0
  773. package/dist/unstable/http/Headers.d.ts.map +1 -1
  774. package/dist/unstable/http/Headers.js +24 -0
  775. package/dist/unstable/http/Headers.js.map +1 -1
  776. package/dist/unstable/http/HttpBody.d.ts +32 -0
  777. package/dist/unstable/http/HttpBody.d.ts.map +1 -1
  778. package/dist/unstable/http/HttpBody.js +22 -0
  779. package/dist/unstable/http/HttpBody.js.map +1 -1
  780. package/dist/unstable/http/HttpClient.d.ts +44 -0
  781. package/dist/unstable/http/HttpClient.d.ts.map +1 -1
  782. package/dist/unstable/http/HttpClient.js +14 -0
  783. package/dist/unstable/http/HttpClient.js.map +1 -1
  784. package/dist/unstable/http/HttpClientRequest.d.ts +2 -0
  785. package/dist/unstable/http/HttpClientRequest.d.ts.map +1 -1
  786. package/dist/unstable/http/HttpClientRequest.js +2 -0
  787. package/dist/unstable/http/HttpClientRequest.js.map +1 -1
  788. package/dist/unstable/http/HttpClientResponse.d.ts +6 -0
  789. package/dist/unstable/http/HttpClientResponse.d.ts.map +1 -1
  790. package/dist/unstable/http/HttpClientResponse.js +6 -0
  791. package/dist/unstable/http/HttpClientResponse.js.map +1 -1
  792. package/dist/unstable/http/HttpEffect.d.ts +4 -0
  793. package/dist/unstable/http/HttpEffect.d.ts.map +1 -1
  794. package/dist/unstable/http/HttpEffect.js +4 -0
  795. package/dist/unstable/http/HttpEffect.js.map +1 -1
  796. package/dist/unstable/http/HttpPlatform.d.ts +2 -0
  797. package/dist/unstable/http/HttpPlatform.d.ts.map +1 -1
  798. package/dist/unstable/http/HttpPlatform.js +2 -0
  799. package/dist/unstable/http/HttpPlatform.js.map +1 -1
  800. package/dist/unstable/http/HttpRouter.d.ts +54 -16
  801. package/dist/unstable/http/HttpRouter.d.ts.map +1 -1
  802. package/dist/unstable/http/HttpRouter.js +26 -1
  803. package/dist/unstable/http/HttpRouter.js.map +1 -1
  804. package/dist/unstable/http/HttpServer.d.ts +35 -1
  805. package/dist/unstable/http/HttpServer.d.ts.map +1 -1
  806. package/dist/unstable/http/HttpServer.js +17 -1
  807. package/dist/unstable/http/HttpServer.js.map +1 -1
  808. package/dist/unstable/http/HttpServerError.d.ts +17 -3
  809. package/dist/unstable/http/HttpServerError.d.ts.map +1 -1
  810. package/dist/unstable/http/HttpServerError.js +16 -0
  811. package/dist/unstable/http/HttpServerError.js.map +1 -1
  812. package/dist/unstable/http/HttpServerRequest.d.ts +30 -0
  813. package/dist/unstable/http/HttpServerRequest.d.ts.map +1 -1
  814. package/dist/unstable/http/HttpServerRequest.js +28 -0
  815. package/dist/unstable/http/HttpServerRequest.js.map +1 -1
  816. package/dist/unstable/http/HttpServerRespondable.d.ts +8 -0
  817. package/dist/unstable/http/HttpServerRespondable.d.ts.map +1 -1
  818. package/dist/unstable/http/HttpServerRespondable.js +6 -0
  819. package/dist/unstable/http/HttpServerRespondable.js.map +1 -1
  820. package/dist/unstable/http/HttpServerResponse.d.ts +96 -0
  821. package/dist/unstable/http/HttpServerResponse.d.ts.map +1 -1
  822. package/dist/unstable/http/HttpServerResponse.js +50 -0
  823. package/dist/unstable/http/HttpServerResponse.js.map +1 -1
  824. package/dist/unstable/http/HttpTraceContext.d.ts +12 -0
  825. package/dist/unstable/http/HttpTraceContext.d.ts.map +1 -1
  826. package/dist/unstable/http/HttpTraceContext.js +10 -0
  827. package/dist/unstable/http/HttpTraceContext.js.map +1 -1
  828. package/dist/unstable/http/Multipart.d.ts +49 -2
  829. package/dist/unstable/http/Multipart.d.ts.map +1 -1
  830. package/dist/unstable/http/Multipart.js +35 -2
  831. package/dist/unstable/http/Multipart.js.map +1 -1
  832. package/dist/unstable/http/Template.d.ts +14 -0
  833. package/dist/unstable/http/Template.d.ts.map +1 -1
  834. package/dist/unstable/http/Template.js +4 -0
  835. package/dist/unstable/http/Template.js.map +1 -1
  836. package/dist/unstable/http/UrlParams.d.ts +64 -0
  837. package/dist/unstable/http/UrlParams.d.ts.map +1 -1
  838. package/dist/unstable/http/UrlParams.js +28 -0
  839. package/dist/unstable/http/UrlParams.js.map +1 -1
  840. package/dist/unstable/httpapi/HttpApi.d.ts +10 -4
  841. package/dist/unstable/httpapi/HttpApi.d.ts.map +1 -1
  842. package/dist/unstable/httpapi/HttpApi.js +4 -0
  843. package/dist/unstable/httpapi/HttpApi.js.map +1 -1
  844. package/dist/unstable/httpapi/HttpApiBuilder.d.ts +9 -4
  845. package/dist/unstable/httpapi/HttpApiBuilder.d.ts.map +1 -1
  846. package/dist/unstable/httpapi/HttpApiBuilder.js +5 -4
  847. package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
  848. package/dist/unstable/httpapi/HttpApiEndpoint.d.ts +2 -0
  849. package/dist/unstable/httpapi/HttpApiEndpoint.d.ts.map +1 -1
  850. package/dist/unstable/httpapi/HttpApiEndpoint.js +2 -0
  851. package/dist/unstable/httpapi/HttpApiEndpoint.js.map +1 -1
  852. package/dist/unstable/httpapi/HttpApiGroup.d.ts +23 -14
  853. package/dist/unstable/httpapi/HttpApiGroup.d.ts.map +1 -1
  854. package/dist/unstable/httpapi/HttpApiGroup.js +6 -3
  855. package/dist/unstable/httpapi/HttpApiGroup.js.map +1 -1
  856. package/dist/unstable/httpapi/HttpApiMiddleware.d.ts +14 -0
  857. package/dist/unstable/httpapi/HttpApiMiddleware.d.ts.map +1 -1
  858. package/dist/unstable/httpapi/HttpApiMiddleware.js +6 -0
  859. package/dist/unstable/httpapi/HttpApiMiddleware.js.map +1 -1
  860. package/dist/unstable/httpapi/HttpApiScalar.d.ts +38 -15
  861. package/dist/unstable/httpapi/HttpApiScalar.d.ts.map +1 -1
  862. package/dist/unstable/httpapi/HttpApiScalar.js +4 -0
  863. package/dist/unstable/httpapi/HttpApiScalar.js.map +1 -1
  864. package/dist/unstable/httpapi/HttpApiSchema.d.ts +14 -3
  865. package/dist/unstable/httpapi/HttpApiSchema.d.ts.map +1 -1
  866. package/dist/unstable/httpapi/HttpApiSchema.js +10 -0
  867. package/dist/unstable/httpapi/HttpApiSchema.js.map +1 -1
  868. package/dist/unstable/httpapi/HttpApiSecurity.d.ts +17 -11
  869. package/dist/unstable/httpapi/HttpApiSecurity.d.ts.map +1 -1
  870. package/dist/unstable/httpapi/HttpApiSecurity.js +17 -11
  871. package/dist/unstable/httpapi/HttpApiSecurity.js.map +1 -1
  872. package/dist/unstable/httpapi/HttpApiSwagger.d.ts +2 -4
  873. package/dist/unstable/httpapi/HttpApiSwagger.d.ts.map +1 -1
  874. package/dist/unstable/httpapi/HttpApiSwagger.js +2 -4
  875. package/dist/unstable/httpapi/HttpApiSwagger.js.map +1 -1
  876. package/dist/unstable/httpapi/HttpApiTest.d.ts +2 -0
  877. package/dist/unstable/httpapi/HttpApiTest.d.ts.map +1 -1
  878. package/dist/unstable/httpapi/HttpApiTest.js +2 -0
  879. package/dist/unstable/httpapi/HttpApiTest.js.map +1 -1
  880. package/dist/unstable/httpapi/OpenApi.d.ts +2 -0
  881. package/dist/unstable/httpapi/OpenApi.d.ts.map +1 -1
  882. package/dist/unstable/httpapi/OpenApi.js +2 -0
  883. package/dist/unstable/httpapi/OpenApi.js.map +1 -1
  884. package/dist/unstable/observability/Otlp.d.ts +2 -0
  885. package/dist/unstable/observability/Otlp.d.ts.map +1 -1
  886. package/dist/unstable/observability/Otlp.js +2 -0
  887. package/dist/unstable/observability/Otlp.js.map +1 -1
  888. package/dist/unstable/observability/OtlpExporter.d.ts +2 -0
  889. package/dist/unstable/observability/OtlpExporter.d.ts.map +1 -1
  890. package/dist/unstable/observability/OtlpExporter.js +2 -0
  891. package/dist/unstable/observability/OtlpExporter.js.map +1 -1
  892. package/dist/unstable/observability/OtlpLogger.d.ts +4 -0
  893. package/dist/unstable/observability/OtlpLogger.d.ts.map +1 -1
  894. package/dist/unstable/observability/OtlpLogger.js +4 -0
  895. package/dist/unstable/observability/OtlpLogger.js.map +1 -1
  896. package/dist/unstable/observability/OtlpMetrics.d.ts +8 -9
  897. package/dist/unstable/observability/OtlpMetrics.d.ts.map +1 -1
  898. package/dist/unstable/observability/OtlpMetrics.js +3 -3
  899. package/dist/unstable/observability/OtlpMetrics.js.map +1 -1
  900. package/dist/unstable/observability/OtlpResource.d.ts +8 -0
  901. package/dist/unstable/observability/OtlpResource.d.ts.map +1 -1
  902. package/dist/unstable/observability/OtlpResource.js +8 -0
  903. package/dist/unstable/observability/OtlpResource.js.map +1 -1
  904. package/dist/unstable/observability/OtlpTracer.d.ts +3 -2
  905. package/dist/unstable/observability/OtlpTracer.d.ts.map +1 -1
  906. package/dist/unstable/observability/OtlpTracer.js +3 -2
  907. package/dist/unstable/observability/OtlpTracer.js.map +1 -1
  908. package/dist/unstable/observability/PrometheusMetrics.d.ts +6 -2
  909. package/dist/unstable/observability/PrometheusMetrics.d.ts.map +1 -1
  910. package/dist/unstable/observability/PrometheusMetrics.js +6 -2
  911. package/dist/unstable/observability/PrometheusMetrics.js.map +1 -1
  912. package/dist/unstable/persistence/KeyValueStore.d.ts +10 -0
  913. package/dist/unstable/persistence/KeyValueStore.d.ts.map +1 -1
  914. package/dist/unstable/persistence/KeyValueStore.js +8 -0
  915. package/dist/unstable/persistence/KeyValueStore.js.map +1 -1
  916. package/dist/unstable/persistence/Persistable.d.ts +2 -0
  917. package/dist/unstable/persistence/Persistable.d.ts.map +1 -1
  918. package/dist/unstable/persistence/Persistable.js +2 -0
  919. package/dist/unstable/persistence/Persistable.js.map +1 -1
  920. package/dist/unstable/persistence/PersistedCache.d.ts +2 -0
  921. package/dist/unstable/persistence/PersistedCache.d.ts.map +1 -1
  922. package/dist/unstable/persistence/PersistedCache.js +2 -0
  923. package/dist/unstable/persistence/PersistedCache.js.map +1 -1
  924. package/dist/unstable/persistence/PersistedQueue.d.ts +21 -6
  925. package/dist/unstable/persistence/PersistedQueue.d.ts.map +1 -1
  926. package/dist/unstable/persistence/PersistedQueue.js +10 -0
  927. package/dist/unstable/persistence/PersistedQueue.js.map +1 -1
  928. package/dist/unstable/persistence/Persistence.d.ts +14 -0
  929. package/dist/unstable/persistence/Persistence.d.ts.map +1 -1
  930. package/dist/unstable/persistence/Persistence.js +14 -0
  931. package/dist/unstable/persistence/Persistence.js.map +1 -1
  932. package/dist/unstable/persistence/RateLimiter.d.ts +6 -3
  933. package/dist/unstable/persistence/RateLimiter.d.ts.map +1 -1
  934. package/dist/unstable/persistence/RateLimiter.js +4 -0
  935. package/dist/unstable/persistence/RateLimiter.js.map +1 -1
  936. package/dist/unstable/persistence/Redis.d.ts +6 -0
  937. package/dist/unstable/persistence/Redis.d.ts.map +1 -1
  938. package/dist/unstable/persistence/Redis.js +4 -0
  939. package/dist/unstable/persistence/Redis.js.map +1 -1
  940. package/dist/unstable/process/ChildProcess.d.ts +70 -19
  941. package/dist/unstable/process/ChildProcess.d.ts.map +1 -1
  942. package/dist/unstable/process/ChildProcess.js +10 -0
  943. package/dist/unstable/process/ChildProcess.js.map +1 -1
  944. package/dist/unstable/process/ChildProcessSpawner.d.ts +20 -4
  945. package/dist/unstable/process/ChildProcessSpawner.d.ts.map +1 -1
  946. package/dist/unstable/process/ChildProcessSpawner.js.map +1 -1
  947. package/dist/unstable/reactivity/Atom.d.ts +105 -14
  948. package/dist/unstable/reactivity/Atom.d.ts.map +1 -1
  949. package/dist/unstable/reactivity/Atom.js +53 -8
  950. package/dist/unstable/reactivity/Atom.js.map +1 -1
  951. package/dist/unstable/reactivity/AtomHttpApi.d.ts +4 -0
  952. package/dist/unstable/reactivity/AtomHttpApi.d.ts.map +1 -1
  953. package/dist/unstable/reactivity/AtomHttpApi.js +2 -0
  954. package/dist/unstable/reactivity/AtomHttpApi.js.map +1 -1
  955. package/dist/unstable/reactivity/AtomRef.d.ts +8 -0
  956. package/dist/unstable/reactivity/AtomRef.d.ts.map +1 -1
  957. package/dist/unstable/reactivity/AtomRef.js +2 -0
  958. package/dist/unstable/reactivity/AtomRef.js.map +1 -1
  959. package/dist/unstable/reactivity/AtomRegistry.d.ts +32 -0
  960. package/dist/unstable/reactivity/AtomRegistry.d.ts.map +1 -1
  961. package/dist/unstable/reactivity/AtomRegistry.js +12 -0
  962. package/dist/unstable/reactivity/AtomRegistry.js.map +1 -1
  963. package/dist/unstable/reactivity/AtomRpc.d.ts +8 -6
  964. package/dist/unstable/reactivity/AtomRpc.d.ts.map +1 -1
  965. package/dist/unstable/reactivity/AtomRpc.js +4 -3
  966. package/dist/unstable/reactivity/AtomRpc.js.map +1 -1
  967. package/dist/unstable/reactivity/Hydration.d.ts +6 -0
  968. package/dist/unstable/reactivity/Hydration.d.ts.map +1 -1
  969. package/dist/unstable/reactivity/Hydration.js +4 -0
  970. package/dist/unstable/reactivity/Hydration.js.map +1 -1
  971. package/dist/unstable/reactivity/Reactivity.d.ts +27 -3
  972. package/dist/unstable/reactivity/Reactivity.d.ts.map +1 -1
  973. package/dist/unstable/reactivity/Reactivity.js +15 -3
  974. package/dist/unstable/reactivity/Reactivity.js.map +1 -1
  975. package/dist/unstable/rpc/Rpc.d.ts +38 -2
  976. package/dist/unstable/rpc/Rpc.d.ts.map +1 -1
  977. package/dist/unstable/rpc/Rpc.js +12 -2
  978. package/dist/unstable/rpc/Rpc.js.map +1 -1
  979. package/dist/unstable/rpc/RpcSerialization.d.ts +6 -0
  980. package/dist/unstable/rpc/RpcSerialization.d.ts.map +1 -1
  981. package/dist/unstable/rpc/RpcSerialization.js +6 -0
  982. package/dist/unstable/rpc/RpcSerialization.js.map +1 -1
  983. package/dist/unstable/rpc/RpcServer.d.ts +5 -3
  984. package/dist/unstable/rpc/RpcServer.d.ts.map +1 -1
  985. package/dist/unstable/rpc/RpcServer.js +5 -3
  986. package/dist/unstable/rpc/RpcServer.js.map +1 -1
  987. package/dist/unstable/schema/Model.d.ts +43 -12
  988. package/dist/unstable/schema/Model.d.ts.map +1 -1
  989. package/dist/unstable/schema/Model.js +41 -12
  990. package/dist/unstable/schema/Model.js.map +1 -1
  991. package/dist/unstable/sql/SqlClient.d.ts.map +1 -1
  992. package/dist/unstable/sql/SqlResolver.d.ts +6 -4
  993. package/dist/unstable/sql/SqlResolver.d.ts.map +1 -1
  994. package/dist/unstable/sql/SqlResolver.js +6 -4
  995. package/dist/unstable/sql/SqlResolver.js.map +1 -1
  996. package/dist/unstable/sql/Statement.d.ts +8 -4
  997. package/dist/unstable/sql/Statement.d.ts.map +1 -1
  998. package/dist/unstable/sql/Statement.js.map +1 -1
  999. package/dist/unstable/workflow/DurableClock.d.ts +1 -1
  1000. package/dist/unstable/workflow/DurableDeferred.d.ts +3 -0
  1001. package/dist/unstable/workflow/DurableDeferred.d.ts.map +1 -1
  1002. package/dist/unstable/workflow/DurableDeferred.js +3 -0
  1003. package/dist/unstable/workflow/DurableDeferred.js.map +1 -1
  1004. package/dist/unstable/workflow/Workflow.d.ts +42 -34
  1005. package/dist/unstable/workflow/Workflow.d.ts.map +1 -1
  1006. package/dist/unstable/workflow/Workflow.js +18 -19
  1007. package/dist/unstable/workflow/Workflow.js.map +1 -1
  1008. package/package.json +1 -1
  1009. package/src/Array.ts +454 -0
  1010. package/src/BigDecimal.ts +87 -33
  1011. package/src/BigInt.ts +71 -14
  1012. package/src/Boolean.ts +4 -0
  1013. package/src/Brand.ts +16 -11
  1014. package/src/Cache.ts +17 -1
  1015. package/src/Cause.ts +95 -3
  1016. package/src/Channel.ts +326 -0
  1017. package/src/ChannelSchema.ts +24 -0
  1018. package/src/Chunk.ts +59 -22
  1019. package/src/Combiner.ts +75 -71
  1020. package/src/Config.ts +167 -46
  1021. package/src/ConfigProvider.ts +235 -158
  1022. package/src/Console.ts +25 -99
  1023. package/src/Context.ts +4 -4
  1024. package/src/Cron.ts +42 -16
  1025. package/src/Crypto.ts +6 -0
  1026. package/src/Data.ts +132 -70
  1027. package/src/DateTime.ts +227 -14
  1028. package/src/Deferred.ts +94 -27
  1029. package/src/Differ.ts +2 -0
  1030. package/src/Duration.ts +64 -6
  1031. package/src/Effect.ts +909 -605
  1032. package/src/Effectable.ts +3 -1
  1033. package/src/Encoding.ts +16 -0
  1034. package/src/Equal.ts +52 -40
  1035. package/src/Equivalence.ts +190 -153
  1036. package/src/ErrorReporter.ts +35 -14
  1037. package/src/ExecutionPlan.ts +10 -3
  1038. package/src/Exit.ts +212 -6
  1039. package/src/Fiber.ts +8 -0
  1040. package/src/FiberHandle.ts +46 -23
  1041. package/src/FiberMap.ts +43 -4
  1042. package/src/FiberSet.ts +21 -6
  1043. package/src/FileSystem.ts +64 -0
  1044. package/src/Filter.ts +53 -21
  1045. package/src/Formatter.ts +21 -22
  1046. package/src/Function.ts +67 -75
  1047. package/src/Graph.ts +51 -13
  1048. package/src/HKT.ts +22 -21
  1049. package/src/Hash.ts +33 -10
  1050. package/src/HashMap.ts +50 -9
  1051. package/src/HashRing.ts +4 -0
  1052. package/src/HashSet.ts +2 -0
  1053. package/src/Inspectable.ts +15 -2
  1054. package/src/Iterable.ts +104 -22
  1055. package/src/JsonPatch.ts +61 -80
  1056. package/src/JsonPointer.ts +16 -20
  1057. package/src/JsonSchema.ts +123 -73
  1058. package/src/Latch.ts +28 -2
  1059. package/src/Layer.ts +781 -335
  1060. package/src/LogLevel.ts +86 -13
  1061. package/src/Logger.ts +71 -51
  1062. package/src/ManagedRuntime.ts +12 -0
  1063. package/src/Match.ts +83 -1
  1064. package/src/Metric.ts +105 -12
  1065. package/src/MutableHashMap.ts +18 -0
  1066. package/src/MutableHashSet.ts +2 -0
  1067. package/src/MutableList.ts +24 -6
  1068. package/src/MutableRef.ts +2 -0
  1069. package/src/Newtype.ts +69 -30
  1070. package/src/NonEmptyIterable.ts +6 -0
  1071. package/src/Number.ts +16 -30
  1072. package/src/Optic.ts +90 -40
  1073. package/src/Option.ts +121 -111
  1074. package/src/Order.ts +169 -167
  1075. package/src/Ordering.ts +4 -0
  1076. package/src/PartitionedSemaphore.ts +7 -5
  1077. package/src/Path.ts +8 -0
  1078. package/src/Pipeable.ts +10 -0
  1079. package/src/PlatformError.ts +12 -0
  1080. package/src/Pool.ts +30 -16
  1081. package/src/Predicate.ts +520 -352
  1082. package/src/PrimaryKey.ts +4 -0
  1083. package/src/PubSub.ts +23 -5
  1084. package/src/Pull.ts +16 -0
  1085. package/src/Queue.ts +44 -0
  1086. package/src/Random.ts +25 -6
  1087. package/src/RcMap.ts +10 -6
  1088. package/src/RcRef.ts +3 -1
  1089. package/src/Record.ts +24 -3
  1090. package/src/Redactable.ts +54 -41
  1091. package/src/Redacted.ts +10 -0
  1092. package/src/Reducer.ts +20 -11
  1093. package/src/Ref.ts +95 -58
  1094. package/src/References.ts +18 -1
  1095. package/src/Request.ts +3 -3
  1096. package/src/RequestResolver.ts +8 -22
  1097. package/src/Resource.ts +2 -0
  1098. package/src/Result.ts +192 -6
  1099. package/src/Runtime.ts +14 -11
  1100. package/src/Schedule.ts +35 -3
  1101. package/src/Scheduler.ts +22 -19
  1102. package/src/Schema.ts +547 -130
  1103. package/src/SchemaAST.ts +123 -65
  1104. package/src/SchemaGetter.ts +269 -234
  1105. package/src/SchemaIssue.ts +48 -46
  1106. package/src/SchemaParser.ts +58 -0
  1107. package/src/SchemaRepresentation.ts +198 -96
  1108. package/src/SchemaTransformation.ts +272 -203
  1109. package/src/SchemaUtils.ts +2 -0
  1110. package/src/Scope.ts +19 -1
  1111. package/src/ScopedCache.ts +56 -0
  1112. package/src/ScopedRef.ts +9 -3
  1113. package/src/Semaphore.ts +6 -0
  1114. package/src/Sink.ts +108 -0
  1115. package/src/Stdio.ts +7 -3
  1116. package/src/Stream.ts +464 -16
  1117. package/src/String.ts +14 -0
  1118. package/src/Struct.ts +371 -191
  1119. package/src/SubscriptionRef.ts +7 -1
  1120. package/src/SynchronizedRef.ts +2 -0
  1121. package/src/Tracer.ts +17 -27
  1122. package/src/Trie.ts +23 -9
  1123. package/src/Tuple.ts +287 -144
  1124. package/src/TxChunk.ts +182 -93
  1125. package/src/TxDeferred.ts +3 -4
  1126. package/src/TxHashMap.ts +171 -90
  1127. package/src/TxHashSet.ts +36 -35
  1128. package/src/TxPriorityQueue.ts +2 -0
  1129. package/src/TxPubSub.ts +36 -35
  1130. package/src/TxQueue.ts +77 -114
  1131. package/src/TxRef.ts +4 -0
  1132. package/src/TxSemaphore.ts +66 -27
  1133. package/src/Types.ts +202 -75
  1134. package/src/UndefinedOr.ts +31 -29
  1135. package/src/Unify.ts +28 -0
  1136. package/src/Utils.ts +29 -35
  1137. package/src/index.ts +18 -7
  1138. package/src/testing/TestClock.ts +16 -16
  1139. package/src/testing/TestConsole.ts +2 -0
  1140. package/src/testing/TestSchema.ts +43 -55
  1141. package/src/unstable/ai/AiError.ts +62 -11
  1142. package/src/unstable/ai/AnthropicStructuredOutput.ts +4 -4
  1143. package/src/unstable/ai/Chat.ts +29 -1
  1144. package/src/unstable/ai/IdGenerator.ts +10 -0
  1145. package/src/unstable/ai/LanguageModel.ts +32 -46
  1146. package/src/unstable/ai/McpSchema.ts +84 -32
  1147. package/src/unstable/ai/McpServer.ts +8 -0
  1148. package/src/unstable/ai/Model.ts +9 -5
  1149. package/src/unstable/ai/OpenAiStructuredOutput.ts +3 -2
  1150. package/src/unstable/ai/Prompt.ts +62 -35
  1151. package/src/unstable/ai/Response.ts +40 -21
  1152. package/src/unstable/ai/ResponseIdTracker.ts +8 -0
  1153. package/src/unstable/ai/Telemetry.ts +30 -5
  1154. package/src/unstable/ai/Tokenizer.ts +6 -0
  1155. package/src/unstable/ai/Tool.ts +68 -0
  1156. package/src/unstable/ai/Toolkit.ts +12 -0
  1157. package/src/unstable/cli/Argument.ts +14 -4
  1158. package/src/unstable/cli/CliError.ts +6 -0
  1159. package/src/unstable/cli/Command.ts +128 -12
  1160. package/src/unstable/cli/Flag.ts +31 -14
  1161. package/src/unstable/cli/Param.ts +96 -9
  1162. package/src/unstable/cli/Primitive.ts +10 -0
  1163. package/src/unstable/cli/Prompt.ts +47 -40
  1164. package/src/unstable/cli/internal/command.ts +11 -2
  1165. package/src/unstable/cli/internal/completions/descriptor.ts +3 -0
  1166. package/src/unstable/cli/internal/parser.ts +8 -1
  1167. package/src/unstable/cluster/ClusterCron.ts +10 -1
  1168. package/src/unstable/cluster/ClusterSchema.ts +8 -0
  1169. package/src/unstable/cluster/ClusterWorkflowEngine.ts +4 -0
  1170. package/src/unstable/cluster/DeliverAt.ts +3 -4
  1171. package/src/unstable/cluster/Entity.ts +24 -0
  1172. package/src/unstable/cluster/EntityProxy.ts +10 -4
  1173. package/src/unstable/cluster/EntityProxyServer.ts +6 -0
  1174. package/src/unstable/cluster/EntityResource.ts +10 -0
  1175. package/src/unstable/cluster/Envelope.ts +16 -0
  1176. package/src/unstable/cluster/HttpRunner.ts +16 -0
  1177. package/src/unstable/cluster/K8sHttpClient.ts +8 -0
  1178. package/src/unstable/cluster/Message.ts +24 -0
  1179. package/src/unstable/cluster/MessageStorage.ts +44 -10
  1180. package/src/unstable/cluster/Reply.ts +6 -6
  1181. package/src/unstable/cluster/Runner.ts +2 -0
  1182. package/src/unstable/cluster/RunnerHealth.ts +13 -2
  1183. package/src/unstable/cluster/RunnerServer.ts +8 -8
  1184. package/src/unstable/cluster/RunnerStorage.ts +2 -0
  1185. package/src/unstable/cluster/ShardId.ts +4 -0
  1186. package/src/unstable/cluster/Snowflake.ts +2 -0
  1187. package/src/unstable/cluster/TestRunner.ts +3 -2
  1188. package/src/unstable/devtools/DevToolsSchema.ts +34 -2
  1189. package/src/unstable/devtools/DevToolsServer.ts +4 -0
  1190. package/src/unstable/encoding/Msgpack.ts +24 -0
  1191. package/src/unstable/encoding/Ndjson.ts +46 -2
  1192. package/src/unstable/encoding/Sse.ts +24 -17
  1193. package/src/unstable/eventlog/Event.ts +16 -0
  1194. package/src/unstable/eventlog/EventGroup.ts +4 -0
  1195. package/src/unstable/eventlog/EventJournal.ts +20 -0
  1196. package/src/unstable/eventlog/EventLog.ts +22 -0
  1197. package/src/unstable/eventlog/EventLogMessage.ts +10 -0
  1198. package/src/unstable/eventlog/EventLogRemote.ts +4 -0
  1199. package/src/unstable/eventlog/EventLogServer.ts +4 -0
  1200. package/src/unstable/eventlog/EventLogServerEncrypted.ts +6 -0
  1201. package/src/unstable/eventlog/EventLogServerUnencrypted.ts +8 -0
  1202. package/src/unstable/eventlog/EventLogSessionAuth.ts +11 -1
  1203. package/src/unstable/eventlog/SqlEventJournal.ts +2 -0
  1204. package/src/unstable/eventlog/SqlEventLogServerEncrypted.ts +2 -0
  1205. package/src/unstable/eventlog/SqlEventLogServerUnencrypted.ts +2 -0
  1206. package/src/unstable/http/Cookies.ts +34 -0
  1207. package/src/unstable/http/Etag.ts +4 -0
  1208. package/src/unstable/http/FetchHttpClient.ts +4 -0
  1209. package/src/unstable/http/Headers.ts +88 -0
  1210. package/src/unstable/http/HttpBody.ts +32 -0
  1211. package/src/unstable/http/HttpClient.ts +44 -0
  1212. package/src/unstable/http/HttpClientRequest.ts +2 -0
  1213. package/src/unstable/http/HttpClientResponse.ts +6 -0
  1214. package/src/unstable/http/HttpEffect.ts +4 -0
  1215. package/src/unstable/http/HttpPlatform.ts +2 -0
  1216. package/src/unstable/http/HttpRouter.ts +54 -16
  1217. package/src/unstable/http/HttpServer.ts +35 -1
  1218. package/src/unstable/http/HttpServerError.ts +17 -3
  1219. package/src/unstable/http/HttpServerRequest.ts +30 -0
  1220. package/src/unstable/http/HttpServerRespondable.ts +8 -0
  1221. package/src/unstable/http/HttpServerResponse.ts +96 -0
  1222. package/src/unstable/http/HttpTraceContext.ts +12 -0
  1223. package/src/unstable/http/Multipart.ts +49 -2
  1224. package/src/unstable/http/Template.ts +14 -0
  1225. package/src/unstable/http/UrlParams.ts +64 -0
  1226. package/src/unstable/httpapi/HttpApi.ts +10 -4
  1227. package/src/unstable/httpapi/HttpApiBuilder.ts +9 -4
  1228. package/src/unstable/httpapi/HttpApiEndpoint.ts +2 -0
  1229. package/src/unstable/httpapi/HttpApiGroup.ts +23 -14
  1230. package/src/unstable/httpapi/HttpApiMiddleware.ts +14 -0
  1231. package/src/unstable/httpapi/HttpApiScalar.ts +38 -15
  1232. package/src/unstable/httpapi/HttpApiSchema.ts +14 -3
  1233. package/src/unstable/httpapi/HttpApiSecurity.ts +17 -11
  1234. package/src/unstable/httpapi/HttpApiSwagger.ts +2 -4
  1235. package/src/unstable/httpapi/HttpApiTest.ts +2 -0
  1236. package/src/unstable/httpapi/OpenApi.ts +2 -0
  1237. package/src/unstable/observability/Otlp.ts +2 -0
  1238. package/src/unstable/observability/OtlpExporter.ts +2 -0
  1239. package/src/unstable/observability/OtlpLogger.ts +4 -0
  1240. package/src/unstable/observability/OtlpMetrics.ts +8 -9
  1241. package/src/unstable/observability/OtlpResource.ts +8 -0
  1242. package/src/unstable/observability/OtlpTracer.ts +3 -2
  1243. package/src/unstable/observability/PrometheusMetrics.ts +6 -2
  1244. package/src/unstable/persistence/KeyValueStore.ts +10 -0
  1245. package/src/unstable/persistence/Persistable.ts +2 -0
  1246. package/src/unstable/persistence/PersistedCache.ts +2 -0
  1247. package/src/unstable/persistence/PersistedQueue.ts +21 -6
  1248. package/src/unstable/persistence/Persistence.ts +14 -0
  1249. package/src/unstable/persistence/RateLimiter.ts +6 -3
  1250. package/src/unstable/persistence/Redis.ts +6 -0
  1251. package/src/unstable/process/ChildProcess.ts +70 -19
  1252. package/src/unstable/process/ChildProcessSpawner.ts +20 -4
  1253. package/src/unstable/reactivity/Atom.ts +119 -14
  1254. package/src/unstable/reactivity/AtomHttpApi.ts +4 -0
  1255. package/src/unstable/reactivity/AtomRef.ts +8 -0
  1256. package/src/unstable/reactivity/AtomRegistry.ts +34 -0
  1257. package/src/unstable/reactivity/AtomRpc.ts +8 -6
  1258. package/src/unstable/reactivity/Hydration.ts +6 -0
  1259. package/src/unstable/reactivity/Reactivity.ts +27 -3
  1260. package/src/unstable/rpc/Rpc.ts +38 -2
  1261. package/src/unstable/rpc/RpcSerialization.ts +6 -0
  1262. package/src/unstable/rpc/RpcServer.ts +5 -3
  1263. package/src/unstable/schema/Model.ts +43 -12
  1264. package/src/unstable/sql/SqlClient.ts +1 -1
  1265. package/src/unstable/sql/SqlResolver.ts +6 -4
  1266. package/src/unstable/sql/Statement.ts +8 -4
  1267. package/src/unstable/workflow/DurableClock.ts +1 -1
  1268. package/src/unstable/workflow/DurableDeferred.ts +3 -0
  1269. package/src/unstable/workflow/Workflow.ts +42 -34
package/dist/Array.d.ts CHANGED
@@ -11,6 +11,8 @@ import type { NoInfer, TupleOf } from "./Types.ts";
11
11
  /**
12
12
  * Reference to the global `Array` constructor.
13
13
  *
14
+ * **When to use**
15
+ *
14
16
  * Use this when you need the native `Array` constructor while the `Array`
15
17
  * namespace is in scope (e.g. `Array.Array.isArray`, `Array.Array.from`).
16
18
  *
@@ -39,6 +41,8 @@ export interface ReadonlyArrayTypeLambda extends TypeLambda {
39
41
  /**
40
42
  * A readonly array guaranteed to have at least one element.
41
43
  *
44
+ * **When to use**
45
+ *
42
46
  * Use this type when you need to ensure non-emptiness at the type level while
43
47
  * preventing mutation. Many Array module functions accept or return this type.
44
48
  *
@@ -61,6 +65,8 @@ export type NonEmptyReadonlyArray<A> = readonly [A, ...Array<A>];
61
65
  /**
62
66
  * A mutable array guaranteed to have at least one element.
63
67
  *
68
+ * **Details**
69
+ *
64
70
  * This is the mutable counterpart of {@link NonEmptyReadonlyArray}. Most Array
65
71
  * module functions return `NonEmptyArray` when the result is guaranteed
66
72
  * non-empty.
@@ -84,6 +90,8 @@ export type NonEmptyArray<A> = [A, ...Array<A>];
84
90
  /**
85
91
  * Creates a `NonEmptyArray` from one or more elements.
86
92
  *
93
+ * **When to use**
94
+ *
87
95
  * - Use when you have literal values and want a typed non-empty array.
88
96
  * - The element type is inferred as the union of all arguments.
89
97
  * - Always returns a `NonEmptyArray` since at least one argument is required.
@@ -107,6 +115,8 @@ export declare const make: <Elements extends NonEmptyArray<unknown>>(...elements
107
115
  /**
108
116
  * Creates a new `Array` of the specified length with all slots uninitialized.
109
117
  *
118
+ * **When to use**
119
+ *
110
120
  * - Use when you need a pre-sized array and will fill it imperatively.
111
121
  * - Elements are typed as `A | undefined` since slots are empty.
112
122
  * - Prefer {@link makeBy} when you can compute each element from its index.
@@ -129,6 +139,8 @@ export declare const allocate: <A = never>(n: number) => Array<A | undefined>;
129
139
  /**
130
140
  * Creates a `NonEmptyArray` of length `n` where element `i` is computed by `f(i)`.
131
141
  *
142
+ * **When to use**
143
+ *
132
144
  * - Use when you need an array whose values depend on the index.
133
145
  * - `n` is normalized to an integer >= 1 — always returns at least one element.
134
146
  * - Dual: `Array.makeBy(5, f)` or `pipe(5, Array.makeBy(f))`.
@@ -152,6 +164,8 @@ export declare const makeBy: {
152
164
  /**
153
165
  * Creates a `NonEmptyArray` of length `n` where element `i` is computed by `f(i)`.
154
166
  *
167
+ * **When to use**
168
+ *
155
169
  * - Use when you need an array whose values depend on the index.
156
170
  * - `n` is normalized to an integer >= 1 — always returns at least one element.
157
171
  * - Dual: `Array.makeBy(5, f)` or `pipe(5, Array.makeBy(f))`.
@@ -175,6 +189,8 @@ export declare const makeBy: {
175
189
  /**
176
190
  * Creates a `NonEmptyArray` of length `n` where element `i` is computed by `f(i)`.
177
191
  *
192
+ * **When to use**
193
+ *
178
194
  * - Use when you need an array whose values depend on the index.
179
195
  * - `n` is normalized to an integer >= 1 — always returns at least one element.
180
196
  * - Dual: `Array.makeBy(5, f)` or `pipe(5, Array.makeBy(f))`.
@@ -200,6 +216,8 @@ export declare const makeBy: {
200
216
  * Creates a `NonEmptyArray` containing a range of integers, inclusive on both
201
217
  * ends.
202
218
  *
219
+ * **When to use**
220
+ *
203
221
  * - Use when you need a sequence of consecutive integers.
204
222
  * - If `start > end`, returns `[start]`.
205
223
  * - Always returns a `NonEmptyArray`.
@@ -222,6 +240,8 @@ export declare const range: (start: number, end: number) => NonEmptyArray<number
222
240
  /**
223
241
  * Creates a `NonEmptyArray` containing a value repeated `n` times.
224
242
  *
243
+ * **When to use**
244
+ *
225
245
  * - Use when you need multiple copies of the same value.
226
246
  * - `n` is normalized to an integer >= 1 — always returns at least one element.
227
247
  * - Dual: `Array.replicate("a", 3)` or `pipe("a", Array.replicate(3))`.
@@ -244,6 +264,8 @@ export declare const replicate: {
244
264
  /**
245
265
  * Creates a `NonEmptyArray` containing a value repeated `n` times.
246
266
  *
267
+ * **When to use**
268
+ *
247
269
  * - Use when you need multiple copies of the same value.
248
270
  * - `n` is normalized to an integer >= 1 — always returns at least one element.
249
271
  * - Dual: `Array.replicate("a", 3)` or `pipe("a", Array.replicate(3))`.
@@ -266,6 +288,8 @@ export declare const replicate: {
266
288
  /**
267
289
  * Creates a `NonEmptyArray` containing a value repeated `n` times.
268
290
  *
291
+ * **When to use**
292
+ *
269
293
  * - Use when you need multiple copies of the same value.
270
294
  * - `n` is normalized to an integer >= 1 — always returns at least one element.
271
295
  * - Dual: `Array.replicate("a", 3)` or `pipe("a", Array.replicate(3))`.
@@ -289,6 +313,8 @@ export declare const replicate: {
289
313
  /**
290
314
  * Converts an `Iterable` to an `Array`.
291
315
  *
316
+ * **Details**
317
+ *
292
318
  * - If the input is already an array, returns it **by reference** (no copy).
293
319
  * - Otherwise, creates a new array from the iterable.
294
320
  * - Use {@link copy} if you need a fresh array even when the input is already
@@ -313,6 +339,8 @@ export declare const fromIterable: <A>(collection: Iterable<A>) => Array<A>;
313
339
  /**
314
340
  * Normalizes a value that is either a single element or an array into an array.
315
341
  *
342
+ * **Details**
343
+ *
316
344
  * - If the input is already an array, returns it by reference.
317
345
  * - If the input is a single value, wraps it in a one-element array.
318
346
  * - Useful for APIs that accept `A | Array<A>`.
@@ -336,6 +364,8 @@ export declare const ensure: <A>(self: ReadonlyArray<A> | A) => Array<A>;
336
364
  /**
337
365
  * Converts a record into an array of `[key, value]` tuples.
338
366
  *
367
+ * **Details**
368
+ *
339
369
  * - Key order follows `Object.entries` semantics.
340
370
  * - Returns an empty array for an empty record.
341
371
  *
@@ -373,6 +403,8 @@ export declare const fromOption: <A>(self: Option.Option<A>) => Array<A>;
373
403
  /**
374
404
  * Pattern-matches on an array, handling empty and non-empty cases separately.
375
405
  *
406
+ * **When to use**
407
+ *
376
408
  * - Use when you need to branch on whether an array has elements.
377
409
  * - `onNonEmpty` receives a `NonEmptyReadonlyArray`.
378
410
  * - Dual: data-first or data-last.
@@ -400,6 +432,8 @@ export declare const match: {
400
432
  /**
401
433
  * Pattern-matches on an array, handling empty and non-empty cases separately.
402
434
  *
435
+ * **When to use**
436
+ *
403
437
  * - Use when you need to branch on whether an array has elements.
404
438
  * - `onNonEmpty` receives a `NonEmptyReadonlyArray`.
405
439
  * - Dual: data-first or data-last.
@@ -430,6 +464,8 @@ export declare const match: {
430
464
  /**
431
465
  * Pattern-matches on an array, handling empty and non-empty cases separately.
432
466
  *
467
+ * **When to use**
468
+ *
433
469
  * - Use when you need to branch on whether an array has elements.
434
470
  * - `onNonEmpty` receives a `NonEmptyReadonlyArray`.
435
471
  * - Dual: data-first or data-last.
@@ -462,6 +498,8 @@ export declare const match: {
462
498
  * Pattern-matches on an array from the left, providing the first element and
463
499
  * the remaining elements separately.
464
500
  *
501
+ * **Details**
502
+ *
465
503
  * - `onNonEmpty` receives `(head, tail)` where `tail` is the rest of the array.
466
504
  * - Use when you want to process the first element differently from the rest.
467
505
  *
@@ -489,6 +527,8 @@ export declare const matchLeft: {
489
527
  * Pattern-matches on an array from the left, providing the first element and
490
528
  * the remaining elements separately.
491
529
  *
530
+ * **Details**
531
+ *
492
532
  * - `onNonEmpty` receives `(head, tail)` where `tail` is the rest of the array.
493
533
  * - Use when you want to process the first element differently from the rest.
494
534
  *
@@ -519,6 +559,8 @@ export declare const matchLeft: {
519
559
  * Pattern-matches on an array from the left, providing the first element and
520
560
  * the remaining elements separately.
521
561
  *
562
+ * **Details**
563
+ *
522
564
  * - `onNonEmpty` receives `(head, tail)` where `tail` is the rest of the array.
523
565
  * - Use when you want to process the first element differently from the rest.
524
566
  *
@@ -550,6 +592,8 @@ export declare const matchLeft: {
550
592
  * Pattern-matches on an array from the right, providing all elements except the
551
593
  * last and the last element separately.
552
594
  *
595
+ * **Details**
596
+ *
553
597
  * - `onNonEmpty` receives `(init, last)` where `init` is everything but the last element.
554
598
  * - Use when you want to process the last element differently from the rest.
555
599
  *
@@ -577,6 +621,8 @@ export declare const matchRight: {
577
621
  * Pattern-matches on an array from the right, providing all elements except the
578
622
  * last and the last element separately.
579
623
  *
624
+ * **Details**
625
+ *
580
626
  * - `onNonEmpty` receives `(init, last)` where `init` is everything but the last element.
581
627
  * - Use when you want to process the last element differently from the rest.
582
628
  *
@@ -607,6 +653,8 @@ export declare const matchRight: {
607
653
  * Pattern-matches on an array from the right, providing all elements except the
608
654
  * last and the last element separately.
609
655
  *
656
+ * **Details**
657
+ *
610
658
  * - `onNonEmpty` receives `(init, last)` where `init` is everything but the last element.
611
659
  * - Use when you want to process the last element differently from the rest.
612
660
  *
@@ -637,6 +685,8 @@ export declare const matchRight: {
637
685
  /**
638
686
  * Adds a single element to the front of an iterable, returning a `NonEmptyArray`.
639
687
  *
688
+ * **Details**
689
+ *
640
690
  * - Always returns a non-empty array.
641
691
  * - Does not mutate the input.
642
692
  *
@@ -659,6 +709,8 @@ export declare const prepend: {
659
709
  /**
660
710
  * Adds a single element to the front of an iterable, returning a `NonEmptyArray`.
661
711
  *
712
+ * **Details**
713
+ *
662
714
  * - Always returns a non-empty array.
663
715
  * - Does not mutate the input.
664
716
  *
@@ -681,6 +733,8 @@ export declare const prepend: {
681
733
  /**
682
734
  * Adds a single element to the front of an iterable, returning a `NonEmptyArray`.
683
735
  *
736
+ * **Details**
737
+ *
684
738
  * - Always returns a non-empty array.
685
739
  * - Does not mutate the input.
686
740
  *
@@ -704,6 +758,8 @@ export declare const prepend: {
704
758
  /**
705
759
  * Prepends all elements from a prefix iterable to the front of an array.
706
760
  *
761
+ * **Details**
762
+ *
707
763
  * - If either input is non-empty, the result is a `NonEmptyArray`.
708
764
  * - Does not mutate the input.
709
765
  *
@@ -726,6 +782,8 @@ export declare const prependAll: {
726
782
  /**
727
783
  * Prepends all elements from a prefix iterable to the front of an array.
728
784
  *
785
+ * **Details**
786
+ *
729
787
  * - If either input is non-empty, the result is a `NonEmptyArray`.
730
788
  * - Does not mutate the input.
731
789
  *
@@ -748,6 +806,8 @@ export declare const prependAll: {
748
806
  /**
749
807
  * Prepends all elements from a prefix iterable to the front of an array.
750
808
  *
809
+ * **Details**
810
+ *
751
811
  * - If either input is non-empty, the result is a `NonEmptyArray`.
752
812
  * - Does not mutate the input.
753
813
  *
@@ -770,6 +830,8 @@ export declare const prependAll: {
770
830
  /**
771
831
  * Prepends all elements from a prefix iterable to the front of an array.
772
832
  *
833
+ * **Details**
834
+ *
773
835
  * - If either input is non-empty, the result is a `NonEmptyArray`.
774
836
  * - Does not mutate the input.
775
837
  *
@@ -792,6 +854,8 @@ export declare const prependAll: {
792
854
  /**
793
855
  * Prepends all elements from a prefix iterable to the front of an array.
794
856
  *
857
+ * **Details**
858
+ *
795
859
  * - If either input is non-empty, the result is a `NonEmptyArray`.
796
860
  * - Does not mutate the input.
797
861
  *
@@ -815,6 +879,8 @@ export declare const prependAll: {
815
879
  /**
816
880
  * Adds a single element to the end of an iterable, returning a `NonEmptyArray`.
817
881
  *
882
+ * **Details**
883
+ *
818
884
  * - Always returns a non-empty array.
819
885
  * - Does not mutate the input.
820
886
  *
@@ -837,6 +903,8 @@ export declare const append: {
837
903
  /**
838
904
  * Adds a single element to the end of an iterable, returning a `NonEmptyArray`.
839
905
  *
906
+ * **Details**
907
+ *
840
908
  * - Always returns a non-empty array.
841
909
  * - Does not mutate the input.
842
910
  *
@@ -859,6 +927,8 @@ export declare const append: {
859
927
  /**
860
928
  * Adds a single element to the end of an iterable, returning a `NonEmptyArray`.
861
929
  *
930
+ * **Details**
931
+ *
862
932
  * - Always returns a non-empty array.
863
933
  * - Does not mutate the input.
864
934
  *
@@ -882,6 +952,8 @@ export declare const append: {
882
952
  /**
883
953
  * Concatenates two iterables into a single array.
884
954
  *
955
+ * **Details**
956
+ *
885
957
  * - If either input is non-empty, the result is a `NonEmptyArray`.
886
958
  * - Does not mutate the inputs.
887
959
  *
@@ -904,6 +976,8 @@ export declare const appendAll: {
904
976
  /**
905
977
  * Concatenates two iterables into a single array.
906
978
  *
979
+ * **Details**
980
+ *
907
981
  * - If either input is non-empty, the result is a `NonEmptyArray`.
908
982
  * - Does not mutate the inputs.
909
983
  *
@@ -926,6 +1000,8 @@ export declare const appendAll: {
926
1000
  /**
927
1001
  * Concatenates two iterables into a single array.
928
1002
  *
1003
+ * **Details**
1004
+ *
929
1005
  * - If either input is non-empty, the result is a `NonEmptyArray`.
930
1006
  * - Does not mutate the inputs.
931
1007
  *
@@ -948,6 +1024,8 @@ export declare const appendAll: {
948
1024
  /**
949
1025
  * Concatenates two iterables into a single array.
950
1026
  *
1027
+ * **Details**
1028
+ *
951
1029
  * - If either input is non-empty, the result is a `NonEmptyArray`.
952
1030
  * - Does not mutate the inputs.
953
1031
  *
@@ -970,6 +1048,8 @@ export declare const appendAll: {
970
1048
  /**
971
1049
  * Concatenates two iterables into a single array.
972
1050
  *
1051
+ * **Details**
1052
+ *
973
1053
  * - If either input is non-empty, the result is a `NonEmptyArray`.
974
1054
  * - Does not mutate the inputs.
975
1055
  *
@@ -993,6 +1073,8 @@ export declare const appendAll: {
993
1073
  /**
994
1074
  * Left-to-right fold that keeps every intermediate accumulator value.
995
1075
  *
1076
+ * **Details**
1077
+ *
996
1078
  * - The output length is `input.length + 1` (starts with the initial value).
997
1079
  * - Always returns a `NonEmptyArray` because the initial value is included.
998
1080
  * - Use {@link reduce} if you only need the final accumulated value.
@@ -1016,6 +1098,8 @@ export declare const scan: {
1016
1098
  /**
1017
1099
  * Left-to-right fold that keeps every intermediate accumulator value.
1018
1100
  *
1101
+ * **Details**
1102
+ *
1019
1103
  * - The output length is `input.length + 1` (starts with the initial value).
1020
1104
  * - Always returns a `NonEmptyArray` because the initial value is included.
1021
1105
  * - Use {@link reduce} if you only need the final accumulated value.
@@ -1039,6 +1123,8 @@ export declare const scan: {
1039
1123
  /**
1040
1124
  * Left-to-right fold that keeps every intermediate accumulator value.
1041
1125
  *
1126
+ * **Details**
1127
+ *
1042
1128
  * - The output length is `input.length + 1` (starts with the initial value).
1043
1129
  * - Always returns a `NonEmptyArray` because the initial value is included.
1044
1130
  * - Use {@link reduce} if you only need the final accumulated value.
@@ -1063,6 +1149,8 @@ export declare const scan: {
1063
1149
  /**
1064
1150
  * Right-to-left fold that keeps every intermediate accumulator value.
1065
1151
  *
1152
+ * **Details**
1153
+ *
1066
1154
  * - The output length is `input.length + 1` (ends with the initial value).
1067
1155
  * - Always returns a `NonEmptyArray`.
1068
1156
  *
@@ -1085,6 +1173,8 @@ export declare const scanRight: {
1085
1173
  /**
1086
1174
  * Right-to-left fold that keeps every intermediate accumulator value.
1087
1175
  *
1176
+ * **Details**
1177
+ *
1088
1178
  * - The output length is `input.length + 1` (ends with the initial value).
1089
1179
  * - Always returns a `NonEmptyArray`.
1090
1180
  *
@@ -1107,6 +1197,8 @@ export declare const scanRight: {
1107
1197
  /**
1108
1198
  * Right-to-left fold that keeps every intermediate accumulator value.
1109
1199
  *
1200
+ * **Details**
1201
+ *
1110
1202
  * - The output length is `input.length + 1` (ends with the initial value).
1111
1203
  * - Always returns a `NonEmptyArray`.
1112
1204
  *
@@ -1130,6 +1222,8 @@ export declare const scanRight: {
1130
1222
  /**
1131
1223
  * Tests whether a value is an `Array`.
1132
1224
  *
1225
+ * **Details**
1226
+ *
1133
1227
  * - Acts as a type guard narrowing the input to `Array<unknown>`.
1134
1228
  * - Delegates to `globalThis.Array.isArray`.
1135
1229
  *
@@ -1152,6 +1246,8 @@ export declare const isArray: {
1152
1246
  /**
1153
1247
  * Tests whether a value is an `Array`.
1154
1248
  *
1249
+ * **Details**
1250
+ *
1155
1251
  * - Acts as a type guard narrowing the input to `Array<unknown>`.
1156
1252
  * - Delegates to `globalThis.Array.isArray`.
1157
1253
  *
@@ -1174,6 +1270,8 @@ export declare const isArray: {
1174
1270
  /**
1175
1271
  * Tests whether a value is an `Array`.
1176
1272
  *
1273
+ * **Details**
1274
+ *
1177
1275
  * - Acts as a type guard narrowing the input to `Array<unknown>`.
1178
1276
  * - Delegates to `globalThis.Array.isArray`.
1179
1277
  *
@@ -1291,6 +1389,8 @@ export declare const length: <A>(self: ReadonlyArray<A>) => number;
1291
1389
  * Safely reads an element at the given index, returning `Option.some` or
1292
1390
  * `Option.none` if the index is out of bounds.
1293
1391
  *
1392
+ * **Details**
1393
+ *
1294
1394
  * - The index is floored to an integer.
1295
1395
  * - Never throws.
1296
1396
  *
@@ -1315,6 +1415,8 @@ export declare const get: {
1315
1415
  * Safely reads an element at the given index, returning `Option.some` or
1316
1416
  * `Option.none` if the index is out of bounds.
1317
1417
  *
1418
+ * **Details**
1419
+ *
1318
1420
  * - The index is floored to an integer.
1319
1421
  * - Never throws.
1320
1422
  *
@@ -1339,6 +1441,8 @@ export declare const get: {
1339
1441
  * Safely reads an element at the given index, returning `Option.some` or
1340
1442
  * `Option.none` if the index is out of bounds.
1341
1443
  *
1444
+ * **Details**
1445
+ *
1342
1446
  * - The index is floored to an integer.
1343
1447
  * - Never throws.
1344
1448
  *
@@ -1363,6 +1467,8 @@ export declare const get: {
1363
1467
  /**
1364
1468
  * Reads an element at the given index, throwing if the index is out of bounds.
1365
1469
  *
1470
+ * **Details**
1471
+ *
1366
1472
  * - Throws an `Error` with the message `"Index out of bounds: <i>"`.
1367
1473
  * - Prefer {@link get} for safe access.
1368
1474
  *
@@ -1384,6 +1490,8 @@ export declare const getUnsafe: {
1384
1490
  /**
1385
1491
  * Reads an element at the given index, throwing if the index is out of bounds.
1386
1492
  *
1493
+ * **Details**
1494
+ *
1387
1495
  * - Throws an `Error` with the message `"Index out of bounds: <i>"`.
1388
1496
  * - Prefer {@link get} for safe access.
1389
1497
  *
@@ -1405,6 +1513,8 @@ export declare const getUnsafe: {
1405
1513
  /**
1406
1514
  * Reads an element at the given index, throwing if the index is out of bounds.
1407
1515
  *
1516
+ * **Details**
1517
+ *
1408
1518
  * - Throws an `Error` with the message `"Index out of bounds: <i>"`.
1409
1519
  * - Prefer {@link get} for safe access.
1410
1520
  *
@@ -1427,6 +1537,8 @@ export declare const getUnsafe: {
1427
1537
  /**
1428
1538
  * Splits a non-empty array into its first element and the remaining elements.
1429
1539
  *
1540
+ * **Details**
1541
+ *
1430
1542
  * - Returns a tuple `[head, tail]`.
1431
1543
  * - Requires a `NonEmptyReadonlyArray`.
1432
1544
  *
@@ -1451,6 +1563,8 @@ export declare const unprepend: <A>(self: NonEmptyReadonlyArray<A>) => [firstEle
1451
1563
  * Splits a non-empty array into all elements except the last, and the last
1452
1564
  * element.
1453
1565
  *
1566
+ * **Details**
1567
+ *
1454
1568
  * - Returns a tuple `[init, last]`.
1455
1569
  * - Requires a `NonEmptyReadonlyArray`.
1456
1570
  *
@@ -1550,6 +1664,8 @@ export declare const lastNonEmpty: <A>(self: NonEmptyReadonlyArray<A>) => A;
1550
1664
  /**
1551
1665
  * Returns all elements except the first, wrapped in an `Option`.
1552
1666
  *
1667
+ * **Details**
1668
+ *
1553
1669
  * - Allocates a new array via `slice(1)`.
1554
1670
  * - Returns `Option.none()` for empty inputs.
1555
1671
  *
@@ -1590,6 +1706,8 @@ export declare const tailNonEmpty: <A>(self: NonEmptyReadonlyArray<A>) => Array<
1590
1706
  /**
1591
1707
  * Returns all elements except the last, wrapped in an `Option`.
1592
1708
  *
1709
+ * **Details**
1710
+ *
1593
1711
  * - Allocates a new array via `slice(0, -1)`.
1594
1712
  * - Returns `Option.none()` for empty inputs.
1595
1713
  *
@@ -1630,6 +1748,8 @@ export declare const initNonEmpty: <A>(self: NonEmptyReadonlyArray<A>) => Array<
1630
1748
  /**
1631
1749
  * Keeps the first `n` elements, creating a new array.
1632
1750
  *
1751
+ * **Details**
1752
+ *
1633
1753
  * - `n` is clamped to `[0, length]`.
1634
1754
  * - Returns an empty array when `n <= 0`.
1635
1755
  *
@@ -1652,6 +1772,8 @@ export declare const take: {
1652
1772
  /**
1653
1773
  * Keeps the first `n` elements, creating a new array.
1654
1774
  *
1775
+ * **Details**
1776
+ *
1655
1777
  * - `n` is clamped to `[0, length]`.
1656
1778
  * - Returns an empty array when `n <= 0`.
1657
1779
  *
@@ -1674,6 +1796,8 @@ export declare const take: {
1674
1796
  /**
1675
1797
  * Keeps the first `n` elements, creating a new array.
1676
1798
  *
1799
+ * **Details**
1800
+ *
1677
1801
  * - `n` is clamped to `[0, length]`.
1678
1802
  * - Returns an empty array when `n <= 0`.
1679
1803
  *
@@ -1697,6 +1821,8 @@ export declare const take: {
1697
1821
  /**
1698
1822
  * Keeps the last `n` elements, creating a new array.
1699
1823
  *
1824
+ * **Details**
1825
+ *
1700
1826
  * - `n` is clamped to `[0, length]`.
1701
1827
  * - Returns an empty array when `n <= 0`.
1702
1828
  *
@@ -1718,6 +1844,8 @@ export declare const takeRight: {
1718
1844
  /**
1719
1845
  * Keeps the last `n` elements, creating a new array.
1720
1846
  *
1847
+ * **Details**
1848
+ *
1721
1849
  * - `n` is clamped to `[0, length]`.
1722
1850
  * - Returns an empty array when `n <= 0`.
1723
1851
  *
@@ -1739,6 +1867,8 @@ export declare const takeRight: {
1739
1867
  /**
1740
1868
  * Keeps the last `n` elements, creating a new array.
1741
1869
  *
1870
+ * **Details**
1871
+ *
1742
1872
  * - `n` is clamped to `[0, length]`.
1743
1873
  * - Returns an empty array when `n <= 0`.
1744
1874
  *
@@ -1762,6 +1892,8 @@ export declare const takeRight: {
1762
1892
  * Takes elements from the start while the predicate holds, stopping at the
1763
1893
  * first element that fails.
1764
1894
  *
1895
+ * **Details**
1896
+ *
1765
1897
  * - Supports refinements for type narrowing.
1766
1898
  * - The predicate receives `(element, index)`.
1767
1899
  *
@@ -1785,6 +1917,8 @@ export declare const takeWhile: {
1785
1917
  * Takes elements from the start while the predicate holds, stopping at the
1786
1918
  * first element that fails.
1787
1919
  *
1920
+ * **Details**
1921
+ *
1788
1922
  * - Supports refinements for type narrowing.
1789
1923
  * - The predicate receives `(element, index)`.
1790
1924
  *
@@ -1808,6 +1942,8 @@ export declare const takeWhile: {
1808
1942
  * Takes elements from the start while the predicate holds, stopping at the
1809
1943
  * first element that fails.
1810
1944
  *
1945
+ * **Details**
1946
+ *
1811
1947
  * - Supports refinements for type narrowing.
1812
1948
  * - The predicate receives `(element, index)`.
1813
1949
  *
@@ -1831,6 +1967,8 @@ export declare const takeWhile: {
1831
1967
  * Takes elements from the start while the predicate holds, stopping at the
1832
1968
  * first element that fails.
1833
1969
  *
1970
+ * **Details**
1971
+ *
1834
1972
  * - Supports refinements for type narrowing.
1835
1973
  * - The predicate receives `(element, index)`.
1836
1974
  *
@@ -1854,6 +1992,8 @@ export declare const takeWhile: {
1854
1992
  * Takes elements from the start while the predicate holds, stopping at the
1855
1993
  * first element that fails.
1856
1994
  *
1995
+ * **Details**
1996
+ *
1857
1997
  * - Supports refinements for type narrowing.
1858
1998
  * - The predicate receives `(element, index)`.
1859
1999
  *
@@ -1877,6 +2017,8 @@ export declare const takeWhile: {
1877
2017
  /**
1878
2018
  * Takes elements from the start while a `Filter` succeeds, collecting transformed values.
1879
2019
  *
2020
+ * **Details**
2021
+ *
1880
2022
  * - The filter receives `(element, index)`.
1881
2023
  * - Stops at the first filter failure.
1882
2024
  *
@@ -1887,6 +2029,8 @@ export declare const takeWhileFilter: {
1887
2029
  /**
1888
2030
  * Takes elements from the start while a `Filter` succeeds, collecting transformed values.
1889
2031
  *
2032
+ * **Details**
2033
+ *
1890
2034
  * - The filter receives `(element, index)`.
1891
2035
  * - Stops at the first filter failure.
1892
2036
  *
@@ -1897,6 +2041,8 @@ export declare const takeWhileFilter: {
1897
2041
  /**
1898
2042
  * Takes elements from the start while a `Filter` succeeds, collecting transformed values.
1899
2043
  *
2044
+ * **Details**
2045
+ *
1900
2046
  * - The filter receives `(element, index)`.
1901
2047
  * - Stops at the first filter failure.
1902
2048
  *
@@ -1909,6 +2055,8 @@ export declare const takeWhileFilter: {
1909
2055
  * Splits an iterable into two arrays: the longest prefix where the predicate
1910
2056
  * holds, and the remaining elements.
1911
2057
  *
2058
+ * **Details**
2059
+ *
1912
2060
  * - Equivalent to `[takeWhile(pred), dropWhile(pred)]` but more efficient
1913
2061
  * (single pass).
1914
2062
  * - Supports refinements for type narrowing of the prefix.
@@ -1933,6 +2081,8 @@ export declare const span: {
1933
2081
  * Splits an iterable into two arrays: the longest prefix where the predicate
1934
2082
  * holds, and the remaining elements.
1935
2083
  *
2084
+ * **Details**
2085
+ *
1936
2086
  * - Equivalent to `[takeWhile(pred), dropWhile(pred)]` but more efficient
1937
2087
  * (single pass).
1938
2088
  * - Supports refinements for type narrowing of the prefix.
@@ -1957,6 +2107,8 @@ export declare const span: {
1957
2107
  * Splits an iterable into two arrays: the longest prefix where the predicate
1958
2108
  * holds, and the remaining elements.
1959
2109
  *
2110
+ * **Details**
2111
+ *
1960
2112
  * - Equivalent to `[takeWhile(pred), dropWhile(pred)]` but more efficient
1961
2113
  * (single pass).
1962
2114
  * - Supports refinements for type narrowing of the prefix.
@@ -1981,6 +2133,8 @@ export declare const span: {
1981
2133
  * Splits an iterable into two arrays: the longest prefix where the predicate
1982
2134
  * holds, and the remaining elements.
1983
2135
  *
2136
+ * **Details**
2137
+ *
1984
2138
  * - Equivalent to `[takeWhile(pred), dropWhile(pred)]` but more efficient
1985
2139
  * (single pass).
1986
2140
  * - Supports refinements for type narrowing of the prefix.
@@ -2005,6 +2159,8 @@ export declare const span: {
2005
2159
  * Splits an iterable into two arrays: the longest prefix where the predicate
2006
2160
  * holds, and the remaining elements.
2007
2161
  *
2162
+ * **Details**
2163
+ *
2008
2164
  * - Equivalent to `[takeWhile(pred), dropWhile(pred)]` but more efficient
2009
2165
  * (single pass).
2010
2166
  * - Supports refinements for type narrowing of the prefix.
@@ -2029,6 +2185,8 @@ export declare const span: {
2029
2185
  /**
2030
2186
  * Removes the first `n` elements, creating a new array.
2031
2187
  *
2188
+ * **Details**
2189
+ *
2032
2190
  * - `n` is clamped to `[0, length]`.
2033
2191
  * - Returns a copy of the full array when `n <= 0`.
2034
2192
  *
@@ -2051,6 +2209,8 @@ export declare const drop: {
2051
2209
  /**
2052
2210
  * Removes the first `n` elements, creating a new array.
2053
2211
  *
2212
+ * **Details**
2213
+ *
2054
2214
  * - `n` is clamped to `[0, length]`.
2055
2215
  * - Returns a copy of the full array when `n <= 0`.
2056
2216
  *
@@ -2073,6 +2233,8 @@ export declare const drop: {
2073
2233
  /**
2074
2234
  * Removes the first `n` elements, creating a new array.
2075
2235
  *
2236
+ * **Details**
2237
+ *
2076
2238
  * - `n` is clamped to `[0, length]`.
2077
2239
  * - Returns a copy of the full array when `n <= 0`.
2078
2240
  *
@@ -2096,6 +2258,8 @@ export declare const drop: {
2096
2258
  /**
2097
2259
  * Removes the last `n` elements, creating a new array.
2098
2260
  *
2261
+ * **Details**
2262
+ *
2099
2263
  * - `n` is clamped to `[0, length]`.
2100
2264
  *
2101
2265
  * **Example** (Dropping from the end)
@@ -2116,6 +2280,8 @@ export declare const dropRight: {
2116
2280
  /**
2117
2281
  * Removes the last `n` elements, creating a new array.
2118
2282
  *
2283
+ * **Details**
2284
+ *
2119
2285
  * - `n` is clamped to `[0, length]`.
2120
2286
  *
2121
2287
  * **Example** (Dropping from the end)
@@ -2136,6 +2302,8 @@ export declare const dropRight: {
2136
2302
  /**
2137
2303
  * Removes the last `n` elements, creating a new array.
2138
2304
  *
2305
+ * **Details**
2306
+ *
2139
2307
  * - `n` is clamped to `[0, length]`.
2140
2308
  *
2141
2309
  * **Example** (Dropping from the end)
@@ -2157,6 +2325,8 @@ export declare const dropRight: {
2157
2325
  /**
2158
2326
  * Drops elements from the start while the predicate holds, returning the rest.
2159
2327
  *
2328
+ * **Details**
2329
+ *
2160
2330
  * - The predicate receives `(element, index)`.
2161
2331
  *
2162
2332
  * **Example** (Dropping while condition holds)
@@ -2177,6 +2347,8 @@ export declare const dropWhile: {
2177
2347
  /**
2178
2348
  * Drops elements from the start while the predicate holds, returning the rest.
2179
2349
  *
2350
+ * **Details**
2351
+ *
2180
2352
  * - The predicate receives `(element, index)`.
2181
2353
  *
2182
2354
  * **Example** (Dropping while condition holds)
@@ -2197,6 +2369,8 @@ export declare const dropWhile: {
2197
2369
  /**
2198
2370
  * Drops elements from the start while the predicate holds, returning the rest.
2199
2371
  *
2372
+ * **Details**
2373
+ *
2200
2374
  * - The predicate receives `(element, index)`.
2201
2375
  *
2202
2376
  * **Example** (Dropping while condition holds)
@@ -2218,6 +2392,8 @@ export declare const dropWhile: {
2218
2392
  /**
2219
2393
  * Drops elements from the start while a `Filter` succeeds.
2220
2394
  *
2395
+ * **Details**
2396
+ *
2221
2397
  * - The filter receives `(element, index)`.
2222
2398
  * - Returns the remaining original elements after the first filter failure.
2223
2399
  *
@@ -2228,6 +2404,8 @@ export declare const dropWhileFilter: {
2228
2404
  /**
2229
2405
  * Drops elements from the start while a `Filter` succeeds.
2230
2406
  *
2407
+ * **Details**
2408
+ *
2231
2409
  * - The filter receives `(element, index)`.
2232
2410
  * - Returns the remaining original elements after the first filter failure.
2233
2411
  *
@@ -2238,6 +2416,8 @@ export declare const dropWhileFilter: {
2238
2416
  /**
2239
2417
  * Drops elements from the start while a `Filter` succeeds.
2240
2418
  *
2419
+ * **Details**
2420
+ *
2241
2421
  * - The filter receives `(element, index)`.
2242
2422
  * - Returns the remaining original elements after the first filter failure.
2243
2423
  *
@@ -2366,6 +2546,8 @@ export declare const findLastIndex: {
2366
2546
  * Returns the first element matching a predicate, refinement, or mapping
2367
2547
  * function, wrapped in `Option`.
2368
2548
  *
2549
+ * **Details**
2550
+ *
2369
2551
  * - Accepts a predicate `(a, i) => boolean`, a refinement, or a function
2370
2552
  * `(a, i) => Option<B>` for simultaneous find-and-transform.
2371
2553
  * - Returns `Option.none()` if no element matches.
@@ -2390,6 +2572,8 @@ export declare const findFirst: {
2390
2572
  * Returns the first element matching a predicate, refinement, or mapping
2391
2573
  * function, wrapped in `Option`.
2392
2574
  *
2575
+ * **Details**
2576
+ *
2393
2577
  * - Accepts a predicate `(a, i) => boolean`, a refinement, or a function
2394
2578
  * `(a, i) => Option<B>` for simultaneous find-and-transform.
2395
2579
  * - Returns `Option.none()` if no element matches.
@@ -2414,6 +2598,8 @@ export declare const findFirst: {
2414
2598
  * Returns the first element matching a predicate, refinement, or mapping
2415
2599
  * function, wrapped in `Option`.
2416
2600
  *
2601
+ * **Details**
2602
+ *
2417
2603
  * - Accepts a predicate `(a, i) => boolean`, a refinement, or a function
2418
2604
  * `(a, i) => Option<B>` for simultaneous find-and-transform.
2419
2605
  * - Returns `Option.none()` if no element matches.
@@ -2438,6 +2624,8 @@ export declare const findFirst: {
2438
2624
  * Returns the first element matching a predicate, refinement, or mapping
2439
2625
  * function, wrapped in `Option`.
2440
2626
  *
2627
+ * **Details**
2628
+ *
2441
2629
  * - Accepts a predicate `(a, i) => boolean`, a refinement, or a function
2442
2630
  * `(a, i) => Option<B>` for simultaneous find-and-transform.
2443
2631
  * - Returns `Option.none()` if no element matches.
@@ -2462,6 +2650,8 @@ export declare const findFirst: {
2462
2650
  * Returns the first element matching a predicate, refinement, or mapping
2463
2651
  * function, wrapped in `Option`.
2464
2652
  *
2653
+ * **Details**
2654
+ *
2465
2655
  * - Accepts a predicate `(a, i) => boolean`, a refinement, or a function
2466
2656
  * `(a, i) => Option<B>` for simultaneous find-and-transform.
2467
2657
  * - Returns `Option.none()` if no element matches.
@@ -2486,6 +2676,8 @@ export declare const findFirst: {
2486
2676
  * Returns the first element matching a predicate, refinement, or mapping
2487
2677
  * function, wrapped in `Option`.
2488
2678
  *
2679
+ * **Details**
2680
+ *
2489
2681
  * - Accepts a predicate `(a, i) => boolean`, a refinement, or a function
2490
2682
  * `(a, i) => Option<B>` for simultaneous find-and-transform.
2491
2683
  * - Returns `Option.none()` if no element matches.
@@ -2510,6 +2702,8 @@ export declare const findFirst: {
2510
2702
  * Returns the first element matching a predicate, refinement, or mapping
2511
2703
  * function, wrapped in `Option`.
2512
2704
  *
2705
+ * **Details**
2706
+ *
2513
2707
  * - Accepts a predicate `(a, i) => boolean`, a refinement, or a function
2514
2708
  * `(a, i) => Option<B>` for simultaneous find-and-transform.
2515
2709
  * - Returns `Option.none()` if no element matches.
@@ -2535,6 +2729,8 @@ export declare const findFirst: {
2535
2729
  * Returns the first selected value together with its index, wrapped in an
2536
2730
  * `Option`.
2537
2731
  *
2732
+ * **Details**
2733
+ *
2538
2734
  * Accepts a predicate, a refinement, or a function returning `Option`. For an
2539
2735
  * `Option`-returning function, returns `[mappedValue, index]` for the first
2540
2736
  * `Some`, or `Option.none()` if no element is selected.
@@ -2558,6 +2754,8 @@ export declare const findFirstWithIndex: {
2558
2754
  * Returns the first selected value together with its index, wrapped in an
2559
2755
  * `Option`.
2560
2756
  *
2757
+ * **Details**
2758
+ *
2561
2759
  * Accepts a predicate, a refinement, or a function returning `Option`. For an
2562
2760
  * `Option`-returning function, returns `[mappedValue, index]` for the first
2563
2761
  * `Some`, or `Option.none()` if no element is selected.
@@ -2581,6 +2779,8 @@ export declare const findFirstWithIndex: {
2581
2779
  * Returns the first selected value together with its index, wrapped in an
2582
2780
  * `Option`.
2583
2781
  *
2782
+ * **Details**
2783
+ *
2584
2784
  * Accepts a predicate, a refinement, or a function returning `Option`. For an
2585
2785
  * `Option`-returning function, returns `[mappedValue, index]` for the first
2586
2786
  * `Some`, or `Option.none()` if no element is selected.
@@ -2604,6 +2804,8 @@ export declare const findFirstWithIndex: {
2604
2804
  * Returns the first selected value together with its index, wrapped in an
2605
2805
  * `Option`.
2606
2806
  *
2807
+ * **Details**
2808
+ *
2607
2809
  * Accepts a predicate, a refinement, or a function returning `Option`. For an
2608
2810
  * `Option`-returning function, returns `[mappedValue, index]` for the first
2609
2811
  * `Some`, or `Option.none()` if no element is selected.
@@ -2627,6 +2829,8 @@ export declare const findFirstWithIndex: {
2627
2829
  * Returns the first selected value together with its index, wrapped in an
2628
2830
  * `Option`.
2629
2831
  *
2832
+ * **Details**
2833
+ *
2630
2834
  * Accepts a predicate, a refinement, or a function returning `Option`. For an
2631
2835
  * `Option`-returning function, returns `[mappedValue, index]` for the first
2632
2836
  * `Some`, or `Option.none()` if no element is selected.
@@ -2650,6 +2854,8 @@ export declare const findFirstWithIndex: {
2650
2854
  * Returns the first selected value together with its index, wrapped in an
2651
2855
  * `Option`.
2652
2856
  *
2857
+ * **Details**
2858
+ *
2653
2859
  * Accepts a predicate, a refinement, or a function returning `Option`. For an
2654
2860
  * `Option`-returning function, returns `[mappedValue, index]` for the first
2655
2861
  * `Some`, or `Option.none()` if no element is selected.
@@ -2673,6 +2879,8 @@ export declare const findFirstWithIndex: {
2673
2879
  * Returns the first selected value together with its index, wrapped in an
2674
2880
  * `Option`.
2675
2881
  *
2882
+ * **Details**
2883
+ *
2676
2884
  * Accepts a predicate, a refinement, or a function returning `Option`. For an
2677
2885
  * `Option`-returning function, returns `[mappedValue, index]` for the first
2678
2886
  * `Some`, or `Option.none()` if no element is selected.
@@ -2697,6 +2905,8 @@ export declare const findFirstWithIndex: {
2697
2905
  * Returns the last element matching a predicate, refinement, or mapping
2698
2906
  * function, wrapped in `Option`.
2699
2907
  *
2908
+ * **Details**
2909
+ *
2700
2910
  * - Searches from the end of the array.
2701
2911
  * - Returns `Option.none()` if no element matches.
2702
2912
  *
@@ -2719,6 +2929,8 @@ export declare const findLast: {
2719
2929
  * Returns the last element matching a predicate, refinement, or mapping
2720
2930
  * function, wrapped in `Option`.
2721
2931
  *
2932
+ * **Details**
2933
+ *
2722
2934
  * - Searches from the end of the array.
2723
2935
  * - Returns `Option.none()` if no element matches.
2724
2936
  *
@@ -2741,6 +2953,8 @@ export declare const findLast: {
2741
2953
  * Returns the last element matching a predicate, refinement, or mapping
2742
2954
  * function, wrapped in `Option`.
2743
2955
  *
2956
+ * **Details**
2957
+ *
2744
2958
  * - Searches from the end of the array.
2745
2959
  * - Returns `Option.none()` if no element matches.
2746
2960
  *
@@ -2763,6 +2977,8 @@ export declare const findLast: {
2763
2977
  * Returns the last element matching a predicate, refinement, or mapping
2764
2978
  * function, wrapped in `Option`.
2765
2979
  *
2980
+ * **Details**
2981
+ *
2766
2982
  * - Searches from the end of the array.
2767
2983
  * - Returns `Option.none()` if no element matches.
2768
2984
  *
@@ -2785,6 +3001,8 @@ export declare const findLast: {
2785
3001
  * Returns the last element matching a predicate, refinement, or mapping
2786
3002
  * function, wrapped in `Option`.
2787
3003
  *
3004
+ * **Details**
3005
+ *
2788
3006
  * - Searches from the end of the array.
2789
3007
  * - Returns `Option.none()` if no element matches.
2790
3008
  *
@@ -2807,6 +3025,8 @@ export declare const findLast: {
2807
3025
  * Returns the last element matching a predicate, refinement, or mapping
2808
3026
  * function, wrapped in `Option`.
2809
3027
  *
3028
+ * **Details**
3029
+ *
2810
3030
  * - Searches from the end of the array.
2811
3031
  * - Returns `Option.none()` if no element matches.
2812
3032
  *
@@ -2829,6 +3049,8 @@ export declare const findLast: {
2829
3049
  * Returns the last element matching a predicate, refinement, or mapping
2830
3050
  * function, wrapped in `Option`.
2831
3051
  *
3052
+ * **Details**
3053
+ *
2832
3054
  * - Searches from the end of the array.
2833
3055
  * - Returns `Option.none()` if no element matches.
2834
3056
  *
@@ -2852,6 +3074,8 @@ export declare const findLast: {
2852
3074
  * Inserts an element at the specified index, returning a new `NonEmptyArray`
2853
3075
  * wrapped in an `Option`.
2854
3076
  *
3077
+ * **Details**
3078
+ *
2855
3079
  * - Valid indices: `0` to `length` (inclusive — inserting at `length` appends).
2856
3080
  * - Does not mutate the input.
2857
3081
  *
@@ -2874,6 +3098,8 @@ export declare const insertAt: {
2874
3098
  * Inserts an element at the specified index, returning a new `NonEmptyArray`
2875
3099
  * wrapped in an `Option`.
2876
3100
  *
3101
+ * **Details**
3102
+ *
2877
3103
  * - Valid indices: `0` to `length` (inclusive — inserting at `length` appends).
2878
3104
  * - Does not mutate the input.
2879
3105
  *
@@ -2896,6 +3122,8 @@ export declare const insertAt: {
2896
3122
  * Inserts an element at the specified index, returning a new `NonEmptyArray`
2897
3123
  * wrapped in an `Option`.
2898
3124
  *
3125
+ * **Details**
3126
+ *
2899
3127
  * - Valid indices: `0` to `length` (inclusive — inserting at `length` appends).
2900
3128
  * - Does not mutate the input.
2901
3129
  *
@@ -2919,6 +3147,8 @@ export declare const insertAt: {
2919
3147
  * Replaces the element at the specified index with a new value, returning the
2920
3148
  * updated array in `Option.some`.
2921
3149
  *
3150
+ * **Details**
3151
+ *
2922
3152
  * - Returns `Option.none()` when the index is out of bounds.
2923
3153
  * - Does not mutate the input.
2924
3154
  *
@@ -2941,6 +3171,8 @@ export declare const replace: {
2941
3171
  * Replaces the element at the specified index with a new value, returning the
2942
3172
  * updated array in `Option.some`.
2943
3173
  *
3174
+ * **Details**
3175
+ *
2944
3176
  * - Returns `Option.none()` when the index is out of bounds.
2945
3177
  * - Does not mutate the input.
2946
3178
  *
@@ -2963,6 +3195,8 @@ export declare const replace: {
2963
3195
  * Replaces the element at the specified index with a new value, returning the
2964
3196
  * updated array in `Option.some`.
2965
3197
  *
3198
+ * **Details**
3199
+ *
2966
3200
  * - Returns `Option.none()` when the index is out of bounds.
2967
3201
  * - Does not mutate the input.
2968
3202
  *
@@ -2986,6 +3220,8 @@ export declare const replace: {
2986
3220
  * Applies a function to the element at the specified index, returning the
2987
3221
  * updated array in `Option.some`.
2988
3222
  *
3223
+ * **Details**
3224
+ *
2989
3225
  * - Returns `Option.none()` when the index is out of bounds.
2990
3226
  * - Does not mutate the input.
2991
3227
  *
@@ -3010,6 +3246,8 @@ export declare const modify: {
3010
3246
  * Applies a function to the element at the specified index, returning the
3011
3247
  * updated array in `Option.some`.
3012
3248
  *
3249
+ * **Details**
3250
+ *
3013
3251
  * - Returns `Option.none()` when the index is out of bounds.
3014
3252
  * - Does not mutate the input.
3015
3253
  *
@@ -3034,6 +3272,8 @@ export declare const modify: {
3034
3272
  * Applies a function to the element at the specified index, returning the
3035
3273
  * updated array in `Option.some`.
3036
3274
  *
3275
+ * **Details**
3276
+ *
3037
3277
  * - Returns `Option.none()` when the index is out of bounds.
3038
3278
  * - Does not mutate the input.
3039
3279
  *
@@ -3059,6 +3299,8 @@ export declare const modify: {
3059
3299
  * Removes the element at the specified index, returning a new array. If the
3060
3300
  * index is out of bounds, returns a copy of the original.
3061
3301
  *
3302
+ * **Details**
3303
+ *
3062
3304
  * - Does not mutate the input.
3063
3305
  *
3064
3306
  * **Example** (Removing an element)
@@ -3081,6 +3323,8 @@ export declare const remove: {
3081
3323
  * Removes the element at the specified index, returning a new array. If the
3082
3324
  * index is out of bounds, returns a copy of the original.
3083
3325
  *
3326
+ * **Details**
3327
+ *
3084
3328
  * - Does not mutate the input.
3085
3329
  *
3086
3330
  * **Example** (Removing an element)
@@ -3103,6 +3347,8 @@ export declare const remove: {
3103
3347
  * Removes the element at the specified index, returning a new array. If the
3104
3348
  * index is out of bounds, returns a copy of the original.
3105
3349
  *
3350
+ * **Details**
3351
+ *
3106
3352
  * - Does not mutate the input.
3107
3353
  *
3108
3354
  * **Example** (Removing an element)
@@ -3125,6 +3371,8 @@ export declare const remove: {
3125
3371
  /**
3126
3372
  * Reverses an iterable into a new array.
3127
3373
  *
3374
+ * **Details**
3375
+ *
3128
3376
  * - Does not mutate the input.
3129
3377
  * - Preserves `NonEmptyArray` in the return type.
3130
3378
  *
@@ -3143,6 +3391,8 @@ export declare const reverse: <S extends Iterable<any>>(self: S) => S extends No
3143
3391
  /**
3144
3392
  * Sorts an array by the given `Order`, returning a new array.
3145
3393
  *
3394
+ * **Details**
3395
+ *
3146
3396
  * - Does not mutate the input.
3147
3397
  * - Preserves `NonEmptyArray` in the return type.
3148
3398
  * - Use {@link sortWith} to sort by a derived key, or {@link sortBy} for
@@ -3166,6 +3416,8 @@ export declare const sort: {
3166
3416
  /**
3167
3417
  * Sorts an array by the given `Order`, returning a new array.
3168
3418
  *
3419
+ * **Details**
3420
+ *
3169
3421
  * - Does not mutate the input.
3170
3422
  * - Preserves `NonEmptyArray` in the return type.
3171
3423
  * - Use {@link sortWith} to sort by a derived key, or {@link sortBy} for
@@ -3189,6 +3441,8 @@ export declare const sort: {
3189
3441
  /**
3190
3442
  * Sorts an array by the given `Order`, returning a new array.
3191
3443
  *
3444
+ * **Details**
3445
+ *
3192
3446
  * - Does not mutate the input.
3193
3447
  * - Preserves `NonEmptyArray` in the return type.
3194
3448
  * - Use {@link sortWith} to sort by a derived key, or {@link sortBy} for
@@ -3212,6 +3466,8 @@ export declare const sort: {
3212
3466
  /**
3213
3467
  * Sorts an array by the given `Order`, returning a new array.
3214
3468
  *
3469
+ * **Details**
3470
+ *
3215
3471
  * - Does not mutate the input.
3216
3472
  * - Preserves `NonEmptyArray` in the return type.
3217
3473
  * - Use {@link sortWith} to sort by a derived key, or {@link sortBy} for
@@ -3237,6 +3493,8 @@ export declare const sort: {
3237
3493
  * Sorts an array by a derived key using a mapping function and an `Order` for
3238
3494
  * that key.
3239
3495
  *
3496
+ * **Details**
3497
+ *
3240
3498
  * - Equivalent to `sort(Order.mapInput(order, f))` but more convenient.
3241
3499
  * - Does not mutate the input.
3242
3500
  *
@@ -3260,6 +3518,8 @@ export declare const sortWith: {
3260
3518
  * Sorts an array by a derived key using a mapping function and an `Order` for
3261
3519
  * that key.
3262
3520
  *
3521
+ * **Details**
3522
+ *
3263
3523
  * - Equivalent to `sort(Order.mapInput(order, f))` but more convenient.
3264
3524
  * - Does not mutate the input.
3265
3525
  *
@@ -3283,6 +3543,8 @@ export declare const sortWith: {
3283
3543
  * Sorts an array by a derived key using a mapping function and an `Order` for
3284
3544
  * that key.
3285
3545
  *
3546
+ * **Details**
3547
+ *
3286
3548
  * - Equivalent to `sort(Order.mapInput(order, f))` but more convenient.
3287
3549
  * - Does not mutate the input.
3288
3550
  *
@@ -3306,6 +3568,8 @@ export declare const sortWith: {
3306
3568
  * Sorts an array by a derived key using a mapping function and an `Order` for
3307
3569
  * that key.
3308
3570
  *
3571
+ * **Details**
3572
+ *
3309
3573
  * - Equivalent to `sort(Order.mapInput(order, f))` but more convenient.
3310
3574
  * - Does not mutate the input.
3311
3575
  *
@@ -3330,6 +3594,8 @@ export declare const sortWith: {
3330
3594
  * Sorts an array by multiple `Order`s applied in sequence: the first order is
3331
3595
  * used first; ties are broken by the second order, and so on.
3332
3596
  *
3597
+ * **Details**
3598
+ *
3333
3599
  * - Data-last only (returns a function).
3334
3600
  * - Preserves `NonEmptyArray` in the return type.
3335
3601
  *
@@ -3366,6 +3632,8 @@ export declare const sortBy: <S extends Iterable<any>>(...orders: ReadonlyArray<
3366
3632
  * Pairs elements from two iterables by position. If the iterables differ in
3367
3633
  * length, the extra elements from the longer one are discarded.
3368
3634
  *
3635
+ * **Details**
3636
+ *
3369
3637
  * - Returns `NonEmptyArray` when both inputs are non-empty.
3370
3638
  *
3371
3639
  * **Example** (Zipping two arrays)
@@ -3387,6 +3655,8 @@ export declare const zip: {
3387
3655
  * Pairs elements from two iterables by position. If the iterables differ in
3388
3656
  * length, the extra elements from the longer one are discarded.
3389
3657
  *
3658
+ * **Details**
3659
+ *
3390
3660
  * - Returns `NonEmptyArray` when both inputs are non-empty.
3391
3661
  *
3392
3662
  * **Example** (Zipping two arrays)
@@ -3408,6 +3678,8 @@ export declare const zip: {
3408
3678
  * Pairs elements from two iterables by position. If the iterables differ in
3409
3679
  * length, the extra elements from the longer one are discarded.
3410
3680
  *
3681
+ * **Details**
3682
+ *
3411
3683
  * - Returns `NonEmptyArray` when both inputs are non-empty.
3412
3684
  *
3413
3685
  * **Example** (Zipping two arrays)
@@ -3429,6 +3701,8 @@ export declare const zip: {
3429
3701
  * Pairs elements from two iterables by position. If the iterables differ in
3430
3702
  * length, the extra elements from the longer one are discarded.
3431
3703
  *
3704
+ * **Details**
3705
+ *
3432
3706
  * - Returns `NonEmptyArray` when both inputs are non-empty.
3433
3707
  *
3434
3708
  * **Example** (Zipping two arrays)
@@ -3450,6 +3724,8 @@ export declare const zip: {
3450
3724
  * Pairs elements from two iterables by position. If the iterables differ in
3451
3725
  * length, the extra elements from the longer one are discarded.
3452
3726
  *
3727
+ * **Details**
3728
+ *
3453
3729
  * - Returns `NonEmptyArray` when both inputs are non-empty.
3454
3730
  *
3455
3731
  * **Example** (Zipping two arrays)
@@ -3579,6 +3855,8 @@ export declare const unzip: <S extends Iterable<readonly [any, any]>>(self: S) =
3579
3855
  /**
3580
3856
  * Places a separator element between every pair of elements.
3581
3857
  *
3858
+ * **Details**
3859
+ *
3582
3860
  * - Preserves `NonEmptyArray` in the return type.
3583
3861
  * - An empty input produces an empty result.
3584
3862
  *
@@ -3599,6 +3877,8 @@ export declare const intersperse: {
3599
3877
  /**
3600
3878
  * Places a separator element between every pair of elements.
3601
3879
  *
3880
+ * **Details**
3881
+ *
3602
3882
  * - Preserves `NonEmptyArray` in the return type.
3603
3883
  * - An empty input produces an empty result.
3604
3884
  *
@@ -3619,6 +3899,8 @@ export declare const intersperse: {
3619
3899
  /**
3620
3900
  * Places a separator element between every pair of elements.
3621
3901
  *
3902
+ * **Details**
3903
+ *
3622
3904
  * - Preserves `NonEmptyArray` in the return type.
3623
3905
  * - An empty input produces an empty result.
3624
3906
  *
@@ -3639,6 +3921,8 @@ export declare const intersperse: {
3639
3921
  /**
3640
3922
  * Places a separator element between every pair of elements.
3641
3923
  *
3924
+ * **Details**
3925
+ *
3642
3926
  * - Preserves `NonEmptyArray` in the return type.
3643
3927
  * - An empty input produces an empty result.
3644
3928
  *
@@ -3887,6 +4171,8 @@ export declare const setLastNonEmpty: {
3887
4171
  * Rotates an array by `n` steps. Positive `n` rotates right; negative `n`
3888
4172
  * rotates left.
3889
4173
  *
4174
+ * **Details**
4175
+ *
3890
4176
  * - `n` is rounded to the nearest integer before rotating.
3891
4177
  * - Preserves `NonEmptyArray` in the return type.
3892
4178
  * - Returns a copy for empty arrays or when the normalized rotation is `0`.
@@ -3907,6 +4193,8 @@ export declare const rotate: {
3907
4193
  * Rotates an array by `n` steps. Positive `n` rotates right; negative `n`
3908
4194
  * rotates left.
3909
4195
  *
4196
+ * **Details**
4197
+ *
3910
4198
  * - `n` is rounded to the nearest integer before rotating.
3911
4199
  * - Preserves `NonEmptyArray` in the return type.
3912
4200
  * - Returns a copy for empty arrays or when the normalized rotation is `0`.
@@ -3927,6 +4215,8 @@ export declare const rotate: {
3927
4215
  * Rotates an array by `n` steps. Positive `n` rotates right; negative `n`
3928
4216
  * rotates left.
3929
4217
  *
4218
+ * **Details**
4219
+ *
3930
4220
  * - `n` is rounded to the nearest integer before rotating.
3931
4221
  * - Preserves `NonEmptyArray` in the return type.
3932
4222
  * - Returns a copy for empty arrays or when the normalized rotation is `0`.
@@ -3947,6 +4237,8 @@ export declare const rotate: {
3947
4237
  * Rotates an array by `n` steps. Positive `n` rotates right; negative `n`
3948
4238
  * rotates left.
3949
4239
  *
4240
+ * **Details**
4241
+ *
3950
4242
  * - `n` is rounded to the nearest integer before rotating.
3951
4243
  * - Preserves `NonEmptyArray` in the return type.
3952
4244
  * - Returns a copy for empty arrays or when the normalized rotation is `0`.
@@ -4044,6 +4336,8 @@ export declare const contains: {
4044
4336
  * Repeatedly applies a function that consumes a prefix of the array and
4045
4337
  * produces a value plus the remaining elements, collecting the values.
4046
4338
  *
4339
+ * **Details**
4340
+ *
4047
4341
  * - The function receives a `NonEmptyReadonlyArray` and returns
4048
4342
  * `[value, rest]`.
4049
4343
  * - Continues until the remaining array is empty.
@@ -4072,6 +4366,8 @@ export declare const chop: {
4072
4366
  * Repeatedly applies a function that consumes a prefix of the array and
4073
4367
  * produces a value plus the remaining elements, collecting the values.
4074
4368
  *
4369
+ * **Details**
4370
+ *
4075
4371
  * - The function receives a `NonEmptyReadonlyArray` and returns
4076
4372
  * `[value, rest]`.
4077
4373
  * - Continues until the remaining array is empty.
@@ -4100,6 +4396,8 @@ export declare const chop: {
4100
4396
  * Repeatedly applies a function that consumes a prefix of the array and
4101
4397
  * produces a value plus the remaining elements, collecting the values.
4102
4398
  *
4399
+ * **Details**
4400
+ *
4103
4401
  * - The function receives a `NonEmptyReadonlyArray` and returns
4104
4402
  * `[value, rest]`.
4105
4403
  * - Continues until the remaining array is empty.
@@ -4128,6 +4426,8 @@ export declare const chop: {
4128
4426
  * Repeatedly applies a function that consumes a prefix of the array and
4129
4427
  * produces a value plus the remaining elements, collecting the values.
4130
4428
  *
4429
+ * **Details**
4430
+ *
4131
4431
  * - The function receives a `NonEmptyReadonlyArray` and returns
4132
4432
  * `[value, rest]`.
4133
4433
  * - Continues until the remaining array is empty.
@@ -4156,6 +4456,8 @@ export declare const chop: {
4156
4456
  /**
4157
4457
  * Splits an iterable into two arrays at the given index.
4158
4458
  *
4459
+ * **Details**
4460
+ *
4159
4461
  * - `n` can be `0` (all elements in the second array).
4160
4462
  * - `n` is floored to an integer.
4161
4463
  *
@@ -4177,6 +4479,8 @@ export declare const splitAt: {
4177
4479
  /**
4178
4480
  * Splits an iterable into two arrays at the given index.
4179
4481
  *
4482
+ * **Details**
4483
+ *
4180
4484
  * - `n` can be `0` (all elements in the second array).
4181
4485
  * - `n` is floored to an integer.
4182
4486
  *
@@ -4198,6 +4502,8 @@ export declare const splitAt: {
4198
4502
  /**
4199
4503
  * Splits an iterable into two arrays at the given index.
4200
4504
  *
4505
+ * **Details**
4506
+ *
4201
4507
  * - `n` can be `0` (all elements in the second array).
4202
4508
  * - `n` is floored to an integer.
4203
4509
  *
@@ -4278,6 +4584,8 @@ export declare const splitAtNonEmpty: {
4278
4584
  /**
4279
4585
  * Splits an iterable into `n` roughly equal-sized chunks.
4280
4586
  *
4587
+ * **Details**
4588
+ *
4281
4589
  * - Uses `chunksOf(ceil(length / n))` internally.
4282
4590
  * - The last chunk may be shorter.
4283
4591
  *
@@ -4298,6 +4606,8 @@ export declare const split: {
4298
4606
  /**
4299
4607
  * Splits an iterable into `n` roughly equal-sized chunks.
4300
4608
  *
4609
+ * **Details**
4610
+ *
4301
4611
  * - Uses `chunksOf(ceil(length / n))` internally.
4302
4612
  * - The last chunk may be shorter.
4303
4613
  *
@@ -4318,6 +4628,8 @@ export declare const split: {
4318
4628
  /**
4319
4629
  * Splits an iterable into `n` roughly equal-sized chunks.
4320
4630
  *
4631
+ * **Details**
4632
+ *
4321
4633
  * - Uses `chunksOf(ceil(length / n))` internally.
4322
4634
  * - The last chunk may be shorter.
4323
4635
  *
@@ -4397,6 +4709,8 @@ export declare const splitWhere: {
4397
4709
  /**
4398
4710
  * Creates a shallow copy of an array.
4399
4711
  *
4712
+ * **Details**
4713
+ *
4400
4714
  * - Preserves `NonEmptyArray` in the return type.
4401
4715
  * - Useful when you need a distinct reference (e.g. before mutating).
4402
4716
  *
@@ -4420,6 +4734,8 @@ export declare const copy: {
4420
4734
  /**
4421
4735
  * Creates a shallow copy of an array.
4422
4736
  *
4737
+ * **Details**
4738
+ *
4423
4739
  * - Preserves `NonEmptyArray` in the return type.
4424
4740
  * - Useful when you need a distinct reference (e.g. before mutating).
4425
4741
  *
@@ -4443,6 +4759,8 @@ export declare const copy: {
4443
4759
  /**
4444
4760
  * Creates a shallow copy of an array.
4445
4761
  *
4762
+ * **Details**
4763
+ *
4446
4764
  * - Preserves `NonEmptyArray` in the return type.
4447
4765
  * - Useful when you need a distinct reference (e.g. before mutating).
4448
4766
  *
@@ -4468,6 +4786,8 @@ export declare const copy: {
4468
4786
  * Pads or truncates an array to exactly `n` elements, filling with `fill`
4469
4787
  * if the array is shorter, or slicing if longer.
4470
4788
  *
4789
+ * **Details**
4790
+ *
4471
4791
  * - Returns an empty array when `n <= 0`.
4472
4792
  *
4473
4793
  * **Example** (Padding an array)
@@ -4489,6 +4809,8 @@ export declare const pad: {
4489
4809
  * Pads or truncates an array to exactly `n` elements, filling with `fill`
4490
4810
  * if the array is shorter, or slicing if longer.
4491
4811
  *
4812
+ * **Details**
4813
+ *
4492
4814
  * - Returns an empty array when `n <= 0`.
4493
4815
  *
4494
4816
  * **Example** (Padding an array)
@@ -4510,6 +4832,8 @@ export declare const pad: {
4510
4832
  * Pads or truncates an array to exactly `n` elements, filling with `fill`
4511
4833
  * if the array is shorter, or slicing if longer.
4512
4834
  *
4835
+ * **Details**
4836
+ *
4513
4837
  * - Returns an empty array when `n <= 0`.
4514
4838
  *
4515
4839
  * **Example** (Padding an array)
@@ -4532,6 +4856,8 @@ export declare const pad: {
4532
4856
  * Splits an iterable into chunks of length `n`. The last chunk may be shorter
4533
4857
  * if `n` does not evenly divide the length.
4534
4858
  *
4859
+ * **Details**
4860
+ *
4535
4861
  * - `chunksOf(n)([])` is `[]`, not `[[]]`.
4536
4862
  * - Each chunk is a `NonEmptyArray`.
4537
4863
  * - Preserves `NonEmptyArray` in the outer return type.
@@ -4555,6 +4881,8 @@ export declare const chunksOf: {
4555
4881
  * Splits an iterable into chunks of length `n`. The last chunk may be shorter
4556
4882
  * if `n` does not evenly divide the length.
4557
4883
  *
4884
+ * **Details**
4885
+ *
4558
4886
  * - `chunksOf(n)([])` is `[]`, not `[[]]`.
4559
4887
  * - Each chunk is a `NonEmptyArray`.
4560
4888
  * - Preserves `NonEmptyArray` in the outer return type.
@@ -4578,6 +4906,8 @@ export declare const chunksOf: {
4578
4906
  * Splits an iterable into chunks of length `n`. The last chunk may be shorter
4579
4907
  * if `n` does not evenly divide the length.
4580
4908
  *
4909
+ * **Details**
4910
+ *
4581
4911
  * - `chunksOf(n)([])` is `[]`, not `[[]]`.
4582
4912
  * - Each chunk is a `NonEmptyArray`.
4583
4913
  * - Preserves `NonEmptyArray` in the outer return type.
@@ -4601,6 +4931,8 @@ export declare const chunksOf: {
4601
4931
  * Splits an iterable into chunks of length `n`. The last chunk may be shorter
4602
4932
  * if `n` does not evenly divide the length.
4603
4933
  *
4934
+ * **Details**
4935
+ *
4604
4936
  * - `chunksOf(n)([])` is `[]`, not `[[]]`.
4605
4937
  * - Each chunk is a `NonEmptyArray`.
4606
4938
  * - Preserves `NonEmptyArray` in the outer return type.
@@ -4624,6 +4956,8 @@ export declare const chunksOf: {
4624
4956
  /**
4625
4957
  * Creates overlapping sliding windows of size `n`.
4626
4958
  *
4959
+ * **Details**
4960
+ *
4627
4961
  * - Returns an empty array if `n <= 0` or the array has fewer than `n` elements.
4628
4962
  * - Each window is a tuple of exactly `n` elements.
4629
4963
  *
@@ -4645,6 +4979,8 @@ export declare const window: {
4645
4979
  /**
4646
4980
  * Creates overlapping sliding windows of size `n`.
4647
4981
  *
4982
+ * **Details**
4983
+ *
4648
4984
  * - Returns an empty array if `n <= 0` or the array has fewer than `n` elements.
4649
4985
  * - Each window is a tuple of exactly `n` elements.
4650
4986
  *
@@ -4666,6 +5002,8 @@ export declare const window: {
4666
5002
  /**
4667
5003
  * Creates overlapping sliding windows of size `n`.
4668
5004
  *
5005
+ * **Details**
5006
+ *
4669
5007
  * - Returns an empty array if `n <= 0` or the array has fewer than `n` elements.
4670
5008
  * - Each window is a tuple of exactly `n` elements.
4671
5009
  *
@@ -4688,6 +5026,8 @@ export declare const window: {
4688
5026
  /**
4689
5027
  * Groups consecutive equal elements using a custom equivalence function.
4690
5028
  *
5029
+ * **Details**
5030
+ *
4691
5031
  * - Only groups **adjacent** elements — non-adjacent duplicates stay separate.
4692
5032
  * - Requires a `NonEmptyReadonlyArray`.
4693
5033
  *
@@ -4710,6 +5050,8 @@ export declare const groupWith: {
4710
5050
  /**
4711
5051
  * Groups consecutive equal elements using a custom equivalence function.
4712
5052
  *
5053
+ * **Details**
5054
+ *
4713
5055
  * - Only groups **adjacent** elements — non-adjacent duplicates stay separate.
4714
5056
  * - Requires a `NonEmptyReadonlyArray`.
4715
5057
  *
@@ -4732,6 +5074,8 @@ export declare const groupWith: {
4732
5074
  /**
4733
5075
  * Groups consecutive equal elements using a custom equivalence function.
4734
5076
  *
5077
+ * **Details**
5078
+ *
4735
5079
  * - Only groups **adjacent** elements — non-adjacent duplicates stay separate.
4736
5080
  * - Requires a `NonEmptyReadonlyArray`.
4737
5081
  *
@@ -4755,6 +5099,8 @@ export declare const groupWith: {
4755
5099
  /**
4756
5100
  * Groups consecutive equal elements using `Equal.equivalence()`.
4757
5101
  *
5102
+ * **Details**
5103
+ *
4758
5104
  * - Only groups **adjacent** elements.
4759
5105
  *
4760
5106
  * **Example** (Grouping adjacent equal elements)
@@ -4776,6 +5122,8 @@ export declare const group: <A>(self: NonEmptyReadonlyArray<A>) => NonEmptyArray
4776
5122
  * Groups elements into a record by a key-returning function. Each key maps
4777
5123
  * to a `NonEmptyArray` of elements that produced that key.
4778
5124
  *
5125
+ * **Details**
5126
+ *
4779
5127
  * - Unlike {@link group}/{@link groupWith}, elements do not need to be
4780
5128
  * adjacent to be grouped together.
4781
5129
  * - Key function must return a `string` or `symbol`.
@@ -4807,6 +5155,8 @@ export declare const groupBy: {
4807
5155
  * Groups elements into a record by a key-returning function. Each key maps
4808
5156
  * to a `NonEmptyArray` of elements that produced that key.
4809
5157
  *
5158
+ * **Details**
5159
+ *
4810
5160
  * - Unlike {@link group}/{@link groupWith}, elements do not need to be
4811
5161
  * adjacent to be grouped together.
4812
5162
  * - Key function must return a `string` or `symbol`.
@@ -4838,6 +5188,8 @@ export declare const groupBy: {
4838
5188
  * Groups elements into a record by a key-returning function. Each key maps
4839
5189
  * to a `NonEmptyArray` of elements that produced that key.
4840
5190
  *
5191
+ * **Details**
5192
+ *
4841
5193
  * - Unlike {@link group}/{@link groupWith}, elements do not need to be
4842
5194
  * adjacent to be grouped together.
4843
5195
  * - Key function must return a `string` or `symbol`.
@@ -5377,6 +5729,8 @@ export declare namespace ReadonlyArray {
5377
5729
  /**
5378
5730
  * Transforms each element using a function, returning a new array.
5379
5731
  *
5732
+ * **Details**
5733
+ *
5380
5734
  * - The function receives `(element, index)`.
5381
5735
  * - Preserves `NonEmptyArray` in the return type.
5382
5736
  *
@@ -5397,6 +5751,8 @@ export declare const map: {
5397
5751
  /**
5398
5752
  * Transforms each element using a function, returning a new array.
5399
5753
  *
5754
+ * **Details**
5755
+ *
5400
5756
  * - The function receives `(element, index)`.
5401
5757
  * - Preserves `NonEmptyArray` in the return type.
5402
5758
  *
@@ -5417,6 +5773,8 @@ export declare const map: {
5417
5773
  /**
5418
5774
  * Transforms each element using a function, returning a new array.
5419
5775
  *
5776
+ * **Details**
5777
+ *
5420
5778
  * - The function receives `(element, index)`.
5421
5779
  * - Preserves `NonEmptyArray` in the return type.
5422
5780
  *
@@ -5438,6 +5796,8 @@ export declare const map: {
5438
5796
  /**
5439
5797
  * Maps each element to an array and flattens the results into a single array.
5440
5798
  *
5799
+ * **Details**
5800
+ *
5441
5801
  * - The function receives `(element, index)`.
5442
5802
  * - Returns `NonEmptyArray` when both input and mapped arrays are non-empty.
5443
5803
  *
@@ -5459,6 +5819,8 @@ export declare const flatMap: {
5459
5819
  /**
5460
5820
  * Maps each element to an array and flattens the results into a single array.
5461
5821
  *
5822
+ * **Details**
5823
+ *
5462
5824
  * - The function receives `(element, index)`.
5463
5825
  * - Returns `NonEmptyArray` when both input and mapped arrays are non-empty.
5464
5826
  *
@@ -5480,6 +5842,8 @@ export declare const flatMap: {
5480
5842
  /**
5481
5843
  * Maps each element to an array and flattens the results into a single array.
5482
5844
  *
5845
+ * **Details**
5846
+ *
5483
5847
  * - The function receives `(element, index)`.
5484
5848
  * - Returns `NonEmptyArray` when both input and mapped arrays are non-empty.
5485
5849
  *
@@ -5501,6 +5865,8 @@ export declare const flatMap: {
5501
5865
  /**
5502
5866
  * Maps each element to an array and flattens the results into a single array.
5503
5867
  *
5868
+ * **Details**
5869
+ *
5504
5870
  * - The function receives `(element, index)`.
5505
5871
  * - Returns `NonEmptyArray` when both input and mapped arrays are non-empty.
5506
5872
  *
@@ -5598,6 +5964,8 @@ export declare const getSuccesses: <T extends Iterable<Result.Result<any, any>>>
5598
5964
  /**
5599
5965
  * Keeps transformed values for elements where a `Filter` succeeds.
5600
5966
  *
5967
+ * **Details**
5968
+ *
5601
5969
  * - The filter receives `(element, index)`.
5602
5970
  * - Failures are discarded.
5603
5971
  *
@@ -5619,6 +5987,8 @@ export declare const filterMap: {
5619
5987
  /**
5620
5988
  * Keeps transformed values for elements where a `Filter` succeeds.
5621
5989
  *
5990
+ * **Details**
5991
+ *
5622
5992
  * - The filter receives `(element, index)`.
5623
5993
  * - Failures are discarded.
5624
5994
  *
@@ -5640,6 +6010,8 @@ export declare const filterMap: {
5640
6010
  /**
5641
6011
  * Keeps transformed values for elements where a `Filter` succeeds.
5642
6012
  *
6013
+ * **Details**
6014
+ *
5643
6015
  * - The filter receives `(element, index)`.
5644
6016
  * - Failures are discarded.
5645
6017
  *
@@ -5662,6 +6034,8 @@ export declare const filterMap: {
5662
6034
  /**
5663
6035
  * Keeps only elements satisfying a predicate (or refinement).
5664
6036
  *
6037
+ * **Details**
6038
+ *
5665
6039
  * - The predicate receives `(element, index)`.
5666
6040
  * - Supports refinements for type narrowing.
5667
6041
  *
@@ -5682,6 +6056,8 @@ export declare const filter: {
5682
6056
  /**
5683
6057
  * Keeps only elements satisfying a predicate (or refinement).
5684
6058
  *
6059
+ * **Details**
6060
+ *
5685
6061
  * - The predicate receives `(element, index)`.
5686
6062
  * - Supports refinements for type narrowing.
5687
6063
  *
@@ -5702,6 +6078,8 @@ export declare const filter: {
5702
6078
  /**
5703
6079
  * Keeps only elements satisfying a predicate (or refinement).
5704
6080
  *
6081
+ * **Details**
6082
+ *
5705
6083
  * - The predicate receives `(element, index)`.
5706
6084
  * - Supports refinements for type narrowing.
5707
6085
  *
@@ -5722,6 +6100,8 @@ export declare const filter: {
5722
6100
  /**
5723
6101
  * Keeps only elements satisfying a predicate (or refinement).
5724
6102
  *
6103
+ * **Details**
6104
+ *
5725
6105
  * - The predicate receives `(element, index)`.
5726
6106
  * - Supports refinements for type narrowing.
5727
6107
  *
@@ -5742,6 +6122,8 @@ export declare const filter: {
5742
6122
  /**
5743
6123
  * Keeps only elements satisfying a predicate (or refinement).
5744
6124
  *
6125
+ * **Details**
6126
+ *
5745
6127
  * - The predicate receives `(element, index)`.
5746
6128
  * - Supports refinements for type narrowing.
5747
6129
  *
@@ -5763,6 +6145,8 @@ export declare const filter: {
5763
6145
  /**
5764
6146
  * Splits an iterable using a `Filter` into failures and successes.
5765
6147
  *
6148
+ * **Details**
6149
+ *
5766
6150
  * - Returns `[excluded, satisfying]`.
5767
6151
  * - The filter receives `(element, index)`.
5768
6152
  *
@@ -5787,6 +6171,8 @@ export declare const partition: {
5787
6171
  /**
5788
6172
  * Splits an iterable using a `Filter` into failures and successes.
5789
6173
  *
6174
+ * **Details**
6175
+ *
5790
6176
  * - Returns `[excluded, satisfying]`.
5791
6177
  * - The filter receives `(element, index)`.
5792
6178
  *
@@ -5811,6 +6197,8 @@ export declare const partition: {
5811
6197
  /**
5812
6198
  * Splits an iterable using a `Filter` into failures and successes.
5813
6199
  *
6200
+ * **Details**
6201
+ *
5814
6202
  * - Returns `[excluded, satisfying]`.
5815
6203
  * - The filter receives `(element, index)`.
5816
6204
  *
@@ -5836,6 +6224,8 @@ export declare const partition: {
5836
6224
  /**
5837
6225
  * Separates an iterable of `Result`s into failure values and success values.
5838
6226
  *
6227
+ * **Details**
6228
+ *
5839
6229
  * - Returns `[failures, successes]`.
5840
6230
  * - Equivalent to `partition(identity)`.
5841
6231
  *
@@ -5864,6 +6254,8 @@ export declare const separate: <T extends Iterable<Result.Result<any, any>>>(sel
5864
6254
  /**
5865
6255
  * Folds an iterable from left to right into a single value.
5866
6256
  *
6257
+ * **Details**
6258
+ *
5867
6259
  * - The function receives `(accumulator, element, index)`.
5868
6260
  *
5869
6261
  * **Example** (Summing an array)
@@ -5884,6 +6276,8 @@ export declare const reduce: {
5884
6276
  /**
5885
6277
  * Folds an iterable from left to right into a single value.
5886
6278
  *
6279
+ * **Details**
6280
+ *
5887
6281
  * - The function receives `(accumulator, element, index)`.
5888
6282
  *
5889
6283
  * **Example** (Summing an array)
@@ -5904,6 +6298,8 @@ export declare const reduce: {
5904
6298
  /**
5905
6299
  * Folds an iterable from left to right into a single value.
5906
6300
  *
6301
+ * **Details**
6302
+ *
5907
6303
  * - The function receives `(accumulator, element, index)`.
5908
6304
  *
5909
6305
  * **Example** (Summing an array)
@@ -5925,6 +6321,8 @@ export declare const reduce: {
5925
6321
  /**
5926
6322
  * Folds an iterable from right to left into a single value.
5927
6323
  *
6324
+ * **Details**
6325
+ *
5928
6326
  * - The function receives `(accumulator, element, index)`.
5929
6327
  *
5930
6328
  * **Example** (Right-to-left fold)
@@ -5945,6 +6343,8 @@ export declare const reduceRight: {
5945
6343
  /**
5946
6344
  * Folds an iterable from right to left into a single value.
5947
6345
  *
6346
+ * **Details**
6347
+ *
5948
6348
  * - The function receives `(accumulator, element, index)`.
5949
6349
  *
5950
6350
  * **Example** (Right-to-left fold)
@@ -5965,6 +6365,8 @@ export declare const reduceRight: {
5965
6365
  /**
5966
6366
  * Folds an iterable from right to left into a single value.
5967
6367
  *
6368
+ * **Details**
6369
+ *
5968
6370
  * - The function receives `(accumulator, element, index)`.
5969
6371
  *
5970
6372
  * **Example** (Right-to-left fold)
@@ -6335,6 +6737,8 @@ export declare const some: {
6335
6737
  * Applies a function to each suffix of the array (starting from each index),
6336
6738
  * collecting the results.
6337
6739
  *
6740
+ * **Details**
6741
+ *
6338
6742
  * - For index `i`, the function receives `self.slice(i)`.
6339
6743
  *
6340
6744
  * **Example** (Suffix lengths)
@@ -6353,6 +6757,8 @@ export declare const extend: {
6353
6757
  * Applies a function to each suffix of the array (starting from each index),
6354
6758
  * collecting the results.
6355
6759
  *
6760
+ * **Details**
6761
+ *
6356
6762
  * - For index `i`, the function receives `self.slice(i)`.
6357
6763
  *
6358
6764
  * **Example** (Suffix lengths)
@@ -6371,6 +6777,8 @@ export declare const extend: {
6371
6777
  * Applies a function to each suffix of the array (starting from each index),
6372
6778
  * collecting the results.
6373
6779
  *
6780
+ * **Details**
6781
+ *
6374
6782
  * - For index `i`, the function receives `self.slice(i)`.
6375
6783
  *
6376
6784
  * **Example** (Suffix lengths)
@@ -6708,6 +7116,8 @@ export declare const dedupe: <S extends Iterable<any>>(self: S) => S extends Non
6708
7116
  /**
6709
7117
  * Removes consecutive duplicate elements using a custom equivalence.
6710
7118
  *
7119
+ * **Details**
7120
+ *
6711
7121
  * - Non-adjacent duplicates are preserved.
6712
7122
  *
6713
7123
  * **Example** (Deduplicating adjacent elements)
@@ -6729,6 +7139,8 @@ export declare const dedupeAdjacentWith: {
6729
7139
  /**
6730
7140
  * Removes consecutive duplicate elements using a custom equivalence.
6731
7141
  *
7142
+ * **Details**
7143
+ *
6732
7144
  * - Non-adjacent duplicates are preserved.
6733
7145
  *
6734
7146
  * **Example** (Deduplicating adjacent elements)
@@ -6750,6 +7162,8 @@ export declare const dedupeAdjacentWith: {
6750
7162
  /**
6751
7163
  * Removes consecutive duplicate elements using a custom equivalence.
6752
7164
  *
7165
+ * **Details**
7166
+ *
6753
7167
  * - Non-adjacent duplicates are preserved.
6754
7168
  *
6755
7169
  * **Example** (Deduplicating adjacent elements)
@@ -6842,6 +7256,8 @@ export declare const join: {
6842
7256
  /**
6843
7257
  * Maps over an array while threading an accumulator through each step, returning both the final state and the mapped array.
6844
7258
  *
7259
+ * **Details**
7260
+ *
6845
7261
  * - Combines `map` and `reduce` in a single pass.
6846
7262
  * - The callback receives the current state, element, and index, and returns `[nextState, mappedValue]`.
6847
7263
  * - Returns `[finalState, mappedArray]`.
@@ -6866,6 +7282,8 @@ export declare const mapAccum: {
6866
7282
  /**
6867
7283
  * Maps over an array while threading an accumulator through each step, returning both the final state and the mapped array.
6868
7284
  *
7285
+ * **Details**
7286
+ *
6869
7287
  * - Combines `map` and `reduce` in a single pass.
6870
7288
  * - The callback receives the current state, element, and index, and returns `[nextState, mappedValue]`.
6871
7289
  * - Returns `[finalState, mappedArray]`.
@@ -6890,6 +7308,8 @@ export declare const mapAccum: {
6890
7308
  /**
6891
7309
  * Maps over an array while threading an accumulator through each step, returning both the final state and the mapped array.
6892
7310
  *
7311
+ * **Details**
7312
+ *
6893
7313
  * - Combines `map` and `reduce` in a single pass.
6894
7314
  * - The callback receives the current state, element, and index, and returns `[nextState, mappedValue]`.
6895
7315
  * - Returns `[finalState, mappedArray]`.
@@ -6915,6 +7335,8 @@ export declare const mapAccum: {
6915
7335
  /**
6916
7336
  * Computes the cartesian product of two arrays, applying a combiner to each pair.
6917
7337
  *
7338
+ * **Details**
7339
+ *
6918
7340
  * - Produces every combination of an element from `self` with an element from `that`.
6919
7341
  * - Result length is `self.length * that.length`.
6920
7342
  * - Order: iterates `that` for each element of `self`.
@@ -6937,6 +7359,8 @@ export declare const cartesianWith: {
6937
7359
  /**
6938
7360
  * Computes the cartesian product of two arrays, applying a combiner to each pair.
6939
7361
  *
7362
+ * **Details**
7363
+ *
6940
7364
  * - Produces every combination of an element from `self` with an element from `that`.
6941
7365
  * - Result length is `self.length * that.length`.
6942
7366
  * - Order: iterates `that` for each element of `self`.
@@ -6959,6 +7383,8 @@ export declare const cartesianWith: {
6959
7383
  /**
6960
7384
  * Computes the cartesian product of two arrays, applying a combiner to each pair.
6961
7385
  *
7386
+ * **Details**
7387
+ *
6962
7388
  * - Produces every combination of an element from `self` with an element from `that`.
6963
7389
  * - Result length is `self.length * that.length`.
6964
7390
  * - Order: iterates `that` for each element of `self`.
@@ -6982,6 +7408,8 @@ export declare const cartesianWith: {
6982
7408
  /**
6983
7409
  * Computes the cartesian product of two arrays, returning all pairs as tuples.
6984
7410
  *
7411
+ * **Details**
7412
+ *
6985
7413
  * - Produces every `[a, b]` combination of an element from `self` with an element from `that`.
6986
7414
  * - Result length is `self.length * that.length`.
6987
7415
  *
@@ -7003,6 +7431,8 @@ export declare const cartesian: {
7003
7431
  /**
7004
7432
  * Computes the cartesian product of two arrays, returning all pairs as tuples.
7005
7433
  *
7434
+ * **Details**
7435
+ *
7006
7436
  * - Produces every `[a, b]` combination of an element from `self` with an element from `that`.
7007
7437
  * - Result length is `self.length * that.length`.
7008
7438
  *
@@ -7024,6 +7454,8 @@ export declare const cartesian: {
7024
7454
  /**
7025
7455
  * Computes the cartesian product of two arrays, returning all pairs as tuples.
7026
7456
  *
7457
+ * **Details**
7458
+ *
7027
7459
  * - Produces every `[a, b]` combination of an element from `self` with an element from `that`.
7028
7460
  * - Result length is `self.length * that.length`.
7029
7461
  *
@@ -7046,6 +7478,8 @@ export declare const cartesian: {
7046
7478
  /**
7047
7479
  * Starting point for the "do simulation" — an array comprehension pattern.
7048
7480
  *
7481
+ * **When to use**
7482
+ *
7049
7483
  * - Begin a pipeline with `Do`, then use {@link bind} to introduce array variables and {@link let_ let} for plain values.
7050
7484
  * - Each `bind` produces the cartesian product of all bound variables (like nested loops).
7051
7485
  * - Use `filter` and `map` in the pipeline to add conditions and transformations.
@@ -7076,6 +7510,8 @@ export declare const Do: ReadonlyArray<{}>;
7076
7510
  /**
7077
7511
  * Introduces a new array variable into a do-notation scope, producing the cartesian product with all previous bindings.
7078
7512
  *
7513
+ * **Details**
7514
+ *
7079
7515
  * - Each `bind` call adds a named property to the accumulated object.
7080
7516
  * - The callback receives the current scope and must return an array.
7081
7517
  * - Equivalent to `flatMap` + merging the new value into the scope object.
@@ -7105,6 +7541,8 @@ export declare const bind: {
7105
7541
  /**
7106
7542
  * Introduces a new array variable into a do-notation scope, producing the cartesian product with all previous bindings.
7107
7543
  *
7544
+ * **Details**
7545
+ *
7108
7546
  * - Each `bind` call adds a named property to the accumulated object.
7109
7547
  * - The callback receives the current scope and must return an array.
7110
7548
  * - Equivalent to `flatMap` + merging the new value into the scope object.
@@ -7136,6 +7574,8 @@ export declare const bind: {
7136
7574
  /**
7137
7575
  * Introduces a new array variable into a do-notation scope, producing the cartesian product with all previous bindings.
7138
7576
  *
7577
+ * **Details**
7578
+ *
7139
7579
  * - Each `bind` call adds a named property to the accumulated object.
7140
7580
  * - The callback receives the current scope and must return an array.
7141
7581
  * - Equivalent to `flatMap` + merging the new value into the scope object.
@@ -7168,6 +7608,8 @@ export declare const bind: {
7168
7608
  /**
7169
7609
  * Names the elements of an array by wrapping each in an object with the given key, starting a do-notation scope.
7170
7610
  *
7611
+ * **Details**
7612
+ *
7171
7613
  * - Equivalent to `Array.map(self, (a) => ({ [tag]: a }))`.
7172
7614
  * - Alternative to starting with `Do` + `bind`; useful when you already have an array.
7173
7615
  *
@@ -7193,6 +7635,8 @@ export declare const bindTo: {
7193
7635
  /**
7194
7636
  * Names the elements of an array by wrapping each in an object with the given key, starting a do-notation scope.
7195
7637
  *
7638
+ * **Details**
7639
+ *
7196
7640
  * - Equivalent to `Array.map(self, (a) => ({ [tag]: a }))`.
7197
7641
  * - Alternative to starting with `Do` + `bind`; useful when you already have an array.
7198
7642
  *
@@ -7220,6 +7664,8 @@ export declare const bindTo: {
7220
7664
  /**
7221
7665
  * Names the elements of an array by wrapping each in an object with the given key, starting a do-notation scope.
7222
7666
  *
7667
+ * **Details**
7668
+ *
7223
7669
  * - Equivalent to `Array.map(self, (a) => ({ [tag]: a }))`.
7224
7670
  * - Alternative to starting with `Do` + `bind`; useful when you already have an array.
7225
7671
  *
@@ -7257,6 +7703,8 @@ export {
7257
7703
  /**
7258
7704
  * Adds a computed plain value to the do-notation scope without introducing a new array dimension.
7259
7705
  *
7706
+ * **Details**
7707
+ *
7260
7708
  * - Unlike {@link bind}, the callback returns a single value (not an array), so no cartesian product occurs.
7261
7709
  * - Useful for derived or intermediate values that depend on previously bound variables.
7262
7710
  *
@@ -7302,6 +7750,8 @@ export declare function makeReducerConcat<A>(): Reducer.Reducer<Array<A>>;
7302
7750
  /**
7303
7751
  * Counts the elements in an iterable that satisfy a predicate.
7304
7752
  *
7753
+ * **Details**
7754
+ *
7305
7755
  * - The predicate receives both the element and its index.
7306
7756
  * - Returns `0` for an empty iterable.
7307
7757
  *
@@ -7323,6 +7773,8 @@ export declare const countBy: {
7323
7773
  /**
7324
7774
  * Counts the elements in an iterable that satisfy a predicate.
7325
7775
  *
7776
+ * **Details**
7777
+ *
7326
7778
  * - The predicate receives both the element and its index.
7327
7779
  * - Returns `0` for an empty iterable.
7328
7780
  *
@@ -7344,6 +7796,8 @@ export declare const countBy: {
7344
7796
  /**
7345
7797
  * Counts the elements in an iterable that satisfy a predicate.
7346
7798
  *
7799
+ * **Details**
7800
+ *
7347
7801
  * - The predicate receives both the element and its index.
7348
7802
  * - Returns `0` for an empty iterable.
7349
7803
  *