deskforge 1.0.0

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 (1369) hide show
  1. package/.vscode/settings.json +3 -0
  2. package/README.md +547 -0
  3. package/examples/deskforge-app/App.ts +50 -0
  4. package/examples/deskforge-app/README.md +80 -0
  5. package/examples/deskforge-app/app.json +10 -0
  6. package/examples/deskforge-app/dist/App.d.ts +1 -0
  7. package/examples/deskforge-app/dist/App.js +100 -0
  8. package/examples/deskforge-app/dist/App.js.map +1 -0
  9. package/examples/deskforge-app/dist/deskforge-app-details.png +0 -0
  10. package/examples/deskforge-app/dist/deskforge-app-home.png +0 -0
  11. package/examples/deskforge-app/dist/examples/deskforge-app/App.d.ts +1 -0
  12. package/examples/deskforge-app/dist/examples/deskforge-app/App.js +74 -0
  13. package/examples/deskforge-app/dist/examples/deskforge-app/App.js.map +1 -0
  14. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Details.d.ts +9 -0
  15. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Details.js +14 -0
  16. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Details.js.map +1 -0
  17. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Home.d.ts +9 -0
  18. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Home.js +13 -0
  19. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/Home.js.map +1 -0
  20. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/index.d.ts +2 -0
  21. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/index.js +13 -0
  22. package/examples/deskforge-app/dist/examples/deskforge-app/src/screens/index.js.map +1 -0
  23. package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/Responsive.d.ts +38 -0
  24. package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/Responsive.js +61 -0
  25. package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/Responsive.js.map +1 -0
  26. package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/index.d.ts +1 -0
  27. package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/index.js +18 -0
  28. package/examples/deskforge-app/dist/examples/deskforge-app/src/ui/index.js.map +1 -0
  29. package/examples/deskforge-app/dist/packages/core/src/animation/easing.d.ts +22 -0
  30. package/examples/deskforge-app/dist/packages/core/src/animation/easing.js +91 -0
  31. package/examples/deskforge-app/dist/packages/core/src/animation/easing.js.map +1 -0
  32. package/examples/deskforge-app/dist/packages/core/src/animation/index.d.ts +3 -0
  33. package/examples/deskforge-app/dist/packages/core/src/animation/index.js +26 -0
  34. package/examples/deskforge-app/dist/packages/core/src/animation/index.js.map +1 -0
  35. package/examples/deskforge-app/dist/packages/core/src/animation/interpolate.d.ts +6 -0
  36. package/examples/deskforge-app/dist/packages/core/src/animation/interpolate.js +83 -0
  37. package/examples/deskforge-app/dist/packages/core/src/animation/interpolate.js.map +1 -0
  38. package/examples/deskforge-app/dist/packages/core/src/animation/spring.d.ts +20 -0
  39. package/examples/deskforge-app/dist/packages/core/src/animation/spring.js +79 -0
  40. package/examples/deskforge-app/dist/packages/core/src/animation/spring.js.map +1 -0
  41. package/examples/deskforge-app/dist/packages/core/src/component/component.d.ts +5 -0
  42. package/examples/deskforge-app/dist/packages/core/src/component/component.js +14 -0
  43. package/examples/deskforge-app/dist/packages/core/src/component/component.js.map +1 -0
  44. package/examples/deskforge-app/dist/packages/core/src/component/index.d.ts +1 -0
  45. package/examples/deskforge-app/dist/packages/core/src/component/index.js +18 -0
  46. package/examples/deskforge-app/dist/packages/core/src/component/index.js.map +1 -0
  47. package/examples/deskforge-app/dist/packages/core/src/index.d.ts +5 -0
  48. package/examples/deskforge-app/dist/packages/core/src/index.js +30 -0
  49. package/examples/deskforge-app/dist/packages/core/src/index.js.map +1 -0
  50. package/examples/deskforge-app/dist/packages/core/src/scheduler/index.d.ts +1 -0
  51. package/examples/deskforge-app/dist/packages/core/src/scheduler/index.js +20 -0
  52. package/examples/deskforge-app/dist/packages/core/src/scheduler/index.js.map +1 -0
  53. package/examples/deskforge-app/dist/packages/core/src/scheduler/scheduler.d.ts +11 -0
  54. package/examples/deskforge-app/dist/packages/core/src/scheduler/scheduler.js +61 -0
  55. package/examples/deskforge-app/dist/packages/core/src/scheduler/scheduler.js.map +1 -0
  56. package/examples/deskforge-app/dist/packages/core/src/tree/diff.d.ts +16 -0
  57. package/examples/deskforge-app/dist/packages/core/src/tree/diff.js +67 -0
  58. package/examples/deskforge-app/dist/packages/core/src/tree/diff.js.map +1 -0
  59. package/examples/deskforge-app/dist/packages/core/src/tree/index.d.ts +3 -0
  60. package/examples/deskforge-app/dist/packages/core/src/tree/index.js +23 -0
  61. package/examples/deskforge-app/dist/packages/core/src/tree/index.js.map +1 -0
  62. package/examples/deskforge-app/dist/packages/core/src/tree/node.d.ts +12 -0
  63. package/examples/deskforge-app/dist/packages/core/src/tree/node.js +59 -0
  64. package/examples/deskforge-app/dist/packages/core/src/tree/node.js.map +1 -0
  65. package/examples/deskforge-app/dist/packages/core/src/tree/tree.d.ts +10 -0
  66. package/examples/deskforge-app/dist/packages/core/src/tree/tree.js +43 -0
  67. package/examples/deskforge-app/dist/packages/core/src/tree/tree.js.map +1 -0
  68. package/examples/deskforge-app/dist/packages/renderer/src/canvas.d.ts +23 -0
  69. package/examples/deskforge-app/dist/packages/renderer/src/canvas.js +38 -0
  70. package/examples/deskforge-app/dist/packages/renderer/src/canvas.js.map +1 -0
  71. package/examples/deskforge-app/dist/packages/renderer/src/context.d.ts +33 -0
  72. package/examples/deskforge-app/dist/packages/renderer/src/context.js +45 -0
  73. package/examples/deskforge-app/dist/packages/renderer/src/context.js.map +1 -0
  74. package/examples/deskforge-app/dist/packages/renderer/src/dirty-region.d.ts +42 -0
  75. package/examples/deskforge-app/dist/packages/renderer/src/dirty-region.js +106 -0
  76. package/examples/deskforge-app/dist/packages/renderer/src/dirty-region.js.map +1 -0
  77. package/examples/deskforge-app/dist/packages/renderer/src/engine.d.ts +56 -0
  78. package/examples/deskforge-app/dist/packages/renderer/src/engine.js +95 -0
  79. package/examples/deskforge-app/dist/packages/renderer/src/engine.js.map +1 -0
  80. package/examples/deskforge-app/dist/packages/renderer/src/filters.d.ts +22 -0
  81. package/examples/deskforge-app/dist/packages/renderer/src/filters.js +41 -0
  82. package/examples/deskforge-app/dist/packages/renderer/src/filters.js.map +1 -0
  83. package/examples/deskforge-app/dist/packages/renderer/src/index.d.ts +15 -0
  84. package/examples/deskforge-app/dist/packages/renderer/src/index.js +34 -0
  85. package/examples/deskforge-app/dist/packages/renderer/src/index.js.map +1 -0
  86. package/examples/deskforge-app/dist/packages/renderer/src/painter.d.ts +26 -0
  87. package/examples/deskforge-app/dist/packages/renderer/src/painter.js +127 -0
  88. package/examples/deskforge-app/dist/packages/renderer/src/painter.js.map +1 -0
  89. package/examples/deskforge-app/dist/packages/renderer/src/renderer.d.ts +71 -0
  90. package/examples/deskforge-app/dist/packages/renderer/src/renderer.js +120 -0
  91. package/examples/deskforge-app/dist/packages/renderer/src/renderer.js.map +1 -0
  92. package/examples/deskforge-app/dist/packages/renderer/src/svg-export.d.ts +47 -0
  93. package/examples/deskforge-app/dist/packages/renderer/src/svg-export.js +125 -0
  94. package/examples/deskforge-app/dist/packages/renderer/src/svg-export.js.map +1 -0
  95. package/examples/deskforge-app/dist/packages/router/src/app.d.ts +9 -0
  96. package/examples/deskforge-app/dist/packages/router/src/app.js +12 -0
  97. package/examples/deskforge-app/dist/packages/router/src/app.js.map +1 -0
  98. package/examples/deskforge-app/dist/packages/router/src/file-router.d.ts +35 -0
  99. package/examples/deskforge-app/dist/packages/router/src/file-router.js +145 -0
  100. package/examples/deskforge-app/dist/packages/router/src/file-router.js.map +1 -0
  101. package/examples/deskforge-app/dist/packages/router/src/index.d.ts +5 -0
  102. package/examples/deskforge-app/dist/packages/router/src/index.js +24 -0
  103. package/examples/deskforge-app/dist/packages/router/src/index.js.map +1 -0
  104. package/examples/deskforge-app/dist/packages/router/src/manifest.d.ts +9 -0
  105. package/examples/deskforge-app/dist/packages/router/src/manifest.js +26 -0
  106. package/examples/deskforge-app/dist/packages/router/src/manifest.js.map +1 -0
  107. package/examples/deskforge-app/dist/packages/router/src/router.d.ts +30 -0
  108. package/examples/deskforge-app/dist/packages/router/src/router.js +112 -0
  109. package/examples/deskforge-app/dist/packages/router/src/router.js.map +1 -0
  110. package/examples/deskforge-app/dist/packages/router/src/screen.d.ts +30 -0
  111. package/examples/deskforge-app/dist/packages/router/src/screen.js +34 -0
  112. package/examples/deskforge-app/dist/packages/router/src/screen.js.map +1 -0
  113. package/examples/deskforge-app/dist/src/screens/Details.d.ts +9 -0
  114. package/examples/deskforge-app/dist/src/screens/Details.js +62 -0
  115. package/examples/deskforge-app/dist/src/screens/Details.js.map +1 -0
  116. package/examples/deskforge-app/dist/src/screens/Home.d.ts +9 -0
  117. package/examples/deskforge-app/dist/src/screens/Home.js +68 -0
  118. package/examples/deskforge-app/dist/src/screens/Home.js.map +1 -0
  119. package/examples/deskforge-app/dist/src/screens/index.d.ts +2 -0
  120. package/examples/deskforge-app/dist/src/screens/index.js +11 -0
  121. package/examples/deskforge-app/dist/src/screens/index.js.map +1 -0
  122. package/examples/deskforge-app/node_modules/@types/node/LICENSE +21 -0
  123. package/examples/deskforge-app/node_modules/@types/node/README.md +15 -0
  124. package/examples/deskforge-app/node_modules/@types/node/assert/strict.d.ts +8 -0
  125. package/examples/deskforge-app/node_modules/@types/node/assert.d.ts +1062 -0
  126. package/examples/deskforge-app/node_modules/@types/node/async_hooks.d.ts +605 -0
  127. package/examples/deskforge-app/node_modules/@types/node/buffer.buffer.d.ts +471 -0
  128. package/examples/deskforge-app/node_modules/@types/node/buffer.d.ts +1936 -0
  129. package/examples/deskforge-app/node_modules/@types/node/child_process.d.ts +1475 -0
  130. package/examples/deskforge-app/node_modules/@types/node/cluster.d.ts +577 -0
  131. package/examples/deskforge-app/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
  132. package/examples/deskforge-app/node_modules/@types/node/compatibility/index.d.ts +9 -0
  133. package/examples/deskforge-app/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
  134. package/examples/deskforge-app/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
  135. package/examples/deskforge-app/node_modules/@types/node/console.d.ts +452 -0
  136. package/examples/deskforge-app/node_modules/@types/node/constants.d.ts +21 -0
  137. package/examples/deskforge-app/node_modules/@types/node/crypto.d.ts +4590 -0
  138. package/examples/deskforge-app/node_modules/@types/node/dgram.d.ts +597 -0
  139. package/examples/deskforge-app/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
  140. package/examples/deskforge-app/node_modules/@types/node/dns/promises.d.ts +479 -0
  141. package/examples/deskforge-app/node_modules/@types/node/dns.d.ts +871 -0
  142. package/examples/deskforge-app/node_modules/@types/node/domain.d.ts +170 -0
  143. package/examples/deskforge-app/node_modules/@types/node/events.d.ts +977 -0
  144. package/examples/deskforge-app/node_modules/@types/node/fs/promises.d.ts +1270 -0
  145. package/examples/deskforge-app/node_modules/@types/node/fs.d.ts +4375 -0
  146. package/examples/deskforge-app/node_modules/@types/node/globals.d.ts +172 -0
  147. package/examples/deskforge-app/node_modules/@types/node/globals.typedarray.d.ts +38 -0
  148. package/examples/deskforge-app/node_modules/@types/node/http.d.ts +2049 -0
  149. package/examples/deskforge-app/node_modules/@types/node/http2.d.ts +2712 -0
  150. package/examples/deskforge-app/node_modules/@types/node/https.d.ts +578 -0
  151. package/examples/deskforge-app/node_modules/@types/node/index.d.ts +93 -0
  152. package/examples/deskforge-app/node_modules/@types/node/inspector.generated.d.ts +3966 -0
  153. package/examples/deskforge-app/node_modules/@types/node/module.d.ts +539 -0
  154. package/examples/deskforge-app/node_modules/@types/node/net.d.ts +1031 -0
  155. package/examples/deskforge-app/node_modules/@types/node/os.d.ts +506 -0
  156. package/examples/deskforge-app/node_modules/@types/node/package.json +140 -0
  157. package/examples/deskforge-app/node_modules/@types/node/path.d.ts +200 -0
  158. package/examples/deskforge-app/node_modules/@types/node/perf_hooks.d.ts +961 -0
  159. package/examples/deskforge-app/node_modules/@types/node/process.d.ts +1961 -0
  160. package/examples/deskforge-app/node_modules/@types/node/punycode.d.ts +117 -0
  161. package/examples/deskforge-app/node_modules/@types/node/querystring.d.ts +152 -0
  162. package/examples/deskforge-app/node_modules/@types/node/readline/promises.d.ts +162 -0
  163. package/examples/deskforge-app/node_modules/@types/node/readline.d.ts +589 -0
  164. package/examples/deskforge-app/node_modules/@types/node/repl.d.ts +430 -0
  165. package/examples/deskforge-app/node_modules/@types/node/sea.d.ts +153 -0
  166. package/examples/deskforge-app/node_modules/@types/node/stream/consumers.d.ts +38 -0
  167. package/examples/deskforge-app/node_modules/@types/node/stream/promises.d.ts +90 -0
  168. package/examples/deskforge-app/node_modules/@types/node/stream/web.d.ts +533 -0
  169. package/examples/deskforge-app/node_modules/@types/node/stream.d.ts +1698 -0
  170. package/examples/deskforge-app/node_modules/@types/node/string_decoder.d.ts +67 -0
  171. package/examples/deskforge-app/node_modules/@types/node/test.d.ts +1787 -0
  172. package/examples/deskforge-app/node_modules/@types/node/timers/promises.d.ts +108 -0
  173. package/examples/deskforge-app/node_modules/@types/node/timers.d.ts +286 -0
  174. package/examples/deskforge-app/node_modules/@types/node/tls.d.ts +1259 -0
  175. package/examples/deskforge-app/node_modules/@types/node/trace_events.d.ts +197 -0
  176. package/examples/deskforge-app/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
  177. package/examples/deskforge-app/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
  178. package/examples/deskforge-app/node_modules/@types/node/ts5.6/index.d.ts +93 -0
  179. package/examples/deskforge-app/node_modules/@types/node/tty.d.ts +208 -0
  180. package/examples/deskforge-app/node_modules/@types/node/url.d.ts +964 -0
  181. package/examples/deskforge-app/node_modules/@types/node/util.d.ts +2331 -0
  182. package/examples/deskforge-app/node_modules/@types/node/v8.d.ts +809 -0
  183. package/examples/deskforge-app/node_modules/@types/node/vm.d.ts +1001 -0
  184. package/examples/deskforge-app/node_modules/@types/node/wasi.d.ts +181 -0
  185. package/examples/deskforge-app/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
  186. package/examples/deskforge-app/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
  187. package/examples/deskforge-app/node_modules/@types/node/web-globals/events.d.ts +97 -0
  188. package/examples/deskforge-app/node_modules/@types/node/web-globals/fetch.d.ts +55 -0
  189. package/examples/deskforge-app/node_modules/@types/node/worker_threads.d.ts +715 -0
  190. package/examples/deskforge-app/node_modules/@types/node/zlib.d.ts +598 -0
  191. package/examples/deskforge-app/node_modules/undici-types/LICENSE +21 -0
  192. package/examples/deskforge-app/node_modules/undici-types/README.md +6 -0
  193. package/examples/deskforge-app/node_modules/undici-types/agent.d.ts +31 -0
  194. package/examples/deskforge-app/node_modules/undici-types/api.d.ts +43 -0
  195. package/examples/deskforge-app/node_modules/undici-types/balanced-pool.d.ts +29 -0
  196. package/examples/deskforge-app/node_modules/undici-types/cache.d.ts +36 -0
  197. package/examples/deskforge-app/node_modules/undici-types/client.d.ts +108 -0
  198. package/examples/deskforge-app/node_modules/undici-types/connector.d.ts +34 -0
  199. package/examples/deskforge-app/node_modules/undici-types/content-type.d.ts +21 -0
  200. package/examples/deskforge-app/node_modules/undici-types/cookies.d.ts +28 -0
  201. package/examples/deskforge-app/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
  202. package/examples/deskforge-app/node_modules/undici-types/dispatcher.d.ts +256 -0
  203. package/examples/deskforge-app/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
  204. package/examples/deskforge-app/node_modules/undici-types/errors.d.ts +149 -0
  205. package/examples/deskforge-app/node_modules/undici-types/eventsource.d.ts +61 -0
  206. package/examples/deskforge-app/node_modules/undici-types/fetch.d.ts +209 -0
  207. package/examples/deskforge-app/node_modules/undici-types/file.d.ts +39 -0
  208. package/examples/deskforge-app/node_modules/undici-types/filereader.d.ts +54 -0
  209. package/examples/deskforge-app/node_modules/undici-types/formdata.d.ts +108 -0
  210. package/examples/deskforge-app/node_modules/undici-types/global-dispatcher.d.ts +9 -0
  211. package/examples/deskforge-app/node_modules/undici-types/global-origin.d.ts +7 -0
  212. package/examples/deskforge-app/node_modules/undici-types/handlers.d.ts +15 -0
  213. package/examples/deskforge-app/node_modules/undici-types/header.d.ts +4 -0
  214. package/examples/deskforge-app/node_modules/undici-types/index.d.ts +71 -0
  215. package/examples/deskforge-app/node_modules/undici-types/interceptors.d.ts +17 -0
  216. package/examples/deskforge-app/node_modules/undici-types/mock-agent.d.ts +50 -0
  217. package/examples/deskforge-app/node_modules/undici-types/mock-client.d.ts +25 -0
  218. package/examples/deskforge-app/node_modules/undici-types/mock-errors.d.ts +12 -0
  219. package/examples/deskforge-app/node_modules/undici-types/mock-interceptor.d.ts +93 -0
  220. package/examples/deskforge-app/node_modules/undici-types/mock-pool.d.ts +25 -0
  221. package/examples/deskforge-app/node_modules/undici-types/package.json +55 -0
  222. package/examples/deskforge-app/node_modules/undici-types/patch.d.ts +33 -0
  223. package/examples/deskforge-app/node_modules/undici-types/pool-stats.d.ts +19 -0
  224. package/examples/deskforge-app/node_modules/undici-types/pool.d.ts +39 -0
  225. package/examples/deskforge-app/node_modules/undici-types/proxy-agent.d.ts +28 -0
  226. package/examples/deskforge-app/node_modules/undici-types/readable.d.ts +65 -0
  227. package/examples/deskforge-app/node_modules/undici-types/retry-agent.d.ts +8 -0
  228. package/examples/deskforge-app/node_modules/undici-types/retry-handler.d.ts +116 -0
  229. package/examples/deskforge-app/node_modules/undici-types/util.d.ts +18 -0
  230. package/examples/deskforge-app/node_modules/undici-types/webidl.d.ts +228 -0
  231. package/examples/deskforge-app/node_modules/undici-types/websocket.d.ts +150 -0
  232. package/examples/deskforge-app/package.json +19 -0
  233. package/examples/deskforge-app/src/screens/Details.ts +20 -0
  234. package/examples/deskforge-app/src/screens/Home.ts +19 -0
  235. package/examples/deskforge-app/src/screens/index.ts +2 -0
  236. package/examples/deskforge-app/src/ui/Responsive.ts +88 -0
  237. package/examples/deskforge-app/src/ui/index.ts +1 -0
  238. package/examples/deskforge-app/tsconfig.json +24 -0
  239. package/examples/notekeeper/dist/app.d.ts +1 -0
  240. package/examples/notekeeper/dist/app.js +96 -0
  241. package/examples/notekeeper/dist/app.js.map +1 -0
  242. package/examples/notekeeper/dist/components/noteCard.d.ts +1 -0
  243. package/examples/notekeeper/dist/components/noteCard.js +124 -0
  244. package/examples/notekeeper/dist/components/noteCard.js.map +1 -0
  245. package/examples/notekeeper/dist/hooks/useNotes.d.ts +14 -0
  246. package/examples/notekeeper/dist/hooks/useNotes.js +127 -0
  247. package/examples/notekeeper/dist/hooks/useNotes.js.map +1 -0
  248. package/examples/notekeeper/dist/notekeeper.png +0 -0
  249. package/examples/notekeeper/dist/state/appState.d.ts +11 -0
  250. package/examples/notekeeper/dist/state/appState.js +125 -0
  251. package/examples/notekeeper/dist/state/appState.js.map +1 -0
  252. package/examples/notekeeper/package.json +19 -0
  253. package/examples/notekeeper/src/README.md +10 -0
  254. package/examples/notekeeper/src/app.ts +98 -0
  255. package/examples/notekeeper/src/components/noteCard.ts +147 -0
  256. package/examples/notekeeper/src/hooks/useNotes.ts +169 -0
  257. package/examples/notekeeper/src/state/appState.ts +142 -0
  258. package/examples/notekeeper/tsconfig.json +16 -0
  259. package/examples/tsconfig.json +34 -0
  260. package/local-app/addlibrary.ts +7 -0
  261. package/local-app/app.ts +29 -0
  262. package/local-app/package.json +13 -0
  263. package/local-app/screens/Home.ts +20 -0
  264. package/local-app/tsconfig.json +8 -0
  265. package/package.json +30 -0
  266. package/packages/ai/dist/brain.d.ts +32 -0
  267. package/packages/ai/dist/brain.d.ts.map +1 -0
  268. package/packages/ai/dist/brain.js +94 -0
  269. package/packages/ai/dist/brain.js.map +1 -0
  270. package/packages/ai/dist/index.d.ts +5 -0
  271. package/packages/ai/dist/index.d.ts.map +1 -0
  272. package/packages/ai/dist/index.js +27 -0
  273. package/packages/ai/dist/index.js.map +1 -0
  274. package/packages/ai/dist/nodes/logic.d.ts +23 -0
  275. package/packages/ai/dist/nodes/logic.d.ts.map +1 -0
  276. package/packages/ai/dist/nodes/logic.js +55 -0
  277. package/packages/ai/dist/nodes/logic.js.map +1 -0
  278. package/packages/ai/dist/nodes/memory.d.ts +28 -0
  279. package/packages/ai/dist/nodes/memory.d.ts.map +1 -0
  280. package/packages/ai/dist/nodes/memory.js +93 -0
  281. package/packages/ai/dist/nodes/memory.js.map +1 -0
  282. package/packages/ai/dist/nodes/perception.d.ts +21 -0
  283. package/packages/ai/dist/nodes/perception.d.ts.map +1 -0
  284. package/packages/ai/dist/nodes/perception.js +28 -0
  285. package/packages/ai/dist/nodes/perception.js.map +1 -0
  286. package/packages/ai/package.json +30 -0
  287. package/packages/ai/src/brain.ts +209 -0
  288. package/packages/ai/src/index.ts +14 -0
  289. package/packages/ai/src/nodes/logic.ts +109 -0
  290. package/packages/ai/src/nodes/memory.ts +172 -0
  291. package/packages/ai/src/nodes/perception.ts +90 -0
  292. package/packages/ai/tsconfig.json +17 -0
  293. package/packages/background/dist/background.d.ts +42 -0
  294. package/packages/background/dist/background.d.ts.map +1 -0
  295. package/packages/background/dist/background.js +149 -0
  296. package/packages/background/dist/background.js.map +1 -0
  297. package/packages/background/dist/index.d.ts +2 -0
  298. package/packages/background/dist/index.d.ts.map +1 -0
  299. package/packages/background/dist/index.js +20 -0
  300. package/packages/background/dist/index.js.map +1 -0
  301. package/packages/background/package.json +30 -0
  302. package/packages/background/src/background.ts +263 -0
  303. package/packages/background/src/index.ts +4 -0
  304. package/packages/background/tsconfig.json +17 -0
  305. package/packages/bridge/dist/bridge.d.ts +22 -0
  306. package/packages/bridge/dist/bridge.d.ts.map +1 -0
  307. package/packages/bridge/dist/bridge.js +44 -0
  308. package/packages/bridge/dist/bridge.js.map +1 -0
  309. package/packages/bridge/dist/c.d.ts +10 -0
  310. package/packages/bridge/dist/c.d.ts.map +1 -0
  311. package/packages/bridge/dist/c.js +23 -0
  312. package/packages/bridge/dist/c.js.map +1 -0
  313. package/packages/bridge/dist/dotnet.d.ts +11 -0
  314. package/packages/bridge/dist/dotnet.d.ts.map +1 -0
  315. package/packages/bridge/dist/dotnet.js +26 -0
  316. package/packages/bridge/dist/dotnet.js.map +1 -0
  317. package/packages/bridge/dist/go.d.ts +10 -0
  318. package/packages/bridge/dist/go.d.ts.map +1 -0
  319. package/packages/bridge/dist/go.js +27 -0
  320. package/packages/bridge/dist/go.js.map +1 -0
  321. package/packages/bridge/dist/http.d.ts +22 -0
  322. package/packages/bridge/dist/http.d.ts.map +1 -0
  323. package/packages/bridge/dist/http.js +110 -0
  324. package/packages/bridge/dist/http.js.map +1 -0
  325. package/packages/bridge/dist/index.d.ts +5 -0
  326. package/packages/bridge/dist/index.d.ts.map +1 -0
  327. package/packages/bridge/dist/index.js +27 -0
  328. package/packages/bridge/dist/index.js.map +1 -0
  329. package/packages/bridge/dist/kotlin.d.ts +11 -0
  330. package/packages/bridge/dist/kotlin.d.ts.map +1 -0
  331. package/packages/bridge/dist/kotlin.js +25 -0
  332. package/packages/bridge/dist/kotlin.js.map +1 -0
  333. package/packages/bridge/dist/php.d.ts +11 -0
  334. package/packages/bridge/dist/php.d.ts.map +1 -0
  335. package/packages/bridge/dist/php.js +28 -0
  336. package/packages/bridge/dist/php.js.map +1 -0
  337. package/packages/bridge/dist/process.d.ts +27 -0
  338. package/packages/bridge/dist/process.d.ts.map +1 -0
  339. package/packages/bridge/dist/process.js +101 -0
  340. package/packages/bridge/dist/process.js.map +1 -0
  341. package/packages/bridge/dist/python.d.ts +15 -0
  342. package/packages/bridge/dist/python.d.ts.map +1 -0
  343. package/packages/bridge/dist/python.js +34 -0
  344. package/packages/bridge/dist/python.js.map +1 -0
  345. package/packages/bridge/dist/rust.d.ts +10 -0
  346. package/packages/bridge/dist/rust.d.ts.map +1 -0
  347. package/packages/bridge/dist/rust.js +24 -0
  348. package/packages/bridge/dist/rust.js.map +1 -0
  349. package/packages/bridge/dist/swift.d.ts +11 -0
  350. package/packages/bridge/dist/swift.d.ts.map +1 -0
  351. package/packages/bridge/dist/swift.js +26 -0
  352. package/packages/bridge/dist/swift.js.map +1 -0
  353. package/packages/bridge/package.json +30 -0
  354. package/packages/bridge/src/bridge.ts +38 -0
  355. package/packages/bridge/src/c.ts +41 -0
  356. package/packages/bridge/src/dotnet.ts +50 -0
  357. package/packages/bridge/src/go.ts +48 -0
  358. package/packages/bridge/src/http.ts +198 -0
  359. package/packages/bridge/src/index.ts +14 -0
  360. package/packages/bridge/src/kotlin.ts +48 -0
  361. package/packages/bridge/src/php.ts +59 -0
  362. package/packages/bridge/src/process.ts +174 -0
  363. package/packages/bridge/src/python.ts +69 -0
  364. package/packages/bridge/src/rust.ts +43 -0
  365. package/packages/bridge/src/swift.ts +50 -0
  366. package/packages/bridge/tsconfig.json +18 -0
  367. package/packages/cli/dist/commands/build.d.ts +17 -0
  368. package/packages/cli/dist/commands/build.d.ts.map +1 -0
  369. package/packages/cli/dist/commands/build.js +79 -0
  370. package/packages/cli/dist/commands/build.js.map +1 -0
  371. package/packages/cli/dist/commands/create.d.ts +11 -0
  372. package/packages/cli/dist/commands/create.d.ts.map +1 -0
  373. package/packages/cli/dist/commands/create.js +287 -0
  374. package/packages/cli/dist/commands/create.js.map +1 -0
  375. package/packages/cli/dist/commands/lib/add.d.ts +3 -0
  376. package/packages/cli/dist/commands/lib/add.d.ts.map +1 -0
  377. package/packages/cli/dist/commands/lib/add.js +39 -0
  378. package/packages/cli/dist/commands/lib/add.js.map +1 -0
  379. package/packages/cli/dist/commands/lib/list.d.ts +3 -0
  380. package/packages/cli/dist/commands/lib/list.d.ts.map +1 -0
  381. package/packages/cli/dist/commands/lib/list.js +29 -0
  382. package/packages/cli/dist/commands/lib/list.js.map +1 -0
  383. package/packages/cli/dist/commands/lib/remove.d.ts +3 -0
  384. package/packages/cli/dist/commands/lib/remove.d.ts.map +1 -0
  385. package/packages/cli/dist/commands/lib/remove.js +30 -0
  386. package/packages/cli/dist/commands/lib/remove.js.map +1 -0
  387. package/packages/cli/dist/commands/lib/restore.d.ts +3 -0
  388. package/packages/cli/dist/commands/lib/restore.d.ts.map +1 -0
  389. package/packages/cli/dist/commands/lib/restore.js +49 -0
  390. package/packages/cli/dist/commands/lib/restore.js.map +1 -0
  391. package/packages/cli/dist/commands/lib/search.d.ts +3 -0
  392. package/packages/cli/dist/commands/lib/search.d.ts.map +1 -0
  393. package/packages/cli/dist/commands/lib/search.js +30 -0
  394. package/packages/cli/dist/commands/lib/search.js.map +1 -0
  395. package/packages/cli/dist/commands/start.d.ts +10 -0
  396. package/packages/cli/dist/commands/start.d.ts.map +1 -0
  397. package/packages/cli/dist/commands/start.js +88 -0
  398. package/packages/cli/dist/commands/start.js.map +1 -0
  399. package/packages/cli/dist/index.d.ts +3 -0
  400. package/packages/cli/dist/index.d.ts.map +1 -0
  401. package/packages/cli/dist/index.js +193 -0
  402. package/packages/cli/dist/index.js.map +1 -0
  403. package/packages/cli/dist/registry/client.d.ts +24 -0
  404. package/packages/cli/dist/registry/client.d.ts.map +1 -0
  405. package/packages/cli/dist/registry/client.js +73 -0
  406. package/packages/cli/dist/registry/client.js.map +1 -0
  407. package/packages/cli/dist/registry/installer.d.ts +16 -0
  408. package/packages/cli/dist/registry/installer.d.ts.map +1 -0
  409. package/packages/cli/dist/registry/installer.js +135 -0
  410. package/packages/cli/dist/registry/installer.js.map +1 -0
  411. package/packages/cli/dist/registry/manifest.d.ts +13 -0
  412. package/packages/cli/dist/registry/manifest.d.ts.map +1 -0
  413. package/packages/cli/dist/registry/manifest.js +100 -0
  414. package/packages/cli/dist/registry/manifest.js.map +1 -0
  415. package/packages/cli/package.json +36 -0
  416. package/packages/cli/src/commands/build.ts +138 -0
  417. package/packages/cli/src/commands/create.ts +363 -0
  418. package/packages/cli/src/commands/lib/add.ts +56 -0
  419. package/packages/cli/src/commands/lib/list.ts +42 -0
  420. package/packages/cli/src/commands/lib/remove.ts +39 -0
  421. package/packages/cli/src/commands/lib/restore.ts +65 -0
  422. package/packages/cli/src/commands/lib/search.ts +45 -0
  423. package/packages/cli/src/commands/start.ts +117 -0
  424. package/packages/cli/src/index.ts +224 -0
  425. package/packages/cli/src/registry/client.ts +153 -0
  426. package/packages/cli/src/registry/installer.ts +197 -0
  427. package/packages/cli/src/registry/manifest.ts +145 -0
  428. package/packages/cli/test/create.test.js +22 -0
  429. package/packages/cli/tsconfig.json +18 -0
  430. package/packages/core/dist/animation/easing.d.ts +23 -0
  431. package/packages/core/dist/animation/easing.d.ts.map +1 -0
  432. package/packages/core/dist/animation/easing.js +91 -0
  433. package/packages/core/dist/animation/easing.js.map +1 -0
  434. package/packages/core/dist/animation/index.d.ts +4 -0
  435. package/packages/core/dist/animation/index.d.ts.map +1 -0
  436. package/packages/core/dist/animation/index.js +26 -0
  437. package/packages/core/dist/animation/index.js.map +1 -0
  438. package/packages/core/dist/animation/interpolate.d.ts +7 -0
  439. package/packages/core/dist/animation/interpolate.d.ts.map +1 -0
  440. package/packages/core/dist/animation/interpolate.js +83 -0
  441. package/packages/core/dist/animation/interpolate.js.map +1 -0
  442. package/packages/core/dist/animation/spring.d.ts +21 -0
  443. package/packages/core/dist/animation/spring.d.ts.map +1 -0
  444. package/packages/core/dist/animation/spring.js +79 -0
  445. package/packages/core/dist/animation/spring.js.map +1 -0
  446. package/packages/core/dist/component/component.d.ts +6 -0
  447. package/packages/core/dist/component/component.d.ts.map +1 -0
  448. package/packages/core/dist/component/component.js +14 -0
  449. package/packages/core/dist/component/component.js.map +1 -0
  450. package/packages/core/dist/component/index.d.ts +2 -0
  451. package/packages/core/dist/component/index.d.ts.map +1 -0
  452. package/packages/core/dist/component/index.js +18 -0
  453. package/packages/core/dist/component/index.js.map +1 -0
  454. package/packages/core/dist/index.d.ts +6 -0
  455. package/packages/core/dist/index.d.ts.map +1 -0
  456. package/packages/core/dist/index.js +30 -0
  457. package/packages/core/dist/index.js.map +1 -0
  458. package/packages/core/dist/scheduler/index.d.ts +2 -0
  459. package/packages/core/dist/scheduler/index.d.ts.map +1 -0
  460. package/packages/core/dist/scheduler/index.js +20 -0
  461. package/packages/core/dist/scheduler/index.js.map +1 -0
  462. package/packages/core/dist/scheduler/scheduler.d.ts +12 -0
  463. package/packages/core/dist/scheduler/scheduler.d.ts.map +1 -0
  464. package/packages/core/dist/scheduler/scheduler.js +61 -0
  465. package/packages/core/dist/scheduler/scheduler.js.map +1 -0
  466. package/packages/core/dist/tree/diff.d.ts +17 -0
  467. package/packages/core/dist/tree/diff.d.ts.map +1 -0
  468. package/packages/core/dist/tree/diff.js +67 -0
  469. package/packages/core/dist/tree/diff.js.map +1 -0
  470. package/packages/core/dist/tree/index.d.ts +4 -0
  471. package/packages/core/dist/tree/index.d.ts.map +1 -0
  472. package/packages/core/dist/tree/index.js +23 -0
  473. package/packages/core/dist/tree/index.js.map +1 -0
  474. package/packages/core/dist/tree/node.d.ts +13 -0
  475. package/packages/core/dist/tree/node.d.ts.map +1 -0
  476. package/packages/core/dist/tree/node.js +59 -0
  477. package/packages/core/dist/tree/node.js.map +1 -0
  478. package/packages/core/dist/tree/tree.d.ts +11 -0
  479. package/packages/core/dist/tree/tree.d.ts.map +1 -0
  480. package/packages/core/dist/tree/tree.js +43 -0
  481. package/packages/core/dist/tree/tree.js.map +1 -0
  482. package/packages/core/package.json +30 -0
  483. package/packages/core/src/animation/easing.d.ts +22 -0
  484. package/packages/core/src/animation/easing.js +91 -0
  485. package/packages/core/src/animation/easing.js.map +1 -0
  486. package/packages/core/src/animation/easing.ts +88 -0
  487. package/packages/core/src/animation/index.d.ts +3 -0
  488. package/packages/core/src/animation/index.js +26 -0
  489. package/packages/core/src/animation/index.js.map +1 -0
  490. package/packages/core/src/animation/index.ts +12 -0
  491. package/packages/core/src/animation/interpolate.d.ts +6 -0
  492. package/packages/core/src/animation/interpolate.js +83 -0
  493. package/packages/core/src/animation/interpolate.js.map +1 -0
  494. package/packages/core/src/animation/interpolate.ts +107 -0
  495. package/packages/core/src/animation/spring.d.ts +20 -0
  496. package/packages/core/src/animation/spring.js +79 -0
  497. package/packages/core/src/animation/spring.js.map +1 -0
  498. package/packages/core/src/animation/spring.ts +118 -0
  499. package/packages/core/src/component/component.d.ts +5 -0
  500. package/packages/core/src/component/component.js +14 -0
  501. package/packages/core/src/component/component.js.map +1 -0
  502. package/packages/core/src/component/component.ts +22 -0
  503. package/packages/core/src/component/index.d.ts +1 -0
  504. package/packages/core/src/component/index.js +18 -0
  505. package/packages/core/src/component/index.js.map +1 -0
  506. package/packages/core/src/component/index.ts +1 -0
  507. package/packages/core/src/index.d.ts +5 -0
  508. package/packages/core/src/index.js +30 -0
  509. package/packages/core/src/index.js.map +1 -0
  510. package/packages/core/src/index.ts +18 -0
  511. package/packages/core/src/scheduler/index.d.ts +1 -0
  512. package/packages/core/src/scheduler/index.d.ts.map +1 -0
  513. package/packages/core/src/scheduler/index.js +20 -0
  514. package/packages/core/src/scheduler/index.js.map +1 -0
  515. package/packages/core/src/scheduler/index.ts +4 -0
  516. package/packages/core/src/scheduler/scheduler.d.ts +11 -0
  517. package/packages/core/src/scheduler/scheduler.d.ts.map +1 -0
  518. package/packages/core/src/scheduler/scheduler.js +61 -0
  519. package/packages/core/src/scheduler/scheduler.js.map +1 -0
  520. package/packages/core/src/scheduler/scheduler.ts +76 -0
  521. package/packages/core/src/tree/diff.d.ts +16 -0
  522. package/packages/core/src/tree/diff.js +67 -0
  523. package/packages/core/src/tree/diff.js.map +1 -0
  524. package/packages/core/src/tree/diff.ts +125 -0
  525. package/packages/core/src/tree/index.d.ts +3 -0
  526. package/packages/core/src/tree/index.js +23 -0
  527. package/packages/core/src/tree/index.js.map +1 -0
  528. package/packages/core/src/tree/index.ts +7 -0
  529. package/packages/core/src/tree/node.d.ts +12 -0
  530. package/packages/core/src/tree/node.d.ts.map +1 -0
  531. package/packages/core/src/tree/node.js +59 -0
  532. package/packages/core/src/tree/node.js.map +1 -0
  533. package/packages/core/src/tree/node.ts +96 -0
  534. package/packages/core/src/tree/tree.d.ts +10 -0
  535. package/packages/core/src/tree/tree.d.ts.map +1 -0
  536. package/packages/core/src/tree/tree.js +43 -0
  537. package/packages/core/src/tree/tree.js.map +1 -0
  538. package/packages/core/src/tree/tree.ts +64 -0
  539. package/packages/core/tsconfig.json +18 -0
  540. package/packages/db/dist/adapters/mongodb.d.ts +17 -0
  541. package/packages/db/dist/adapters/mongodb.d.ts.map +1 -0
  542. package/packages/db/dist/adapters/mongodb.js +64 -0
  543. package/packages/db/dist/adapters/mongodb.js.map +1 -0
  544. package/packages/db/dist/adapters/mysql.d.ts +15 -0
  545. package/packages/db/dist/adapters/mysql.d.ts.map +1 -0
  546. package/packages/db/dist/adapters/mysql.js +37 -0
  547. package/packages/db/dist/adapters/mysql.js.map +1 -0
  548. package/packages/db/dist/adapters/postgres.d.ts +15 -0
  549. package/packages/db/dist/adapters/postgres.d.ts.map +1 -0
  550. package/packages/db/dist/adapters/postgres.js +38 -0
  551. package/packages/db/dist/adapters/postgres.js.map +1 -0
  552. package/packages/db/dist/adapters/sqlite.d.ts +24 -0
  553. package/packages/db/dist/adapters/sqlite.d.ts.map +1 -0
  554. package/packages/db/dist/adapters/sqlite.js +56 -0
  555. package/packages/db/dist/adapters/sqlite.js.map +1 -0
  556. package/packages/db/dist/db.d.ts +45 -0
  557. package/packages/db/dist/db.d.ts.map +1 -0
  558. package/packages/db/dist/db.js +111 -0
  559. package/packages/db/dist/db.js.map +1 -0
  560. package/packages/db/dist/index.d.ts +7 -0
  561. package/packages/db/dist/index.d.ts.map +1 -0
  562. package/packages/db/dist/index.js +31 -0
  563. package/packages/db/dist/index.js.map +1 -0
  564. package/packages/db/dist/query.d.ts +26 -0
  565. package/packages/db/dist/query.d.ts.map +1 -0
  566. package/packages/db/dist/query.js +71 -0
  567. package/packages/db/dist/query.js.map +1 -0
  568. package/packages/db/package.json +30 -0
  569. package/packages/db/src/adapters/mongodb.ts +130 -0
  570. package/packages/db/src/adapters/mysql.ts +78 -0
  571. package/packages/db/src/adapters/postgres.ts +80 -0
  572. package/packages/db/src/adapters/sqlite.ts +99 -0
  573. package/packages/db/src/db.ts +175 -0
  574. package/packages/db/src/index.ts +20 -0
  575. package/packages/db/src/query.ts +154 -0
  576. package/packages/db/tsconfig.json +17 -0
  577. package/packages/device/README.md +21 -0
  578. package/packages/device/dist/camera.d.ts +28 -0
  579. package/packages/device/dist/camera.d.ts.map +1 -0
  580. package/packages/device/dist/camera.js +42 -0
  581. package/packages/device/dist/camera.js.map +1 -0
  582. package/packages/device/dist/contacts.d.ts +19 -0
  583. package/packages/device/dist/contacts.d.ts.map +1 -0
  584. package/packages/device/dist/contacts.js +40 -0
  585. package/packages/device/dist/contacts.js.map +1 -0
  586. package/packages/device/dist/index.d.ts +33 -0
  587. package/packages/device/dist/index.d.ts.map +1 -0
  588. package/packages/device/dist/index.js +35 -0
  589. package/packages/device/dist/index.js.map +1 -0
  590. package/packages/device/dist/media.d.ts +60 -0
  591. package/packages/device/dist/media.d.ts.map +1 -0
  592. package/packages/device/dist/media.js +129 -0
  593. package/packages/device/dist/media.js.map +1 -0
  594. package/packages/device/dist/sensors.d.ts +17 -0
  595. package/packages/device/dist/sensors.d.ts.map +1 -0
  596. package/packages/device/dist/sensors.js +32 -0
  597. package/packages/device/dist/sensors.js.map +1 -0
  598. package/packages/device/package.json +30 -0
  599. package/packages/device/src/camera.ts +65 -0
  600. package/packages/device/src/contacts.ts +57 -0
  601. package/packages/device/src/index.ts +20 -0
  602. package/packages/device/src/media.ts +194 -0
  603. package/packages/device/src/sensors.ts +51 -0
  604. package/packages/device/test/api.test.js +21 -0
  605. package/packages/device/tsconfig.json +9 -0
  606. package/packages/file/dist/file.d.ts +55 -0
  607. package/packages/file/dist/file.d.ts.map +1 -0
  608. package/packages/file/dist/file.js +114 -0
  609. package/packages/file/dist/file.js.map +1 -0
  610. package/packages/file/dist/index.d.ts +2 -0
  611. package/packages/file/dist/index.d.ts.map +1 -0
  612. package/packages/file/dist/index.js +20 -0
  613. package/packages/file/dist/index.js.map +1 -0
  614. package/packages/file/package.json +30 -0
  615. package/packages/file/src/file.ts +209 -0
  616. package/packages/file/src/index.ts +4 -0
  617. package/packages/file/tsconfig.json +17 -0
  618. package/packages/i18n/dist/i18n.d.ts +33 -0
  619. package/packages/i18n/dist/i18n.d.ts.map +1 -0
  620. package/packages/i18n/dist/i18n.js +149 -0
  621. package/packages/i18n/dist/i18n.js.map +1 -0
  622. package/packages/i18n/dist/index.d.ts +2 -0
  623. package/packages/i18n/dist/index.d.ts.map +1 -0
  624. package/packages/i18n/dist/index.js +20 -0
  625. package/packages/i18n/dist/index.js.map +1 -0
  626. package/packages/i18n/package.json +30 -0
  627. package/packages/i18n/src/i18n.ts +225 -0
  628. package/packages/i18n/src/index.ts +4 -0
  629. package/packages/i18n/tsconfig.json +17 -0
  630. package/packages/logger/dist/index.d.ts +2 -0
  631. package/packages/logger/dist/index.d.ts.map +1 -0
  632. package/packages/logger/dist/index.js +20 -0
  633. package/packages/logger/dist/index.js.map +1 -0
  634. package/packages/logger/dist/logger.d.ts +50 -0
  635. package/packages/logger/dist/logger.d.ts.map +1 -0
  636. package/packages/logger/dist/logger.js +147 -0
  637. package/packages/logger/dist/logger.js.map +1 -0
  638. package/packages/logger/package.json +30 -0
  639. package/packages/logger/src/index.ts +4 -0
  640. package/packages/logger/src/logger.ts +240 -0
  641. package/packages/logger/tsconfig.json +17 -0
  642. package/packages/network/dist/discovery.d.ts +20 -0
  643. package/packages/network/dist/discovery.d.ts.map +1 -0
  644. package/packages/network/dist/discovery.js +58 -0
  645. package/packages/network/dist/discovery.js.map +1 -0
  646. package/packages/network/dist/index.d.ts +3 -0
  647. package/packages/network/dist/index.d.ts.map +1 -0
  648. package/packages/network/dist/index.js +23 -0
  649. package/packages/network/dist/index.js.map +1 -0
  650. package/packages/network/dist/transfer.d.ts +40 -0
  651. package/packages/network/dist/transfer.d.ts.map +1 -0
  652. package/packages/network/dist/transfer.js +73 -0
  653. package/packages/network/dist/transfer.js.map +1 -0
  654. package/packages/network/package.json +30 -0
  655. package/packages/network/src/discovery.ts +107 -0
  656. package/packages/network/src/index.ts +8 -0
  657. package/packages/network/src/transfer.ts +182 -0
  658. package/packages/network/tsconfig.json +17 -0
  659. package/packages/notifications/dist/alert.d.ts +34 -0
  660. package/packages/notifications/dist/alert.d.ts.map +1 -0
  661. package/packages/notifications/dist/alert.js +99 -0
  662. package/packages/notifications/dist/alert.js.map +1 -0
  663. package/packages/notifications/dist/email.d.ts +41 -0
  664. package/packages/notifications/dist/email.d.ts.map +1 -0
  665. package/packages/notifications/dist/email.js +51 -0
  666. package/packages/notifications/dist/email.js.map +1 -0
  667. package/packages/notifications/dist/index.d.ts +84 -0
  668. package/packages/notifications/dist/index.d.ts.map +1 -0
  669. package/packages/notifications/dist/index.js +52 -0
  670. package/packages/notifications/dist/index.js.map +1 -0
  671. package/packages/notifications/dist/notify.d.ts +36 -0
  672. package/packages/notifications/dist/notify.d.ts.map +1 -0
  673. package/packages/notifications/dist/notify.js +62 -0
  674. package/packages/notifications/dist/notify.js.map +1 -0
  675. package/packages/notifications/dist/push.d.ts +49 -0
  676. package/packages/notifications/dist/push.d.ts.map +1 -0
  677. package/packages/notifications/dist/push.js +76 -0
  678. package/packages/notifications/dist/push.js.map +1 -0
  679. package/packages/notifications/dist/sms.d.ts +34 -0
  680. package/packages/notifications/dist/sms.d.ts.map +1 -0
  681. package/packages/notifications/dist/sms.js +44 -0
  682. package/packages/notifications/dist/sms.js.map +1 -0
  683. package/packages/notifications/dist/storage.d.ts +30 -0
  684. package/packages/notifications/dist/storage.d.ts.map +1 -0
  685. package/packages/notifications/dist/storage.js +93 -0
  686. package/packages/notifications/dist/storage.js.map +1 -0
  687. package/packages/notifications/dist/toast.d.ts +47 -0
  688. package/packages/notifications/dist/toast.d.ts.map +1 -0
  689. package/packages/notifications/dist/toast.js +138 -0
  690. package/packages/notifications/dist/toast.js.map +1 -0
  691. package/packages/notifications/dist/users.d.ts +36 -0
  692. package/packages/notifications/dist/users.d.ts.map +1 -0
  693. package/packages/notifications/dist/users.js +87 -0
  694. package/packages/notifications/dist/users.js.map +1 -0
  695. package/packages/notifications/notifications.db +0 -0
  696. package/packages/notifications/package.json +33 -0
  697. package/packages/notifications/src/alert.ts +133 -0
  698. package/packages/notifications/src/email.ts +127 -0
  699. package/packages/notifications/src/index.ts +44 -0
  700. package/packages/notifications/src/notify.ts +126 -0
  701. package/packages/notifications/src/push.ts +145 -0
  702. package/packages/notifications/src/sms.ts +97 -0
  703. package/packages/notifications/src/storage.ts +109 -0
  704. package/packages/notifications/src/toast.ts +186 -0
  705. package/packages/notifications/src/types/better-sqlite3.d.ts +5 -0
  706. package/packages/notifications/src/users.ts +121 -0
  707. package/packages/notifications/test/notifications.test.js +41 -0
  708. package/packages/notifications/test/storage.test.js +34 -0
  709. package/packages/notifications/tsconfig.json +19 -0
  710. package/packages/payments/dist/gateways/momo.d.ts +25 -0
  711. package/packages/payments/dist/gateways/momo.d.ts.map +1 -0
  712. package/packages/payments/dist/gateways/momo.js +44 -0
  713. package/packages/payments/dist/gateways/momo.js.map +1 -0
  714. package/packages/payments/dist/gateways/paystack.d.ts +24 -0
  715. package/packages/payments/dist/gateways/paystack.d.ts.map +1 -0
  716. package/packages/payments/dist/gateways/paystack.js +51 -0
  717. package/packages/payments/dist/gateways/paystack.js.map +1 -0
  718. package/packages/payments/dist/index.d.ts +4 -0
  719. package/packages/payments/dist/index.d.ts.map +1 -0
  720. package/packages/payments/dist/index.js +25 -0
  721. package/packages/payments/dist/index.js.map +1 -0
  722. package/packages/payments/dist/payment.d.ts +42 -0
  723. package/packages/payments/dist/payment.d.ts.map +1 -0
  724. package/packages/payments/dist/payment.js +124 -0
  725. package/packages/payments/dist/payment.js.map +1 -0
  726. package/packages/payments/package.json +30 -0
  727. package/packages/payments/src/gateways/momo.ts +97 -0
  728. package/packages/payments/src/gateways/paystack.ts +102 -0
  729. package/packages/payments/src/index.ts +11 -0
  730. package/packages/payments/src/payment.ts +229 -0
  731. package/packages/payments/tsconfig.json +17 -0
  732. package/packages/renderer/README.md +188 -0
  733. package/packages/renderer/dist/canvas.d.ts +24 -0
  734. package/packages/renderer/dist/canvas.d.ts.map +1 -0
  735. package/packages/renderer/dist/canvas.js +38 -0
  736. package/packages/renderer/dist/canvas.js.map +1 -0
  737. package/packages/renderer/dist/context.d.ts +34 -0
  738. package/packages/renderer/dist/context.d.ts.map +1 -0
  739. package/packages/renderer/dist/context.js +45 -0
  740. package/packages/renderer/dist/context.js.map +1 -0
  741. package/packages/renderer/dist/dirty-region.d.ts +43 -0
  742. package/packages/renderer/dist/dirty-region.d.ts.map +1 -0
  743. package/packages/renderer/dist/dirty-region.js +106 -0
  744. package/packages/renderer/dist/dirty-region.js.map +1 -0
  745. package/packages/renderer/dist/engine.d.ts +57 -0
  746. package/packages/renderer/dist/engine.d.ts.map +1 -0
  747. package/packages/renderer/dist/engine.js +95 -0
  748. package/packages/renderer/dist/engine.js.map +1 -0
  749. package/packages/renderer/dist/example.d.ts +14 -0
  750. package/packages/renderer/dist/example.d.ts.map +1 -0
  751. package/packages/renderer/dist/example.js +160 -0
  752. package/packages/renderer/dist/example.js.map +1 -0
  753. package/packages/renderer/dist/filters.d.ts +23 -0
  754. package/packages/renderer/dist/filters.d.ts.map +1 -0
  755. package/packages/renderer/dist/filters.js +41 -0
  756. package/packages/renderer/dist/filters.js.map +1 -0
  757. package/packages/renderer/dist/icons.d.ts +7 -0
  758. package/packages/renderer/dist/icons.d.ts.map +1 -0
  759. package/packages/renderer/dist/icons.js +31 -0
  760. package/packages/renderer/dist/icons.js.map +1 -0
  761. package/packages/renderer/dist/index.d.ts +16 -0
  762. package/packages/renderer/dist/index.d.ts.map +1 -0
  763. package/packages/renderer/dist/index.js +34 -0
  764. package/packages/renderer/dist/index.js.map +1 -0
  765. package/packages/renderer/dist/painter.d.ts +27 -0
  766. package/packages/renderer/dist/painter.d.ts.map +1 -0
  767. package/packages/renderer/dist/painter.js +221 -0
  768. package/packages/renderer/dist/painter.js.map +1 -0
  769. package/packages/renderer/dist/renderer.d.ts +72 -0
  770. package/packages/renderer/dist/renderer.d.ts.map +1 -0
  771. package/packages/renderer/dist/renderer.js +120 -0
  772. package/packages/renderer/dist/renderer.js.map +1 -0
  773. package/packages/renderer/dist/svg-export.d.ts +52 -0
  774. package/packages/renderer/dist/svg-export.d.ts.map +1 -0
  775. package/packages/renderer/dist/svg-export.js +159 -0
  776. package/packages/renderer/dist/svg-export.js.map +1 -0
  777. package/packages/renderer/package.json +34 -0
  778. package/packages/renderer/src/canvas.d.ts +23 -0
  779. package/packages/renderer/src/canvas.js +38 -0
  780. package/packages/renderer/src/canvas.js.map +1 -0
  781. package/packages/renderer/src/canvas.ts +70 -0
  782. package/packages/renderer/src/context.d.ts +33 -0
  783. package/packages/renderer/src/context.js +45 -0
  784. package/packages/renderer/src/context.js.map +1 -0
  785. package/packages/renderer/src/context.ts +83 -0
  786. package/packages/renderer/src/dirty-region.d.ts +42 -0
  787. package/packages/renderer/src/dirty-region.js +106 -0
  788. package/packages/renderer/src/dirty-region.js.map +1 -0
  789. package/packages/renderer/src/dirty-region.ts +125 -0
  790. package/packages/renderer/src/engine.d.ts +56 -0
  791. package/packages/renderer/src/engine.js +95 -0
  792. package/packages/renderer/src/engine.js.map +1 -0
  793. package/packages/renderer/src/engine.ts +131 -0
  794. package/packages/renderer/src/example.ts +184 -0
  795. package/packages/renderer/src/filters.d.ts +22 -0
  796. package/packages/renderer/src/filters.js +41 -0
  797. package/packages/renderer/src/filters.js.map +1 -0
  798. package/packages/renderer/src/filters.ts +63 -0
  799. package/packages/renderer/src/icons.ts +33 -0
  800. package/packages/renderer/src/index.d.ts +15 -0
  801. package/packages/renderer/src/index.js +34 -0
  802. package/packages/renderer/src/index.js.map +1 -0
  803. package/packages/renderer/src/index.ts +19 -0
  804. package/packages/renderer/src/painter.d.ts +26 -0
  805. package/packages/renderer/src/painter.js +127 -0
  806. package/packages/renderer/src/painter.js.map +1 -0
  807. package/packages/renderer/src/painter.ts +269 -0
  808. package/packages/renderer/src/renderer.d.ts +71 -0
  809. package/packages/renderer/src/renderer.js +120 -0
  810. package/packages/renderer/src/renderer.js.map +1 -0
  811. package/packages/renderer/src/renderer.ts +171 -0
  812. package/packages/renderer/src/svg-export.d.ts +47 -0
  813. package/packages/renderer/src/svg-export.js +125 -0
  814. package/packages/renderer/src/svg-export.js.map +1 -0
  815. package/packages/renderer/src/svg-export.ts +270 -0
  816. package/packages/renderer/test/renderer.test.js +41 -0
  817. package/packages/renderer/tsconfig.json +10 -0
  818. package/packages/router/dist/app.d.ts +10 -0
  819. package/packages/router/dist/app.d.ts.map +1 -0
  820. package/packages/router/dist/app.js +12 -0
  821. package/packages/router/dist/app.js.map +1 -0
  822. package/packages/router/dist/file-router.d.ts +36 -0
  823. package/packages/router/dist/file-router.d.ts.map +1 -0
  824. package/packages/router/dist/file-router.js +145 -0
  825. package/packages/router/dist/file-router.js.map +1 -0
  826. package/packages/router/dist/index.d.ts +6 -0
  827. package/packages/router/dist/index.d.ts.map +1 -0
  828. package/packages/router/dist/index.js +24 -0
  829. package/packages/router/dist/index.js.map +1 -0
  830. package/packages/router/dist/manifest.d.ts +10 -0
  831. package/packages/router/dist/manifest.d.ts.map +1 -0
  832. package/packages/router/dist/manifest.js +26 -0
  833. package/packages/router/dist/manifest.js.map +1 -0
  834. package/packages/router/dist/router.d.ts +31 -0
  835. package/packages/router/dist/router.d.ts.map +1 -0
  836. package/packages/router/dist/router.js +112 -0
  837. package/packages/router/dist/router.js.map +1 -0
  838. package/packages/router/dist/screen.d.ts +31 -0
  839. package/packages/router/dist/screen.d.ts.map +1 -0
  840. package/packages/router/dist/screen.js +34 -0
  841. package/packages/router/dist/screen.js.map +1 -0
  842. package/packages/router/package.json +30 -0
  843. package/packages/router/src/app.ts +16 -0
  844. package/packages/router/src/file-router.ts +181 -0
  845. package/packages/router/src/index.d.ts +2 -0
  846. package/packages/router/src/index.js +23 -0
  847. package/packages/router/src/index.js.map +1 -0
  848. package/packages/router/src/index.ts +7 -0
  849. package/packages/router/src/manifest.ts +27 -0
  850. package/packages/router/src/router.d.ts +30 -0
  851. package/packages/router/src/router.js +112 -0
  852. package/packages/router/src/router.js.map +1 -0
  853. package/packages/router/src/router.ts +161 -0
  854. package/packages/router/src/screen.d.ts +24 -0
  855. package/packages/router/src/screen.js +18 -0
  856. package/packages/router/src/screen.js.map +1 -0
  857. package/packages/router/src/screen.ts +68 -0
  858. package/packages/router/test/router.test.js +30 -0
  859. package/packages/router/tsconfig.json +17 -0
  860. package/packages/security/dist/biometric.d.ts +27 -0
  861. package/packages/security/dist/biometric.d.ts.map +1 -0
  862. package/packages/security/dist/biometric.js +63 -0
  863. package/packages/security/dist/biometric.js.map +1 -0
  864. package/packages/security/dist/index.d.ts +2 -0
  865. package/packages/security/dist/index.d.ts.map +1 -0
  866. package/packages/security/dist/index.js +21 -0
  867. package/packages/security/dist/index.js.map +1 -0
  868. package/packages/security/package.json +30 -0
  869. package/packages/security/src/biometric.ts +121 -0
  870. package/packages/security/src/index.ts +5 -0
  871. package/packages/security/tsconfig.json +17 -0
  872. package/packages/state/dist/computed.d.ts +10 -0
  873. package/packages/state/dist/computed.d.ts.map +1 -0
  874. package/packages/state/dist/computed.js +55 -0
  875. package/packages/state/dist/computed.js.map +1 -0
  876. package/packages/state/dist/context.d.ts +9 -0
  877. package/packages/state/dist/context.d.ts.map +1 -0
  878. package/packages/state/dist/context.js +36 -0
  879. package/packages/state/dist/context.js.map +1 -0
  880. package/packages/state/dist/core/src/animation/easing.d.ts +23 -0
  881. package/packages/state/dist/core/src/animation/easing.d.ts.map +1 -0
  882. package/packages/state/dist/core/src/animation/easing.js +91 -0
  883. package/packages/state/dist/core/src/animation/easing.js.map +1 -0
  884. package/packages/state/dist/core/src/animation/index.d.ts +4 -0
  885. package/packages/state/dist/core/src/animation/index.d.ts.map +1 -0
  886. package/packages/state/dist/core/src/animation/index.js +26 -0
  887. package/packages/state/dist/core/src/animation/index.js.map +1 -0
  888. package/packages/state/dist/core/src/animation/interpolate.d.ts +7 -0
  889. package/packages/state/dist/core/src/animation/interpolate.d.ts.map +1 -0
  890. package/packages/state/dist/core/src/animation/interpolate.js +83 -0
  891. package/packages/state/dist/core/src/animation/interpolate.js.map +1 -0
  892. package/packages/state/dist/core/src/animation/spring.d.ts +21 -0
  893. package/packages/state/dist/core/src/animation/spring.d.ts.map +1 -0
  894. package/packages/state/dist/core/src/animation/spring.js +79 -0
  895. package/packages/state/dist/core/src/animation/spring.js.map +1 -0
  896. package/packages/state/dist/core/src/component/component.d.ts +6 -0
  897. package/packages/state/dist/core/src/component/component.d.ts.map +1 -0
  898. package/packages/state/dist/core/src/component/component.js +14 -0
  899. package/packages/state/dist/core/src/component/component.js.map +1 -0
  900. package/packages/state/dist/core/src/component/index.d.ts +2 -0
  901. package/packages/state/dist/core/src/component/index.d.ts.map +1 -0
  902. package/packages/state/dist/core/src/component/index.js +18 -0
  903. package/packages/state/dist/core/src/component/index.js.map +1 -0
  904. package/packages/state/dist/core/src/index.d.ts +6 -0
  905. package/packages/state/dist/core/src/index.d.ts.map +1 -0
  906. package/packages/state/dist/core/src/index.js +30 -0
  907. package/packages/state/dist/core/src/index.js.map +1 -0
  908. package/packages/state/dist/core/src/scheduler/index.d.ts +2 -0
  909. package/packages/state/dist/core/src/scheduler/index.d.ts.map +1 -0
  910. package/packages/state/dist/core/src/scheduler/index.js +20 -0
  911. package/packages/state/dist/core/src/scheduler/index.js.map +1 -0
  912. package/packages/state/dist/core/src/scheduler/scheduler.d.ts +12 -0
  913. package/packages/state/dist/core/src/scheduler/scheduler.d.ts.map +1 -0
  914. package/packages/state/dist/core/src/scheduler/scheduler.js +61 -0
  915. package/packages/state/dist/core/src/scheduler/scheduler.js.map +1 -0
  916. package/packages/state/dist/core/src/tree/diff.d.ts +17 -0
  917. package/packages/state/dist/core/src/tree/diff.d.ts.map +1 -0
  918. package/packages/state/dist/core/src/tree/diff.js +67 -0
  919. package/packages/state/dist/core/src/tree/diff.js.map +1 -0
  920. package/packages/state/dist/core/src/tree/index.d.ts +4 -0
  921. package/packages/state/dist/core/src/tree/index.d.ts.map +1 -0
  922. package/packages/state/dist/core/src/tree/index.js +23 -0
  923. package/packages/state/dist/core/src/tree/index.js.map +1 -0
  924. package/packages/state/dist/core/src/tree/node.d.ts +13 -0
  925. package/packages/state/dist/core/src/tree/node.d.ts.map +1 -0
  926. package/packages/state/dist/core/src/tree/node.js +59 -0
  927. package/packages/state/dist/core/src/tree/node.js.map +1 -0
  928. package/packages/state/dist/core/src/tree/tree.d.ts +11 -0
  929. package/packages/state/dist/core/src/tree/tree.d.ts.map +1 -0
  930. package/packages/state/dist/core/src/tree/tree.js +43 -0
  931. package/packages/state/dist/core/src/tree/tree.js.map +1 -0
  932. package/packages/state/dist/effect.d.ts +13 -0
  933. package/packages/state/dist/effect.d.ts.map +1 -0
  934. package/packages/state/dist/effect.js +74 -0
  935. package/packages/state/dist/effect.js.map +1 -0
  936. package/packages/state/dist/events/dispatch.d.ts +9 -0
  937. package/packages/state/dist/events/dispatch.d.ts.map +1 -0
  938. package/packages/state/dist/events/dispatch.js +64 -0
  939. package/packages/state/dist/events/dispatch.js.map +1 -0
  940. package/packages/state/dist/events/event.d.ts +18 -0
  941. package/packages/state/dist/events/event.d.ts.map +1 -0
  942. package/packages/state/dist/events/event.js +28 -0
  943. package/packages/state/dist/events/event.js.map +1 -0
  944. package/packages/state/dist/events/hittest.d.ts +15 -0
  945. package/packages/state/dist/events/hittest.d.ts.map +1 -0
  946. package/packages/state/dist/events/hittest.js +56 -0
  947. package/packages/state/dist/events/hittest.js.map +1 -0
  948. package/packages/state/dist/events/index.d.ts +6 -0
  949. package/packages/state/dist/events/index.d.ts.map +1 -0
  950. package/packages/state/dist/events/index.js +30 -0
  951. package/packages/state/dist/events/index.js.map +1 -0
  952. package/packages/state/dist/events/ingestion.d.ts +25 -0
  953. package/packages/state/dist/events/ingestion.d.ts.map +1 -0
  954. package/packages/state/dist/events/ingestion.js +61 -0
  955. package/packages/state/dist/events/ingestion.js.map +1 -0
  956. package/packages/state/dist/events/propagation.d.ts +9 -0
  957. package/packages/state/dist/events/propagation.d.ts.map +1 -0
  958. package/packages/state/dist/events/propagation.js +58 -0
  959. package/packages/state/dist/events/propagation.js.map +1 -0
  960. package/packages/state/dist/index.d.ts +10 -0
  961. package/packages/state/dist/index.d.ts.map +1 -0
  962. package/packages/state/dist/index.js +38 -0
  963. package/packages/state/dist/index.js.map +1 -0
  964. package/packages/state/dist/reducer.d.ts +18 -0
  965. package/packages/state/dist/reducer.d.ts.map +1 -0
  966. package/packages/state/dist/reducer.js +44 -0
  967. package/packages/state/dist/reducer.js.map +1 -0
  968. package/packages/state/dist/ref.d.ts +9 -0
  969. package/packages/state/dist/ref.d.ts.map +1 -0
  970. package/packages/state/dist/ref.js +33 -0
  971. package/packages/state/dist/ref.js.map +1 -0
  972. package/packages/state/dist/state/src/computed.d.ts +10 -0
  973. package/packages/state/dist/state/src/computed.d.ts.map +1 -0
  974. package/packages/state/dist/state/src/computed.js +55 -0
  975. package/packages/state/dist/state/src/computed.js.map +1 -0
  976. package/packages/state/dist/state/src/context.d.ts +9 -0
  977. package/packages/state/dist/state/src/context.d.ts.map +1 -0
  978. package/packages/state/dist/state/src/context.js +36 -0
  979. package/packages/state/dist/state/src/context.js.map +1 -0
  980. package/packages/state/dist/state/src/effect.d.ts +13 -0
  981. package/packages/state/dist/state/src/effect.d.ts.map +1 -0
  982. package/packages/state/dist/state/src/effect.js +74 -0
  983. package/packages/state/dist/state/src/effect.js.map +1 -0
  984. package/packages/state/dist/state/src/events/dispatch.d.ts +9 -0
  985. package/packages/state/dist/state/src/events/dispatch.d.ts.map +1 -0
  986. package/packages/state/dist/state/src/events/dispatch.js +64 -0
  987. package/packages/state/dist/state/src/events/dispatch.js.map +1 -0
  988. package/packages/state/dist/state/src/events/event.d.ts +18 -0
  989. package/packages/state/dist/state/src/events/event.d.ts.map +1 -0
  990. package/packages/state/dist/state/src/events/event.js +28 -0
  991. package/packages/state/dist/state/src/events/event.js.map +1 -0
  992. package/packages/state/dist/state/src/events/hittest.d.ts +16 -0
  993. package/packages/state/dist/state/src/events/hittest.d.ts.map +1 -0
  994. package/packages/state/dist/state/src/events/hittest.js +56 -0
  995. package/packages/state/dist/state/src/events/hittest.js.map +1 -0
  996. package/packages/state/dist/state/src/events/index.d.ts +6 -0
  997. package/packages/state/dist/state/src/events/index.d.ts.map +1 -0
  998. package/packages/state/dist/state/src/events/index.js +30 -0
  999. package/packages/state/dist/state/src/events/index.js.map +1 -0
  1000. package/packages/state/dist/state/src/events/ingestion.d.ts +25 -0
  1001. package/packages/state/dist/state/src/events/ingestion.d.ts.map +1 -0
  1002. package/packages/state/dist/state/src/events/ingestion.js +61 -0
  1003. package/packages/state/dist/state/src/events/ingestion.js.map +1 -0
  1004. package/packages/state/dist/state/src/events/propagation.d.ts +10 -0
  1005. package/packages/state/dist/state/src/events/propagation.d.ts.map +1 -0
  1006. package/packages/state/dist/state/src/events/propagation.js +58 -0
  1007. package/packages/state/dist/state/src/events/propagation.js.map +1 -0
  1008. package/packages/state/dist/state/src/index.d.ts +9 -0
  1009. package/packages/state/dist/state/src/index.d.ts.map +1 -0
  1010. package/packages/state/dist/state/src/index.js +36 -0
  1011. package/packages/state/dist/state/src/index.js.map +1 -0
  1012. package/packages/state/dist/state/src/reducer.d.ts +18 -0
  1013. package/packages/state/dist/state/src/reducer.d.ts.map +1 -0
  1014. package/packages/state/dist/state/src/reducer.js +44 -0
  1015. package/packages/state/dist/state/src/reducer.js.map +1 -0
  1016. package/packages/state/dist/state/src/ref.d.ts +9 -0
  1017. package/packages/state/dist/state/src/ref.d.ts.map +1 -0
  1018. package/packages/state/dist/state/src/ref.js +33 -0
  1019. package/packages/state/dist/state/src/ref.js.map +1 -0
  1020. package/packages/state/dist/state/src/state.d.ts +10 -0
  1021. package/packages/state/dist/state/src/state.d.ts.map +1 -0
  1022. package/packages/state/dist/state/src/state.js +70 -0
  1023. package/packages/state/dist/state/src/state.js.map +1 -0
  1024. package/packages/state/dist/state/src/store.d.ts +19 -0
  1025. package/packages/state/dist/state/src/store.d.ts.map +1 -0
  1026. package/packages/state/dist/state/src/store.js +42 -0
  1027. package/packages/state/dist/state/src/store.js.map +1 -0
  1028. package/packages/state/dist/state/src/watch.d.ts +15 -0
  1029. package/packages/state/dist/state/src/watch.d.ts.map +1 -0
  1030. package/packages/state/dist/state/src/watch.js +79 -0
  1031. package/packages/state/dist/state/src/watch.js.map +1 -0
  1032. package/packages/state/dist/state.d.ts +10 -0
  1033. package/packages/state/dist/state.d.ts.map +1 -0
  1034. package/packages/state/dist/state.js +69 -0
  1035. package/packages/state/dist/state.js.map +1 -0
  1036. package/packages/state/dist/store.d.ts +19 -0
  1037. package/packages/state/dist/store.d.ts.map +1 -0
  1038. package/packages/state/dist/store.js +42 -0
  1039. package/packages/state/dist/store.js.map +1 -0
  1040. package/packages/state/dist/watch.d.ts +15 -0
  1041. package/packages/state/dist/watch.d.ts.map +1 -0
  1042. package/packages/state/dist/watch.js +79 -0
  1043. package/packages/state/dist/watch.js.map +1 -0
  1044. package/packages/state/package.json +30 -0
  1045. package/packages/state/src/computed.ts +75 -0
  1046. package/packages/state/src/context.ts +56 -0
  1047. package/packages/state/src/effect.ts +100 -0
  1048. package/packages/state/src/events/dispatch.ts +79 -0
  1049. package/packages/state/src/events/event.ts +97 -0
  1050. package/packages/state/src/events/hittest.ts +95 -0
  1051. package/packages/state/src/events/index.ts +18 -0
  1052. package/packages/state/src/events/ingestion.ts +102 -0
  1053. package/packages/state/src/events/propagation.ts +83 -0
  1054. package/packages/state/src/index.ts +32 -0
  1055. package/packages/state/src/reducer.ts +87 -0
  1056. package/packages/state/src/ref.ts +41 -0
  1057. package/packages/state/src/state.ts +97 -0
  1058. package/packages/state/src/store.ts +79 -0
  1059. package/packages/state/src/watch.ts +131 -0
  1060. package/packages/state/test/api.test.js +16 -0
  1061. package/packages/state/tsconfig.json +17 -0
  1062. package/packages/states/src/computed.ts +0 -0
  1063. package/packages/states/src/state.ts +0 -0
  1064. package/packages/states/tsconfig.json +0 -0
  1065. package/packages/theme/dist/animate.d.ts +72 -0
  1066. package/packages/theme/dist/animate.d.ts.map +1 -0
  1067. package/packages/theme/dist/animate.js +154 -0
  1068. package/packages/theme/dist/animate.js.map +1 -0
  1069. package/packages/theme/dist/index.d.ts +7 -0
  1070. package/packages/theme/dist/index.d.ts.map +1 -0
  1071. package/packages/theme/dist/index.js +32 -0
  1072. package/packages/theme/dist/index.js.map +1 -0
  1073. package/packages/theme/dist/style.d.ts +55 -0
  1074. package/packages/theme/dist/style.d.ts.map +1 -0
  1075. package/packages/theme/dist/style.js +29 -0
  1076. package/packages/theme/dist/style.js.map +1 -0
  1077. package/packages/theme/dist/stylesheet.d.ts +8 -0
  1078. package/packages/theme/dist/stylesheet.d.ts.map +1 -0
  1079. package/packages/theme/dist/stylesheet.js +22 -0
  1080. package/packages/theme/dist/stylesheet.js.map +1 -0
  1081. package/packages/theme/dist/theme.d.ts +23 -0
  1082. package/packages/theme/dist/theme.d.ts.map +1 -0
  1083. package/packages/theme/dist/theme.js +109 -0
  1084. package/packages/theme/dist/theme.js.map +1 -0
  1085. package/packages/theme/dist/tokens.d.ts +116 -0
  1086. package/packages/theme/dist/tokens.d.ts.map +1 -0
  1087. package/packages/theme/dist/tokens.js +127 -0
  1088. package/packages/theme/dist/tokens.js.map +1 -0
  1089. package/packages/theme/dist/variant.d.ts +17 -0
  1090. package/packages/theme/dist/variant.d.ts.map +1 -0
  1091. package/packages/theme/dist/variant.js +35 -0
  1092. package/packages/theme/dist/variant.js.map +1 -0
  1093. package/packages/theme/package.json +30 -0
  1094. package/packages/theme/src/animate.ts +207 -0
  1095. package/packages/theme/src/index.ts +21 -0
  1096. package/packages/theme/src/style.ts +109 -0
  1097. package/packages/theme/src/stylesheet.ts +40 -0
  1098. package/packages/theme/src/theme.ts +145 -0
  1099. package/packages/theme/src/tokens.ts +303 -0
  1100. package/packages/theme/src/variant.ts +68 -0
  1101. package/packages/theme/tsconfig.json +17 -0
  1102. package/packages/ui/dist/charts/BarChart.d.ts +23 -0
  1103. package/packages/ui/dist/charts/BarChart.d.ts.map +1 -0
  1104. package/packages/ui/dist/charts/BarChart.js +34 -0
  1105. package/packages/ui/dist/charts/BarChart.js.map +1 -0
  1106. package/packages/ui/dist/charts/LineChart.d.ts +27 -0
  1107. package/packages/ui/dist/charts/LineChart.d.ts.map +1 -0
  1108. package/packages/ui/dist/charts/LineChart.js +35 -0
  1109. package/packages/ui/dist/charts/LineChart.js.map +1 -0
  1110. package/packages/ui/dist/charts/index.d.ts +3 -0
  1111. package/packages/ui/dist/charts/index.d.ts.map +1 -0
  1112. package/packages/ui/dist/charts/index.js +21 -0
  1113. package/packages/ui/dist/charts/index.js.map +1 -0
  1114. package/packages/ui/dist/conditional/If.d.ts +4 -0
  1115. package/packages/ui/dist/conditional/If.d.ts.map +1 -0
  1116. package/packages/ui/dist/conditional/If.js +25 -0
  1117. package/packages/ui/dist/conditional/If.js.map +1 -0
  1118. package/packages/ui/dist/data/List.d.ts +18 -0
  1119. package/packages/ui/dist/data/List.d.ts.map +1 -0
  1120. package/packages/ui/dist/data/List.js +27 -0
  1121. package/packages/ui/dist/data/List.js.map +1 -0
  1122. package/packages/ui/dist/data/Table.d.ts +3 -0
  1123. package/packages/ui/dist/data/Table.d.ts.map +1 -0
  1124. package/packages/ui/dist/data/Table.js +21 -0
  1125. package/packages/ui/dist/data/Table.js.map +1 -0
  1126. package/packages/ui/dist/data/index.d.ts +34 -0
  1127. package/packages/ui/dist/data/index.d.ts.map +1 -0
  1128. package/packages/ui/dist/data/index.js +30 -0
  1129. package/packages/ui/dist/data/index.js.map +1 -0
  1130. package/packages/ui/dist/display/Avatar.d.ts +18 -0
  1131. package/packages/ui/dist/display/Avatar.d.ts.map +1 -0
  1132. package/packages/ui/dist/display/Avatar.js +53 -0
  1133. package/packages/ui/dist/display/Avatar.js.map +1 -0
  1134. package/packages/ui/dist/display/Badge.d.ts +17 -0
  1135. package/packages/ui/dist/display/Badge.d.ts.map +1 -0
  1136. package/packages/ui/dist/display/Badge.js +31 -0
  1137. package/packages/ui/dist/display/Badge.js.map +1 -0
  1138. package/packages/ui/dist/display/Card.d.ts +20 -0
  1139. package/packages/ui/dist/display/Card.d.ts.map +1 -0
  1140. package/packages/ui/dist/display/Card.js +35 -0
  1141. package/packages/ui/dist/display/Card.js.map +1 -0
  1142. package/packages/ui/dist/display/Icon.d.ts +14 -0
  1143. package/packages/ui/dist/display/Icon.d.ts.map +1 -0
  1144. package/packages/ui/dist/display/Icon.js +23 -0
  1145. package/packages/ui/dist/display/Icon.js.map +1 -0
  1146. package/packages/ui/dist/display/Image.d.ts +22 -0
  1147. package/packages/ui/dist/display/Image.d.ts.map +1 -0
  1148. package/packages/ui/dist/display/Image.js +30 -0
  1149. package/packages/ui/dist/display/Image.js.map +1 -0
  1150. package/packages/ui/dist/display/index.d.ts +6 -0
  1151. package/packages/ui/dist/display/index.d.ts.map +1 -0
  1152. package/packages/ui/dist/display/index.js +24 -0
  1153. package/packages/ui/dist/display/index.js.map +1 -0
  1154. package/packages/ui/dist/feedback/EmptyState.d.ts +16 -0
  1155. package/packages/ui/dist/feedback/EmptyState.d.ts.map +1 -0
  1156. package/packages/ui/dist/feedback/EmptyState.js +25 -0
  1157. package/packages/ui/dist/feedback/EmptyState.js.map +1 -0
  1158. package/packages/ui/dist/feedback/Skeleton.d.ts +15 -0
  1159. package/packages/ui/dist/feedback/Skeleton.d.ts.map +1 -0
  1160. package/packages/ui/dist/feedback/Skeleton.js +24 -0
  1161. package/packages/ui/dist/feedback/Skeleton.js.map +1 -0
  1162. package/packages/ui/dist/feedback/Spinner.d.ts +13 -0
  1163. package/packages/ui/dist/feedback/Spinner.d.ts.map +1 -0
  1164. package/packages/ui/dist/feedback/Spinner.js +35 -0
  1165. package/packages/ui/dist/feedback/Spinner.js.map +1 -0
  1166. package/packages/ui/dist/feedback/index.d.ts +4 -0
  1167. package/packages/ui/dist/feedback/index.d.ts.map +1 -0
  1168. package/packages/ui/dist/feedback/index.js +22 -0
  1169. package/packages/ui/dist/feedback/index.js.map +1 -0
  1170. package/packages/ui/dist/index.d.ts +11 -0
  1171. package/packages/ui/dist/index.d.ts.map +1 -0
  1172. package/packages/ui/dist/index.js +40 -0
  1173. package/packages/ui/dist/index.js.map +1 -0
  1174. package/packages/ui/dist/input/Button.d.ts +26 -0
  1175. package/packages/ui/dist/input/Button.d.ts.map +1 -0
  1176. package/packages/ui/dist/input/Button.js +39 -0
  1177. package/packages/ui/dist/input/Button.js.map +1 -0
  1178. package/packages/ui/dist/input/Checkbox.d.ts +16 -0
  1179. package/packages/ui/dist/input/Checkbox.d.ts.map +1 -0
  1180. package/packages/ui/dist/input/Checkbox.js +25 -0
  1181. package/packages/ui/dist/input/Checkbox.js.map +1 -0
  1182. package/packages/ui/dist/input/Dropdown.d.ts +27 -0
  1183. package/packages/ui/dist/input/Dropdown.d.ts.map +1 -0
  1184. package/packages/ui/dist/input/Dropdown.js +30 -0
  1185. package/packages/ui/dist/input/Dropdown.js.map +1 -0
  1186. package/packages/ui/dist/input/Input.d.ts +34 -0
  1187. package/packages/ui/dist/input/Input.d.ts.map +1 -0
  1188. package/packages/ui/dist/input/Input.js +43 -0
  1189. package/packages/ui/dist/input/Input.js.map +1 -0
  1190. package/packages/ui/dist/input/SearchBar.d.ts +20 -0
  1191. package/packages/ui/dist/input/SearchBar.d.ts.map +1 -0
  1192. package/packages/ui/dist/input/SearchBar.js +31 -0
  1193. package/packages/ui/dist/input/SearchBar.js.map +1 -0
  1194. package/packages/ui/dist/input/Slider.d.ts +22 -0
  1195. package/packages/ui/dist/input/Slider.d.ts.map +1 -0
  1196. package/packages/ui/dist/input/Slider.js +32 -0
  1197. package/packages/ui/dist/input/Slider.js.map +1 -0
  1198. package/packages/ui/dist/input/Toggle.d.ts +17 -0
  1199. package/packages/ui/dist/input/Toggle.d.ts.map +1 -0
  1200. package/packages/ui/dist/input/Toggle.js +29 -0
  1201. package/packages/ui/dist/input/Toggle.js.map +1 -0
  1202. package/packages/ui/dist/input/index.d.ts +8 -0
  1203. package/packages/ui/dist/input/index.d.ts.map +1 -0
  1204. package/packages/ui/dist/input/index.js +26 -0
  1205. package/packages/ui/dist/input/index.js.map +1 -0
  1206. package/packages/ui/dist/layout/Box.d.ts +25 -0
  1207. package/packages/ui/dist/layout/Box.d.ts.map +1 -0
  1208. package/packages/ui/dist/layout/Box.js +34 -0
  1209. package/packages/ui/dist/layout/Box.js.map +1 -0
  1210. package/packages/ui/dist/layout/Column.d.ts +30 -0
  1211. package/packages/ui/dist/layout/Column.d.ts.map +1 -0
  1212. package/packages/ui/dist/layout/Column.js +32 -0
  1213. package/packages/ui/dist/layout/Column.js.map +1 -0
  1214. package/packages/ui/dist/layout/Divider.d.ts +14 -0
  1215. package/packages/ui/dist/layout/Divider.d.ts.map +1 -0
  1216. package/packages/ui/dist/layout/Divider.js +23 -0
  1217. package/packages/ui/dist/layout/Divider.js.map +1 -0
  1218. package/packages/ui/dist/layout/Grid.d.ts +17 -0
  1219. package/packages/ui/dist/layout/Grid.d.ts.map +1 -0
  1220. package/packages/ui/dist/layout/Grid.js +26 -0
  1221. package/packages/ui/dist/layout/Grid.js.map +1 -0
  1222. package/packages/ui/dist/layout/Row.d.ts +28 -0
  1223. package/packages/ui/dist/layout/Row.d.ts.map +1 -0
  1224. package/packages/ui/dist/layout/Row.js +29 -0
  1225. package/packages/ui/dist/layout/Row.js.map +1 -0
  1226. package/packages/ui/dist/layout/ScrollView.d.ts +18 -0
  1227. package/packages/ui/dist/layout/ScrollView.d.ts.map +1 -0
  1228. package/packages/ui/dist/layout/ScrollView.js +25 -0
  1229. package/packages/ui/dist/layout/ScrollView.js.map +1 -0
  1230. package/packages/ui/dist/layout/Spacer.d.ts +9 -0
  1231. package/packages/ui/dist/layout/Spacer.d.ts.map +1 -0
  1232. package/packages/ui/dist/layout/Spacer.js +21 -0
  1233. package/packages/ui/dist/layout/Spacer.js.map +1 -0
  1234. package/packages/ui/dist/layout/Stack.d.ts +14 -0
  1235. package/packages/ui/dist/layout/Stack.d.ts.map +1 -0
  1236. package/packages/ui/dist/layout/Stack.js +25 -0
  1237. package/packages/ui/dist/layout/Stack.js.map +1 -0
  1238. package/packages/ui/dist/layout/index.d.ts +9 -0
  1239. package/packages/ui/dist/layout/index.d.ts.map +1 -0
  1240. package/packages/ui/dist/layout/index.js +27 -0
  1241. package/packages/ui/dist/layout/index.js.map +1 -0
  1242. package/packages/ui/dist/navigation/BottomNav.d.ts +23 -0
  1243. package/packages/ui/dist/navigation/BottomNav.d.ts.map +1 -0
  1244. package/packages/ui/dist/navigation/BottomNav.js +25 -0
  1245. package/packages/ui/dist/navigation/BottomNav.js.map +1 -0
  1246. package/packages/ui/dist/navigation/Drawer.d.ts +18 -0
  1247. package/packages/ui/dist/navigation/Drawer.d.ts.map +1 -0
  1248. package/packages/ui/dist/navigation/Drawer.js +29 -0
  1249. package/packages/ui/dist/navigation/Drawer.js.map +1 -0
  1250. package/packages/ui/dist/navigation/TabBar.d.ts +22 -0
  1251. package/packages/ui/dist/navigation/TabBar.d.ts.map +1 -0
  1252. package/packages/ui/dist/navigation/TabBar.js +26 -0
  1253. package/packages/ui/dist/navigation/TabBar.js.map +1 -0
  1254. package/packages/ui/dist/navigation/index.d.ts +4 -0
  1255. package/packages/ui/dist/navigation/index.d.ts.map +1 -0
  1256. package/packages/ui/dist/navigation/index.js +22 -0
  1257. package/packages/ui/dist/navigation/index.js.map +1 -0
  1258. package/packages/ui/dist/overlay/Dialog.d.ts +31 -0
  1259. package/packages/ui/dist/overlay/Dialog.d.ts.map +1 -0
  1260. package/packages/ui/dist/overlay/Dialog.js +81 -0
  1261. package/packages/ui/dist/overlay/Dialog.js.map +1 -0
  1262. package/packages/ui/dist/overlay/Modal.d.ts +19 -0
  1263. package/packages/ui/dist/overlay/Modal.d.ts.map +1 -0
  1264. package/packages/ui/dist/overlay/Modal.js +31 -0
  1265. package/packages/ui/dist/overlay/Modal.js.map +1 -0
  1266. package/packages/ui/dist/overlay/Sheet.d.ts +20 -0
  1267. package/packages/ui/dist/overlay/Sheet.d.ts.map +1 -0
  1268. package/packages/ui/dist/overlay/Sheet.js +31 -0
  1269. package/packages/ui/dist/overlay/Sheet.js.map +1 -0
  1270. package/packages/ui/dist/overlay/index.d.ts +4 -0
  1271. package/packages/ui/dist/overlay/index.d.ts.map +1 -0
  1272. package/packages/ui/dist/overlay/index.js +22 -0
  1273. package/packages/ui/dist/overlay/index.js.map +1 -0
  1274. package/packages/ui/dist/typography/Code.d.ts +18 -0
  1275. package/packages/ui/dist/typography/Code.d.ts.map +1 -0
  1276. package/packages/ui/dist/typography/Code.js +29 -0
  1277. package/packages/ui/dist/typography/Code.js.map +1 -0
  1278. package/packages/ui/dist/typography/Heading.d.ts +14 -0
  1279. package/packages/ui/dist/typography/Heading.d.ts.map +1 -0
  1280. package/packages/ui/dist/typography/Heading.js +39 -0
  1281. package/packages/ui/dist/typography/Heading.js.map +1 -0
  1282. package/packages/ui/dist/typography/Markdown.d.ts +14 -0
  1283. package/packages/ui/dist/typography/Markdown.d.ts.map +1 -0
  1284. package/packages/ui/dist/typography/Markdown.js +27 -0
  1285. package/packages/ui/dist/typography/Markdown.js.map +1 -0
  1286. package/packages/ui/dist/typography/Text.d.ts +25 -0
  1287. package/packages/ui/dist/typography/Text.d.ts.map +1 -0
  1288. package/packages/ui/dist/typography/Text.js +34 -0
  1289. package/packages/ui/dist/typography/Text.js.map +1 -0
  1290. package/packages/ui/dist/typography/index.d.ts +5 -0
  1291. package/packages/ui/dist/typography/index.d.ts.map +1 -0
  1292. package/packages/ui/dist/typography/index.js +23 -0
  1293. package/packages/ui/dist/typography/index.js.map +1 -0
  1294. package/packages/ui/package.json +35 -0
  1295. package/packages/ui/src/charts/BarChart.ts +86 -0
  1296. package/packages/ui/src/charts/LineChart.ts +98 -0
  1297. package/packages/ui/src/charts/index.ts +5 -0
  1298. package/packages/ui/src/conditional/If.ts +30 -0
  1299. package/packages/ui/src/data/List.ts +72 -0
  1300. package/packages/ui/src/data/Table.ts +5 -0
  1301. package/packages/ui/src/data/index.ts +111 -0
  1302. package/packages/ui/src/display/Avatar.ts +93 -0
  1303. package/packages/ui/src/display/Badge.ts +72 -0
  1304. package/packages/ui/src/display/Card.ts +82 -0
  1305. package/packages/ui/src/display/Icon.ts +75 -0
  1306. package/packages/ui/src/display/Image.ts +80 -0
  1307. package/packages/ui/src/display/index.ts +8 -0
  1308. package/packages/ui/src/feedback/EmptyState.ts +56 -0
  1309. package/packages/ui/src/feedback/Skeleton.ts +53 -0
  1310. package/packages/ui/src/feedback/Spinner.ts +61 -0
  1311. package/packages/ui/src/feedback/index.ts +6 -0
  1312. package/packages/ui/src/index.ts +33 -0
  1313. package/packages/ui/src/input/Button.ts +104 -0
  1314. package/packages/ui/src/input/Checkbox.ts +58 -0
  1315. package/packages/ui/src/input/Dropdown.ts +92 -0
  1316. package/packages/ui/src/input/Input.ts +138 -0
  1317. package/packages/ui/src/input/SearchBar.ts +77 -0
  1318. package/packages/ui/src/input/Slider.ts +82 -0
  1319. package/packages/ui/src/input/Toggle.ts +65 -0
  1320. package/packages/ui/src/input/index.ts +10 -0
  1321. package/packages/ui/src/layout/Box.ts +94 -0
  1322. package/packages/ui/src/layout/Column.ts +86 -0
  1323. package/packages/ui/src/layout/Divider.ts +50 -0
  1324. package/packages/ui/src/layout/Grid.ts +62 -0
  1325. package/packages/ui/src/layout/Row.ts +77 -0
  1326. package/packages/ui/src/layout/ScrollView.ts +64 -0
  1327. package/packages/ui/src/layout/Spacer.ts +34 -0
  1328. package/packages/ui/src/layout/Stack.ts +54 -0
  1329. package/packages/ui/src/layout/index.ts +11 -0
  1330. package/packages/ui/src/navigation/BottomNav.ts +73 -0
  1331. package/packages/ui/src/navigation/Drawer.ts +72 -0
  1332. package/packages/ui/src/navigation/TabBar.ts +73 -0
  1333. package/packages/ui/src/navigation/index.ts +6 -0
  1334. package/packages/ui/src/overlay/Dialog.ts +124 -0
  1335. package/packages/ui/src/overlay/Modal.ts +76 -0
  1336. package/packages/ui/src/overlay/Sheet.ts +79 -0
  1337. package/packages/ui/src/overlay/index.ts +6 -0
  1338. package/packages/ui/src/typography/Code.ts +88 -0
  1339. package/packages/ui/src/typography/Heading.ts +70 -0
  1340. package/packages/ui/src/typography/Markdown.ts +56 -0
  1341. package/packages/ui/src/typography/Text.ts +104 -0
  1342. package/packages/ui/src/typography/index.ts +7 -0
  1343. package/packages/ui/tsconfig.json +18 -0
  1344. package/packages/updater/dist/index.d.ts +2 -0
  1345. package/packages/updater/dist/index.d.ts.map +1 -0
  1346. package/packages/updater/dist/index.js +20 -0
  1347. package/packages/updater/dist/index.js.map +1 -0
  1348. package/packages/updater/dist/updater.d.ts +49 -0
  1349. package/packages/updater/dist/updater.d.ts.map +1 -0
  1350. package/packages/updater/dist/updater.js +119 -0
  1351. package/packages/updater/dist/updater.js.map +1 -0
  1352. package/packages/updater/package.json +30 -0
  1353. package/packages/updater/src/index.ts +4 -0
  1354. package/packages/updater/src/updater.ts +254 -0
  1355. package/packages/updater/tsconfig.json +17 -0
  1356. package/prompt-app/addlibrary.ts +7 -0
  1357. package/prompt-app/app.dtx +27 -0
  1358. package/prompt-app/package.json +13 -0
  1359. package/prompt-app/screens/Home.dtx +20 -0
  1360. package/prompt-app/tsconfig.json +8 -0
  1361. package/tools/build/build.js +38 -0
  1362. package/tools/build/publish.js +39 -0
  1363. package/tools/build/test.js +24 -0
  1364. package/ts-app/addlibrary.ts +7 -0
  1365. package/ts-app/app.ts +29 -0
  1366. package/ts-app/package.json +13 -0
  1367. package/ts-app/screens/Home.ts +20 -0
  1368. package/ts-app/tsconfig.json +8 -0
  1369. package/tsconfig.json +13 -0
@@ -0,0 +1,598 @@
1
+ /**
2
+ * The `node:zlib` module provides compression functionality implemented using
3
+ * Gzip, Deflate/Inflate, and Brotli.
4
+ *
5
+ * To access it:
6
+ *
7
+ * ```js
8
+ * import zlib from 'node:zlib';
9
+ * ```
10
+ *
11
+ * Compression and decompression are built around the Node.js
12
+ * [Streams API](https://nodejs.org/docs/latest-v20.x/api/stream.html).
13
+ *
14
+ * Compressing or decompressing a stream (such as a file) can be accomplished by
15
+ * piping the source stream through a `zlib` `Transform` stream into a destination
16
+ * stream:
17
+ *
18
+ * ```js
19
+ * import { createGzip } from 'node:zlib';
20
+ * import { pipeline } from 'node:stream';
21
+ * import {
22
+ * createReadStream,
23
+ * createWriteStream,
24
+ * } from 'node:fs';
25
+ *
26
+ * const gzip = createGzip();
27
+ * const source = createReadStream('input.txt');
28
+ * const destination = createWriteStream('input.txt.gz');
29
+ *
30
+ * pipeline(source, gzip, destination, (err) => {
31
+ * if (err) {
32
+ * console.error('An error occurred:', err);
33
+ * process.exitCode = 1;
34
+ * }
35
+ * });
36
+ *
37
+ * // Or, Promisified
38
+ *
39
+ * import { promisify } from 'node:util';
40
+ * const pipe = promisify(pipeline);
41
+ *
42
+ * async function do_gzip(input, output) {
43
+ * const gzip = createGzip();
44
+ * const source = createReadStream(input);
45
+ * const destination = createWriteStream(output);
46
+ * await pipe(source, gzip, destination);
47
+ * }
48
+ *
49
+ * do_gzip('input.txt', 'input.txt.gz')
50
+ * .catch((err) => {
51
+ * console.error('An error occurred:', err);
52
+ * process.exitCode = 1;
53
+ * });
54
+ * ```
55
+ *
56
+ * It is also possible to compress or decompress data in a single step:
57
+ *
58
+ * ```js
59
+ * import { deflate, unzip } from 'node:zlib';
60
+ *
61
+ * const input = '.................................';
62
+ * deflate(input, (err, buffer) => {
63
+ * if (err) {
64
+ * console.error('An error occurred:', err);
65
+ * process.exitCode = 1;
66
+ * }
67
+ * console.log(buffer.toString('base64'));
68
+ * });
69
+ *
70
+ * const buffer = Buffer.from('eJzT0yMAAGTvBe8=', 'base64');
71
+ * unzip(buffer, (err, buffer) => {
72
+ * if (err) {
73
+ * console.error('An error occurred:', err);
74
+ * process.exitCode = 1;
75
+ * }
76
+ * console.log(buffer.toString());
77
+ * });
78
+ *
79
+ * // Or, Promisified
80
+ *
81
+ * import { promisify } from 'node:util';
82
+ * const do_unzip = promisify(unzip);
83
+ *
84
+ * do_unzip(buffer)
85
+ * .then((buf) => console.log(buf.toString()))
86
+ * .catch((err) => {
87
+ * console.error('An error occurred:', err);
88
+ * process.exitCode = 1;
89
+ * });
90
+ * ```
91
+ * @since v0.5.8
92
+ * @see [source](https://github.com/nodejs/node/blob/v20.13.1/lib/zlib.js)
93
+ */
94
+ declare module "zlib" {
95
+ import { NonSharedBuffer } from "node:buffer";
96
+ import * as stream from "node:stream";
97
+ interface ZlibOptions {
98
+ /**
99
+ * @default constants.Z_NO_FLUSH
100
+ */
101
+ flush?: number | undefined;
102
+ /**
103
+ * @default constants.Z_FINISH
104
+ */
105
+ finishFlush?: number | undefined;
106
+ /**
107
+ * @default 16*1024
108
+ */
109
+ chunkSize?: number | undefined;
110
+ windowBits?: number | undefined;
111
+ /** compression only */
112
+ level?: number | undefined;
113
+ /** compression only */
114
+ memLevel?: number | undefined;
115
+ /** compression only */
116
+ strategy?: number | undefined;
117
+ /** deflate/inflate only, empty dictionary by default */
118
+ dictionary?: NodeJS.ArrayBufferView | ArrayBuffer | undefined;
119
+ /**
120
+ * If `true`, returns an object with `buffer` and `engine`.
121
+ */
122
+ info?: boolean | undefined;
123
+ /**
124
+ * Limits output size when using convenience methods.
125
+ * @default buffer.kMaxLength
126
+ */
127
+ maxOutputLength?: number | undefined;
128
+ }
129
+ interface BrotliOptions {
130
+ /**
131
+ * @default constants.BROTLI_OPERATION_PROCESS
132
+ */
133
+ flush?: number | undefined;
134
+ /**
135
+ * @default constants.BROTLI_OPERATION_FINISH
136
+ */
137
+ finishFlush?: number | undefined;
138
+ /**
139
+ * @default 16*1024
140
+ */
141
+ chunkSize?: number | undefined;
142
+ params?:
143
+ | {
144
+ /**
145
+ * Each key is a `constants.BROTLI_*` constant.
146
+ */
147
+ [key: number]: boolean | number;
148
+ }
149
+ | undefined;
150
+ /**
151
+ * Limits output size when using [convenience methods](https://nodejs.org/docs/latest-v20.x/api/zlib.html#convenience-methods).
152
+ * @default buffer.kMaxLength
153
+ */
154
+ maxOutputLength?: number | undefined;
155
+ }
156
+ interface Zlib {
157
+ /** @deprecated Use bytesWritten instead. */
158
+ readonly bytesRead: number;
159
+ readonly bytesWritten: number;
160
+ shell?: boolean | string | undefined;
161
+ close(callback?: () => void): void;
162
+ flush(kind?: number, callback?: () => void): void;
163
+ flush(callback?: () => void): void;
164
+ }
165
+ interface ZlibParams {
166
+ params(level: number, strategy: number, callback: () => void): void;
167
+ }
168
+ interface ZlibReset {
169
+ reset(): void;
170
+ }
171
+ /**
172
+ * @since v10.16.0
173
+ */
174
+ class BrotliCompress extends stream.Transform {
175
+ constructor(options?: BrotliOptions);
176
+ }
177
+ interface BrotliCompress extends stream.Transform, Zlib {}
178
+ /**
179
+ * @since v10.16.0
180
+ */
181
+ class BrotliDecompress extends stream.Transform {
182
+ constructor(options?: BrotliOptions);
183
+ }
184
+ interface BrotliDecompress extends stream.Transform, Zlib {}
185
+ /**
186
+ * @since v0.5.8
187
+ */
188
+ class Gzip extends stream.Transform {
189
+ constructor(options?: ZlibOptions);
190
+ }
191
+ interface Gzip extends stream.Transform, Zlib {}
192
+ /**
193
+ * @since v0.5.8
194
+ */
195
+ class Gunzip extends stream.Transform {
196
+ constructor(options?: ZlibOptions);
197
+ }
198
+ interface Gunzip extends stream.Transform, Zlib {}
199
+ /**
200
+ * @since v0.5.8
201
+ */
202
+ class Deflate extends stream.Transform {
203
+ constructor(options?: ZlibOptions);
204
+ }
205
+ interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
206
+ /**
207
+ * @since v0.5.8
208
+ */
209
+ class Inflate extends stream.Transform {
210
+ constructor(options?: ZlibOptions);
211
+ }
212
+ interface Inflate extends stream.Transform, Zlib, ZlibReset {}
213
+ /**
214
+ * @since v0.5.8
215
+ */
216
+ class DeflateRaw extends stream.Transform {
217
+ constructor(options?: ZlibOptions);
218
+ }
219
+ interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
220
+ /**
221
+ * @since v0.5.8
222
+ */
223
+ class InflateRaw extends stream.Transform {
224
+ constructor(options?: ZlibOptions);
225
+ }
226
+ interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
227
+ /**
228
+ * @since v0.5.8
229
+ */
230
+ class Unzip extends stream.Transform {
231
+ constructor(options?: ZlibOptions);
232
+ }
233
+ interface Unzip extends stream.Transform, Zlib {}
234
+ /**
235
+ * Computes a 32-bit [Cyclic Redundancy Check](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) checksum of `data`.
236
+ * If `value` is specified, it is used as the starting value of the checksum, otherwise, 0 is used as the starting value.
237
+ * @param data When `data` is a string, it will be encoded as UTF-8 before being used for computation.
238
+ * @param value An optional starting value. It must be a 32-bit unsigned integer. @default 0
239
+ * @returns A 32-bit unsigned integer containing the checksum.
240
+ * @since v20.15.0
241
+ */
242
+ function crc32(data: string | NodeJS.ArrayBufferView, value?: number): number;
243
+ /**
244
+ * Creates and returns a new `BrotliCompress` object.
245
+ * @since v11.7.0, v10.16.0
246
+ */
247
+ function createBrotliCompress(options?: BrotliOptions): BrotliCompress;
248
+ /**
249
+ * Creates and returns a new `BrotliDecompress` object.
250
+ * @since v11.7.0, v10.16.0
251
+ */
252
+ function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress;
253
+ /**
254
+ * Creates and returns a new `Gzip` object.
255
+ * See `example`.
256
+ * @since v0.5.8
257
+ */
258
+ function createGzip(options?: ZlibOptions): Gzip;
259
+ /**
260
+ * Creates and returns a new `Gunzip` object.
261
+ * @since v0.5.8
262
+ */
263
+ function createGunzip(options?: ZlibOptions): Gunzip;
264
+ /**
265
+ * Creates and returns a new `Deflate` object.
266
+ * @since v0.5.8
267
+ */
268
+ function createDeflate(options?: ZlibOptions): Deflate;
269
+ /**
270
+ * Creates and returns a new `Inflate` object.
271
+ * @since v0.5.8
272
+ */
273
+ function createInflate(options?: ZlibOptions): Inflate;
274
+ /**
275
+ * Creates and returns a new `DeflateRaw` object.
276
+ *
277
+ * An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when `windowBits` is set to 8 for raw deflate streams. zlib would automatically set `windowBits` to 9 if was initially set to 8. Newer
278
+ * versions of zlib will throw an exception,
279
+ * so Node.js restored the original behavior of upgrading a value of 8 to 9,
280
+ * since passing `windowBits = 9` to zlib actually results in a compressed stream
281
+ * that effectively uses an 8-bit window only.
282
+ * @since v0.5.8
283
+ */
284
+ function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
285
+ /**
286
+ * Creates and returns a new `InflateRaw` object.
287
+ * @since v0.5.8
288
+ */
289
+ function createInflateRaw(options?: ZlibOptions): InflateRaw;
290
+ /**
291
+ * Creates and returns a new `Unzip` object.
292
+ * @since v0.5.8
293
+ */
294
+ function createUnzip(options?: ZlibOptions): Unzip;
295
+ type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView;
296
+ type CompressCallback = (error: Error | null, result: NonSharedBuffer) => void;
297
+ /**
298
+ * @since v11.7.0, v10.16.0
299
+ */
300
+ function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
301
+ function brotliCompress(buf: InputType, callback: CompressCallback): void;
302
+ namespace brotliCompress {
303
+ function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<NonSharedBuffer>;
304
+ }
305
+ /**
306
+ * Compress a chunk of data with `BrotliCompress`.
307
+ * @since v11.7.0, v10.16.0
308
+ */
309
+ function brotliCompressSync(buf: InputType, options?: BrotliOptions): NonSharedBuffer;
310
+ /**
311
+ * @since v11.7.0, v10.16.0
312
+ */
313
+ function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
314
+ function brotliDecompress(buf: InputType, callback: CompressCallback): void;
315
+ namespace brotliDecompress {
316
+ function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<NonSharedBuffer>;
317
+ }
318
+ /**
319
+ * Decompress a chunk of data with `BrotliDecompress`.
320
+ * @since v11.7.0, v10.16.0
321
+ */
322
+ function brotliDecompressSync(buf: InputType, options?: BrotliOptions): NonSharedBuffer;
323
+ /**
324
+ * @since v0.6.0
325
+ */
326
+ function deflate(buf: InputType, callback: CompressCallback): void;
327
+ function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
328
+ namespace deflate {
329
+ function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
330
+ }
331
+ /**
332
+ * Compress a chunk of data with `Deflate`.
333
+ * @since v0.11.12
334
+ */
335
+ function deflateSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
336
+ /**
337
+ * @since v0.6.0
338
+ */
339
+ function deflateRaw(buf: InputType, callback: CompressCallback): void;
340
+ function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
341
+ namespace deflateRaw {
342
+ function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
343
+ }
344
+ /**
345
+ * Compress a chunk of data with `DeflateRaw`.
346
+ * @since v0.11.12
347
+ */
348
+ function deflateRawSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
349
+ /**
350
+ * @since v0.6.0
351
+ */
352
+ function gzip(buf: InputType, callback: CompressCallback): void;
353
+ function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
354
+ namespace gzip {
355
+ function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
356
+ }
357
+ /**
358
+ * Compress a chunk of data with `Gzip`.
359
+ * @since v0.11.12
360
+ */
361
+ function gzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
362
+ /**
363
+ * @since v0.6.0
364
+ */
365
+ function gunzip(buf: InputType, callback: CompressCallback): void;
366
+ function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
367
+ namespace gunzip {
368
+ function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
369
+ }
370
+ /**
371
+ * Decompress a chunk of data with `Gunzip`.
372
+ * @since v0.11.12
373
+ */
374
+ function gunzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
375
+ /**
376
+ * @since v0.6.0
377
+ */
378
+ function inflate(buf: InputType, callback: CompressCallback): void;
379
+ function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
380
+ namespace inflate {
381
+ function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
382
+ }
383
+ /**
384
+ * Decompress a chunk of data with `Inflate`.
385
+ * @since v0.11.12
386
+ */
387
+ function inflateSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
388
+ /**
389
+ * @since v0.6.0
390
+ */
391
+ function inflateRaw(buf: InputType, callback: CompressCallback): void;
392
+ function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
393
+ namespace inflateRaw {
394
+ function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
395
+ }
396
+ /**
397
+ * Decompress a chunk of data with `InflateRaw`.
398
+ * @since v0.11.12
399
+ */
400
+ function inflateRawSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
401
+ /**
402
+ * @since v0.6.0
403
+ */
404
+ function unzip(buf: InputType, callback: CompressCallback): void;
405
+ function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
406
+ namespace unzip {
407
+ function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<NonSharedBuffer>;
408
+ }
409
+ /**
410
+ * Decompress a chunk of data with `Unzip`.
411
+ * @since v0.11.12
412
+ */
413
+ function unzipSync(buf: InputType, options?: ZlibOptions): NonSharedBuffer;
414
+ namespace constants {
415
+ const BROTLI_DECODE: number;
416
+ const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
417
+ const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number;
418
+ const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number;
419
+ const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number;
420
+ const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number;
421
+ const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number;
422
+ const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number;
423
+ const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number;
424
+ const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number;
425
+ const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number;
426
+ const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number;
427
+ const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number;
428
+ const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number;
429
+ const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number;
430
+ const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number;
431
+ const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number;
432
+ const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number;
433
+ const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number;
434
+ const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number;
435
+ const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number;
436
+ const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number;
437
+ const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number;
438
+ const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number;
439
+ const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number;
440
+ const BROTLI_DECODER_ERROR_UNREACHABLE: number;
441
+ const BROTLI_DECODER_NEEDS_MORE_INPUT: number;
442
+ const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number;
443
+ const BROTLI_DECODER_NO_ERROR: number;
444
+ const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number;
445
+ const BROTLI_DECODER_PARAM_LARGE_WINDOW: number;
446
+ const BROTLI_DECODER_RESULT_ERROR: number;
447
+ const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number;
448
+ const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number;
449
+ const BROTLI_DECODER_RESULT_SUCCESS: number;
450
+ const BROTLI_DECODER_SUCCESS: number;
451
+ const BROTLI_DEFAULT_MODE: number;
452
+ const BROTLI_DEFAULT_QUALITY: number;
453
+ const BROTLI_DEFAULT_WINDOW: number;
454
+ const BROTLI_ENCODE: number;
455
+ const BROTLI_LARGE_MAX_WINDOW_BITS: number;
456
+ const BROTLI_MAX_INPUT_BLOCK_BITS: number;
457
+ const BROTLI_MAX_QUALITY: number;
458
+ const BROTLI_MAX_WINDOW_BITS: number;
459
+ const BROTLI_MIN_INPUT_BLOCK_BITS: number;
460
+ const BROTLI_MIN_QUALITY: number;
461
+ const BROTLI_MIN_WINDOW_BITS: number;
462
+ const BROTLI_MODE_FONT: number;
463
+ const BROTLI_MODE_GENERIC: number;
464
+ const BROTLI_MODE_TEXT: number;
465
+ const BROTLI_OPERATION_EMIT_METADATA: number;
466
+ const BROTLI_OPERATION_FINISH: number;
467
+ const BROTLI_OPERATION_FLUSH: number;
468
+ const BROTLI_OPERATION_PROCESS: number;
469
+ const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number;
470
+ const BROTLI_PARAM_LARGE_WINDOW: number;
471
+ const BROTLI_PARAM_LGBLOCK: number;
472
+ const BROTLI_PARAM_LGWIN: number;
473
+ const BROTLI_PARAM_MODE: number;
474
+ const BROTLI_PARAM_NDIRECT: number;
475
+ const BROTLI_PARAM_NPOSTFIX: number;
476
+ const BROTLI_PARAM_QUALITY: number;
477
+ const BROTLI_PARAM_SIZE_HINT: number;
478
+ const DEFLATE: number;
479
+ const DEFLATERAW: number;
480
+ const GUNZIP: number;
481
+ const GZIP: number;
482
+ const INFLATE: number;
483
+ const INFLATERAW: number;
484
+ const UNZIP: number;
485
+ // Allowed flush values.
486
+ const Z_NO_FLUSH: number;
487
+ const Z_PARTIAL_FLUSH: number;
488
+ const Z_SYNC_FLUSH: number;
489
+ const Z_FULL_FLUSH: number;
490
+ const Z_FINISH: number;
491
+ const Z_BLOCK: number;
492
+ const Z_TREES: number;
493
+ // Return codes for the compression/decompression functions.
494
+ // Negative values are errors, positive values are used for special but normal events.
495
+ const Z_OK: number;
496
+ const Z_STREAM_END: number;
497
+ const Z_NEED_DICT: number;
498
+ const Z_ERRNO: number;
499
+ const Z_STREAM_ERROR: number;
500
+ const Z_DATA_ERROR: number;
501
+ const Z_MEM_ERROR: number;
502
+ const Z_BUF_ERROR: number;
503
+ const Z_VERSION_ERROR: number;
504
+ // Compression levels.
505
+ const Z_NO_COMPRESSION: number;
506
+ const Z_BEST_SPEED: number;
507
+ const Z_BEST_COMPRESSION: number;
508
+ const Z_DEFAULT_COMPRESSION: number;
509
+ // Compression strategy.
510
+ const Z_FILTERED: number;
511
+ const Z_HUFFMAN_ONLY: number;
512
+ const Z_RLE: number;
513
+ const Z_FIXED: number;
514
+ const Z_DEFAULT_STRATEGY: number;
515
+ const Z_DEFAULT_WINDOWBITS: number;
516
+
517
+ const Z_MIN_WINDOWBITS: number;
518
+ const Z_MAX_WINDOWBITS: number;
519
+ const Z_MIN_CHUNK: number;
520
+ const Z_MAX_CHUNK: number;
521
+ const Z_DEFAULT_CHUNK: number;
522
+ const Z_MIN_MEMLEVEL: number;
523
+ const Z_MAX_MEMLEVEL: number;
524
+ const Z_DEFAULT_MEMLEVEL: number;
525
+ const Z_MIN_LEVEL: number;
526
+ const Z_MAX_LEVEL: number;
527
+ const Z_DEFAULT_LEVEL: number;
528
+ const ZLIB_VERNUM: number;
529
+ }
530
+ // Allowed flush values.
531
+ /** @deprecated Use `constants.Z_NO_FLUSH` */
532
+ const Z_NO_FLUSH: number;
533
+ /** @deprecated Use `constants.Z_PARTIAL_FLUSH` */
534
+ const Z_PARTIAL_FLUSH: number;
535
+ /** @deprecated Use `constants.Z_SYNC_FLUSH` */
536
+ const Z_SYNC_FLUSH: number;
537
+ /** @deprecated Use `constants.Z_FULL_FLUSH` */
538
+ const Z_FULL_FLUSH: number;
539
+ /** @deprecated Use `constants.Z_FINISH` */
540
+ const Z_FINISH: number;
541
+ /** @deprecated Use `constants.Z_BLOCK` */
542
+ const Z_BLOCK: number;
543
+ /** @deprecated Use `constants.Z_TREES` */
544
+ const Z_TREES: number;
545
+ // Return codes for the compression/decompression functions.
546
+ // Negative values are errors, positive values are used for special but normal events.
547
+ /** @deprecated Use `constants.Z_OK` */
548
+ const Z_OK: number;
549
+ /** @deprecated Use `constants.Z_STREAM_END` */
550
+ const Z_STREAM_END: number;
551
+ /** @deprecated Use `constants.Z_NEED_DICT` */
552
+ const Z_NEED_DICT: number;
553
+ /** @deprecated Use `constants.Z_ERRNO` */
554
+ const Z_ERRNO: number;
555
+ /** @deprecated Use `constants.Z_STREAM_ERROR` */
556
+ const Z_STREAM_ERROR: number;
557
+ /** @deprecated Use `constants.Z_DATA_ERROR` */
558
+ const Z_DATA_ERROR: number;
559
+ /** @deprecated Use `constants.Z_MEM_ERROR` */
560
+ const Z_MEM_ERROR: number;
561
+ /** @deprecated Use `constants.Z_BUF_ERROR` */
562
+ const Z_BUF_ERROR: number;
563
+ /** @deprecated Use `constants.Z_VERSION_ERROR` */
564
+ const Z_VERSION_ERROR: number;
565
+ // Compression levels.
566
+ /** @deprecated Use `constants.Z_NO_COMPRESSION` */
567
+ const Z_NO_COMPRESSION: number;
568
+ /** @deprecated Use `constants.Z_BEST_SPEED` */
569
+ const Z_BEST_SPEED: number;
570
+ /** @deprecated Use `constants.Z_BEST_COMPRESSION` */
571
+ const Z_BEST_COMPRESSION: number;
572
+ /** @deprecated Use `constants.Z_DEFAULT_COMPRESSION` */
573
+ const Z_DEFAULT_COMPRESSION: number;
574
+ // Compression strategy.
575
+ /** @deprecated Use `constants.Z_FILTERED` */
576
+ const Z_FILTERED: number;
577
+ /** @deprecated Use `constants.Z_HUFFMAN_ONLY` */
578
+ const Z_HUFFMAN_ONLY: number;
579
+ /** @deprecated Use `constants.Z_RLE` */
580
+ const Z_RLE: number;
581
+ /** @deprecated Use `constants.Z_FIXED` */
582
+ const Z_FIXED: number;
583
+ /** @deprecated Use `constants.Z_DEFAULT_STRATEGY` */
584
+ const Z_DEFAULT_STRATEGY: number;
585
+ /** @deprecated */
586
+ const Z_BINARY: number;
587
+ /** @deprecated */
588
+ const Z_TEXT: number;
589
+ /** @deprecated */
590
+ const Z_ASCII: number;
591
+ /** @deprecated */
592
+ const Z_UNKNOWN: number;
593
+ /** @deprecated */
594
+ const Z_DEFLATED: number;
595
+ }
596
+ declare module "node:zlib" {
597
+ export * from "zlib";
598
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Matteo Collina and Undici contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,6 @@
1
+ # undici-types
2
+
3
+ This package is a dual-publish of the [undici](https://www.npmjs.com/package/undici) library types. The `undici` package **still contains types**. This package is for users who _only_ need undici types (such as for `@types/node`). It is published alongside every release of `undici`, so you can always use the same version.
4
+
5
+ - [GitHub nodejs/undici](https://github.com/nodejs/undici)
6
+ - [Undici Documentation](https://undici.nodejs.org/#/)
@@ -0,0 +1,31 @@
1
+ import { URL } from 'url'
2
+ import Pool from './pool'
3
+ import Dispatcher from "./dispatcher";
4
+
5
+ export default Agent
6
+
7
+ declare class Agent extends Dispatcher{
8
+ constructor(opts?: Agent.Options)
9
+ /** `true` after `dispatcher.close()` has been called. */
10
+ closed: boolean;
11
+ /** `true` after `dispatcher.destroyed()` has been called or `dispatcher.close()` has been called and the dispatcher shutdown has completed. */
12
+ destroyed: boolean;
13
+ /** Dispatches a request. */
14
+ dispatch(options: Agent.DispatchOptions, handler: Dispatcher.DispatchHandlers): boolean;
15
+ }
16
+
17
+ declare namespace Agent {
18
+ export interface Options extends Pool.Options {
19
+ /** Default: `(origin, opts) => new Pool(origin, opts)`. */
20
+ factory?(origin: string | URL, opts: Object): Dispatcher;
21
+ /** Integer. Default: `0` */
22
+ maxRedirections?: number;
23
+
24
+ interceptors?: { Agent?: readonly Dispatcher.DispatchInterceptor[] } & Pool.Options["interceptors"]
25
+ }
26
+
27
+ export interface DispatchOptions extends Dispatcher.DispatchOptions {
28
+ /** Integer. */
29
+ maxRedirections?: number;
30
+ }
31
+ }