node-karin 1.7.9 → 1.7.11

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 (239) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/index.d.ts +94 -12
  3. package/dist/index.js +559 -250
  4. package/dist/web/assets/{404-z5OALH-k.js → 404-BDxyrpJR.js} +1 -1
  5. package/dist/web/assets/Item-CpGp_gry.js.br +0 -0
  6. package/dist/web/assets/SelectionManager-V0633096.js.br +0 -0
  7. package/dist/web/assets/about-LG8kGzTW.js.br +0 -0
  8. package/dist/web/assets/accordion-BWBlFVku.js.br +0 -0
  9. package/dist/web/assets/adapter-Be2BFHta.js.br +0 -0
  10. package/dist/web/assets/{bot-CNgkQKdx.js → bot-ZaWLa1FU.js} +1 -1
  11. package/dist/web/assets/chunk-2C6KNKEU-D5CDh2zq.js.br +0 -0
  12. package/dist/web/assets/chunk-2QAN2V2R-B3LbGmfU.js.br +0 -0
  13. package/dist/web/assets/chunk-3TCFMHK3-b6eWyB-k.js.br +0 -0
  14. package/dist/web/assets/chunk-4EXC76WE-Ccn4C0au.js.br +0 -0
  15. package/dist/web/assets/chunk-6JWJ7CFW-BOI3lC5y.js.br +0 -0
  16. package/dist/web/assets/chunk-6NGXL2PC-CWvJ9-ni.js.br +0 -0
  17. package/dist/web/assets/chunk-6VC6TS2O-CvS0c9RH.js.br +0 -0
  18. package/dist/web/assets/chunk-736YWA4T-CO9Kb5U7.js.br +0 -0
  19. package/dist/web/assets/chunk-A6PX3NG3-Cmtfkjbu.js.br +0 -0
  20. package/dist/web/assets/{chunk-B75B6XQK-CitV3Dqd.js → chunk-B75B6XQK-C5rtFucd.js} +1 -1
  21. package/dist/web/assets/chunk-BWXGEJBS-D96lu5uY.js.br +0 -0
  22. package/dist/web/assets/{chunk-D5XJWRAV-B2vUfg2s.js → chunk-D5XJWRAV-LJMiskFm.js} +1 -1
  23. package/dist/web/assets/chunk-HAJUSXOG-Cr5WEnTf.js.br +0 -0
  24. package/dist/web/assets/chunk-IHO36JMK-D838rHnK.js.br +0 -0
  25. package/dist/web/assets/chunk-J6JGI6RM-IdsOOehr.js.br +0 -0
  26. package/dist/web/assets/chunk-J7I6W5JF-yijG3LDg.js.br +0 -0
  27. package/dist/web/assets/chunk-KCYYJJH4-BcwZbY2O.js.br +0 -0
  28. package/dist/web/assets/chunk-KHLLQ6W4-C0VAu5c4.js.br +0 -0
  29. package/dist/web/assets/chunk-KQ5CH2X7-Bx48o081.js.br +0 -0
  30. package/dist/web/assets/chunk-LAX3QLKM-DoQB1BLc.js +1 -0
  31. package/dist/web/assets/{chunk-LGSBTEIA-BoMWk3PU.js → chunk-LGSBTEIA-DnADaJdv.js} +1 -1
  32. package/dist/web/assets/{chunk-M3MASYO7-CnvnzTdo.js → chunk-M3MASYO7-B-qDSnyC.js} +1 -1
  33. package/dist/web/assets/chunk-ML27DD5T-Clc9q3kP.js.br +0 -0
  34. package/dist/web/assets/chunk-MSDKUXDP-SGvGDoWC.js.br +0 -0
  35. package/dist/web/assets/chunk-MW56SEHC-WpXjHiFI.js.br +0 -0
  36. package/dist/web/assets/chunk-MZRCPRP2-psMHIXtV.js.br +0 -0
  37. package/dist/web/assets/{chunk-OH2E76JR-DbKnke0Q.js → chunk-OH2E76JR-DI-bfsFB.js} +1 -1
  38. package/dist/web/assets/{chunk-OTWYT2HS-BbLGc_Ko.js → chunk-OTWYT2HS-yqSo33rl.js} +1 -1
  39. package/dist/web/assets/chunk-RRTOIK23-CCkNiGvZ.js.br +0 -0
  40. package/dist/web/assets/chunk-SLABUSGS-DsjxQT8l.js.br +0 -0
  41. package/dist/web/assets/{chunk-TE6SZS6W-CMAhnWnD.js → chunk-TE6SZS6W-u7OVm_y9.js} +1 -1
  42. package/dist/web/assets/{chunk-UX7UMZL5-q61lgSLu.js → chunk-UX7UMZL5-D37309j2.js} +1 -1
  43. package/dist/web/assets/chunk-WQVQ7P2I-CRZw_e0C.js.br +0 -0
  44. package/dist/web/assets/config-DkMBZ34n.js.br +0 -0
  45. package/dist/web/assets/config-R5lOQ-HR.js.br +0 -0
  46. package/dist/web/assets/cssMode-BQoll2bx.js.br +0 -0
  47. package/dist/web/assets/{default_page-BrDcoY0P.js → default_page-Bxa6bEfR.js} +1 -1
  48. package/dist/web/assets/detail-C45oEIqQ.js.br +0 -0
  49. package/dist/web/assets/detail-LzjaX4PD.js.br +0 -0
  50. package/dist/web/assets/env-zp7-LsBE.js.br +0 -0
  51. package/dist/web/assets/{eye-BUG6tZII.js → eye-B35K5uP9.js} +1 -1
  52. package/dist/web/assets/features-animation-DiDrGEvD.js +1 -0
  53. package/dist/web/assets/focusSafely-k9GgORlU.js.br +0 -0
  54. package/dist/web/assets/freemarker2-C7dPUbfm.js.br +0 -0
  55. package/dist/web/assets/friend_request-oCD29owD.js.br +0 -0
  56. package/dist/web/assets/{github-EwsEF7Tg.js → github-yM0zELkv.js} +1 -1
  57. package/dist/web/assets/group-CiFMSC-N.js.br +0 -0
  58. package/dist/web/assets/{group_notice-BkgQdGBh.js → group_notice-62ehOcw1.js} +1 -1
  59. package/dist/web/assets/handlebars-6Jtjd562.js.br +0 -0
  60. package/dist/web/assets/html-Ct4SHIym.js.br +0 -0
  61. package/dist/web/assets/htmlMode-DDTd73At.js.br +0 -0
  62. package/dist/web/assets/iconBase-ViY4nKQq.js.br +0 -0
  63. package/dist/web/assets/index-8s4cgP8J.js.br +0 -0
  64. package/dist/web/assets/index-BMtlUqmE.js.br +0 -0
  65. package/dist/web/assets/index-BSPHh4Yj.js.br +0 -0
  66. package/dist/web/assets/index-Bao_F3VG.js.br +0 -0
  67. package/dist/web/assets/index-BmbGN53w.js.br +0 -0
  68. package/dist/web/assets/index-BnI_ohaR.js.br +0 -0
  69. package/dist/web/assets/index-C2FHCnqh.js.br +0 -0
  70. package/dist/web/assets/{index-ChjiPNHr.js → index-CPvbcyo8.js} +1 -1
  71. package/dist/web/assets/index-CS0t5ys7.js +1 -0
  72. package/dist/web/assets/index-CY5zJUYF.js.br +0 -0
  73. package/dist/web/assets/{index-B6E7W5t9.js → index-Cu6tOi_Z.js} +1 -1
  74. package/dist/web/assets/{index-BD5ur7S5.js → index-CucbY0MY.js} +1 -1
  75. package/dist/web/assets/index-D2h-aFay.js.br +0 -0
  76. package/dist/web/assets/index-D81UwrYt.js +1 -0
  77. package/dist/web/assets/index-DMS1kaSG.js.br +0 -0
  78. package/dist/web/assets/index-DXvGrfEc.js.br +0 -0
  79. package/dist/web/assets/index-DeOVgJ2O.js.br +0 -0
  80. package/dist/web/assets/index-G3Kih-CB.js.br +0 -0
  81. package/dist/web/assets/{index-sddQicd5.js → index-X4fgT5Gf.js} +1 -1
  82. package/dist/web/assets/index-amBx18Ll.js.br +0 -0
  83. package/dist/web/assets/index-neHpjEWr.js.br +0 -0
  84. package/dist/web/assets/index-sdlMqiOR.js.br +0 -0
  85. package/dist/web/assets/index-u-_c9--B.js.br +0 -0
  86. package/dist/web/assets/index.esm-Bwvw0oit.js.br +0 -0
  87. package/dist/web/assets/inputGroup-XwdQdQtc.js.br +0 -0
  88. package/dist/web/assets/isSymbol-D_rmss4V.js.br +0 -0
  89. package/dist/web/assets/javascript-DLFXZuVI.js.br +0 -0
  90. package/dist/web/assets/jsonMode-DS2q7JVN.js.br +0 -0
  91. package/dist/web/assets/layout-CJztNDrQ.js.br +0 -0
  92. package/dist/web/assets/liquid-DcfNt83x.js.br +0 -0
  93. package/dist/web/assets/loading-DOsJZb1N.js.br +0 -0
  94. package/dist/web/assets/login-dZDR4vCe.js.br +0 -0
  95. package/dist/web/assets/mdx-BAN2-jzr.js.br +0 -0
  96. package/dist/web/assets/{message-CF5stK9v.js → message-B-11rrCv.js} +1 -1
  97. package/dist/web/assets/message.model-CJNs33De.js.br +0 -0
  98. package/dist/web/assets/number-BcmfMApH.js.br +0 -0
  99. package/dist/web/assets/pm2-B9DYeVVZ.js.br +0 -0
  100. package/dist/web/assets/private-dQ-KIF3T.js.br +0 -0
  101. package/dist/web/assets/python-xW_3fDpw.js.br +0 -0
  102. package/dist/web/assets/razor-wkewt1dM.js.br +0 -0
  103. package/dist/web/assets/react-resizable-panels.browser.esm-CLFdImna.js.br +0 -0
  104. package/dist/web/assets/redis-C_GNoOqo.js.br +0 -0
  105. package/dist/web/assets/render-CBv8-jeM.js.br +0 -0
  106. package/dist/web/assets/{save-Koq7f9xO.js → save-Bnt-1YDP.js} +1 -1
  107. package/dist/web/assets/server-C2QJWInE.js.br +0 -0
  108. package/dist/web/assets/terminal-bB5q8DtG.js.br +0 -0
  109. package/dist/web/assets/{terminal-BxoIBeAB.js → terminal-o3q1mfvE.js} +1 -1
  110. package/dist/web/assets/test-url-B4sEb6XF.js.br +0 -0
  111. package/dist/web/assets/theme-switch-DnJYAaGf.js.br +0 -0
  112. package/dist/web/assets/ts.worker-Bd4z-OY3.js.br +0 -0
  113. package/dist/web/assets/tsMode-BgfNoYvD.js.br +0 -0
  114. package/dist/web/assets/typescript-KD7-bpCC.js.br +0 -0
  115. package/dist/web/assets/use-dialog-Bx8lzUKc.js +1 -0
  116. package/dist/web/assets/useEvent-BKbWLkzI.js +1 -0
  117. package/dist/web/assets/useFocusable-De4gySN0.js.br +0 -0
  118. package/dist/web/assets/useFormReset-Bli4ZkeB.js +1 -0
  119. package/dist/web/assets/useHover-Cs1Xzmx0.js.br +0 -0
  120. package/dist/web/assets/useKeyboard-DvqJqO3T.js +1 -0
  121. package/dist/web/assets/useLabel-C87RNHbp.js +1 -0
  122. package/dist/web/assets/useNumberFormatter-FeEZ6Qsw.js.br +0 -0
  123. package/dist/web/assets/useRequest-TZ9DGtNT.js.br +0 -0
  124. package/dist/web/assets/useToggle-CpoiL5K-.js.br +5 -0
  125. package/dist/web/assets/{users-DmFVfU3q.js → users-DylFKYhE.js} +1 -1
  126. package/dist/web/assets/video_insert-Ts1YtD5C.js.br +0 -0
  127. package/dist/web/assets/webui-BjBRU3Bx.js.br +0 -0
  128. package/dist/web/assets/xml-Cobn0Pfk.js.br +0 -0
  129. package/dist/web/assets/yaml-KnrYcdoe.js.br +0 -0
  130. package/dist/web/index.html +1 -1
  131. package/package.json +2 -2
  132. package/README.md +0 -32
  133. package/dist/web/assets/Item-CxsfaGno.js.br +0 -0
  134. package/dist/web/assets/SelectionManager-BcOFRNGS.js.br +0 -0
  135. package/dist/web/assets/about-wj7DpR2t.js.br +0 -0
  136. package/dist/web/assets/accordion-BlpqdOZv.js.br +0 -0
  137. package/dist/web/assets/adapter-DEmmDMjr.js.br +0 -0
  138. package/dist/web/assets/chunk-2QAN2V2R-DrA-ejWM.js.br +0 -0
  139. package/dist/web/assets/chunk-2TLCDWYU-DBc4tTrd.js.br +0 -0
  140. package/dist/web/assets/chunk-3TCFMHK3-BI0QFGHL.js.br +0 -0
  141. package/dist/web/assets/chunk-4EXC76WE-Ck6mQ8jr.js.br +0 -0
  142. package/dist/web/assets/chunk-6NGXL2PC-DEARO6N-.js.br +0 -0
  143. package/dist/web/assets/chunk-6VC6TS2O-pjNVvjt0.js.br +0 -0
  144. package/dist/web/assets/chunk-736YWA4T-_32k9PJW.js.br +0 -0
  145. package/dist/web/assets/chunk-A6PX3NG3-DE8VbVUC.js.br +0 -0
  146. package/dist/web/assets/chunk-BWXGEJBS-Be6O1kXp.js.br +0 -0
  147. package/dist/web/assets/chunk-DYRPAKRC-BH570sml.js.br +0 -0
  148. package/dist/web/assets/chunk-HAJUSXOG-C97i8Lb-.js.br +0 -0
  149. package/dist/web/assets/chunk-IGTUIHQL-B-KSuN3c.js.br +0 -0
  150. package/dist/web/assets/chunk-IHO36JMK-EPuhXvew.js +0 -1
  151. package/dist/web/assets/chunk-J6JGI6RM-Cs6vNcB2.js.br +0 -0
  152. package/dist/web/assets/chunk-J7I6W5JF-DZTEviqI.js.br +0 -0
  153. package/dist/web/assets/chunk-KCYYJJH4-BeDF9ccU.js.br +0 -0
  154. package/dist/web/assets/chunk-KQ5CH2X7-UrFX-j36.js.br +0 -0
  155. package/dist/web/assets/chunk-LAX3QLKM-B6DF6_Vs.js +0 -1
  156. package/dist/web/assets/chunk-LWGPUDJ5-OG1nPCkw.js.br +0 -0
  157. package/dist/web/assets/chunk-ML27DD5T-ozmthRXD.js.br +0 -0
  158. package/dist/web/assets/chunk-MW56SEHC-QqqBwbE7.js.br +0 -0
  159. package/dist/web/assets/chunk-MZRCPRP2-CGQ9goIs.js.br +0 -0
  160. package/dist/web/assets/chunk-PNCCMQP3-CwHwrbEc.js.br +0 -0
  161. package/dist/web/assets/chunk-SLABUSGS-D527koQU.js.br +0 -0
  162. package/dist/web/assets/chunk-WQVQ7P2I-Ch_I6tRu.js.br +0 -0
  163. package/dist/web/assets/config-DgQQGCpK.js.br +0 -0
  164. package/dist/web/assets/config-E_xOTZz5.js.br +0 -0
  165. package/dist/web/assets/cssMode-bGUMXtYg.js.br +0 -0
  166. package/dist/web/assets/detail-BJldkyqa.js.br +0 -0
  167. package/dist/web/assets/detail-C89KbA0s.js.br +0 -0
  168. package/dist/web/assets/env-DKg-5nnD.js.br +0 -0
  169. package/dist/web/assets/features-animation-DB9z0-Yh.js +0 -1
  170. package/dist/web/assets/focusSafely-BHbmlBLr.js.br +0 -0
  171. package/dist/web/assets/freemarker2-BiB6U47V.js.br +0 -0
  172. package/dist/web/assets/friend_request-BQ91COkh.js.br +0 -0
  173. package/dist/web/assets/group-CwHqJTpb.js.br +0 -0
  174. package/dist/web/assets/handlebars-Wu5gS7kv.js.br +0 -0
  175. package/dist/web/assets/html-B0wXjYuP.js.br +0 -0
  176. package/dist/web/assets/htmlMode-DNBWRQjb.js.br +0 -0
  177. package/dist/web/assets/iconBase-C0Yv1aPp.js.br +0 -0
  178. package/dist/web/assets/index-8-AaCX1-.js.br +0 -0
  179. package/dist/web/assets/index-B80Fikql.js.br +0 -0
  180. package/dist/web/assets/index-BK2HpeJk.js.br +0 -0
  181. package/dist/web/assets/index-BQsQjc_8.js.br +0 -0
  182. package/dist/web/assets/index-BYDhyllc.js.br +0 -0
  183. package/dist/web/assets/index-Bs6Oxe7r.js +0 -1
  184. package/dist/web/assets/index-BuvRmExb.js.br +0 -0
  185. package/dist/web/assets/index-C4eUFtto.js.br +0 -0
  186. package/dist/web/assets/index-CHhNu2pz.js +0 -1
  187. package/dist/web/assets/index-CMxnG9Pf.js.br +0 -0
  188. package/dist/web/assets/index-CoD5JfgG.js.br +0 -0
  189. package/dist/web/assets/index-Cpdwm8XJ.js.br +0 -1
  190. package/dist/web/assets/index-DJQ5kV5x.js.br +0 -0
  191. package/dist/web/assets/index-Dk38wXId.js.br +0 -0
  192. package/dist/web/assets/index-DzNf4aAb.js.br +0 -0
  193. package/dist/web/assets/index-GCw_Gk14.js.br +0 -0
  194. package/dist/web/assets/index-aQCnqOgD.js.br +0 -0
  195. package/dist/web/assets/index-sS0frsK1.js.br +0 -0
  196. package/dist/web/assets/index-t1pwf2Wc.js.br +0 -0
  197. package/dist/web/assets/index-tE_buWL5.js +0 -1
  198. package/dist/web/assets/index.esm-CHII1FwM.js.br +0 -0
  199. package/dist/web/assets/inputGroup-C5Ipsxju.js.br +0 -0
  200. package/dist/web/assets/isSymbol-CkmJaeKZ.js.br +0 -0
  201. package/dist/web/assets/javascript-BK6NMbAZ.js.br +0 -0
  202. package/dist/web/assets/jsonMode-DVguQRu2.js.br +0 -0
  203. package/dist/web/assets/layout-BDcmyVnr.js.br +0 -0
  204. package/dist/web/assets/liquid-BXSKAYIY.js.br +0 -0
  205. package/dist/web/assets/loading-CvrRcWUY.js.br +0 -0
  206. package/dist/web/assets/login-ROjPimBI.js.br +0 -0
  207. package/dist/web/assets/mdx-LImAMHVj.js.br +0 -0
  208. package/dist/web/assets/mergeProps-BSwEBjEz.js +0 -1
  209. package/dist/web/assets/message.model-C9Yo3N7j.js.br +0 -0
  210. package/dist/web/assets/pm2-CZlgRDAD.js.br +0 -0
  211. package/dist/web/assets/private-C05_CniF.js.br +0 -0
  212. package/dist/web/assets/python-DIN47Cuj.js.br +0 -0
  213. package/dist/web/assets/razor-CE9PbcwN.js.br +0 -0
  214. package/dist/web/assets/react-resizable-panels.browser.esm-DP0zM8G3.js.br +0 -0
  215. package/dist/web/assets/redis-DTyVYgfT.js.br +0 -0
  216. package/dist/web/assets/render-CxiG1gPq.js.br +0 -0
  217. package/dist/web/assets/server-CYvMbWs6.js.br +0 -0
  218. package/dist/web/assets/terminal-DGJbvpq_.js.br +0 -0
  219. package/dist/web/assets/test-url-DcVJuFMo.js.br +0 -0
  220. package/dist/web/assets/theme-switch-DudXE6Ae.js.br +0 -0
  221. package/dist/web/assets/ts.worker-B_RpyLgm.js.br +0 -0
  222. package/dist/web/assets/tsMode-B6Li5z8D.js.br +0 -0
  223. package/dist/web/assets/typescript-tXP7wMV3.js.br +0 -0
  224. package/dist/web/assets/use-dialog-q8K4cp8-.js +0 -1
  225. package/dist/web/assets/useCloseOnScroll-DH1YJ1vJ.js.br +0 -0
  226. package/dist/web/assets/useFocusable-BPBo3jyR.js.br +0 -0
  227. package/dist/web/assets/useFormReset-x7e0wROr.js +0 -1
  228. package/dist/web/assets/useHover-CU4kC91x.js.br +0 -0
  229. package/dist/web/assets/useId-BC7ShjEI.js.br +0 -0
  230. package/dist/web/assets/useLabel-vNMHDqr4.js +0 -1
  231. package/dist/web/assets/useLocalizedStringFormatter-BsDhEppF.js.br +0 -0
  232. package/dist/web/assets/useNumberFormatter-BSg54Evh.js.br +0 -0
  233. package/dist/web/assets/usePress-BLFEZVSw.js.br +0 -0
  234. package/dist/web/assets/useRequest-BlYQyUu_.js.br +0 -0
  235. package/dist/web/assets/useToggle-DFkHtGaj.js.br +0 -0
  236. package/dist/web/assets/video_insert-B8xqYiBC.js.br +0 -0
  237. package/dist/web/assets/webui-ITwr8gJS.js.br +0 -0
  238. package/dist/web/assets/xml-CVV_7Cv0.js.br +0 -0
  239. package/dist/web/assets/yaml-DY13D4N1.js.br +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.7.11](https://github.com/KarinJS/Karin/compare/core-v1.7.10...core-v1.7.11) (2025-03-27)
4
+
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ * close [#341](https://github.com/KarinJS/Karin/issues/341) ([6c738ab](https://github.com/KarinJS/Karin/commit/6c738ab5d01487db9dfefed6ec97bdfdde1ba84d))
9
+
10
+
11
+ ### 📦️ Build System
12
+
13
+ * type error ([761f659](https://github.com/KarinJS/Karin/commit/761f659205d8524293661cd87f8f7bbbe1783e46))
14
+
15
+ ## [1.7.10](https://github.com/KarinJS/Karin/compare/core-v1.7.9...core-v1.7.10) (2025-03-26)
16
+
17
+
18
+ ### 🐛 Bug Fixes
19
+
20
+ * sqlite3 锁定5.1.6 ([5c8589e](https://github.com/KarinJS/Karin/commit/5c8589e3825ac58c13734d11707e9009eaea0190))
21
+ * 清理日志有点多 ([5d9895a](https://github.com/KarinJS/Karin/commit/5d9895a3d9dd23895a3519aaaad0666c0af48022))
22
+
23
+
24
+ ### ✅ Tests
25
+
26
+ * 初步适配`puppeteer-server` ([264eb11](https://github.com/KarinJS/Karin/commit/264eb11f7a928eaebb363a8526342b2588a2525d))
27
+
3
28
  ## [1.7.9](https://github.com/KarinJS/Karin/compare/core-v1.7.8...core-v1.7.9) (2025-03-24)
4
29
 
5
30
 
package/dist/index.d.ts CHANGED
@@ -8696,12 +8696,43 @@ interface screenshot extends ScreenshotOptions {
8696
8696
  /** 截图参数 */
8697
8697
  interface Options extends screenshot {
8698
8698
  /** 保存文件目录 推荐使用插件名称 */
8699
- name: string;
8699
+ name?: string;
8700
8700
  /** 传递给 art-template 的参数 */
8701
8701
  data?: Record<string, any>;
8702
8702
  }
8703
8703
  /** 单页或多页截图返回 */
8704
8704
  type RenderResult<T extends screenshot> = T['multiPage'] extends true | number ? string[] : string;
8705
+ /**
8706
+ * 2.0截图参数
8707
+ */
8708
+ interface Options2 extends screenshot {
8709
+ /**
8710
+ * 截图类型
8711
+ * @default 'png'
8712
+ */
8713
+ type?: 'png' | 'jpeg' | 'webp';
8714
+ /** http地址、本地文件路径、html字符串 */
8715
+ file: string;
8716
+ /**
8717
+ * file类型
8718
+ * @default 'auto'
8719
+ * @description 如果传递的是URL、HTML绝对路径则无需传递此项
8720
+ * - auto: 自动识别、支持URL、HTML绝对路径
8721
+ * - htmlString: 传递HTML字符串
8722
+ * - vue3: 传递Vue3组件路径
8723
+ * - vueString: 传递Vue3组件字符串
8724
+ * - react: 传递React组件路径 `(暂未支持)`
8725
+ */
8726
+ file_type?: 'auto' | 'htmlString' | 'vue3' | 'vueString' | 'react';
8727
+ /** 文件名 推荐在传递字符串时使用 */
8728
+ file_name?: string;
8729
+ /** 重试次数 */
8730
+ retry?: number;
8731
+ /** 渲染参数 */
8732
+ data?: Record<string, any>;
8733
+ }
8734
+ /** 2.0截图返回 */
8735
+ type RenderResult2<T extends Options2> = T['multiPage'] extends true | number ? string[] : string;
8705
8736
 
8706
8737
  interface Renders {
8707
8738
  /**
@@ -9186,6 +9217,42 @@ declare const copyConfigSync: (defaulPath: string, userPath: string, suffixs?: s
9186
9217
  * ```
9187
9218
  */
9188
9219
  declare const copyConfig: (defaulPath: string, userPath: string, suffixs?: string[], isThrow?: boolean) => Promise<boolean>;
9220
+ /**
9221
+ * 递归获取目录下的所有文件
9222
+ * @param dir 目录路径
9223
+ * @param options 选项
9224
+ * @returns 符合条件的文件路径列表(包括相对路径)
9225
+ * @example
9226
+ * ```ts
9227
+ * getAllFilesSync('dir')
9228
+ * getAllFilesSync('dir', { suffixs: ['yaml', '.json'] })
9229
+ * getAllFilesSync('dir', { exclude: ['.yaml', 'json'] })
9230
+ * ```
9231
+ */
9232
+ declare const getAllFilesSync: (dir: string, options?: {
9233
+ /** 仅获取指定后缀的文件 与 exclude 互斥 */
9234
+ suffixs?: string[];
9235
+ /** 排除指定后缀的文件 与 suffixs 互斥 */
9236
+ exclude?: string[];
9237
+ }) => string[];
9238
+ /**
9239
+ * 递归获取目录下的所有文件(异步版本)
9240
+ * @param dir 目录路径
9241
+ * @param options 选项
9242
+ * @returns 符合条件的文件路径列表(包括相对路径)
9243
+ * @example
9244
+ * ```ts
9245
+ * await getFilesRecursive('dir')
9246
+ * await getFilesRecursive('dir', { suffixs: ['yaml', '.json'] })
9247
+ * await getFilesRecursive('dir', { exclude: ['.yaml', 'json'] })
9248
+ * ```
9249
+ */
9250
+ declare const getAllFiles: (dir: string, options?: {
9251
+ /** 仅获取指定后缀的文件 与 exclude 互斥 */
9252
+ suffixs?: string[];
9253
+ /** 排除指定后缀的文件 与 suffixs 互斥 */
9254
+ exclude?: string[];
9255
+ }) => Promise<string[]>;
9189
9256
 
9190
9257
  /**
9191
9258
  * 读取 JSON 文件
@@ -9701,6 +9768,8 @@ declare const WS_CLOSE_ONEBOT = "ws:close:onebot";
9701
9768
  declare const WS_CLOSE_PUPPETEER = "ws:close:puppeteer";
9702
9769
  /** 传递sandbox ws关闭 */
9703
9770
  declare const WS_CLOSE_SANDBOX = "ws:close:sandbox";
9771
+ /** 传递2.0 puppeteer ws连接 */
9772
+ declare const WS_CONNECTION_PUPPETEER_2 = "ws:connection:puppeteer-2";
9704
9773
 
9705
9774
  declare const key_EVENT_COUNT: typeof EVENT_COUNT;
9706
9775
  declare const key_FILE_CHANGE: typeof FILE_CHANGE;
@@ -9713,10 +9782,11 @@ declare const key_WS_CLOSE_SANDBOX: typeof WS_CLOSE_SANDBOX;
9713
9782
  declare const key_WS_CONNECTION: typeof WS_CONNECTION;
9714
9783
  declare const key_WS_CONNECTION_ONEBOT: typeof WS_CONNECTION_ONEBOT;
9715
9784
  declare const key_WS_CONNECTION_PUPPETEER: typeof WS_CONNECTION_PUPPETEER;
9785
+ declare const key_WS_CONNECTION_PUPPETEER_2: typeof WS_CONNECTION_PUPPETEER_2;
9716
9786
  declare const key_WS_CONNECTION_SANDBOX: typeof WS_CONNECTION_SANDBOX;
9717
9787
  declare const key_WS_CONNECTION_TERMINAL: typeof WS_CONNECTION_TERMINAL;
9718
9788
  declare namespace key {
9719
- export { key_EVENT_COUNT as EVENT_COUNT, key_FILE_CHANGE as FILE_CHANGE, key_RECV_MSG as RECV_MSG, key_SEND_MSG as SEND_MSG, key_WS_CLOSE as WS_CLOSE, key_WS_CLOSE_ONEBOT as WS_CLOSE_ONEBOT, key_WS_CLOSE_PUPPETEER as WS_CLOSE_PUPPETEER, key_WS_CLOSE_SANDBOX as WS_CLOSE_SANDBOX, key_WS_CONNECTION as WS_CONNECTION, key_WS_CONNECTION_ONEBOT as WS_CONNECTION_ONEBOT, key_WS_CONNECTION_PUPPETEER as WS_CONNECTION_PUPPETEER, key_WS_CONNECTION_SANDBOX as WS_CONNECTION_SANDBOX, key_WS_CONNECTION_TERMINAL as WS_CONNECTION_TERMINAL };
9789
+ export { key_EVENT_COUNT as EVENT_COUNT, key_FILE_CHANGE as FILE_CHANGE, key_RECV_MSG as RECV_MSG, key_SEND_MSG as SEND_MSG, key_WS_CLOSE as WS_CLOSE, key_WS_CLOSE_ONEBOT as WS_CLOSE_ONEBOT, key_WS_CLOSE_PUPPETEER as WS_CLOSE_PUPPETEER, key_WS_CLOSE_SANDBOX as WS_CLOSE_SANDBOX, key_WS_CONNECTION as WS_CONNECTION, key_WS_CONNECTION_ONEBOT as WS_CONNECTION_ONEBOT, key_WS_CONNECTION_PUPPETEER as WS_CONNECTION_PUPPETEER, key_WS_CONNECTION_PUPPETEER_2 as WS_CONNECTION_PUPPETEER_2, key_WS_CONNECTION_SANDBOX as WS_CONNECTION_SANDBOX, key_WS_CONNECTION_TERMINAL as WS_CONNECTION_TERMINAL };
9720
9790
  }
9721
9791
 
9722
9792
  type fs_CacheEntry<T = any> = CacheEntry<T>;
@@ -9752,6 +9822,8 @@ declare const fs_existToMkdirSync: typeof existToMkdirSync;
9752
9822
  declare const fs_exists: typeof exists;
9753
9823
  declare const fs_existsSync: typeof existsSync;
9754
9824
  declare const fs_filesByExt: typeof filesByExt;
9825
+ declare const fs_getAllFiles: typeof getAllFiles;
9826
+ declare const fs_getAllFilesSync: typeof getAllFilesSync;
9755
9827
  declare const fs_getFiles: typeof getFiles;
9756
9828
  declare const fs_getPluginInfo: typeof getPluginInfo;
9757
9829
  declare const fs_getRelPath: typeof getRelPath;
@@ -9793,7 +9865,7 @@ declare const fs_writeJson: typeof writeJson;
9793
9865
  declare const fs_writeJsonSync: typeof writeJsonSync;
9794
9866
  declare const fs_yaml: typeof yaml;
9795
9867
  declare namespace fs {
9796
- export { type fs_CacheEntry as CacheEntry, type fs_Parser as Parser, type fs_PkgData as PkgData, type fs_PkgEnv as PkgEnv, type fs_RequireFunction as RequireFunction, type fs_RequireFunctionSync as RequireFunctionSync, type fs_RequireOptions as RequireOptions, fs_Watch as Watch, fs_Watcher as Watcher, type fs_YamlComment as YamlComment, fs_YamlEditor as YamlEditor, type fs_YamlValue as YamlValue, fs_absPath as absPath, fs_applyComments as applyComments, fs_base64 as base64, fs_buffer as buffer, fs_clearRequire as clearRequire, fs_clearRequireFile as clearRequireFile, fs_comment as comment, fs_copyConfig as copyConfig, fs_copyConfigSync as copyConfigSync, fs_copyFiles as copyFiles, fs_copyFilesSync as copyFilesSync, fs_createPluginDir as createPluginDir, fs_downFile as downFile, fs_existToMkdir as existToMkdir, fs_existToMkdirSync as existToMkdirSync, fs_exists as exists, fs_existsSync as existsSync, fs_filesByExt as filesByExt, fs_getFiles as getFiles, fs_getPluginInfo as getPluginInfo, fs_getRelPath as getRelPath, fs_isDir as isDir, fs_isDirSync as isDirSync, fs_isFile as isFile, fs_isFileSync as isFileSync, fs_isPlugin as isPlugin, fs_isStatic as isStatic, fs_isSubPath as isSubPath, json$1 as json, fs_key as key, fs_lock as lock, fs_lockMethod as lockMethod, fs_lockProp as lockProp, fs_log as log, fs_logs as logs, fs_mkdir as mkdir, fs_mkdirSync as mkdirSync, fs_parseChangelog as parseChangelog, fs_pkgRoot as pkgRoot, fs_randomStr as randomStr, fs_range as range, fs_read as read, fs_readFile as readFile, fs_readJson as readJson, fs_readJsonSync as readJsonSync, fs_requireFile as requireFile, fs_requireFileSync as requireFileSync, fs_rmSync as rmSync, fs_save as save, fs_sep as sep, fs_splitPath as splitPath, fs_stream as stream, fs_urlToPath as urlToPath, fs_watch as watch, fs_watchAndMerge as watchAndMerge, fs_write as write, fs_writeJson as writeJson, fs_writeJsonSync as writeJsonSync, fs_yaml as yaml };
9868
+ export { type fs_CacheEntry as CacheEntry, type fs_Parser as Parser, type fs_PkgData as PkgData, type fs_PkgEnv as PkgEnv, type fs_RequireFunction as RequireFunction, type fs_RequireFunctionSync as RequireFunctionSync, type fs_RequireOptions as RequireOptions, fs_Watch as Watch, fs_Watcher as Watcher, type fs_YamlComment as YamlComment, fs_YamlEditor as YamlEditor, type fs_YamlValue as YamlValue, fs_absPath as absPath, fs_applyComments as applyComments, fs_base64 as base64, fs_buffer as buffer, fs_clearRequire as clearRequire, fs_clearRequireFile as clearRequireFile, fs_comment as comment, fs_copyConfig as copyConfig, fs_copyConfigSync as copyConfigSync, fs_copyFiles as copyFiles, fs_copyFilesSync as copyFilesSync, fs_createPluginDir as createPluginDir, fs_downFile as downFile, fs_existToMkdir as existToMkdir, fs_existToMkdirSync as existToMkdirSync, fs_exists as exists, fs_existsSync as existsSync, fs_filesByExt as filesByExt, fs_getAllFiles as getAllFiles, fs_getAllFilesSync as getAllFilesSync, fs_getFiles as getFiles, fs_getPluginInfo as getPluginInfo, fs_getRelPath as getRelPath, fs_isDir as isDir, fs_isDirSync as isDirSync, fs_isFile as isFile, fs_isFileSync as isFileSync, fs_isPlugin as isPlugin, fs_isStatic as isStatic, fs_isSubPath as isSubPath, json$1 as json, fs_key as key, fs_lock as lock, fs_lockMethod as lockMethod, fs_lockProp as lockProp, fs_log as log, fs_logs as logs, fs_mkdir as mkdir, fs_mkdirSync as mkdirSync, fs_parseChangelog as parseChangelog, fs_pkgRoot as pkgRoot, fs_randomStr as randomStr, fs_range as range, fs_read as read, fs_readFile as readFile, fs_readJson as readJson, fs_readJsonSync as readJsonSync, fs_requireFile as requireFile, fs_requireFileSync as requireFileSync, fs_rmSync as rmSync, fs_save as save, fs_sep as sep, fs_splitPath as splitPath, fs_stream as stream, fs_urlToPath as urlToPath, fs_watch as watch, fs_watchAndMerge as watchAndMerge, fs_write as write, fs_writeJson as writeJson, fs_writeJsonSync as writeJsonSync, fs_yaml as yaml };
9797
9869
  }
9798
9870
 
9799
9871
  type index$3_CacheEntry<T = any> = CacheEntry<T>;
@@ -9814,6 +9886,7 @@ declare const index$3_WS_CLOSE_SANDBOX: typeof WS_CLOSE_SANDBOX;
9814
9886
  declare const index$3_WS_CONNECTION: typeof WS_CONNECTION;
9815
9887
  declare const index$3_WS_CONNECTION_ONEBOT: typeof WS_CONNECTION_ONEBOT;
9816
9888
  declare const index$3_WS_CONNECTION_PUPPETEER: typeof WS_CONNECTION_PUPPETEER;
9889
+ declare const index$3_WS_CONNECTION_PUPPETEER_2: typeof WS_CONNECTION_PUPPETEER_2;
9817
9890
  declare const index$3_WS_CONNECTION_SANDBOX: typeof WS_CONNECTION_SANDBOX;
9818
9891
  declare const index$3_WS_CONNECTION_TERMINAL: typeof WS_CONNECTION_TERMINAL;
9819
9892
  type index$3_Watch<T> = Watch<T>;
@@ -9842,6 +9915,8 @@ declare const index$3_existToMkdirSync: typeof existToMkdirSync;
9842
9915
  declare const index$3_exists: typeof exists;
9843
9916
  declare const index$3_existsSync: typeof existsSync;
9844
9917
  declare const index$3_filesByExt: typeof filesByExt;
9918
+ declare const index$3_getAllFiles: typeof getAllFiles;
9919
+ declare const index$3_getAllFilesSync: typeof getAllFilesSync;
9845
9920
  declare const index$3_getFiles: typeof getFiles;
9846
9921
  declare const index$3_getPluginInfo: typeof getPluginInfo;
9847
9922
  declare const index$3_getRelPath: typeof getRelPath;
@@ -9883,7 +9958,7 @@ declare const index$3_writeJson: typeof writeJson;
9883
9958
  declare const index$3_writeJsonSync: typeof writeJsonSync;
9884
9959
  declare const index$3_yaml: typeof yaml;
9885
9960
  declare namespace index$3 {
9886
- export { type index$3_CacheEntry as CacheEntry, index$3_EVENT_COUNT as EVENT_COUNT, index$3_FILE_CHANGE as FILE_CHANGE, type index$3_Parser as Parser, type index$3_PkgData as PkgData, type index$3_PkgEnv as PkgEnv, index$3_RECV_MSG as RECV_MSG, type index$3_RequireFunction as RequireFunction, type index$3_RequireFunctionSync as RequireFunctionSync, type index$3_RequireOptions as RequireOptions, index$3_SEND_MSG as SEND_MSG, index$3_WS_CLOSE as WS_CLOSE, index$3_WS_CLOSE_ONEBOT as WS_CLOSE_ONEBOT, index$3_WS_CLOSE_PUPPETEER as WS_CLOSE_PUPPETEER, index$3_WS_CLOSE_SANDBOX as WS_CLOSE_SANDBOX, index$3_WS_CONNECTION as WS_CONNECTION, index$3_WS_CONNECTION_ONEBOT as WS_CONNECTION_ONEBOT, index$3_WS_CONNECTION_PUPPETEER as WS_CONNECTION_PUPPETEER, index$3_WS_CONNECTION_SANDBOX as WS_CONNECTION_SANDBOX, index$3_WS_CONNECTION_TERMINAL as WS_CONNECTION_TERMINAL, index$3_Watch as Watch, index$3_Watcher as Watcher, type index$3_YamlComment as YamlComment, index$3_YamlEditor as YamlEditor, type index$3_YamlValue as YamlValue, index$3_absPath as absPath, index$3_applyComments as applyComments, index$3_base64 as base64, index$3_buffer as buffer, index$3_clearRequire as clearRequire, index$3_clearRequireFile as clearRequireFile, index$3_comment as comment, index$3_copyConfig as copyConfig, index$3_copyConfigSync as copyConfigSync, index$3_copyFiles as copyFiles, index$3_copyFilesSync as copyFilesSync, index$3_createPluginDir as createPluginDir, index$3_downFile as downFile, index$3_existToMkdir as existToMkdir, index$3_existToMkdirSync as existToMkdirSync, index$3_exists as exists, index$3_existsSync as existsSync, fs as file, index$3_filesByExt as filesByExt, index$3_getFiles as getFiles, index$3_getPluginInfo as getPluginInfo, index$3_getRelPath as getRelPath, index$3_isDir as isDir, index$3_isDirSync as isDirSync, index$3_isFile as isFile, index$3_isFileSync as isFileSync, index$3_isPlugin as isPlugin, index$3_isStatic as isStatic, index$3_isSubPath as isSubPath, json$1 as json, index$3_key as key, index$3_lock as lock, index$3_lockMethod as lockMethod, index$3_lockProp as lockProp, index$3_log as log, index$3_logs as logs, index$3_mkdir as mkdir, index$3_mkdirSync as mkdirSync, index$3_parseChangelog as parseChangelog, index$3_pkgRoot as pkgRoot, index$3_randomStr as randomStr, index$3_range as range, index$3_read as read, index$3_readFile as readFile, index$3_readJson as readJson, index$3_readJsonSync as readJsonSync, index$3_requireFile as requireFile, index$3_requireFileSync as requireFileSync, index$3_rmSync as rmSync, index$3_save as save, index$3_sep as sep, index$3_splitPath as splitPath, index$3_stream as stream, index$3_urlToPath as urlToPath, index$3_watch as watch, index$3_watchAndMerge as watchAndMerge, index$3_write as write, index$3_writeJson as writeJson, index$3_writeJsonSync as writeJsonSync, index$3_yaml as yaml };
9961
+ export { type index$3_CacheEntry as CacheEntry, index$3_EVENT_COUNT as EVENT_COUNT, index$3_FILE_CHANGE as FILE_CHANGE, type index$3_Parser as Parser, type index$3_PkgData as PkgData, type index$3_PkgEnv as PkgEnv, index$3_RECV_MSG as RECV_MSG, type index$3_RequireFunction as RequireFunction, type index$3_RequireFunctionSync as RequireFunctionSync, type index$3_RequireOptions as RequireOptions, index$3_SEND_MSG as SEND_MSG, index$3_WS_CLOSE as WS_CLOSE, index$3_WS_CLOSE_ONEBOT as WS_CLOSE_ONEBOT, index$3_WS_CLOSE_PUPPETEER as WS_CLOSE_PUPPETEER, index$3_WS_CLOSE_SANDBOX as WS_CLOSE_SANDBOX, index$3_WS_CONNECTION as WS_CONNECTION, index$3_WS_CONNECTION_ONEBOT as WS_CONNECTION_ONEBOT, index$3_WS_CONNECTION_PUPPETEER as WS_CONNECTION_PUPPETEER, index$3_WS_CONNECTION_PUPPETEER_2 as WS_CONNECTION_PUPPETEER_2, index$3_WS_CONNECTION_SANDBOX as WS_CONNECTION_SANDBOX, index$3_WS_CONNECTION_TERMINAL as WS_CONNECTION_TERMINAL, index$3_Watch as Watch, index$3_Watcher as Watcher, type index$3_YamlComment as YamlComment, index$3_YamlEditor as YamlEditor, type index$3_YamlValue as YamlValue, index$3_absPath as absPath, index$3_applyComments as applyComments, index$3_base64 as base64, index$3_buffer as buffer, index$3_clearRequire as clearRequire, index$3_clearRequireFile as clearRequireFile, index$3_comment as comment, index$3_copyConfig as copyConfig, index$3_copyConfigSync as copyConfigSync, index$3_copyFiles as copyFiles, index$3_copyFilesSync as copyFilesSync, index$3_createPluginDir as createPluginDir, index$3_downFile as downFile, index$3_existToMkdir as existToMkdir, index$3_existToMkdirSync as existToMkdirSync, index$3_exists as exists, index$3_existsSync as existsSync, fs as file, index$3_filesByExt as filesByExt, index$3_getAllFiles as getAllFiles, index$3_getAllFilesSync as getAllFilesSync, index$3_getFiles as getFiles, index$3_getPluginInfo as getPluginInfo, index$3_getRelPath as getRelPath, index$3_isDir as isDir, index$3_isDirSync as isDirSync, index$3_isFile as isFile, index$3_isFileSync as isFileSync, index$3_isPlugin as isPlugin, index$3_isStatic as isStatic, index$3_isSubPath as isSubPath, json$1 as json, index$3_key as key, index$3_lock as lock, index$3_lockMethod as lockMethod, index$3_lockProp as lockProp, index$3_log as log, index$3_logs as logs, index$3_mkdir as mkdir, index$3_mkdirSync as mkdirSync, index$3_parseChangelog as parseChangelog, index$3_pkgRoot as pkgRoot, index$3_randomStr as randomStr, index$3_range as range, index$3_read as read, index$3_readFile as readFile, index$3_readJson as readJson, index$3_readJsonSync as readJsonSync, index$3_requireFile as requireFile, index$3_requireFileSync as requireFileSync, index$3_rmSync as rmSync, index$3_save as save, index$3_sep as sep, index$3_splitPath as splitPath, index$3_stream as stream, index$3_urlToPath as urlToPath, index$3_watch as watch, index$3_watchAndMerge as watchAndMerge, index$3_write as write, index$3_writeJson as writeJson, index$3_writeJsonSync as writeJsonSync, index$3_yaml as yaml };
9887
9962
  }
9888
9963
 
9889
9964
  /**
@@ -10990,8 +11065,14 @@ declare const getDirectCfg: (userId: string, selfId: string) => PrivatesObjectVa
10990
11065
  /**
10991
11066
  * @public 公开Api
10992
11067
  * @description 获取渲染配置
11068
+ * @deprecated 请使用 `getRenderCfg` 代替
10993
11069
  */
10994
11070
  declare const render$1: () => Renders$1;
11071
+ /**
11072
+ * @public 公开Api
11073
+ * @description 获取渲染配置
11074
+ */
11075
+ declare const getRenderCfg: () => Renders$1;
10995
11076
 
10996
11077
  /** pm2配置 */
10997
11078
  declare const pm2: () => PM2;
@@ -11027,6 +11108,7 @@ declare const index_getEnv: typeof getEnv;
11027
11108
  declare const index_getFriendCfg: typeof getFriendCfg;
11028
11109
  declare const index_getGroupCfg: typeof getGroupCfg;
11029
11110
  declare const index_getGuildCfg: typeof getGuildCfg;
11111
+ declare const index_getRenderCfg: typeof getRenderCfg;
11030
11112
  declare const index_getYaml: typeof getYaml;
11031
11113
  declare const index_groups: typeof groups;
11032
11114
  declare const index_host: typeof host;
@@ -11046,7 +11128,7 @@ declare const index_updateLevel: typeof updateLevel;
11046
11128
  declare const index_webSocketServerToken: typeof webSocketServerToken;
11047
11129
  declare const index_writeEnv: typeof writeEnv;
11048
11130
  declare namespace index {
11049
- export { index_adapter as adapter, index_admin as admin, index_authKey as authKey, index_clearCache as clearCache, index_clearFiles as clearFiles, index_config as config, index_createCount as createCount, index_defaultConfig as defaultConfig, index_env as env, index_ffmpegPath as ffmpegPath, index_ffplayPath as ffplayPath, index_ffprobePath as ffprobePath, index_formatArray as formatArray, index_formatObject as formatObject, index_getCacheCfg as getCacheCfg, index_getDirectCfg as getDirectCfg, index_getEnv as getEnv, index_getFriendCfg as getFriendCfg, index_getGroupCfg as getGroupCfg, index_getGuildCfg as getGuildCfg, index_getYaml as getYaml, index_groups as groups, index_host as host, index_initConfig as initConfig, index_initConfigCache as initConfigCache, index_master as master, index_mergeDegAndCfg as mergeDegAndCfg, index_pkg as pkg, index_pm2 as pm2, index_port as port, index_privates as privates, redis$1 as redis, render$1 as render, index_setConfig as setConfig, index_setEnv as setEnv, index_setYaml as setYaml, index_timeout as timeout, index_updateLevel as updateLevel, index_webSocketServerToken as webSocketServerToken, index_writeEnv as writeEnv };
11131
+ export { index_adapter as adapter, index_admin as admin, index_authKey as authKey, index_clearCache as clearCache, index_clearFiles as clearFiles, index_config as config, index_createCount as createCount, index_defaultConfig as defaultConfig, index_env as env, index_ffmpegPath as ffmpegPath, index_ffplayPath as ffplayPath, index_ffprobePath as ffprobePath, index_formatArray as formatArray, index_formatObject as formatObject, index_getCacheCfg as getCacheCfg, index_getDirectCfg as getDirectCfg, index_getEnv as getEnv, index_getFriendCfg as getFriendCfg, index_getGroupCfg as getGroupCfg, index_getGuildCfg as getGuildCfg, index_getRenderCfg as getRenderCfg, index_getYaml as getYaml, index_groups as groups, index_host as host, index_initConfig as initConfig, index_initConfigCache as initConfigCache, index_master as master, index_mergeDegAndCfg as mergeDegAndCfg, index_pkg as pkg, index_pm2 as pm2, index_port as port, index_privates as privates, redis$1 as redis, render$1 as render, index_setConfig as setConfig, index_setEnv as setEnv, index_setYaml as setYaml, index_timeout as timeout, index_updateLevel as updateLevel, index_webSocketServerToken as webSocketServerToken, index_writeEnv as writeEnv };
11050
11132
  }
11051
11133
 
11052
11134
  /**
@@ -11155,7 +11237,10 @@ declare const app: Express;
11155
11237
  declare const server: http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;
11156
11238
 
11157
11239
  /** 渲染函数类型 */
11158
- type Render = <T extends Options>(options: T) => Promise<RenderResult<T>>;
11240
+ interface Render {
11241
+ <T extends Options>(options: T): Promise<RenderResult<T>>;
11242
+ <T extends Options2>(options: T): Promise<RenderResult2<T>>;
11243
+ }
11159
11244
  /**
11160
11245
  * @description 注册渲染器
11161
11246
  * @param id 渲染器ID
@@ -11626,12 +11711,9 @@ declare const hooks: {
11626
11711
  /**
11627
11712
  * @description 处理模板
11628
11713
  * @param options 截图参数
11714
+ * @deprecated 请使用`renderTemplate`
11629
11715
  */
11630
- declare const renderTpl: (options: Omit<Options, "name"> & {
11631
- name?: string;
11632
- }) => Omit<Options, "name"> & {
11633
- name?: string;
11634
- };
11716
+ declare const renderTpl: (options: Options) => Options;
11635
11717
 
11636
11718
  /**
11637
11719
  * 获取插件
@@ -11697,4 +11779,4 @@ declare let redis: Client;
11697
11779
  */
11698
11780
  declare const start: () => Promise<void>;
11699
11781
 
11700
- export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, BATCH_UPDATE_PLUGINS_ROUTER, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BaseForwardCallback, type BaseMessageCallback, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, CHECK_PLUGIN_ROUTER, CLOSE_TERMINAL_ROUTER, CONSOLE_ROUTER, CREATE_TERMINAL_ROUTER, type Cache, type CacheEntry, type CheckboxField, type CheckboxGroupProps, type CheckboxProps, type CheckboxResult, type Children, type CmdFnc, type Command, type CommandClass, type ComponentConfig, type ComponentProps, type ComponentType, type Components, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CreatePty, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileOptions, type DownloadFileResponse, EVENT_COUNT, EXIT_ROUTER, type ElementTypes, type Elements, type Env, type Event, type EventParent, type EventToSubEvent, type ExecOptions, type ExecReturn, type ExecType, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, GET_BOTS_ROUTER, GET_CONFIG_ROUTER, GET_LOCAL_PLUGIN_LIST_ROUTER, GET_LOG_FILE_LIST_ROUTER, GET_LOG_FILE_ROUTER, GET_LOG_ROUTER, GET_NETWORK_STATUS_ROUTER, GET_ONLINE_PLUGIN_LIST_ROUTER, GET_PLUGIN_APPS_ROUTER, GET_PLUGIN_CONFIG_ROUTER, GET_PLUGIN_FILE_ROUTER, GET_PLUGIN_LIST_ROUTER, GET_TASK_LIST_ROUTER, GET_TASK_STATUS_ROUTER, GET_TERMINAL_LIST_ROUTER, GET_UPDATABLE_PLUGINS_ROUTER, GET_WEBUI_PLUGIN_LIST_ROUTER, GET_WEBUI_PLUGIN_VERSIONS_ROUTER, type GetAtAllCountResponse, type GetBot, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginReturn, type GetPluginType, type GiftElement, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, type Handler, type HandlerType, type HonorInfoList, type HookCache, type HookCallback, type HookEmitForward, type HookEmitMessage, type HookNext, type HookOptions, INSTALL_PLUGIN_ROUTER, INSTALL_WEBUI_PLUGIN_ROUTER, IS_PLUGIN_CONFIG_EXIST_ROUTER, type ImageElement, type ImageSegment, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JsonSegment, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, type KeyboardElement, LOGIN_ROUTER, type LocalApiResponse, type LocationElement, type LocationSegment, type Log, type Logger, type LoggerExpand, type LoggerLevel, type LoggerOptions, type LongMsgElement, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NetworkStatus, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type OnlinePluginInfo, type Option, type Options, PING_ROUTER, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PkgData, type PkgEnv, type PkgInfo, Plugin, type PluginFile, type PluginFncTypes, type PluginLists, type PluginOptions, type PluginRule, type PluginUpdateInfo, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, REFRESH_ROUTER, RESTART_ROUTER, type Radio, type RadioField, type RadioGroupProps, type RadioResult, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type Render, type RenderResult, Renderer, type Renders$1 as Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SAVE_CONFIG_ROUTER, SAVE_PLUGIN_CONFIG_ROUTER, SEND_MSG, SET_LOG_LEVEL_ROUTER, SYSTEM_INFO_ROUTER, SYSTEM_STATUS_KARIN_ROUTER, SYSTEM_STATUS_ROUTER, SYSTEM_STATUS_WS_ROUTER, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type SaveResult, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type SrcReply, type SwitchField, type SwitchProps, type SwitchResult, type Task, type TerminalInstance, type TerminalShell, type TextElement, type TextField, type TextSegment, type TitleField, UNINSTALL_PLUGIN_ROUTER, UNINSTALL_WEBUI_PLUGIN_ROUTER, UPDATE_CORE_ROUTER, UPDATE_PLUGIN_ROUTER, UPDATE_TASK_STATUS_ROUTER, UPDATE_WEBUI_PLUGIN_VERSION_ROUTER, type UnionMessage, type UnregisterBot, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, WS_CLOSE, WS_CLOSE_ONEBOT, WS_CLOSE_PUPPETEER, WS_CLOSE_SANDBOX, WS_CONNECTION, WS_CONNECTION_ONEBOT, WS_CONNECTION_PUPPETEER, WS_CONNECTION_SANDBOX, WS_CONNECTION_TERMINAL, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, base64, buffer, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact$1 as contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createClient, createDirectMessage, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createHttp, createInnerLogger, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, db, debug, karin as default, divider, downFile, errorToString, exec, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getBot, getBotCount, getCommit, getFiles, getHash, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTime, handler$1 as handler, hooks, importModule, initOneBot, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPlugin, isRoot, isStatic, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, pkgRoot, qqbotToKarin, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, render, renderHtml, renderMultiHtml, renderTpl, requireFile, requireFileSync, restart, restartDirect, rmSync, router, save, type screenshot, segment, sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };
11782
+ export { type Accept, type AccordionItemProps, type AccordionKV, type AccordionProProps, type AccordionProResult, type AccordionProps, type AccordionResult, type AccountInfo, type Adapter, AdapterBase, type AdapterCommunication, type AdapterInfo, AdapterOneBot, type AdapterOptions, type AdapterPlatform, type AdapterProtocol, type AdapterStandard, type AdapterType, type Adapters, type AllPluginMethods, type AnonymousSegment, type Apps, type ArrayField, type AtElement, type AtSegment, BATCH_UPDATE_PLUGINS_ROUTER, type BaseContact, BaseEvent, type BaseEventOptions, type BaseEventType, type BaseForwardCallback, type BaseMessageCallback, type BasketballElement, Bot, type BoundingBox, type BubbleFaceElement, type Button, type ButtonElement, CHECK_PLUGIN_ROUTER, CLOSE_TERMINAL_ROUTER, CONSOLE_ROUTER, CREATE_TERMINAL_ROUTER, type Cache, type CacheEntry, type CheckboxField, type CheckboxGroupProps, type CheckboxProps, type CheckboxResult, type Children, type CmdFnc, type Command, type CommandClass, type ComponentConfig, type ComponentProps, type ComponentType, type Components, type ComponentsClass, type Config, type Contact, type ContactElement, type ContactSegment, type Count, type CreateGroupFolderResponse, type CreatePty, type CustomMusicElement, type CustomMusicSegment, type CustomNodeElement, type CustomNodeSegments, type DbStreamStatus, type DbStreams, type DiceElement, type DiceSegment, type DirectContact, DirectMessage, type DirectMessageOptions, type DirectNodeElement, type DirectNodeSegment, type DirectSender, type DividerField, type DividerProps, type DownloadFileOptions, type DownloadFileResponse, EVENT_COUNT, EXIT_ROUTER, type ElementTypes, type Elements, type Env, type Event, type EventParent, type EventToSubEvent, type ExecOptions, type ExecReturn, type ExecType, FILE_CHANGE, type FaceElement, type FaceSegment, type FieldType, type FileElement, type FileList, type FileListMap, type FileSegment, type FileToUrlHandler, type FileToUrlResult, type FormField, type ForwardMessageCallback, type ForwardOptions, type ForwardSegment, type FriendContact, type FriendData, FriendDecreaseNotice, type FriendDecreaseOptions, FriendIncreaseNotice, type FriendIncreaseOptions, FriendMessage, type FriendMessageOptions, type FriendNoticeEventMap, type FriendRequestEventMap, type FriendRequestOptions, type FriendSender, GET_BOTS_ROUTER, GET_CONFIG_ROUTER, GET_LOCAL_PLUGIN_LIST_ROUTER, GET_LOG_FILE_LIST_ROUTER, GET_LOG_FILE_ROUTER, GET_LOG_ROUTER, GET_NETWORK_STATUS_ROUTER, GET_ONLINE_PLUGIN_LIST_ROUTER, GET_PLUGIN_APPS_ROUTER, GET_PLUGIN_CONFIG_ROUTER, GET_PLUGIN_FILE_ROUTER, GET_PLUGIN_LIST_ROUTER, GET_TASK_LIST_ROUTER, GET_TASK_STATUS_ROUTER, GET_TERMINAL_LIST_ROUTER, GET_UPDATABLE_PLUGINS_ROUTER, GET_WEBUI_PLUGIN_LIST_ROUTER, GET_WEBUI_PLUGIN_VERSIONS_ROUTER, type GetAtAllCountResponse, type GetBot, type GetConfigRequest, type GetConfigResponse, type GetGroupFileListResponse, type GetGroupFileSystemInfoResponse, type GetGroupHighlightsResponse, type GetGroupInfo, type GetGroupMemberInfo, type GetGroupMuteListResponse, type GetMsg, type GetPluginReturn, type GetPluginType, type GiftElement, type GoToOptions, GroupAdminChangedNotice, type GroupAdminChangedOptions, GroupApplyRequest, type GroupApplyRequestOptions, GroupCardChangedNotice, type GroupCardChangedOptions, type GroupContact, type GroupData, GroupFileUploadedNotice, type GroupFileUploadedOptions, GroupHlightsChangedNotice, type GroupHlightsChangedOptions, GroupHonorChangedNotice, type GroupHonorChangedOptions, type GroupInfo, GroupInviteRequest, type GroupInviteRequestOptions, GroupLuckKingNotice, type GroupLuckKingOptions, GroupMemberBanNotice, type GroupMemberBanOptions, type GroupMemberData, GroupMemberDecreaseNotice, type GroupMemberDecreaseOptions, GroupMemberIncreaseNotice, type GroupMemberIncreaseOptions, type GroupMemberInfo, GroupMemberTitleUpdatedNotice, type GroupMemberUniqueTitleChangedOptions, GroupMessage, type GroupMessageOptions, GroupMessageReactionNotice, type GroupMessageReactionOptions, GroupNotice, type GroupNoticeEventMap, GroupPokeNotice, type GroupPokeOptions, GroupRecallNotice, type GroupRecallOptions, type GroupRequestEventMap, type GroupSender, GroupSignInNotice, type GroupSignInOptions, type GroupTempContact, GroupTempMessage, type GroupTempMessageOptions, type GroupTempSender, GroupWholeBanNotice, type GroupWholeBanOptions, type Groups, type GroupsObjectValue, type GuildContact, GuildMessage, type GuildMessageOptions, type GuildSender, type Handler, type HandlerType, type HonorInfoList, type HookCache, type HookCallback, type HookEmitForward, type HookEmitMessage, type HookNext, type HookOptions, INSTALL_PLUGIN_ROUTER, INSTALL_WEBUI_PLUGIN_ROUTER, IS_PLUGIN_CONFIG_EXIST_ROUTER, type ImageElement, type ImageSegment, type InputGroupProps, type InputProps, type InputResult, type JsonElement, type JsonSegment, type JwtVerifyBase, type JwtVerifyError, type JwtVerifyExpired, type JwtVerifyResult, type JwtVerifySuccess, type JwtVerifyUnauthorized, type KarinButton, type KeyboardElement, LOGIN_ROUTER, type LocalApiResponse, type LocationElement, type LocationSegment, type Log, type Logger, type LoggerExpand, type LoggerLevel, type LoggerOptions, type LongMsgElement, type MarkdownElement, type MarkdownTplElement, type MarketFaceElement, type Message$2 as Message, MessageBase, type MessageEventMap, type MessageEventSub, type MessageHookItem, type MessageOptions, type MessageResponse, type MetaEventBase, type MusicElement, type MusicPlatform, type MusicSegment, type NetworkStatus, type NodeElement, type NormalMessageCallback, type Notice, type NoticeAndRequest, NoticeBase, type NoticeEventMap, type NoticeEventSub, type NoticeOptions, type NumberField, type OB11AllEvent, OB11ApiAction, type OB11ApiParams, type OB11ApiRequest, OB11Event, type OB11EventBase, type OB11FriendSender, type OB11GroupMessage, type OB11GroupSender, type OB11GroupTempMessage, type OB11Message, OB11MessageSubType, OB11MessageType, type OB11Meta, type OB11NodeSegment, type OB11Notice, type OB11NoticeBaseType, OB11NoticeType, type OB11OtherFriendMessage, type OB11PrivateMessage, type OB11Request, type OB11RequestBaseType, OB11RequestType, type OB11Segment, type OB11SegmentBase, type OB11SegmentType, OB11Sex, type OB11serInfo, type ObjectArrayField, type ObjectField, type OneBot11FriendAdd, type OneBot11FriendRecall, type OneBot11FriendRequest, type OneBot11GroupAdmin, type OneBot11GroupBan, type OneBot11GroupCard, type OneBot11GroupDecrease, type OneBot11GroupEssence, type OneBot11GroupIncrease, type OneBot11GroupMessageReaction, type OneBot11GroupMessageReactionLagrange, type OneBot11GroupRecall, type OneBot11GroupRequest, type OneBot11GroupUpload, type OneBot11Heartbeat, type OneBot11Honor, type OneBot11Lifecycle, type OneBot11LuckyKing, type OneBot11Poke, type OnlinePluginInfo, type Option, type Options, type Options2, PING_ROUTER, type PM2, type Package, type Parser, type PasmsgElement, type Permission, type PkgData, type PkgEnv, type PkgInfo, Plugin, type PluginFile, type PluginFncTypes, type PluginLists, type PluginOptions, type PluginRule, type PluginUpdateInfo, type Point, type PokeSegment, PrivateApplyRequest, type PrivateApplyRequestOptions, PrivateFileUploadedNotice, type PrivateFileUploadedOptions, PrivatePokeNotice, type PrivatePokeOptions, PrivateRecallNotice, type PrivateRecallOptions, type Privates, type PrivatesObjectValue, type PuppeteerLifeCycleEvent, type QQBotButton, type QQButtonTextType, type QQGroupFileInfo, type QQGroupFolderInfo, type QQGroupHonorInfo, RECV_MSG, REFRESH_ROUTER, RESTART_ROUTER, type Radio, type RadioField, type RadioGroupProps, type RadioResult, type RawElement, type ReadyMusicElement, ReceiveLikeNotice, type ReceiveLikeOptions, type RecordElement, type RecordSegment, type Redis, type Render, type RenderResult, type RenderResult2, Renderer, type Renders$1 as Renders, type Reply, type ReplyElement, type ReplySegment, type Request, RequestBase, type RequestEventMap, type RequestEventSub, type RequestOptions, type RequireFunction, type RequireFunctionSync, type RequireOptions, type Role, type RpsElement, type RpsSegment, SAVE_CONFIG_ROUTER, SAVE_PLUGIN_CONFIG_ROUTER, SEND_MSG, SET_LOG_LEVEL_ROUTER, SYSTEM_INFO_ROUTER, SYSTEM_STATUS_KARIN_ROUTER, SYSTEM_STATUS_ROUTER, SYSTEM_STATUS_WS_ROUTER, type SandBoxAccountInfo, type SandboxMsgRecord, type SandboxSendApi, type SandboxSendSendFriendMsg, type SandboxSendSendGroupMsg, type SandboxSendSendMsg, type SaveResult, type Scene, type ScreenshotClip, type ScreenshotOptions, type SectionField, type Segment, type SelectField, type SendElement, type SendForwardMessageResponse, type SendMessage, type SendMsgHookItem, type SendMsgResults, type Sender, type SenderBase, type SenderGroup, type Sex, type ShakeSegment, type ShareElement, type ShareSegment, type SrcReply, type SwitchField, type SwitchProps, type SwitchResult, type Task, type TerminalInstance, type TerminalShell, type TextElement, type TextField, type TextSegment, type TitleField, UNINSTALL_PLUGIN_ROUTER, UNINSTALL_WEBUI_PLUGIN_ROUTER, UPDATE_CORE_ROUTER, UPDATE_PLUGIN_ROUTER, UPDATE_TASK_STATUS_ROUTER, UPDATE_WEBUI_PLUGIN_VERSION_ROUTER, type UnionMessage, type UnregisterBot, type UserInfo, type ValidationRule, type ValueType, type VideoElement, type VideoSegment, WS_CLOSE, WS_CLOSE_ONEBOT, WS_CLOSE_PUPPETEER, WS_CLOSE_SANDBOX, WS_CONNECTION, WS_CONNECTION_ONEBOT, WS_CONNECTION_PUPPETEER, WS_CONNECTION_PUPPETEER_2, WS_CONNECTION_SANDBOX, WS_CONNECTION_TERMINAL, type WaitForOptions, Watch, Watcher, type WeatherElement, type XmlElement, type XmlSegment, type YamlComment, YamlEditor, type YamlValue, absPath, accordion, accordionItem, accordionPro, app, applyComments, base64, buffer, buttonHandle, callRender, changelog, checkGitPluginUpdate, checkPkgUpdate, clearRequire, clearRequireFile, comment, index$1 as common, components, index as config, contact$1 as contact, contactDirect, contactFriend, contactGroup, contactGroupTemp, contactGuild, copyConfig, copyConfigSync, copyFiles, copyFilesSync, createClient, createDirectMessage, createFriendDecreaseNotice, createFriendIncreaseNotice, createFriendMessage, createGroupAdminChangedNotice, createGroupApplyRequest, createGroupCardChangedNotice, createGroupFileUploadedNotice, createGroupHlightsChangedNotice, createGroupHonorChangedNotice, createGroupInviteRequest, createGroupLuckKingNotice, createGroupMemberAddNotice, createGroupMemberBanNotice, createGroupMemberDelNotice, createGroupMemberTitleUpdatedNotice, createGroupMessage, createGroupMessageReactionNotice, createGroupPokeNotice, createGroupRecallNotice, createGroupSignInNotice, createGroupTempMessage, createGroupWholeBanNotice, createGuildMessage, createHttp, createInnerLogger, createPluginDir, createPrivateApplyRequest, createPrivateFileUploadedNotice, createPrivatePokeNotice, createPrivateRecallNotice, createRawMessage, createReceiveLikeNotice, db, debug, karin as default, divider, downFile, errorToString, exec, existToMkdir, existToMkdirSync, exists, existsSync, ffmpeg, ffplay, ffprobe, fs as file, fileToUrl, fileToUrlHandlerKey, filesByExt, formatTime$1 as formatTime, index$3 as fs, getAllBot, getAllBotID, getAllBotList, getAllFiles, getAllFilesSync, getBot, getBotCount, getCommit, getFiles, getHash, getPid, getPkgVersion, getPluginInfo, getPlugins, getRelPath, getRemotePkgVersion, getRender, getRenderCount, getRenderList, getRequestIp, getTime, handler$1 as handler, hooks, importModule, initOneBot, input, isClass, isDir, isDirSync, isDocker, isFile, isFileSync, isIPv4Loop, isIPv6Loop, isLinux, isLocalRequest, isLoopback, isMac, isPlugin, isRoot, isStatic, isSubPath, isWin, json$1 as json, karin, karinToQQBot, key, lock, lockMethod, lockProp, log, logger, logs, makeForward, makeMessage, type messageType, mkdir, mkdirSync, parseChangelog, pkgRoot, qqbotToKarin, randomStr, range, read, readFile, readJson, readJsonSync, redis, registerBot, registerRender, render, renderHtml, renderMultiHtml, renderTpl, requireFile, requireFileSync, restart, restartDirect, rmSync, router, save, type screenshot, segment, sendMsg, sender, senderDirect, senderFriend, senderGroup, senderGroupTemp, senderGuild, sep, server, splitPath, start, stream, stringifyError, switchComponent, index$2 as system, unregisterBot, unregisterRender, updateAllGitPlugin, updateAllPkg, updateGitPlugin, updatePkg, uptime$1 as uptime, urlToPath, watch, watchAndMerge, write, writeJson, writeJsonSync, yaml };