@bleedingdev/modern-js-utils 3.9.0-ultramodern.9 → 3.9.3-ultramodern.10

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 (1396) hide show
  1. package/dist/cjs/cli/applyOptionsChain.js +1 -1
  2. package/dist/cjs/cli/get/config.js +1 -1
  3. package/dist/cjs/cli/is/config.js +1 -1
  4. package/dist/cjs/cli/require.js +3 -7
  5. package/dist/cjs/compiled.js +28 -34
  6. package/dist/cjs/fast-glob.js +50 -0
  7. package/dist/cjs/watch-options.js +18 -0
  8. package/dist/compiled/address/LICENSE.txt +22 -0
  9. package/dist/compiled/address/declaration-licenses/address/LICENSE.txt +22 -0
  10. package/dist/compiled/address/index.d.mts +50 -0
  11. package/dist/compiled/address/index.d.ts +50 -0
  12. package/dist/compiled/address/index.js +189 -136
  13. package/dist/compiled/address/index.mjs +187 -0
  14. package/dist/compiled/address/licenses-cjs.txt +24 -0
  15. package/dist/compiled/address/licenses-esm.txt +24 -0
  16. package/dist/compiled/address/package.json +1 -1
  17. package/dist/compiled/address/provenance.json +22 -0
  18. package/dist/compiled/browserslist/LICENSE +20 -0
  19. package/dist/compiled/browserslist/declaration-licenses/browserslist/LICENSE +20 -0
  20. package/dist/compiled/browserslist/index.d.ts +51 -5
  21. package/dist/compiled/browserslist/index.js +1763 -820
  22. package/dist/compiled/browserslist/licenses-cjs.txt +286 -0
  23. package/dist/compiled/browserslist/package.json +1 -1
  24. package/dist/compiled/browserslist/provenance.json +19 -0
  25. package/dist/compiled/chalk/declaration-licenses/chalk/license +9 -0
  26. package/dist/compiled/chalk/index.d.mts +677 -0
  27. package/dist/compiled/chalk/index.d.ts +619 -357
  28. package/dist/compiled/chalk/index.js +734 -2343
  29. package/dist/compiled/chalk/index.mjs +761 -0
  30. package/dist/compiled/chalk/license +1 -1
  31. package/dist/compiled/chalk/licenses-cjs.txt +11 -0
  32. package/dist/compiled/chalk/licenses-esm.txt +11 -0
  33. package/dist/compiled/chalk/package.json +1 -1
  34. package/dist/compiled/chalk/provenance.json +19 -0
  35. package/dist/compiled/chokidar/LICENSE +21 -0
  36. package/dist/compiled/chokidar/declaration-licenses/chokidar/LICENSE +21 -0
  37. package/dist/compiled/chokidar/declaration-licenses/readdirp/LICENSE +21 -0
  38. package/dist/compiled/chokidar/index.d.mts +394 -0
  39. package/dist/compiled/chokidar/index.d.ts +394 -0
  40. package/dist/compiled/chokidar/index.js +1463 -4102
  41. package/dist/compiled/chokidar/index.js.LICENSE.txt +1 -41
  42. package/dist/compiled/chokidar/index.mjs +1515 -0
  43. package/dist/compiled/chokidar/index.mjs.LICENSE.txt +1 -0
  44. package/dist/compiled/chokidar/licenses-cjs.txt +48 -0
  45. package/dist/compiled/chokidar/licenses-esm.txt +48 -0
  46. package/dist/compiled/chokidar/package.json +1 -1
  47. package/dist/compiled/chokidar/provenance.json +27 -0
  48. package/dist/compiled/commander/declaration-licenses/commander/LICENSE +22 -0
  49. package/dist/compiled/commander/index.d.mts +1116 -0
  50. package/dist/compiled/commander/index.d.ts +1116 -0
  51. package/dist/compiled/commander/index.js +1738 -1499
  52. package/dist/compiled/commander/index.mjs +1778 -2
  53. package/dist/compiled/commander/licenses-cjs.txt +24 -0
  54. package/dist/compiled/commander/licenses-esm.txt +24 -0
  55. package/dist/compiled/commander/package.json +1 -1
  56. package/dist/compiled/commander/provenance.json +22 -0
  57. package/dist/compiled/debug/declaration-licenses/@types_ms/LICENSE +21 -0
  58. package/dist/compiled/debug/index.d.ts +79 -16
  59. package/dist/compiled/debug/index.js +172 -106
  60. package/dist/compiled/debug/licenses-cjs.txt +60 -0
  61. package/dist/compiled/debug/package.json +1 -1
  62. package/dist/compiled/debug/provenance.json +27 -0
  63. package/dist/compiled/dotenv-expand/LICENSE +28 -0
  64. package/dist/compiled/dotenv-expand/declaration-licenses/dotenv-expand/LICENSE +28 -0
  65. package/dist/compiled/dotenv-expand/index.d.ts +48 -10
  66. package/dist/compiled/dotenv-expand/index.js +5548 -40
  67. package/dist/compiled/dotenv-expand/licenses-cjs.txt +30 -0
  68. package/dist/compiled/dotenv-expand/package.json +1 -1
  69. package/dist/compiled/dotenv-expand/provenance.json +22 -0
  70. package/dist/compiled/execa/declaration-licenses/execa/license +9 -0
  71. package/dist/compiled/execa/index.d.mts +2485 -0
  72. package/dist/compiled/execa/index.d.ts +2335 -414
  73. package/dist/compiled/execa/index.js +6965 -1682
  74. package/dist/compiled/execa/index.mjs +7020 -0
  75. package/dist/compiled/execa/licenses-cjs.txt +443 -0
  76. package/dist/compiled/execa/licenses-esm.txt +443 -0
  77. package/dist/compiled/execa/package.json +1 -1
  78. package/dist/compiled/execa/provenance.json +19 -0
  79. package/dist/compiled/filesize/LICENSE +28 -0
  80. package/dist/compiled/filesize/declaration-licenses/filesize/LICENSE +28 -0
  81. package/dist/compiled/filesize/index.d.mts +98 -0
  82. package/dist/compiled/filesize/index.d.ts +98 -0
  83. package/dist/compiled/filesize/index.js +426 -185
  84. package/dist/compiled/filesize/index.js.LICENSE.txt +2 -2
  85. package/dist/compiled/filesize/index.mjs +451 -0
  86. package/dist/compiled/filesize/index.mjs.LICENSE.txt +7 -0
  87. package/dist/compiled/filesize/licenses-cjs.txt +29 -0
  88. package/dist/compiled/filesize/licenses-esm.txt +29 -0
  89. package/dist/compiled/filesize/package.json +1 -1
  90. package/dist/compiled/filesize/provenance.json +22 -0
  91. package/dist/compiled/fs-extra/LICENSE +15 -0
  92. package/dist/compiled/fs-extra/declaration-licenses/@types_fs-extra/LICENSE +21 -0
  93. package/dist/compiled/fs-extra/declaration-licenses/@types_jsonfile/LICENSE +21 -0
  94. package/dist/compiled/fs-extra/index.d.ts +997 -496
  95. package/dist/compiled/fs-extra/index.js +1142 -1355
  96. package/dist/compiled/fs-extra/licenses-cjs.txt +79 -0
  97. package/dist/compiled/fs-extra/package.json +1 -1
  98. package/dist/compiled/fs-extra/provenance.json +27 -0
  99. package/dist/compiled/glob/LICENSE.md +63 -0
  100. package/dist/compiled/glob/declaration-licenses/glob/LICENSE.md +63 -0
  101. package/dist/compiled/glob/declaration-licenses/lru-cache/LICENSE.md +55 -0
  102. package/dist/compiled/glob/declaration-licenses/minimatch/LICENSE.md +55 -0
  103. package/dist/compiled/glob/declaration-licenses/minipass/LICENSE.md +55 -0
  104. package/dist/compiled/glob/declaration-licenses/path-scurry/LICENSE.md +55 -0
  105. package/dist/compiled/glob/index.d.mts +3823 -0
  106. package/dist/compiled/glob/index.d.ts +3823 -91
  107. package/dist/compiled/glob/index.js +3612 -1937
  108. package/dist/compiled/glob/index.mjs +3467 -0
  109. package/dist/compiled/glob/licenses-cjs.txt +65 -0
  110. package/dist/compiled/glob/licenses-esm.txt +65 -0
  111. package/dist/compiled/glob/package.json +1 -1
  112. package/dist/compiled/glob/provenance.json +42 -0
  113. package/dist/compiled/globby/declaration-licenses/globby/license +9 -0
  114. package/dist/compiled/globby/index.d.mts +422 -0
  115. package/dist/compiled/globby/index.d.ts +364 -128
  116. package/dist/compiled/globby/index.js +4712 -524
  117. package/dist/compiled/globby/index.js.LICENSE.txt +20 -0
  118. package/dist/compiled/globby/index.mjs +4864 -0
  119. package/dist/compiled/globby/index.mjs.LICENSE.txt +20 -0
  120. package/dist/compiled/globby/license +1 -1
  121. package/dist/compiled/globby/licenses-cjs.txt +237 -0
  122. package/dist/compiled/globby/licenses-esm.txt +237 -0
  123. package/dist/compiled/globby/package.json +1 -1
  124. package/dist/compiled/globby/provenance.json +19 -0
  125. package/dist/compiled/gzip-size/declaration-licenses/gzip-size/license +9 -0
  126. package/dist/compiled/gzip-size/index.d.mts +106 -0
  127. package/dist/compiled/gzip-size/index.d.ts +91 -81
  128. package/dist/compiled/gzip-size/index.js +117 -94
  129. package/dist/compiled/gzip-size/index.mjs +170 -0
  130. package/dist/compiled/gzip-size/licenses-cjs.txt +33 -0
  131. package/dist/compiled/gzip-size/licenses-esm.txt +33 -0
  132. package/dist/compiled/gzip-size/package.json +1 -1
  133. package/dist/compiled/gzip-size/provenance.json +19 -0
  134. package/dist/compiled/import-lazy/declaration-licenses/import-lazy/license +9 -0
  135. package/dist/compiled/import-lazy/index.d.ts +2 -2
  136. package/dist/compiled/import-lazy/index.js +18 -19
  137. package/dist/compiled/import-lazy/licenses-cjs.txt +11 -0
  138. package/dist/compiled/import-lazy/package.json +1 -1
  139. package/dist/compiled/import-lazy/provenance.json +19 -0
  140. package/dist/compiled/inquirer/LICENSE +22 -0
  141. package/dist/compiled/inquirer/declaration-licenses/@inquirer_checkbox/LICENSE +22 -0
  142. package/dist/compiled/inquirer/declaration-licenses/@inquirer_confirm/LICENSE +22 -0
  143. package/dist/compiled/inquirer/declaration-licenses/@inquirer_core/LICENSE +22 -0
  144. package/dist/compiled/inquirer/declaration-licenses/@inquirer_editor/LICENSE +22 -0
  145. package/dist/compiled/inquirer/declaration-licenses/@inquirer_expand/LICENSE +22 -0
  146. package/dist/compiled/inquirer/declaration-licenses/@inquirer_external-editor/LICENSE +22 -0
  147. package/dist/compiled/inquirer/declaration-licenses/@inquirer_input/LICENSE +22 -0
  148. package/dist/compiled/inquirer/declaration-licenses/@inquirer_number/LICENSE +22 -0
  149. package/dist/compiled/inquirer/declaration-licenses/@inquirer_password/LICENSE +22 -0
  150. package/dist/compiled/inquirer/declaration-licenses/@inquirer_prompts/LICENSE +22 -0
  151. package/dist/compiled/inquirer/declaration-licenses/@inquirer_rawlist/LICENSE +22 -0
  152. package/dist/compiled/inquirer/declaration-licenses/@inquirer_search/LICENSE +22 -0
  153. package/dist/compiled/inquirer/declaration-licenses/@inquirer_select/LICENSE +22 -0
  154. package/dist/compiled/inquirer/declaration-licenses/@inquirer_type/LICENSE +22 -0
  155. package/dist/compiled/inquirer/declaration-licenses/inquirer/LICENSE +22 -0
  156. package/dist/compiled/inquirer/index.d.mts +800 -0
  157. package/dist/compiled/inquirer/index.d.ts +737 -934
  158. package/dist/compiled/inquirer/index.js +5980 -14456
  159. package/dist/compiled/inquirer/index.mjs +11640 -0
  160. package/dist/compiled/inquirer/licenses-cjs.txt +645 -0
  161. package/dist/compiled/inquirer/licenses-esm.txt +645 -0
  162. package/dist/compiled/inquirer/package.json +1 -1
  163. package/dist/compiled/inquirer/provenance.json +92 -0
  164. package/dist/compiled/js-yaml/declaration-licenses/js-yaml/LICENSE +21 -0
  165. package/dist/compiled/js-yaml/index.d.mts +1126 -0
  166. package/dist/compiled/js-yaml/index.d.ts +1114 -142
  167. package/dist/compiled/js-yaml/index.js +252 -203
  168. package/dist/compiled/js-yaml/index.js.LICENSE.txt +1 -1
  169. package/dist/compiled/js-yaml/index.mjs +332 -281
  170. package/dist/compiled/js-yaml/index.mjs.LICENSE.txt +1 -1
  171. package/dist/compiled/js-yaml/licenses-cjs.txt +23 -0
  172. package/dist/compiled/js-yaml/licenses-esm.txt +23 -0
  173. package/dist/compiled/js-yaml/package.json +1 -1
  174. package/dist/compiled/js-yaml/provenance.json +19 -0
  175. package/dist/compiled/json5/LICENSE.md +23 -0
  176. package/dist/compiled/json5/declaration-licenses/json5/LICENSE.md +23 -0
  177. package/dist/compiled/json5/index.d.ts +103 -0
  178. package/dist/compiled/json5/index.js +11 -11
  179. package/dist/compiled/json5/licenses-cjs.txt +25 -0
  180. package/dist/compiled/json5/package.json +1 -1
  181. package/dist/compiled/json5/provenance.json +22 -0
  182. package/dist/compiled/lodash/add.d.ts +2 -0
  183. package/dist/compiled/lodash/after.d.ts +2 -0
  184. package/dist/compiled/lodash/ary.d.ts +2 -0
  185. package/dist/compiled/lodash/assign.d.ts +2 -0
  186. package/dist/compiled/lodash/assignIn.d.ts +2 -0
  187. package/dist/compiled/lodash/assignInWith.d.ts +2 -0
  188. package/dist/compiled/lodash/assignWith.d.ts +2 -0
  189. package/dist/compiled/lodash/at.d.ts +2 -0
  190. package/dist/compiled/lodash/attempt.d.ts +2 -0
  191. package/dist/compiled/lodash/before.d.ts +2 -0
  192. package/dist/compiled/lodash/bind.d.ts +2 -0
  193. package/dist/compiled/lodash/bindAll.d.ts +2 -0
  194. package/dist/compiled/lodash/bindKey.d.ts +2 -0
  195. package/dist/compiled/lodash/camelCase.d.ts +2 -0
  196. package/dist/compiled/lodash/capitalize.d.ts +2 -0
  197. package/dist/compiled/lodash/castArray.d.ts +2 -0
  198. package/dist/compiled/lodash/ceil.d.ts +2 -0
  199. package/dist/compiled/lodash/chain.d.ts +2 -0
  200. package/dist/compiled/lodash/chunk.d.ts +2 -0
  201. package/dist/compiled/lodash/clamp.d.ts +2 -0
  202. package/dist/compiled/lodash/clone.d.ts +2 -0
  203. package/dist/compiled/lodash/cloneDeep.d.ts +2 -0
  204. package/dist/compiled/lodash/cloneDeepWith.d.ts +2 -0
  205. package/dist/compiled/lodash/cloneWith.d.ts +2 -0
  206. package/dist/compiled/lodash/common/array.d.ts +56 -22
  207. package/dist/compiled/lodash/common/collection.d.ts +9 -1
  208. package/dist/compiled/lodash/common/common.d.ts +17 -10
  209. package/dist/compiled/lodash/common/function.d.ts +12 -3
  210. package/dist/compiled/lodash/common/lang.d.ts +8 -5
  211. package/dist/compiled/lodash/common/math.d.ts +3 -1
  212. package/dist/compiled/lodash/common/object.d.ts +141 -17
  213. package/dist/compiled/lodash/common/seq.d.ts +2 -2
  214. package/dist/compiled/lodash/common/string.d.ts +17 -17
  215. package/dist/compiled/lodash/compact.d.ts +2 -0
  216. package/dist/compiled/lodash/concat.d.ts +2 -0
  217. package/dist/compiled/lodash/cond.d.ts +2 -0
  218. package/dist/compiled/lodash/conforms.d.ts +2 -0
  219. package/dist/compiled/lodash/conformsTo.d.ts +2 -0
  220. package/dist/compiled/lodash/constant.d.ts +2 -0
  221. package/dist/compiled/lodash/countBy.d.ts +2 -0
  222. package/dist/compiled/lodash/create.d.ts +2 -0
  223. package/dist/compiled/lodash/curry.d.ts +2 -0
  224. package/dist/compiled/lodash/curryRight.d.ts +2 -0
  225. package/dist/compiled/lodash/debounce.d.ts +2 -0
  226. package/dist/compiled/lodash/deburr.d.ts +2 -0
  227. package/dist/compiled/lodash/declaration-licenses/@types_lodash/LICENSE +21 -0
  228. package/dist/compiled/lodash/defaultTo.d.ts +2 -0
  229. package/dist/compiled/lodash/defaults.d.ts +2 -0
  230. package/dist/compiled/lodash/defaultsDeep.d.ts +2 -0
  231. package/dist/compiled/lodash/defer.d.ts +2 -0
  232. package/dist/compiled/lodash/delay.d.ts +2 -0
  233. package/dist/compiled/lodash/difference.d.ts +2 -0
  234. package/dist/compiled/lodash/differenceBy.d.ts +2 -0
  235. package/dist/compiled/lodash/differenceWith.d.ts +2 -0
  236. package/dist/compiled/lodash/divide.d.ts +2 -0
  237. package/dist/compiled/lodash/drop.d.ts +2 -0
  238. package/dist/compiled/lodash/dropRight.d.ts +2 -0
  239. package/dist/compiled/lodash/dropRightWhile.d.ts +2 -0
  240. package/dist/compiled/lodash/dropWhile.d.ts +2 -0
  241. package/dist/compiled/lodash/each.d.ts +2 -0
  242. package/dist/compiled/lodash/eachRight.d.ts +2 -0
  243. package/dist/compiled/lodash/endsWith.d.ts +2 -0
  244. package/dist/compiled/lodash/entries.d.ts +2 -0
  245. package/dist/compiled/lodash/entriesIn.d.ts +2 -0
  246. package/dist/compiled/lodash/eq.d.ts +2 -0
  247. package/dist/compiled/lodash/escape.d.ts +2 -0
  248. package/dist/compiled/lodash/escapeRegExp.d.ts +2 -0
  249. package/dist/compiled/lodash/every.d.ts +2 -0
  250. package/dist/compiled/lodash/extend.d.ts +2 -0
  251. package/dist/compiled/lodash/extendWith.d.ts +2 -0
  252. package/dist/compiled/lodash/fill.d.ts +2 -0
  253. package/dist/compiled/lodash/filter.d.ts +2 -0
  254. package/dist/compiled/lodash/find.d.ts +2 -0
  255. package/dist/compiled/lodash/findIndex.d.ts +2 -0
  256. package/dist/compiled/lodash/findKey.d.ts +2 -0
  257. package/dist/compiled/lodash/findLast.d.ts +2 -0
  258. package/dist/compiled/lodash/findLastIndex.d.ts +2 -0
  259. package/dist/compiled/lodash/findLastKey.d.ts +2 -0
  260. package/dist/compiled/lodash/first.d.ts +2 -0
  261. package/dist/compiled/lodash/flatMap.d.ts +2 -0
  262. package/dist/compiled/lodash/flatMapDeep.d.ts +2 -0
  263. package/dist/compiled/lodash/flatMapDepth.d.ts +2 -0
  264. package/dist/compiled/lodash/flatten.d.ts +2 -0
  265. package/dist/compiled/lodash/flattenDeep.d.ts +2 -0
  266. package/dist/compiled/lodash/flattenDepth.d.ts +2 -0
  267. package/dist/compiled/lodash/flip.d.ts +2 -0
  268. package/dist/compiled/lodash/floor.d.ts +2 -0
  269. package/dist/compiled/lodash/flow.d.ts +2 -0
  270. package/dist/compiled/lodash/flowRight.d.ts +2 -0
  271. package/dist/compiled/lodash/forEach.d.ts +2 -0
  272. package/dist/compiled/lodash/forEachRight.d.ts +2 -0
  273. package/dist/compiled/lodash/forIn.d.ts +2 -0
  274. package/dist/compiled/lodash/forInRight.d.ts +2 -0
  275. package/dist/compiled/lodash/forOwn.d.ts +2 -0
  276. package/dist/compiled/lodash/forOwnRight.d.ts +2 -0
  277. package/dist/compiled/lodash/fp/F.d.ts +2 -0
  278. package/dist/compiled/lodash/fp/T.d.ts +2 -0
  279. package/dist/compiled/lodash/fp/__.d.ts +3 -0
  280. package/dist/compiled/lodash/fp/add.d.ts +2 -0
  281. package/dist/compiled/lodash/fp/after.d.ts +2 -0
  282. package/dist/compiled/lodash/fp/all.d.ts +2 -0
  283. package/dist/compiled/lodash/fp/allPass.d.ts +2 -0
  284. package/dist/compiled/lodash/fp/always.d.ts +2 -0
  285. package/dist/compiled/lodash/fp/any.d.ts +2 -0
  286. package/dist/compiled/lodash/fp/anyPass.d.ts +2 -0
  287. package/dist/compiled/lodash/fp/apply.d.ts +2 -0
  288. package/dist/compiled/lodash/fp/ary.d.ts +2 -0
  289. package/dist/compiled/lodash/fp/assign.d.ts +2 -0
  290. package/dist/compiled/lodash/fp/assignAll.d.ts +2 -0
  291. package/dist/compiled/lodash/fp/assignAllWith.d.ts +2 -0
  292. package/dist/compiled/lodash/fp/assignIn.d.ts +2 -0
  293. package/dist/compiled/lodash/fp/assignInAll.d.ts +2 -0
  294. package/dist/compiled/lodash/fp/assignInAllWith.d.ts +2 -0
  295. package/dist/compiled/lodash/fp/assignInWith.d.ts +2 -0
  296. package/dist/compiled/lodash/fp/assignWith.d.ts +2 -0
  297. package/dist/compiled/lodash/fp/assoc.d.ts +2 -0
  298. package/dist/compiled/lodash/fp/assocPath.d.ts +2 -0
  299. package/dist/compiled/lodash/fp/at.d.ts +2 -0
  300. package/dist/compiled/lodash/fp/attempt.d.ts +2 -0
  301. package/dist/compiled/lodash/fp/before.d.ts +2 -0
  302. package/dist/compiled/lodash/fp/bind.d.ts +2 -0
  303. package/dist/compiled/lodash/fp/bindAll.d.ts +2 -0
  304. package/dist/compiled/lodash/fp/bindKey.d.ts +2 -0
  305. package/dist/compiled/lodash/fp/camelCase.d.ts +2 -0
  306. package/dist/compiled/lodash/fp/capitalize.d.ts +2 -0
  307. package/dist/compiled/lodash/fp/castArray.d.ts +2 -0
  308. package/dist/compiled/lodash/fp/ceil.d.ts +2 -0
  309. package/dist/compiled/lodash/fp/chunk.d.ts +2 -0
  310. package/dist/compiled/lodash/fp/clamp.d.ts +2 -0
  311. package/dist/compiled/lodash/fp/clone.d.ts +2 -0
  312. package/dist/compiled/lodash/fp/cloneDeep.d.ts +2 -0
  313. package/dist/compiled/lodash/fp/cloneDeepWith.d.ts +2 -0
  314. package/dist/compiled/lodash/fp/cloneWith.d.ts +2 -0
  315. package/dist/compiled/lodash/fp/compact.d.ts +2 -0
  316. package/dist/compiled/lodash/fp/complement.d.ts +2 -0
  317. package/dist/compiled/lodash/fp/compose.d.ts +2 -0
  318. package/dist/compiled/lodash/fp/concat.d.ts +2 -0
  319. package/dist/compiled/lodash/fp/cond.d.ts +2 -0
  320. package/dist/compiled/lodash/fp/conforms.d.ts +2 -0
  321. package/dist/compiled/lodash/fp/conformsTo.d.ts +2 -0
  322. package/dist/compiled/lodash/fp/constant.d.ts +2 -0
  323. package/dist/compiled/lodash/fp/contains.d.ts +2 -0
  324. package/dist/compiled/lodash/fp/convert.d.ts +15 -0
  325. package/dist/compiled/lodash/fp/countBy.d.ts +2 -0
  326. package/dist/compiled/lodash/fp/create.d.ts +2 -0
  327. package/dist/compiled/lodash/fp/curry.d.ts +2 -0
  328. package/dist/compiled/lodash/fp/curryN.d.ts +2 -0
  329. package/dist/compiled/lodash/fp/curryRight.d.ts +2 -0
  330. package/dist/compiled/lodash/fp/curryRightN.d.ts +2 -0
  331. package/dist/compiled/lodash/fp/debounce.d.ts +2 -0
  332. package/dist/compiled/lodash/fp/deburr.d.ts +2 -0
  333. package/dist/compiled/lodash/fp/defaultTo.d.ts +2 -0
  334. package/dist/compiled/lodash/fp/defaults.d.ts +2 -0
  335. package/dist/compiled/lodash/fp/defaultsAll.d.ts +2 -0
  336. package/dist/compiled/lodash/fp/defaultsDeep.d.ts +2 -0
  337. package/dist/compiled/lodash/fp/defaultsDeepAll.d.ts +2 -0
  338. package/dist/compiled/lodash/fp/defer.d.ts +2 -0
  339. package/dist/compiled/lodash/fp/delay.d.ts +2 -0
  340. package/dist/compiled/lodash/fp/difference.d.ts +2 -0
  341. package/dist/compiled/lodash/fp/differenceBy.d.ts +2 -0
  342. package/dist/compiled/lodash/fp/differenceWith.d.ts +2 -0
  343. package/dist/compiled/lodash/fp/dissoc.d.ts +2 -0
  344. package/dist/compiled/lodash/fp/dissocPath.d.ts +2 -0
  345. package/dist/compiled/lodash/fp/divide.d.ts +2 -0
  346. package/dist/compiled/lodash/fp/drop.d.ts +2 -0
  347. package/dist/compiled/lodash/fp/dropLast.d.ts +2 -0
  348. package/dist/compiled/lodash/fp/dropLastWhile.d.ts +2 -0
  349. package/dist/compiled/lodash/fp/dropRight.d.ts +2 -0
  350. package/dist/compiled/lodash/fp/dropRightWhile.d.ts +2 -0
  351. package/dist/compiled/lodash/fp/dropWhile.d.ts +2 -0
  352. package/dist/compiled/lodash/fp/each.d.ts +2 -0
  353. package/dist/compiled/lodash/fp/eachRight.d.ts +2 -0
  354. package/dist/compiled/lodash/fp/endsWith.d.ts +2 -0
  355. package/dist/compiled/lodash/fp/entries.d.ts +2 -0
  356. package/dist/compiled/lodash/fp/entriesIn.d.ts +2 -0
  357. package/dist/compiled/lodash/fp/eq.d.ts +2 -0
  358. package/dist/compiled/lodash/fp/equals.d.ts +2 -0
  359. package/dist/compiled/lodash/fp/escape.d.ts +2 -0
  360. package/dist/compiled/lodash/fp/escapeRegExp.d.ts +2 -0
  361. package/dist/compiled/lodash/fp/every.d.ts +2 -0
  362. package/dist/compiled/lodash/fp/extend.d.ts +2 -0
  363. package/dist/compiled/lodash/fp/extendAll.d.ts +2 -0
  364. package/dist/compiled/lodash/fp/extendAllWith.d.ts +2 -0
  365. package/dist/compiled/lodash/fp/extendWith.d.ts +2 -0
  366. package/dist/compiled/lodash/fp/fill.d.ts +2 -0
  367. package/dist/compiled/lodash/fp/filter.d.ts +2 -0
  368. package/dist/compiled/lodash/fp/find.d.ts +2 -0
  369. package/dist/compiled/lodash/fp/findFrom.d.ts +2 -0
  370. package/dist/compiled/lodash/fp/findIndex.d.ts +2 -0
  371. package/dist/compiled/lodash/fp/findIndexFrom.d.ts +2 -0
  372. package/dist/compiled/lodash/fp/findKey.d.ts +2 -0
  373. package/dist/compiled/lodash/fp/findLast.d.ts +2 -0
  374. package/dist/compiled/lodash/fp/findLastFrom.d.ts +2 -0
  375. package/dist/compiled/lodash/fp/findLastIndex.d.ts +2 -0
  376. package/dist/compiled/lodash/fp/findLastIndexFrom.d.ts +2 -0
  377. package/dist/compiled/lodash/fp/findLastKey.d.ts +2 -0
  378. package/dist/compiled/lodash/fp/first.d.ts +2 -0
  379. package/dist/compiled/lodash/fp/flatMap.d.ts +2 -0
  380. package/dist/compiled/lodash/fp/flatMapDeep.d.ts +2 -0
  381. package/dist/compiled/lodash/fp/flatMapDepth.d.ts +2 -0
  382. package/dist/compiled/lodash/fp/flatten.d.ts +2 -0
  383. package/dist/compiled/lodash/fp/flattenDeep.d.ts +2 -0
  384. package/dist/compiled/lodash/fp/flattenDepth.d.ts +2 -0
  385. package/dist/compiled/lodash/fp/flip.d.ts +2 -0
  386. package/dist/compiled/lodash/fp/floor.d.ts +2 -0
  387. package/dist/compiled/lodash/fp/flow.d.ts +2 -0
  388. package/dist/compiled/lodash/fp/flowRight.d.ts +2 -0
  389. package/dist/compiled/lodash/fp/forEach.d.ts +2 -0
  390. package/dist/compiled/lodash/fp/forEachRight.d.ts +2 -0
  391. package/dist/compiled/lodash/fp/forIn.d.ts +2 -0
  392. package/dist/compiled/lodash/fp/forInRight.d.ts +2 -0
  393. package/dist/compiled/lodash/fp/forOwn.d.ts +2 -0
  394. package/dist/compiled/lodash/fp/forOwnRight.d.ts +2 -0
  395. package/dist/compiled/lodash/fp/fromPairs.d.ts +2 -0
  396. package/dist/compiled/lodash/fp/functions.d.ts +2 -0
  397. package/dist/compiled/lodash/fp/functionsIn.d.ts +2 -0
  398. package/dist/compiled/lodash/fp/get.d.ts +2 -0
  399. package/dist/compiled/lodash/fp/getOr.d.ts +2 -0
  400. package/dist/compiled/lodash/fp/groupBy.d.ts +2 -0
  401. package/dist/compiled/lodash/fp/gt.d.ts +2 -0
  402. package/dist/compiled/lodash/fp/gte.d.ts +2 -0
  403. package/dist/compiled/lodash/fp/has.d.ts +2 -0
  404. package/dist/compiled/lodash/fp/hasIn.d.ts +2 -0
  405. package/dist/compiled/lodash/fp/head.d.ts +2 -0
  406. package/dist/compiled/lodash/fp/identical.d.ts +2 -0
  407. package/dist/compiled/lodash/fp/identity.d.ts +2 -0
  408. package/dist/compiled/lodash/fp/inRange.d.ts +2 -0
  409. package/dist/compiled/lodash/fp/includes.d.ts +2 -0
  410. package/dist/compiled/lodash/fp/includesFrom.d.ts +2 -0
  411. package/dist/compiled/lodash/fp/indexBy.d.ts +2 -0
  412. package/dist/compiled/lodash/fp/indexOf.d.ts +2 -0
  413. package/dist/compiled/lodash/fp/indexOfFrom.d.ts +2 -0
  414. package/dist/compiled/lodash/fp/init.d.ts +2 -0
  415. package/dist/compiled/lodash/fp/initial.d.ts +2 -0
  416. package/dist/compiled/lodash/fp/intersection.d.ts +2 -0
  417. package/dist/compiled/lodash/fp/intersectionBy.d.ts +2 -0
  418. package/dist/compiled/lodash/fp/intersectionWith.d.ts +2 -0
  419. package/dist/compiled/lodash/fp/invert.d.ts +2 -0
  420. package/dist/compiled/lodash/fp/invertBy.d.ts +2 -0
  421. package/dist/compiled/lodash/fp/invertObj.d.ts +2 -0
  422. package/dist/compiled/lodash/fp/invoke.d.ts +2 -0
  423. package/dist/compiled/lodash/fp/invokeArgs.d.ts +2 -0
  424. package/dist/compiled/lodash/fp/invokeArgsMap.d.ts +2 -0
  425. package/dist/compiled/lodash/fp/invokeMap.d.ts +2 -0
  426. package/dist/compiled/lodash/fp/isArguments.d.ts +2 -0
  427. package/dist/compiled/lodash/fp/isArray.d.ts +2 -0
  428. package/dist/compiled/lodash/fp/isArrayBuffer.d.ts +2 -0
  429. package/dist/compiled/lodash/fp/isArrayLike.d.ts +2 -0
  430. package/dist/compiled/lodash/fp/isArrayLikeObject.d.ts +2 -0
  431. package/dist/compiled/lodash/fp/isBoolean.d.ts +2 -0
  432. package/dist/compiled/lodash/fp/isBuffer.d.ts +2 -0
  433. package/dist/compiled/lodash/fp/isDate.d.ts +2 -0
  434. package/dist/compiled/lodash/fp/isElement.d.ts +2 -0
  435. package/dist/compiled/lodash/fp/isEmpty.d.ts +2 -0
  436. package/dist/compiled/lodash/fp/isEqual.d.ts +2 -0
  437. package/dist/compiled/lodash/fp/isEqualWith.d.ts +2 -0
  438. package/dist/compiled/lodash/fp/isError.d.ts +2 -0
  439. package/dist/compiled/lodash/fp/isFinite.d.ts +2 -0
  440. package/dist/compiled/lodash/fp/isFunction.d.ts +2 -0
  441. package/dist/compiled/lodash/fp/isInteger.d.ts +2 -0
  442. package/dist/compiled/lodash/fp/isLength.d.ts +2 -0
  443. package/dist/compiled/lodash/fp/isMap.d.ts +2 -0
  444. package/dist/compiled/lodash/fp/isMatch.d.ts +2 -0
  445. package/dist/compiled/lodash/fp/isMatchWith.d.ts +2 -0
  446. package/dist/compiled/lodash/fp/isNaN.d.ts +2 -0
  447. package/dist/compiled/lodash/fp/isNative.d.ts +2 -0
  448. package/dist/compiled/lodash/fp/isNil.d.ts +2 -0
  449. package/dist/compiled/lodash/fp/isNull.d.ts +2 -0
  450. package/dist/compiled/lodash/fp/isNumber.d.ts +2 -0
  451. package/dist/compiled/lodash/fp/isObject.d.ts +2 -0
  452. package/dist/compiled/lodash/fp/isObjectLike.d.ts +2 -0
  453. package/dist/compiled/lodash/fp/isPlainObject.d.ts +2 -0
  454. package/dist/compiled/lodash/fp/isRegExp.d.ts +2 -0
  455. package/dist/compiled/lodash/fp/isSafeInteger.d.ts +2 -0
  456. package/dist/compiled/lodash/fp/isSet.d.ts +2 -0
  457. package/dist/compiled/lodash/fp/isString.d.ts +2 -0
  458. package/dist/compiled/lodash/fp/isSymbol.d.ts +2 -0
  459. package/dist/compiled/lodash/fp/isTypedArray.d.ts +2 -0
  460. package/dist/compiled/lodash/fp/isUndefined.d.ts +2 -0
  461. package/dist/compiled/lodash/fp/isWeakMap.d.ts +2 -0
  462. package/dist/compiled/lodash/fp/isWeakSet.d.ts +2 -0
  463. package/dist/compiled/lodash/fp/iteratee.d.ts +2 -0
  464. package/dist/compiled/lodash/fp/join.d.ts +2 -0
  465. package/dist/compiled/lodash/fp/juxt.d.ts +2 -0
  466. package/dist/compiled/lodash/fp/kebabCase.d.ts +2 -0
  467. package/dist/compiled/lodash/fp/keyBy.d.ts +2 -0
  468. package/dist/compiled/lodash/fp/keys.d.ts +2 -0
  469. package/dist/compiled/lodash/fp/keysIn.d.ts +2 -0
  470. package/dist/compiled/lodash/fp/last.d.ts +2 -0
  471. package/dist/compiled/lodash/fp/lastIndexOf.d.ts +2 -0
  472. package/dist/compiled/lodash/fp/lastIndexOfFrom.d.ts +2 -0
  473. package/dist/compiled/lodash/fp/lowerCase.d.ts +2 -0
  474. package/dist/compiled/lodash/fp/lowerFirst.d.ts +2 -0
  475. package/dist/compiled/lodash/fp/lt.d.ts +2 -0
  476. package/dist/compiled/lodash/fp/lte.d.ts +2 -0
  477. package/dist/compiled/lodash/fp/map.d.ts +2 -0
  478. package/dist/compiled/lodash/fp/mapKeys.d.ts +2 -0
  479. package/dist/compiled/lodash/fp/mapValues.d.ts +2 -0
  480. package/dist/compiled/lodash/fp/matches.d.ts +2 -0
  481. package/dist/compiled/lodash/fp/matchesProperty.d.ts +2 -0
  482. package/dist/compiled/lodash/fp/max.d.ts +2 -0
  483. package/dist/compiled/lodash/fp/maxBy.d.ts +2 -0
  484. package/dist/compiled/lodash/fp/mean.d.ts +2 -0
  485. package/dist/compiled/lodash/fp/meanBy.d.ts +2 -0
  486. package/dist/compiled/lodash/fp/memoize.d.ts +2 -0
  487. package/dist/compiled/lodash/fp/merge.d.ts +2 -0
  488. package/dist/compiled/lodash/fp/mergeAll.d.ts +2 -0
  489. package/dist/compiled/lodash/fp/mergeAllWith.d.ts +2 -0
  490. package/dist/compiled/lodash/fp/mergeWith.d.ts +2 -0
  491. package/dist/compiled/lodash/fp/method.d.ts +2 -0
  492. package/dist/compiled/lodash/fp/methodOf.d.ts +2 -0
  493. package/dist/compiled/lodash/fp/min.d.ts +2 -0
  494. package/dist/compiled/lodash/fp/minBy.d.ts +2 -0
  495. package/dist/compiled/lodash/fp/multiply.d.ts +2 -0
  496. package/dist/compiled/lodash/fp/nAry.d.ts +2 -0
  497. package/dist/compiled/lodash/fp/negate.d.ts +2 -0
  498. package/dist/compiled/lodash/fp/noConflict.d.ts +2 -0
  499. package/dist/compiled/lodash/fp/noop.d.ts +2 -0
  500. package/dist/compiled/lodash/fp/now.d.ts +2 -0
  501. package/dist/compiled/lodash/fp/nth.d.ts +2 -0
  502. package/dist/compiled/lodash/fp/nthArg.d.ts +2 -0
  503. package/dist/compiled/lodash/fp/omit.d.ts +2 -0
  504. package/dist/compiled/lodash/fp/omitAll.d.ts +2 -0
  505. package/dist/compiled/lodash/fp/omitBy.d.ts +2 -0
  506. package/dist/compiled/lodash/fp/once.d.ts +2 -0
  507. package/dist/compiled/lodash/fp/orderBy.d.ts +2 -0
  508. package/dist/compiled/lodash/fp/over.d.ts +2 -0
  509. package/dist/compiled/lodash/fp/overArgs.d.ts +2 -0
  510. package/dist/compiled/lodash/fp/overEvery.d.ts +2 -0
  511. package/dist/compiled/lodash/fp/overSome.d.ts +2 -0
  512. package/dist/compiled/lodash/fp/pad.d.ts +2 -0
  513. package/dist/compiled/lodash/fp/padChars.d.ts +2 -0
  514. package/dist/compiled/lodash/fp/padCharsEnd.d.ts +2 -0
  515. package/dist/compiled/lodash/fp/padCharsStart.d.ts +2 -0
  516. package/dist/compiled/lodash/fp/padEnd.d.ts +2 -0
  517. package/dist/compiled/lodash/fp/padStart.d.ts +2 -0
  518. package/dist/compiled/lodash/fp/parseInt.d.ts +2 -0
  519. package/dist/compiled/lodash/fp/partial.d.ts +2 -0
  520. package/dist/compiled/lodash/fp/partialRight.d.ts +2 -0
  521. package/dist/compiled/lodash/fp/partition.d.ts +2 -0
  522. package/dist/compiled/lodash/fp/path.d.ts +2 -0
  523. package/dist/compiled/lodash/fp/pathEq.d.ts +2 -0
  524. package/dist/compiled/lodash/fp/pathOr.d.ts +2 -0
  525. package/dist/compiled/lodash/fp/paths.d.ts +2 -0
  526. package/dist/compiled/lodash/fp/pick.d.ts +2 -0
  527. package/dist/compiled/lodash/fp/pickAll.d.ts +2 -0
  528. package/dist/compiled/lodash/fp/pickBy.d.ts +2 -0
  529. package/dist/compiled/lodash/fp/pipe.d.ts +2 -0
  530. package/dist/compiled/lodash/fp/placeholder.d.ts +3 -0
  531. package/dist/compiled/lodash/fp/pluck.d.ts +2 -0
  532. package/dist/compiled/lodash/fp/prop.d.ts +2 -0
  533. package/dist/compiled/lodash/fp/propEq.d.ts +2 -0
  534. package/dist/compiled/lodash/fp/propOr.d.ts +2 -0
  535. package/dist/compiled/lodash/fp/property.d.ts +2 -0
  536. package/dist/compiled/lodash/fp/propertyOf.d.ts +2 -0
  537. package/dist/compiled/lodash/fp/props.d.ts +2 -0
  538. package/dist/compiled/lodash/fp/pull.d.ts +2 -0
  539. package/dist/compiled/lodash/fp/pullAll.d.ts +2 -0
  540. package/dist/compiled/lodash/fp/pullAllBy.d.ts +2 -0
  541. package/dist/compiled/lodash/fp/pullAllWith.d.ts +2 -0
  542. package/dist/compiled/lodash/fp/pullAt.d.ts +2 -0
  543. package/dist/compiled/lodash/fp/random.d.ts +2 -0
  544. package/dist/compiled/lodash/fp/range.d.ts +2 -0
  545. package/dist/compiled/lodash/fp/rangeRight.d.ts +2 -0
  546. package/dist/compiled/lodash/fp/rangeStep.d.ts +2 -0
  547. package/dist/compiled/lodash/fp/rangeStepRight.d.ts +2 -0
  548. package/dist/compiled/lodash/fp/rearg.d.ts +2 -0
  549. package/dist/compiled/lodash/fp/reduce.d.ts +2 -0
  550. package/dist/compiled/lodash/fp/reduceRight.d.ts +2 -0
  551. package/dist/compiled/lodash/fp/reject.d.ts +2 -0
  552. package/dist/compiled/lodash/fp/remove.d.ts +2 -0
  553. package/dist/compiled/lodash/fp/repeat.d.ts +2 -0
  554. package/dist/compiled/lodash/fp/replace.d.ts +2 -0
  555. package/dist/compiled/lodash/fp/rest.d.ts +2 -0
  556. package/dist/compiled/lodash/fp/restFrom.d.ts +2 -0
  557. package/dist/compiled/lodash/fp/result.d.ts +2 -0
  558. package/dist/compiled/lodash/fp/reverse.d.ts +2 -0
  559. package/dist/compiled/lodash/fp/round.d.ts +2 -0
  560. package/dist/compiled/lodash/fp/runInContext.d.ts +2 -0
  561. package/dist/compiled/lodash/fp/sample.d.ts +2 -0
  562. package/dist/compiled/lodash/fp/sampleSize.d.ts +2 -0
  563. package/dist/compiled/lodash/fp/set.d.ts +2 -0
  564. package/dist/compiled/lodash/fp/setWith.d.ts +2 -0
  565. package/dist/compiled/lodash/fp/shuffle.d.ts +2 -0
  566. package/dist/compiled/lodash/fp/size.d.ts +2 -0
  567. package/dist/compiled/lodash/fp/slice.d.ts +2 -0
  568. package/dist/compiled/lodash/fp/snakeCase.d.ts +2 -0
  569. package/dist/compiled/lodash/fp/some.d.ts +2 -0
  570. package/dist/compiled/lodash/fp/sortBy.d.ts +2 -0
  571. package/dist/compiled/lodash/fp/sortedIndex.d.ts +2 -0
  572. package/dist/compiled/lodash/fp/sortedIndexBy.d.ts +2 -0
  573. package/dist/compiled/lodash/fp/sortedIndexOf.d.ts +2 -0
  574. package/dist/compiled/lodash/fp/sortedLastIndex.d.ts +2 -0
  575. package/dist/compiled/lodash/fp/sortedLastIndexBy.d.ts +2 -0
  576. package/dist/compiled/lodash/fp/sortedLastIndexOf.d.ts +2 -0
  577. package/dist/compiled/lodash/fp/sortedUniq.d.ts +2 -0
  578. package/dist/compiled/lodash/fp/sortedUniqBy.d.ts +2 -0
  579. package/dist/compiled/lodash/fp/split.d.ts +2 -0
  580. package/dist/compiled/lodash/fp/spread.d.ts +2 -0
  581. package/dist/compiled/lodash/fp/spreadFrom.d.ts +2 -0
  582. package/dist/compiled/lodash/fp/startCase.d.ts +2 -0
  583. package/dist/compiled/lodash/fp/startsWith.d.ts +2 -0
  584. package/dist/compiled/lodash/fp/stubArray.d.ts +2 -0
  585. package/dist/compiled/lodash/fp/stubFalse.d.ts +2 -0
  586. package/dist/compiled/lodash/fp/stubObject.d.ts +2 -0
  587. package/dist/compiled/lodash/fp/stubString.d.ts +2 -0
  588. package/dist/compiled/lodash/fp/stubTrue.d.ts +2 -0
  589. package/dist/compiled/lodash/fp/subtract.d.ts +2 -0
  590. package/dist/compiled/lodash/fp/sum.d.ts +2 -0
  591. package/dist/compiled/lodash/fp/sumBy.d.ts +2 -0
  592. package/dist/compiled/lodash/fp/symmetricDifference.d.ts +2 -0
  593. package/dist/compiled/lodash/fp/symmetricDifferenceBy.d.ts +2 -0
  594. package/dist/compiled/lodash/fp/symmetricDifferenceWith.d.ts +2 -0
  595. package/dist/compiled/lodash/fp/tail.d.ts +2 -0
  596. package/dist/compiled/lodash/fp/take.d.ts +2 -0
  597. package/dist/compiled/lodash/fp/takeLast.d.ts +2 -0
  598. package/dist/compiled/lodash/fp/takeLastWhile.d.ts +2 -0
  599. package/dist/compiled/lodash/fp/takeRight.d.ts +2 -0
  600. package/dist/compiled/lodash/fp/takeRightWhile.d.ts +2 -0
  601. package/dist/compiled/lodash/fp/takeWhile.d.ts +2 -0
  602. package/dist/compiled/lodash/fp/tap.d.ts +2 -0
  603. package/dist/compiled/lodash/fp/template.d.ts +2 -0
  604. package/dist/compiled/lodash/fp/throttle.d.ts +2 -0
  605. package/dist/compiled/lodash/fp/thru.d.ts +2 -0
  606. package/dist/compiled/lodash/fp/times.d.ts +2 -0
  607. package/dist/compiled/lodash/fp/toArray.d.ts +2 -0
  608. package/dist/compiled/lodash/fp/toFinite.d.ts +2 -0
  609. package/dist/compiled/lodash/fp/toInteger.d.ts +2 -0
  610. package/dist/compiled/lodash/fp/toLength.d.ts +2 -0
  611. package/dist/compiled/lodash/fp/toLower.d.ts +2 -0
  612. package/dist/compiled/lodash/fp/toNumber.d.ts +2 -0
  613. package/dist/compiled/lodash/fp/toPairs.d.ts +2 -0
  614. package/dist/compiled/lodash/fp/toPairsIn.d.ts +2 -0
  615. package/dist/compiled/lodash/fp/toPath.d.ts +2 -0
  616. package/dist/compiled/lodash/fp/toPlainObject.d.ts +2 -0
  617. package/dist/compiled/lodash/fp/toSafeInteger.d.ts +2 -0
  618. package/dist/compiled/lodash/fp/toString.d.ts +2 -0
  619. package/dist/compiled/lodash/fp/toUpper.d.ts +2 -0
  620. package/dist/compiled/lodash/fp/transform.d.ts +2 -0
  621. package/dist/compiled/lodash/fp/trim.d.ts +2 -0
  622. package/dist/compiled/lodash/fp/trimChars.d.ts +2 -0
  623. package/dist/compiled/lodash/fp/trimCharsEnd.d.ts +2 -0
  624. package/dist/compiled/lodash/fp/trimCharsStart.d.ts +2 -0
  625. package/dist/compiled/lodash/fp/trimEnd.d.ts +2 -0
  626. package/dist/compiled/lodash/fp/trimStart.d.ts +2 -0
  627. package/dist/compiled/lodash/fp/truncate.d.ts +2 -0
  628. package/dist/compiled/lodash/fp/unapply.d.ts +2 -0
  629. package/dist/compiled/lodash/fp/unary.d.ts +2 -0
  630. package/dist/compiled/lodash/fp/unescape.d.ts +2 -0
  631. package/dist/compiled/lodash/fp/union.d.ts +2 -0
  632. package/dist/compiled/lodash/fp/unionBy.d.ts +2 -0
  633. package/dist/compiled/lodash/fp/unionWith.d.ts +2 -0
  634. package/dist/compiled/lodash/fp/uniq.d.ts +2 -0
  635. package/dist/compiled/lodash/fp/uniqBy.d.ts +2 -0
  636. package/dist/compiled/lodash/fp/uniqWith.d.ts +2 -0
  637. package/dist/compiled/lodash/fp/uniqueId.d.ts +2 -0
  638. package/dist/compiled/lodash/fp/unnest.d.ts +2 -0
  639. package/dist/compiled/lodash/fp/unset.d.ts +2 -0
  640. package/dist/compiled/lodash/fp/unzip.d.ts +2 -0
  641. package/dist/compiled/lodash/fp/unzipWith.d.ts +2 -0
  642. package/dist/compiled/lodash/fp/update.d.ts +2 -0
  643. package/dist/compiled/lodash/fp/updateWith.d.ts +2 -0
  644. package/dist/compiled/lodash/fp/upperCase.d.ts +2 -0
  645. package/dist/compiled/lodash/fp/upperFirst.d.ts +2 -0
  646. package/dist/compiled/lodash/fp/useWith.d.ts +2 -0
  647. package/dist/compiled/lodash/fp/values.d.ts +2 -0
  648. package/dist/compiled/lodash/fp/valuesIn.d.ts +2 -0
  649. package/dist/compiled/lodash/fp/where.d.ts +2 -0
  650. package/dist/compiled/lodash/fp/whereEq.d.ts +2 -0
  651. package/dist/compiled/lodash/fp/without.d.ts +2 -0
  652. package/dist/compiled/lodash/fp/words.d.ts +2 -0
  653. package/dist/compiled/lodash/fp/wrap.d.ts +2 -0
  654. package/dist/compiled/lodash/fp/xor.d.ts +2 -0
  655. package/dist/compiled/lodash/fp/xorBy.d.ts +2 -0
  656. package/dist/compiled/lodash/fp/xorWith.d.ts +2 -0
  657. package/dist/compiled/lodash/fp/zip.d.ts +2 -0
  658. package/dist/compiled/lodash/fp/zipAll.d.ts +2 -0
  659. package/dist/compiled/lodash/fp/zipObj.d.ts +2 -0
  660. package/dist/compiled/lodash/fp/zipObject.d.ts +2 -0
  661. package/dist/compiled/lodash/fp/zipObjectDeep.d.ts +2 -0
  662. package/dist/compiled/lodash/fp/zipWith.d.ts +2 -0
  663. package/dist/compiled/lodash/fp.d.ts +4962 -0
  664. package/dist/compiled/lodash/fromPairs.d.ts +2 -0
  665. package/dist/compiled/lodash/functions.d.ts +2 -0
  666. package/dist/compiled/lodash/functionsIn.d.ts +2 -0
  667. package/dist/compiled/lodash/get.d.ts +2 -0
  668. package/dist/compiled/lodash/groupBy.d.ts +2 -0
  669. package/dist/compiled/lodash/gt.d.ts +2 -0
  670. package/dist/compiled/lodash/gte.d.ts +2 -0
  671. package/dist/compiled/lodash/has.d.ts +2 -0
  672. package/dist/compiled/lodash/hasIn.d.ts +2 -0
  673. package/dist/compiled/lodash/head.d.ts +2 -0
  674. package/dist/compiled/lodash/identity.d.ts +2 -0
  675. package/dist/compiled/lodash/inRange.d.ts +2 -0
  676. package/dist/compiled/lodash/includes.d.ts +2 -0
  677. package/dist/compiled/lodash/index.d.ts +1 -16
  678. package/dist/compiled/lodash/indexOf.d.ts +2 -0
  679. package/dist/compiled/lodash/initial.d.ts +2 -0
  680. package/dist/compiled/lodash/intersection.d.ts +2 -0
  681. package/dist/compiled/lodash/intersectionBy.d.ts +2 -0
  682. package/dist/compiled/lodash/intersectionWith.d.ts +2 -0
  683. package/dist/compiled/lodash/invert.d.ts +2 -0
  684. package/dist/compiled/lodash/invertBy.d.ts +2 -0
  685. package/dist/compiled/lodash/invoke.d.ts +2 -0
  686. package/dist/compiled/lodash/invokeMap.d.ts +2 -0
  687. package/dist/compiled/lodash/isArguments.d.ts +2 -0
  688. package/dist/compiled/lodash/isArray.d.ts +2 -0
  689. package/dist/compiled/lodash/isArrayBuffer.d.ts +2 -0
  690. package/dist/compiled/lodash/isArrayLike.d.ts +2 -0
  691. package/dist/compiled/lodash/isArrayLikeObject.d.ts +2 -0
  692. package/dist/compiled/lodash/isBoolean.d.ts +2 -0
  693. package/dist/compiled/lodash/isBuffer.d.ts +2 -0
  694. package/dist/compiled/lodash/isDate.d.ts +2 -0
  695. package/dist/compiled/lodash/isElement.d.ts +2 -0
  696. package/dist/compiled/lodash/isEmpty.d.ts +2 -0
  697. package/dist/compiled/lodash/isEqual.d.ts +2 -0
  698. package/dist/compiled/lodash/isEqualWith.d.ts +2 -0
  699. package/dist/compiled/lodash/isError.d.ts +2 -0
  700. package/dist/compiled/lodash/isFinite.d.ts +2 -0
  701. package/dist/compiled/lodash/isFunction.d.ts +2 -0
  702. package/dist/compiled/lodash/isInteger.d.ts +2 -0
  703. package/dist/compiled/lodash/isLength.d.ts +2 -0
  704. package/dist/compiled/lodash/isMap.d.ts +2 -0
  705. package/dist/compiled/lodash/isMatch.d.ts +2 -0
  706. package/dist/compiled/lodash/isMatchWith.d.ts +2 -0
  707. package/dist/compiled/lodash/isNaN.d.ts +2 -0
  708. package/dist/compiled/lodash/isNative.d.ts +2 -0
  709. package/dist/compiled/lodash/isNil.d.ts +2 -0
  710. package/dist/compiled/lodash/isNull.d.ts +2 -0
  711. package/dist/compiled/lodash/isNumber.d.ts +2 -0
  712. package/dist/compiled/lodash/isObject.d.ts +2 -0
  713. package/dist/compiled/lodash/isObjectLike.d.ts +2 -0
  714. package/dist/compiled/lodash/isPlainObject.d.ts +2 -0
  715. package/dist/compiled/lodash/isRegExp.d.ts +2 -0
  716. package/dist/compiled/lodash/isSafeInteger.d.ts +2 -0
  717. package/dist/compiled/lodash/isSet.d.ts +2 -0
  718. package/dist/compiled/lodash/isString.d.ts +2 -0
  719. package/dist/compiled/lodash/isSymbol.d.ts +2 -0
  720. package/dist/compiled/lodash/isTypedArray.d.ts +2 -0
  721. package/dist/compiled/lodash/isUndefined.d.ts +2 -0
  722. package/dist/compiled/lodash/isWeakMap.d.ts +2 -0
  723. package/dist/compiled/lodash/isWeakSet.d.ts +2 -0
  724. package/dist/compiled/lodash/iteratee.d.ts +2 -0
  725. package/dist/compiled/lodash/join.d.ts +2 -0
  726. package/dist/compiled/lodash/kebabCase.d.ts +2 -0
  727. package/dist/compiled/lodash/keyBy.d.ts +2 -0
  728. package/dist/compiled/lodash/keys.d.ts +2 -0
  729. package/dist/compiled/lodash/keysIn.d.ts +2 -0
  730. package/dist/compiled/lodash/last.d.ts +2 -0
  731. package/dist/compiled/lodash/lastIndexOf.d.ts +2 -0
  732. package/dist/compiled/lodash/licenses-cjs.txt +49 -0
  733. package/dist/compiled/lodash/lowerCase.d.ts +2 -0
  734. package/dist/compiled/lodash/lowerFirst.d.ts +2 -0
  735. package/dist/compiled/lodash/lt.d.ts +2 -0
  736. package/dist/compiled/lodash/lte.d.ts +2 -0
  737. package/dist/compiled/lodash/map.d.ts +2 -0
  738. package/dist/compiled/lodash/mapKeys.d.ts +2 -0
  739. package/dist/compiled/lodash/mapValues.d.ts +2 -0
  740. package/dist/compiled/lodash/matches.d.ts +2 -0
  741. package/dist/compiled/lodash/matchesProperty.d.ts +2 -0
  742. package/dist/compiled/lodash/max.d.ts +2 -0
  743. package/dist/compiled/lodash/maxBy.d.ts +2 -0
  744. package/dist/compiled/lodash/mean.d.ts +2 -0
  745. package/dist/compiled/lodash/meanBy.d.ts +2 -0
  746. package/dist/compiled/lodash/memoize.d.ts +2 -0
  747. package/dist/compiled/lodash/merge.d.ts +2 -0
  748. package/dist/compiled/lodash/mergeWith.d.ts +2 -0
  749. package/dist/compiled/lodash/method.d.ts +2 -0
  750. package/dist/compiled/lodash/methodOf.d.ts +2 -0
  751. package/dist/compiled/lodash/min.d.ts +2 -0
  752. package/dist/compiled/lodash/minBy.d.ts +2 -0
  753. package/dist/compiled/lodash/mixin.d.ts +2 -0
  754. package/dist/compiled/lodash/multiply.d.ts +2 -0
  755. package/dist/compiled/lodash/negate.d.ts +2 -0
  756. package/dist/compiled/lodash/noConflict.d.ts +2 -0
  757. package/dist/compiled/lodash/noop.d.ts +2 -0
  758. package/dist/compiled/lodash/now.d.ts +2 -0
  759. package/dist/compiled/lodash/nth.d.ts +2 -0
  760. package/dist/compiled/lodash/nthArg.d.ts +2 -0
  761. package/dist/compiled/lodash/omit.d.ts +2 -0
  762. package/dist/compiled/lodash/omitBy.d.ts +2 -0
  763. package/dist/compiled/lodash/once.d.ts +2 -0
  764. package/dist/compiled/lodash/orderBy.d.ts +2 -0
  765. package/dist/compiled/lodash/over.d.ts +2 -0
  766. package/dist/compiled/lodash/overArgs.d.ts +2 -0
  767. package/dist/compiled/lodash/overEvery.d.ts +2 -0
  768. package/dist/compiled/lodash/overSome.d.ts +2 -0
  769. package/dist/compiled/lodash/package.json +1 -1
  770. package/dist/compiled/lodash/pad.d.ts +2 -0
  771. package/dist/compiled/lodash/padEnd.d.ts +2 -0
  772. package/dist/compiled/lodash/padStart.d.ts +2 -0
  773. package/dist/compiled/lodash/parseInt.d.ts +2 -0
  774. package/dist/compiled/lodash/partial.d.ts +2 -0
  775. package/dist/compiled/lodash/partialRight.d.ts +2 -0
  776. package/dist/compiled/lodash/partition.d.ts +2 -0
  777. package/dist/compiled/lodash/pick.d.ts +2 -0
  778. package/dist/compiled/lodash/pickBy.d.ts +2 -0
  779. package/dist/compiled/lodash/property.d.ts +2 -0
  780. package/dist/compiled/lodash/propertyOf.d.ts +2 -0
  781. package/dist/compiled/lodash/provenance.json +19 -0
  782. package/dist/compiled/lodash/pull.d.ts +2 -0
  783. package/dist/compiled/lodash/pullAll.d.ts +2 -0
  784. package/dist/compiled/lodash/pullAllBy.d.ts +2 -0
  785. package/dist/compiled/lodash/pullAllWith.d.ts +2 -0
  786. package/dist/compiled/lodash/pullAt.d.ts +2 -0
  787. package/dist/compiled/lodash/random.d.ts +2 -0
  788. package/dist/compiled/lodash/range.d.ts +2 -0
  789. package/dist/compiled/lodash/rangeRight.d.ts +2 -0
  790. package/dist/compiled/lodash/rearg.d.ts +2 -0
  791. package/dist/compiled/lodash/reduce.d.ts +2 -0
  792. package/dist/compiled/lodash/reduceRight.d.ts +2 -0
  793. package/dist/compiled/lodash/reject.d.ts +2 -0
  794. package/dist/compiled/lodash/remove.d.ts +2 -0
  795. package/dist/compiled/lodash/repeat.d.ts +2 -0
  796. package/dist/compiled/lodash/replace.d.ts +2 -0
  797. package/dist/compiled/lodash/rest.d.ts +2 -0
  798. package/dist/compiled/lodash/result.d.ts +2 -0
  799. package/dist/compiled/lodash/reverse.d.ts +2 -0
  800. package/dist/compiled/lodash/round.d.ts +2 -0
  801. package/dist/compiled/lodash/runInContext.d.ts +2 -0
  802. package/dist/compiled/lodash/sample.d.ts +2 -0
  803. package/dist/compiled/lodash/sampleSize.d.ts +2 -0
  804. package/dist/compiled/lodash/set.d.ts +2 -0
  805. package/dist/compiled/lodash/setWith.d.ts +2 -0
  806. package/dist/compiled/lodash/shuffle.d.ts +2 -0
  807. package/dist/compiled/lodash/size.d.ts +2 -0
  808. package/dist/compiled/lodash/slice.d.ts +2 -0
  809. package/dist/compiled/lodash/snakeCase.d.ts +2 -0
  810. package/dist/compiled/lodash/some.d.ts +2 -0
  811. package/dist/compiled/lodash/sortBy.d.ts +2 -0
  812. package/dist/compiled/lodash/sortedIndex.d.ts +2 -0
  813. package/dist/compiled/lodash/sortedIndexBy.d.ts +2 -0
  814. package/dist/compiled/lodash/sortedIndexOf.d.ts +2 -0
  815. package/dist/compiled/lodash/sortedLastIndex.d.ts +2 -0
  816. package/dist/compiled/lodash/sortedLastIndexBy.d.ts +2 -0
  817. package/dist/compiled/lodash/sortedLastIndexOf.d.ts +2 -0
  818. package/dist/compiled/lodash/sortedUniq.d.ts +2 -0
  819. package/dist/compiled/lodash/sortedUniqBy.d.ts +2 -0
  820. package/dist/compiled/lodash/split.d.ts +2 -0
  821. package/dist/compiled/lodash/spread.d.ts +2 -0
  822. package/dist/compiled/lodash/startCase.d.ts +2 -0
  823. package/dist/compiled/lodash/startsWith.d.ts +2 -0
  824. package/dist/compiled/lodash/stubArray.d.ts +2 -0
  825. package/dist/compiled/lodash/stubFalse.d.ts +2 -0
  826. package/dist/compiled/lodash/stubObject.d.ts +2 -0
  827. package/dist/compiled/lodash/stubString.d.ts +2 -0
  828. package/dist/compiled/lodash/stubTrue.d.ts +2 -0
  829. package/dist/compiled/lodash/subtract.d.ts +2 -0
  830. package/dist/compiled/lodash/sum.d.ts +2 -0
  831. package/dist/compiled/lodash/sumBy.d.ts +2 -0
  832. package/dist/compiled/lodash/tail.d.ts +2 -0
  833. package/dist/compiled/lodash/take.d.ts +2 -0
  834. package/dist/compiled/lodash/takeRight.d.ts +2 -0
  835. package/dist/compiled/lodash/takeRightWhile.d.ts +2 -0
  836. package/dist/compiled/lodash/takeWhile.d.ts +2 -0
  837. package/dist/compiled/lodash/tap.d.ts +2 -0
  838. package/dist/compiled/lodash/template.d.ts +2 -0
  839. package/dist/compiled/lodash/throttle.d.ts +2 -0
  840. package/dist/compiled/lodash/thru.d.ts +2 -0
  841. package/dist/compiled/lodash/times.d.ts +2 -0
  842. package/dist/compiled/lodash/toArray.d.ts +2 -0
  843. package/dist/compiled/lodash/toFinite.d.ts +2 -0
  844. package/dist/compiled/lodash/toInteger.d.ts +2 -0
  845. package/dist/compiled/lodash/toLength.d.ts +2 -0
  846. package/dist/compiled/lodash/toLower.d.ts +2 -0
  847. package/dist/compiled/lodash/toNumber.d.ts +2 -0
  848. package/dist/compiled/lodash/toPairs.d.ts +2 -0
  849. package/dist/compiled/lodash/toPairsIn.d.ts +2 -0
  850. package/dist/compiled/lodash/toPath.d.ts +2 -0
  851. package/dist/compiled/lodash/toPlainObject.d.ts +2 -0
  852. package/dist/compiled/lodash/toSafeInteger.d.ts +2 -0
  853. package/dist/compiled/lodash/toString.d.ts +2 -0
  854. package/dist/compiled/lodash/toUpper.d.ts +2 -0
  855. package/dist/compiled/lodash/transform.d.ts +2 -0
  856. package/dist/compiled/lodash/trim.d.ts +2 -0
  857. package/dist/compiled/lodash/trimEnd.d.ts +2 -0
  858. package/dist/compiled/lodash/trimStart.d.ts +2 -0
  859. package/dist/compiled/lodash/truncate.d.ts +2 -0
  860. package/dist/compiled/lodash/unary.d.ts +2 -0
  861. package/dist/compiled/lodash/unescape.d.ts +2 -0
  862. package/dist/compiled/lodash/union.d.ts +2 -0
  863. package/dist/compiled/lodash/unionBy.d.ts +2 -0
  864. package/dist/compiled/lodash/unionWith.d.ts +2 -0
  865. package/dist/compiled/lodash/uniq.d.ts +2 -0
  866. package/dist/compiled/lodash/uniqBy.d.ts +2 -0
  867. package/dist/compiled/lodash/uniqWith.d.ts +2 -0
  868. package/dist/compiled/lodash/uniqueId.d.ts +2 -0
  869. package/dist/compiled/lodash/unset.d.ts +2 -0
  870. package/dist/compiled/lodash/unzip.d.ts +2 -0
  871. package/dist/compiled/lodash/unzipWith.d.ts +2 -0
  872. package/dist/compiled/lodash/update.d.ts +2 -0
  873. package/dist/compiled/lodash/updateWith.d.ts +2 -0
  874. package/dist/compiled/lodash/upperCase.d.ts +2 -0
  875. package/dist/compiled/lodash/upperFirst.d.ts +2 -0
  876. package/dist/compiled/lodash/values.d.ts +2 -0
  877. package/dist/compiled/lodash/valuesIn.d.ts +2 -0
  878. package/dist/compiled/lodash/without.d.ts +2 -0
  879. package/dist/compiled/lodash/words.d.ts +2 -0
  880. package/dist/compiled/lodash/wrap.d.ts +2 -0
  881. package/dist/compiled/lodash/xor.d.ts +2 -0
  882. package/dist/compiled/lodash/xorBy.d.ts +2 -0
  883. package/dist/compiled/lodash/xorWith.d.ts +2 -0
  884. package/dist/compiled/lodash/zip.d.ts +2 -0
  885. package/dist/compiled/lodash/zipObject.d.ts +2 -0
  886. package/dist/compiled/lodash/zipObjectDeep.d.ts +2 -0
  887. package/dist/compiled/lodash/zipWith.d.ts +2 -0
  888. package/dist/compiled/mime-types/declaration-licenses/@types_mime-types/LICENSE +21 -0
  889. package/dist/compiled/mime-types/index.d.ts +15 -12
  890. package/dist/compiled/mime-types/index.js +74 -28
  891. package/dist/compiled/mime-types/licenses-cjs.txt +52 -0
  892. package/dist/compiled/mime-types/package.json +1 -1
  893. package/dist/compiled/mime-types/provenance.json +19 -0
  894. package/dist/compiled/minimist/declaration-licenses/@types_minimist/LICENSE +21 -0
  895. package/dist/compiled/minimist/index.d.ts +3 -11
  896. package/dist/compiled/minimist/index.js +103 -104
  897. package/dist/compiled/minimist/licenses-cjs.txt +20 -0
  898. package/dist/compiled/minimist/package.json +1 -1
  899. package/dist/compiled/minimist/provenance.json +22 -0
  900. package/dist/compiled/nanoid/LICENSE +20 -0
  901. package/dist/compiled/nanoid/declaration-licenses/nanoid/LICENSE +20 -0
  902. package/dist/compiled/nanoid/index.d.mts +108 -0
  903. package/dist/compiled/nanoid/index.d.ts +33 -16
  904. package/dist/compiled/nanoid/index.js +117 -74
  905. package/dist/compiled/nanoid/index.mjs +99 -49
  906. package/dist/compiled/nanoid/licenses-cjs.txt +22 -0
  907. package/dist/compiled/nanoid/licenses-esm.txt +22 -0
  908. package/dist/compiled/nanoid/package.json +1 -1
  909. package/dist/compiled/nanoid/provenance.json +19 -0
  910. package/dist/compiled/ora/declaration-licenses/cli-spinners/license +9 -0
  911. package/dist/compiled/ora/declaration-licenses/ora/license +9 -0
  912. package/dist/compiled/ora/index.d.mts +501 -0
  913. package/dist/compiled/ora/index.d.ts +428 -204
  914. package/dist/compiled/ora/index.js +2145 -3893
  915. package/dist/compiled/ora/index.mjs +2179 -0
  916. package/dist/compiled/ora/licenses-cjs.txt +226 -0
  917. package/dist/compiled/ora/licenses-esm.txt +226 -0
  918. package/dist/compiled/ora/package.json +1 -1
  919. package/dist/compiled/ora/provenance.json +24 -0
  920. package/dist/compiled/pkg-up/declaration-licenses/@modern-js_compiled-pkg-up/license +9 -0
  921. package/dist/compiled/pkg-up/index.d.ts +9 -9
  922. package/dist/compiled/pkg-up/index.js +47 -14
  923. package/dist/compiled/pkg-up/licenses-cjs.txt +11 -0
  924. package/dist/compiled/pkg-up/package.json +1 -1
  925. package/dist/compiled/pkg-up/provenance.json +18 -0
  926. package/dist/compiled/semver/classes/comparator.d.ts +3 -3
  927. package/dist/compiled/semver/classes/range.d.ts +6 -6
  928. package/dist/compiled/semver/classes/semver.d.ts +11 -4
  929. package/dist/compiled/semver/declaration-licenses/@types_semver/LICENSE +21 -0
  930. package/dist/compiled/semver/functions/clean.d.ts +1 -1
  931. package/dist/compiled/semver/functions/cmp.d.ts +2 -2
  932. package/dist/compiled/semver/functions/coerce.d.ts +2 -2
  933. package/dist/compiled/semver/functions/compare-build.d.ts +7 -2
  934. package/dist/compiled/semver/functions/compare-loose.d.ts +4 -1
  935. package/dist/compiled/semver/functions/compare.d.ts +2 -2
  936. package/dist/compiled/semver/functions/diff.d.ts +3 -7
  937. package/dist/compiled/semver/functions/eq.d.ts +2 -2
  938. package/dist/compiled/semver/functions/gt.d.ts +2 -2
  939. package/dist/compiled/semver/functions/gte.d.ts +2 -2
  940. package/dist/compiled/semver/functions/inc.d.ts +15 -4
  941. package/dist/compiled/semver/functions/lt.d.ts +2 -2
  942. package/dist/compiled/semver/functions/lte.d.ts +2 -2
  943. package/dist/compiled/semver/functions/major.d.ts +2 -2
  944. package/dist/compiled/semver/functions/minor.d.ts +2 -2
  945. package/dist/compiled/semver/functions/neq.d.ts +2 -2
  946. package/dist/compiled/semver/functions/parse.d.ts +15 -4
  947. package/dist/compiled/semver/functions/patch.d.ts +2 -2
  948. package/dist/compiled/semver/functions/prerelease.d.ts +2 -2
  949. package/dist/compiled/semver/functions/rcompare.d.ts +2 -2
  950. package/dist/compiled/semver/functions/rsort.d.ts +2 -2
  951. package/dist/compiled/semver/functions/satisfies.d.ts +4 -4
  952. package/dist/compiled/semver/functions/sort.d.ts +2 -2
  953. package/dist/compiled/semver/functions/truncate.d.ts +10 -0
  954. package/dist/compiled/semver/functions/valid.d.ts +2 -2
  955. package/dist/compiled/semver/index.d.ts +82 -77
  956. package/dist/compiled/semver/index.js +639 -1026
  957. package/dist/compiled/semver/licenses-cjs.txt +17 -0
  958. package/dist/compiled/semver/package.json +1 -1
  959. package/dist/compiled/semver/preload.d.ts +2 -0
  960. package/dist/compiled/semver/provenance.json +22 -0
  961. package/dist/compiled/semver/ranges/gtr.d.ts +4 -4
  962. package/dist/compiled/semver/ranges/intersects.d.ts +3 -3
  963. package/dist/compiled/semver/ranges/ltr.d.ts +4 -4
  964. package/dist/compiled/semver/ranges/max-satisfying.d.ts +5 -5
  965. package/dist/compiled/semver/ranges/min-satisfying.d.ts +5 -5
  966. package/dist/compiled/semver/ranges/min-version.d.ts +3 -3
  967. package/dist/compiled/semver/ranges/outside.d.ts +5 -5
  968. package/dist/compiled/semver/ranges/simplify.d.ts +2 -2
  969. package/dist/compiled/semver/ranges/subset.d.ts +3 -7
  970. package/dist/compiled/semver/ranges/to-comparators.d.ts +2 -2
  971. package/dist/compiled/semver/ranges/valid.d.ts +3 -3
  972. package/dist/compiled/signale/declaration-licenses/@types_signale/LICENSE +21 -0
  973. package/dist/compiled/signale/index.d.ts +22 -29
  974. package/dist/compiled/signale/index.js +2934 -613
  975. package/dist/compiled/signale/license.md +21 -0
  976. package/dist/compiled/signale/licenses-cjs.txt +468 -0
  977. package/dist/compiled/signale/package.json +1 -1
  978. package/dist/compiled/signale/provenance.json +19 -0
  979. package/dist/compiled/slash/declaration-licenses/slash/license +9 -0
  980. package/dist/compiled/slash/index.d.mts +25 -0
  981. package/dist/compiled/slash/index.d.ts +4 -4
  982. package/dist/compiled/slash/index.js +31 -27
  983. package/dist/compiled/slash/index.mjs +25 -0
  984. package/dist/compiled/slash/license +1 -1
  985. package/dist/compiled/slash/licenses-cjs.txt +11 -0
  986. package/dist/compiled/slash/licenses-esm.txt +11 -0
  987. package/dist/compiled/slash/package.json +1 -1
  988. package/dist/compiled/slash/provenance.json +19 -0
  989. package/dist/compiled/strip-ansi/declaration-licenses/strip-ansi/license +9 -0
  990. package/dist/compiled/strip-ansi/index.d.mts +17 -0
  991. package/dist/compiled/strip-ansi/index.d.ts +2 -2
  992. package/dist/compiled/strip-ansi/index.js +39 -29
  993. package/dist/compiled/strip-ansi/index.mjs +33 -0
  994. package/dist/compiled/strip-ansi/license +1 -1
  995. package/dist/compiled/strip-ansi/licenses-cjs.txt +24 -0
  996. package/dist/compiled/strip-ansi/licenses-esm.txt +24 -0
  997. package/dist/compiled/strip-ansi/package.json +1 -1
  998. package/dist/compiled/strip-ansi/provenance.json +19 -0
  999. package/dist/compiled/tsconfig-paths/declaration-licenses/tsconfig-paths/LICENSE +21 -0
  1000. package/dist/compiled/tsconfig-paths/index.d.mts +115 -0
  1001. package/dist/compiled/tsconfig-paths/index.d.ts +115 -0
  1002. package/dist/compiled/tsconfig-paths/index.js +256 -243
  1003. package/dist/compiled/tsconfig-paths/index.mjs +2 -2
  1004. package/dist/compiled/tsconfig-paths/licenses-cjs.txt +48 -0
  1005. package/dist/compiled/tsconfig-paths/package.json +1 -1
  1006. package/dist/compiled/tsconfig-paths/provenance.json +19 -0
  1007. package/dist/compiled/upath/LICENSE +22 -0
  1008. package/dist/compiled/upath/declaration-licenses/upath/LICENSE +22 -0
  1009. package/dist/compiled/upath/index.d.mts +84 -0
  1010. package/dist/compiled/upath/index.d.ts +84 -0
  1011. package/dist/compiled/upath/index.js +173 -110
  1012. package/dist/compiled/upath/index.mjs +236 -0
  1013. package/dist/compiled/upath/licenses-cjs.txt +24 -0
  1014. package/dist/compiled/upath/licenses-esm.txt +24 -0
  1015. package/dist/compiled/upath/package.json +1 -1
  1016. package/dist/compiled/upath/provenance.json +22 -0
  1017. package/dist/compiled/url-join/declaration-licenses/url-join/LICENSE +21 -0
  1018. package/dist/compiled/url-join/index.d.mts +9 -0
  1019. package/dist/compiled/url-join/index.d.ts +3 -11
  1020. package/dist/compiled/url-join/index.js +82 -55
  1021. package/dist/compiled/url-join/index.mjs +77 -0
  1022. package/dist/compiled/url-join/licenses-cjs.txt +23 -0
  1023. package/dist/compiled/url-join/licenses-esm.txt +23 -0
  1024. package/dist/compiled/url-join/package.json +1 -1
  1025. package/dist/compiled/url-join/provenance.json +22 -0
  1026. package/dist/esm/cli/applyOptionsChain.mjs +1 -1
  1027. package/dist/esm/cli/get/config.mjs +1 -1
  1028. package/dist/esm/cli/is/config.mjs +1 -1
  1029. package/dist/esm/cli/require.mjs +4 -5
  1030. package/dist/esm/compiled.mjs +22 -31
  1031. package/dist/esm/fast-glob.mjs +1 -0
  1032. package/dist/esm/watch-options.mjs +0 -0
  1033. package/dist/esm-node/cli/applyOptionsChain.mjs +1 -1
  1034. package/dist/esm-node/cli/get/config.mjs +1 -1
  1035. package/dist/esm-node/cli/is/config.mjs +1 -1
  1036. package/dist/esm-node/cli/require.mjs +4 -5
  1037. package/dist/esm-node/compiled.mjs +22 -30
  1038. package/dist/esm-node/fast-glob.mjs +2 -0
  1039. package/dist/esm-node/watch-options.mjs +1 -0
  1040. package/dist/types/cli/commands.d.ts +1 -1
  1041. package/dist/types/cli/require.d.ts +0 -1
  1042. package/dist/types/compiled.d.ts +29 -28
  1043. package/dist/types/fast-glob.d.ts +1 -0
  1044. package/dist/types/watch-options.d.ts +1 -0
  1045. package/package.json +102 -38
  1046. package/rslib.config.mts +20 -84
  1047. package/dist/compiled/address/lib/address.d.ts +0 -28
  1048. package/dist/compiled/browserslist/license +0 -20
  1049. package/dist/compiled/chokidar/anymatch/index.d.ts +0 -19
  1050. package/dist/compiled/chokidar/fsevents.node +0 -0
  1051. package/dist/compiled/chokidar/license +0 -21
  1052. package/dist/compiled/chokidar/types/index.d.ts +0 -188
  1053. package/dist/compiled/commander/typings/index.d.ts +0 -890
  1054. package/dist/compiled/debug/ms/index.d.ts +0 -25
  1055. package/dist/compiled/dotenv/index.js +0 -101
  1056. package/dist/compiled/dotenv/license +0 -23
  1057. package/dist/compiled/dotenv/package.json +0 -1
  1058. package/dist/compiled/dotenv/types/index.d.ts +0 -59
  1059. package/dist/compiled/dotenv-expand/license +0 -24
  1060. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  1061. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/index.d.ts +0 -12
  1062. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  1063. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  1064. package/dist/compiled/fast-glob/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  1065. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  1066. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/index.d.ts +0 -12
  1067. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  1068. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/settings.d.ts +0 -16
  1069. package/dist/compiled/fast-glob/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  1070. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/index.d.ts +0 -14
  1071. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  1072. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  1073. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  1074. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/settings.d.ts +0 -30
  1075. package/dist/compiled/fast-glob/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  1076. package/dist/compiled/fast-glob/index.js +0 -4665
  1077. package/dist/compiled/fast-glob/index.js.LICENSE.txt +0 -38
  1078. package/dist/compiled/fast-glob/license +0 -21
  1079. package/dist/compiled/fast-glob/out/index.d.ts +0 -27
  1080. package/dist/compiled/fast-glob/out/managers/tasks.d.ts +0 -22
  1081. package/dist/compiled/fast-glob/out/settings.d.ts +0 -164
  1082. package/dist/compiled/fast-glob/out/types/index.d.ts +0 -31
  1083. package/dist/compiled/fast-glob/package.json +0 -1
  1084. package/dist/compiled/filesize/filesize.d.ts +0 -131
  1085. package/dist/compiled/filesize/license +0 -28
  1086. package/dist/compiled/fs-extra/license +0 -15
  1087. package/dist/compiled/glob/license +0 -21
  1088. package/dist/compiled/glob/minimatch/index.d.ts +0 -204
  1089. package/dist/compiled/inquirer/index.js.LICENSE.txt +0 -7
  1090. package/dist/compiled/inquirer/lib/objects/choice.d.ts +0 -65
  1091. package/dist/compiled/inquirer/lib/objects/choices.d.ts +0 -206
  1092. package/dist/compiled/inquirer/lib/objects/separator.d.ts +0 -37
  1093. package/dist/compiled/inquirer/lib/prompts/base.d.ts +0 -100
  1094. package/dist/compiled/inquirer/lib/prompts/checkbox.d.ts +0 -116
  1095. package/dist/compiled/inquirer/lib/prompts/confirm.d.ts +0 -53
  1096. package/dist/compiled/inquirer/lib/prompts/editor.d.ts +0 -101
  1097. package/dist/compiled/inquirer/lib/prompts/expand.d.ts +0 -149
  1098. package/dist/compiled/inquirer/lib/prompts/input.d.ts +0 -82
  1099. package/dist/compiled/inquirer/lib/prompts/list.d.ts +0 -89
  1100. package/dist/compiled/inquirer/lib/prompts/number.d.ts +0 -32
  1101. package/dist/compiled/inquirer/lib/prompts/password.d.ts +0 -82
  1102. package/dist/compiled/inquirer/lib/prompts/rawlist.d.ts +0 -111
  1103. package/dist/compiled/inquirer/lib/ui/baseUI.d.ts +0 -37
  1104. package/dist/compiled/inquirer/lib/ui/bottom-bar.d.ts +0 -65
  1105. package/dist/compiled/inquirer/lib/ui/prompt.d.ts +0 -104
  1106. package/dist/compiled/inquirer/lib/utils/events.d.ts +0 -72
  1107. package/dist/compiled/inquirer/lib/utils/incrementListIndex.d.ts +0 -23
  1108. package/dist/compiled/inquirer/lib/utils/paginator.d.ts +0 -55
  1109. package/dist/compiled/inquirer/lib/utils/readline.d.ts +0 -56
  1110. package/dist/compiled/inquirer/lib/utils/screen-manager.d.ts +0 -90
  1111. package/dist/compiled/inquirer/lib/utils/utils.d.ts +0 -30
  1112. package/dist/compiled/inquirer/license +0 -22
  1113. package/dist/compiled/inquirer/rxjs/LICENSE.txt +0 -202
  1114. package/dist/compiled/inquirer/rxjs/ajax/index.d.ts +0 -5
  1115. package/dist/compiled/inquirer/rxjs/fetch/index.d.ts +0 -2
  1116. package/dist/compiled/inquirer/rxjs/index.d.ts +0 -173
  1117. package/dist/compiled/inquirer/rxjs/internal/AnyCatcher.d.ts +0 -10
  1118. package/dist/compiled/inquirer/rxjs/internal/AsyncSubject.d.ts +0 -13
  1119. package/dist/compiled/inquirer/rxjs/internal/BehaviorSubject.d.ts +0 -13
  1120. package/dist/compiled/inquirer/rxjs/internal/Notification.d.ts +0 -175
  1121. package/dist/compiled/inquirer/rxjs/internal/NotificationFactories.d.ts +0 -2
  1122. package/dist/compiled/inquirer/rxjs/internal/Observable.d.ts +0 -121
  1123. package/dist/compiled/inquirer/rxjs/internal/Operator.d.ts +0 -9
  1124. package/dist/compiled/inquirer/rxjs/internal/ReplaySubject.d.ts +0 -49
  1125. package/dist/compiled/inquirer/rxjs/internal/Scheduler.d.ts +0 -53
  1126. package/dist/compiled/inquirer/rxjs/internal/Subject.d.ts +0 -54
  1127. package/dist/compiled/inquirer/rxjs/internal/Subscriber.d.ts +0 -72
  1128. package/dist/compiled/inquirer/rxjs/internal/Subscription.d.ts +0 -92
  1129. package/dist/compiled/inquirer/rxjs/internal/ajax/AjaxResponse.d.ts +0 -115
  1130. package/dist/compiled/inquirer/rxjs/internal/ajax/ajax.d.ts +0 -227
  1131. package/dist/compiled/inquirer/rxjs/internal/ajax/errors.d.ts +0 -65
  1132. package/dist/compiled/inquirer/rxjs/internal/ajax/getXHRResponse.d.ts +0 -14
  1133. package/dist/compiled/inquirer/rxjs/internal/ajax/types.d.ts +0 -200
  1134. package/dist/compiled/inquirer/rxjs/internal/config.d.ts +0 -73
  1135. package/dist/compiled/inquirer/rxjs/internal/firstValueFrom.d.ts +0 -7
  1136. package/dist/compiled/inquirer/rxjs/internal/lastValueFrom.d.ts +0 -7
  1137. package/dist/compiled/inquirer/rxjs/internal/observable/ConnectableObservable.d.ts +0 -42
  1138. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallback.d.ts +0 -5
  1139. package/dist/compiled/inquirer/rxjs/internal/observable/bindCallbackInternals.d.ts +0 -4
  1140. package/dist/compiled/inquirer/rxjs/internal/observable/bindNodeCallback.d.ts +0 -5
  1141. package/dist/compiled/inquirer/rxjs/internal/observable/combineLatest.d.ts +0 -33
  1142. package/dist/compiled/inquirer/rxjs/internal/observable/concat.d.ts +0 -5
  1143. package/dist/compiled/inquirer/rxjs/internal/observable/connectable.d.ts +0 -27
  1144. package/dist/compiled/inquirer/rxjs/internal/observable/defer.d.ts +0 -51
  1145. package/dist/compiled/inquirer/rxjs/internal/observable/dom/WebSocketSubject.d.ts +0 -173
  1146. package/dist/compiled/inquirer/rxjs/internal/observable/dom/animationFrames.d.ts +0 -76
  1147. package/dist/compiled/inquirer/rxjs/internal/observable/dom/fetch.d.ts +0 -7
  1148. package/dist/compiled/inquirer/rxjs/internal/observable/dom/webSocket.d.ts +0 -159
  1149. package/dist/compiled/inquirer/rxjs/internal/observable/empty.d.ts +0 -72
  1150. package/dist/compiled/inquirer/rxjs/internal/observable/forkJoin.d.ts +0 -24
  1151. package/dist/compiled/inquirer/rxjs/internal/observable/from.d.ts +0 -6
  1152. package/dist/compiled/inquirer/rxjs/internal/observable/fromEvent.d.ts +0 -45
  1153. package/dist/compiled/inquirer/rxjs/internal/observable/fromEventPattern.d.ts +0 -5
  1154. package/dist/compiled/inquirer/rxjs/internal/observable/fromSubscribable.d.ts +0 -14
  1155. package/dist/compiled/inquirer/rxjs/internal/observable/generate.d.ts +0 -314
  1156. package/dist/compiled/inquirer/rxjs/internal/observable/iif.d.ts +0 -82
  1157. package/dist/compiled/inquirer/rxjs/internal/observable/innerFrom.d.ts +0 -21
  1158. package/dist/compiled/inquirer/rxjs/internal/observable/interval.d.ts +0 -48
  1159. package/dist/compiled/inquirer/rxjs/internal/observable/merge.d.ts +0 -9
  1160. package/dist/compiled/inquirer/rxjs/internal/observable/never.d.ts +0 -40
  1161. package/dist/compiled/inquirer/rxjs/internal/observable/of.d.ts +0 -14
  1162. package/dist/compiled/inquirer/rxjs/internal/observable/onErrorResumeNext.d.ts +0 -5
  1163. package/dist/compiled/inquirer/rxjs/internal/observable/pairs.d.ts +0 -19
  1164. package/dist/compiled/inquirer/rxjs/internal/observable/partition.d.ts +0 -9
  1165. package/dist/compiled/inquirer/rxjs/internal/observable/race.d.ts +0 -12
  1166. package/dist/compiled/inquirer/rxjs/internal/observable/range.d.ts +0 -8
  1167. package/dist/compiled/inquirer/rxjs/internal/observable/throwError.d.ts +0 -115
  1168. package/dist/compiled/inquirer/rxjs/internal/observable/timer.d.ts +0 -126
  1169. package/dist/compiled/inquirer/rxjs/internal/observable/using.d.ts +0 -30
  1170. package/dist/compiled/inquirer/rxjs/internal/observable/zip.d.ts +0 -7
  1171. package/dist/compiled/inquirer/rxjs/internal/operators/OperatorSubscriber.d.ts +0 -41
  1172. package/dist/compiled/inquirer/rxjs/internal/operators/audit.d.ts +0 -48
  1173. package/dist/compiled/inquirer/rxjs/internal/operators/auditTime.d.ts +0 -50
  1174. package/dist/compiled/inquirer/rxjs/internal/operators/buffer.d.ts +0 -41
  1175. package/dist/compiled/inquirer/rxjs/internal/operators/bufferCount.d.ts +0 -54
  1176. package/dist/compiled/inquirer/rxjs/internal/operators/bufferTime.d.ts +0 -5
  1177. package/dist/compiled/inquirer/rxjs/internal/operators/bufferToggle.d.ts +0 -46
  1178. package/dist/compiled/inquirer/rxjs/internal/operators/bufferWhen.d.ts +0 -41
  1179. package/dist/compiled/inquirer/rxjs/internal/operators/catchError.d.ts +0 -4
  1180. package/dist/compiled/inquirer/rxjs/internal/operators/combineAll.d.ts +0 -6
  1181. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatest.d.ts +0 -10
  1182. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestAll.d.ts +0 -6
  1183. package/dist/compiled/inquirer/rxjs/internal/operators/combineLatestWith.d.ts +0 -43
  1184. package/dist/compiled/inquirer/rxjs/internal/operators/concat.d.ts +0 -6
  1185. package/dist/compiled/inquirer/rxjs/internal/operators/concatAll.d.ts +0 -59
  1186. package/dist/compiled/inquirer/rxjs/internal/operators/concatMap.d.ts +0 -7
  1187. package/dist/compiled/inquirer/rxjs/internal/operators/concatMapTo.d.ts +0 -8
  1188. package/dist/compiled/inquirer/rxjs/internal/operators/concatWith.d.ts +0 -43
  1189. package/dist/compiled/inquirer/rxjs/internal/operators/connect.d.ts +0 -87
  1190. package/dist/compiled/inquirer/rxjs/internal/operators/count.d.ts +0 -58
  1191. package/dist/compiled/inquirer/rxjs/internal/operators/debounce.d.ts +0 -61
  1192. package/dist/compiled/inquirer/rxjs/internal/operators/debounceTime.d.ts +0 -59
  1193. package/dist/compiled/inquirer/rxjs/internal/operators/defaultIfEmpty.d.ts +0 -38
  1194. package/dist/compiled/inquirer/rxjs/internal/operators/delay.d.ts +0 -59
  1195. package/dist/compiled/inquirer/rxjs/internal/operators/delayWhen.d.ts +0 -6
  1196. package/dist/compiled/inquirer/rxjs/internal/operators/dematerialize.d.ts +0 -51
  1197. package/dist/compiled/inquirer/rxjs/internal/operators/distinct.d.ts +0 -60
  1198. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilChanged.d.ts +0 -4
  1199. package/dist/compiled/inquirer/rxjs/internal/operators/distinctUntilKeyChanged.d.ts +0 -4
  1200. package/dist/compiled/inquirer/rxjs/internal/operators/elementAt.d.ts +0 -51
  1201. package/dist/compiled/inquirer/rxjs/internal/operators/endWith.d.ts +0 -7
  1202. package/dist/compiled/inquirer/rxjs/internal/operators/every.d.ts +0 -9
  1203. package/dist/compiled/inquirer/rxjs/internal/operators/exhaust.d.ts +0 -6
  1204. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustAll.d.ts +0 -47
  1205. package/dist/compiled/inquirer/rxjs/internal/operators/exhaustMap.d.ts +0 -7
  1206. package/dist/compiled/inquirer/rxjs/internal/operators/expand.d.ts +0 -9
  1207. package/dist/compiled/inquirer/rxjs/internal/operators/filter.d.ts +0 -9
  1208. package/dist/compiled/inquirer/rxjs/internal/operators/finalize.d.ts +0 -64
  1209. package/dist/compiled/inquirer/rxjs/internal/operators/find.d.ts +0 -12
  1210. package/dist/compiled/inquirer/rxjs/internal/operators/findIndex.d.ts +0 -9
  1211. package/dist/compiled/inquirer/rxjs/internal/operators/first.d.ts +0 -9
  1212. package/dist/compiled/inquirer/rxjs/internal/operators/flatMap.d.ts +0 -6
  1213. package/dist/compiled/inquirer/rxjs/internal/operators/groupBy.d.ts +0 -119
  1214. package/dist/compiled/inquirer/rxjs/internal/operators/ignoreElements.d.ts +0 -38
  1215. package/dist/compiled/inquirer/rxjs/internal/operators/isEmpty.d.ts +0 -64
  1216. package/dist/compiled/inquirer/rxjs/internal/operators/joinAllInternals.d.ts +0 -14
  1217. package/dist/compiled/inquirer/rxjs/internal/operators/last.d.ts +0 -8
  1218. package/dist/compiled/inquirer/rxjs/internal/operators/map.d.ts +0 -5
  1219. package/dist/compiled/inquirer/rxjs/internal/operators/mapTo.d.ts +0 -10
  1220. package/dist/compiled/inquirer/rxjs/internal/operators/materialize.d.ts +0 -52
  1221. package/dist/compiled/inquirer/rxjs/internal/operators/max.d.ts +0 -50
  1222. package/dist/compiled/inquirer/rxjs/internal/operators/merge.d.ts +0 -10
  1223. package/dist/compiled/inquirer/rxjs/internal/operators/mergeAll.d.ts +0 -62
  1224. package/dist/compiled/inquirer/rxjs/internal/operators/mergeInternals.d.ts +0 -18
  1225. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMap.d.ts +0 -7
  1226. package/dist/compiled/inquirer/rxjs/internal/operators/mergeMapTo.d.ts +0 -9
  1227. package/dist/compiled/inquirer/rxjs/internal/operators/mergeScan.d.ts +0 -68
  1228. package/dist/compiled/inquirer/rxjs/internal/operators/mergeWith.d.ts +0 -44
  1229. package/dist/compiled/inquirer/rxjs/internal/operators/min.d.ts +0 -50
  1230. package/dist/compiled/inquirer/rxjs/internal/operators/multicast.d.ts +0 -63
  1231. package/dist/compiled/inquirer/rxjs/internal/operators/observeOn.d.ts +0 -56
  1232. package/dist/compiled/inquirer/rxjs/internal/operators/onErrorResumeNextWith.d.ts +0 -8
  1233. package/dist/compiled/inquirer/rxjs/internal/operators/pairwise.d.ts +0 -46
  1234. package/dist/compiled/inquirer/rxjs/internal/operators/partition.d.ts +0 -54
  1235. package/dist/compiled/inquirer/rxjs/internal/operators/pluck.d.ts +0 -18
  1236. package/dist/compiled/inquirer/rxjs/internal/operators/publish.d.ts +0 -30
  1237. package/dist/compiled/inquirer/rxjs/internal/operators/publishBehavior.d.ts +0 -19
  1238. package/dist/compiled/inquirer/rxjs/internal/operators/publishLast.d.ts +0 -69
  1239. package/dist/compiled/inquirer/rxjs/internal/operators/publishReplay.d.ts +0 -56
  1240. package/dist/compiled/inquirer/rxjs/internal/operators/race.d.ts +0 -6
  1241. package/dist/compiled/inquirer/rxjs/internal/operators/raceWith.d.ts +0 -29
  1242. package/dist/compiled/inquirer/rxjs/internal/operators/reduce.d.ts +0 -5
  1243. package/dist/compiled/inquirer/rxjs/internal/operators/refCount.d.ts +0 -61
  1244. package/dist/compiled/inquirer/rxjs/internal/operators/repeat.d.ts +0 -108
  1245. package/dist/compiled/inquirer/rxjs/internal/operators/repeatWhen.d.ts +0 -38
  1246. package/dist/compiled/inquirer/rxjs/internal/operators/retry.d.ts +0 -28
  1247. package/dist/compiled/inquirer/rxjs/internal/operators/retryWhen.d.ts +0 -61
  1248. package/dist/compiled/inquirer/rxjs/internal/operators/sample.d.ts +0 -43
  1249. package/dist/compiled/inquirer/rxjs/internal/operators/sampleTime.d.ts +0 -46
  1250. package/dist/compiled/inquirer/rxjs/internal/operators/scan.d.ts +0 -5
  1251. package/dist/compiled/inquirer/rxjs/internal/operators/scanInternals.d.ts +0 -12
  1252. package/dist/compiled/inquirer/rxjs/internal/operators/sequenceEqual.d.ts +0 -60
  1253. package/dist/compiled/inquirer/rxjs/internal/operators/share.d.ts +0 -43
  1254. package/dist/compiled/inquirer/rxjs/internal/operators/shareReplay.d.ts +0 -10
  1255. package/dist/compiled/inquirer/rxjs/internal/operators/single.d.ts +0 -5
  1256. package/dist/compiled/inquirer/rxjs/internal/operators/skip.d.ts +0 -36
  1257. package/dist/compiled/inquirer/rxjs/internal/operators/skipLast.d.ts +0 -45
  1258. package/dist/compiled/inquirer/rxjs/internal/operators/skipUntil.d.ts +0 -48
  1259. package/dist/compiled/inquirer/rxjs/internal/operators/skipWhile.d.ts +0 -5
  1260. package/dist/compiled/inquirer/rxjs/internal/operators/startWith.d.ts +0 -7
  1261. package/dist/compiled/inquirer/rxjs/internal/operators/subscribeOn.d.ts +0 -62
  1262. package/dist/compiled/inquirer/rxjs/internal/operators/switchAll.d.ts +0 -61
  1263. package/dist/compiled/inquirer/rxjs/internal/operators/switchMap.d.ts +0 -7
  1264. package/dist/compiled/inquirer/rxjs/internal/operators/switchMapTo.d.ts +0 -8
  1265. package/dist/compiled/inquirer/rxjs/internal/operators/switchScan.d.ts +0 -20
  1266. package/dist/compiled/inquirer/rxjs/internal/operators/take.d.ts +0 -45
  1267. package/dist/compiled/inquirer/rxjs/internal/operators/takeLast.d.ts +0 -42
  1268. package/dist/compiled/inquirer/rxjs/internal/operators/takeUntil.d.ts +0 -41
  1269. package/dist/compiled/inquirer/rxjs/internal/operators/takeWhile.d.ts +0 -8
  1270. package/dist/compiled/inquirer/rxjs/internal/operators/tap.d.ts +0 -72
  1271. package/dist/compiled/inquirer/rxjs/internal/operators/throttle.d.ts +0 -78
  1272. package/dist/compiled/inquirer/rxjs/internal/operators/throttleTime.d.ts +0 -53
  1273. package/dist/compiled/inquirer/rxjs/internal/operators/throwIfEmpty.d.ts +0 -39
  1274. package/dist/compiled/inquirer/rxjs/internal/operators/timeInterval.d.ts +0 -50
  1275. package/dist/compiled/inquirer/rxjs/internal/operators/timeout.d.ts +0 -255
  1276. package/dist/compiled/inquirer/rxjs/internal/operators/timeoutWith.d.ts +0 -8
  1277. package/dist/compiled/inquirer/rxjs/internal/operators/timestamp.d.ts +0 -35
  1278. package/dist/compiled/inquirer/rxjs/internal/operators/toArray.d.ts +0 -33
  1279. package/dist/compiled/inquirer/rxjs/internal/operators/window.d.ts +0 -48
  1280. package/dist/compiled/inquirer/rxjs/internal/operators/windowCount.d.ts +0 -65
  1281. package/dist/compiled/inquirer/rxjs/internal/operators/windowTime.d.ts +0 -6
  1282. package/dist/compiled/inquirer/rxjs/internal/operators/windowToggle.d.ts +0 -49
  1283. package/dist/compiled/inquirer/rxjs/internal/operators/windowWhen.d.ts +0 -49
  1284. package/dist/compiled/inquirer/rxjs/internal/operators/withLatestFrom.d.ts +0 -4
  1285. package/dist/compiled/inquirer/rxjs/internal/operators/zip.d.ts +0 -10
  1286. package/dist/compiled/inquirer/rxjs/internal/operators/zipAll.d.ts +0 -14
  1287. package/dist/compiled/inquirer/rxjs/internal/operators/zipWith.d.ts +0 -26
  1288. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleArray.d.ts +0 -4
  1289. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleAsyncIterable.d.ts +0 -4
  1290. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleIterable.d.ts +0 -9
  1291. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleObservable.d.ts +0 -3
  1292. package/dist/compiled/inquirer/rxjs/internal/scheduled/schedulePromise.d.ts +0 -3
  1293. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduleReadableStreamLike.d.ts +0 -4
  1294. package/dist/compiled/inquirer/rxjs/internal/scheduled/scheduled.d.ts +0 -15
  1295. package/dist/compiled/inquirer/rxjs/internal/scheduler/Action.d.ts +0 -30
  1296. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameAction.d.ts +0 -12
  1297. package/dist/compiled/inquirer/rxjs/internal/scheduler/AnimationFrameScheduler.d.ts +0 -6
  1298. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapAction.d.ts +0 -12
  1299. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsapScheduler.d.ts +0 -6
  1300. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncAction.d.ts +0 -24
  1301. package/dist/compiled/inquirer/rxjs/internal/scheduler/AsyncScheduler.d.ts +0 -9
  1302. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueAction.d.ts +0 -14
  1303. package/dist/compiled/inquirer/rxjs/internal/scheduler/QueueScheduler.d.ts +0 -4
  1304. package/dist/compiled/inquirer/rxjs/internal/scheduler/VirtualTimeScheduler.d.ts +0 -48
  1305. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrame.d.ts +0 -38
  1306. package/dist/compiled/inquirer/rxjs/internal/scheduler/animationFrameProvider.d.ts +0 -13
  1307. package/dist/compiled/inquirer/rxjs/internal/scheduler/asap.d.ts +0 -41
  1308. package/dist/compiled/inquirer/rxjs/internal/scheduler/async.d.ts +0 -53
  1309. package/dist/compiled/inquirer/rxjs/internal/scheduler/dateTimestampProvider.d.ts +0 -7
  1310. package/dist/compiled/inquirer/rxjs/internal/scheduler/immediateProvider.d.ts +0 -14
  1311. package/dist/compiled/inquirer/rxjs/internal/scheduler/intervalProvider.d.ts +0 -14
  1312. package/dist/compiled/inquirer/rxjs/internal/scheduler/performanceTimestampProvider.d.ts +0 -7
  1313. package/dist/compiled/inquirer/rxjs/internal/scheduler/queue.d.ts +0 -69
  1314. package/dist/compiled/inquirer/rxjs/internal/scheduler/timeoutProvider.d.ts +0 -14
  1315. package/dist/compiled/inquirer/rxjs/internal/scheduler/timerHandle.d.ts +0 -2
  1316. package/dist/compiled/inquirer/rxjs/internal/symbol/iterator.d.ts +0 -3
  1317. package/dist/compiled/inquirer/rxjs/internal/symbol/observable.d.ts +0 -8
  1318. package/dist/compiled/inquirer/rxjs/internal/testing/ColdObservable.d.ts +0 -16
  1319. package/dist/compiled/inquirer/rxjs/internal/testing/HotObservable.d.ts +0 -15
  1320. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLog.d.ts +0 -6
  1321. package/dist/compiled/inquirer/rxjs/internal/testing/SubscriptionLoggable.d.ts +0 -9
  1322. package/dist/compiled/inquirer/rxjs/internal/testing/TestMessage.d.ts +0 -7
  1323. package/dist/compiled/inquirer/rxjs/internal/testing/TestScheduler.d.ts +0 -88
  1324. package/dist/compiled/inquirer/rxjs/internal/types.d.ts +0 -307
  1325. package/dist/compiled/inquirer/rxjs/internal/util/ArgumentOutOfRangeError.d.ts +0 -19
  1326. package/dist/compiled/inquirer/rxjs/internal/util/EmptyError.d.ts +0 -21
  1327. package/dist/compiled/inquirer/rxjs/internal/util/Immediate.d.ts +0 -14
  1328. package/dist/compiled/inquirer/rxjs/internal/util/NotFoundError.d.ts +0 -17
  1329. package/dist/compiled/inquirer/rxjs/internal/util/ObjectUnsubscribedError.d.ts +0 -20
  1330. package/dist/compiled/inquirer/rxjs/internal/util/SequenceError.d.ts +0 -17
  1331. package/dist/compiled/inquirer/rxjs/internal/util/UnsubscriptionError.d.ts +0 -16
  1332. package/dist/compiled/inquirer/rxjs/internal/util/applyMixins.d.ts +0 -2
  1333. package/dist/compiled/inquirer/rxjs/internal/util/args.d.ts +0 -5
  1334. package/dist/compiled/inquirer/rxjs/internal/util/argsArgArrayOrObject.d.ts +0 -11
  1335. package/dist/compiled/inquirer/rxjs/internal/util/argsOrArgArray.d.ts +0 -6
  1336. package/dist/compiled/inquirer/rxjs/internal/util/arrRemove.d.ts +0 -7
  1337. package/dist/compiled/inquirer/rxjs/internal/util/createErrorClass.d.ts +0 -11
  1338. package/dist/compiled/inquirer/rxjs/internal/util/createObject.d.ts +0 -2
  1339. package/dist/compiled/inquirer/rxjs/internal/util/errorContext.d.ts +0 -14
  1340. package/dist/compiled/inquirer/rxjs/internal/util/executeSchedule.d.ts +0 -5
  1341. package/dist/compiled/inquirer/rxjs/internal/util/identity.d.ts +0 -44
  1342. package/dist/compiled/inquirer/rxjs/internal/util/isArrayLike.d.ts +0 -2
  1343. package/dist/compiled/inquirer/rxjs/internal/util/isAsyncIterable.d.ts +0 -2
  1344. package/dist/compiled/inquirer/rxjs/internal/util/isDate.d.ts +0 -9
  1345. package/dist/compiled/inquirer/rxjs/internal/util/isFunction.d.ts +0 -6
  1346. package/dist/compiled/inquirer/rxjs/internal/util/isInteropObservable.d.ts +0 -4
  1347. package/dist/compiled/inquirer/rxjs/internal/util/isIterable.d.ts +0 -3
  1348. package/dist/compiled/inquirer/rxjs/internal/util/isObservable.d.ts +0 -8
  1349. package/dist/compiled/inquirer/rxjs/internal/util/isPromise.d.ts +0 -6
  1350. package/dist/compiled/inquirer/rxjs/internal/util/isReadableStreamLike.d.ts +0 -4
  1351. package/dist/compiled/inquirer/rxjs/internal/util/isScheduler.d.ts +0 -3
  1352. package/dist/compiled/inquirer/rxjs/internal/util/lift.d.ts +0 -15
  1353. package/dist/compiled/inquirer/rxjs/internal/util/mapOneOrManyArgs.d.ts +0 -7
  1354. package/dist/compiled/inquirer/rxjs/internal/util/noop.d.ts +0 -2
  1355. package/dist/compiled/inquirer/rxjs/internal/util/not.d.ts +0 -2
  1356. package/dist/compiled/inquirer/rxjs/internal/util/pipe.d.ts +0 -14
  1357. package/dist/compiled/inquirer/rxjs/internal/util/reportUnhandledError.d.ts +0 -11
  1358. package/dist/compiled/inquirer/rxjs/internal/util/subscribeToArray.d.ts +0 -7
  1359. package/dist/compiled/inquirer/rxjs/internal/util/throwUnobservableError.d.ts +0 -6
  1360. package/dist/compiled/inquirer/rxjs/internal/util/workarounds.d.ts +0 -2
  1361. package/dist/compiled/inquirer/rxjs/operators/index.d.ts +0 -114
  1362. package/dist/compiled/inquirer/rxjs/testing/index.d.ts +0 -2
  1363. package/dist/compiled/inquirer/rxjs/webSocket/index.d.ts +0 -3
  1364. package/dist/compiled/inquirer/through/index.d.ts +0 -25
  1365. package/dist/compiled/json5/lib/index.d.ts +0 -4
  1366. package/dist/compiled/json5/lib/parse.d.ts +0 -15
  1367. package/dist/compiled/json5/lib/stringify.d.ts +0 -89
  1368. package/dist/compiled/nanoid/license +0 -20
  1369. package/dist/compiled/ora/cli-spinners/index.d.ts +0 -125
  1370. package/dist/compiled/ora/index.js.LICENSE.txt +0 -1
  1371. package/dist/compiled/tsconfig-paths/lib/config-loader.d.ts +0 -33
  1372. package/dist/compiled/tsconfig-paths/lib/filesystem.d.ts +0 -34
  1373. package/dist/compiled/tsconfig-paths/lib/index.d.ts +0 -5
  1374. package/dist/compiled/tsconfig-paths/lib/mapping-entry.d.ts +0 -18
  1375. package/dist/compiled/tsconfig-paths/lib/match-path-async.d.ts +0 -21
  1376. package/dist/compiled/tsconfig-paths/lib/match-path-sync.d.ts +0 -32
  1377. package/dist/compiled/tsconfig-paths/lib/register.d.ts +0 -12
  1378. package/dist/compiled/tsconfig-paths/lib/try-path.d.ts +0 -15
  1379. package/dist/compiled/tsconfig-paths/lib/tsconfig-loader.d.ts +0 -28
  1380. package/dist/compiled/upath/license +0 -22
  1381. package/dist/compiled/upath/upath.d.ts +0 -241
  1382. package/dist/compiled/webpack-chain/index.js +0 -1475
  1383. package/dist/compiled/webpack-chain/license +0 -373
  1384. package/dist/compiled/webpack-chain/package.json +0 -1
  1385. package/dist/compiled/webpack-chain/types/index.d.ts +0 -599
  1386. package/dist/esm/rslib-runtime~1.mjs +0 -12
  1387. /package/dist/compiled/commander/{license → LICENSE} +0 -0
  1388. /package/dist/compiled/debug/{license → LICENSE} +0 -0
  1389. /package/dist/compiled/{inquirer/types-license → debug/declaration-licenses/@types_debug/LICENSE} +0 -0
  1390. /package/dist/compiled/js-yaml/{license → LICENSE} +0 -0
  1391. /package/dist/compiled/lodash/{license → LICENSE} +0 -0
  1392. /package/dist/compiled/mime-types/{license → LICENSE} +0 -0
  1393. /package/dist/compiled/minimist/{license → LICENSE} +0 -0
  1394. /package/dist/compiled/semver/{license → LICENSE} +0 -0
  1395. /package/dist/compiled/tsconfig-paths/{license → LICENSE} +0 -0
  1396. /package/dist/compiled/url-join/{license → LICENSE} +0 -0
@@ -1,997 +1,800 @@
1
- // Type definitions for inquirer 8.2
2
- // Project: https://github.com/SBoudrias/Inquirer.js
3
- // Definitions by: Qubo <https://github.com/tkQubo>
4
- // Parvez <https://github.com/ppathan>
5
- // Jouderian <https://github.com/jouderianjr>
6
- // Qibang <https://github.com/bang88>
7
- // Jason Dreyzehner <https://github.com/bitjson>
8
- // Synarque <https://github.com/synarque>
9
- // Justin Rockwood <https://github.com/jrockwood>
10
- // Keith Kelly <https://github.com/kwkelly>
11
- // Richard Lea <https://github.com/chigix>
12
- // Jed Mao <https://github.com/jedmao>
13
- // Manuel Thalmann <https://github.com/manuth>
14
- // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
15
- // TypeScript Version: 4.2
16
- import { Interface as ReadlineInterface } from 'readline';
17
- import { Observable } from './rxjs';
18
- import Choice = require('./lib/objects/choice');
19
- import Choices = require('./lib/objects/choices');
20
- import Separator = require('./lib/objects/separator');
21
- import './lib/prompts/base';
22
- import './lib/prompts/checkbox';
23
- import './lib/prompts/confirm';
24
- import './lib/prompts/editor';
25
- import './lib/prompts/expand';
26
- import './lib/prompts/input';
27
- import './lib/prompts/list';
28
- import './lib/prompts/number';
29
- import './lib/prompts/password';
30
- import './lib/prompts/rawlist';
31
- import './lib/utils/events';
32
- import './lib/utils/paginator';
33
- import './lib/utils/readline';
34
- import './lib/utils/screen-manager';
35
- import './lib/utils/utils';
36
- import BottomBar = require('./lib/ui/bottom-bar');
37
- import PromptUI = require('./lib/ui/prompt');
1
+ import { Duplex } from 'node:stream';
38
2
 
39
3
  /**
40
- * Represents a union which preserves autocompletion.
41
- *
42
- * @template T
43
- * The keys which are available for autocompletion.
44
- *
45
- * @template F
46
- * The fallback-type.
4
+ * `InquirerReadline` is a re-implementation of `readline.Interface` from Node.js.
5
+ * We're reimplementing it because of 3 reasons:
6
+ * 1. The `readline.Interface` API is not complete; it's missing for example `clearLine`.
7
+ * 2. The input/output streams are not generics, meaning they're inexact.
8
+ * 3. Since ReadLine isn't built-in Typescript Global NodeJS type, it'd force us to ship `@types/node` as a dependency to all users.
47
9
  */
48
- type LiteralUnion<T extends F, F = string> = T | (F & {});
10
+ type InquirerReadline = {
11
+ output: Duplex & {
12
+ mute: () => void;
13
+ unmute: () => void;
14
+ };
15
+ input: NodeJS.ReadableStream;
16
+ clearLine: (dir: 0 | 1 | -1) => void;
17
+ getCursorPos: () => {
18
+ rows: number;
19
+ cols: number;
20
+ };
21
+ setPrompt: (prompt: string) => void;
22
+ line: string;
23
+ write: (data: string) => void;
24
+ on: (event: string, listener: (...args: unknown[]) => void) => void;
25
+ removeListener: (event: string, listener: (...args: unknown[]) => void) => void;
26
+ pause: () => void;
27
+ resume: () => void;
28
+ close: () => void;
29
+ };
30
+ type Context = {
31
+ input?: NodeJS.ReadableStream;
32
+ output?: NodeJS.WritableStream;
33
+ clearPromptOnDone?: boolean;
34
+ signal?: AbortSignal;
35
+ };
36
+ type Prompt<Value, Config> = (config: Config, context?: Context) => Promise<Value>;
49
37
 
50
38
  /**
51
- * Provides prompts for answering questions.
39
+ * Recursively expand intersections and mapped types for better IDE display,
40
+ * while preserving functions, arrays, primitives, and types with a string
41
+ * index signature (e.g. `Record<string, ...>`) as-is.
52
42
  */
53
- interface PromptModuleBase {
54
- /**
55
- * Registers a new prompt-type.
56
- *
57
- * @param name
58
- * The name of the prompt.
59
- *
60
- * @param prompt
61
- * The constructor of the prompt.
62
- */
63
- registerPrompt(name: string, prompt: inquirer.prompts.PromptConstructor): void;
43
+ type Prettify<T> = T extends (...args: never[]) => unknown ? T : T extends ReadonlyArray<unknown> ? T : T extends string | number | boolean | symbol | bigint | null | undefined ? T : T extends object ? string extends keyof T ? T : {
44
+ [K in keyof T]: Prettify<T[K]>;
45
+ } & {} : T;
46
+ type PartialDeep<T> = T extends object ? {
47
+ [P in keyof T]?: PartialDeep<T[P]>;
48
+ } : T;
49
+ type DistributiveMerge<A, B> = A extends any ? Prettify<Omit<A, keyof B> & B> : never;
64
50
 
65
- /**
66
- * Registers the default prompts.
67
- */
68
- restoreDefaultPrompts(): void;
69
- }
51
+ type Keybinding = 'emacs' | 'vim';
70
52
 
71
53
  /**
72
- * Represents a list-based question.
73
- *
74
- * @template T
75
- * The type of the answers.
54
+ * Union type representing the possible statuses of a prompt.
76
55
  *
77
- * @template TChoiceMap
78
- * The valid choices for the question.
56
+ * - `'loading'`: The prompt is currently loading.
57
+ * - `'idle'`: The prompt is loaded and currently waiting for the user to
58
+ * submit an answer.
59
+ * - `'done'`: The user has submitted an answer and the prompt is finished.
60
+ * - `string`: Any other string: The prompt is in a custom state.
79
61
  */
80
- interface ListQuestionOptionsBase<T extends inquirer.Answers, TChoiceMap extends inquirer.Answers> extends inquirer.Question<T> {
81
- /**
82
- * The choices of the prompt.
83
- */
84
- choices?: inquirer.AsyncDynamicQuestionProperty<ReadonlyArray<inquirer.DistinctChoice<TChoiceMap>>, T> | undefined;
85
-
62
+ type Status = 'loading' | 'idle' | 'done' | (string & {});
63
+ type DefaultTheme = {
86
64
  /**
87
- * The number of elements to show on each page.
88
- */
89
- pageSize?: number | undefined;
90
- }
91
-
92
- /**
93
- * Provides components for the module.
94
- */
95
- declare namespace inquirer {
96
- /**
97
- * Represents either a key of `T` or a `string`.
65
+ * Prefix to prepend to the message. If a function is provided, it will be
66
+ * called with the current status of the prompt, and the return value will be
67
+ * used as the prefix.
98
68
  *
99
- * @template T
100
- * The type of the keys to suggest.
101
- */
102
- type KeyUnion<T> = LiteralUnion<Extract<keyof T, string>>;
103
-
104
- /**
105
- * Converts the specified union-type `U` to an intersection-type.
69
+ * @remarks
70
+ * If `status === 'loading'`, this property is ignored and the spinner (styled
71
+ * by the `spinner` property) will be displayed instead.
106
72
  *
107
- * @template U
108
- * The union to convert to an intersection.
73
+ * @defaultValue
74
+ * ```ts
75
+ * // import { styleText } from 'node:util';
76
+ * (status) => status === 'done' ? styleText('green', '✔') : styleText('blue', '?')
77
+ * ```
109
78
  */
110
- type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
111
-
79
+ prefix: string | Prettify<Omit<Record<Status, string>, 'loading'>>;
112
80
  /**
113
- * Provides an input and an output-stream.
81
+ * Configuration for the spinner that is displayed when the prompt is in the
82
+ * `'loading'` state.
83
+ *
84
+ * We recommend the use of {@link https://github.com/sindresorhus/cli-spinners|cli-spinners} for a list of available spinners.
114
85
  */
115
- interface StreamOptions {
86
+ spinner: {
116
87
  /**
117
- * A stream to read the input from.
88
+ * The time interval between frames, in milliseconds.
89
+ *
90
+ * @defaultValue
91
+ * ```ts
92
+ * 80
93
+ * ```
118
94
  */
119
- input?: NodeJS.ReadStream | undefined;
120
-
95
+ interval: number;
121
96
  /**
122
- * A stream to write the output to.
97
+ * A list of frames to show for the spinner.
98
+ *
99
+ * @defaultValue
100
+ * ```ts
101
+ * ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏']
102
+ * ```
123
103
  */
124
- output?: NodeJS.WriteStream | undefined;
125
- }
126
-
104
+ frames: string[];
105
+ };
127
106
  /**
128
- * Provides the functionality to prompt questions to the user.
107
+ * Alternative keybindings enabled for prompt navigation.
108
+ *
109
+ * @defaultValue
110
+ * ```ts
111
+ * process.env['INQUIRER_KEYBINDINGS']
112
+ * ```
129
113
  */
130
- interface PromptModule extends PromptModuleBase {
131
- /**
132
- * The prompts of the prompt-module.
133
- */
134
- prompts: prompts.PromptCollection;
135
-
136
- /**
137
- * Prompts the questions to the user.
138
- */
139
- <T extends Answers = Answers>(questions: QuestionCollection<T>, initialAnswers?: Partial<T>): Promise<T> & { ui: PromptUI<T> };
140
-
114
+ keybindings: ReadonlyArray<Keybinding>;
115
+ /**
116
+ * Object containing functions to style different parts of the prompt.
117
+ */
118
+ style: {
141
119
  /**
142
- * Registers a new prompt-type.
120
+ * Style to apply to the user's answer once it has been submitted.
143
121
  *
144
- * @param name
145
- * The name of the prompt.
122
+ * @param text - The user's answer.
123
+ * @returns The styled answer.
146
124
  *
147
- * @param prompt
148
- * The constructor of the prompt.
125
+ * @defaultValue
126
+ * ```ts
127
+ * // import { styleText } from 'node:util';
128
+ * (text) => styleText('cyan', text)
129
+ * ```
149
130
  */
150
- registerPrompt(name: string, prompt: prompts.PromptConstructor): this;
151
- }
152
-
153
- interface Inquirer extends PromptModuleBase {
131
+ answer: (text: string) => string;
154
132
  /**
155
- * Registers a new prompt-type.
133
+ * Style to apply to the message displayed to the user.
156
134
  *
157
- * @param name
158
- * The name of the prompt.
135
+ * @param text - The message to style.
136
+ * @param status - The current status of the prompt.
137
+ * @returns The styled message.
159
138
  *
160
- * @param prompt
161
- * The constructor of the prompt.
139
+ * @defaultValue
140
+ * ```ts
141
+ * // import { styleText } from 'node:util';
142
+ * (text, status) => styleText('bold', text)
143
+ * ```
162
144
  */
163
- registerPrompt(name: string, prompt: prompts.PromptConstructor): void;
164
-
145
+ message: (text: string, status: Status) => string;
165
146
  /**
166
- * Creates a prompt-module.
147
+ * Style to apply to error messages.
167
148
  *
168
- * @param opt
169
- * The streams for the prompt-module.
149
+ * @param text - The error message.
150
+ * @returns The styled error message.
170
151
  *
171
- * @returns
172
- * The new prompt-module.
152
+ * @defaultValue
153
+ * ```ts
154
+ * // import { styleText } from 'node:util';
155
+ * (text) => styleText('red', `> ${text}`)
156
+ * ```
173
157
  */
174
- createPromptModule(opt?: StreamOptions): PromptModule;
175
-
176
- /**
177
- * The default prompt-module.
178
- */
179
- prompt: PromptModule;
180
-
158
+ error: (text: string) => string;
181
159
  /**
182
- * The prompts of the default prompt-module.
160
+ * Style to apply to the default answer when one is provided.
183
161
  *
184
- * @deprecated
185
- */
186
- prompts: {};
187
-
188
- /**
189
- * Represents a choice-item separator.
190
- */
191
- Separator: typeof Separator;
192
-
193
- /**
194
- * Provides ui-components.
195
- */
196
- ui: {
197
- /**
198
- * Represents the bottom-bar UI.
199
- */
200
- BottomBar: typeof BottomBar;
201
-
202
- /**
203
- * Represents the prompt ui.
204
- */
205
- Prompt: typeof PromptUI;
206
- };
207
- }
208
-
209
- /**
210
- * A set of answers.
211
- */
212
- interface Answers extends Record<string, any> {}
213
-
214
- /**
215
- * Provides the functionality to validate answers.
216
- *
217
- * @template T
218
- * The type of the answers.
219
- */
220
- type Validator<T extends Answers = Answers> = Question<T>['validate'];
221
-
222
- /**
223
- * Provides the functionality to transform an answer.
224
- *
225
- * @template T
226
- * The type of the answers.
227
- */
228
- type Transformer<T extends Answers = Answers> = InputQuestionOptions<T>['transformer'];
229
-
230
- /**
231
- * Represents a dynamic property for a question.
232
- *
233
- * @template T
234
- * The type of the property.
235
- *
236
- * @template TAnswers
237
- * The type of the answers.
238
- */
239
- type DynamicQuestionProperty<T, TAnswers extends Answers = Answers> = T | ((answers: TAnswers) => T);
240
-
241
- /**
242
- * Represents a dynamic property for a question which can be fetched asynchronously.
243
- *
244
- * @template T
245
- * The type of the property.
246
- *
247
- * @template TAnswers
248
- * The type of the answers.
249
- */
250
- type AsyncDynamicQuestionProperty<T, TAnswers extends Answers = Answers> = DynamicQuestionProperty<
251
- T | Promise<T>,
252
- TAnswers
253
- >;
254
-
255
- /**
256
- * Provides options for a question.
257
- *
258
- * @template T
259
- * The type of the answers.
260
- */
261
- interface Question<T extends Answers = Answers> {
262
- /**
263
- * The type of the question.
264
- */
265
- type?: string | undefined;
266
-
267
- /**
268
- * The key to save the answer to the answers-hash.
269
- */
270
- name?: KeyUnion<T> | undefined;
271
-
272
- /**
273
- * The message to show to the user.
274
- */
275
- message?: AsyncDynamicQuestionProperty<string, T> | undefined;
276
-
277
- /**
278
- * The default value of the question.
279
- */
280
- default?: AsyncDynamicQuestionProperty<any, T> | undefined;
281
-
282
- /**
283
- * The prefix of the `message`.
284
- */
285
- prefix?: string | undefined;
286
-
287
- /**
288
- * The suffix of the `message`.
162
+ * @param text - The default answer.
163
+ * @returns The styled default answer.
164
+ *
165
+ * @defaultValue
166
+ * ```ts
167
+ * // import { styleText } from 'node:util';
168
+ * (text) => styleText('dim', `(${text})`)
169
+ * ```
289
170
  */
290
- suffix?: string | undefined;
291
-
171
+ defaultAnswer: (text: string) => string;
292
172
  /**
293
- * Post-processes the answer.
173
+ * Style to apply to help text.
294
174
  *
295
- * @param input
296
- * The answer provided by the user.
175
+ * @param text - The help text.
176
+ * @returns The styled help text.
297
177
  *
298
- * @param answers
299
- * The answers provided by the user.
178
+ * @defaultValue
179
+ * ```ts
180
+ * // import { styleText } from 'node:util';
181
+ * (text) => styleText('dim', text)
182
+ * ```
300
183
  */
301
- filter?(input: any, answers: T): any;
302
-
184
+ help: (text: string) => string;
303
185
  /**
304
- * A value indicating whether the question should be prompted.
305
- */
306
- when?: AsyncDynamicQuestionProperty<boolean, T> | undefined;
307
-
308
- /**
309
- * Validates the integrity of the answer.
186
+ * Style to apply to highlighted text.
310
187
  *
311
- * @param input
312
- * The answer provided by the user.
188
+ * @param text - The text to highlight.
189
+ * @returns The highlighted text.
313
190
  *
314
- * @param answers
315
- * The answers provided by the user.
316
- *
317
- * @returns
318
- * Either a value indicating whether the answer is valid or a `string` which describes the error.
191
+ * @defaultValue
192
+ * ```ts
193
+ * // import { styleText } from 'node:util';
194
+ * (text) => styleText('cyan', text)
195
+ * ```
319
196
  */
320
- validate?(input: any, answers?: T): boolean | string | Promise<boolean | string>;
321
-
197
+ highlight: (text: string) => string;
322
198
  /**
323
- * Force to prompt the question if the answer already exists.
324
- */
325
- askAnswered?: boolean;
326
- }
327
-
328
- /**
329
- * Represents the possible answers of each question in the prompt
330
- */
331
- type QuestionAnswer<T extends Answers = Answers> = {
332
- [K in keyof T]: {
333
- name: K;
334
- answer: T[K]
335
- }
336
- }[keyof T];
337
-
338
- /**
339
- * Represents a choice-item.
340
- */
341
- interface ChoiceBase {
342
- /**
343
- * The type of the choice.
344
- */
345
- type?: string | undefined;
346
- }
347
-
348
- /**
349
- * Provides options for a choice.
350
- */
351
- interface ChoiceOptions extends ChoiceBase {
352
- /**
353
- * @inheritdoc
354
- */
355
- type?: 'choice' | undefined;
356
-
357
- /**
358
- * The name of the choice to show to the user.
359
- */
360
- name?: string | undefined;
361
-
362
- /**
363
- * The value of the choice.
364
- */
365
- value?: any;
366
-
367
- /**
368
- * The short form of the name of the choice.
369
- */
370
- short?: string | undefined;
371
-
372
- /**
373
- * The extra properties of the choice.
374
- */
375
- extra?: any;
376
- }
377
-
378
- /**
379
- * Provides options for a choice of the `ListPrompt`.
380
- *
381
- * @template T
382
- * The type of the answers.
383
- */
384
- interface ListChoiceOptions<T extends Answers = Answers> extends ChoiceOptions {
385
- /**
386
- * A value indicating whether the choice is disabled.
387
- */
388
- disabled?: DynamicQuestionProperty<boolean | string, T> | undefined;
389
- }
390
-
391
- /**
392
- * Provides options for a choice of the `CheckboxPrompt`.
393
- *
394
- * @template T
395
- * The type of the answers.
396
- */
397
- interface CheckboxChoiceOptions<T extends Answers = Answers> extends ListChoiceOptions<T> {
398
- /**
399
- * A value indicating whether the choice should be initially checked.
400
- */
401
- checked?: boolean | undefined;
402
- }
403
-
404
- /**
405
- * Provides options for a choice of the `ExpandPrompt`.
406
- */
407
- interface ExpandChoiceOptions extends ChoiceOptions {
408
- /**
409
- * The key to press for selecting the choice.
410
- */
411
- key?: string | undefined;
412
- }
413
-
414
- /**
415
- * Represents a separator.
416
- */
417
- interface SeparatorOptions extends ChoiceBase {
418
- /**
419
- * Gets the type of the choice.
420
- */
421
- type: 'separator';
422
-
423
- /**
424
- * Gets or sets the text of the separator.
425
- */
426
- line?: string | undefined;
427
- }
428
-
429
- /**
430
- * Provides all valid choice-types for any kind of question.
431
- *
432
- * @template T
433
- * The type of the answers.
434
- */
435
- interface BaseChoiceMap<T extends Answers = Answers> {
436
- Choice: Choice<T>;
437
- ChoiceOptions: ChoiceOptions;
438
- SeparatorOptions: SeparatorOptions;
439
- Separator: Separator;
440
- }
441
-
442
- /**
443
- * Provides all valid choice-types for the `ListQuestion`.
444
- *
445
- * @template T
446
- * The type of the answers.
447
- */
448
- interface ListChoiceMap<T extends Answers = Answers> extends BaseChoiceMap<T> {
449
- ListChoiceOptions: ListChoiceOptions<T>;
450
- }
451
-
452
- /**
453
- * Provides all valid choice-types for the `CheckboxQuestion`.
454
- *
455
- * @template T
456
- * The type of the answers.
457
- */
458
- interface CheckboxChoiceMap<T extends Answers = Answers> extends BaseChoiceMap<T> {
459
- CheckboxChoiceOptions: CheckboxChoiceOptions<T>;
460
- }
461
-
462
- /**
463
- * Provides all valid choice-types for the `ExpandQuestion`.
464
- *
465
- * @template T
466
- * The type of the answers.
467
- */
468
- interface ExpandChoiceMap<T extends Answers = Answers> extends BaseChoiceMap<T> {
469
- ExpandChoiceOptions: ExpandChoiceOptions;
470
- }
471
-
472
- /**
473
- * Provides all valid choice-types.
474
- *
475
- * @template T
476
- * The type of the answers.
477
- */
478
- interface AllChoiceMap<T extends Answers = Answers> {
479
- BaseChoiceMap: BaseChoiceMap<T>[keyof BaseChoiceMap<T>];
480
- ListChoiceMap: ListChoiceMap<T>[keyof ListChoiceMap<T>];
481
- CheckboxChoiceMap: CheckboxChoiceMap<T>[keyof CheckboxChoiceMap<T>];
482
- ExpandChoiceMap: ExpandChoiceMap<T>[keyof ExpandChoiceMap<T>];
483
- }
484
-
485
- /**
486
- * Provides valid choices for the question of the `TChoiceMap`.
487
- *
488
- * @template TAnswers
489
- * The type of the answers.
490
- *
491
- * @template TChoiceMap
492
- * The choice-types to provide.
493
- */
494
- type DistinctChoice<TAnswers extends Answers = Answers, TChoiceMap = AllChoiceMap<TAnswers>> =
495
- | string
496
- | TChoiceMap[keyof TChoiceMap];
497
-
498
- /**
499
- * Represents a set of choices.
500
- *
501
- * @template T
502
- * The type of the answers.
503
- */
504
- type ChoiceCollection<T extends Answers = Answers> = Array<DistinctChoice<AllChoiceMap<T>>>;
505
-
506
- /**
507
- * Provides options for a question for the `InputPrompt`.
508
- *
509
- * @template T
510
- * The type of the answers.
511
- */
512
- interface InputQuestionOptions<T extends Answers = Answers> extends Question<T> {
513
- /**
514
- * Transforms the value to display to the user.
199
+ * Style to apply to keyboard keys referred to in help texts.
515
200
  *
516
- * @param input
517
- * The input provided by the user.
201
+ * @param text - The key to style.
202
+ * @returns The styled key.
518
203
  *
519
- * @param answers
520
- * The answers provided by the users.
521
- *
522
- * @param flags
523
- * Additional information about the value.
524
- *
525
- * @returns
526
- * The value to display to the user.
204
+ * @defaultValue
205
+ * ```ts
206
+ * // import { styleText } from 'node:util';
207
+ * (text) => styleText('cyan', styleText('bold', `<${text}>`))
208
+ * ```
527
209
  */
528
- transformer?(input: any, answers: T, flags: { isFinal?: boolean | undefined }): string | Promise<string>;
529
- }
210
+ key: (text: string) => string;
211
+ };
212
+ };
213
+ type Theme<Extension extends object = object> = Extension & DefaultTheme;
530
214
 
531
- /**
532
- * Provides options for a question for the `InputPrompt`.
533
- *
534
- * @template T
535
- * The type of the answers.
536
- */
537
- interface InputQuestion<T extends Answers = Answers> extends InputQuestionOptions<T> {
538
- /**
539
- * @inheritdoc
540
- */
541
- type?: 'input' | undefined;
542
- }
543
-
544
- /**
545
- * Provides options for a question for the `NumberPrompt`.
546
- *
547
- * @template T
548
- * The type of the answers.
549
- */
550
- interface NumberQuestionOptions<T extends Answers = Answers> extends InputQuestionOptions<T> {}
551
-
552
- /**
553
- * Provides options for a question for the `NumberPrompt`.
554
- *
555
- * @template T
556
- * The type of the answers.
557
- */
558
- interface NumberQuestion<T extends Answers = Answers> extends NumberQuestionOptions<T> {
559
- /**
560
- * @inheritdoc
561
- */
562
- type: 'number';
563
- }
564
-
565
- /**
566
- * Provides options for a question for the `PasswordPrompt`.
567
- *
568
- * @template T
569
- * The type of the answers.
570
- */
571
- interface PasswordQuestionOptions<T extends Answers = Answers> extends InputQuestionOptions<T> {
572
- /**
573
- * The character to replace the user-input.
574
- */
575
- mask?: string | undefined;
576
- }
577
-
578
- /**
579
- * Provides options for a question for the `PasswordPrompt`.
580
- *
581
- * @template T
582
- * The type of the answers.
583
- */
584
- interface PasswordQuestion<T extends Answers = Answers> extends PasswordQuestionOptions<T> {
585
- /**
586
- * @inheritdoc
587
- */
588
- type: 'password';
589
- }
590
-
591
- /**
592
- * Represents a list-based question that can loop.
593
- *
594
- * @template T
595
- * The type of the answers.
596
- *
597
- * @template TChoiceMap
598
- * The valid choices for the question.
599
- */
600
- interface LoopableListQuestionOptionsBase<T extends Answers, TChoiceMap extends Answers> extends ListQuestionOptionsBase<T, TChoiceMap> {
601
- /**
602
- * A value indicating whether choices in a list should be looped.
603
- */
604
- loop?: boolean | undefined;
605
- }
606
-
607
- /**
608
- * Provides options for a question for the `ListPrompt`.
609
- *
610
- * @template T
611
- * The type of the answers.
612
- */
613
- interface ListQuestionOptions<T extends Answers = Answers>
614
- extends LoopableListQuestionOptionsBase<T, ListChoiceMap<T>> {}
615
-
616
- /**
617
- * Provides options for a question for the `ListPrompt`.
618
- *
619
- * @template T
620
- * The type of the answers.
621
- */
622
- interface ListQuestion<T extends Answers = Answers> extends ListQuestionOptions<T> {
623
- /**
624
- * @inheritdoc
625
- */
626
- type: 'list';
627
- }
628
-
629
- /**
630
- * Provides options for a question for the `RawListPrompt`.
631
- *
632
- * @template T
633
- * The type of the answers.
634
- */
635
- interface RawListQuestionOptions<T extends Answers = Answers> extends ListQuestionOptions<T> {}
636
-
637
- /**
638
- * Provides options for a question for the `RawListPrompt`.
639
- *
640
- * @template T
641
- * The type of the answers.
642
- */
643
- interface RawListQuestion<T extends Answers = Answers> extends RawListQuestionOptions<T> {
644
- /**
645
- * @inheritdoc
646
- */
647
- type: 'rawlist';
648
- }
649
-
650
- /**
651
- * Provides options for a question for the `ExpandPrompt`.
652
- *
653
- * @template T
654
- * The type of the answers.
655
- */
656
- interface ExpandQuestionOptions<T extends Answers = Answers>
657
- extends ListQuestionOptionsBase<T, ExpandChoiceMap<T>> {}
658
-
659
- /**
660
- * Provides options for a question for the `ExpandPrompt`.
661
- *
662
- * @template T
663
- * The type of the answers.
664
- */
665
- interface ExpandQuestion<T extends Answers = Answers> extends ExpandQuestionOptions<T> {
666
- /**
667
- * @inheritdoc
668
- */
669
- type: 'expand';
670
- }
671
-
672
- /**
673
- * Provides options for a question for the `CheckboxPrompt`.
674
- *
675
- * @template T
676
- * The type of the answers.
677
- */
678
- interface CheckboxQuestionOptions<T extends Answers = Answers>
679
- extends LoopableListQuestionOptionsBase<T, CheckboxChoiceMap<T>> {}
680
-
681
- /**
682
- * Provides options for a question for the `CheckboxPrompt`.
683
- *
684
- * @template T
685
- * The type of the answers.
686
- */
687
- interface CheckboxQuestion<T extends Answers = Answers> extends CheckboxQuestionOptions<T> {
688
- /**
689
- * @inheritdoc
690
- */
691
- type: 'checkbox';
692
- }
693
-
694
- /**
695
- * Provides options for a question for the `ConfirmPrompt`.
696
- *
697
- * @template T
698
- * The type of the answers.
699
- */
700
- interface ConfirmQuestionOptions<T extends Answers = Answers> extends Question<T> {}
701
-
702
- /**
703
- * Provides options for a question for the `ConfirmPrompt`.
704
- *
705
- * @template T
706
- * The type of the answers.
707
- */
708
- interface ConfirmQuestion<T extends Answers = Answers> extends ConfirmQuestionOptions<T> {
709
- /**
710
- * @inheritdoc
711
- */
712
- type: 'confirm';
713
- }
714
-
715
- /**
716
- * Provides options for a question for the `EditorPrompt`.
717
- *
718
- * @template T
719
- * The type of the answers.
720
- */
721
- interface EditorQuestionOptions<T extends Answers = Answers> extends Question<T> {}
215
+ /**
216
+ * Separator object
217
+ * Used to space/separate choices group
218
+ */
219
+ declare class Separator {
220
+ readonly separator: string;
221
+ readonly type: string;
222
+ constructor(separator?: string);
223
+ static isSeparator(choice: unknown): choice is Separator;
224
+ }
722
225
 
723
- /**
724
- * Provides options for a question for the `EditorPrompt`.
725
- *
726
- * @template T
727
- * The type of the answers.
728
- */
729
- interface EditorQuestion<T extends Answers = Answers> extends EditorQuestionOptions<T> {
730
- /**
731
- * @inheritdoc
732
- */
733
- type: 'editor';
226
+ type CheckboxTheme = {
227
+ icon: {
228
+ checked: string;
229
+ unchecked: string;
230
+ cursor: string;
231
+ disabledChecked: string;
232
+ disabledUnchecked: string;
233
+ };
234
+ style: {
235
+ disabled: (text: string) => string;
236
+ renderSelectedChoices: <T>(selectedChoices: ReadonlyArray<NormalizedChoice<T>>, allChoices: ReadonlyArray<NormalizedChoice<T> | Separator>) => string;
237
+ description: (text: string) => string;
238
+ keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
239
+ };
240
+ i18n: {
241
+ disabledError: string;
242
+ };
243
+ };
244
+ type CheckboxShortcuts = {
245
+ all?: string | null;
246
+ invert?: string | null;
247
+ };
248
+ type Choice$4<Value> = {
249
+ value: Value;
250
+ name?: string;
251
+ checkedName?: string;
252
+ description?: string;
253
+ short?: string;
254
+ disabled?: boolean | string;
255
+ checked?: boolean;
256
+ type?: never;
257
+ };
258
+ type NormalizedChoice<Value> = {
259
+ value: Value;
260
+ name: string;
261
+ checkedName: string;
262
+ description?: string;
263
+ short: string;
264
+ disabled: boolean | string;
265
+ checked: boolean;
266
+ };
267
+ type CheckboxConfig<Value = string> = {
268
+ message: string;
269
+ prefix?: string;
270
+ pageSize?: number;
271
+ choices: ReadonlyArray<Value | Choice$4<Value> | Separator>;
272
+ loop?: boolean;
273
+ required?: boolean;
274
+ validate?: (choices: readonly NormalizedChoice<Value>[]) => boolean | string | Promise<string | boolean>;
275
+ theme?: PartialDeep<Theme<CheckboxTheme>>;
276
+ shortcuts?: CheckboxShortcuts;
277
+ };
278
+ declare const _default$8: <const Value>(config: {
279
+ message: string;
280
+ prefix?: string | undefined;
281
+ pageSize?: number | undefined;
282
+ choices: readonly (Separator | Value | Choice$4<Value>)[];
283
+ loop?: boolean | undefined;
284
+ required?: boolean | undefined;
285
+ validate?: ((choices: readonly NormalizedChoice<Value>[]) => boolean | string | Promise<string | boolean>) | undefined;
286
+ theme?: PartialDeep<Theme<CheckboxTheme>> | undefined;
287
+ shortcuts?: CheckboxShortcuts | undefined;
288
+ } & CheckboxConfig<Value>, context?: Context) => Promise<Value[]>;
289
+
290
+ type FileOptions = {
291
+ prefix?: string;
292
+ postfix?: string;
293
+ mode?: number;
294
+ template?: string;
295
+ dir?: string;
296
+ };
297
+
298
+ type EditorTheme = {
299
+ validationFailureMode: 'keep' | 'clear';
300
+ style: {
301
+ loadingMessage: () => string;
302
+ waitingMessage: (enterKey: string) => string;
303
+ };
304
+ };
305
+ type EditorConfig = {
306
+ message: string;
307
+ default?: string | undefined;
308
+ postfix?: string;
309
+ waitForUserInput?: boolean;
310
+ validate?: (value: string) => boolean | string | Promise<string | boolean>;
311
+ file?: FileOptions;
312
+ theme?: PartialDeep<Theme<EditorTheme>>;
313
+ };
314
+ declare const _default$7: Prompt<string, {
315
+ message: string;
316
+ default?: string | undefined | undefined;
317
+ postfix?: string | undefined;
318
+ waitForUserInput?: boolean | undefined;
319
+ validate?: ((value: string) => boolean | string | Promise<string | boolean>) | undefined;
320
+ file?: FileOptions | undefined;
321
+ theme?: PartialDeep<Theme<EditorTheme>> | undefined;
322
+ } & EditorConfig>;
323
+
324
+ type ConfirmConfig = {
325
+ message: string;
326
+ default?: boolean | undefined;
327
+ transformer?: (value: boolean) => string;
328
+ theme?: PartialDeep<Theme<ConfirmTheme>>;
329
+ };
330
+ type ConfirmTheme = {
331
+ /**
332
+ * Words accepted as "yes" and "no" answers. Matching is prefix-based and
333
+ * case-insensitive, and the first character of each word is shown in the
334
+ * hint. These words are also displayed once the prompt is answered.
335
+ * Regardless of these keywords, the built-in `y`/`n`/`yes`/`no` answers are
336
+ * always accepted.
337
+ */
338
+ keywords: {
339
+ yes: string;
340
+ no: string;
341
+ /**
342
+ * Message shown when the submitted input matches no keyword. Receives the
343
+ * yes/no keywords; this is how `@inquirer/i18n` localizes the message.
344
+ */
345
+ error: (keywords: {
346
+ yes: string;
347
+ no: string;
348
+ }) => string;
349
+ };
350
+ style: {
351
+ /**
352
+ * Style the character representing the default answer in the hint (e.g.
353
+ * "Y/n"). Uppercases it by default; scripts without case (e.g. Chinese)
354
+ * are highlighted with a color instead.
355
+ */
356
+ confirmDefault: (text: string) => string;
357
+ };
358
+ };
359
+ declare const _default$6: Prompt<boolean, {
360
+ message: string;
361
+ default?: boolean | undefined | undefined;
362
+ transformer?: ((value: boolean) => string) | undefined;
363
+ theme?: PartialDeep<Theme<ConfirmTheme>> | undefined;
364
+ } & ConfirmConfig>;
365
+
366
+ type InputTheme = {
367
+ validationFailureMode: 'keep' | 'clear';
368
+ };
369
+ type InputConfig = {
370
+ message: string;
371
+ default?: string | undefined;
372
+ prefill?: 'tab' | 'editable';
373
+ required?: boolean;
374
+ transformer?: (value: string, { isFinal }: {
375
+ isFinal: boolean;
376
+ }) => string;
377
+ validate?: (value: string) => boolean | string | Promise<string | boolean>;
378
+ theme?: PartialDeep<Theme<InputTheme>>;
379
+ pattern?: RegExp;
380
+ patternError?: string;
381
+ };
382
+ declare const _default$5: Prompt<string, {
383
+ message: string;
384
+ default?: string | undefined | undefined;
385
+ prefill?: "tab" | "editable" | undefined;
386
+ required?: boolean | undefined;
387
+ transformer?: ((value: string, { isFinal }: {
388
+ isFinal: boolean;
389
+ }) => string) | undefined;
390
+ validate?: ((value: string) => boolean | string | Promise<string | boolean>) | undefined;
391
+ theme?: PartialDeep<Theme<InputTheme>> | undefined;
392
+ pattern?: RegExp | undefined;
393
+ patternError?: string | undefined;
394
+ } & InputConfig>;
395
+
396
+ type NumberConfig<Required extends boolean = boolean> = {
397
+ message: string;
398
+ default?: number | undefined;
399
+ min?: number;
400
+ max?: number;
401
+ step?: number | 'any';
402
+ required?: Required;
403
+ validate?: (value: Required extends true ? number : number | undefined) => boolean | string | Promise<string | boolean>;
404
+ theme?: PartialDeep<Theme>;
405
+ };
406
+ declare const _default$4: <Required extends boolean>(config: {
407
+ message: string;
408
+ default?: number | undefined | undefined;
409
+ min?: number | undefined;
410
+ max?: number | undefined;
411
+ step?: number | "any" | undefined;
412
+ required?: Required | undefined;
413
+ validate?: ((value: Required extends true ? number : number | undefined) => boolean | string | Promise<string | boolean>) | undefined;
414
+ theme?: PartialDeep<Theme> | undefined;
415
+ } & NumberConfig<Required>, context?: Context) => Promise<Required extends true ? number : number | undefined>;
416
+
417
+ type Key = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'i' | 'j' | 'k' | 'l' | 'm' | 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
418
+ type Choice$3<Value> = {
419
+ key: Key;
420
+ value: Value;
421
+ } | {
422
+ key: Key;
423
+ name: string;
424
+ value: Value;
425
+ };
426
+ type ExpandConfig<Value = string> = {
427
+ message: string;
428
+ choices: readonly (Separator | {
429
+ key: Key;
430
+ name: Value & string;
431
+ value?: never;
432
+ } | Choice$3<Value>)[];
433
+ default?: Key | 'h';
434
+ expanded?: boolean;
435
+ theme?: PartialDeep<Theme>;
436
+ };
437
+ declare const expand: <const Value>(config: {
438
+ message: string;
439
+ choices: readonly (Separator | {
440
+ key: Key;
441
+ name: Value & string;
442
+ value?: never;
443
+ } | Choice$3<Value>)[];
444
+ default?: (Key | "h") | undefined;
445
+ expanded?: boolean | undefined;
446
+ theme?: PartialDeep<Theme> | undefined;
447
+ } & ExpandConfig<Value>, context?: Context) => Promise<Value>;
448
+
449
+ type RawlistTheme = {
450
+ style: {
451
+ description: (text: string) => string;
452
+ };
453
+ };
454
+ type Choice$2<Value> = {
455
+ value: Value;
456
+ name?: string;
457
+ short?: string;
458
+ key?: string;
459
+ description?: string;
460
+ };
461
+ type RawlistConfig<Value> = {
462
+ message: string;
463
+ choices: ReadonlyArray<Value | Choice$2<Value> | Separator>;
464
+ loop?: boolean;
465
+ theme?: PartialDeep<Theme<RawlistTheme>>;
466
+ default?: NoInfer<Value>;
467
+ };
468
+ declare const _default$3: <const Value>(config: {
469
+ message: string;
470
+ choices: readonly (Separator | Value | Choice$2<Value>)[];
471
+ loop?: boolean | undefined;
472
+ theme?: PartialDeep<Theme<RawlistTheme>> | undefined;
473
+ default?: NoInfer<Value> | undefined;
474
+ } & RawlistConfig<Value>, context?: Context) => Promise<Value>;
475
+
476
+ type PasswordTheme = {
477
+ style: {
478
+ maskedText: string;
479
+ keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
480
+ };
481
+ };
482
+ type PasswordConfig = {
483
+ message: string;
484
+ mask?: boolean | string;
485
+ toggleMask?: boolean;
486
+ validate?: (value: string) => boolean | string | Promise<string | boolean>;
487
+ theme?: PartialDeep<Theme<PasswordTheme>>;
488
+ };
489
+ declare const _default$2: Prompt<string, {
490
+ message: string;
491
+ mask?: boolean | string | undefined;
492
+ toggleMask?: boolean | undefined;
493
+ validate?: ((value: string) => boolean | string | Promise<string | boolean>) | undefined;
494
+ theme?: PartialDeep<Theme<PasswordTheme>> | undefined;
495
+ } & PasswordConfig>;
496
+
497
+ type SearchTheme = {
498
+ icon: {
499
+ cursor: string;
500
+ };
501
+ style: {
502
+ disabled: (text: string) => string;
503
+ searchTerm: (text: string) => string;
504
+ description: (text: string) => string;
505
+ keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
506
+ };
507
+ };
508
+ type Choice$1<Value> = {
509
+ value: Value;
510
+ name?: string;
511
+ description?: string;
512
+ short?: string;
513
+ disabled?: boolean | string;
514
+ type?: never;
515
+ };
516
+ type SearchConfig<Value = string> = {
517
+ message: string;
518
+ source: (term: string | undefined, opt: {
519
+ signal: AbortSignal;
520
+ }) => ReadonlyArray<Value | Choice$1<Value> | Separator> | Promise<ReadonlyArray<Value | Choice$1<Value> | Separator>>;
521
+ validate?: (value: Value) => boolean | string | Promise<string | boolean>;
522
+ pageSize?: number;
523
+ default?: NoInfer<Value>;
524
+ initialValue?: string;
525
+ theme?: PartialDeep<Theme<SearchTheme>>;
526
+ };
527
+ declare const _default$1: <const Value>(config: {
528
+ message: string;
529
+ source: (term: string | undefined, opt: {
530
+ signal: AbortSignal;
531
+ }) => readonly (Separator | Value | Choice$1<Value>)[] | Promise<readonly (Separator | Value | Choice$1<Value>)[]>;
532
+ validate?: ((value: Value) => boolean | string | Promise<string | boolean>) | undefined;
533
+ pageSize?: number | undefined;
534
+ default?: NoInfer<Value> | undefined;
535
+ initialValue?: string | undefined;
536
+ theme?: PartialDeep<Theme<SearchTheme>> | undefined;
537
+ } & SearchConfig<Value>, context?: Context) => Promise<Value>;
538
+
539
+ type SelectTheme = {
540
+ icon: {
541
+ cursor: string;
542
+ };
543
+ style: {
544
+ disabled: (text: string) => string;
545
+ description: (text: string) => string;
546
+ keysHelpTip: (keys: [key: string, action: string][]) => string | undefined;
547
+ };
548
+ i18n: {
549
+ disabledError: string;
550
+ };
551
+ indexMode: 'hidden' | 'number';
552
+ };
553
+ type Choice<Value> = {
554
+ value: Value;
555
+ name?: string;
556
+ description?: string;
557
+ short?: string;
558
+ disabled?: boolean | string;
559
+ type?: never;
560
+ };
561
+ type SelectConfig<Value> = {
562
+ message: string;
563
+ choices: ReadonlyArray<Value | Choice<Value> | Separator>;
564
+ pageSize?: number;
565
+ loop?: boolean;
566
+ default?: NoInfer<Value>;
567
+ theme?: PartialDeep<Theme<SelectTheme>>;
568
+ };
569
+ declare const _default: <const Value>(config: {
570
+ message: string;
571
+ choices: readonly (Separator | Value | Choice<Value>)[];
572
+ pageSize?: number | undefined;
573
+ loop?: boolean | undefined;
574
+ default?: NoInfer<Value> | undefined;
575
+ theme?: PartialDeep<Theme<SelectTheme>> | undefined;
576
+ } & SelectConfig<Value>, context?: Context) => Promise<Value>;
577
+
578
+ type NextHandler<T> = (value: T) => void;
579
+ type ErrorHandler = (error: unknown) => void;
580
+ type CompleteHandler = () => void;
581
+ declare global {
582
+ interface SymbolConstructor {
583
+ readonly observable: symbol;
734
584
  }
735
-
585
+ }
586
+ type Observer<T> = {
587
+ next?: NextHandler<T>;
588
+ error?: ErrorHandler;
589
+ complete?: CompleteHandler;
590
+ };
591
+ type SubscriptionLike = {
592
+ closed?: boolean;
593
+ unsubscribe: () => void;
594
+ };
595
+ type Observable<T> = {
596
+ subscribe: {
597
+ (observer: Observer<T>): SubscriptionLike;
598
+ (next?: NextHandler<T> | null, error?: ErrorHandler | null, complete?: CompleteHandler | null): SubscriptionLike;
599
+ };
600
+ };
601
+ type InteropObservable<T> = Observable<T> & AsyncIterable<T> & {
602
+ readonly [Symbol.observable]: () => Observable<T>;
603
+ readonly '@@observable': () => Observable<T>;
604
+ };
605
+
606
+ type Answers<Key extends string = string> = Record<Key, any>;
607
+ type NoInfer$1<T> = [T][T extends any ? 0 : never];
608
+ type UnionToIntersection<U> = (U extends unknown ? (arg: U) => void : never) extends (arg: infer I) => void ? I : never;
609
+ type EmptyRecord = Record<string, never>;
610
+ type DotPathRecord<Path extends string, Value> = Path extends `${infer Head}.${infer Rest}` ? Head extends '' ? EmptyRecord : {
611
+ [K in Head]: DotPathRecord<Rest, Value>;
612
+ } : Path extends '' ? EmptyRecord : {
613
+ [K in Path]: Value;
614
+ };
615
+ type NormalizeAnswers<A extends Answers> = string extends keyof A ? A : Extract<keyof A, string> extends never ? EmptyRecord : Prettify<UnionToIntersection<{
616
+ [Key in Extract<keyof A, string>]: DotPathRecord<Key, [
617
+ A[Key]
618
+ ] extends [never] ? any : A[Key]>;
619
+ }[Extract<keyof A, string>]>>;
620
+ type Mutable<T> = {
621
+ -readonly [K in keyof T]: T[K];
622
+ };
623
+ type WidenAnswerLiterals<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends bigint ? bigint : T extends symbol ? symbol : T extends ReadonlyArray<infer U> ? ReadonlyArray<WidenAnswerLiterals<U>> : T extends Array<infer U> ? Array<WidenAnswerLiterals<U>> : T extends Record<string, unknown> ? {
624
+ [K in keyof Mutable<T>]: Mutable<T>[K] extends infer V ? V extends undefined ? never : WidenAnswerLiterals<V> : never;
625
+ } : T;
626
+ type MergeAnswerObjects<Base, Override> = Prettify<Omit<Base, keyof Override> & Override>;
627
+ type AsyncGetterFunction<T, A extends Answers> = (this: {
628
+ async: () => (...args: [error: null | undefined, value: T] | [error: Error, value: undefined]) => void;
629
+ }, answers: NoInfer$1<Partial<A>>) => void | T | Promise<T>;
630
+ type MaybeAsyncValue<T, A extends Answers> = T | AsyncGetterFunction<T, A>;
631
+ /**
632
+ * Allows to inject a custom question type into inquirer module.
633
+ *
634
+ * @example
635
+ * ```ts
636
+ * declare module 'inquirer' {
637
+ * interface QuestionMap {
638
+ * custom: { message: string };
639
+ * }
640
+ * }
641
+ * ```
642
+ *
643
+ * Globally defined question types are not correct.
644
+ */
645
+ interface QuestionMap {
646
+ __dummy: {
647
+ message: string;
648
+ };
649
+ }
650
+ type KeyValueOrAsyncGetterFunction<T, k extends string, A extends Answers> = T extends Record<string, any> ? MaybeAsyncValue<T[k], A> : never;
651
+ type Question<A extends Answers = Answers, Type extends string = string> = {
652
+ type?: Type;
653
+ name: string;
654
+ message: MaybeAsyncValue<string, A>;
655
+ default?: any;
656
+ choices?: any;
657
+ validate?: (value: any, answers: NoInfer$1<Partial<A>>) => boolean | string | Promise<boolean | string>;
658
+ filter?: (answer: any, answers: NoInfer$1<Partial<A>>) => any;
659
+ askAnswered?: boolean;
660
+ when?: MaybeAsyncValue<boolean, A>;
661
+ };
662
+ type QuestionWithGetters<Type extends string, Q extends Record<string, any>, A extends Answers> = DistributiveMerge<Q, {
663
+ type: Type;
664
+ askAnswered?: boolean;
665
+ when?: MaybeAsyncValue<boolean, A>;
666
+ filter?(input: any, answers: NoInfer$1<A>): any;
667
+ message: KeyValueOrAsyncGetterFunction<Q, 'message', A>;
668
+ default?: KeyValueOrAsyncGetterFunction<Q, 'default', A>;
669
+ choices?: KeyValueOrAsyncGetterFunction<Q, 'choices', A>;
670
+ }>;
671
+ type UnnamedDistinctQuestion<A extends Answers = object> = QuestionWithGetters<'checkbox', Parameters<typeof _default$8>[0] & {
672
+ default: unknown[];
673
+ }, A> | QuestionWithGetters<'confirm', Parameters<typeof _default$6>[0], A> | QuestionWithGetters<'editor', Parameters<typeof _default$7>[0], A> | QuestionWithGetters<'expand', Parameters<typeof expand>[0], A> | QuestionWithGetters<'input', Parameters<typeof _default$5>[0], A> | QuestionWithGetters<'number', Parameters<typeof _default$4>[0], A> | QuestionWithGetters<'password', Parameters<typeof _default$2>[0], A> | QuestionWithGetters<'rawlist', Parameters<typeof _default$3>[0], A> | QuestionWithGetters<'search', Parameters<typeof _default$1>[0], A> | QuestionWithGetters<'select', Parameters<typeof _default>[0], A>;
674
+ type CustomQuestion<A extends Answers, Q extends Record<string, Record<string, any>>> = {
675
+ [key in Extract<keyof Q, string>]: Readonly<QuestionWithGetters<key, Q[key], A>>;
676
+ }[Extract<keyof Q, string>];
677
+ type PromptModuleSpecificQuestion<A extends Answers, Prompts extends Record<string, Record<string, any>> = never> = UnnamedDistinctQuestion<A> | CustomQuestion<A, Prompts>;
678
+ type PromptModuleNamedQuestion<A extends Answers, Prompts extends Record<string, Record<string, any>> = never, Flat extends Answers = A> = PromptModuleSpecificQuestion<A, Prompts> & {
679
+ name: Extract<keyof Flat, string>;
680
+ };
681
+ type DistinctQuestion<A extends Answers = Answers> = PromptModuleNamedQuestion<A>;
682
+ type PromptSession<A extends Answers = Answers, Q extends Question<A> = Question<A>> = readonly Q[] | Record<string, Omit<Q, 'name'>> | Observable<Q> | Q;
683
+ type QuestionSequence<Q> = Q | readonly Q[] | Observable<Q>;
684
+ type MergedAnswers<A extends Answers, Prefilled extends Answers> = MergeAnswerObjects<NormalizeAnswers<A>, WidenAnswerLiterals<Prefilled>>;
685
+ type DictionaryAnswers<A extends Answers, Prefilled extends Answers> = MergeAnswerObjects<NormalizeAnswers<Answers<Extract<keyof A, string>>>, WidenAnswerLiterals<Prefilled>>;
686
+ type PromptModulePublicQuestion<A extends Answers, Flat extends Answers = A> = {
687
+ type?: 'input' | 'confirm' | 'editor' | 'password' | 'number' | 'rawlist' | 'expand' | 'checkbox' | 'search' | 'select';
688
+ name: Extract<keyof Flat, string>;
689
+ message: MaybeAsyncValue<string, A>;
690
+ default?: unknown;
691
+ choices?: unknown;
692
+ filter?: (input: any, answers: NoInfer$1<Partial<A>>) => any;
693
+ askAnswered?: boolean;
694
+ when?: MaybeAsyncValue<boolean, A>;
695
+ } & Record<string, unknown>;
696
+ type StreamOptions = Prettify<Context & {
697
+ skipTTYChecks?: boolean;
698
+ }>;
699
+
700
+ interface PromptBase {
701
+ /**
702
+ * Runs the prompt.
703
+ *
704
+ * @returns
705
+ * The result of the prompt.
706
+ */
707
+ run(): Promise<any>;
708
+ }
709
+ /**
710
+ * Provides the functionality to initialize new prompts.
711
+ */
712
+ interface LegacyPromptConstructor {
736
713
  /**
737
- * Provides the available question-types.
714
+ * Initializes a new instance of a prompt.
738
715
  *
739
- * @template T
740
- * The type of the answers.
741
- */
742
- interface QuestionMap<T extends Answers = Answers> {
743
- /**
744
- * The `InputQuestion` type.
745
- */
746
- input: InputQuestion<T>;
747
-
748
- /**
749
- * The `NumberQuestion` type.
750
- */
751
- number: NumberQuestion<T>;
752
-
753
- /**
754
- * The `PasswordQuestion` type.
755
- */
756
- password: PasswordQuestion<T>;
757
-
758
- /**
759
- * The `ListQuestion` type.
760
- */
761
- list: ListQuestion<T>;
762
-
763
- /**
764
- * The `RawListQuestion` type.
765
- */
766
- rawList: RawListQuestion<T>;
767
-
768
- /**
769
- * The `ExpandQuestion` type.
770
- */
771
- expand: ExpandQuestion<T>;
772
-
773
- /**
774
- * The `CheckboxQuestion` type.
775
- */
776
- checkbox: CheckboxQuestion<T>;
777
-
778
- /**
779
- * The `ConfirmQuestion` type.
780
- */
781
- confirm: ConfirmQuestion<T>;
782
-
783
- /**
784
- * The `EditorQuestion` type.
785
- */
786
- editor: EditorQuestion<T>;
787
- }
788
-
789
- /**
790
- * Represents one of the available questions.
716
+ * @param question
717
+ * The question to prompt.
791
718
  *
792
- * @template T
793
- * The type of the answers.
794
- */
795
- type DistinctQuestion<T extends Answers = Answers> = QuestionMap<T>[keyof QuestionMap<T>];
796
-
797
- /**
798
- * Indicates the type of a question
799
- */
800
- type QuestionTypeName = DistinctQuestion['type'];
801
-
802
- /**
803
- * Represents a collection of questions.
719
+ * @param readLine
720
+ * An object for reading from the command-line.
804
721
  *
805
- * @template T
806
- * The type of the answers.
807
- */
808
- type QuestionCollection<T extends Answers = Answers> =
809
- | DistinctQuestion<T>
810
- | ReadonlyArray<DistinctQuestion<T>>
811
- | Observable<DistinctQuestion<T>>;
812
-
813
- /**
814
- * Provides components for the prompts.
722
+ * @param answers
723
+ * The answers provided by the user.
815
724
  */
816
- namespace prompts {
817
- /**
818
- * Provides a base for and prompt-options.
819
- *
820
- * @template T
821
- * The type of the answers.
822
- */
823
- type PromptOptions<T extends Question = Question> = T & {
824
- /**
825
- * The choices of the prompt.
826
- */
827
- choices: Choices;
828
- };
829
-
830
- /**
831
- * Represents the state of a prompt.
832
- */
833
- type PromptState = LiteralUnion<'pending' | 'idle' | 'loading' | 'answered' | 'done'>;
834
-
835
- /**
836
- * Represents a prompt.
837
- */
838
- interface PromptBase {
839
- /**
840
- * Gets or sets a string which represents the state of the prompt.
841
- */
842
- status: PromptState;
843
-
844
- /**
845
- * Runs the prompt.
846
- *
847
- * @returns
848
- * The result of the prompt.
849
- */
850
- run(): Promise<any>;
851
- }
852
-
853
- /**
854
- * Provides the functionality to initialize new prompts.
855
- */
856
- interface PromptConstructor {
857
- /**
858
- * Initializes a new instance of a prompt.
859
- *
860
- * @param question
861
- * The question to prompt.
862
- *
863
- * @param readLine
864
- * An object for reading from the command-line.
865
- *
866
- * @param answers
867
- * The answers provided by the user.
868
- */
869
- new (question: any, readLine: ReadlineInterface, answers: Answers): PromptBase;
870
- }
871
-
872
- /**
873
- * Provides a set of prompt-constructors.
874
- */
875
- type PromptCollection = Record<string, PromptConstructor>;
876
-
877
- /**
878
- * Provides data about the state of a prompt.
879
- */
880
- interface PromptStateData {
881
- /**
882
- * Either a string which describes the error of the prompt or a boolean indicating whether the prompt-value is valid.
883
- */
884
- isValid: string | boolean;
885
- }
886
-
887
- /**
888
- * Provides data about the successful state of a prompt.
889
- *
890
- * @param T
891
- * The type of the answer.
892
- */
893
- interface SuccessfulPromptStateData<T = any> extends PromptStateData {
894
- /**
895
- * @inheritdoc
896
- */
897
- isValid: true;
898
-
899
- /**
900
- * The value of the prompt.
901
- */
902
- value: T;
903
- }
904
-
905
- /**
906
- * Provides data about the failed state of a prompt.
907
- */
908
- interface FailedPromptStateData extends PromptStateData {
909
- /**
910
- * @inheritdoc
911
- */
912
- isValid: false | string;
913
- }
914
-
915
- /**
916
- * Provides pipes for handling events of a prompt.
917
- *
918
- * @param T
919
- * The type of the answer.
920
- */
921
- interface PromptEventPipes<T = any> {
922
- /**
923
- * A pypeline for succesful inputs.
924
- */
925
- success: Observable<SuccessfulPromptStateData<T>>;
926
-
927
- /**
928
- * An object representing an error.
929
- */
930
- error: Observable<FailedPromptStateData>;
931
- }
932
- }
933
-
934
- /**
935
- * Provides components for the ui.
936
- */
937
- namespace ui {
938
- /**
939
- * Provides options for the bottom-bar UI.
940
- */
941
- interface BottomBarOptions extends StreamOptions {
942
- /**
943
- * The initial text to display.
944
- */
945
- bottomBar?: string | undefined;
946
- }
947
-
948
- /**
949
- * Represents a fetched answer.
950
- *
951
- * @template T
952
- * The type of the answers.
953
- */
954
- type FetchedQuestion<T extends Answers = Answers> = DistinctQuestion<T> & {
955
- /**
956
- * The type of the question.
957
- */
958
- type: string;
959
-
960
- /**
961
- * The message to show to the user.
962
- */
963
- message: string;
964
-
965
- /**
966
- * The default value of the question.
967
- */
968
- default: any;
969
-
970
- /**
971
- * The choices of the question.
972
- */
973
- choices: ChoiceCollection<T>;
974
- };
725
+ new (question: any, readLine: InquirerReadline, answers: Record<string, any>): PromptBase;
726
+ }
727
+ type PromptFn<Value = any, Config = any> = (config: Config, context: StreamOptions & {
728
+ signal: AbortSignal;
729
+ }) => Promise<Value>;
730
+ /**
731
+ * Provides a set of prompt-constructors.
732
+ */
733
+ type PromptCollection = Record<string, PromptFn | LegacyPromptConstructor>;
734
+ type AnswerEvent = {
735
+ name: string;
736
+ answer: unknown;
737
+ };
738
+ /**
739
+ * Base interface class other can inherits from
740
+ */
741
+ declare class PromptsRunner<A extends Answers> {
742
+ private prompts;
743
+ answers: Partial<A>;
744
+ process: InteropObservable<AnswerEvent>;
745
+ private abortController;
746
+ private opt;
747
+ constructor(prompts: PromptCollection, opt?: StreamOptions);
748
+ run(questions: PromptSession<A>, answers?: Partial<A>): Promise<A>;
749
+ private getQuestions;
750
+ private prepareQuestion;
751
+ private fetchAnswer;
752
+ /**
753
+ * Close the interface and cleanup listeners
754
+ */
755
+ close: () => void;
756
+ private shouldRun;
757
+ }
975
758
 
976
- /**
977
- * Represents a fetched answer.
978
- */
979
- interface FetchedAnswer {
980
- /**
981
- * The name of the answer.
982
- */
983
- name: string;
759
+ /**
760
+ * Inquirer.js
761
+ * A collection of common interactive command line user interfaces.
762
+ */
984
763
 
985
- /**
986
- * The value of the answer.
987
- */
988
- answer: any;
989
- }
990
- }
991
- }
764
+ type PublicQuestions<A extends Answers, Prefilled extends Answers> = QuestionSequence<PromptModulePublicQuestion<MergedAnswers<A, Prefilled>, A>>;
765
+ type InternalQuestions<A extends Answers, Prefilled extends Answers, Prompts extends Record<string, Record<string, unknown>>> = QuestionSequence<PromptModuleNamedQuestion<MergedAnswers<A, Prefilled>, Prompts, A>>;
766
+ type QuestionsDictionary<A extends Answers, Prefilled extends Answers, Prompts extends Record<string, Record<string, unknown>>> = {
767
+ [name in keyof A]: PromptModuleSpecificQuestion<MergedAnswers<A, Prefilled>, Prompts>;
768
+ };
769
+ type PromptModuleApi<Prompts extends Record<string, Record<string, unknown>> = never> = {
770
+ <const A extends Answers, const Prefilled extends Answers = object>(questions: PublicQuestions<A, Prefilled> | InternalQuestions<A, Prefilled, Prompts>, answers?: Prefilled): PromptReturnType<MergedAnswers<A, Prefilled>>;
771
+ <const A extends Answers, const Prefilled extends Answers = object>(questions: QuestionsDictionary<A, Prefilled, Prompts>, answers?: Prefilled): PromptReturnType<DictionaryAnswers<A, Prefilled>>;
772
+ <A extends Answers>(questions: PromptSession<A>, answers?: Partial<A>): PromptReturnType<A>;
773
+ } & {
774
+ prompts: PromptCollection;
775
+ registerPrompt(name: string, prompt: LegacyPromptConstructor | PromptFn): PromptModuleApi<Prompts>;
776
+ restoreDefaultPrompts(): void;
777
+ };
992
778
 
779
+ type PromptReturnType<T extends Answers> = Promise<T> & {
780
+ ui: PromptsRunner<T>;
781
+ };
993
782
  /**
994
- * Provides the functionality to prompt questions.
783
+ * Create a new self-contained prompt module.
995
784
  */
996
- declare var inquirer: inquirer.Inquirer;
997
- export = inquirer;
785
+ declare function createPromptModule<Prompts extends Record<string, Record<string, unknown>> = never>(opt?: StreamOptions): PromptModuleApi<Prompts>;
786
+ declare function registerPrompt(name: string, newPrompt: LegacyPromptConstructor): void;
787
+ declare function restoreDefaultPrompts(): void;
788
+ declare const inquirer: {
789
+ prompt: PromptModuleApi<Omit<QuestionMap, "__dummy">>;
790
+ ui: {
791
+ Prompt: typeof PromptsRunner;
792
+ };
793
+ createPromptModule: typeof createPromptModule;
794
+ registerPrompt: typeof registerPrompt;
795
+ restoreDefaultPrompts: typeof restoreDefaultPrompts;
796
+ Separator: typeof Separator;
797
+ };
798
+
799
+ export { createPromptModule, inquirer as default };
800
+ export type { Answers, DistinctQuestion, PromptSession, Question, QuestionMap };