@runlith/tagma 0.0.0-stage → 0.2.3

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 (342) hide show
  1. package/adapter/claudeHooks.d.ts +10 -0
  2. package/adapter/claudeHooks.js +4 -0
  3. package/adapter/declaration.d.ts +14 -0
  4. package/adapter/declaration.js +2 -0
  5. package/adapter/harness.d.ts +454 -0
  6. package/adapter/harness.js +2 -0
  7. package/adapter/hook.d.ts +43 -0
  8. package/adapter/hook.js +2 -0
  9. package/adapter/hostModules.d.ts +19 -0
  10. package/adapter/hostModules.js +2 -0
  11. package/adapter/loader.d.ts +10 -0
  12. package/adapter/loader.js +2 -0
  13. package/adapter/metadata.d.ts +179 -0
  14. package/adapter/metadata.js +4 -0
  15. package/adapter/payload.d.ts +19 -0
  16. package/adapter/payload.js +3 -0
  17. package/adapter/provider.d.ts +209 -0
  18. package/adapter/provider.js +2 -0
  19. package/adapter/settings.d.ts +182 -0
  20. package/adapter/settings.js +2 -0
  21. package/adapter/speech.d.ts +4 -0
  22. package/adapter/speech.js +2 -0
  23. package/host.d.ts +61223 -0
  24. package/package.json +134 -3
  25. package/plugin/Held-cvetk2wg.js +6 -0
  26. package/plugin/accountKey-t44g9avw.js +2 -0
  27. package/plugin/adapter-qdnpxs6n.js +1 -0
  28. package/plugin/anthropic-a4pdzrv2.js +2 -0
  29. package/plugin/anthropic-messages-svq0svwe.js +2 -0
  30. package/plugin/anthropic-q1xa9n0j.js +2 -0
  31. package/plugin/auth-cp8wnd0z.js +2 -0
  32. package/plugin/authStatus-d6scztz5.js +2 -0
  33. package/plugin/bundling.d.ts +30 -0
  34. package/plugin/bundling.js +2 -0
  35. package/plugin/cacheLifetime-c5mpw676.js +2 -0
  36. package/plugin/callback-server-q2asby82.js +16 -0
  37. package/plugin/capabilities-jfhf61dt.js +2 -0
  38. package/plugin/claudeHooks-edpg1e46.js +3 -0
  39. package/plugin/cli.js +21 -0
  40. package/plugin/cliStore-5s0qerr7.js +2 -0
  41. package/plugin/clientSession-tmmxm39z.js +2 -0
  42. package/plugin/codec-aa8mxqyr.js +1 -0
  43. package/plugin/connect-d7ec6kfh.js +2 -0
  44. package/plugin/contract-qn0z7r9c.js +1 -0
  45. package/plugin/credential-garn07qc.js +2 -0
  46. package/plugin/deepseek-fvdrmjr9.js +2 -0
  47. package/plugin/deepseek-sp4vxjqy.js +2 -0
  48. package/plugin/definition-0h3gqd2z.js +2 -0
  49. package/plugin/description-8xhxryaq.js +2 -0
  50. package/plugin/deviceGrant-axpyc7xr.js +2 -0
  51. package/plugin/devin-hy98d305.js +2 -0
  52. package/plugin/duplex-yexjcpv2.js +2 -0
  53. package/plugin/endpoint-0b9bsb4q.js +2 -0
  54. package/plugin/errors-kck87dpv.js +2 -0
  55. package/plugin/events-81m69vqz.js +2 -0
  56. package/plugin/events-s95ybm4g.js +2 -0
  57. package/plugin/executor-avear8af.js +2 -0
  58. package/plugin/failure-ddv4456n.js +2 -0
  59. package/plugin/framing-jnd2zm0h.js +2 -0
  60. package/plugin/grant-85r3bbqn.js +2 -0
  61. package/plugin/harness-jm3fhnwg.js +2 -0
  62. package/plugin/headers-w6p5sp18.js +2 -0
  63. package/plugin/hook-hjrk83m8.js +2 -0
  64. package/plugin/icon-044pa3y8.js +6 -0
  65. package/plugin/icon-j22svmgp.js +4 -0
  66. package/plugin/icon-ny6qbjvc.js +4 -0
  67. package/plugin/icon-pz54e8n3.js +4 -0
  68. package/plugin/icon-qy92jx2b.js +4 -0
  69. package/plugin/ids-2dndaq8y.js +2 -0
  70. package/plugin/images-s2kqebfv.js +2 -0
  71. package/plugin/index-b3yp4szm.js +2 -0
  72. package/plugin/index-xs7nfsck.js +2 -0
  73. package/plugin/lifecycle-er51apxp.js +2 -0
  74. package/plugin/manual-2mdscj84.js +2 -0
  75. package/plugin/messages-gmwcg1pq.js +2 -0
  76. package/plugin/metadata-gpazs3f5.js +4 -0
  77. package/plugin/muse-g8bc58v8.js +2 -0
  78. package/plugin/muse-tfe6sph7.js +2 -0
  79. package/plugin/museToolSchema-tbe0f3wa.js +2 -0
  80. package/plugin/notes-5m0m3pdr.js +2 -0
  81. package/plugin/object-9pjtdam7.js +2 -0
  82. package/plugin/open-browser-vqb7ckt1.js +2 -0
  83. package/plugin/openai-6f50tf64.js +2 -0
  84. package/plugin/openai-compatible-chat-eez8hkge.js +2 -0
  85. package/plugin/openai-images-haszbnft.js +2 -0
  86. package/plugin/openai-mfqwg6pa.js +2 -0
  87. package/plugin/openai-responses-1gpyp640.js +2 -0
  88. package/plugin/opencodeGo-1wgdjtjz.js +3 -0
  89. package/plugin/opencodeGo-qgw3pfg6.js +2 -0
  90. package/plugin/options-476akxaj.js +2 -0
  91. package/plugin/payload-2gr4q9g8.js +2 -0
  92. package/plugin/pkce-y3sh5pk8.js +2 -0
  93. package/plugin/plugin-0e34qaar.js +3 -0
  94. package/plugin/plugin-1vpp5mqk.js +4 -0
  95. package/plugin/plugin-1zkx860n.js +3 -0
  96. package/plugin/plugin-217mw9ck.js +3 -0
  97. package/plugin/plugin-24j9hnc7.js +3 -0
  98. package/plugin/plugin-2s6bq45c.js +3 -0
  99. package/plugin/plugin-3969dy0b.js +3 -0
  100. package/plugin/plugin-3b8x73y6.js +3 -0
  101. package/plugin/plugin-3t0qp574.js +3 -0
  102. package/plugin/plugin-55fbx586.js +3 -0
  103. package/plugin/plugin-5zq084fb.js +3 -0
  104. package/plugin/plugin-6a56xsx3.js +3 -0
  105. package/plugin/plugin-6vzw5yyr.js +3 -0
  106. package/plugin/plugin-72xxqm1t.js +3 -0
  107. package/plugin/plugin-7swap1ad.js +3 -0
  108. package/plugin/plugin-7te9b50h.js +3 -0
  109. package/plugin/plugin-7xmwhj5h.js +3 -0
  110. package/plugin/plugin-80gqwmjy.js +3 -0
  111. package/plugin/plugin-8g8myq9g.js +3 -0
  112. package/plugin/plugin-8q44b578.js +3 -0
  113. package/plugin/plugin-8v4g0q0b.js +3 -0
  114. package/plugin/plugin-8x3c401q.js +9 -0
  115. package/plugin/plugin-92sxs4r1.js +3 -0
  116. package/plugin/plugin-9gha9fx3.js +3 -0
  117. package/plugin/plugin-9zbh7788.js +3 -0
  118. package/plugin/plugin-a3vzpk4e.js +3 -0
  119. package/plugin/plugin-ak62rhwz.js +3 -0
  120. package/plugin/plugin-azkzdkpk.js +3 -0
  121. package/plugin/plugin-cydz2zhy.js +3 -0
  122. package/plugin/plugin-d28d8jar.js +4 -0
  123. package/plugin/plugin-dd951075.js +3 -0
  124. package/plugin/plugin-dqxdznvd.js +3 -0
  125. package/plugin/plugin-dsjq4tye.js +3 -0
  126. package/plugin/plugin-e5ybk2a2.js +3 -0
  127. package/plugin/plugin-eksq91yp.js +5 -0
  128. package/plugin/plugin-er1kc6f6.js +5 -0
  129. package/plugin/plugin-fjsmz1vy.js +4 -0
  130. package/plugin/plugin-fre9hdcg.js +3 -0
  131. package/plugin/plugin-g0zv4vrz.js +3 -0
  132. package/plugin/plugin-g4hst0jz.js +3 -0
  133. package/plugin/plugin-g7hrtg2p.js +3 -0
  134. package/plugin/plugin-gh857xdd.js +3 -0
  135. package/plugin/plugin-hkjxkgty.js +3 -0
  136. package/plugin/plugin-jxvmq18y.js +3 -0
  137. package/plugin/plugin-kc4z9msd.js +3 -0
  138. package/plugin/plugin-krbbb4ts.js +3 -0
  139. package/plugin/plugin-me00x60n.js +3 -0
  140. package/plugin/plugin-mqr325kz.js +3 -0
  141. package/plugin/plugin-nzacjxf9.js +3 -0
  142. package/plugin/plugin-p59gy5xd.js +3 -0
  143. package/plugin/plugin-p6x7emar.js +3 -0
  144. package/plugin/plugin-pdww1ma8.js +3 -0
  145. package/plugin/plugin-psj9935q.js +3 -0
  146. package/plugin/plugin-q6pvb1xf.js +3 -0
  147. package/plugin/plugin-r342d8zf.js +3 -0
  148. package/plugin/plugin-r7g3vqrm.js +3 -0
  149. package/plugin/plugin-rrgyjesv.js +3 -0
  150. package/plugin/plugin-t4xrq5q2.js +3 -0
  151. package/plugin/plugin-tetj2cr3.js +3 -0
  152. package/plugin/plugin-v80m00bq.js +14 -0
  153. package/plugin/plugin-vfjhxng8.js +3 -0
  154. package/plugin/plugin-vqrd05eg.js +3 -0
  155. package/plugin/plugin-w3zbkmy6.js +3 -0
  156. package/plugin/plugin-w8f977my.js +3 -0
  157. package/plugin/plugin-xbnw80pk.js +3 -0
  158. package/plugin/plugin-xfcgt5ba.js +36 -0
  159. package/plugin/plugin-y9cdpmbv.js +6 -0
  160. package/plugin/plugin-yg0h5k5d.js +3 -0
  161. package/plugin/plugin-yp736z4n.js +3 -0
  162. package/plugin/plugin-zrb8bbr4.js +3 -0
  163. package/plugin/plugin-zsv7wawc.js +3 -0
  164. package/plugin/plugin.d.ts +175 -0
  165. package/plugin/plugin.js +2 -0
  166. package/plugin/points.generated.d.ts +341 -0
  167. package/plugin/points.generated.js +2 -0
  168. package/plugin/process.d.ts +4 -0
  169. package/plugin/process.js +85 -0
  170. package/plugin/protocol-8c26dk6v.js +2 -0
  171. package/plugin/protocol.d.ts +115 -0
  172. package/plugin/protocol.js +2 -0
  173. package/plugin/provider-0b7xxyhn.js +2 -0
  174. package/plugin/quota-v63yvp13.js +2 -0
  175. package/plugin/quotaRead-esmjycnd.js +2 -0
  176. package/plugin/reasoning-1saw6tds.js +2 -0
  177. package/plugin/record-1m3vvy60.js +2 -0
  178. package/plugin/requests-2zyr1g8e.js +1 -0
  179. package/plugin/responseFold-xxhqx4sa.js +2 -0
  180. package/plugin/settings-8xq8dvhp.js +2 -0
  181. package/plugin/shared-4jndfh28.js +2 -0
  182. package/plugin/speech-067caz1a.js +2 -0
  183. package/plugin/stepfun-3en5g41d.js +2 -0
  184. package/plugin/stepfun-xp1c5wpk.js +2 -0
  185. package/plugin/stream-8yrr289z.js +2 -0
  186. package/plugin/svelteProgram-73v9yajk.js +2 -0
  187. package/plugin/synthesisDuplex-ch9jhqzt.js +2 -0
  188. package/plugin/template.d.ts +14 -0
  189. package/plugin/template.js +2 -0
  190. package/plugin/testing.d.ts +85 -0
  191. package/plugin/testing.js +4 -0
  192. package/plugin/tool-content-vean6rqa.js +2 -0
  193. package/plugin/tool-stream-fb180jmt.js +2 -0
  194. package/plugin/transport-j784dsdr.js +2 -0
  195. package/plugin/ui.generated.d.ts +1041 -0
  196. package/plugin/value.d.ts +8 -0
  197. package/plugin/value.js +2 -0
  198. package/plugin/vendor-pn6b5a8f.js +2 -0
  199. package/plugin/vendorCall-6n5chrn0.js +2 -0
  200. package/plugin/vendorCall-82evk8b3.js +2 -0
  201. package/plugin/vendorPayload-458354fv.js +2 -0
  202. package/plugin/vendorWeb-cz5t01m7.js +2 -0
  203. package/plugin/verbatim-2f2d9n02.js +2 -0
  204. package/plugin/xai-2cqraa99.js +2 -0
  205. package/plugin/xai-e8sbtk6a.js +2 -0
  206. package/rules/effect.d.ts +55 -0
  207. package/rules/effect.js +11 -0
  208. package/rules/rules.d.ts +342 -0
  209. package/rules/rules.js +50 -0
  210. package/types/node/assert/strict.d.ts +12 -0
  211. package/types/node/assert.d.ts +76 -0
  212. package/types/node/async_hooks.d.ts +113 -0
  213. package/types/node/buffer.buffer.d.ts +29 -0
  214. package/types/node/buffer.d.ts +162 -0
  215. package/types/node/child_process.d.ts +337 -0
  216. package/types/node/cluster.d.ts +118 -0
  217. package/types/node/compatibility/iterators.d.ts +11 -0
  218. package/types/node/console.d.ts +48 -0
  219. package/types/node/constants.d.ts +8 -0
  220. package/types/node/crypto.d.ts +847 -0
  221. package/types/node/dgram.d.ts +88 -0
  222. package/types/node/diagnostics_channel.d.ts +61 -0
  223. package/types/node/dns/promises.d.ts +94 -0
  224. package/types/node/dns.d.ts +276 -0
  225. package/types/node/domain.d.ts +17 -0
  226. package/types/node/events.d.ts +138 -0
  227. package/types/node/fs/promises.d.ts +253 -0
  228. package/types/node/fs.d.ts +1038 -0
  229. package/types/node/globals.d.ts +73 -0
  230. package/types/node/globals.typedarray.d.ts +22 -0
  231. package/types/node/http.d.ts +530 -0
  232. package/types/node/http2.d.ts +794 -0
  233. package/types/node/https.d.ts +66 -0
  234. package/types/node/index.d.ts +84 -0
  235. package/types/node/inspector/promises.d.ts +13 -0
  236. package/types/node/inspector.d.ts +61 -0
  237. package/types/node/inspector.generated.d.ts +1624 -0
  238. package/types/node/module.d.ts +187 -0
  239. package/types/node/net.d.ts +266 -0
  240. package/types/node/os.d.ts +236 -0
  241. package/types/node/path/posix.d.ts +8 -0
  242. package/types/node/path/win32.d.ts +8 -0
  243. package/types/node/path.d.ts +40 -0
  244. package/types/node/perf_hooks.d.ts +236 -0
  245. package/types/node/process.d.ts +436 -0
  246. package/types/node/punycode.d.ts +15 -0
  247. package/types/node/querystring.d.ts +22 -0
  248. package/types/node/quic.d.ts +203 -0
  249. package/types/node/readline/promises.d.ts +28 -0
  250. package/types/node/readline.d.ts +94 -0
  251. package/types/node/repl.d.ts +104 -0
  252. package/types/node/sea.d.ts +11 -0
  253. package/types/node/sqlite.d.ts +183 -0
  254. package/types/node/stream/consumers.d.ts +13 -0
  255. package/types/node/stream/iter.d.ts +240 -0
  256. package/types/node/stream/promises.d.ts +37 -0
  257. package/types/node/stream/web.d.ts +297 -0
  258. package/types/node/stream.d.ts +378 -0
  259. package/types/node/string_decoder.d.ts +10 -0
  260. package/types/node/test/reporters.d.ts +66 -0
  261. package/types/node/test.d.ts +462 -0
  262. package/types/node/timers/promises.d.ts +16 -0
  263. package/types/node/timers.d.ts +43 -0
  264. package/types/node/tls.d.ts +279 -0
  265. package/types/node/trace_events.d.ts +16 -0
  266. package/types/node/ts5.6/buffer.buffer.d.ts +26 -0
  267. package/types/node/ts5.6/compatibility/float16array.d.ts +43 -0
  268. package/types/node/ts5.6/globals.typedarray.d.ts +22 -0
  269. package/types/node/ts5.6/index.d.ts +84 -0
  270. package/types/node/ts5.7/compatibility/float16array.d.ts +50 -0
  271. package/types/node/ts5.7/index.d.ts +84 -0
  272. package/types/node/tty.d.ts +61 -0
  273. package/types/node/url.d.ts +165 -0
  274. package/types/node/util/types.d.ts +49 -0
  275. package/types/node/util.d.ts +320 -0
  276. package/types/node/v8.d.ts +178 -0
  277. package/types/node/vm.d.ts +130 -0
  278. package/types/node/wasi.d.ts +26 -0
  279. package/types/node/web-globals/abortcontroller.d.ts +47 -0
  280. package/types/node/web-globals/blob.d.ts +34 -0
  281. package/types/node/web-globals/console.d.ts +7 -0
  282. package/types/node/web-globals/crypto.d.ts +46 -0
  283. package/types/node/web-globals/domexception.d.ts +74 -0
  284. package/types/node/web-globals/encoding.d.ts +16 -0
  285. package/types/node/web-globals/events.d.ts +111 -0
  286. package/types/node/web-globals/fetch.d.ts +121 -0
  287. package/types/node/web-globals/importmeta.d.ts +11 -0
  288. package/types/node/web-globals/messaging.d.ts +32 -0
  289. package/types/node/web-globals/navigator.d.ts +28 -0
  290. package/types/node/web-globals/performance.d.ts +71 -0
  291. package/types/node/web-globals/storage.d.ts +26 -0
  292. package/types/node/web-globals/streams.d.ts +162 -0
  293. package/types/node/web-globals/timers.d.ts +22 -0
  294. package/types/node/web-globals/url.d.ts +27 -0
  295. package/types/node/worker_threads.d.ts +199 -0
  296. package/types/node/zlib/iter.d.ts +49 -0
  297. package/types/node/zlib.d.ts +360 -0
  298. package/types/undici/agent.d.ts +24 -0
  299. package/types/undici/api.d.ts +19 -0
  300. package/types/undici/balanced-pool.d.ts +16 -0
  301. package/types/undici/cache-interceptor.d.ts +98 -0
  302. package/types/undici/cache.d.ts +30 -0
  303. package/types/undici/client-stats.d.ts +9 -0
  304. package/types/undici/client.d.ts +61 -0
  305. package/types/undici/connector.d.ts +37 -0
  306. package/types/undici/content-type.d.ts +9 -0
  307. package/types/undici/cookies.d.ts +22 -0
  308. package/types/undici/diagnostics-channel.d.ts +72 -0
  309. package/types/undici/dispatcher.d.ts +207 -0
  310. package/types/undici/env-http-proxy-agent.d.ts +15 -0
  311. package/types/undici/errors.d.ts +117 -0
  312. package/types/undici/eventsource.d.ts +39 -0
  313. package/types/undici/fetch.d.ts +122 -0
  314. package/types/undici/formdata.d.ts +24 -0
  315. package/types/undici/global-dispatcher.d.ts +4 -0
  316. package/types/undici/global-origin.d.ts +3 -0
  317. package/types/undici/h2c-client.d.ts +35 -0
  318. package/types/undici/handlers.d.ts +7 -0
  319. package/types/undici/header.d.ts +10 -0
  320. package/types/undici/index.d.ts +85 -0
  321. package/types/undici/interceptors.d.ts +70 -0
  322. package/types/undici/mock-agent.d.ts +43 -0
  323. package/types/undici/mock-call-history.d.ts +57 -0
  324. package/types/undici/mock-client.d.ts +17 -0
  325. package/types/undici/mock-errors.d.ts +9 -0
  326. package/types/undici/mock-interceptor.d.ts +60 -0
  327. package/types/undici/mock-pool.d.ts +17 -0
  328. package/types/undici/patch.d.ts +21 -0
  329. package/types/undici/pool-stats.d.ts +11 -0
  330. package/types/undici/pool.d.ts +25 -0
  331. package/types/undici/proxy-agent.d.ts +22 -0
  332. package/types/undici/readable.d.ts +24 -0
  333. package/types/undici/retry-agent.d.ts +6 -0
  334. package/types/undici/retry-handler.d.ts +41 -0
  335. package/types/undici/round-robin-pool.d.ts +25 -0
  336. package/types/undici/snapshot-agent.d.ts +98 -0
  337. package/types/undici/socks5-proxy-agent.d.ts +17 -0
  338. package/types/undici/util.d.ts +4 -0
  339. package/types/undici/utility.d.ts +2 -0
  340. package/types/undici/webidl.d.ts +121 -0
  341. package/types/undici/websocket.d.ts +130 -0
  342. package/README.md +0 -3
@@ -0,0 +1,121 @@
1
+ export {};
2
+ import * as undici from "../../undici/index";
3
+ type _CloseEvent = typeof globalThis extends {
4
+ onmessage: any;
5
+ } ? {} : undici.CloseEvent;
6
+ type _CloseEventInit = typeof globalThis extends {
7
+ onmessage: any;
8
+ } ? {} : undici.CloseEventInit;
9
+ type _ErrorEvent = typeof globalThis extends {
10
+ onmessage: any;
11
+ } ? {} : undici.ErrorEvent;
12
+ type _ErrorEventInit = typeof globalThis extends {
13
+ onmessage: any;
14
+ } ? {} : undici.ErrorEventInit;
15
+ type _EventSource = typeof globalThis extends {
16
+ onmessage: any;
17
+ } ? {} : undici.EventSource;
18
+ type _EventSourceInit = typeof globalThis extends {
19
+ onmessage: any;
20
+ } ? {} : undici.EventSourceInit;
21
+ type _FormData = typeof globalThis extends {
22
+ onmessage: any;
23
+ } ? {} : undici.FormData;
24
+ type _Headers = typeof globalThis extends {
25
+ onmessage: any;
26
+ } ? {} : undici.Headers;
27
+ type _MessageEvent = typeof globalThis extends {
28
+ onmessage: any;
29
+ } ? {} : undici.MessageEvent;
30
+ type _MessageEventInit = typeof globalThis extends {
31
+ onmessage: any;
32
+ } ? {} : undici.MessageEventInit;
33
+ type _Request = typeof globalThis extends {
34
+ onmessage: any;
35
+ } ? {} : undici.Request;
36
+ type _RequestInit = typeof globalThis extends {
37
+ onmessage: any;
38
+ } ? {} : undici.RequestInit;
39
+ type _Response = typeof globalThis extends {
40
+ onmessage: any;
41
+ } ? {} : undici.Response;
42
+ type _ResponseInit = typeof globalThis extends {
43
+ onmessage: any;
44
+ } ? {} : undici.ResponseInit;
45
+ type _WebSocket = typeof globalThis extends {
46
+ onmessage: any;
47
+ } ? {} : undici.WebSocket;
48
+ type _WebSocketInit = typeof globalThis extends {
49
+ onmessage: any;
50
+ } ? {} : undici.WebSocketInit;
51
+ declare global {
52
+ function fetch(input: string | URL | Request, init?: RequestInit): Promise<Response>;
53
+ interface CloseEvent extends _CloseEvent {
54
+ }
55
+ var CloseEvent: typeof globalThis extends {
56
+ onmessage: any;
57
+ CloseEvent: infer T;
58
+ } ? T : typeof undici.CloseEvent;
59
+ interface CloseEventInit extends _CloseEventInit {
60
+ }
61
+ interface ErrorEvent extends _ErrorEvent {
62
+ }
63
+ var ErrorEvent: typeof globalThis extends {
64
+ onmessage: any;
65
+ ErrorEvent: infer T;
66
+ } ? T : typeof undici.ErrorEvent;
67
+ interface ErrorEventInit extends _ErrorEventInit {
68
+ }
69
+ interface EventSource extends _EventSource {
70
+ }
71
+ var EventSource: typeof globalThis extends {
72
+ onmessage: any;
73
+ EventSource: infer T;
74
+ } ? T : typeof undici.EventSource;
75
+ interface EventSourceInit extends _EventSourceInit {
76
+ }
77
+ interface FormData extends _FormData {
78
+ }
79
+ var FormData: typeof globalThis extends {
80
+ onmessage: any;
81
+ FormData: infer T;
82
+ } ? T : typeof undici.FormData;
83
+ interface Headers extends _Headers {
84
+ }
85
+ var Headers: typeof globalThis extends {
86
+ onmessage: any;
87
+ Headers: infer T;
88
+ } ? T : typeof undici.Headers;
89
+ interface MessageEvent extends _MessageEvent {
90
+ }
91
+ var MessageEvent: typeof globalThis extends {
92
+ onmessage: any;
93
+ MessageEvent: infer T;
94
+ } ? T : typeof undici.MessageEvent;
95
+ interface MessageEventInit extends _MessageEventInit {
96
+ }
97
+ interface Request extends _Request {
98
+ }
99
+ var Request: typeof globalThis extends {
100
+ onmessage: any;
101
+ Request: infer T;
102
+ } ? T : typeof undici.Request;
103
+ interface RequestInit extends _RequestInit {
104
+ }
105
+ interface Response extends _Response {
106
+ }
107
+ var Response: typeof globalThis extends {
108
+ onmessage: any;
109
+ Response: infer T;
110
+ } ? T : typeof undici.Response;
111
+ interface ResponseInit extends _ResponseInit {
112
+ }
113
+ interface WebSocket extends _WebSocket {
114
+ }
115
+ var WebSocket: typeof globalThis extends {
116
+ onmessage: any;
117
+ WebSocket: infer T;
118
+ } ? T : typeof undici.WebSocket;
119
+ interface WebSocketInit extends _WebSocketInit {
120
+ }
121
+ }
@@ -0,0 +1,11 @@
1
+ export {};
2
+ import { URL } from "node:url";
3
+ declare global {
4
+ interface ImportMeta {
5
+ dirname: string;
6
+ filename: string;
7
+ main: boolean;
8
+ url: string;
9
+ resolve(specifier: string, parent?: string | URL): string;
10
+ }
11
+ }
@@ -0,0 +1,32 @@
1
+ export {};
2
+ import * as worker_threads from "node:worker_threads";
3
+ type _BroadcastChannel = typeof globalThis extends {
4
+ onmessage: any;
5
+ } ? {} : worker_threads.BroadcastChannel;
6
+ type _MessageChannel = typeof globalThis extends {
7
+ onmessage: any;
8
+ } ? {} : worker_threads.MessageChannel;
9
+ type _MessagePort = typeof globalThis extends {
10
+ onmessage: any;
11
+ } ? {} : worker_threads.MessagePort;
12
+ declare global {
13
+ function structuredClone<T = any>(value: T, options?: worker_threads.StructuredSerializeOptions): T;
14
+ interface BroadcastChannel extends _BroadcastChannel {
15
+ }
16
+ var BroadcastChannel: typeof globalThis extends {
17
+ onmessage: any;
18
+ BroadcastChannel: infer T;
19
+ } ? T : typeof worker_threads.BroadcastChannel;
20
+ interface MessageChannel extends _MessageChannel {
21
+ }
22
+ var MessageChannel: typeof globalThis extends {
23
+ onmessage: any;
24
+ MessageChannel: infer T;
25
+ } ? T : typeof worker_threads.MessageChannel;
26
+ interface MessagePort extends _MessagePort {
27
+ }
28
+ var MessagePort: typeof globalThis extends {
29
+ onmessage: any;
30
+ MessagePort: infer T;
31
+ } ? T : typeof worker_threads.MessagePort;
32
+ }
@@ -0,0 +1,28 @@
1
+ export {};
2
+ import { LockManager } from "worker_threads";
3
+ type _Navigator = typeof globalThis extends {
4
+ onabort: any;
5
+ } ? {} : Navigator;
6
+ interface Navigator {
7
+ readonly hardwareConcurrency: number;
8
+ readonly language: string;
9
+ readonly languages: readonly string[];
10
+ readonly locks: LockManager;
11
+ readonly platform: string;
12
+ readonly userAgent: string;
13
+ }
14
+ declare global {
15
+ interface Navigator extends _Navigator {
16
+ }
17
+ var Navigator: typeof globalThis extends {
18
+ onabort: any;
19
+ Navigator: infer T;
20
+ } ? T : {
21
+ prototype: Navigator;
22
+ new (): Navigator;
23
+ };
24
+ var navigator: typeof globalThis extends {
25
+ onmessage: any;
26
+ navigator: infer T;
27
+ } ? T : Navigator;
28
+ }
@@ -0,0 +1,71 @@
1
+ export {};
2
+ import * as perf_hooks from "node:perf_hooks";
3
+ type _Performance = typeof globalThis extends {
4
+ onmessage: any;
5
+ } ? {} : perf_hooks.Performance;
6
+ type _PerformanceEntry = typeof globalThis extends {
7
+ onmessage: any;
8
+ } ? {} : perf_hooks.PerformanceEntry;
9
+ type _PerformanceMark = typeof globalThis extends {
10
+ onmessage: any;
11
+ } ? {} : perf_hooks.PerformanceMark;
12
+ type _PerformanceMeasure = typeof globalThis extends {
13
+ onmessage: any;
14
+ } ? {} : perf_hooks.PerformanceMeasure;
15
+ type _PerformanceObserver = typeof globalThis extends {
16
+ onmessage: any;
17
+ } ? {} : perf_hooks.PerformanceObserver;
18
+ type _PerformanceObserverEntryList = typeof globalThis extends {
19
+ onmessage: any;
20
+ } ? {} : perf_hooks.PerformanceObserverEntryList;
21
+ type _PerformanceResourceTiming = typeof globalThis extends {
22
+ onmessage: any;
23
+ } ? {} : perf_hooks.PerformanceResourceTiming;
24
+ declare global {
25
+ interface Performance extends _Performance {
26
+ }
27
+ var Performance: typeof globalThis extends {
28
+ onmessage: any;
29
+ Performance: infer T;
30
+ } ? T : typeof perf_hooks.Performance;
31
+ interface PerformanceEntry extends _PerformanceEntry {
32
+ }
33
+ var PerformanceEntry: typeof globalThis extends {
34
+ onmessage: any;
35
+ PerformanceEntry: infer T;
36
+ } ? T : typeof perf_hooks.PerformanceEntry;
37
+ interface PerformanceMark extends _PerformanceMark {
38
+ }
39
+ var PerformanceMark: typeof globalThis extends {
40
+ onmessage: any;
41
+ PerformanceMark: infer T;
42
+ } ? T : typeof perf_hooks.PerformanceMark;
43
+ interface PerformanceMeasure extends _PerformanceMeasure {
44
+ }
45
+ var PerformanceMeasure: typeof globalThis extends {
46
+ onmessage: any;
47
+ PerformanceMeasure: infer T;
48
+ } ? T : typeof perf_hooks.PerformanceMeasure;
49
+ interface PerformanceObserver extends _PerformanceObserver {
50
+ }
51
+ var PerformanceObserver: typeof globalThis extends {
52
+ onmessage: any;
53
+ PerformanceObserver: infer T;
54
+ } ? T : typeof perf_hooks.PerformanceObserver;
55
+ interface PerformanceObserverEntryList extends _PerformanceObserverEntryList {
56
+ }
57
+ var PerformanceObserverEntryList: typeof globalThis extends {
58
+ onmessage: any;
59
+ PerformanceObserverEntryList: infer T;
60
+ } ? T : typeof perf_hooks.PerformanceObserverEntryList;
61
+ interface PerformanceResourceTiming extends _PerformanceResourceTiming {
62
+ }
63
+ var PerformanceResourceTiming: typeof globalThis extends {
64
+ onmessage: any;
65
+ PerformanceResourceTiming: infer T;
66
+ } ? T : typeof perf_hooks.PerformanceResourceTiming;
67
+ var performance: typeof globalThis extends {
68
+ onmessage: any;
69
+ performance: infer T;
70
+ } ? T : perf_hooks.Performance;
71
+ }
@@ -0,0 +1,26 @@
1
+ export {};
2
+ type _Storage = typeof globalThis extends {
3
+ onabort: any;
4
+ } ? {} : Storage;
5
+ interface Storage {
6
+ readonly length: number;
7
+ clear(): void;
8
+ getItem(key: string): string | null;
9
+ key(index: number): string | null;
10
+ removeItem(key: string): void;
11
+ setItem(key: string, value: string): void;
12
+ [key: string]: any;
13
+ }
14
+ declare global {
15
+ interface Storage extends _Storage {
16
+ }
17
+ var Storage: typeof globalThis extends {
18
+ onabort: any;
19
+ Storage: infer T;
20
+ } ? T : {
21
+ prototype: Storage;
22
+ new (): Storage;
23
+ };
24
+ var localStorage: Storage;
25
+ var sessionStorage: Storage;
26
+ }
@@ -0,0 +1,162 @@
1
+ export {};
2
+ import * as webstreams from "stream/web";
3
+ type _ByteLengthQueuingStrategy = typeof globalThis extends {
4
+ onmessage: any;
5
+ } ? {} : webstreams.ByteLengthQueuingStrategy;
6
+ type _CompressionStream = typeof globalThis extends {
7
+ onmessage: any;
8
+ } ? {} : webstreams.CompressionStream;
9
+ type _CountQueuingStrategy = typeof globalThis extends {
10
+ onmessage: any;
11
+ } ? {} : webstreams.CountQueuingStrategy;
12
+ type _DecompressionStream = typeof globalThis extends {
13
+ onmessage: any;
14
+ } ? {} : webstreams.DecompressionStream;
15
+ type _QueuingStrategy<T = any> = typeof globalThis extends {
16
+ onmessage: any;
17
+ } ? {} : webstreams.QueuingStrategy<T>;
18
+ type _ReadableByteStreamController = typeof globalThis extends {
19
+ onmessage: any;
20
+ } ? {} : webstreams.ReadableByteStreamController;
21
+ type _ReadableStream<R = any> = typeof globalThis extends {
22
+ onmessage: any;
23
+ } ? {} : webstreams.ReadableStream<R>;
24
+ type _ReadableStreamBYOBReader = typeof globalThis extends {
25
+ onmessage: any;
26
+ } ? {} : webstreams.ReadableStreamBYOBReader;
27
+ type _ReadableStreamBYOBRequest = typeof globalThis extends {
28
+ onmessage: any;
29
+ } ? {} : webstreams.ReadableStreamBYOBRequest;
30
+ type _ReadableStreamDefaultController<R = any> = typeof globalThis extends {
31
+ onmessage: any;
32
+ } ? {} : webstreams.ReadableStreamDefaultController<R>;
33
+ type _ReadableStreamDefaultReader<R = any> = typeof globalThis extends {
34
+ onmessage: any;
35
+ } ? {} : webstreams.ReadableStreamDefaultReader<R>;
36
+ type _TextDecoderStream = typeof globalThis extends {
37
+ onmessage: any;
38
+ } ? {} : webstreams.TextDecoderStream;
39
+ type _TextEncoderStream = typeof globalThis extends {
40
+ onmessage: any;
41
+ } ? {} : webstreams.TextEncoderStream;
42
+ type _TransformStream<I = any, O = any> = typeof globalThis extends {
43
+ onmessage: any;
44
+ } ? {} : webstreams.TransformStream<I, O>;
45
+ type _TransformStreamDefaultController<O = any> = typeof globalThis extends {
46
+ onmessage: any;
47
+ } ? {} : webstreams.TransformStreamDefaultController<O>;
48
+ type _WritableStream<W = any> = typeof globalThis extends {
49
+ onmessage: any;
50
+ } ? {} : webstreams.WritableStream<W>;
51
+ type _WritableStreamDefaultController = typeof globalThis extends {
52
+ onmessage: any;
53
+ } ? {} : webstreams.WritableStreamDefaultController;
54
+ type _WritableStreamDefaultWriter<W = any> = typeof globalThis extends {
55
+ onmessage: any;
56
+ } ? {} : webstreams.WritableStreamDefaultWriter<W>;
57
+ declare global {
58
+ interface ByteLengthQueuingStrategy extends _ByteLengthQueuingStrategy {
59
+ }
60
+ var ByteLengthQueuingStrategy: typeof globalThis extends {
61
+ onmessage: any;
62
+ ByteLengthQueuingStrategy: infer T;
63
+ } ? T : typeof webstreams.ByteLengthQueuingStrategy;
64
+ interface CompressionStream extends _CompressionStream {
65
+ }
66
+ var CompressionStream: typeof globalThis extends {
67
+ onmessage: any;
68
+ CompressionStream: infer T;
69
+ } ? T : typeof webstreams.CompressionStream;
70
+ interface CountQueuingStrategy extends _CountQueuingStrategy {
71
+ }
72
+ var CountQueuingStrategy: typeof globalThis extends {
73
+ onmessage: any;
74
+ CountQueuingStrategy: infer T;
75
+ } ? T : typeof webstreams.CountQueuingStrategy;
76
+ interface DecompressionStream extends _DecompressionStream {
77
+ }
78
+ var DecompressionStream: typeof globalThis extends {
79
+ onmessage: any;
80
+ DecompressionStream: infer T;
81
+ } ? T : typeof webstreams.DecompressionStream;
82
+ interface QueuingStrategy<T = any> extends _QueuingStrategy<T> {
83
+ }
84
+ interface ReadableByteStreamController extends _ReadableByteStreamController {
85
+ }
86
+ var ReadableByteStreamController: typeof globalThis extends {
87
+ onmessage: any;
88
+ ReadableByteStreamController: infer T;
89
+ } ? T : typeof webstreams.ReadableByteStreamController;
90
+ interface ReadableStream<R = any> extends _ReadableStream<R> {
91
+ }
92
+ var ReadableStream: typeof globalThis extends {
93
+ onmessage: any;
94
+ ReadableStream: infer T;
95
+ } ? T : typeof webstreams.ReadableStream;
96
+ interface ReadableStreamBYOBReader extends _ReadableStreamBYOBReader {
97
+ }
98
+ var ReadableStreamBYOBReader: typeof globalThis extends {
99
+ onmessage: any;
100
+ ReadableStreamBYOBReader: infer T;
101
+ } ? T : typeof webstreams.ReadableStreamBYOBReader;
102
+ interface ReadableStreamBYOBRequest extends _ReadableStreamBYOBRequest {
103
+ }
104
+ var ReadableStreamBYOBRequest: typeof globalThis extends {
105
+ onmessage: any;
106
+ ReadableStreamBYOBRequest: infer T;
107
+ } ? T : typeof webstreams.ReadableStreamBYOBRequest;
108
+ interface ReadableStreamDefaultController<R = any> extends _ReadableStreamDefaultController<R> {
109
+ }
110
+ var ReadableStreamDefaultController: typeof globalThis extends {
111
+ onmessage: any;
112
+ ReadableStreamDefaultController: infer T;
113
+ } ? T : typeof webstreams.ReadableStreamDefaultController;
114
+ interface ReadableStreamDefaultReader<R = any> extends _ReadableStreamDefaultReader<R> {
115
+ }
116
+ var ReadableStreamDefaultReader: typeof globalThis extends {
117
+ onmessage: any;
118
+ ReadableStreamDefaultReader: infer T;
119
+ } ? T : typeof webstreams.ReadableStreamDefaultReader;
120
+ interface TextDecoderStream extends _TextDecoderStream {
121
+ }
122
+ var TextDecoderStream: typeof globalThis extends {
123
+ onmessage: any;
124
+ TextDecoderStream: infer T;
125
+ } ? T : typeof webstreams.TextDecoderStream;
126
+ interface TextEncoderStream extends _TextEncoderStream {
127
+ }
128
+ var TextEncoderStream: typeof globalThis extends {
129
+ onmessage: any;
130
+ TextEncoderStream: infer T;
131
+ } ? T : typeof webstreams.TextEncoderStream;
132
+ interface TransformStream<I = any, O = any> extends _TransformStream<I, O> {
133
+ }
134
+ var TransformStream: typeof globalThis extends {
135
+ onmessage: any;
136
+ TransformStream: infer T;
137
+ } ? T : typeof webstreams.TransformStream;
138
+ interface TransformStreamDefaultController<O = any> extends _TransformStreamDefaultController<O> {
139
+ }
140
+ var TransformStreamDefaultController: typeof globalThis extends {
141
+ onmessage: any;
142
+ TransformStreamDefaultController: infer T;
143
+ } ? T : typeof webstreams.TransformStreamDefaultController;
144
+ interface WritableStream<W = any> extends _WritableStream<W> {
145
+ }
146
+ var WritableStream: typeof globalThis extends {
147
+ onmessage: any;
148
+ WritableStream: infer T;
149
+ } ? T : typeof webstreams.WritableStream;
150
+ interface WritableStreamDefaultController extends _WritableStreamDefaultController {
151
+ }
152
+ var WritableStreamDefaultController: typeof globalThis extends {
153
+ onmessage: any;
154
+ WritableStreamDefaultController: infer T;
155
+ } ? T : typeof webstreams.WritableStreamDefaultController;
156
+ interface WritableStreamDefaultWriter<W = any> extends _WritableStreamDefaultWriter<W> {
157
+ }
158
+ var WritableStreamDefaultWriter: typeof globalThis extends {
159
+ onmessage: any;
160
+ WritableStreamDefaultWriter: infer T;
161
+ } ? T : typeof webstreams.WritableStreamDefaultWriter;
162
+ }
@@ -0,0 +1,22 @@
1
+ export {};
2
+ import * as promises from "node:timers/promises";
3
+ type MakeVoidParameterOptional<TArgs extends any[]> = [
4
+ void
5
+ ] extends TArgs ? Partial<TArgs> : TArgs;
6
+ declare global {
7
+ function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: MakeVoidParameterOptional<TArgs>): NodeJS.Immediate;
8
+ namespace setImmediate {
9
+ import __promisify__ = promises.setImmediate;
10
+ export { __promisify__ };
11
+ }
12
+ function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, delay?: number, ...args: MakeVoidParameterOptional<TArgs>): NodeJS.Timeout;
13
+ function setTimeout<TArgs extends any[]>(callback: (...args: TArgs) => void, delay?: number, ...args: MakeVoidParameterOptional<TArgs>): NodeJS.Timeout;
14
+ namespace setTimeout {
15
+ import __promisify__ = promises.setTimeout;
16
+ export { __promisify__ };
17
+ }
18
+ function clearImmediate(immediate: NodeJS.Immediate | undefined): void;
19
+ function clearInterval(timeout: NodeJS.Timeout | string | number | undefined): void;
20
+ function clearTimeout(timeout: NodeJS.Timeout | string | number | undefined): void;
21
+ function queueMicrotask(callback: () => void): void;
22
+ }
@@ -0,0 +1,27 @@
1
+ export {};
2
+ import * as url from "node:url";
3
+ declare global {
4
+ interface URL extends url.URL {
5
+ }
6
+ var URL: typeof globalThis extends {
7
+ onmessage: any;
8
+ URL: infer T;
9
+ } ? T : typeof url.URL;
10
+ interface URLPattern extends url.URLPattern {
11
+ }
12
+ var URLPattern: typeof globalThis extends {
13
+ onmessage: any;
14
+ scheduler: any;
15
+ URLPattern: infer T;
16
+ } ? T : typeof url.URLPattern;
17
+ interface URLPatternInit extends url.URLPatternInit {
18
+ }
19
+ interface URLPatternResult extends url.URLPatternResult {
20
+ }
21
+ interface URLSearchParams extends url.URLSearchParams {
22
+ }
23
+ var URLSearchParams: typeof globalThis extends {
24
+ onmessage: any;
25
+ URLSearchParams: infer T;
26
+ } ? T : typeof url.URLSearchParams;
27
+ }