mimo-reasonix 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1239) hide show
  1. package/dist/cli/package.json +1 -1
  2. package/node_modules/@alcalzone/ansi-tokenize/LICENSE +21 -0
  3. package/node_modules/@alcalzone/ansi-tokenize/README.md +278 -0
  4. package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.d.ts +7 -0
  5. package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js +57 -0
  6. package/node_modules/@alcalzone/ansi-tokenize/build/ansiCodes.js.map +1 -0
  7. package/node_modules/@alcalzone/ansi-tokenize/build/consts.d.ts +17 -0
  8. package/node_modules/@alcalzone/ansi-tokenize/build/consts.js +28 -0
  9. package/node_modules/@alcalzone/ansi-tokenize/build/consts.js.map +1 -0
  10. package/node_modules/@alcalzone/ansi-tokenize/build/diff.d.ts +6 -0
  11. package/node_modules/@alcalzone/ansi-tokenize/build/diff.js +26 -0
  12. package/node_modules/@alcalzone/ansi-tokenize/build/diff.js.map +1 -0
  13. package/node_modules/@alcalzone/ansi-tokenize/build/index.d.ts +6 -0
  14. package/node_modules/@alcalzone/ansi-tokenize/build/index.js +7 -0
  15. package/node_modules/@alcalzone/ansi-tokenize/build/index.js.map +1 -0
  16. package/node_modules/@alcalzone/ansi-tokenize/build/reduce.d.ts +5 -0
  17. package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js +37 -0
  18. package/node_modules/@alcalzone/ansi-tokenize/build/reduce.js.map +1 -0
  19. package/node_modules/@alcalzone/ansi-tokenize/build/styledChars.d.ts +6 -0
  20. package/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js +38 -0
  21. package/node_modules/@alcalzone/ansi-tokenize/build/styledChars.js.map +1 -0
  22. package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.d.ts +16 -0
  23. package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js +194 -0
  24. package/node_modules/@alcalzone/ansi-tokenize/build/tokenize.js.map +1 -0
  25. package/node_modules/@alcalzone/ansi-tokenize/build/undo.d.ts +3 -0
  26. package/node_modules/@alcalzone/ansi-tokenize/build/undo.js +11 -0
  27. package/node_modules/@alcalzone/ansi-tokenize/build/undo.js.map +1 -0
  28. package/node_modules/@alcalzone/ansi-tokenize/package.json +55 -0
  29. package/node_modules/ansi-regex/index.d.ts +33 -0
  30. package/node_modules/ansi-regex/index.js +14 -0
  31. package/node_modules/ansi-regex/license +9 -0
  32. package/node_modules/ansi-regex/package.json +61 -0
  33. package/node_modules/ansi-regex/readme.md +66 -0
  34. package/node_modules/ansi-styles/index.d.ts +236 -0
  35. package/node_modules/ansi-styles/index.js +223 -0
  36. package/node_modules/ansi-styles/license +9 -0
  37. package/node_modules/ansi-styles/package.json +54 -0
  38. package/node_modules/ansi-styles/readme.md +173 -0
  39. package/node_modules/auto-bind/index.d.ts +50 -0
  40. package/node_modules/auto-bind/index.js +41 -0
  41. package/node_modules/auto-bind/license +9 -0
  42. package/node_modules/auto-bind/package.json +51 -0
  43. package/node_modules/auto-bind/react.d.ts +26 -0
  44. package/node_modules/auto-bind/react.js +28 -0
  45. package/node_modules/auto-bind/readme.md +92 -0
  46. package/node_modules/bidi-js/LICENSE.txt +22 -0
  47. package/node_modules/bidi-js/README.md +133 -0
  48. package/node_modules/bidi-js/dist/bidi.js +1010 -0
  49. package/node_modules/bidi-js/dist/bidi.min.js +1 -0
  50. package/node_modules/bidi-js/dist/bidi.min.mjs +1 -0
  51. package/node_modules/bidi-js/dist/bidi.mjs +1002 -0
  52. package/node_modules/bidi-js/package.json +39 -0
  53. package/node_modules/bidi-js/src/brackets.js +30 -0
  54. package/node_modules/bidi-js/src/charTypes.js +66 -0
  55. package/node_modules/bidi-js/src/data/bidiBrackets.data.js +5 -0
  56. package/node_modules/bidi-js/src/data/bidiCharTypes.data.js +25 -0
  57. package/node_modules/bidi-js/src/data/bidiMirroring.data.js +2 -0
  58. package/node_modules/bidi-js/src/embeddingLevels.js +690 -0
  59. package/node_modules/bidi-js/src/index.js +5 -0
  60. package/node_modules/bidi-js/src/mirroring.js +48 -0
  61. package/node_modules/bidi-js/src/reordering.js +99 -0
  62. package/node_modules/bidi-js/src/util/parseCharacterMap.js +30 -0
  63. package/node_modules/chalk/license +9 -0
  64. package/node_modules/chalk/package.json +83 -0
  65. package/node_modules/chalk/readme.md +297 -0
  66. package/node_modules/chalk/source/index.d.ts +325 -0
  67. package/node_modules/chalk/source/index.js +225 -0
  68. package/node_modules/chalk/source/utilities.js +33 -0
  69. package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +236 -0
  70. package/node_modules/chalk/source/vendor/ansi-styles/index.js +223 -0
  71. package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +1 -0
  72. package/node_modules/chalk/source/vendor/supports-color/browser.js +34 -0
  73. package/node_modules/chalk/source/vendor/supports-color/index.d.ts +55 -0
  74. package/node_modules/chalk/source/vendor/supports-color/index.js +190 -0
  75. package/node_modules/cli-boxes/boxes.json +82 -0
  76. package/node_modules/cli-boxes/index.d.ts +122 -0
  77. package/node_modules/cli-boxes/index.js +3 -0
  78. package/node_modules/cli-boxes/license +9 -0
  79. package/node_modules/cli-boxes/package.json +49 -0
  80. package/node_modules/cli-boxes/readme.md +103 -0
  81. package/node_modules/code-excerpt/dist/index.d.ts +9 -0
  82. package/node_modules/code-excerpt/dist/index.js +27 -0
  83. package/node_modules/code-excerpt/license +21 -0
  84. package/node_modules/code-excerpt/package.json +43 -0
  85. package/node_modules/code-excerpt/readme.md +65 -0
  86. package/node_modules/convert-to-spaces/dist/index.d.ts +2 -0
  87. package/node_modules/convert-to-spaces/dist/index.js +4 -0
  88. package/node_modules/convert-to-spaces/license +21 -0
  89. package/node_modules/convert-to-spaces/package.json +40 -0
  90. package/node_modules/convert-to-spaces/readme.md +39 -0
  91. package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
  92. package/node_modules/emoji-regex/README.md +107 -0
  93. package/node_modules/emoji-regex/index.d.ts +3 -0
  94. package/node_modules/emoji-regex/index.js +4 -0
  95. package/node_modules/emoji-regex/index.mjs +4 -0
  96. package/node_modules/emoji-regex/package.json +45 -0
  97. package/node_modules/escape-string-regexp/index.d.ts +18 -0
  98. package/node_modules/escape-string-regexp/index.js +11 -0
  99. package/node_modules/escape-string-regexp/license +9 -0
  100. package/node_modules/escape-string-regexp/package.json +43 -0
  101. package/node_modules/escape-string-regexp/readme.md +29 -0
  102. package/node_modules/get-east-asian-width/index.d.ts +60 -0
  103. package/node_modules/get-east-asian-width/index.js +30 -0
  104. package/node_modules/get-east-asian-width/license +9 -0
  105. package/node_modules/get-east-asian-width/lookup-data.js +18 -0
  106. package/node_modules/get-east-asian-width/lookup.js +135 -0
  107. package/node_modules/get-east-asian-width/package.json +71 -0
  108. package/node_modules/get-east-asian-width/readme.md +65 -0
  109. package/node_modules/get-east-asian-width/utilities.js +24 -0
  110. package/node_modules/indent-string/index.d.ts +38 -0
  111. package/node_modules/indent-string/index.js +38 -0
  112. package/node_modules/indent-string/license +9 -0
  113. package/node_modules/indent-string/package.json +40 -0
  114. package/node_modules/indent-string/readme.md +73 -0
  115. package/node_modules/ink/LICENSE +30 -0
  116. package/node_modules/ink/package.json +53 -0
  117. package/node_modules/ink/src/Ansi.tsx +254 -0
  118. package/node_modules/ink/src/_internal/debug.ts +27 -0
  119. package/node_modules/ink/src/_internal/earlyInput.ts +7 -0
  120. package/node_modules/ink/src/_internal/env.ts +38 -0
  121. package/node_modules/ink/src/_internal/envUtils.ts +13 -0
  122. package/node_modules/ink/src/_internal/execFileNoThrow.ts +58 -0
  123. package/node_modules/ink/src/_internal/fullscreen.ts +9 -0
  124. package/node_modules/ink/src/_internal/intl.ts +13 -0
  125. package/node_modules/ink/src/_internal/iter-lines.ts +14 -0
  126. package/node_modules/ink/src/_internal/log.ts +15 -0
  127. package/node_modules/ink/src/_internal/semver.ts +12 -0
  128. package/node_modules/ink/src/_internal/sliceAnsi.ts +6 -0
  129. package/node_modules/ink/src/_internal/state.ts +22 -0
  130. package/node_modules/ink/src/_internal/yoga-layout.ts +23 -0
  131. package/node_modules/ink/src/ambient.d.ts +47 -0
  132. package/node_modules/ink/src/bidi.ts +110 -0
  133. package/node_modules/ink/src/clearTerminal.ts +53 -0
  134. package/node_modules/ink/src/colorize.ts +129 -0
  135. package/node_modules/ink/src/components/AlternateScreen.tsx +49 -0
  136. package/node_modules/ink/src/components/App.tsx +700 -0
  137. package/node_modules/ink/src/components/AppContext.ts +17 -0
  138. package/node_modules/ink/src/components/Box.tsx +105 -0
  139. package/node_modules/ink/src/components/Button.tsx +96 -0
  140. package/node_modules/ink/src/components/ClockContext.tsx +94 -0
  141. package/node_modules/ink/src/components/CursorDeclarationContext.ts +23 -0
  142. package/node_modules/ink/src/components/ErrorOverview.tsx +116 -0
  143. package/node_modules/ink/src/components/Link.tsx +27 -0
  144. package/node_modules/ink/src/components/Newline.tsx +11 -0
  145. package/node_modules/ink/src/components/NoSelect.tsx +16 -0
  146. package/node_modules/ink/src/components/RawAnsi.tsx +18 -0
  147. package/node_modules/ink/src/components/ScrollBox.tsx +209 -0
  148. package/node_modules/ink/src/components/Spacer.tsx +6 -0
  149. package/node_modules/ink/src/components/StdinContext.ts +35 -0
  150. package/node_modules/ink/src/components/TerminalFocusContext.tsx +37 -0
  151. package/node_modules/ink/src/components/TerminalSizeContext.tsx +9 -0
  152. package/node_modules/ink/src/components/Text.tsx +85 -0
  153. package/node_modules/ink/src/components/TextInput.tsx +140 -0
  154. package/node_modules/ink/src/constants.ts +2 -0
  155. package/node_modules/ink/src/cursor.ts +6 -0
  156. package/node_modules/ink/src/devtools.ts +2 -0
  157. package/node_modules/ink/src/dom.ts +451 -0
  158. package/node_modules/ink/src/events/click-event.ts +19 -0
  159. package/node_modules/ink/src/events/dispatcher.ts +185 -0
  160. package/node_modules/ink/src/events/emitter.ts +37 -0
  161. package/node_modules/ink/src/events/event-handlers.ts +60 -0
  162. package/node_modules/ink/src/events/event.ts +12 -0
  163. package/node_modules/ink/src/events/focus-event.ts +13 -0
  164. package/node_modules/ink/src/events/input-event.ts +212 -0
  165. package/node_modules/ink/src/events/keyboard-event.ts +41 -0
  166. package/node_modules/ink/src/events/paste-event.ts +11 -0
  167. package/node_modules/ink/src/events/resize-event.ts +13 -0
  168. package/node_modules/ink/src/events/terminal-event.ts +99 -0
  169. package/node_modules/ink/src/events/terminal-focus-event.ts +13 -0
  170. package/node_modules/ink/src/focus.ts +159 -0
  171. package/node_modules/ink/src/frame.ts +105 -0
  172. package/node_modules/ink/src/get-max-width.ts +10 -0
  173. package/node_modules/ink/src/hit-test.ts +107 -0
  174. package/node_modules/ink/src/hooks/use-animation-frame.ts +33 -0
  175. package/node_modules/ink/src/hooks/use-app.ts +6 -0
  176. package/node_modules/ink/src/hooks/use-declared-cursor.ts +59 -0
  177. package/node_modules/ink/src/hooks/use-input.ts +57 -0
  178. package/node_modules/ink/src/hooks/use-interval.ts +53 -0
  179. package/node_modules/ink/src/hooks/use-search-highlight.ts +41 -0
  180. package/node_modules/ink/src/hooks/use-selection.ts +86 -0
  181. package/node_modules/ink/src/hooks/use-stdin.ts +6 -0
  182. package/node_modules/ink/src/hooks/use-tab-status.ts +68 -0
  183. package/node_modules/ink/src/hooks/use-terminal-focus.ts +8 -0
  184. package/node_modules/ink/src/hooks/use-terminal-title.ts +21 -0
  185. package/node_modules/ink/src/hooks/use-terminal-viewport.ts +77 -0
  186. package/node_modules/ink/src/index.ts +150 -0
  187. package/node_modules/ink/src/ink.tsx +1499 -0
  188. package/node_modules/ink/src/instances.ts +5 -0
  189. package/node_modules/ink/src/layout/engine.ts +10 -0
  190. package/node_modules/ink/src/layout/geometry.ts +116 -0
  191. package/node_modules/ink/src/layout/node.ts +178 -0
  192. package/node_modules/ink/src/layout/yoga.ts +316 -0
  193. package/node_modules/ink/src/line-width-cache.ts +19 -0
  194. package/node_modules/ink/src/log-update.ts +777 -0
  195. package/node_modules/ink/src/measure-element.ts +14 -0
  196. package/node_modules/ink/src/measure-text.ts +29 -0
  197. package/node_modules/ink/src/node-cache.ts +58 -0
  198. package/node_modules/ink/src/optimizer.ts +65 -0
  199. package/node_modules/ink/src/output.ts +730 -0
  200. package/node_modules/ink/src/parse-keypress.ts +751 -0
  201. package/node_modules/ink/src/react-jsx-aug.d.ts +14 -0
  202. package/node_modules/ink/src/reconciler.ts +508 -0
  203. package/node_modules/ink/src/render-border.ts +230 -0
  204. package/node_modules/ink/src/render-node-to-output.ts +1477 -0
  205. package/node_modules/ink/src/render-to-screen.ts +201 -0
  206. package/node_modules/ink/src/renderer.ts +183 -0
  207. package/node_modules/ink/src/root.ts +148 -0
  208. package/node_modules/ink/src/screen.ts +1301 -0
  209. package/node_modules/ink/src/searchHighlight.ts +68 -0
  210. package/node_modules/ink/src/selection.ts +742 -0
  211. package/node_modules/ink/src/squash-text-nodes.ts +70 -0
  212. package/node_modules/ink/src/stringWidth.ts +222 -0
  213. package/node_modules/ink/src/styles.ts +603 -0
  214. package/node_modules/ink/src/supports-hyperlinks.ts +41 -0
  215. package/node_modules/ink/src/tabstops.ts +39 -0
  216. package/node_modules/ink/src/terminal-focus-state.ts +46 -0
  217. package/node_modules/ink/src/terminal-querier.ts +143 -0
  218. package/node_modules/ink/src/terminal.ts +220 -0
  219. package/node_modules/ink/src/termio/ansi.ts +66 -0
  220. package/node_modules/ink/src/termio/csi.ts +290 -0
  221. package/node_modules/ink/src/termio/dec.ts +52 -0
  222. package/node_modules/ink/src/termio/esc.ts +63 -0
  223. package/node_modules/ink/src/termio/osc.ts +364 -0
  224. package/node_modules/ink/src/termio/parser.ts +383 -0
  225. package/node_modules/ink/src/termio/sgr.ts +331 -0
  226. package/node_modules/ink/src/termio/tokenize.ts +311 -0
  227. package/node_modules/ink/src/termio/types.ts +225 -0
  228. package/node_modules/ink/src/termio.ts +20 -0
  229. package/node_modules/ink/src/useTerminalNotification.ts +124 -0
  230. package/node_modules/ink/src/warn.ts +10 -0
  231. package/node_modules/ink/src/widest-line.ts +12 -0
  232. package/node_modules/ink/src/wrap-text.ts +55 -0
  233. package/node_modules/ink/src/wrapAnsi.ts +15 -0
  234. package/node_modules/ink/tsconfig.json +26 -0
  235. package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
  236. package/node_modules/is-fullwidth-code-point/index.js +12 -0
  237. package/node_modules/is-fullwidth-code-point/license +9 -0
  238. package/node_modules/is-fullwidth-code-point/package.json +53 -0
  239. package/node_modules/is-fullwidth-code-point/readme.md +31 -0
  240. package/node_modules/lodash-es/LICENSE +47 -0
  241. package/node_modules/lodash-es/README.md +10 -0
  242. package/node_modules/lodash-es/_DataView.js +7 -0
  243. package/node_modules/lodash-es/_Hash.js +32 -0
  244. package/node_modules/lodash-es/_LazyWrapper.js +28 -0
  245. package/node_modules/lodash-es/_ListCache.js +32 -0
  246. package/node_modules/lodash-es/_LodashWrapper.js +22 -0
  247. package/node_modules/lodash-es/_Map.js +7 -0
  248. package/node_modules/lodash-es/_MapCache.js +32 -0
  249. package/node_modules/lodash-es/_Promise.js +7 -0
  250. package/node_modules/lodash-es/_Set.js +7 -0
  251. package/node_modules/lodash-es/_SetCache.js +27 -0
  252. package/node_modules/lodash-es/_Stack.js +27 -0
  253. package/node_modules/lodash-es/_Symbol.js +6 -0
  254. package/node_modules/lodash-es/_Uint8Array.js +6 -0
  255. package/node_modules/lodash-es/_WeakMap.js +7 -0
  256. package/node_modules/lodash-es/_addMapEntry.js +15 -0
  257. package/node_modules/lodash-es/_addSetEntry.js +15 -0
  258. package/node_modules/lodash-es/_apply.js +21 -0
  259. package/node_modules/lodash-es/_arrayAggregator.js +22 -0
  260. package/node_modules/lodash-es/_arrayEach.js +22 -0
  261. package/node_modules/lodash-es/_arrayEachRight.js +21 -0
  262. package/node_modules/lodash-es/_arrayEvery.js +23 -0
  263. package/node_modules/lodash-es/_arrayFilter.js +25 -0
  264. package/node_modules/lodash-es/_arrayIncludes.js +17 -0
  265. package/node_modules/lodash-es/_arrayIncludesWith.js +22 -0
  266. package/node_modules/lodash-es/_arrayLikeKeys.js +49 -0
  267. package/node_modules/lodash-es/_arrayMap.js +21 -0
  268. package/node_modules/lodash-es/_arrayPush.js +20 -0
  269. package/node_modules/lodash-es/_arrayReduce.js +26 -0
  270. package/node_modules/lodash-es/_arrayReduceRight.js +24 -0
  271. package/node_modules/lodash-es/_arraySample.js +15 -0
  272. package/node_modules/lodash-es/_arraySampleSize.js +17 -0
  273. package/node_modules/lodash-es/_arrayShuffle.js +15 -0
  274. package/node_modules/lodash-es/_arraySome.js +23 -0
  275. package/node_modules/lodash-es/_asciiSize.js +12 -0
  276. package/node_modules/lodash-es/_asciiToArray.js +12 -0
  277. package/node_modules/lodash-es/_asciiWords.js +15 -0
  278. package/node_modules/lodash-es/_assignMergeValue.js +20 -0
  279. package/node_modules/lodash-es/_assignValue.js +28 -0
  280. package/node_modules/lodash-es/_assocIndexOf.js +21 -0
  281. package/node_modules/lodash-es/_baseAggregator.js +21 -0
  282. package/node_modules/lodash-es/_baseAssign.js +17 -0
  283. package/node_modules/lodash-es/_baseAssignIn.js +17 -0
  284. package/node_modules/lodash-es/_baseAssignValue.js +25 -0
  285. package/node_modules/lodash-es/_baseAt.js +23 -0
  286. package/node_modules/lodash-es/_baseClamp.js +22 -0
  287. package/node_modules/lodash-es/_baseClone.js +166 -0
  288. package/node_modules/lodash-es/_baseConforms.js +18 -0
  289. package/node_modules/lodash-es/_baseConformsTo.js +27 -0
  290. package/node_modules/lodash-es/_baseCreate.js +30 -0
  291. package/node_modules/lodash-es/_baseDelay.js +21 -0
  292. package/node_modules/lodash-es/_baseDifference.js +67 -0
  293. package/node_modules/lodash-es/_baseEach.js +14 -0
  294. package/node_modules/lodash-es/_baseEachRight.js +14 -0
  295. package/node_modules/lodash-es/_baseEvery.js +21 -0
  296. package/node_modules/lodash-es/_baseExtremum.js +32 -0
  297. package/node_modules/lodash-es/_baseFill.js +32 -0
  298. package/node_modules/lodash-es/_baseFilter.js +21 -0
  299. package/node_modules/lodash-es/_baseFindIndex.js +24 -0
  300. package/node_modules/lodash-es/_baseFindKey.js +23 -0
  301. package/node_modules/lodash-es/_baseFlatten.js +38 -0
  302. package/node_modules/lodash-es/_baseFor.js +16 -0
  303. package/node_modules/lodash-es/_baseForOwn.js +16 -0
  304. package/node_modules/lodash-es/_baseForOwnRight.js +16 -0
  305. package/node_modules/lodash-es/_baseForRight.js +15 -0
  306. package/node_modules/lodash-es/_baseFunctions.js +19 -0
  307. package/node_modules/lodash-es/_baseGet.js +24 -0
  308. package/node_modules/lodash-es/_baseGetAllKeys.js +20 -0
  309. package/node_modules/lodash-es/_baseGetTag.js +28 -0
  310. package/node_modules/lodash-es/_baseGt.js +14 -0
  311. package/node_modules/lodash-es/_baseHas.js +19 -0
  312. package/node_modules/lodash-es/_baseHasIn.js +13 -0
  313. package/node_modules/lodash-es/_baseInRange.js +18 -0
  314. package/node_modules/lodash-es/_baseIndexOf.js +20 -0
  315. package/node_modules/lodash-es/_baseIndexOfWith.js +23 -0
  316. package/node_modules/lodash-es/_baseIntersection.js +74 -0
  317. package/node_modules/lodash-es/_baseInverter.js +21 -0
  318. package/node_modules/lodash-es/_baseInvoke.js +24 -0
  319. package/node_modules/lodash-es/_baseIsArguments.js +18 -0
  320. package/node_modules/lodash-es/_baseIsArrayBuffer.js +17 -0
  321. package/node_modules/lodash-es/_baseIsDate.js +18 -0
  322. package/node_modules/lodash-es/_baseIsEqual.js +28 -0
  323. package/node_modules/lodash-es/_baseIsEqualDeep.js +83 -0
  324. package/node_modules/lodash-es/_baseIsMap.js +18 -0
  325. package/node_modules/lodash-es/_baseIsMatch.js +62 -0
  326. package/node_modules/lodash-es/_baseIsNaN.js +12 -0
  327. package/node_modules/lodash-es/_baseIsNative.js +47 -0
  328. package/node_modules/lodash-es/_baseIsRegExp.js +18 -0
  329. package/node_modules/lodash-es/_baseIsSet.js +18 -0
  330. package/node_modules/lodash-es/_baseIsTypedArray.js +60 -0
  331. package/node_modules/lodash-es/_baseIteratee.js +31 -0
  332. package/node_modules/lodash-es/_baseKeys.js +30 -0
  333. package/node_modules/lodash-es/_baseKeysIn.js +33 -0
  334. package/node_modules/lodash-es/_baseLodash.js +10 -0
  335. package/node_modules/lodash-es/_baseLt.js +14 -0
  336. package/node_modules/lodash-es/_baseMap.js +22 -0
  337. package/node_modules/lodash-es/_baseMatches.js +22 -0
  338. package/node_modules/lodash-es/_baseMatchesProperty.js +33 -0
  339. package/node_modules/lodash-es/_baseMean.js +20 -0
  340. package/node_modules/lodash-es/_baseMerge.js +42 -0
  341. package/node_modules/lodash-es/_baseMergeDeep.js +94 -0
  342. package/node_modules/lodash-es/_baseNth.js +20 -0
  343. package/node_modules/lodash-es/_baseOrderBy.js +49 -0
  344. package/node_modules/lodash-es/_basePick.js +19 -0
  345. package/node_modules/lodash-es/_basePickBy.js +30 -0
  346. package/node_modules/lodash-es/_baseProperty.js +14 -0
  347. package/node_modules/lodash-es/_basePropertyDeep.js +16 -0
  348. package/node_modules/lodash-es/_basePropertyOf.js +14 -0
  349. package/node_modules/lodash-es/_basePullAll.js +51 -0
  350. package/node_modules/lodash-es/_basePullAt.js +37 -0
  351. package/node_modules/lodash-es/_baseRandom.js +18 -0
  352. package/node_modules/lodash-es/_baseRange.js +28 -0
  353. package/node_modules/lodash-es/_baseReduce.js +23 -0
  354. package/node_modules/lodash-es/_baseRepeat.js +35 -0
  355. package/node_modules/lodash-es/_baseRest.js +17 -0
  356. package/node_modules/lodash-es/_baseSample.js +15 -0
  357. package/node_modules/lodash-es/_baseSampleSize.js +18 -0
  358. package/node_modules/lodash-es/_baseSet.js +51 -0
  359. package/node_modules/lodash-es/_baseSetData.js +17 -0
  360. package/node_modules/lodash-es/_baseSetToString.js +22 -0
  361. package/node_modules/lodash-es/_baseShuffle.js +15 -0
  362. package/node_modules/lodash-es/_baseSlice.js +31 -0
  363. package/node_modules/lodash-es/_baseSome.js +22 -0
  364. package/node_modules/lodash-es/_baseSortBy.js +21 -0
  365. package/node_modules/lodash-es/_baseSortedIndex.js +42 -0
  366. package/node_modules/lodash-es/_baseSortedIndexBy.js +67 -0
  367. package/node_modules/lodash-es/_baseSortedUniq.js +30 -0
  368. package/node_modules/lodash-es/_baseSum.js +24 -0
  369. package/node_modules/lodash-es/_baseTimes.js +20 -0
  370. package/node_modules/lodash-es/_baseToNumber.js +24 -0
  371. package/node_modules/lodash-es/_baseToPairs.js +18 -0
  372. package/node_modules/lodash-es/_baseToString.js +37 -0
  373. package/node_modules/lodash-es/_baseTrim.js +19 -0
  374. package/node_modules/lodash-es/_baseUnary.js +14 -0
  375. package/node_modules/lodash-es/_baseUniq.js +72 -0
  376. package/node_modules/lodash-es/_baseUnset.js +52 -0
  377. package/node_modules/lodash-es/_baseUpdate.js +18 -0
  378. package/node_modules/lodash-es/_baseValues.js +19 -0
  379. package/node_modules/lodash-es/_baseWhile.js +26 -0
  380. package/node_modules/lodash-es/_baseWrapperValue.js +25 -0
  381. package/node_modules/lodash-es/_baseXor.js +36 -0
  382. package/node_modules/lodash-es/_baseZipObject.js +23 -0
  383. package/node_modules/lodash-es/_cacheHas.js +13 -0
  384. package/node_modules/lodash-es/_castArrayLikeObject.js +14 -0
  385. package/node_modules/lodash-es/_castFunction.js +14 -0
  386. package/node_modules/lodash-es/_castPath.js +21 -0
  387. package/node_modules/lodash-es/_castRest.js +14 -0
  388. package/node_modules/lodash-es/_castSlice.js +18 -0
  389. package/node_modules/lodash-es/_charsEndIndex.js +19 -0
  390. package/node_modules/lodash-es/_charsStartIndex.js +20 -0
  391. package/node_modules/lodash-es/_cloneArrayBuffer.js +16 -0
  392. package/node_modules/lodash-es/_cloneBuffer.js +35 -0
  393. package/node_modules/lodash-es/_cloneDataView.js +16 -0
  394. package/node_modules/lodash-es/_cloneMap.js +22 -0
  395. package/node_modules/lodash-es/_cloneRegExp.js +17 -0
  396. package/node_modules/lodash-es/_cloneSet.js +22 -0
  397. package/node_modules/lodash-es/_cloneSymbol.js +18 -0
  398. package/node_modules/lodash-es/_cloneTypedArray.js +16 -0
  399. package/node_modules/lodash-es/_compareAscending.js +41 -0
  400. package/node_modules/lodash-es/_compareMultiple.js +44 -0
  401. package/node_modules/lodash-es/_composeArgs.js +39 -0
  402. package/node_modules/lodash-es/_composeArgsRight.js +41 -0
  403. package/node_modules/lodash-es/_copyArray.js +20 -0
  404. package/node_modules/lodash-es/_copyObject.js +40 -0
  405. package/node_modules/lodash-es/_copySymbols.js +16 -0
  406. package/node_modules/lodash-es/_copySymbolsIn.js +16 -0
  407. package/node_modules/lodash-es/_coreJsData.js +6 -0
  408. package/node_modules/lodash-es/_countHolders.js +21 -0
  409. package/node_modules/lodash-es/_createAggregator.js +23 -0
  410. package/node_modules/lodash-es/_createAssigner.js +37 -0
  411. package/node_modules/lodash-es/_createBaseEach.js +32 -0
  412. package/node_modules/lodash-es/_createBaseFor.js +25 -0
  413. package/node_modules/lodash-es/_createBind.js +28 -0
  414. package/node_modules/lodash-es/_createCaseFirst.js +33 -0
  415. package/node_modules/lodash-es/_createCompounder.js +24 -0
  416. package/node_modules/lodash-es/_createCtor.js +37 -0
  417. package/node_modules/lodash-es/_createCurry.js +46 -0
  418. package/node_modules/lodash-es/_createFind.js +25 -0
  419. package/node_modules/lodash-es/_createFlow.js +78 -0
  420. package/node_modules/lodash-es/_createHybrid.js +92 -0
  421. package/node_modules/lodash-es/_createInverter.js +17 -0
  422. package/node_modules/lodash-es/_createMathOperation.js +38 -0
  423. package/node_modules/lodash-es/_createOver.js +27 -0
  424. package/node_modules/lodash-es/_createPadding.js +33 -0
  425. package/node_modules/lodash-es/_createPartial.js +43 -0
  426. package/node_modules/lodash-es/_createRange.js +30 -0
  427. package/node_modules/lodash-es/_createRecurry.js +56 -0
  428. package/node_modules/lodash-es/_createRelationalOperation.js +20 -0
  429. package/node_modules/lodash-es/_createRound.js +35 -0
  430. package/node_modules/lodash-es/_createSet.js +19 -0
  431. package/node_modules/lodash-es/_createToPairs.js +30 -0
  432. package/node_modules/lodash-es/_createWrap.js +106 -0
  433. package/node_modules/lodash-es/_customDefaultsAssignIn.js +29 -0
  434. package/node_modules/lodash-es/_customDefaultsMerge.js +28 -0
  435. package/node_modules/lodash-es/_customOmitClone.js +16 -0
  436. package/node_modules/lodash-es/_deburrLetter.js +71 -0
  437. package/node_modules/lodash-es/_defineProperty.js +11 -0
  438. package/node_modules/lodash-es/_equalArrays.js +84 -0
  439. package/node_modules/lodash-es/_equalByTag.js +112 -0
  440. package/node_modules/lodash-es/_equalObjects.js +90 -0
  441. package/node_modules/lodash-es/_escapeHtmlChar.js +21 -0
  442. package/node_modules/lodash-es/_escapeStringChar.js +22 -0
  443. package/node_modules/lodash-es/_flatRest.js +16 -0
  444. package/node_modules/lodash-es/_freeGlobal.js +4 -0
  445. package/node_modules/lodash-es/_getAllKeys.js +16 -0
  446. package/node_modules/lodash-es/_getAllKeysIn.js +17 -0
  447. package/node_modules/lodash-es/_getData.js +15 -0
  448. package/node_modules/lodash-es/_getFuncName.js +31 -0
  449. package/node_modules/lodash-es/_getHolder.js +13 -0
  450. package/node_modules/lodash-es/_getMapData.js +18 -0
  451. package/node_modules/lodash-es/_getMatchData.js +24 -0
  452. package/node_modules/lodash-es/_getNative.js +17 -0
  453. package/node_modules/lodash-es/_getPrototype.js +6 -0
  454. package/node_modules/lodash-es/_getRawTag.js +46 -0
  455. package/node_modules/lodash-es/_getSymbols.js +30 -0
  456. package/node_modules/lodash-es/_getSymbolsIn.js +25 -0
  457. package/node_modules/lodash-es/_getTag.js +58 -0
  458. package/node_modules/lodash-es/_getValue.js +13 -0
  459. package/node_modules/lodash-es/_getView.js +33 -0
  460. package/node_modules/lodash-es/_getWrapDetails.js +17 -0
  461. package/node_modules/lodash-es/_hasPath.js +39 -0
  462. package/node_modules/lodash-es/_hasUnicode.js +26 -0
  463. package/node_modules/lodash-es/_hasUnicodeWord.js +15 -0
  464. package/node_modules/lodash-es/_hashClear.js +15 -0
  465. package/node_modules/lodash-es/_hashDelete.js +17 -0
  466. package/node_modules/lodash-es/_hashGet.js +30 -0
  467. package/node_modules/lodash-es/_hashHas.js +23 -0
  468. package/node_modules/lodash-es/_hashSet.js +23 -0
  469. package/node_modules/lodash-es/_initCloneArray.js +26 -0
  470. package/node_modules/lodash-es/_initCloneByTag.js +77 -0
  471. package/node_modules/lodash-es/_initCloneObject.js +18 -0
  472. package/node_modules/lodash-es/_insertWrapDetails.js +23 -0
  473. package/node_modules/lodash-es/_isFlattenable.js +20 -0
  474. package/node_modules/lodash-es/_isIndex.js +25 -0
  475. package/node_modules/lodash-es/_isIterateeCall.js +30 -0
  476. package/node_modules/lodash-es/_isKey.js +29 -0
  477. package/node_modules/lodash-es/_isKeyable.js +15 -0
  478. package/node_modules/lodash-es/_isLaziable.js +28 -0
  479. package/node_modules/lodash-es/_isMaskable.js +14 -0
  480. package/node_modules/lodash-es/_isMasked.js +20 -0
  481. package/node_modules/lodash-es/_isPrototype.js +18 -0
  482. package/node_modules/lodash-es/_isStrictComparable.js +15 -0
  483. package/node_modules/lodash-es/_iteratorToArray.js +18 -0
  484. package/node_modules/lodash-es/_lazyClone.js +23 -0
  485. package/node_modules/lodash-es/_lazyReverse.js +23 -0
  486. package/node_modules/lodash-es/_lazyValue.js +69 -0
  487. package/node_modules/lodash-es/_listCacheClear.js +13 -0
  488. package/node_modules/lodash-es/_listCacheDelete.js +35 -0
  489. package/node_modules/lodash-es/_listCacheGet.js +19 -0
  490. package/node_modules/lodash-es/_listCacheHas.js +16 -0
  491. package/node_modules/lodash-es/_listCacheSet.js +26 -0
  492. package/node_modules/lodash-es/_mapCacheClear.js +21 -0
  493. package/node_modules/lodash-es/_mapCacheDelete.js +18 -0
  494. package/node_modules/lodash-es/_mapCacheGet.js +16 -0
  495. package/node_modules/lodash-es/_mapCacheHas.js +16 -0
  496. package/node_modules/lodash-es/_mapCacheSet.js +22 -0
  497. package/node_modules/lodash-es/_mapToArray.js +18 -0
  498. package/node_modules/lodash-es/_matchesStrictComparable.js +20 -0
  499. package/node_modules/lodash-es/_memoizeCapped.js +26 -0
  500. package/node_modules/lodash-es/_mergeData.js +90 -0
  501. package/node_modules/lodash-es/_metaMap.js +6 -0
  502. package/node_modules/lodash-es/_nativeCreate.js +6 -0
  503. package/node_modules/lodash-es/_nativeKeys.js +6 -0
  504. package/node_modules/lodash-es/_nativeKeysIn.js +20 -0
  505. package/node_modules/lodash-es/_nodeUtil.js +30 -0
  506. package/node_modules/lodash-es/_objectToString.js +22 -0
  507. package/node_modules/lodash-es/_overArg.js +15 -0
  508. package/node_modules/lodash-es/_overRest.js +36 -0
  509. package/node_modules/lodash-es/_parent.js +16 -0
  510. package/node_modules/lodash-es/_reEscape.js +4 -0
  511. package/node_modules/lodash-es/_reEvaluate.js +4 -0
  512. package/node_modules/lodash-es/_reInterpolate.js +4 -0
  513. package/node_modules/lodash-es/_realNames.js +4 -0
  514. package/node_modules/lodash-es/_reorder.js +29 -0
  515. package/node_modules/lodash-es/_replaceHolders.js +29 -0
  516. package/node_modules/lodash-es/_root.js +9 -0
  517. package/node_modules/lodash-es/_safeGet.js +21 -0
  518. package/node_modules/lodash-es/_setCacheAdd.js +19 -0
  519. package/node_modules/lodash-es/_setCacheHas.js +14 -0
  520. package/node_modules/lodash-es/_setData.js +20 -0
  521. package/node_modules/lodash-es/_setToArray.js +18 -0
  522. package/node_modules/lodash-es/_setToPairs.js +18 -0
  523. package/node_modules/lodash-es/_setToString.js +14 -0
  524. package/node_modules/lodash-es/_setWrapToString.js +21 -0
  525. package/node_modules/lodash-es/_shortOut.js +37 -0
  526. package/node_modules/lodash-es/_shuffleSelf.js +28 -0
  527. package/node_modules/lodash-es/_stackClear.js +15 -0
  528. package/node_modules/lodash-es/_stackDelete.js +18 -0
  529. package/node_modules/lodash-es/_stackGet.js +14 -0
  530. package/node_modules/lodash-es/_stackHas.js +14 -0
  531. package/node_modules/lodash-es/_stackSet.js +34 -0
  532. package/node_modules/lodash-es/_strictIndexOf.js +23 -0
  533. package/node_modules/lodash-es/_strictLastIndexOf.js +21 -0
  534. package/node_modules/lodash-es/_stringSize.js +18 -0
  535. package/node_modules/lodash-es/_stringToArray.js +18 -0
  536. package/node_modules/lodash-es/_stringToPath.js +27 -0
  537. package/node_modules/lodash-es/_toKey.js +21 -0
  538. package/node_modules/lodash-es/_toSource.js +26 -0
  539. package/node_modules/lodash-es/_trimmedEndIndex.js +19 -0
  540. package/node_modules/lodash-es/_unescapeHtmlChar.js +21 -0
  541. package/node_modules/lodash-es/_unicodeSize.js +44 -0
  542. package/node_modules/lodash-es/_unicodeToArray.js +40 -0
  543. package/node_modules/lodash-es/_unicodeWords.js +69 -0
  544. package/node_modules/lodash-es/_updateWrapDetails.js +46 -0
  545. package/node_modules/lodash-es/_wrapperClone.js +23 -0
  546. package/node_modules/lodash-es/add.js +22 -0
  547. package/node_modules/lodash-es/after.js +42 -0
  548. package/node_modules/lodash-es/array.default.js +81 -0
  549. package/node_modules/lodash-es/array.js +66 -0
  550. package/node_modules/lodash-es/ary.js +29 -0
  551. package/node_modules/lodash-es/assign.js +58 -0
  552. package/node_modules/lodash-es/assignIn.js +40 -0
  553. package/node_modules/lodash-es/assignInWith.js +38 -0
  554. package/node_modules/lodash-es/assignWith.js +37 -0
  555. package/node_modules/lodash-es/at.js +23 -0
  556. package/node_modules/lodash-es/attempt.js +35 -0
  557. package/node_modules/lodash-es/before.js +40 -0
  558. package/node_modules/lodash-es/bind.js +57 -0
  559. package/node_modules/lodash-es/bindAll.js +41 -0
  560. package/node_modules/lodash-es/bindKey.js +68 -0
  561. package/node_modules/lodash-es/camelCase.js +29 -0
  562. package/node_modules/lodash-es/capitalize.js +23 -0
  563. package/node_modules/lodash-es/castArray.js +44 -0
  564. package/node_modules/lodash-es/ceil.js +26 -0
  565. package/node_modules/lodash-es/chain.js +38 -0
  566. package/node_modules/lodash-es/chunk.js +50 -0
  567. package/node_modules/lodash-es/clamp.js +39 -0
  568. package/node_modules/lodash-es/clone.js +36 -0
  569. package/node_modules/lodash-es/cloneDeep.js +29 -0
  570. package/node_modules/lodash-es/cloneDeepWith.js +40 -0
  571. package/node_modules/lodash-es/cloneWith.js +42 -0
  572. package/node_modules/lodash-es/collection.default.js +37 -0
  573. package/node_modules/lodash-es/collection.js +29 -0
  574. package/node_modules/lodash-es/commit.js +33 -0
  575. package/node_modules/lodash-es/compact.js +31 -0
  576. package/node_modules/lodash-es/concat.js +43 -0
  577. package/node_modules/lodash-es/cond.js +60 -0
  578. package/node_modules/lodash-es/conforms.js +35 -0
  579. package/node_modules/lodash-es/conformsTo.js +32 -0
  580. package/node_modules/lodash-es/constant.js +26 -0
  581. package/node_modules/lodash-es/countBy.js +40 -0
  582. package/node_modules/lodash-es/create.js +43 -0
  583. package/node_modules/lodash-es/curry.js +57 -0
  584. package/node_modules/lodash-es/curryRight.js +54 -0
  585. package/node_modules/lodash-es/date.default.js +5 -0
  586. package/node_modules/lodash-es/date.js +2 -0
  587. package/node_modules/lodash-es/debounce.js +191 -0
  588. package/node_modules/lodash-es/deburr.js +45 -0
  589. package/node_modules/lodash-es/defaultTo.js +25 -0
  590. package/node_modules/lodash-es/defaults.js +64 -0
  591. package/node_modules/lodash-es/defaultsDeep.js +30 -0
  592. package/node_modules/lodash-es/defer.js +26 -0
  593. package/node_modules/lodash-es/delay.js +28 -0
  594. package/node_modules/lodash-es/difference.js +33 -0
  595. package/node_modules/lodash-es/differenceBy.js +44 -0
  596. package/node_modules/lodash-es/differenceWith.js +40 -0
  597. package/node_modules/lodash-es/divide.js +22 -0
  598. package/node_modules/lodash-es/drop.js +38 -0
  599. package/node_modules/lodash-es/dropRight.js +39 -0
  600. package/node_modules/lodash-es/dropRightWhile.js +45 -0
  601. package/node_modules/lodash-es/dropWhile.js +45 -0
  602. package/node_modules/lodash-es/each.js +1 -0
  603. package/node_modules/lodash-es/eachRight.js +1 -0
  604. package/node_modules/lodash-es/endsWith.js +43 -0
  605. package/node_modules/lodash-es/entries.js +1 -0
  606. package/node_modules/lodash-es/entriesIn.js +1 -0
  607. package/node_modules/lodash-es/eq.js +37 -0
  608. package/node_modules/lodash-es/escape.js +43 -0
  609. package/node_modules/lodash-es/escapeRegExp.js +32 -0
  610. package/node_modules/lodash-es/every.js +56 -0
  611. package/node_modules/lodash-es/extend.js +1 -0
  612. package/node_modules/lodash-es/extendWith.js +1 -0
  613. package/node_modules/lodash-es/fill.js +45 -0
  614. package/node_modules/lodash-es/filter.js +52 -0
  615. package/node_modules/lodash-es/find.js +42 -0
  616. package/node_modules/lodash-es/findIndex.js +55 -0
  617. package/node_modules/lodash-es/findKey.js +44 -0
  618. package/node_modules/lodash-es/findLast.js +25 -0
  619. package/node_modules/lodash-es/findLastIndex.js +59 -0
  620. package/node_modules/lodash-es/findLastKey.js +44 -0
  621. package/node_modules/lodash-es/first.js +1 -0
  622. package/node_modules/lodash-es/flatMap.js +29 -0
  623. package/node_modules/lodash-es/flatMapDeep.js +31 -0
  624. package/node_modules/lodash-es/flatMapDepth.js +31 -0
  625. package/node_modules/lodash-es/flatten.js +22 -0
  626. package/node_modules/lodash-es/flattenDeep.js +25 -0
  627. package/node_modules/lodash-es/flattenDepth.js +33 -0
  628. package/node_modules/lodash-es/flip.js +28 -0
  629. package/node_modules/lodash-es/floor.js +26 -0
  630. package/node_modules/lodash-es/flow.js +27 -0
  631. package/node_modules/lodash-es/flowRight.js +26 -0
  632. package/node_modules/lodash-es/forEach.js +41 -0
  633. package/node_modules/lodash-es/forEachRight.js +31 -0
  634. package/node_modules/lodash-es/forIn.js +39 -0
  635. package/node_modules/lodash-es/forInRight.js +37 -0
  636. package/node_modules/lodash-es/forOwn.js +36 -0
  637. package/node_modules/lodash-es/forOwnRight.js +34 -0
  638. package/node_modules/lodash-es/fromPairs.js +30 -0
  639. package/node_modules/lodash-es/function.default.js +31 -0
  640. package/node_modules/lodash-es/function.js +24 -0
  641. package/node_modules/lodash-es/functions.js +31 -0
  642. package/node_modules/lodash-es/functionsIn.js +31 -0
  643. package/node_modules/lodash-es/get.js +33 -0
  644. package/node_modules/lodash-es/groupBy.js +41 -0
  645. package/node_modules/lodash-es/gt.js +29 -0
  646. package/node_modules/lodash-es/gte.js +30 -0
  647. package/node_modules/lodash-es/has.js +35 -0
  648. package/node_modules/lodash-es/hasIn.js +34 -0
  649. package/node_modules/lodash-es/head.js +23 -0
  650. package/node_modules/lodash-es/identity.js +21 -0
  651. package/node_modules/lodash-es/inRange.js +55 -0
  652. package/node_modules/lodash-es/includes.js +53 -0
  653. package/node_modules/lodash-es/indexOf.js +42 -0
  654. package/node_modules/lodash-es/initial.js +22 -0
  655. package/node_modules/lodash-es/intersection.js +30 -0
  656. package/node_modules/lodash-es/intersectionBy.js +45 -0
  657. package/node_modules/lodash-es/intersectionWith.js +41 -0
  658. package/node_modules/lodash-es/invert.js +42 -0
  659. package/node_modules/lodash-es/invertBy.js +56 -0
  660. package/node_modules/lodash-es/invoke.js +24 -0
  661. package/node_modules/lodash-es/invokeMap.js +41 -0
  662. package/node_modules/lodash-es/isArguments.js +36 -0
  663. package/node_modules/lodash-es/isArray.js +26 -0
  664. package/node_modules/lodash-es/isArrayBuffer.js +27 -0
  665. package/node_modules/lodash-es/isArrayLike.js +33 -0
  666. package/node_modules/lodash-es/isArrayLikeObject.js +33 -0
  667. package/node_modules/lodash-es/isBoolean.js +29 -0
  668. package/node_modules/lodash-es/isBuffer.js +38 -0
  669. package/node_modules/lodash-es/isDate.js +27 -0
  670. package/node_modules/lodash-es/isElement.js +25 -0
  671. package/node_modules/lodash-es/isEmpty.js +77 -0
  672. package/node_modules/lodash-es/isEqual.js +35 -0
  673. package/node_modules/lodash-es/isEqualWith.js +41 -0
  674. package/node_modules/lodash-es/isError.js +36 -0
  675. package/node_modules/lodash-es/isFinite.js +36 -0
  676. package/node_modules/lodash-es/isFunction.js +37 -0
  677. package/node_modules/lodash-es/isInteger.js +33 -0
  678. package/node_modules/lodash-es/isLength.js +35 -0
  679. package/node_modules/lodash-es/isMap.js +27 -0
  680. package/node_modules/lodash-es/isMatch.js +36 -0
  681. package/node_modules/lodash-es/isMatchWith.js +41 -0
  682. package/node_modules/lodash-es/isNaN.js +38 -0
  683. package/node_modules/lodash-es/isNative.js +40 -0
  684. package/node_modules/lodash-es/isNil.js +25 -0
  685. package/node_modules/lodash-es/isNull.js +22 -0
  686. package/node_modules/lodash-es/isNumber.js +38 -0
  687. package/node_modules/lodash-es/isObject.js +31 -0
  688. package/node_modules/lodash-es/isObjectLike.js +29 -0
  689. package/node_modules/lodash-es/isPlainObject.js +62 -0
  690. package/node_modules/lodash-es/isRegExp.js +27 -0
  691. package/node_modules/lodash-es/isSafeInteger.js +37 -0
  692. package/node_modules/lodash-es/isSet.js +27 -0
  693. package/node_modules/lodash-es/isString.js +30 -0
  694. package/node_modules/lodash-es/isSymbol.js +29 -0
  695. package/node_modules/lodash-es/isTypedArray.js +27 -0
  696. package/node_modules/lodash-es/isUndefined.js +22 -0
  697. package/node_modules/lodash-es/isWeakMap.js +28 -0
  698. package/node_modules/lodash-es/isWeakSet.js +28 -0
  699. package/node_modules/lodash-es/iteratee.js +53 -0
  700. package/node_modules/lodash-es/join.js +26 -0
  701. package/node_modules/lodash-es/kebabCase.js +28 -0
  702. package/node_modules/lodash-es/keyBy.js +36 -0
  703. package/node_modules/lodash-es/keys.js +37 -0
  704. package/node_modules/lodash-es/keysIn.js +32 -0
  705. package/node_modules/lodash-es/lang.default.js +71 -0
  706. package/node_modules/lodash-es/lang.js +57 -0
  707. package/node_modules/lodash-es/last.js +20 -0
  708. package/node_modules/lodash-es/lastIndexOf.js +46 -0
  709. package/node_modules/lodash-es/lodash.default.js +643 -0
  710. package/node_modules/lodash-es/lodash.js +331 -0
  711. package/node_modules/lodash-es/lowerCase.js +27 -0
  712. package/node_modules/lodash-es/lowerFirst.js +22 -0
  713. package/node_modules/lodash-es/lt.js +29 -0
  714. package/node_modules/lodash-es/lte.js +30 -0
  715. package/node_modules/lodash-es/map.js +53 -0
  716. package/node_modules/lodash-es/mapKeys.js +36 -0
  717. package/node_modules/lodash-es/mapValues.js +43 -0
  718. package/node_modules/lodash-es/matches.js +46 -0
  719. package/node_modules/lodash-es/matchesProperty.js +44 -0
  720. package/node_modules/lodash-es/math.default.js +21 -0
  721. package/node_modules/lodash-es/math.js +16 -0
  722. package/node_modules/lodash-es/max.js +29 -0
  723. package/node_modules/lodash-es/maxBy.js +34 -0
  724. package/node_modules/lodash-es/mean.js +22 -0
  725. package/node_modules/lodash-es/meanBy.js +31 -0
  726. package/node_modules/lodash-es/memoize.js +73 -0
  727. package/node_modules/lodash-es/merge.js +39 -0
  728. package/node_modules/lodash-es/mergeWith.js +39 -0
  729. package/node_modules/lodash-es/method.js +34 -0
  730. package/node_modules/lodash-es/methodOf.js +33 -0
  731. package/node_modules/lodash-es/min.js +29 -0
  732. package/node_modules/lodash-es/minBy.js +34 -0
  733. package/node_modules/lodash-es/mixin.js +74 -0
  734. package/node_modules/lodash-es/multiply.js +22 -0
  735. package/node_modules/lodash-es/negate.js +40 -0
  736. package/node_modules/lodash-es/next.js +35 -0
  737. package/node_modules/lodash-es/noop.js +17 -0
  738. package/node_modules/lodash-es/now.js +23 -0
  739. package/node_modules/lodash-es/nth.js +29 -0
  740. package/node_modules/lodash-es/nthArg.js +32 -0
  741. package/node_modules/lodash-es/number.default.js +7 -0
  742. package/node_modules/lodash-es/number.js +4 -0
  743. package/node_modules/lodash-es/object.default.js +60 -0
  744. package/node_modules/lodash-es/object.js +48 -0
  745. package/node_modules/lodash-es/omit.js +57 -0
  746. package/node_modules/lodash-es/omitBy.js +29 -0
  747. package/node_modules/lodash-es/once.js +25 -0
  748. package/node_modules/lodash-es/orderBy.js +47 -0
  749. package/node_modules/lodash-es/over.js +24 -0
  750. package/node_modules/lodash-es/overArgs.js +61 -0
  751. package/node_modules/lodash-es/overEvery.js +34 -0
  752. package/node_modules/lodash-es/overSome.js +37 -0
  753. package/node_modules/lodash-es/package.json +23 -0
  754. package/node_modules/lodash-es/pad.js +49 -0
  755. package/node_modules/lodash-es/padEnd.js +39 -0
  756. package/node_modules/lodash-es/padStart.js +39 -0
  757. package/node_modules/lodash-es/parseInt.js +43 -0
  758. package/node_modules/lodash-es/partial.js +50 -0
  759. package/node_modules/lodash-es/partialRight.js +49 -0
  760. package/node_modules/lodash-es/partition.js +43 -0
  761. package/node_modules/lodash-es/pick.js +25 -0
  762. package/node_modules/lodash-es/pickBy.js +37 -0
  763. package/node_modules/lodash-es/plant.js +48 -0
  764. package/node_modules/lodash-es/property.js +32 -0
  765. package/node_modules/lodash-es/propertyOf.js +30 -0
  766. package/node_modules/lodash-es/pull.js +29 -0
  767. package/node_modules/lodash-es/pullAll.js +29 -0
  768. package/node_modules/lodash-es/pullAllBy.js +33 -0
  769. package/node_modules/lodash-es/pullAllWith.js +32 -0
  770. package/node_modules/lodash-es/pullAt.js +43 -0
  771. package/node_modules/lodash-es/random.js +91 -0
  772. package/node_modules/lodash-es/range.js +46 -0
  773. package/node_modules/lodash-es/rangeRight.js +41 -0
  774. package/node_modules/lodash-es/rearg.js +33 -0
  775. package/node_modules/lodash-es/reduce.js +51 -0
  776. package/node_modules/lodash-es/reduceRight.js +36 -0
  777. package/node_modules/lodash-es/reject.js +46 -0
  778. package/node_modules/lodash-es/remove.js +53 -0
  779. package/node_modules/lodash-es/repeat.js +37 -0
  780. package/node_modules/lodash-es/replace.js +29 -0
  781. package/node_modules/lodash-es/rest.js +40 -0
  782. package/node_modules/lodash-es/result.js +56 -0
  783. package/node_modules/lodash-es/reverse.js +34 -0
  784. package/node_modules/lodash-es/round.js +26 -0
  785. package/node_modules/lodash-es/sample.js +24 -0
  786. package/node_modules/lodash-es/sampleSize.js +37 -0
  787. package/node_modules/lodash-es/seq.default.js +20 -0
  788. package/node_modules/lodash-es/seq.js +15 -0
  789. package/node_modules/lodash-es/set.js +35 -0
  790. package/node_modules/lodash-es/setWith.js +32 -0
  791. package/node_modules/lodash-es/shuffle.js +25 -0
  792. package/node_modules/lodash-es/size.js +46 -0
  793. package/node_modules/lodash-es/slice.js +37 -0
  794. package/node_modules/lodash-es/snakeCase.js +28 -0
  795. package/node_modules/lodash-es/some.js +51 -0
  796. package/node_modules/lodash-es/sortBy.js +48 -0
  797. package/node_modules/lodash-es/sortedIndex.js +24 -0
  798. package/node_modules/lodash-es/sortedIndexBy.js +33 -0
  799. package/node_modules/lodash-es/sortedIndexOf.js +31 -0
  800. package/node_modules/lodash-es/sortedLastIndex.js +25 -0
  801. package/node_modules/lodash-es/sortedLastIndexBy.js +33 -0
  802. package/node_modules/lodash-es/sortedLastIndexOf.js +31 -0
  803. package/node_modules/lodash-es/sortedUniq.js +24 -0
  804. package/node_modules/lodash-es/sortedUniqBy.js +26 -0
  805. package/node_modules/lodash-es/split.js +52 -0
  806. package/node_modules/lodash-es/spread.js +63 -0
  807. package/node_modules/lodash-es/startCase.js +29 -0
  808. package/node_modules/lodash-es/startsWith.js +39 -0
  809. package/node_modules/lodash-es/string.default.js +41 -0
  810. package/node_modules/lodash-es/string.js +32 -0
  811. package/node_modules/lodash-es/stubArray.js +23 -0
  812. package/node_modules/lodash-es/stubFalse.js +18 -0
  813. package/node_modules/lodash-es/stubObject.js +23 -0
  814. package/node_modules/lodash-es/stubString.js +18 -0
  815. package/node_modules/lodash-es/stubTrue.js +18 -0
  816. package/node_modules/lodash-es/subtract.js +22 -0
  817. package/node_modules/lodash-es/sum.js +24 -0
  818. package/node_modules/lodash-es/sumBy.js +33 -0
  819. package/node_modules/lodash-es/tail.js +22 -0
  820. package/node_modules/lodash-es/take.js +37 -0
  821. package/node_modules/lodash-es/takeRight.js +39 -0
  822. package/node_modules/lodash-es/takeRightWhile.js +45 -0
  823. package/node_modules/lodash-es/takeWhile.js +45 -0
  824. package/node_modules/lodash-es/tap.js +29 -0
  825. package/node_modules/lodash-es/template.js +284 -0
  826. package/node_modules/lodash-es/templateSettings.js +71 -0
  827. package/node_modules/lodash-es/throttle.js +69 -0
  828. package/node_modules/lodash-es/thru.js +28 -0
  829. package/node_modules/lodash-es/times.js +51 -0
  830. package/node_modules/lodash-es/toArray.js +58 -0
  831. package/node_modules/lodash-es/toFinite.js +42 -0
  832. package/node_modules/lodash-es/toInteger.js +36 -0
  833. package/node_modules/lodash-es/toIterator.js +23 -0
  834. package/node_modules/lodash-es/toJSON.js +1 -0
  835. package/node_modules/lodash-es/toLength.js +38 -0
  836. package/node_modules/lodash-es/toLower.js +28 -0
  837. package/node_modules/lodash-es/toNumber.js +64 -0
  838. package/node_modules/lodash-es/toPairs.js +30 -0
  839. package/node_modules/lodash-es/toPairsIn.js +30 -0
  840. package/node_modules/lodash-es/toPath.js +33 -0
  841. package/node_modules/lodash-es/toPlainObject.js +32 -0
  842. package/node_modules/lodash-es/toSafeInteger.js +37 -0
  843. package/node_modules/lodash-es/toString.js +28 -0
  844. package/node_modules/lodash-es/toUpper.js +28 -0
  845. package/node_modules/lodash-es/transform.js +65 -0
  846. package/node_modules/lodash-es/trim.js +47 -0
  847. package/node_modules/lodash-es/trimEnd.js +41 -0
  848. package/node_modules/lodash-es/trimStart.js +43 -0
  849. package/node_modules/lodash-es/truncate.js +111 -0
  850. package/node_modules/lodash-es/unary.js +22 -0
  851. package/node_modules/lodash-es/unescape.js +34 -0
  852. package/node_modules/lodash-es/union.js +26 -0
  853. package/node_modules/lodash-es/unionBy.js +39 -0
  854. package/node_modules/lodash-es/unionWith.js +34 -0
  855. package/node_modules/lodash-es/uniq.js +25 -0
  856. package/node_modules/lodash-es/uniqBy.js +31 -0
  857. package/node_modules/lodash-es/uniqWith.js +28 -0
  858. package/node_modules/lodash-es/uniqueId.js +28 -0
  859. package/node_modules/lodash-es/unset.js +34 -0
  860. package/node_modules/lodash-es/unzip.js +45 -0
  861. package/node_modules/lodash-es/unzipWith.js +39 -0
  862. package/node_modules/lodash-es/update.js +35 -0
  863. package/node_modules/lodash-es/updateWith.js +33 -0
  864. package/node_modules/lodash-es/upperCase.js +27 -0
  865. package/node_modules/lodash-es/upperFirst.js +22 -0
  866. package/node_modules/lodash-es/util.default.js +42 -0
  867. package/node_modules/lodash-es/util.js +33 -0
  868. package/node_modules/lodash-es/value.js +1 -0
  869. package/node_modules/lodash-es/valueOf.js +1 -0
  870. package/node_modules/lodash-es/values.js +34 -0
  871. package/node_modules/lodash-es/valuesIn.js +32 -0
  872. package/node_modules/lodash-es/without.js +31 -0
  873. package/node_modules/lodash-es/words.js +35 -0
  874. package/node_modules/lodash-es/wrap.js +30 -0
  875. package/node_modules/lodash-es/wrapperAt.js +48 -0
  876. package/node_modules/lodash-es/wrapperChain.js +34 -0
  877. package/node_modules/lodash-es/wrapperLodash.js +147 -0
  878. package/node_modules/lodash-es/wrapperReverse.js +44 -0
  879. package/node_modules/lodash-es/wrapperValue.js +21 -0
  880. package/node_modules/lodash-es/xor.js +28 -0
  881. package/node_modules/lodash-es/xorBy.js +39 -0
  882. package/node_modules/lodash-es/xorWith.js +34 -0
  883. package/node_modules/lodash-es/zip.js +22 -0
  884. package/node_modules/lodash-es/zipObject.js +24 -0
  885. package/node_modules/lodash-es/zipObjectDeep.js +23 -0
  886. package/node_modules/lodash-es/zipWith.js +32 -0
  887. package/node_modules/lodash.debounce/LICENSE +47 -0
  888. package/node_modules/lodash.debounce/README.md +18 -0
  889. package/node_modules/lodash.debounce/index.js +377 -0
  890. package/node_modules/lodash.debounce/package.json +17 -0
  891. package/node_modules/require-from-string/index.js +34 -0
  892. package/node_modules/require-from-string/license +21 -0
  893. package/node_modules/require-from-string/package.json +28 -0
  894. package/node_modules/require-from-string/readme.md +56 -0
  895. package/node_modules/semver/LICENSE +15 -0
  896. package/node_modules/semver/README.md +665 -0
  897. package/node_modules/semver/bin/semver.js +191 -0
  898. package/node_modules/semver/classes/comparator.js +143 -0
  899. package/node_modules/semver/classes/index.js +7 -0
  900. package/node_modules/semver/classes/range.js +557 -0
  901. package/node_modules/semver/classes/semver.js +333 -0
  902. package/node_modules/semver/functions/clean.js +8 -0
  903. package/node_modules/semver/functions/cmp.js +54 -0
  904. package/node_modules/semver/functions/coerce.js +62 -0
  905. package/node_modules/semver/functions/compare-build.js +9 -0
  906. package/node_modules/semver/functions/compare-loose.js +5 -0
  907. package/node_modules/semver/functions/compare.js +7 -0
  908. package/node_modules/semver/functions/diff.js +60 -0
  909. package/node_modules/semver/functions/eq.js +5 -0
  910. package/node_modules/semver/functions/gt.js +5 -0
  911. package/node_modules/semver/functions/gte.js +5 -0
  912. package/node_modules/semver/functions/inc.js +21 -0
  913. package/node_modules/semver/functions/lt.js +5 -0
  914. package/node_modules/semver/functions/lte.js +5 -0
  915. package/node_modules/semver/functions/major.js +5 -0
  916. package/node_modules/semver/functions/minor.js +5 -0
  917. package/node_modules/semver/functions/neq.js +5 -0
  918. package/node_modules/semver/functions/parse.js +18 -0
  919. package/node_modules/semver/functions/patch.js +5 -0
  920. package/node_modules/semver/functions/prerelease.js +8 -0
  921. package/node_modules/semver/functions/rcompare.js +5 -0
  922. package/node_modules/semver/functions/rsort.js +5 -0
  923. package/node_modules/semver/functions/satisfies.js +12 -0
  924. package/node_modules/semver/functions/sort.js +5 -0
  925. package/node_modules/semver/functions/valid.js +8 -0
  926. package/node_modules/semver/index.js +91 -0
  927. package/node_modules/semver/internal/constants.js +37 -0
  928. package/node_modules/semver/internal/debug.js +11 -0
  929. package/node_modules/semver/internal/identifiers.js +29 -0
  930. package/node_modules/semver/internal/lrucache.js +42 -0
  931. package/node_modules/semver/internal/parse-options.js +17 -0
  932. package/node_modules/semver/internal/re.js +223 -0
  933. package/node_modules/semver/package.json +78 -0
  934. package/node_modules/semver/preload.js +4 -0
  935. package/node_modules/semver/range.bnf +16 -0
  936. package/node_modules/semver/ranges/gtr.js +6 -0
  937. package/node_modules/semver/ranges/intersects.js +9 -0
  938. package/node_modules/semver/ranges/ltr.js +6 -0
  939. package/node_modules/semver/ranges/max-satisfying.js +27 -0
  940. package/node_modules/semver/ranges/min-satisfying.js +26 -0
  941. package/node_modules/semver/ranges/min-version.js +63 -0
  942. package/node_modules/semver/ranges/outside.js +82 -0
  943. package/node_modules/semver/ranges/simplify.js +49 -0
  944. package/node_modules/semver/ranges/subset.js +249 -0
  945. package/node_modules/semver/ranges/to-comparators.js +10 -0
  946. package/node_modules/semver/ranges/valid.js +13 -0
  947. package/node_modules/signal-exit/LICENSE.txt +16 -0
  948. package/node_modules/signal-exit/README.md +74 -0
  949. package/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
  950. package/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
  951. package/node_modules/signal-exit/dist/cjs/browser.js +10 -0
  952. package/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
  953. package/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
  954. package/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
  955. package/node_modules/signal-exit/dist/cjs/index.js +279 -0
  956. package/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
  957. package/node_modules/signal-exit/dist/cjs/package.json +3 -0
  958. package/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
  959. package/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
  960. package/node_modules/signal-exit/dist/cjs/signals.js +42 -0
  961. package/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
  962. package/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
  963. package/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
  964. package/node_modules/signal-exit/dist/mjs/browser.js +4 -0
  965. package/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
  966. package/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
  967. package/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
  968. package/node_modules/signal-exit/dist/mjs/index.js +275 -0
  969. package/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
  970. package/node_modules/signal-exit/dist/mjs/package.json +3 -0
  971. package/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
  972. package/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
  973. package/node_modules/signal-exit/dist/mjs/signals.js +39 -0
  974. package/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
  975. package/node_modules/signal-exit/package.json +106 -0
  976. package/node_modules/slice-ansi/index.d.ts +19 -0
  977. package/node_modules/slice-ansi/index.js +169 -0
  978. package/node_modules/slice-ansi/license +10 -0
  979. package/node_modules/slice-ansi/package.json +58 -0
  980. package/node_modules/slice-ansi/readme.md +54 -0
  981. package/node_modules/stack-utils/LICENSE.md +21 -0
  982. package/node_modules/stack-utils/index.js +344 -0
  983. package/node_modules/stack-utils/package.json +39 -0
  984. package/node_modules/stack-utils/readme.md +143 -0
  985. package/node_modules/string-width/index.d.ts +39 -0
  986. package/node_modules/string-width/index.js +82 -0
  987. package/node_modules/string-width/license +9 -0
  988. package/node_modules/string-width/package.json +64 -0
  989. package/node_modules/string-width/readme.md +66 -0
  990. package/node_modules/strip-ansi/index.d.ts +15 -0
  991. package/node_modules/strip-ansi/index.js +19 -0
  992. package/node_modules/strip-ansi/license +9 -0
  993. package/node_modules/strip-ansi/package.json +59 -0
  994. package/node_modules/strip-ansi/readme.md +37 -0
  995. package/node_modules/supports-hyperlinks/browser.js +10 -0
  996. package/node_modules/supports-hyperlinks/index.d.ts +25 -0
  997. package/node_modules/supports-hyperlinks/index.js +157 -0
  998. package/node_modules/supports-hyperlinks/license +10 -0
  999. package/node_modules/supports-hyperlinks/node_modules/has-flag/index.d.ts +39 -0
  1000. package/node_modules/supports-hyperlinks/node_modules/has-flag/index.js +8 -0
  1001. package/node_modules/supports-hyperlinks/node_modules/has-flag/license +9 -0
  1002. package/node_modules/supports-hyperlinks/node_modules/has-flag/package.json +49 -0
  1003. package/node_modules/supports-hyperlinks/node_modules/has-flag/readme.md +74 -0
  1004. package/node_modules/supports-hyperlinks/node_modules/supports-color/browser.d.ts +1 -0
  1005. package/node_modules/supports-hyperlinks/node_modules/supports-color/browser.js +35 -0
  1006. package/node_modules/supports-hyperlinks/node_modules/supports-color/index.d.ts +55 -0
  1007. package/node_modules/supports-hyperlinks/node_modules/supports-color/index.js +202 -0
  1008. package/node_modules/supports-hyperlinks/node_modules/supports-color/license +9 -0
  1009. package/node_modules/supports-hyperlinks/node_modules/supports-color/package.json +64 -0
  1010. package/node_modules/supports-hyperlinks/node_modules/supports-color/readme.md +75 -0
  1011. package/node_modules/supports-hyperlinks/package.json +47 -0
  1012. package/node_modules/supports-hyperlinks/readme.md +39 -0
  1013. package/node_modules/tagged-tag/index.d.ts +3 -0
  1014. package/node_modules/tagged-tag/license +9 -0
  1015. package/node_modules/tagged-tag/package.json +36 -0
  1016. package/node_modules/tagged-tag/readme.md +5 -0
  1017. package/node_modules/type-fest/index.d.ts +221 -0
  1018. package/node_modules/type-fest/license-cc0 +121 -0
  1019. package/node_modules/type-fest/license-mit +9 -0
  1020. package/node_modules/type-fest/package.json +75 -0
  1021. package/node_modules/type-fest/readme.md +1077 -0
  1022. package/node_modules/type-fest/source/absolute.d.ts +52 -0
  1023. package/node_modules/type-fest/source/all-extend.d.ts +119 -0
  1024. package/node_modules/type-fest/source/all-union-fields.d.ts +91 -0
  1025. package/node_modules/type-fest/source/and-all.d.ts +76 -0
  1026. package/node_modules/type-fest/source/and.d.ts +82 -0
  1027. package/node_modules/type-fest/source/array-element.d.ts +46 -0
  1028. package/node_modules/type-fest/source/array-indices.d.ts +25 -0
  1029. package/node_modules/type-fest/source/array-length.d.ts +36 -0
  1030. package/node_modules/type-fest/source/array-reverse.d.ts +84 -0
  1031. package/node_modules/type-fest/source/array-slice.d.ts +132 -0
  1032. package/node_modules/type-fest/source/array-splice.d.ts +104 -0
  1033. package/node_modules/type-fest/source/array-tail.d.ts +70 -0
  1034. package/node_modules/type-fest/source/array-values.d.ts +24 -0
  1035. package/node_modules/type-fest/source/arrayable.d.ts +31 -0
  1036. package/node_modules/type-fest/source/async-return-type.d.ts +28 -0
  1037. package/node_modules/type-fest/source/asyncify.d.ts +25 -0
  1038. package/node_modules/type-fest/source/basic.d.ts +38 -0
  1039. package/node_modules/type-fest/source/camel-case.d.ts +125 -0
  1040. package/node_modules/type-fest/source/camel-cased-properties-deep.d.ts +106 -0
  1041. package/node_modules/type-fest/source/camel-cased-properties.d.ts +49 -0
  1042. package/node_modules/type-fest/source/characters.d.ts +67 -0
  1043. package/node_modules/type-fest/source/conditional-except.d.ts +47 -0
  1044. package/node_modules/type-fest/source/conditional-keys.d.ts +63 -0
  1045. package/node_modules/type-fest/source/conditional-pick-deep.d.ts +122 -0
  1046. package/node_modules/type-fest/source/conditional-pick.d.ts +48 -0
  1047. package/node_modules/type-fest/source/conditional-simplify-deep.d.ts +73 -0
  1048. package/node_modules/type-fest/source/conditional-simplify.d.ts +50 -0
  1049. package/node_modules/type-fest/source/delimiter-case.d.ts +78 -0
  1050. package/node_modules/type-fest/source/delimiter-cased-properties-deep.d.ts +115 -0
  1051. package/node_modules/type-fest/source/delimiter-cased-properties.d.ts +52 -0
  1052. package/node_modules/type-fest/source/distributed-omit.d.ts +96 -0
  1053. package/node_modules/type-fest/source/distributed-pick.d.ts +92 -0
  1054. package/node_modules/type-fest/source/empty-object.d.ts +51 -0
  1055. package/node_modules/type-fest/source/entries.d.ts +64 -0
  1056. package/node_modules/type-fest/source/entry.d.ts +67 -0
  1057. package/node_modules/type-fest/source/exact.d.ts +73 -0
  1058. package/node_modules/type-fest/source/except.d.ts +112 -0
  1059. package/node_modules/type-fest/source/exclude-exactly.d.ts +57 -0
  1060. package/node_modules/type-fest/source/exclude-rest-element.d.ts +40 -0
  1061. package/node_modules/type-fest/source/exclude-strict.d.ts +51 -0
  1062. package/node_modules/type-fest/source/exclusify-union.d.ts +147 -0
  1063. package/node_modules/type-fest/source/extends-strict.d.ts +44 -0
  1064. package/node_modules/type-fest/source/extract-rest-element.d.ts +30 -0
  1065. package/node_modules/type-fest/source/extract-strict.d.ts +51 -0
  1066. package/node_modules/type-fest/source/find-global-type.d.ts +68 -0
  1067. package/node_modules/type-fest/source/fixed-length-array.d.ts +97 -0
  1068. package/node_modules/type-fest/source/get.d.ts +227 -0
  1069. package/node_modules/type-fest/source/global-this.d.ts +24 -0
  1070. package/node_modules/type-fest/source/globals/index.d.ts +3 -0
  1071. package/node_modules/type-fest/source/globals/observable-like.d.ts +78 -0
  1072. package/node_modules/type-fest/source/greater-than-or-equal.d.ts +63 -0
  1073. package/node_modules/type-fest/source/greater-than.d.ts +92 -0
  1074. package/node_modules/type-fest/source/has-optional-keys.d.ts +23 -0
  1075. package/node_modules/type-fest/source/has-readonly-keys.d.ts +23 -0
  1076. package/node_modules/type-fest/source/has-required-keys.d.ts +61 -0
  1077. package/node_modules/type-fest/source/has-writable-keys.d.ts +23 -0
  1078. package/node_modules/type-fest/source/if-any.d.ts +28 -0
  1079. package/node_modules/type-fest/source/if-empty-object.d.ts +30 -0
  1080. package/node_modules/type-fest/source/if-never.d.ts +28 -0
  1081. package/node_modules/type-fest/source/if-null.d.ts +28 -0
  1082. package/node_modules/type-fest/source/if-unknown.d.ts +28 -0
  1083. package/node_modules/type-fest/source/if.d.ts +102 -0
  1084. package/node_modules/type-fest/source/includes.d.ts +24 -0
  1085. package/node_modules/type-fest/source/int-closed-range.d.ts +45 -0
  1086. package/node_modules/type-fest/source/int-range.d.ts +67 -0
  1087. package/node_modules/type-fest/source/internal/array.d.ts +144 -0
  1088. package/node_modules/type-fest/source/internal/characters.d.ts +65 -0
  1089. package/node_modules/type-fest/source/internal/enforce-optional.d.ts +49 -0
  1090. package/node_modules/type-fest/source/internal/index.d.ts +11 -0
  1091. package/node_modules/type-fest/source/internal/keys.d.ts +100 -0
  1092. package/node_modules/type-fest/source/internal/numeric.d.ts +141 -0
  1093. package/node_modules/type-fest/source/internal/object.d.ts +292 -0
  1094. package/node_modules/type-fest/source/internal/string.d.ts +202 -0
  1095. package/node_modules/type-fest/source/internal/tuple.d.ts +79 -0
  1096. package/node_modules/type-fest/source/internal/type.d.ts +165 -0
  1097. package/node_modules/type-fest/source/invariant-of.d.ts +85 -0
  1098. package/node_modules/type-fest/source/is-any.d.ts +31 -0
  1099. package/node_modules/type-fest/source/is-equal.d.ts +41 -0
  1100. package/node_modules/type-fest/source/is-float.d.ts +43 -0
  1101. package/node_modules/type-fest/source/is-integer.d.ts +60 -0
  1102. package/node_modules/type-fest/source/is-literal.d.ts +315 -0
  1103. package/node_modules/type-fest/source/is-lowercase.d.ts +38 -0
  1104. package/node_modules/type-fest/source/is-never.d.ts +56 -0
  1105. package/node_modules/type-fest/source/is-null.d.ts +22 -0
  1106. package/node_modules/type-fest/source/is-nullable.d.ts +30 -0
  1107. package/node_modules/type-fest/source/is-optional-key-of.d.ts +51 -0
  1108. package/node_modules/type-fest/source/is-optional.d.ts +28 -0
  1109. package/node_modules/type-fest/source/is-readonly-key-of.d.ts +55 -0
  1110. package/node_modules/type-fest/source/is-required-key-of.d.ts +51 -0
  1111. package/node_modules/type-fest/source/is-tuple.d.ts +92 -0
  1112. package/node_modules/type-fest/source/is-undefined.d.ts +22 -0
  1113. package/node_modules/type-fest/source/is-union.d.ts +40 -0
  1114. package/node_modules/type-fest/source/is-unknown.d.ts +43 -0
  1115. package/node_modules/type-fest/source/is-uppercase.d.ts +38 -0
  1116. package/node_modules/type-fest/source/is-writable-key-of.d.ts +51 -0
  1117. package/node_modules/type-fest/source/iterable-element.d.ts +66 -0
  1118. package/node_modules/type-fest/source/join.d.ts +79 -0
  1119. package/node_modules/type-fest/source/json-value.d.ts +33 -0
  1120. package/node_modules/type-fest/source/jsonifiable.d.ts +37 -0
  1121. package/node_modules/type-fest/source/jsonify.d.ts +127 -0
  1122. package/node_modules/type-fest/source/kebab-case.d.ts +47 -0
  1123. package/node_modules/type-fest/source/kebab-cased-properties-deep.d.ts +72 -0
  1124. package/node_modules/type-fest/source/kebab-cased-properties.d.ts +46 -0
  1125. package/node_modules/type-fest/source/key-as-string.d.ts +27 -0
  1126. package/node_modules/type-fest/source/keys-of-union.d.ts +44 -0
  1127. package/node_modules/type-fest/source/last-array-element.d.ts +36 -0
  1128. package/node_modules/type-fest/source/less-than-or-equal.d.ts +60 -0
  1129. package/node_modules/type-fest/source/less-than.d.ts +60 -0
  1130. package/node_modules/type-fest/source/literal-to-primitive-deep.d.ts +71 -0
  1131. package/node_modules/type-fest/source/literal-to-primitive.d.ts +38 -0
  1132. package/node_modules/type-fest/source/literal-union.d.ts +39 -0
  1133. package/node_modules/type-fest/source/merge-deep.d.ts +495 -0
  1134. package/node_modules/type-fest/source/merge-exclusive.d.ts +45 -0
  1135. package/node_modules/type-fest/source/merge.d.ts +87 -0
  1136. package/node_modules/type-fest/source/multidimensional-array.d.ts +38 -0
  1137. package/node_modules/type-fest/source/multidimensional-readonly-array.d.ts +38 -0
  1138. package/node_modules/type-fest/source/non-empty-object.d.ts +38 -0
  1139. package/node_modules/type-fest/source/non-empty-string.d.ts +32 -0
  1140. package/node_modules/type-fest/source/non-empty-tuple.d.ts +24 -0
  1141. package/node_modules/type-fest/source/non-nullable-deep.d.ts +102 -0
  1142. package/node_modules/type-fest/source/numeric.d.ts +226 -0
  1143. package/node_modules/type-fest/source/object-merge.d.ts +194 -0
  1144. package/node_modules/type-fest/source/omit-deep.d.ts +153 -0
  1145. package/node_modules/type-fest/source/omit-index-signature.d.ts +98 -0
  1146. package/node_modules/type-fest/source/opaque.d.ts +3 -0
  1147. package/node_modules/type-fest/source/optional-keys-of.d.ts +46 -0
  1148. package/node_modules/type-fest/source/optional.d.ts +31 -0
  1149. package/node_modules/type-fest/source/or-all.d.ts +73 -0
  1150. package/node_modules/type-fest/source/or.d.ts +82 -0
  1151. package/node_modules/type-fest/source/override-properties.d.ts +43 -0
  1152. package/node_modules/type-fest/source/package-json.d.ts +710 -0
  1153. package/node_modules/type-fest/source/partial-deep.d.ts +157 -0
  1154. package/node_modules/type-fest/source/partial-on-undefined-deep.d.ts +81 -0
  1155. package/node_modules/type-fest/source/pascal-case.d.ts +52 -0
  1156. package/node_modules/type-fest/source/pascal-cased-properties-deep.d.ts +79 -0
  1157. package/node_modules/type-fest/source/pascal-cased-properties.d.ts +46 -0
  1158. package/node_modules/type-fest/source/paths.d.ts +241 -0
  1159. package/node_modules/type-fest/source/pick-deep.d.ts +139 -0
  1160. package/node_modules/type-fest/source/pick-index-signature.d.ts +52 -0
  1161. package/node_modules/type-fest/source/primitive.d.ts +15 -0
  1162. package/node_modules/type-fest/source/promisable.d.ts +27 -0
  1163. package/node_modules/type-fest/source/readonly-deep.d.ts +118 -0
  1164. package/node_modules/type-fest/source/readonly-keys-of.d.ts +38 -0
  1165. package/node_modules/type-fest/source/readonly-tuple.d.ts +34 -0
  1166. package/node_modules/type-fest/source/remove-prefix.d.ts +132 -0
  1167. package/node_modules/type-fest/source/replace.d.ts +87 -0
  1168. package/node_modules/type-fest/source/require-all-or-none.d.ts +54 -0
  1169. package/node_modules/type-fest/source/require-at-least-one.d.ts +48 -0
  1170. package/node_modules/type-fest/source/require-exactly-one.d.ts +48 -0
  1171. package/node_modules/type-fest/source/require-one-or-none.d.ts +49 -0
  1172. package/node_modules/type-fest/source/required-deep.d.ts +78 -0
  1173. package/node_modules/type-fest/source/required-keys-of.d.ts +38 -0
  1174. package/node_modules/type-fest/source/schema.d.ts +119 -0
  1175. package/node_modules/type-fest/source/screaming-snake-case.d.ts +31 -0
  1176. package/node_modules/type-fest/source/set-field-type.d.ts +67 -0
  1177. package/node_modules/type-fest/source/set-non-nullable-deep.d.ts +88 -0
  1178. package/node_modules/type-fest/source/set-non-nullable.d.ts +34 -0
  1179. package/node_modules/type-fest/source/set-optional.d.ts +42 -0
  1180. package/node_modules/type-fest/source/set-parameter-type.d.ts +125 -0
  1181. package/node_modules/type-fest/source/set-readonly.d.ts +40 -0
  1182. package/node_modules/type-fest/source/set-required-deep.d.ts +64 -0
  1183. package/node_modules/type-fest/source/set-required.d.ts +75 -0
  1184. package/node_modules/type-fest/source/set-return-type.d.ts +31 -0
  1185. package/node_modules/type-fest/source/shared-union-fields-deep.d.ts +180 -0
  1186. package/node_modules/type-fest/source/shared-union-fields.d.ts +79 -0
  1187. package/node_modules/type-fest/source/simplify-deep.d.ts +117 -0
  1188. package/node_modules/type-fest/source/simplify.d.ts +61 -0
  1189. package/node_modules/type-fest/source/single-key-object.d.ts +28 -0
  1190. package/node_modules/type-fest/source/snake-case.d.ts +48 -0
  1191. package/node_modules/type-fest/source/snake-cased-properties-deep.d.ts +72 -0
  1192. package/node_modules/type-fest/source/snake-cased-properties.d.ts +46 -0
  1193. package/node_modules/type-fest/source/some-extend.d.ts +113 -0
  1194. package/node_modules/type-fest/source/split-on-rest-element.d.ts +106 -0
  1195. package/node_modules/type-fest/source/split.d.ts +90 -0
  1196. package/node_modules/type-fest/source/spread.d.ts +78 -0
  1197. package/node_modules/type-fest/source/string-repeat.d.ts +49 -0
  1198. package/node_modules/type-fest/source/string-slice.d.ts +39 -0
  1199. package/node_modules/type-fest/source/stringified.d.ts +25 -0
  1200. package/node_modules/type-fest/source/structured-cloneable.d.ts +89 -0
  1201. package/node_modules/type-fest/source/subtract.d.ts +87 -0
  1202. package/node_modules/type-fest/source/sum.d.ts +82 -0
  1203. package/node_modules/type-fest/source/tagged-union.d.ts +53 -0
  1204. package/node_modules/type-fest/source/tagged.d.ts +261 -0
  1205. package/node_modules/type-fest/source/trim.d.ts +29 -0
  1206. package/node_modules/type-fest/source/tsconfig-json.d.ts +1356 -0
  1207. package/node_modules/type-fest/source/tuple-of.d.ts +80 -0
  1208. package/node_modules/type-fest/source/tuple-to-object.d.ts +47 -0
  1209. package/node_modules/type-fest/source/tuple-to-union.d.ts +54 -0
  1210. package/node_modules/type-fest/source/typed-array.d.ts +19 -0
  1211. package/node_modules/type-fest/source/undefined-on-partial-deep.d.ts +83 -0
  1212. package/node_modules/type-fest/source/union-length.d.ts +27 -0
  1213. package/node_modules/type-fest/source/union-member.d.ts +65 -0
  1214. package/node_modules/type-fest/source/union-to-intersection.d.ts +35 -0
  1215. package/node_modules/type-fest/source/union-to-tuple.d.ts +49 -0
  1216. package/node_modules/type-fest/source/unknown-array.d.ts +27 -0
  1217. package/node_modules/type-fest/source/unknown-map.d.ts +26 -0
  1218. package/node_modules/type-fest/source/unknown-record.d.ts +33 -0
  1219. package/node_modules/type-fest/source/unknown-set.d.ts +26 -0
  1220. package/node_modules/type-fest/source/unwrap-partial.d.ts +33 -0
  1221. package/node_modules/type-fest/source/value-of.d.ts +24 -0
  1222. package/node_modules/type-fest/source/words.d.ts +148 -0
  1223. package/node_modules/type-fest/source/writable-deep.d.ts +84 -0
  1224. package/node_modules/type-fest/source/writable-keys-of.d.ts +34 -0
  1225. package/node_modules/type-fest/source/writable.d.ts +68 -0
  1226. package/node_modules/type-fest/source/xor.d.ts +83 -0
  1227. package/node_modules/usehooks-ts/LICENSE +22 -0
  1228. package/node_modules/usehooks-ts/README.md +473 -0
  1229. package/node_modules/usehooks-ts/dist/index.cjs +1084 -0
  1230. package/node_modules/usehooks-ts/dist/index.d.cts +953 -0
  1231. package/node_modules/usehooks-ts/dist/index.d.ts +953 -0
  1232. package/node_modules/usehooks-ts/dist/index.js +1046 -0
  1233. package/node_modules/usehooks-ts/package.json +74 -0
  1234. package/node_modules/wrap-ansi/index.d.ts +41 -0
  1235. package/node_modules/wrap-ansi/index.js +222 -0
  1236. package/node_modules/wrap-ansi/license +9 -0
  1237. package/node_modules/wrap-ansi/package.json +69 -0
  1238. package/node_modules/wrap-ansi/readme.md +75 -0
  1239. package/package.json +3 -2
@@ -0,0 +1,953 @@
1
+ import { Dispatch, SetStateAction, RefObject, useLayoutEffect } from 'react';
2
+
3
+ /** The useBoolean return type. */
4
+ type UseBooleanReturn = {
5
+ /** The current boolean state value. */
6
+ value: boolean;
7
+ /** Function to set the boolean state directly. */
8
+ setValue: Dispatch<SetStateAction<boolean>>;
9
+ /** Function to set the boolean state to `true`. */
10
+ setTrue: () => void;
11
+ /** Function to set the boolean state to `false`. */
12
+ setFalse: () => void;
13
+ /** Function to toggle the boolean state. */
14
+ toggle: () => void;
15
+ };
16
+ /**
17
+ * Custom hook that handles boolean state with useful utility functions.
18
+ * @param {boolean} [defaultValue] - The initial value for the boolean state (default is `false`).
19
+ * @returns {UseBooleanReturn} An object containing the boolean state value and utility functions to manipulate the state.
20
+ * @throws Will throw an error if `defaultValue` is an invalid boolean value.
21
+ * @public
22
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-boolean)
23
+ * @example
24
+ * ```tsx
25
+ * const { value, setTrue, setFalse, toggle } = useBoolean(true);
26
+ * ```
27
+ */
28
+ declare function useBoolean(defaultValue?: boolean): UseBooleanReturn;
29
+
30
+ /**
31
+ * Custom hook that handles click events anywhere on the document.
32
+ * @param {Function} handler - The function to be called when a click event is detected anywhere on the document.
33
+ * @public
34
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-click-any-where)
35
+ * @example
36
+ * ```tsx
37
+ * const handleClick = (event) => {
38
+ * console.log('Document clicked!', event);
39
+ * };
40
+ *
41
+ * // Attach click event handler to document
42
+ * useClickAnywhere(handleClick);
43
+ * ```
44
+ */
45
+ declare function useClickAnyWhere(handler: (event: MouseEvent) => void): void;
46
+
47
+ /**
48
+ * The copied text as `string` or `null` if nothing has been copied yet.
49
+ */
50
+ type CopiedValue = string | null;
51
+ /**
52
+ * Function to copy text to the clipboard.
53
+ * @param text - The text to copy to the clipboard.
54
+ * @returns {Promise<boolean>} A promise that resolves to `true` if the text was copied successfully, or `false` otherwise.
55
+ */
56
+ type CopyFn = (text: string) => Promise<boolean>;
57
+ /**
58
+ * Custom hook that copies text to the clipboard using the [`Clipboard API`](https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API).
59
+ * @returns {[CopiedValue, CopyFn]} An tuple containing the copied text and a function to copy text to the clipboard.
60
+ * @public
61
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-copy-to-clipboard)
62
+ * @example
63
+ * ```tsx
64
+ * const [copiedText, copyToClipboard] = useCopyToClipboard();
65
+ * const textToCopy = 'Hello, world!';
66
+ *
67
+ * // Attempt to copy text to the clipboard
68
+ * copyToClipboard(textToCopy)
69
+ * .then(success => {
70
+ * if (success) {
71
+ * console.log(`Text "${textToCopy}" copied to clipboard successfully.`);
72
+ * } else {
73
+ * console.error('Failed to copy text to clipboard.');
74
+ * }
75
+ * });
76
+ * ```
77
+ */
78
+ declare function useCopyToClipboard(): [CopiedValue, CopyFn];
79
+
80
+ /** The countdown's options. */
81
+ type CountdownOptions = {
82
+ /** The countdown's starting number, initial value of the returned number. */
83
+ countStart: number;
84
+ /**
85
+ * The countdown's interval, in milliseconds.
86
+ * @default 1000
87
+ */
88
+ intervalMs?: number;
89
+ /**
90
+ * True if the countdown is increment.
91
+ * @default false
92
+ */
93
+ isIncrement?: boolean;
94
+ /**
95
+ * The countdown's stopping number. Pass `-Infinity` to decrease forever.
96
+ * @default 0
97
+ */
98
+ countStop?: number;
99
+ };
100
+ /** The countdown's controllers. */
101
+ type CountdownControllers = {
102
+ /** Start the countdown. */
103
+ startCountdown: () => void;
104
+ /** Stop the countdown. */
105
+ stopCountdown: () => void;
106
+ /** Reset the countdown. */
107
+ resetCountdown: () => void;
108
+ };
109
+ /**
110
+ * Custom hook that manages countdown.
111
+ * @param {CountdownOptions} countdownOptions - The countdown's options.
112
+ * @returns {[number, CountdownControllers]} An array containing the countdown's count and its controllers.
113
+ * @public
114
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-countdown)
115
+ * @example
116
+ * ```tsx
117
+ * const [counter, { start, stop, reset }] = useCountdown({
118
+ * countStart: 10,
119
+ * intervalMs: 1000,
120
+ * isIncrement: false,
121
+ * });
122
+ * ```
123
+ */
124
+ declare function useCountdown({ countStart, countStop, intervalMs, isIncrement, }: CountdownOptions): [number, CountdownControllers];
125
+
126
+ /** The hook return type. */
127
+ type UseCounterReturn = {
128
+ /** The current count value. */
129
+ count: number;
130
+ /** Function to increment the counter by 1. */
131
+ increment: () => void;
132
+ /** Function to decrement the counter by 1. */
133
+ decrement: () => void;
134
+ /** Function to reset the counter to its initial value. */
135
+ reset: () => void;
136
+ /** Function to set a specific value to the counter. */
137
+ setCount: Dispatch<SetStateAction<number>>;
138
+ };
139
+ /**
140
+ * Custom hook that manages a counter with increment, decrement, reset, and setCount functionalities.
141
+ * @param {number} [initialValue] - The initial value for the counter.
142
+ * @returns {UseCounterReturn} An object containing the current count and functions to interact with the counter.
143
+ * @public
144
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-counter)
145
+ * @example
146
+ * ```tsx
147
+ * const { count, increment, decrement, reset, setCount } = useCounter(5);
148
+ * ```
149
+ */
150
+ declare function useCounter(initialValue?: number): UseCounterReturn;
151
+
152
+ /** The hook options. */
153
+ type DarkModeOptions = {
154
+ /**
155
+ * The initial value of the dark mode.
156
+ * @default false
157
+ */
158
+ defaultValue?: boolean;
159
+ /**
160
+ * The key to use in the local storage.
161
+ * @default 'usehooks-ts-dark-mode'
162
+ */
163
+ localStorageKey?: string;
164
+ /**
165
+ * If `true` (default), the hook will initialize reading `localStorage`.
166
+ * In SSR, you should set it to `false`, returning the `defaultValue` or `false` initially.
167
+ * @default true
168
+ */
169
+ initializeWithValue?: boolean;
170
+ };
171
+ /** The hook return type. */
172
+ type DarkModeReturn = {
173
+ /** The current state of the dark mode. */
174
+ isDarkMode: boolean;
175
+ /** Function to toggle the dark mode. */
176
+ toggle: () => void;
177
+ /** Function to enable the dark mode. */
178
+ enable: () => void;
179
+ /** Function to disable the dark mode. */
180
+ disable: () => void;
181
+ /** Function to set a specific value to the dark mode. */
182
+ set: (value: boolean) => void;
183
+ };
184
+ /**
185
+ * Custom hook that returns the current state of the dark mode.
186
+ * @param {?DarkModeOptions} [options] - The initial value of the dark mode, default `false`.
187
+ * @returns {DarkModeReturn} An object containing the dark mode's state and its controllers.
188
+ * @public
189
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-dark-mode)
190
+ * @example
191
+ * ```tsx
192
+ * const { isDarkMode, toggle, enable, disable, set } = useDarkMode({ defaultValue: true });
193
+ * ```
194
+ */
195
+ declare function useDarkMode(options?: DarkModeOptions): DarkModeReturn;
196
+
197
+ /** Configuration options for controlling the behavior of the debounced function. */
198
+ type DebounceOptions = {
199
+ /**
200
+ * Determines whether the function should be invoked on the leading edge of the timeout.
201
+ * @default false
202
+ */
203
+ leading?: boolean;
204
+ /**
205
+ * Determines whether the function should be invoked on the trailing edge of the timeout.
206
+ * @default false
207
+ */
208
+ trailing?: boolean;
209
+ /**
210
+ * The maximum time the specified function is allowed to be delayed before it is invoked.
211
+ */
212
+ maxWait?: number;
213
+ };
214
+ /** Functions to manage a debounced callback. */
215
+ type ControlFunctions = {
216
+ /** Cancels pending function invocations. */
217
+ cancel: () => void;
218
+ /** Immediately invokes pending function invocations. */
219
+ flush: () => void;
220
+ /**
221
+ * Checks if there are any pending function invocations.
222
+ * @returns `true` if there are pending invocations, otherwise `false`.
223
+ */
224
+ isPending: () => boolean;
225
+ };
226
+ /**
227
+ * Represents the state and control functions of a debounced callback.
228
+ * Subsequent calls to the debounced function return the result of the last invocation.
229
+ * Note: If there are no previous invocations, the result will be undefined.
230
+ * Ensure proper handling in your code.
231
+ */
232
+ type DebouncedState<T extends (...args: any) => ReturnType<T>> = ((...args: Parameters<T>) => ReturnType<T> | undefined) & ControlFunctions;
233
+ /**
234
+ * Custom hook that creates a debounced version of a callback function.
235
+ * @template T - Type of the original callback function.
236
+ * @param {T} func - The callback function to be debounced.
237
+ * @param {number} delay - The delay in milliseconds before the callback is invoked (default is `500` milliseconds).
238
+ * @param {DebounceOptions} [options] - Options to control the behavior of the debounced function.
239
+ * @returns {DebouncedState<T>} A debounced version of the original callback along with control functions.
240
+ * @public
241
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-debounce-callback)
242
+ * @example
243
+ * ```tsx
244
+ * const debouncedCallback = useDebounceCallback(
245
+ * (searchTerm) => {
246
+ * // Perform search after user stops typing for 500 milliseconds
247
+ * searchApi(searchTerm);
248
+ * },
249
+ * 500
250
+ * );
251
+ *
252
+ * // Later in the component
253
+ * debouncedCallback('react hooks'); // Will invoke the callback after 500 milliseconds of inactivity.
254
+ * ```
255
+ */
256
+ declare function useDebounceCallback<T extends (...args: any) => ReturnType<T>>(func: T, delay?: number, options?: DebounceOptions): DebouncedState<T>;
257
+
258
+ /**
259
+ * Hook options.
260
+ * @template T - The type of the value.
261
+ */
262
+ type UseDebounceValueOptions<T> = {
263
+ /**
264
+ * Determines whether the function should be invoked on the leading edge of the timeout.
265
+ * @default false
266
+ */
267
+ leading?: boolean;
268
+ /**
269
+ * Determines whether the function should be invoked on the trailing edge of the timeout.
270
+ * @default false
271
+ */
272
+ trailing?: boolean;
273
+ /**
274
+ * The maximum time the specified function is allowed to be delayed before it is invoked.
275
+ */
276
+ maxWait?: number;
277
+ /** A function to determine if the value has changed. Defaults to a function that checks if the value is strictly equal to the previous value. */
278
+ equalityFn?: (left: T, right: T) => boolean;
279
+ };
280
+ /**
281
+ * Custom hook that returns a debounced version of the provided value, along with a function to update it.
282
+ * @template T - The type of the value.
283
+ * @param {T | (() => T)} initialValue - The value to be debounced.
284
+ * @param {number} delay - The delay in milliseconds before the value is updated (default is 500ms).
285
+ * @param {object} [options] - Optional configurations for the debouncing behavior.
286
+ * @returns {[T, DebouncedState<(value: T) => void>]} An array containing the debounced value and the function to update it.
287
+ * @public
288
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-debounce-value)
289
+ * @example
290
+ * ```tsx
291
+ * const [debouncedValue, updateDebouncedValue] = useDebounceValue(inputValue, 500, { leading: true });
292
+ * ```
293
+ */
294
+ declare function useDebounceValue<T>(initialValue: T | (() => T), delay: number, options?: UseDebounceValueOptions<T>): [T, DebouncedState<(value: T) => void>];
295
+
296
+ /** Hook options. */
297
+ type UseDocumentTitleOptions = {
298
+ /** Whether to keep the title after unmounting the component (default is `true`). */
299
+ preserveTitleOnUnmount?: boolean;
300
+ };
301
+ /**
302
+ * Custom hook that sets the document title.
303
+ * @param {string} title - The title to set.
304
+ * @param {?UseDocumentTitleOptions} [options] - The options.
305
+ * @public
306
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-document-title)
307
+ * @example
308
+ * ```tsx
309
+ * useDocumentTitle('My new title');
310
+ * ```
311
+ */
312
+ declare function useDocumentTitle(title: string, options?: UseDocumentTitleOptions): void;
313
+
314
+ /**
315
+ * Custom hook that creates a memoized event callback.
316
+ * @template Args - An array of argument types for the event callback.
317
+ * @template R - The return type of the event callback.
318
+ * @param {(...args: Args) => R} fn - The callback function.
319
+ * @returns {(...args: Args) => R} A memoized event callback function.
320
+ * @public
321
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-event-callback)
322
+ * @example
323
+ * ```tsx
324
+ * const handleClick = useEventCallback((event) => {
325
+ * // Handle the event here
326
+ * });
327
+ * ```
328
+ */
329
+ declare function useEventCallback<Args extends unknown[], R>(fn: (...args: Args) => R): (...args: Args) => R;
330
+ declare function useEventCallback<Args extends unknown[], R>(fn: ((...args: Args) => R) | undefined): ((...args: Args) => R) | undefined;
331
+
332
+ declare function useEventListener<K extends keyof MediaQueryListEventMap>(eventName: K, handler: (event: MediaQueryListEventMap[K]) => void, element: RefObject<MediaQueryList>, options?: boolean | AddEventListenerOptions): void;
333
+ declare function useEventListener<K extends keyof WindowEventMap>(eventName: K, handler: (event: WindowEventMap[K]) => void, element?: undefined, options?: boolean | AddEventListenerOptions): void;
334
+ declare function useEventListener<K extends keyof HTMLElementEventMap & keyof SVGElementEventMap, T extends Element = K extends keyof HTMLElementEventMap ? HTMLDivElement : SVGElement>(eventName: K, handler: ((event: HTMLElementEventMap[K]) => void) | ((event: SVGElementEventMap[K]) => void), element: RefObject<T>, options?: boolean | AddEventListenerOptions): void;
335
+ declare function useEventListener<K extends keyof DocumentEventMap>(eventName: K, handler: (event: DocumentEventMap[K]) => void, element: RefObject<Document>, options?: boolean | AddEventListenerOptions): void;
336
+
337
+ /**
338
+ * Custom hook that tracks whether a DOM element is being hovered over.
339
+ * @template T - The type of the DOM element. Defaults to `HTMLElement`.
340
+ * @param {RefObject<T>} elementRef - The ref object for the DOM element to track.
341
+ * @returns {boolean} A boolean value indicating whether the element is being hovered over.
342
+ * @public
343
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-hover)
344
+ * @example
345
+ * ```tsx
346
+ * const buttonRef = useRef<HTMLButtonElement>(null);
347
+ * const isHovered = useHover(buttonRef);
348
+ * // Access the isHovered variable to determine if the button is being hovered over.
349
+ * ```
350
+ */
351
+ declare function useHover<T extends HTMLElement = HTMLElement>(elementRef: RefObject<T>): boolean;
352
+
353
+ /** Represents the options for configuring the Intersection Observer. */
354
+ type UseIntersectionObserverOptions = {
355
+ /**
356
+ * The element that is used as the viewport for checking visibility of the target.
357
+ * @default null
358
+ */
359
+ root?: Element | Document | null;
360
+ /**
361
+ * A margin around the root.
362
+ * @default '0%'
363
+ */
364
+ rootMargin?: string;
365
+ /**
366
+ * A threshold indicating the percentage of the target's visibility needed to trigger the callback.
367
+ * @default 0
368
+ */
369
+ threshold?: number | number[];
370
+ /**
371
+ * If true, freezes the intersection state once the element becomes visible.
372
+ * @default false
373
+ */
374
+ freezeOnceVisible?: boolean;
375
+ /**
376
+ * A callback function to be invoked when the intersection state changes.
377
+ * @param {boolean} isIntersecting - A boolean indicating if the element is intersecting.
378
+ * @param {IntersectionObserverEntry} entry - The intersection observer Entry.
379
+ * @default undefined
380
+ */
381
+ onChange?: (isIntersecting: boolean, entry: IntersectionObserverEntry) => void;
382
+ /**
383
+ * The initial state of the intersection.
384
+ * @default false
385
+ */
386
+ initialIsIntersecting?: boolean;
387
+ };
388
+ /**
389
+ * The return type of the useIntersectionObserver hook.
390
+ *
391
+ * Supports both tuple and object destructing.
392
+ * @param {(node: Element | null) => void} ref - The ref callback function.
393
+ * @param {boolean} isIntersecting - A boolean indicating if the element is intersecting.
394
+ * @param {IntersectionObserverEntry | undefined} entry - The intersection observer Entry.
395
+ */
396
+ type IntersectionReturn = [
397
+ (node?: Element | null) => void,
398
+ boolean,
399
+ IntersectionObserverEntry | undefined
400
+ ] & {
401
+ ref: (node?: Element | null) => void;
402
+ isIntersecting: boolean;
403
+ entry?: IntersectionObserverEntry;
404
+ };
405
+ /**
406
+ * Custom hook that tracks the intersection of a DOM element with its containing element or the viewport using the [`Intersection Observer API`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API).
407
+ * @param {UseIntersectionObserverOptions} options - The options for the Intersection Observer.
408
+ * @returns {IntersectionReturn} The ref callback, a boolean indicating if the element is intersecting, and the intersection observer entry.
409
+ * @public
410
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-intersection-observer)
411
+ * @example
412
+ * ```tsx
413
+ * // Example 1
414
+ * const [ref, isIntersecting, entry] = useIntersectionObserver({ threshold: 0.5 });
415
+ * ```
416
+ *
417
+ * ```tsx
418
+ * // Example 2
419
+ * const { ref, isIntersecting, entry } = useIntersectionObserver({ threshold: 0.5 });
420
+ * ```
421
+ */
422
+ declare function useIntersectionObserver({ threshold, root, rootMargin, freezeOnceVisible, initialIsIntersecting, onChange, }?: UseIntersectionObserverOptions): IntersectionReturn;
423
+
424
+ /**
425
+ * Custom hook that creates an interval that invokes a callback function at a specified delay using the [`setInterval API`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setInterval).
426
+ * @param {() => void} callback - The function to be invoked at each interval.
427
+ * @param {number | null} delay - The time, in milliseconds, between each invocation of the callback. Use `null` to clear the interval.
428
+ * @public
429
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-interval)
430
+ * @example
431
+ * ```tsx
432
+ * const handleInterval = () => {
433
+ * // Code to be executed at each interval
434
+ * };
435
+ * useInterval(handleInterval, 1000);
436
+ * ```
437
+ */
438
+ declare function useInterval(callback: () => void, delay: number | null): void;
439
+
440
+ /**
441
+ * Custom hook that determines if the code is running on the client side (in the browser).
442
+ * @returns {boolean} A boolean value indicating whether the code is running on the client side.
443
+ * @public
444
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-is-client)
445
+ * @example
446
+ * ```tsx
447
+ * const isClient = useIsClient();
448
+ * // Use isClient to conditionally render or execute code specific to the client side.
449
+ * ```
450
+ */
451
+ declare function useIsClient(): boolean;
452
+
453
+ /**
454
+ * Custom hook that determines if the component is currently mounted.
455
+ * @returns {() => boolean} A function that returns a boolean value indicating whether the component is mounted.
456
+ * @public
457
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-is-mounted)
458
+ * @example
459
+ * ```tsx
460
+ * const isComponentMounted = useIsMounted();
461
+ * // Use isComponentMounted() to check if the component is currently mounted before performing certain actions.
462
+ * ```
463
+ */
464
+ declare function useIsMounted(): () => boolean;
465
+
466
+ /**
467
+ * Custom hook that uses either `useLayoutEffect` or `useEffect` based on the environment (client-side or server-side).
468
+ * @param {Function} effect - The effect function to be executed.
469
+ * @param {Array<any>} [dependencies] - An array of dependencies for the effect (optional).
470
+ * @public
471
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-isomorphic-layout-effect)
472
+ * @example
473
+ * ```tsx
474
+ * useIsomorphicLayoutEffect(() => {
475
+ * // Code to be executed during the layout phase on the client side
476
+ * }, [dependency1, dependency2]);
477
+ * ```
478
+ */
479
+ declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
480
+
481
+ declare global {
482
+ interface WindowEventMap {
483
+ 'local-storage': CustomEvent;
484
+ }
485
+ }
486
+ /**
487
+ * Options for customizing the behavior of serialization and deserialization.
488
+ * @template T - The type of the state to be stored in local storage.
489
+ */
490
+ type UseLocalStorageOptions<T> = {
491
+ /** A function to serialize the value before storing it. */
492
+ serializer?: (value: T) => string;
493
+ /** A function to deserialize the stored value. */
494
+ deserializer?: (value: string) => T;
495
+ /**
496
+ * If `true` (default), the hook will initialize reading the local storage. In SSR, you should set it to `false`, returning the initial value initially.
497
+ * @default true
498
+ */
499
+ initializeWithValue?: boolean;
500
+ };
501
+ /**
502
+ * Custom hook that uses the [`localStorage API`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) to persist state across page reloads.
503
+ * @template T - The type of the state to be stored in local storage.
504
+ * @param {string} key - The key under which the value will be stored in local storage.
505
+ * @param {T | (() => T)} initialValue - The initial value of the state or a function that returns the initial value.
506
+ * @param {UseLocalStorageOptions<T>} [options] - Options for customizing the behavior of serialization and deserialization (optional).
507
+ * @returns {[T, Dispatch<SetStateAction<T>>, () => void]} A tuple containing the stored value, a function to set the value and a function to remove the key from storage.
508
+ * @public
509
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-local-storage)
510
+ * @example
511
+ * ```tsx
512
+ * const [count, setCount, removeCount] = useLocalStorage('count', 0);
513
+ * // Access the `count` value, the `setCount` function to update it and `removeCount` function to remove the key from storage.
514
+ * ```
515
+ */
516
+ declare function useLocalStorage<T>(key: string, initialValue: T | (() => T), options?: UseLocalStorageOptions<T>): [T, Dispatch<SetStateAction<T>>, () => void];
517
+
518
+ /**
519
+ * Represents the type for either a Map or an array of key-value pairs.
520
+ * @template K - The type of keys in the map.
521
+ * @template V - The type of values in the map.
522
+ */
523
+ type MapOrEntries<K, V> = Map<K, V> | [K, V][];
524
+ /**
525
+ * Represents the actions available to interact with the map state.
526
+ * @template K - The type of keys in the map.
527
+ * @template V - The type of values in the map.
528
+ */
529
+ type UseMapActions<K, V> = {
530
+ /** Set a key-value pair in the map. */
531
+ set: (key: K, value: V) => void;
532
+ /** Set all key-value pairs in the map. */
533
+ setAll: (entries: MapOrEntries<K, V>) => void;
534
+ /** Remove a key-value pair from the map. */
535
+ remove: (key: K) => void;
536
+ /** Reset the map to an empty state. */
537
+ reset: Map<K, V>['clear'];
538
+ };
539
+ /**
540
+ * Represents the return type of the `useMap` hook.
541
+ * We hide some setters from the returned map to disable autocompletion.
542
+ * @template K - The type of keys in the map.
543
+ * @template V - The type of values in the map.
544
+ */
545
+ type UseMapReturn<K, V> = [
546
+ Omit<Map<K, V>, 'set' | 'clear' | 'delete'>,
547
+ UseMapActions<K, V>
548
+ ];
549
+ /**
550
+ * Custom hook that manages a key-value [`Map`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) state with setter actions.
551
+ * @template K - The type of keys in the map.
552
+ * @template V - The type of values in the map.
553
+ * @param {MapOrEntries<K, V>} [initialState] - The initial state of the map as a Map or an array of key-value pairs (optional).
554
+ * @returns {UseMapReturn<K, V>} A tuple containing the map state and actions to interact with the map.
555
+ * @public
556
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-map)
557
+ * @example
558
+ * ```tsx
559
+ * const [map, mapActions] = useMap();
560
+ * // Access the `map` state and use `mapActions` to set, remove, or reset entries.
561
+ * ```
562
+ */
563
+ declare function useMap<K, V>(initialState?: MapOrEntries<K, V>): UseMapReturn<K, V>;
564
+
565
+ /** Hook options. */
566
+ type UseMediaQueryOptions = {
567
+ /**
568
+ * The default value to return if the hook is being run on the server.
569
+ * @default false
570
+ */
571
+ defaultValue?: boolean;
572
+ /**
573
+ * If `true` (default), the hook will initialize reading the media query. In SSR, you should set it to `false`, returning `options.defaultValue` or `false` initially.
574
+ * @default true
575
+ */
576
+ initializeWithValue?: boolean;
577
+ };
578
+ /**
579
+ * Custom hook that tracks the state of a media query using the [`Match Media API`](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia).
580
+ * @param {string} query - The media query to track.
581
+ * @param {?UseMediaQueryOptions} [options] - The options for customizing the behavior of the hook (optional).
582
+ * @returns {boolean} The current state of the media query (true if the query matches, false otherwise).
583
+ * @public
584
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-media-query)
585
+ * @example
586
+ * ```tsx
587
+ * const isSmallScreen = useMediaQuery('(max-width: 600px)');
588
+ * // Use `isSmallScreen` to conditionally apply styles or logic based on the screen size.
589
+ * ```
590
+ */
591
+ declare function useMediaQuery(query: string, { defaultValue, initializeWithValue, }?: UseMediaQueryOptions): boolean;
592
+
593
+ /** Supported event types. */
594
+ type EventType = 'mousedown' | 'mouseup' | 'touchstart' | 'touchend' | 'focusin' | 'focusout';
595
+ /**
596
+ * Custom hook that handles clicks outside a specified element.
597
+ * @template T - The type of the element's reference.
598
+ * @param {RefObject<T> | RefObject<T>[]} ref - The React ref object(s) representing the element(s) to watch for outside clicks.
599
+ * @param {(event: MouseEvent | TouchEvent | FocusEvent) => void} handler - The callback function to be executed when a click outside the element occurs.
600
+ * @param {EventType} [eventType] - The mouse event type to listen for (optional, default is 'mousedown').
601
+ * @param {?AddEventListenerOptions} [eventListenerOptions] - The options object to be passed to the `addEventListener` method (optional).
602
+ * @returns {void}
603
+ * @public
604
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-on-click-outside)
605
+ * @example
606
+ * ```tsx
607
+ * const containerRef = useRef(null);
608
+ * useOnClickOutside([containerRef], () => {
609
+ * // Handle clicks outside the container.
610
+ * });
611
+ * ```
612
+ */
613
+ declare function useOnClickOutside<T extends HTMLElement = HTMLElement>(ref: RefObject<T> | RefObject<T>[], handler: (event: MouseEvent | TouchEvent | FocusEvent) => void, eventType?: EventType, eventListenerOptions?: AddEventListenerOptions): void;
614
+
615
+ /**
616
+ * Represents the type for the options available when reading from local storage.
617
+ * @template T - The type of the stored value.
618
+ */
619
+ type Options<T, InitializeWithValue extends boolean | undefined> = {
620
+ /** Custom deserializer function to convert the stored string value to the desired type (optional). */
621
+ deserializer?: (value: string) => T;
622
+ /** If `true` (default), the hook will initialize reading the local storage. In SSR, you should set it to `false`, returning `undefined` initially. */
623
+ initializeWithValue: InitializeWithValue;
624
+ };
625
+ declare function useReadLocalStorage<T>(key: string, options: Options<T, false>): T | null | undefined;
626
+ declare function useReadLocalStorage<T>(key: string, options?: Partial<Options<T, true>>): T | null;
627
+
628
+ /** The size of the observed element. */
629
+ type Size = {
630
+ /** The width of the observed element. */
631
+ width: number | undefined;
632
+ /** The height of the observed element. */
633
+ height: number | undefined;
634
+ };
635
+ /** The options for the ResizeObserver. */
636
+ type UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {
637
+ /** The ref of the element to observe. */
638
+ ref: RefObject<T>;
639
+ /**
640
+ * When using `onResize`, the hook doesn't re-render on element size changes; it delegates handling to the provided callback.
641
+ * @default undefined
642
+ */
643
+ onResize?: (size: Size) => void;
644
+ /**
645
+ * The box model to use for the ResizeObserver.
646
+ * @default 'content-box'
647
+ */
648
+ box?: 'border-box' | 'content-box' | 'device-pixel-content-box';
649
+ };
650
+ /**
651
+ * Custom hook that observes the size of an element using the [`ResizeObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver).
652
+ * @template T - The type of the element to observe.
653
+ * @param {UseResizeObserverOptions<T>} options - The options for the ResizeObserver.
654
+ * @returns {Size} - The size of the observed element.
655
+ * @public
656
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-resize-observer)
657
+ * @example
658
+ * ```tsx
659
+ * const myRef = useRef(null);
660
+ * const { width = 0, height = 0 } = useResizeObserver({
661
+ * ref: myRef,
662
+ * box: 'content-box',
663
+ * });
664
+ *
665
+ * <div ref={myRef}>Hello, world!</div>
666
+ * ```
667
+ */
668
+ declare function useResizeObserver<T extends HTMLElement = HTMLElement>(options: UseResizeObserverOptions<T>): Size;
669
+
670
+ /**
671
+ * The hooks options.
672
+ * @template InitializeWithValue - If `true` (default), the hook will initialize reading the screen dimensions. In SSR, you should set it to `false`, returning `undefined` initially.
673
+ */
674
+ type UseScreenOptions<InitializeWithValue extends boolean | undefined> = {
675
+ /**
676
+ * If `true` (default), the hook will initialize reading the screen dimensions. In SSR, you should set it to `false`, returning `undefined` initially.
677
+ * @default true
678
+ */
679
+ initializeWithValue: InitializeWithValue;
680
+ /**
681
+ * The delay in milliseconds before the state is updated (disabled by default for retro-compatibility).
682
+ * @default undefined
683
+ */
684
+ debounceDelay?: number;
685
+ };
686
+ declare function useScreen(options: UseScreenOptions<false>): Screen | undefined;
687
+ declare function useScreen(options?: Partial<UseScreenOptions<true>>): Screen;
688
+
689
+ /** Script loading status. */
690
+ type UseScriptStatus = 'idle' | 'loading' | 'ready' | 'error';
691
+ /** Hook options. */
692
+ type UseScriptOptions = {
693
+ /** If `true`, prevents the script from being loaded (optional). */
694
+ shouldPreventLoad?: boolean;
695
+ /** If `true`, removes the script from the DOM when the component unmounts (optional). */
696
+ removeOnUnmount?: boolean;
697
+ /** Script's `id` (optional). */
698
+ id?: string;
699
+ };
700
+ /**
701
+ * Custom hook that dynamically loads scripts and tracking their loading status.
702
+ * @param {string | null} src - The source URL of the script to load. Set to `null` or omit to prevent loading (optional).
703
+ * @param {UseScriptOptions} [options] - Additional options for controlling script loading (optional).
704
+ * @returns {UseScriptStatus} The status of the script loading, which can be one of 'idle', 'loading', 'ready', or 'error'.
705
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-script)
706
+ * @example
707
+ * const scriptStatus = useScript('https://example.com/script.js', { removeOnUnmount: true });
708
+ * // Access the status of the script loading (e.g., 'loading', 'ready', 'error').
709
+ */
710
+ declare function useScript(src: string | null, options?: UseScriptOptions): UseScriptStatus;
711
+
712
+ /** Hook options. */
713
+ type UseScrollLockOptions = {
714
+ /**
715
+ * Whether to lock the scroll initially.
716
+ * @default true
717
+ */
718
+ autoLock?: boolean;
719
+ /**
720
+ * The target element to lock the scroll (default is the body element).
721
+ * @default document.body
722
+ */
723
+ lockTarget?: HTMLElement | string;
724
+ /**
725
+ * Whether to prevent width reflow when locking the scroll.
726
+ * @default true
727
+ */
728
+ widthReflow?: boolean;
729
+ };
730
+ /** Hook return type. */
731
+ type UseScrollLockReturn = {
732
+ /** Whether the scroll is locked. */
733
+ isLocked: boolean;
734
+ /** Lock the scroll. */
735
+ lock: () => void;
736
+ /** Unlock the scroll. */
737
+ unlock: () => void;
738
+ };
739
+ /**
740
+ * A custom hook that locks and unlocks scroll.
741
+ * @param {UseScrollLockOptions} [options] - Options to configure the hook, by default it will lock the scroll automatically.
742
+ * @returns {UseScrollLockReturn} - An object containing the lock and unlock functions.
743
+ * @public
744
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-scroll-lock)
745
+ * @example
746
+ * ```tsx
747
+ * // Lock the scroll when the modal is mounted, and unlock it when it's unmounted
748
+ * useScrollLock()
749
+ * ```
750
+ * @example
751
+ * ```tsx
752
+ * // Manually lock and unlock the scroll
753
+ * const { lock, unlock } = useScrollLock({ autoLock: false })
754
+ *
755
+ * return (
756
+ * <div>
757
+ * <button onClick={lock}>Lock</button>
758
+ * <button onClick={unlock}>Unlock</button>
759
+ * </div>
760
+ * )
761
+ * ```
762
+ */
763
+ declare function useScrollLock(options?: UseScrollLockOptions): UseScrollLockReturn;
764
+
765
+ declare global {
766
+ interface WindowEventMap {
767
+ 'session-storage': CustomEvent;
768
+ }
769
+ }
770
+ /**
771
+ * Represents the options for customizing the behavior of serialization and deserialization.
772
+ * @template T - The type of the state to be stored in session storage.
773
+ */
774
+ type UseSessionStorageOptions<T> = {
775
+ /** A function to serialize the value before storing it. */
776
+ serializer?: (value: T) => string;
777
+ /** A function to deserialize the stored value. */
778
+ deserializer?: (value: string) => T;
779
+ /**
780
+ * If `true` (default), the hook will initialize reading the session storage. In SSR, you should set it to `false`, returning the initial value initially.
781
+ * @default true
782
+ */
783
+ initializeWithValue?: boolean;
784
+ };
785
+ /**
786
+ * Custom hook that uses the [`sessionStorage API`](https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage) to persist state across page reloads.
787
+ * @template T - The type of the state to be stored in session storage.
788
+ * @param {string} key - The key under which the value will be stored in session storage.
789
+ * @param {T | (() => T)} initialValue - The initial value of the state or a function that returns the initial value.
790
+ * @param {?UseSessionStorageOptions<T>} [options] - Options for customizing the behavior of serialization and deserialization (optional).
791
+ * @returns {[T, Dispatch<SetStateAction<T>>, () => void]} A tuple containing the stored value, a function to set the value and a function to remove the key from storage.
792
+ * @public
793
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-session-storage)
794
+ * @example
795
+ * ```tsx
796
+ * const [count, setCount, removeCount] = useSessionStorage('count', 0);
797
+ * // Access the `count` value, the `setCount` function to update it and `removeCount` function to remove the key from storage.
798
+ * ```
799
+ */
800
+ declare function useSessionStorage<T>(key: string, initialValue: T | (() => T), options?: UseSessionStorageOptions<T>): [T, Dispatch<SetStateAction<T>>, () => void];
801
+
802
+ /** Represents the second element of the output of the `useStep` hook. */
803
+ type UseStepActions = {
804
+ /** Go to the next step in the process. */
805
+ goToNextStep: () => void;
806
+ /** Go to the previous step in the process. */
807
+ goToPrevStep: () => void;
808
+ /** Reset the step to the initial step. */
809
+ reset: () => void;
810
+ /** Check if the next step is available. */
811
+ canGoToNextStep: boolean;
812
+ /** Check if the previous step is available. */
813
+ canGoToPrevStep: boolean;
814
+ /** Set the current step to a specific value. */
815
+ setStep: Dispatch<SetStateAction<number>>;
816
+ };
817
+ /**
818
+ * Custom hook that manages and navigates between steps in a multi-step process.
819
+ * @param {number} maxStep - The maximum step in the process.
820
+ * @returns {[number, UseStepActions]} An tuple containing the current step and helper functions for navigating steps.
821
+ * @public
822
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-step)
823
+ * @example
824
+ * ```tsx
825
+ * const [currentStep, { goToNextStep, goToPrevStep, reset, canGoToNextStep, canGoToPrevStep, setStep }] = useStep(3);
826
+ * // Access and use the current step and provided helper functions.
827
+ * ```
828
+ */
829
+ declare function useStep(maxStep: number): [number, UseStepActions];
830
+
831
+ /** Ternary dark mode options. */
832
+ type TernaryDarkMode = 'system' | 'dark' | 'light';
833
+ /** Options for the `useTernaryDarkMode` hook. */
834
+ type TernaryDarkModeOptions = {
835
+ /**
836
+ * The default value for the dark mode.
837
+ * @default 'system'
838
+ */
839
+ defaultValue?: TernaryDarkMode;
840
+ /**
841
+ * The key for storing dark mode preference in local storage.
842
+ * @default 'usehooks-ts-ternary-dark-mode'
843
+ */
844
+ localStorageKey?: string;
845
+ /**
846
+ * If `true` (default), the hook will initialize reading `localStorage`. In SSR, you should set it to `false`, returning default values initially.
847
+ * @default true
848
+ */
849
+ initializeWithValue?: boolean;
850
+ };
851
+ /** Represents the return type of the `useTernaryDarkMode` hook. */
852
+ type TernaryDarkModeReturn = {
853
+ /** The current state of the dark mode. */
854
+ isDarkMode: boolean;
855
+ /** The current state of the dark mode. */
856
+ ternaryDarkMode: TernaryDarkMode;
857
+ /** A function to set the dark mode state. */
858
+ setTernaryDarkMode: Dispatch<SetStateAction<TernaryDarkMode>>;
859
+ /** A function to toggle the dark mode state. */
860
+ toggleTernaryDarkMode: () => void;
861
+ };
862
+ /**
863
+ * Custom hook that manages ternary (system, dark, light) dark mode with local storage support.
864
+ * @param {?TernaryDarkModeOptions | string} [options] - Options or the local storage key for the hook.
865
+ * @returns {TernaryDarkModeReturn} An object containing the dark mode state and helper functions.
866
+ * @public
867
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-ternary-dark-mode)
868
+ * @example
869
+ * ```tsx
870
+ * const { isDarkMode, ternaryDarkMode, setTernaryDarkMode, toggleTernaryDarkMode } = useTernaryDarkMode({ defaultValue: 'dark' });
871
+ * // Access and use the dark mode state and provided helper functions.
872
+ * ```
873
+ */
874
+ declare function useTernaryDarkMode({ defaultValue, localStorageKey, initializeWithValue, }?: TernaryDarkModeOptions): TernaryDarkModeReturn;
875
+
876
+ /**
877
+ * Custom hook that handles timeouts in React components using the [`setTimeout API`](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/setTimeout).
878
+ * @param {() => void} callback - The function to be executed when the timeout elapses.
879
+ * @param {number | null} delay - The duration (in milliseconds) for the timeout. Set to `null` to clear the timeout.
880
+ * @returns {void} This hook does not return anything.
881
+ * @public
882
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-timeout)
883
+ * @example
884
+ * ```tsx
885
+ * // Usage of useTimeout hook
886
+ * useTimeout(() => {
887
+ * // Code to be executed after the specified delay
888
+ * }, 1000); // Set a timeout of 1000 milliseconds (1 second)
889
+ * ```
890
+ */
891
+ declare function useTimeout(callback: () => void, delay: number | null): void;
892
+
893
+ /**
894
+ * Custom hook that manages a boolean toggle state in React components.
895
+ * @param {boolean} [defaultValue] - The initial value for the toggle state.
896
+ * @returns {[boolean, () => void, Dispatch<SetStateAction<boolean>>]} A tuple containing the current state,
897
+ * a function to toggle the state, and a function to set the state explicitly.
898
+ * @public
899
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-toggle)
900
+ * @example
901
+ * ```tsx
902
+ * const [isToggled, toggle, setToggle] = useToggle(); // Initial value is false
903
+ * // OR
904
+ * const [isToggled, toggle, setToggle] = useToggle(true); // Initial value is true
905
+ * // Use isToggled in your component, toggle to switch the state, setToggle to set the state explicitly.
906
+ * ```
907
+ */
908
+ declare function useToggle(defaultValue?: boolean): [boolean, () => void, Dispatch<SetStateAction<boolean>>];
909
+
910
+ /**
911
+ * Custom hook that runs a cleanup function when the component is unmounted.
912
+ * @param {() => void} func - The cleanup function to be executed on unmount.
913
+ * @public
914
+ * @see [Documentation](https://usehooks-ts.com/react-hook/use-unmount)
915
+ * @example
916
+ * ```tsx
917
+ * useUnmount(() => {
918
+ * // Cleanup logic here
919
+ * });
920
+ * ```
921
+ */
922
+ declare function useUnmount(func: () => void): void;
923
+
924
+ /**
925
+ * Represent the dimension of the window.
926
+ * @template T - The type of the dimension (number or undefined).
927
+ */
928
+ type WindowSize<T extends number | undefined = number | undefined> = {
929
+ /** The width of the window. */
930
+ width: T;
931
+ /** The height of the window. */
932
+ height: T;
933
+ };
934
+ /**
935
+ * Hook options.
936
+ * @template InitializeWithValue - If `true` (default), the hook will initialize reading the window size. In SSR, you should set it to `false`, returning `undefined` initially.
937
+ */
938
+ type UseWindowSizeOptions<InitializeWithValue extends boolean | undefined> = {
939
+ /**
940
+ * If `true` (default), the hook will initialize reading the window size. In SSR, you should set it to `false`, returning `undefined` initially.
941
+ * @default true
942
+ */
943
+ initializeWithValue: InitializeWithValue;
944
+ /**
945
+ * The delay in milliseconds before the state is updated (disabled by default for retro-compatibility).
946
+ * @default undefined
947
+ */
948
+ debounceDelay?: number;
949
+ };
950
+ declare function useWindowSize(options: UseWindowSizeOptions<false>): WindowSize;
951
+ declare function useWindowSize(options?: Partial<UseWindowSizeOptions<true>>): WindowSize<number>;
952
+
953
+ export { type DebouncedState, type TernaryDarkMode, type TernaryDarkModeOptions, type TernaryDarkModeReturn, useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };