@openclaw/matrix 2026.7.2-beta.7 → 2026.7.34

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 (368) hide show
  1. package/README.md +1 -1
  2. package/dist/{account-selection-kqquRzCf.js → .setup/account-selection-BOQeTqax.mjs} +18 -17
  3. package/dist/{approval-handler.runtime-DSeaIsGa.js → .setup/approval-handler.runtime-CEXm9_-p.mjs} +18 -28
  4. package/dist/{approval-ids-BdJGPAJT.js → .setup/approval-ids-DdFnDB3h.mjs} +1 -1
  5. package/dist/{approval-reaction-auth-BjOpELxu.js → .setup/approval-reaction-auth-CREvd7S7.mjs} +2 -2
  6. package/dist/.setup/approval-reactions-Cltyp8nL.mjs +113 -0
  7. package/dist/.setup/async-lock-BcLS4KOc.mjs +19 -0
  8. package/dist/{channel-vj788dNZ.js → .setup/channel-an4umty1.mjs} +186 -144
  9. package/dist/{channel.runtime-CLoF2S9T.js → .setup/channel.runtime-GHcIBJ7H.mjs} +51 -45
  10. package/dist/{cli-DMqfDE-q.js → .setup/cli-B3WYmv5U.mjs} +882 -901
  11. package/dist/{cli-metadata-C7D53SND.js → .setup/cli-metadata-RUKCn0wJ.mjs} +1 -1
  12. package/dist/{client-6eRENr7k.js → .setup/client-Ct0bUHCo.mjs} +5 -5
  13. package/dist/{shared-CUMWxcMz.js → .setup/client-DFBQtzCe.mjs} +422 -179
  14. package/dist/.setup/client-bootstrap-Be8jvNle.mjs +74 -0
  15. package/dist/{config-schema-Djxw3C6b.js → .setup/config-schema-D9J_vUF6.mjs} +89 -70
  16. package/dist/.setup/credentials-BhZlA0kL.mjs +56 -0
  17. package/dist/.setup/credentials-read-CRHg6XPm.mjs +114 -0
  18. package/dist/{credentials-write.runtime-Be9zNSUw.js → .setup/credentials-write.runtime-dWuLafsk.mjs} +1 -1
  19. package/dist/{crypto-runtime-D9_6J5tZ.js → .setup/crypto-runtime-D-cZa8P0.mjs} +81 -35
  20. package/dist/.setup/crypto-state-store-B43k3z3W.mjs +352 -0
  21. package/dist/{deps-CcVJfvRM.js → .setup/deps-Dy6yreL4.mjs} +92 -25
  22. package/dist/{device-health-B4-YXtJR.js → .setup/device-health-D4LBxuPq.mjs} +1 -6
  23. package/dist/{directory-live-C8dVBiCc.js → .setup/directory-live-BTEYxMwy.mjs} +10 -9
  24. package/dist/.setup/doctor-BGnvMzOR.mjs +169 -0
  25. package/dist/.setup/doctor-contract-DNJw0fdq.mjs +246 -0
  26. package/dist/{draft-stream-CtvOXq0Z.js → .setup/draft-stream-C-_OhpE8.mjs} +1 -6
  27. package/dist/{encryption-guidance-CbEFe38F.js → .setup/encryption-guidance-CpuuwmjL.mjs} +4 -3
  28. package/dist/{env-auth-CQsYbz-p.js → .setup/env-auth-CYJL1jNl.mjs} +2 -2
  29. package/dist/{env-vars-B0NxQnPk.js → .setup/env-vars-KzaYveuy.mjs} +1 -3
  30. package/dist/{exec-approval-resolver-BCgqRtZS.js → .setup/exec-approval-resolver-f9j6staN.mjs} +1 -2
  31. package/dist/{file-sync-store-DiiFsayX.js → .setup/file-sync-store-DU0cnYAz.mjs} +30 -25
  32. package/dist/{http-client-CycYxU9-.js → .setup/http-client-C954In2D.mjs} +45 -25
  33. package/dist/{idb-persistence-B6x7dMsF.js → .setup/idb-persistence-_HKTXkVC.mjs} +76 -78
  34. package/dist/{idb-persistence-lock-DAJ49nZX.js → .setup/idb-persistence-lock-B3fZXyF_.mjs} +1 -1
  35. package/dist/.setup/legacy-crypto-inspector-Byp8LCys.mjs +42 -0
  36. package/dist/.setup/legacy-crypto-restore-YQVoK1B2.mjs +93 -0
  37. package/dist/{logger-D0GCSDQq.js → .setup/logger-DpoogOgz.mjs} +1 -1
  38. package/dist/{logging-DV-p52N0.js → .setup/logging-CgxQOJJP.mjs} +2 -9
  39. package/dist/.setup/matrix-migration.runtime-BDH5c3fN.mjs +530 -0
  40. package/dist/{media-text-BTwzADS_.js → .setup/media-text-Cib-dxkn.mjs} +1 -1
  41. package/dist/{messages-DxQJkhxs.js → .setup/messages-D4DYGHYX.mjs} +15 -67
  42. package/dist/.setup/migration-snapshot-backup-CpgYhiUp.mjs +70 -0
  43. package/dist/.setup/migration-snapshot.runtime-O8qkMVaC.mjs +2 -0
  44. package/dist/{monitor-VyWlSLwo.js → .setup/monitor-DNcW_oAN.mjs} +2525 -2361
  45. package/dist/.setup/probe.runtime-CMPh0mFk.mjs +2 -0
  46. package/dist/{profile-update-CffmyW_4.js → .setup/profile-update-DzOL3Wiw.mjs} +5 -4
  47. package/dist/{reaction-events-B00WSi98.js → .setup/reaction-events-BcvgXxHb.mjs} +14 -64
  48. package/dist/{resolve-targets-nm2L48sh.js → .setup/resolve-targets-Bq80X9Sn.mjs} +3 -3
  49. package/dist/{resolver.runtime-DS6uPaEe.js → .setup/resolver.runtime-CeBHR9-T.mjs} +1 -1
  50. package/dist/{runtime-api-D1xI_cvh.js → .setup/runtime-api-CEsWNdil.mjs} +4 -4
  51. package/dist/.setup/runtime-setter-api-DGMubGUq.mjs +3 -0
  52. package/dist/{sdk-bUytQHx7.js → .setup/sdk-He1quVAq.mjs} +592 -261
  53. package/dist/.setup/secret-contract-api-CiTJ7pd5.mjs +3 -0
  54. package/dist/{secret-contract-M3hRmGO-.js → .setup/secret-contract-phPvlNfV.mjs} +53 -28
  55. package/dist/{send-BldGYG8g.js → .setup/send-CGgl0uTn.mjs} +133 -660
  56. package/dist/{setup-bootstrap-Deleiibz.js → .setup/setup-bootstrap-DUXBC8X2.mjs} +4 -4
  57. package/dist/{setup-core-BVfBv2ai.js → .setup/setup-core-bhdcEo7v.mjs} +239 -189
  58. package/dist/.setup/setup-plugin-api-CAwZ_Bi7.mjs +43 -0
  59. package/dist/.setup/setup-plugin-api-DIFVsOs3.mjs +2 -0
  60. package/dist/{setup-surface-BBq3WeqX.js → .setup/setup-surface-05_G-MnT.mjs} +149 -92
  61. package/dist/{startup-verification-wm3_i88s.js → .setup/startup-verification-BTwIGu1J.mjs} +7 -6
  62. package/dist/.setup/storage-NGZq5zet.mjs +432 -0
  63. package/dist/{storage-paths-gUmSydsW.js → .setup/storage-paths-BWo_ZEMC.mjs} +13 -2
  64. package/dist/{subagent-hooks-dkPAF6Et.js → .setup/subagent-hooks-BSWPJEmo.mjs} +2 -2
  65. package/dist/{thread-binding-api-DRbBZlhS.js → .setup/thread-binding-api-B7UaOoKv.mjs} +1 -1
  66. package/dist/{thread-bindings-DGbl3vDW.js → .setup/thread-bindings-DqmjG2on.mjs} +8 -8
  67. package/dist/{tool-actions.runtime-uu9blSqO.js → .setup/tool-actions.runtime-CXDLk2jg.mjs} +196 -332
  68. package/dist/{verification-DYMQ1QpI.js → .setup/verification-DeWOtZJr.mjs} +4 -3
  69. package/dist/api.js +9 -9
  70. package/dist/auth-presence.js +21 -13
  71. package/dist/channel-plugin-api.js +1 -1
  72. package/dist/cli-metadata.js +1 -1
  73. package/dist/contract-api.js +2 -2
  74. package/dist/doctor-contract-api.js +99 -524
  75. package/dist/helper-api.js +4 -4
  76. package/dist/index.js +1 -1
  77. package/dist/plugin-entry.handlers.runtime.js +2 -2
  78. package/dist/runtime-api.js +8 -8
  79. package/dist/runtime-heavy-api.js +3 -0
  80. package/dist/runtime-setter-api.js +1 -1
  81. package/dist/secret-contract-api.js +1 -1
  82. package/dist/session-binding-contract-api.js +3 -3
  83. package/dist/setup-entry.js +4 -3
  84. package/dist/setup-plugin-api.js +1 -44
  85. package/dist/subagent-hooks-api.js +1 -1
  86. package/dist/thread-binding-api.js +1 -1
  87. package/dist/thread-bindings-runtime.js +1 -1
  88. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +1 -1
  89. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +2 -14
  90. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +384 -409
  91. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +224 -246
  92. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
  93. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +58 -59
  94. package/node_modules/markdown-it/README.md +18 -294
  95. package/node_modules/markdown-it/bin/markdown-it.mjs +2 -2
  96. package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs +3013 -0
  97. package/node_modules/markdown-it/dist/browser/markdown-it.esm.min.mjs.map +1 -0
  98. package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js +14 -0
  99. package/node_modules/markdown-it/dist/browser/markdown-it.umd.min.js.map +1 -0
  100. package/node_modules/markdown-it/dist/markdown-it.cjs.js +4420 -0
  101. package/node_modules/markdown-it/dist/markdown-it.cjs.js.map +1 -0
  102. package/node_modules/markdown-it/dist/markdown-it.d.cts +19 -0
  103. package/node_modules/markdown-it/dist/markdown-it.d.mts +950 -0
  104. package/node_modules/markdown-it/dist/{index.cjs.js → markdown-it.mjs} +1504 -1525
  105. package/node_modules/markdown-it/dist/markdown-it.mjs.map +1 -0
  106. package/node_modules/markdown-it/node_modules/argparse/LICENSE +1 -208
  107. package/node_modules/markdown-it/node_modules/argparse/README.md +46 -41
  108. package/node_modules/markdown-it/node_modules/argparse/lib/_colorize.js +72 -0
  109. package/node_modules/markdown-it/node_modules/argparse/lib/argparse.d.ts +292 -0
  110. package/node_modules/markdown-it/node_modules/argparse/{argparse.js → lib/argparse.js} +1142 -1029
  111. package/node_modules/markdown-it/node_modules/argparse/lib/difflib.js +190 -0
  112. package/node_modules/markdown-it/node_modules/argparse/lib/sub.js +4 -4
  113. package/node_modules/markdown-it/node_modules/argparse/lib/textwrap.js +28 -28
  114. package/node_modules/markdown-it/node_modules/argparse/package.json +18 -11
  115. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts +8 -0
  116. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.d.ts.map +1 -0
  117. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js +46 -0
  118. package/node_modules/markdown-it/node_modules/entities/dist/decode-codepoint.js.map +1 -0
  119. package/node_modules/markdown-it/node_modules/entities/{lib → dist}/decode.d.ts +28 -45
  120. package/node_modules/markdown-it/node_modules/entities/dist/decode.d.ts.map +1 -0
  121. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/decode.js +189 -141
  122. package/node_modules/markdown-it/node_modules/entities/dist/decode.js.map +1 -0
  123. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/encode.d.ts +4 -2
  124. package/node_modules/markdown-it/node_modules/entities/dist/encode.d.ts.map +1 -0
  125. package/node_modules/markdown-it/node_modules/entities/dist/encode.js +90 -0
  126. package/node_modules/markdown-it/node_modules/entities/dist/encode.js.map +1 -0
  127. package/node_modules/markdown-it/node_modules/entities/{lib → dist}/escape.d.ts +15 -10
  128. package/node_modules/markdown-it/node_modules/entities/dist/escape.d.ts.map +1 -0
  129. package/node_modules/markdown-it/node_modules/entities/dist/escape.js +132 -0
  130. package/node_modules/markdown-it/node_modules/entities/dist/escape.js.map +1 -0
  131. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts +3 -0
  132. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.d.ts.map +1 -0
  133. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js +5 -0
  134. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-html.js.map +1 -0
  135. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts +3 -0
  136. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.d.ts.map +1 -0
  137. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js +5 -0
  138. package/node_modules/markdown-it/node_modules/entities/dist/generated/decode-data-xml.js.map +1 -0
  139. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts +5 -0
  140. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.d.ts.map +1 -0
  141. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js +12 -0
  142. package/node_modules/markdown-it/node_modules/entities/dist/generated/encode-html.js.map +1 -0
  143. package/node_modules/markdown-it/node_modules/entities/{lib/esm → dist}/index.d.ts +14 -21
  144. package/node_modules/markdown-it/node_modules/entities/dist/index.d.ts.map +1 -0
  145. package/node_modules/markdown-it/node_modules/entities/dist/index.js +91 -0
  146. package/node_modules/markdown-it/node_modules/entities/dist/index.js.map +1 -0
  147. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts +17 -0
  148. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.d.ts.map +1 -0
  149. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js +18 -0
  150. package/node_modules/markdown-it/node_modules/entities/dist/internal/bin-trie-flags.js.map +1 -0
  151. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts +7 -0
  152. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.d.ts.map +1 -0
  153. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js +17 -0
  154. package/node_modules/markdown-it/node_modules/entities/dist/internal/decode-shared.js.map +1 -0
  155. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts +33 -0
  156. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.d.ts.map +1 -0
  157. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js +93 -0
  158. package/node_modules/markdown-it/node_modules/entities/dist/internal/encode-shared.js.map +1 -0
  159. package/node_modules/markdown-it/node_modules/entities/package.json +63 -70
  160. package/node_modules/markdown-it/node_modules/entities/readme.md +54 -45
  161. package/node_modules/markdown-it/node_modules/entities/src/decode-codepoint.ts +50 -0
  162. package/node_modules/markdown-it/node_modules/entities/src/decode.ts +671 -0
  163. package/node_modules/markdown-it/node_modules/entities/src/encode.ts +95 -0
  164. package/node_modules/markdown-it/node_modules/entities/src/escape.ts +160 -0
  165. package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-html.ts +7 -0
  166. package/node_modules/markdown-it/node_modules/entities/src/generated/decode-data-xml.ts +7 -0
  167. package/node_modules/markdown-it/node_modules/entities/src/generated/encode-html.ts +18 -0
  168. package/node_modules/markdown-it/node_modules/entities/src/index.ts +162 -0
  169. package/node_modules/markdown-it/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  170. package/node_modules/markdown-it/node_modules/entities/src/internal/decode-shared.ts +18 -0
  171. package/node_modules/markdown-it/node_modules/entities/src/internal/encode-shared.ts +123 -0
  172. package/node_modules/markdown-it/node_modules/linkify-it/README.md +49 -86
  173. package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js +636 -825
  174. package/node_modules/markdown-it/node_modules/linkify-it/build/index.cjs.js.map +1 -0
  175. package/node_modules/markdown-it/node_modules/linkify-it/build/index.d.ts +236 -0
  176. package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs +538 -0
  177. package/node_modules/markdown-it/node_modules/linkify-it/build/index.mjs.map +1 -0
  178. package/node_modules/markdown-it/node_modules/linkify-it/package.json +23 -20
  179. package/node_modules/markdown-it/node_modules/uc.micro/README.md +18 -1
  180. package/node_modules/markdown-it/node_modules/uc.micro/build/index.cjs.js +13 -18
  181. package/node_modules/markdown-it/node_modules/uc.micro/build/index.d.ts +6 -0
  182. package/node_modules/markdown-it/node_modules/uc.micro/build/index.mjs +8 -0
  183. package/node_modules/markdown-it/node_modules/uc.micro/package.json +12 -17
  184. package/node_modules/markdown-it/package.json +47 -30
  185. package/node_modules/matrix-js-sdk/CHANGELOG.md +0 -11
  186. package/node_modules/matrix-js-sdk/package.json +1 -1
  187. package/node_modules/music-metadata/lib/common/Util.d.ts +1 -1
  188. package/node_modules/music-metadata/lib/common/Util.js +1 -7
  189. package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +3 -23
  190. package/node_modules/music-metadata/lib/id3v2/FrameParser.js +2 -2
  191. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +1 -1
  192. package/node_modules/music-metadata/lib/mp4/AtomToken.js +13 -38
  193. package/node_modules/music-metadata/lib/mpeg/MpegParser.js +1 -1
  194. package/node_modules/music-metadata/package.json +6 -6
  195. package/node_modules/typebox/build/compile/validator.d.mts +4 -1
  196. package/node_modules/typebox/build/guard/guard.d.mts +1 -1
  197. package/node_modules/typebox/build/guard/guard.mjs +2 -5
  198. package/node_modules/typebox/build/guard/string.mjs +4 -16
  199. package/node_modules/typebox/build/schema/engine/_functions.mjs +15 -34
  200. package/node_modules/typebox/build/type/action/readonly_object.d.mts +0 -5
  201. package/node_modules/typebox/build/type/action/readonly_object.mjs +0 -8
  202. package/node_modules/typebox/build/typebox.d.mts +1 -1
  203. package/node_modules/typebox/build/typebox.mjs +1 -1
  204. package/node_modules/typebox/package.json +1 -1
  205. package/node_modules/typebox/readme.md +32 -29
  206. package/openclaw.plugin.json +146 -152
  207. package/package.json +31 -114
  208. package/dist/accounts-DfngqebB.js +0 -130
  209. package/dist/active-client-DXvz2gCo.js +0 -20
  210. package/dist/approval-reactions-D-BxBK_L.js +0 -202
  211. package/dist/client-Dbso3-0V.js +0 -30
  212. package/dist/client-bootstrap-XsIkHNt0.js +0 -110
  213. package/dist/create-client-BmSU-q-D.js +0 -61
  214. package/dist/credentials-W2EmwRhu.js +0 -65
  215. package/dist/credentials-read-DVmFCm7X.js +0 -77
  216. package/dist/doctor-CM8ijNpW.js +0 -64
  217. package/dist/doctor-contract-BMSJkkAE.js +0 -167
  218. package/dist/inbound-dedupe-CaBLblef.js +0 -48
  219. package/dist/probe.runtime-BuieqmS3.js +0 -3
  220. package/dist/record-shared-CWWx6fvI.js +0 -2
  221. package/dist/recovery-key-store-BNnHvXdk.js +0 -275
  222. package/dist/room-info-CAFZ3Z9J.js +0 -87
  223. package/dist/route-DY6at4qJ.js +0 -161
  224. package/dist/storage-BvAkgzvT.js +0 -685
  225. package/node_modules/markdown-it/dist/index.cjs.js.map +0 -1
  226. package/node_modules/markdown-it/dist/markdown-it.js +0 -3975
  227. package/node_modules/markdown-it/dist/markdown-it.js.map +0 -1
  228. package/node_modules/markdown-it/dist/markdown-it.min.js +0 -3
  229. package/node_modules/markdown-it/dist/markdown-it.min.js.map +0 -1
  230. package/node_modules/markdown-it/index.mjs +0 -1
  231. package/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
  232. package/node_modules/markdown-it/lib/common/html_re.mjs +0 -25
  233. package/node_modules/markdown-it/lib/common/utils.mjs +0 -324
  234. package/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
  235. package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -77
  236. package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -49
  237. package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -66
  238. package/node_modules/markdown-it/lib/index.mjs +0 -565
  239. package/node_modules/markdown-it/lib/parser_block.mjs +0 -134
  240. package/node_modules/markdown-it/lib/parser_core.mjs +0 -62
  241. package/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
  242. package/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -88
  243. package/node_modules/markdown-it/lib/presets/default.mjs +0 -47
  244. package/node_modules/markdown-it/lib/presets/zero.mjs +0 -70
  245. package/node_modules/markdown-it/lib/renderer.mjs +0 -322
  246. package/node_modules/markdown-it/lib/ruler.mjs +0 -340
  247. package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -209
  248. package/node_modules/markdown-it/lib/rules_block/code.mjs +0 -30
  249. package/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -94
  250. package/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -51
  251. package/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -40
  252. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -80
  253. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -85
  254. package/node_modules/markdown-it/lib/rules_block/list.mjs +0 -331
  255. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -48
  256. package/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -212
  257. package/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -220
  258. package/node_modules/markdown-it/lib/rules_block/table.mjs +0 -228
  259. package/node_modules/markdown-it/lib/rules_core/block.mjs +0 -13
  260. package/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -11
  261. package/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -134
  262. package/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -17
  263. package/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -101
  264. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -209
  265. package/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -17
  266. package/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -43
  267. package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -72
  268. package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -60
  269. package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -124
  270. package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -123
  271. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
  272. package/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -83
  273. package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -38
  274. package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -50
  275. package/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -138
  276. package/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -139
  277. package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -63
  278. package/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -42
  279. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -154
  280. package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -127
  281. package/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -86
  282. package/node_modules/markdown-it/lib/token.mjs +0 -191
  283. package/node_modules/markdown-it/node_modules/argparse/CHANGELOG.md +0 -216
  284. package/node_modules/markdown-it/node_modules/entities/lib/decode.d.ts.map +0 -1
  285. package/node_modules/markdown-it/node_modules/entities/lib/decode.js +0 -536
  286. package/node_modules/markdown-it/node_modules/entities/lib/decode.js.map +0 -1
  287. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
  288. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
  289. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.js +0 -76
  290. package/node_modules/markdown-it/node_modules/entities/lib/decode_codepoint.js.map +0 -1
  291. package/node_modules/markdown-it/node_modules/entities/lib/encode.d.ts +0 -22
  292. package/node_modules/markdown-it/node_modules/entities/lib/encode.d.ts.map +0 -1
  293. package/node_modules/markdown-it/node_modules/entities/lib/encode.js +0 -77
  294. package/node_modules/markdown-it/node_modules/entities/lib/encode.js.map +0 -1
  295. package/node_modules/markdown-it/node_modules/entities/lib/escape.d.ts.map +0 -1
  296. package/node_modules/markdown-it/node_modules/entities/lib/escape.js +0 -122
  297. package/node_modules/markdown-it/node_modules/entities/lib/escape.js.map +0 -1
  298. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.d.ts +0 -211
  299. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
  300. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode.js.map +0 -1
  301. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
  302. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
  303. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
  304. package/node_modules/markdown-it/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
  305. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
  306. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.js +0 -69
  307. package/node_modules/markdown-it/node_modules/entities/lib/esm/encode.js.map +0 -1
  308. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.d.ts +0 -43
  309. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
  310. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.js +0 -116
  311. package/node_modules/markdown-it/node_modules/entities/lib/esm/escape.js.map +0 -1
  312. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
  313. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
  314. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
  315. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
  316. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
  317. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
  318. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
  319. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
  320. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
  321. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
  322. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
  323. package/node_modules/markdown-it/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
  324. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.d.ts.map +0 -1
  325. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.js +0 -99
  326. package/node_modules/markdown-it/node_modules/entities/lib/esm/index.js.map +0 -1
  327. package/node_modules/markdown-it/node_modules/entities/lib/esm/package.json +0 -1
  328. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
  329. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
  330. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.js +0 -9
  331. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
  332. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
  333. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
  334. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
  335. package/node_modules/markdown-it/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
  336. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
  337. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
  338. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.js +0 -12
  339. package/node_modules/markdown-it/node_modules/entities/lib/generated/encode-html.js.map +0 -1
  340. package/node_modules/markdown-it/node_modules/entities/lib/index.d.ts +0 -96
  341. package/node_modules/markdown-it/node_modules/entities/lib/index.d.ts.map +0 -1
  342. package/node_modules/markdown-it/node_modules/entities/lib/index.js +0 -126
  343. package/node_modules/markdown-it/node_modules/entities/lib/index.js.map +0 -1
  344. package/node_modules/markdown-it/node_modules/linkify-it/index.mjs +0 -646
  345. package/node_modules/markdown-it/node_modules/linkify-it/lib/re.mjs +0 -193
  346. package/node_modules/markdown-it/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
  347. package/node_modules/markdown-it/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
  348. package/node_modules/markdown-it/node_modules/uc.micro/categories/P/regex.mjs +0 -1
  349. package/node_modules/markdown-it/node_modules/uc.micro/categories/S/regex.mjs +0 -1
  350. package/node_modules/markdown-it/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
  351. package/node_modules/markdown-it/node_modules/uc.micro/index.mjs +0 -8
  352. package/node_modules/markdown-it/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
  353. /package/dist/{account-config-BZWN9tGS.js → .setup/account-config-BZWN9tGS.mjs} +0 -0
  354. /package/dist/{backup-health-Dm_YMVFT.js → .setup/backup-health-Dm_YMVFT.mjs} +0 -0
  355. /package/dist/{config-paths-CnREYb1Y.js → .setup/config-paths-CnREYb1Y.mjs} +0 -0
  356. /package/dist/{config-secret-input.runtime-CwsP3--c.js → .setup/config-secret-input.runtime-CwsP3--c.mjs} +0 -0
  357. /package/dist/{crypto-node.runtime-6Aj_ltHQ.js → .setup/crypto-node.runtime-6Aj_ltHQ.mjs} +0 -0
  358. /package/dist/{errors-C47hvAF8.js → .setup/errors-C47hvAF8.mjs} +0 -0
  359. /package/dist/{preflight-audio.runtime-BZxxQsxY.js → .setup/preflight-audio.runtime-BZxxQsxY.mjs} +0 -0
  360. /package/dist/{reaction-common-DkrQdBSZ.js → .setup/reaction-common-DkrQdBSZ.mjs} +0 -0
  361. /package/dist/{rolldown-runtime-8H4AJuhK.js → .setup/rolldown-runtime-8H4AJuhK.mjs} +0 -0
  362. /package/dist/{runtime-6S3DNFNv.js → .setup/runtime-6S3DNFNv.mjs} +0 -0
  363. /package/dist/{runtime-BefyhPWv.js → .setup/runtime-BefyhPWv.mjs} +0 -0
  364. /package/dist/{sync-state-CWbp0QSY.js → .setup/sync-state-CWbp0QSY.mjs} +0 -0
  365. /package/dist/{target-ids-B-5aQxwn.js → .setup/target-ids-B-5aQxwn.mjs} +0 -0
  366. /package/dist/{thread-bindings-shared-CKnY4LSd.js → .setup/thread-bindings-shared-CKnY4LSd.mjs} +0 -0
  367. /package/dist/{timeout-abort-signal-DMrgRFIy.js → .setup/timeout-abort-signal-DMrgRFIy.mjs} +0 -0
  368. /package/dist/{url-validation-GRHde6lq.js → .setup/url-validation-GRHde6lq.mjs} +0 -0
@@ -0,0 +1,950 @@
1
+ import * as mdurl from "mdurl";
2
+ import * as ucmicro from "uc.micro";
3
+ import { LinkifyIt } from "linkify-it";
4
+ //#endregion
5
+ //#region src/types.d.ts
6
+ /** @inline */
7
+ interface Reference {
8
+ title: string;
9
+ href: string;
10
+ }
11
+ /**
12
+ * Shared environment passed through parsing and rendering.
13
+ *
14
+ * Plugins may use it to store arbitrary data.
15
+ */
16
+ interface Env {
17
+ [key: string | symbol]: unknown;
18
+ references?: Record<string, Reference>;
19
+ }
20
+ /** Delimiter entry used by emphasis-like inline rules. */
21
+ interface Delimiter {
22
+ /** Char code of the starting marker. */
23
+ marker: number;
24
+ /** Total length of this series of delimiters. */
25
+ length?: number;
26
+ /** A position of the token this delimiter corresponds to. */
27
+ token: number;
28
+ /**
29
+ * If this delimiter is matched as a valid opener, `end` will be
30
+ * equal to its position, otherwise it's `-1`.
31
+ */
32
+ end: number;
33
+ /** Whether this delimiter can open an emphasis. */
34
+ open: boolean;
35
+ /** Whether this delimiter can close an emphasis. */
36
+ close: boolean;
37
+ /** One delimiter represents two characters. */
38
+ jump?: number;
39
+ }
40
+ /**
41
+ * Options controlling Markdown parsing and rendering.
42
+ *
43
+ * @category Main
44
+ */
45
+ interface MarkdownItOptions {
46
+ /**
47
+ * Enable HTML tags in source.
48
+ *
49
+ * @defaultValue `false` (`true` for `'commonmark'` preset only)
50
+ */
51
+ html?: boolean;
52
+ /**
53
+ * Use '/' to close single tags (`<br />`).
54
+ *
55
+ * @defaultValue `false` (`true` for `'commonmark'` preset only)
56
+ */
57
+ xhtmlOut?: boolean;
58
+ /**
59
+ * Convert '\n' in paragraphs into `<br>`.
60
+ *
61
+ * @defaultValue `false`
62
+ */
63
+ breaks?: boolean;
64
+ /**
65
+ * CSS language prefix for fenced blocks, used by external syntax highlighters.
66
+ *
67
+ * @defaultValue `'language-'`
68
+ */
69
+ langPrefix?: string;
70
+ /**
71
+ * Autoconvert URL-like text to links.
72
+ *
73
+ * @defaultValue `false`
74
+ */
75
+ linkify?: boolean;
76
+ /**
77
+ * Enable language-neutral replacements and quotes beautification.
78
+ *
79
+ * See the [replacement rules](https://github.com/markdown-it/markdown-it/blob/master/src/rules_core/replacements.ts)
80
+ * for the full list.
81
+ *
82
+ * @defaultValue `false`
83
+ */
84
+ typographer?: boolean;
85
+ /**
86
+ * Double + single quotes replacement pairs, when typographer is enabled
87
+ * and smartquotes are on. Can be either a string or an array.
88
+ *
89
+ * For example, use `'«»„“'` for Russian, `'„“‚‘'` for German, and
90
+ * `['«\xA0', '\xA0»', '‹\xA0', '\xA0›']` for French (including nbsp).
91
+ *
92
+ * @defaultValue `'“”‘’'`
93
+ */
94
+ quotes?: string | string[];
95
+ /**
96
+ * Highlighter function. Should return escaped HTML, or an empty string if
97
+ * the source string was not changed and should be escaped externally.
98
+ * If the result starts with `<pre`, the internal wrapper is skipped.
99
+ *
100
+ * The highlighter is called by the default `fence` renderer rule. If needed,
101
+ * you can replace that renderer rule completely; see the
102
+ * [renderer source](https://github.com/markdown-it/markdown-it/blob/master/src/renderer.ts).
103
+ *
104
+ * @example
105
+ * ```js
106
+ * import MarkdownIt from 'markdown-it'
107
+ * import hljs from 'highlight.js' // https://highlightjs.org
108
+ *
109
+ * const md = new MarkdownIt({
110
+ * highlight: function (str, lang) {
111
+ * if (lang && hljs.getLanguage(lang)) {
112
+ * try {
113
+ * return hljs.highlight(str, { language: lang }).value
114
+ * } catch (__) {}
115
+ * }
116
+ *
117
+ * return '' // use external default escaping
118
+ * }
119
+ * });
120
+ * ```
121
+ *
122
+ * @example
123
+ * Or with full wrapper override (if you need assign class to `<pre>` or `<code>`):
124
+ * ```js
125
+ * import MarkdownIt from 'markdown-it'
126
+ * import hljs from 'highlight.js' // https://highlightjs.org
127
+ *
128
+ * const md = new MarkdownIt({
129
+ * highlight: function (str, lang) {
130
+ * if (lang && hljs.getLanguage(lang)) {
131
+ * try {
132
+ * return `<pre><code class="hljs">${hljs.highlight(str,
133
+ * { language: lang, ignoreIllegals: true }).value}</code></pre>`
134
+ * } catch (__) {}
135
+ * }
136
+ *
137
+ * return `<pre><code class="hljs">${md.utils.escapeHtml(str)}</code></pre>`
138
+ * }
139
+ * });
140
+ * ```
141
+ *
142
+ * @defaultValue `null`
143
+ */
144
+ highlight?: ((str: string, lang: string, attrs: string) => string) | null;
145
+ /**
146
+ * Internal protection against excessive recursion.
147
+ *
148
+ * @defaultValue `100`
149
+ */
150
+ maxNesting?: number;
151
+ }
152
+ declare namespace utils_d_exports {
153
+ export { arrayReplaceAt, asciiTrim, callable, escapeHtml, escapeRE, fromCodePoint, isMdAsciiPunct, isPunctChar, isPunctCharCode, isSpace, isValidEntityCode, isWhiteSpace, lib, normalizeReference, unescapeAll, unescapeMd };
154
+ }
155
+ /** @hidden */
156
+ type ClassToWrap = new (...args: any[]) => object;
157
+ /** Wraps a class so it can be called with or without `new`. */
158
+ declare function callable<T extends ClassToWrap>(cls: T): T & ((...args: ConstructorParameters<T>) => InstanceType<T>);
159
+ /**
160
+ * Returns a copy of a token array with the token at `pos` replaced by
161
+ * `newElements`. Used to transform token streams without modifying the
162
+ * original array.
163
+ */
164
+ declare function arrayReplaceAt<T>(src: T[], pos: number, newElements: T[]): T[];
165
+ /** Checks whether a code point can be decoded from a numeric HTML entity. */
166
+ declare function isValidEntityCode(c: number): boolean;
167
+ /**
168
+ * Converts a Unicode code point to a string, like `String.fromCodePoint()`,
169
+ * but does not throw for invalid input.
170
+ */
171
+ declare function fromCodePoint(c: number): string;
172
+ /** Decodes Markdown backslash escapes. */
173
+ declare function unescapeMd(str: string): string;
174
+ /**
175
+ * Decodes Markdown backslash escapes and HTML character references in link
176
+ * destinations, link titles, and fenced code info strings.
177
+ */
178
+ declare function unescapeAll(str: string): string;
179
+ /** Escapes HTML special characters in a string. */
180
+ declare function escapeHtml(str: string): string;
181
+ /** Escapes regular expression metacharacters in a string. */
182
+ declare function escapeRE(str: string): string;
183
+ /** Checks whether a character code is an ASCII space or tab. */
184
+ declare function isSpace(code: number): boolean;
185
+ /**
186
+ * Checks whether a character code is whitespace recognized by Markdown.
187
+ *
188
+ * Matches the Unicode `Zs` category or `\t`, `\f`, `\v`, `\r`, `\n`.
189
+ */
190
+ declare function isWhiteSpace(code: number): boolean;
191
+ /**
192
+ * Checks whether a character is Unicode punctuation or a symbol.
193
+ *
194
+ * Does not support astral characters.
195
+ */
196
+ declare function isPunctChar(ch: string): boolean;
197
+ /** Checks whether a Unicode code point is punctuation or a symbol. */
198
+ declare function isPunctCharCode(code: number): boolean;
199
+ /**
200
+ * Markdown ASCII punctuation characters.
201
+ *
202
+ * !, ", #, $, %, &, ', (, ), *, +, ,, -, ., /, :, ;, <, =, >, ?, @,
203
+ * [, \, ], ^, _, `, {, |, }, or ~
204
+ *
205
+ * http://spec.commonmark.org/0.15/#ascii-punctuation-character
206
+ *
207
+ * Don't confuse with Unicode punctuation. It lacks some characters in the
208
+ * ASCII range.
209
+ */
210
+ declare function isMdAsciiPunct(ch: number): boolean;
211
+ /** Normalizes `[reference labels]` for case-insensitive lookup. */
212
+ declare function normalizeReference(str: string): string;
213
+ /**
214
+ * "Light" `.trim()` for blocks (headings, paragraphs), where Unicode spaces
215
+ * should be preserved.
216
+ */
217
+ declare function asciiTrim(str: string): string;
218
+ /**
219
+ * Libraries commonly used by markdown-it and its plugins, re-exported to
220
+ * reduce duplicate dependencies in browser bundles.
221
+ */
222
+ declare const lib: {
223
+ mdurl: typeof mdurl;
224
+ ucmicro: typeof ucmicro;
225
+ };
226
+ //#endregion
227
+ //#region src/token.d.ts
228
+ /** @inline */
229
+ type TokenNesting = -1 | 0 | 1;
230
+ /** @inline */
231
+ type TokenAttribute = [name: string, value: string | number];
232
+ /**
233
+ * Represents one item in the parsed token stream, storing parsed data and
234
+ * providing helpers for managing HTML attributes.
235
+ */
236
+ declare class Token {
237
+ /**
238
+ * Type of the token (string, e.g. "paragraph_open")
239
+ */
240
+ type: string;
241
+ /**
242
+ * html tag name, e.g. "p"
243
+ */
244
+ tag: string;
245
+ /** Html attributes. Format: `[ [ name1, value1 ], [ name2, value2 ] ]` */
246
+ attrs: TokenAttribute[] | null;
247
+ /**
248
+ * Source map info. Format: `[ line_begin, line_end ]`
249
+ */
250
+ map: [number, number] | null;
251
+ /**
252
+ * Level change (number in {-1, 0, 1} set), where:
253
+ *
254
+ * - `1` means the tag is opening
255
+ * - `0` means the tag is self-closing
256
+ * - `-1` means the tag is closing
257
+ */
258
+ nesting: TokenNesting;
259
+ /**
260
+ * nesting level, the same as `state.level`
261
+ */
262
+ level: number;
263
+ /**
264
+ * An array of child nodes (inline and img tokens)
265
+ */
266
+ children: Token[] | null;
267
+ /**
268
+ * In a case of self-closing tag (code, html, fence, etc.),
269
+ * it has contents of this tag.
270
+ */
271
+ content: string;
272
+ /**
273
+ * '*' or '_' for emphasis, fence string for fence, etc.
274
+ */
275
+ markup: string;
276
+ /**
277
+ * Additional information:
278
+ *
279
+ * - Info string for "fence" tokens
280
+ * - The value "auto" for autolink "link_open" and "link_close" tokens
281
+ * - The string value of the item marker for ordered-list "list_item_open" tokens
282
+ */
283
+ info: string;
284
+ /** A place for plugins to store an arbitrary data */
285
+ meta: Record<string, unknown> | null;
286
+ /**
287
+ * True for block-level tokens, false for inline tokens.
288
+ * Used in renderer to calculate line breaks
289
+ */
290
+ block: boolean;
291
+ /**
292
+ * If it's true, ignore this element when rendering. Used for tight lists
293
+ * to hide paragraphs.
294
+ */
295
+ hidden: boolean;
296
+ constructor(type: string, tag: string, nesting: TokenNesting);
297
+ /**
298
+ * Search attribute index by name.
299
+ */
300
+ attrIndex(name: string): number;
301
+ /**
302
+ * Add `[ name, value ]` attribute to list. Init attrs if necessary
303
+ */
304
+ attrPush(attrData: TokenAttribute): void;
305
+ /**
306
+ * Set `name` attribute to `value`. Override old value if exists.
307
+ */
308
+ attrSet(name: string, value: string | number): void;
309
+ /**
310
+ * Get the value of attribute `name`, or null if it does not exist.
311
+ */
312
+ attrGet(name: string): string | number | null;
313
+ /**
314
+ * Join value to existing attribute via space. Or create new attribute if not
315
+ * exists. Useful to operate with token classes.
316
+ */
317
+ attrJoin(name: string, value: string | number): void;
318
+ }
319
+ //#endregion
320
+ //#region src/rules_inline/state_inline.d.ts
321
+ /** @inline */
322
+ interface ScannedDelimiters {
323
+ can_open: boolean;
324
+ can_close: boolean;
325
+ length: number;
326
+ }
327
+ /** @inline */
328
+ type StateTokenMeta = Record<string, unknown> & {
329
+ delimiters?: Delimiter[];
330
+ };
331
+ /** Mutable state passed to inline rules while tokenizing inline content. */
332
+ declare class StateInline {
333
+ src: string;
334
+ env: Env;
335
+ md: MarkdownIt;
336
+ tokens: Token[];
337
+ tokens_meta: Array<StateTokenMeta | undefined>;
338
+ pos: number;
339
+ posMax: number;
340
+ level: number;
341
+ pending: string;
342
+ pendingLevel: number;
343
+ cache: Record<number, number>;
344
+ backticks: Record<number, number>;
345
+ backticksScanned: boolean;
346
+ linkLevel: number;
347
+ delimiters: Delimiter[];
348
+ _prev_delimiters: Delimiter[][];
349
+ Token: typeof Token;
350
+ constructor(src: string, md: MarkdownIt, env: Env, outTokens: Token[]);
351
+ pushPending(): Token;
352
+ push(type: string, tag: string, nesting: -1 | 0 | 1): Token;
353
+ scanDelims(start: number, canSplitWord: boolean): ScannedDelimiters;
354
+ }
355
+ //#endregion
356
+ //#region src/helpers/parse_link_label.d.ts
357
+ /** Finds the end of a link or image label (`[label]`). */
358
+ declare function parseLinkLabel(state: StateInline, start: number, disableNested?: boolean): number;
359
+ //#endregion
360
+ //#region src/helpers/parse_link_destination.d.ts
361
+ /** Parses the destination in `[label](destination "title")`. */
362
+ declare function parseLinkDestination(str: string, start: number, max: number): {
363
+ ok: boolean;
364
+ pos: number;
365
+ str: string;
366
+ };
367
+ //#endregion
368
+ //#region src/helpers/parse_link_title.d.ts
369
+ /** @inline */
370
+ interface ParseLinkTitleResult {
371
+ ok: boolean;
372
+ can_continue: boolean;
373
+ pos: number;
374
+ str: string;
375
+ marker: number;
376
+ }
377
+ /**
378
+ * Parses the optional title in `[label](destination "title")` or
379
+ * `[label]: destination "title"`.
380
+ *
381
+ * `prev_state` continues a reference title on the next source line.
382
+ */
383
+ declare function parseLinkTitle(str: string, start: number, max: number, prev_state?: ParseLinkTitleResult): ParseLinkTitleResult;
384
+ declare namespace index_d_exports {
385
+ export { parseLinkDestination, parseLinkLabel, parseLinkTitle };
386
+ }
387
+ //#endregion
388
+ //#region src/ruler.d.ts
389
+ /** @inline */
390
+ type RuleOptions = {
391
+ alt?: string[];
392
+ };
393
+ /**
394
+ * Helper class, used by {@link MarkdownIt.core}, {@link MarkdownIt.block} and
395
+ * {@link MarkdownIt.inline} to manage sequences of functions (rules):
396
+ *
397
+ * - keep rules in defined order
398
+ * - assign the name to each rule
399
+ * - enable/disable rules
400
+ * - add/replace rules
401
+ * - allow assign rules to additional named chains (in the same)
402
+ * - cacheing lists of active rules
403
+ *
404
+ * You will not need use this class directly until write plugins. For simple
405
+ * rules control use {@link MarkdownIt.disable}, {@link MarkdownIt.enable} and
406
+ * {@link MarkdownIt.use}.
407
+ */
408
+ declare class Ruler<Args extends unknown[], Result> {
409
+ /** @internal */
410
+ __rules__: Array<{
411
+ name: string;
412
+ enabled: boolean;
413
+ fn: (...args: Args) => Result;
414
+ alt: string[];
415
+ }>;
416
+ /** @internal */
417
+ __cache__: Record<string, Array<(...args: Args) => Result>> | null;
418
+ /** @internal */
419
+ __find__(name: string): number;
420
+ /** @internal */
421
+ __compile__(): void;
422
+ /**
423
+ * Replace rule by name with new function & options. Throws error if name not
424
+ * found.
425
+ *
426
+ * @example Replace existing typographer replacement rule with new one
427
+ * ```javascript
428
+ * import MarkdownIt from 'markdown-it'
429
+ * const md = new MarkdownIt()
430
+ *
431
+ * md.core.ruler.at('replacements', function replace(state) {
432
+ * //...
433
+ * });
434
+ * ```
435
+ */
436
+ at(name: string, fn: (...args: Args) => Result, options?: RuleOptions): void;
437
+ /**
438
+ * Add new rule to chain before one with given name. See also
439
+ * {@link Ruler.after}, {@link Ruler.push}.
440
+ *
441
+ * @example
442
+ * ```javascript
443
+ * import MarkdownIt from 'markdown-it'
444
+ * const md = new MarkdownIt()
445
+ *
446
+ * md.block.ruler.before('paragraph', 'my_rule', function replace(state) {
447
+ * //...
448
+ * });
449
+ * ```
450
+ */
451
+ before(beforeName: string, ruleName: string, fn: (...args: Args) => Result, options?: RuleOptions): void;
452
+ /**
453
+ * Add new rule to chain after one with given name. See also
454
+ * {@link Ruler.before}, {@link Ruler.push}.
455
+ *
456
+ * @example
457
+ * ```javascript
458
+ * import MarkdownIt from 'markdown-it'
459
+ * const md = new MarkdownIt()
460
+ *
461
+ * md.inline.ruler.after('text', 'my_rule', function replace(state) {
462
+ * //...
463
+ * });
464
+ * ```
465
+ */
466
+ after(afterName: string, ruleName: string, fn: (...args: Args) => Result, options?: RuleOptions): void;
467
+ /**
468
+ * Push new rule to the end of chain. See also
469
+ * {@link Ruler.before}, {@link Ruler.after}.
470
+ *
471
+ * @example
472
+ * ```javascript
473
+ * import MarkdownIt from 'markdown-it'
474
+ * const md = new MarkdownIt()
475
+ *
476
+ * md.core.ruler.push('my_rule', function replace(state) {
477
+ * //...
478
+ * });
479
+ * ```
480
+ */
481
+ push(ruleName: string, fn: (...args: Args) => Result, options?: RuleOptions): void;
482
+ /**
483
+ * Enable rules with given names. If any rule name not found - throw Error.
484
+ * Errors can be disabled by second param.
485
+ *
486
+ * See also {@link Ruler.disable}, {@link Ruler.enableOnly}.
487
+ *
488
+ * Returns list of found rule names (if no exception happened).
489
+ */
490
+ enable(list: string | string[], ignoreInvalid?: boolean): string[];
491
+ /**
492
+ * Enable rules with given names, and disable everything else. If any rule name
493
+ * not found - throw Error. Errors can be disabled by second param.
494
+ *
495
+ * See also {@link Ruler.disable}, {@link Ruler.enable}.
496
+ */
497
+ enableOnly(list: string | string[], ignoreInvalid?: boolean): void;
498
+ /**
499
+ * Disable rules with given names. If any rule name not found - throw Error.
500
+ * Errors can be disabled by second param.
501
+ *
502
+ * See also {@link Ruler.enable}, {@link Ruler.enableOnly}.
503
+ *
504
+ * Returns list of found rule names (if no exception happened).
505
+ */
506
+ disable(list: string | string[], ignoreInvalid?: boolean): string[];
507
+ /**
508
+ * Return array of active functions (rules) for given chain name. It analyzes
509
+ * rules configuration, compiles caches if not exists and returns result.
510
+ *
511
+ * Default chain name is `''` (empty string). It can't be skipped. That's
512
+ * done intentionally, to keep signature monomorphic for high speed.
513
+ */
514
+ getRules(chainName: string): Array<(...args: Args) => Result>;
515
+ }
516
+ //#endregion
517
+ //#region src/renderer.d.ts
518
+ /** Function that renders a token at a given position in a token stream. */
519
+ type RendererRule = (tokens: Token[], idx: number, options: Required<MarkdownItOptions>, env: Env | undefined, renderer: Renderer) => string;
520
+ /**
521
+ * Generates HTML from parsed token stream. Each instance has independent
522
+ * copy of rules. Those can be rewritten with ease. Also, you can add new
523
+ * rules if you create plugin and adds new token types.
524
+ *
525
+ * Creates new renderer instance and fills {@link Renderer.rules} with defaults.
526
+ */
527
+ declare class Renderer {
528
+ /**
529
+ * Contains render rules for tokens. Can be updated and extended.
530
+ *
531
+ * See [source code](https://github.com/markdown-it/markdown-it/blob/master/src/renderer.ts)
532
+ * for more details and examples.
533
+ *
534
+ * @example Custom render rules
535
+ * ```javascript
536
+ * import MarkdownIt from 'markdown-it'
537
+ * const md = new MarkdownIt()
538
+ *
539
+ * md.renderer.rules.strong_open = function () { return '<b>'; };
540
+ * md.renderer.rules.strong_close = function () { return '</b>'; };
541
+ *
542
+ * const result = md.renderInline(...);
543
+ * ```
544
+ *
545
+ * @example Each rule is called as independent static function with fixed signature
546
+ * ```javascript
547
+ * function my_token_render(tokens, idx, options, env, renderer) {
548
+ * // ...
549
+ * return renderedHTML;
550
+ * }
551
+ * ```
552
+ */
553
+ rules: Record<string, RendererRule>;
554
+ /**
555
+ * Render token attributes to string.
556
+ */
557
+ renderAttrs(token: Pick<Token, 'attrs'>): string;
558
+ /**
559
+ * Default token renderer. Can be overriden by custom function
560
+ * in {@link Renderer.rules}.
561
+ */
562
+ renderToken(tokens: Token[], idx: number, options: Required<MarkdownItOptions>): string;
563
+ /**
564
+ * The same as {@link Renderer.render}, but for single token of `inline` type.
565
+ */
566
+ renderInline(tokens: Token[], options: Required<MarkdownItOptions>, env: Env | undefined): string;
567
+ /**
568
+ * Special kludge for image `alt` attributes to conform CommonMark spec.
569
+ * Don't try to use it! Spec requires to show `alt` content with stripped markup,
570
+ * instead of simple escaping.
571
+ */
572
+ renderInlineAsText(tokens: Token[], options: Required<MarkdownItOptions>, env: Env | undefined): string;
573
+ /**
574
+ * Takes token stream and generates HTML. Probably, you will never need to call
575
+ * this method directly.
576
+ */
577
+ render(tokens: Token[], options: Required<MarkdownItOptions>, env?: Env): string;
578
+ }
579
+ //#endregion
580
+ //#region src/rules_core/state_core.d.ts
581
+ /** Mutable state passed through the core rules chain. */
582
+ declare class StateCore {
583
+ src: string;
584
+ env: Env;
585
+ tokens: Token[];
586
+ inlineMode: boolean;
587
+ md: MarkdownIt;
588
+ Token: typeof Token;
589
+ constructor(src: string, md: MarkdownIt, env: Env);
590
+ }
591
+ //#endregion
592
+ //#region src/parser_core.d.ts
593
+ /**
594
+ * Top-level rules executor. Glues block/inline parsers and does intermediate
595
+ * transformations.
596
+ */
597
+ declare class ParserCore {
598
+ /**
599
+ * {@link Ruler} instance. Keep configuration of core rules.
600
+ */
601
+ ruler: Ruler<[StateCore], void>;
602
+ State: typeof StateCore;
603
+ constructor();
604
+ /**
605
+ * Executes core chain rules.
606
+ */
607
+ process(state: StateCore): void;
608
+ }
609
+ //#endregion
610
+ //#region src/rules_block/state_block.d.ts
611
+ /** Mutable state passed to block rules while tokenizing a source document. */
612
+ declare class StateBlock {
613
+ src: string;
614
+ md: MarkdownIt;
615
+ env: Env;
616
+ tokens: Token[];
617
+ bMarks: number[];
618
+ eMarks: number[];
619
+ tShift: number[];
620
+ sCount: number[];
621
+ bsCount: number[];
622
+ blkIndent: number;
623
+ line: number;
624
+ lineMax: number;
625
+ tight: boolean;
626
+ listIndent: number;
627
+ parentType: string;
628
+ level: number;
629
+ Token: typeof Token;
630
+ constructor(src: string, md: MarkdownIt, env: Env, tokens: Token[]);
631
+ push(type: string, tag: string, nesting: -1 | 0 | 1): Token;
632
+ isEmpty(line: number): boolean;
633
+ skipEmptyLines(from: number): number;
634
+ skipSpaces(pos: number): number;
635
+ skipSpacesBack(pos: number, min: number): number;
636
+ skipChars(pos: number, code: number): number;
637
+ skipCharsBack(pos: number, code: number, min: number): number;
638
+ getLines(begin: number, end: number, indent: number, keepLastLF: boolean): string;
639
+ }
640
+ //#endregion
641
+ //#region src/parser_block.d.ts
642
+ /**
643
+ * Block-level tokenizer.
644
+ */
645
+ declare class ParserBlock {
646
+ /**
647
+ * {@link Ruler} instance. Keep configuration of block rules.
648
+ */
649
+ ruler: Ruler<[StateBlock, number, number, boolean], boolean>;
650
+ State: typeof StateBlock;
651
+ constructor();
652
+ tokenize(state: StateBlock, startLine: number, endLine: number): void;
653
+ /**
654
+ * Process input string and push block tokens into `outTokens`
655
+ */
656
+ parse(src: string, md: MarkdownIt, env: Env, outTokens: Token[]): void;
657
+ }
658
+ //#endregion
659
+ //#region src/parser_inline.d.ts
660
+ /**
661
+ * Tokenizes paragraph content.
662
+ */
663
+ declare class ParserInline {
664
+ /**
665
+ * {@link Ruler} instance. Keep configuration of inline rules.
666
+ */
667
+ ruler: Ruler<[StateInline, boolean], boolean>;
668
+ /**
669
+ * {@link Ruler} instance. Second ruler used for post-processing
670
+ * (e.g. in emphasis-like rules).
671
+ */
672
+ ruler2: Ruler<[StateInline], void>;
673
+ State: typeof StateInline;
674
+ constructor();
675
+ skipToken(state: StateInline): void;
676
+ tokenize(state: StateInline): void;
677
+ /**
678
+ * Process input string and push inline tokens into `outTokens`
679
+ */
680
+ parse(str: string, md: MarkdownIt, env: Env, outTokens: Token[]): void;
681
+ }
682
+ //#endregion
683
+ //#region src/markdownit.d.ts
684
+ declare const config: {
685
+ default: {
686
+ options: Required<MarkdownItOptions>;
687
+ components: {
688
+ core: {};
689
+ block: {};
690
+ inline: {};
691
+ };
692
+ };
693
+ zero: {
694
+ options: Required<MarkdownItOptions>;
695
+ components: {
696
+ core: {
697
+ rules: string[];
698
+ };
699
+ block: {
700
+ rules: string[];
701
+ };
702
+ inline: {
703
+ rules: string[];
704
+ rules2: string[];
705
+ };
706
+ };
707
+ };
708
+ commonmark: {
709
+ options: Required<MarkdownItOptions>;
710
+ components: {
711
+ core: {
712
+ rules: string[];
713
+ };
714
+ block: {
715
+ rules: string[];
716
+ };
717
+ inline: {
718
+ rules: string[];
719
+ rules2: string[];
720
+ };
721
+ };
722
+ };
723
+ };
724
+ type MarkdownItPresetName = keyof typeof config;
725
+ /**
726
+ * Parser preset containing options and enabled rules for each parser component.
727
+ */
728
+ interface MarkdownItPreset {
729
+ options?: Required<MarkdownItOptions>;
730
+ components?: {
731
+ core?: {
732
+ rules?: string[];
733
+ };
734
+ block?: {
735
+ rules?: string[];
736
+ };
737
+ inline?: {
738
+ rules?: string[];
739
+ rules2?: string[];
740
+ };
741
+ };
742
+ }
743
+ /**
744
+ * Parses Markdown into tokens and renders them to HTML.
745
+ *
746
+ * @category Main
747
+ */
748
+ declare class MarkdownIt {
749
+ /**
750
+ * Instance of {@link ParserInline}. You may need it to add new rules when
751
+ * writing plugins. For simple rules control use {@link MarkdownIt.disable}
752
+ * and {@link MarkdownIt.enable}.
753
+ */
754
+ inline: ParserInline;
755
+ /**
756
+ * Instance of {@link ParserBlock}. You may need it to add new rules when
757
+ * writing plugins. For simple rules control use {@link MarkdownIt.disable}
758
+ * and {@link MarkdownIt.enable}.
759
+ */
760
+ block: ParserBlock;
761
+ /**
762
+ * Instance of {@link ParserCore} chain executor. You may need it to add new
763
+ * rules when writing plugins. For simple rules control use
764
+ * {@link MarkdownIt.disable} and {@link MarkdownIt.enable}.
765
+ */
766
+ core: ParserCore;
767
+ /**
768
+ * Instance of {@link Renderer}. Use it to modify output look. Or to add rendering
769
+ * rules for new token types, generated by plugins.
770
+ *
771
+ * See {@link Renderer} docs and
772
+ * [source code](https://github.com/markdown-it/markdown-it/blob/master/src/renderer.ts).
773
+ *
774
+ * @example
775
+ * ```javascript
776
+ * import MarkdownIt from 'markdown-it'
777
+ * const md = new MarkdownIt()
778
+ *
779
+ * function myToken(tokens, idx, options, env, self) {
780
+ * //...
781
+ * return result;
782
+ * };
783
+ *
784
+ * md.renderer.rules['my_token'] = myToken
785
+ * ```
786
+ */
787
+ renderer: Renderer;
788
+ /**
789
+ * [linkify-it](https://github.com/markdown-it/linkify-it) instance.
790
+ * Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/src/rules_core/linkify.ts)
791
+ * rule.
792
+ */
793
+ linkify: LinkifyIt;
794
+ /**
795
+ * Link validation function. CommonMark allows too much in links. By default
796
+ * we disable `javascript:`, `vbscript:`, `file:` schemas, and almost all `data:...` schemas
797
+ * except some embedded image types.
798
+ *
799
+ * You can change this behaviour:
800
+ *
801
+ * @example
802
+ * ```javascript
803
+ * import MarkdownIt from 'markdown-it'
804
+ * const md = new MarkdownIt()
805
+ *
806
+ * // enable everything
807
+ * md.validateLink = function () { return true; }
808
+ * ```
809
+ */
810
+ validateLink(url: string): boolean;
811
+ /**
812
+ * Function used to encode link url to a machine-readable format,
813
+ * which includes url-encoding, punycode, etc.
814
+ */
815
+ normalizeLink(url: string): string;
816
+ /**
817
+ * Function used to decode link url to a human-readable format`
818
+ */
819
+ normalizeLinkText(url: string): string;
820
+ /**
821
+ * Assorted utility functions, useful to write plugins. See details
822
+ * [here](https://github.com/markdown-it/markdown-it/blob/master/src/common/utils.ts).
823
+ */
824
+ utils: typeof utils_d_exports;
825
+ /**
826
+ * Link components parser functions, useful to write plugins. See details
827
+ * [here](https://github.com/markdown-it/markdown-it/blob/master/src/helpers).
828
+ */
829
+ helpers: typeof index_d_exports;
830
+ options: Required<MarkdownItOptions>;
831
+ constructor(...args: [] | [options: MarkdownItOptions] | [presetName: MarkdownItPresetName, options?: MarkdownItOptions]);
832
+ /**
833
+ * Set parser options (in the same format as in constructor). Probably, you
834
+ * will never need it, but you can change options after constructor call.
835
+ *
836
+ * __Note:__ To achieve the best possible performance, don't modify a
837
+ * `markdown-it` instance options on the fly. If you need multiple configurations
838
+ * it's best to create multiple instances and initialize each with separate
839
+ * config.
840
+ *
841
+ * @example
842
+ * ```javascript
843
+ * import MarkdownIt from 'markdown-it'
844
+ *
845
+ * const md = new MarkdownIt()
846
+ * .set({ html: true, breaks: true })
847
+ * .set({ typographer: true })
848
+ * ```
849
+ */
850
+ set(options: MarkdownItOptions): this;
851
+ /**
852
+ * Batch load of all options and compenent settings. This is internal method,
853
+ * and you probably will not need it. But if you will - see available presets
854
+ * and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/src/presets)
855
+ *
856
+ * We strongly recommend to use presets instead of direct config loads. That
857
+ * will give better compatibility with next versions.
858
+ */
859
+ configure(presets: MarkdownItPresetName | MarkdownItPreset): this;
860
+ /**
861
+ * Enable list or rules. It will automatically find appropriate components,
862
+ * containing rules with given names. If rule not found, and `ignoreInvalid`
863
+ * not set - throws exception.
864
+ *
865
+ * @example
866
+ * ```javascript
867
+ * import MarkdownIt from 'markdown-it'
868
+ *
869
+ * const md = new MarkdownIt()
870
+ * .enable(['sub', 'sup'])
871
+ * .disable('smartquotes')
872
+ * ```
873
+ */
874
+ enable(list: string | string[], ignoreInvalid?: boolean): this;
875
+ /**
876
+ * The same as {@link MarkdownIt.enable}, but turn specified rules off.
877
+ */
878
+ disable(list: string | string[], ignoreInvalid?: boolean): this;
879
+ /**
880
+ * Load specified plugin with given params into current parser instance.
881
+ * It's just a sugar to call `plugin(md, params)` with curring.
882
+ *
883
+ * @example
884
+ * ```javascript
885
+ * import MarkdownIt from 'markdown-it'
886
+ * import iterator from 'markdown-it-for-inline'
887
+ *
888
+ * const md = new MarkdownIt()
889
+ * .use(iterator, 'foo_replace', 'text', function (tokens, idx) {
890
+ * tokens[idx].content = tokens[idx].content.replace(/foo/g, 'bar')
891
+ * })
892
+ * ```
893
+ */
894
+ use<Params extends unknown[]>(plugin: (md: this, ...params: Params) => void, ...params: Params): this;
895
+ /**
896
+ * Parse input string and return list of block tokens (special token type
897
+ * "inline" will contain list of inline tokens). You should not call this
898
+ * method directly, until you write custom renderer (for example, to produce
899
+ * AST).
900
+ *
901
+ * `env` is used to pass data between "distributed" rules and return additional
902
+ * metadata like reference info, needed for the renderer. It also can be used to
903
+ * inject data in specific cases. Usually, you will be ok to pass `{}`,
904
+ * and then pass updated object to renderer.
905
+ */
906
+ parse(src: string, env: Env): Token[];
907
+ /**
908
+ * Render markdown string into html. It does all magic for you :).
909
+ *
910
+ * `env` can be used to inject additional metadata (`{}` by default).
911
+ * But you will not need it with high probability. See also comment
912
+ * in {@link MarkdownIt.parse}.
913
+ */
914
+ render(src: string, env?: Env): string;
915
+ /**
916
+ * The same as {@link MarkdownIt.parse} but skip all block rules. It returns
917
+ * the block tokens list with the single `inline` element, containing parsed
918
+ * inline tokens in `children` property. Also updates `env` object.
919
+ */
920
+ parseInline(src: string, env: Env): Token[];
921
+ /**
922
+ * Similar to {@link MarkdownIt.render} but for single paragraph content.
923
+ * Result will NOT be wrapped into `<p>` tags.
924
+ */
925
+ renderInline(src: string, env?: Env): string;
926
+ static Token: typeof Token;
927
+ static Ruler: typeof Ruler;
928
+ static Renderer: typeof Renderer;
929
+ static ParserCore: typeof ParserCore;
930
+ static StateCore: typeof StateCore;
931
+ static ParserBlock: typeof ParserBlock;
932
+ static StateBlock: typeof StateBlock;
933
+ static ParserInline: typeof ParserInline;
934
+ static StateInline: typeof StateInline;
935
+ }
936
+ //#endregion
937
+ //#region src/index.d.ts
938
+ /**
939
+ * Default package export.
940
+ *
941
+ * For backward compatibility, the {@link MarkdownIt} class is wrapped so
942
+ * legacy code can call it without `new`. New code should instantiate it as a
943
+ * regular class with `new`. The compatibility wrapper may be removed in a
944
+ * future release.
945
+ *
946
+ * @category Main
947
+ */
948
+ declare const MarkdownItCallable: typeof MarkdownIt & ((...args: [] | [options: MarkdownItOptions] | [presetName: "default" | "zero" | "commonmark", options?: MarkdownItOptions | undefined]) => MarkdownIt);
949
+ //#endregion
950
+ export { type Delimiter, type Env, type MarkdownIt, type MarkdownItOptions, type MarkdownItPreset, type ParserBlock, type ParserCore, type ParserInline, type Renderer, type RendererRule, type Ruler, type StateBlock, type StateCore, type StateInline, type Token, MarkdownItCallable as default };