@hanzo/docs-core 16.4.3 → 16.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. package/README.md +3 -3
  2. package/dist/{advanced-BRT5Ij43.js → advanced-BH0syJ-M.js} +3 -4
  3. package/dist/{algolia-CQPXCnjV.js → algolia-C7Crg8-5.js} +2 -3
  4. package/dist/breadcrumb.d.ts +2 -3
  5. package/dist/breadcrumb.js +3 -4
  6. package/dist/{chunk-B-ezknvj.js → chunk-CaR5F9JI.js} +3 -3
  7. package/dist/content/github.d.ts +1 -2
  8. package/dist/content/github.js +1 -2
  9. package/dist/content/index.d.ts +3 -4
  10. package/dist/content/index.js +1 -2
  11. package/dist/content/mdx/preset-bundler.d.ts +9 -10
  12. package/dist/content/mdx/preset-bundler.js +2 -3
  13. package/dist/content/mdx/preset-runtime.d.ts +9 -10
  14. package/dist/content/mdx/preset-runtime.js +2 -3
  15. package/dist/content/toc.d.ts +1 -3
  16. package/dist/content/toc.js +4 -5
  17. package/dist/create-i18n-Cv3Cocbs.d.ts +51 -0
  18. package/dist/{definitions-DuxDer_c.d.ts → definitions-DSNTbAwC.d.ts} +1 -2
  19. package/dist/dynamic-link.d.ts +3 -4
  20. package/dist/dynamic-link.js +1 -3
  21. package/dist/{fetch-B5e9CFfN.js → fetch-HotVeLLF.js} +1 -2
  22. package/dist/framework/index.d.ts +5 -6
  23. package/dist/framework/index.js +18 -19
  24. package/dist/framework/next.d.ts +3 -4
  25. package/dist/framework/next.js +1 -2
  26. package/dist/framework/react-router.d.ts +1 -2
  27. package/dist/framework/react-router.js +1 -2
  28. package/dist/framework/tanstack.d.ts +4 -5
  29. package/dist/framework/tanstack.js +2 -3
  30. package/dist/framework/waku.d.ts +1 -2
  31. package/dist/framework/waku.js +1 -2
  32. package/dist/hast-utils-BmGqqmvo.js +15 -0
  33. package/dist/highlight/client.d.ts +2 -4
  34. package/dist/highlight/client.js +7 -13
  35. package/dist/highlight/config.d.ts +15 -0
  36. package/dist/highlight/config.js +18 -0
  37. package/dist/highlight/core/client.d.ts +31 -0
  38. package/dist/highlight/core/client.js +68 -0
  39. package/dist/highlight/core/index.d.ts +27 -0
  40. package/dist/highlight/core/index.js +69 -0
  41. package/dist/highlight/index.d.ts +34 -2
  42. package/dist/highlight/index.js +57 -2
  43. package/dist/i18n/index.d.ts +39 -1
  44. package/dist/i18n/index.js +1 -2
  45. package/dist/i18n/middleware.d.ts +2 -3
  46. package/dist/i18n/middleware.js +1 -2
  47. package/dist/{icon-BWwSDabM.js → icon-OtPFhyk1.js} +1 -2
  48. package/dist/link.d.ts +3 -4
  49. package/dist/link.js +1 -2
  50. package/dist/{mdast-utils-mc9-X-PK.js → mdast-utils-gJMY143g.js} +1 -2
  51. package/dist/mdx-plugins/codeblock-utils.d.ts +35 -1
  52. package/dist/mdx-plugins/codeblock-utils.js +2 -3
  53. package/dist/mdx-plugins/index.d.ts +18 -15
  54. package/dist/mdx-plugins/index.js +7 -5
  55. package/dist/mdx-plugins/rehype-code.core.d.ts +38 -0
  56. package/dist/mdx-plugins/rehype-code.core.js +104 -0
  57. package/dist/mdx-plugins/rehype-code.d.ts +18 -2
  58. package/dist/mdx-plugins/rehype-code.js +24 -3
  59. package/dist/mdx-plugins/rehype-toc.d.ts +16 -1
  60. package/dist/mdx-plugins/rehype-toc.js +127 -1
  61. package/dist/mdx-plugins/remark-admonition.d.ts +20 -1
  62. package/dist/mdx-plugins/remark-admonition.js +2 -3
  63. package/dist/mdx-plugins/remark-code-tab.d.ts +30 -1
  64. package/dist/mdx-plugins/remark-code-tab.js +4 -5
  65. package/dist/mdx-plugins/remark-directive-admonition.d.ts +34 -1
  66. package/dist/mdx-plugins/remark-directive-admonition.js +1 -2
  67. package/dist/mdx-plugins/remark-feedback-block.d.ts +51 -0
  68. package/dist/mdx-plugins/remark-feedback-block.js +47 -0
  69. package/dist/mdx-plugins/remark-gfm.d.ts +2 -2
  70. package/dist/mdx-plugins/remark-heading.d.ts +35 -1
  71. package/dist/mdx-plugins/remark-heading.js +2 -3
  72. package/dist/mdx-plugins/remark-image.d.ts +63 -1
  73. package/dist/mdx-plugins/remark-image.js +1 -2
  74. package/dist/mdx-plugins/remark-mdx-files.d.ts +55 -2
  75. package/dist/mdx-plugins/remark-mdx-files.js +103 -13
  76. package/dist/mdx-plugins/remark-mdx-mermaid.d.ts +15 -1
  77. package/dist/mdx-plugins/remark-mdx-mermaid.js +1 -2
  78. package/dist/mdx-plugins/remark-npm.d.ts +34 -1
  79. package/dist/mdx-plugins/remark-npm.js +1 -2
  80. package/dist/mdx-plugins/remark-steps.d.ts +26 -1
  81. package/dist/mdx-plugins/remark-steps.js +1 -2
  82. package/dist/mdx-plugins/remark-structure.d.ts +75 -1
  83. package/dist/mdx-plugins/remark-structure.js +7 -8
  84. package/dist/{mixedbread-DlByNYSd.js → mixedbread-Bx9drx9S.js} +6 -5
  85. package/dist/negotiation/index.d.ts +1 -2
  86. package/dist/negotiation/index.js +1 -2
  87. package/dist/{normalize-url-DP9-1I-S.js → normalize-url-DUHbcuVM.js} +2 -3
  88. package/dist/{orama-cloud-DH3g37zc.js → orama-cloud-ByznDyOk.js} +6 -7
  89. package/dist/orama-cloud-legacy-BbgJnf5f.js +81 -0
  90. package/dist/page-tree/index.d.ts +3 -45
  91. package/dist/page-tree/index.js +1 -1
  92. package/dist/{index-2U6Tl4--.d.ts → path-B77y3W0_.d.ts} +111 -98
  93. package/dist/{path-DHIjrDBP.js → path-D0Bwm6Fs.js} +2 -3
  94. package/dist/{remove-undefined-Cfs4o_mM.js → remove-undefined-CJm9cyrC.js} +1 -2
  95. package/dist/search/algolia.d.ts +66 -2
  96. package/dist/search/algolia.js +1 -2
  97. package/dist/search/client.d.ts +31 -8
  98. package/dist/search/client.js +27 -22
  99. package/dist/search/index.d.ts +1 -2
  100. package/dist/search/index.js +41 -1
  101. package/dist/search/orama-cloud-legacy.d.ts +77 -0
  102. package/dist/search/orama-cloud-legacy.js +49 -0
  103. package/dist/search/orama-cloud.d.ts +5 -9
  104. package/dist/search/orama-cloud.js +1 -2
  105. package/dist/search/server.d.ts +87 -4
  106. package/dist/search/server.js +7 -8
  107. package/dist/source/client/index.d.ts +13 -11
  108. package/dist/source/client/index.js +22 -13
  109. package/dist/source/index.d.ts +5 -3
  110. package/dist/source/index.js +428 -333
  111. package/dist/source/plugins/lucide-icons.d.ts +5 -4
  112. package/dist/source/plugins/lucide-icons.js +2 -3
  113. package/dist/source/plugins/slugs.d.ts +24 -2
  114. package/dist/source/plugins/slugs.js +2 -3
  115. package/dist/source/plugins/status-badges.d.ts +52 -0
  116. package/dist/source/plugins/status-badges.js +54 -0
  117. package/dist/source/schema.d.ts +1 -3
  118. package/dist/source/schema.js +1 -2
  119. package/dist/{static-Dq8pA8Ay.js → static-DTxK4eHk.js} +5 -6
  120. package/dist/toc.d.ts +5 -6
  121. package/dist/toc.js +1 -2
  122. package/dist/{rehype-code-CdiZ1Y6P.js → transformer-icon-BYedaeE8.js} +1 -96
  123. package/dist/transformer-icon-D7-6aFzt.d.ts +18 -0
  124. package/dist/types-BSnJn7kF.d.ts +6 -0
  125. package/dist/{util-CK2ykiif.d.ts → util-C60LmklF.d.ts} +1 -2
  126. package/dist/{util-s9piKHsk.js → util-De0ALHOx.js} +1 -2
  127. package/dist/utils/use-media-query.d.ts +1 -2
  128. package/dist/utils/use-media-query.js +1 -2
  129. package/dist/utils/use-on-change.d.ts +1 -2
  130. package/dist/utils/use-on-change.js +1 -2
  131. package/dist/{utils-DUvi2WkD.js → utils-Bc53B3CJ.js} +8 -7
  132. package/dist/utils-IgHyYnrz.d.ts +45 -0
  133. package/package.json +58 -28
  134. package/dist/advanced-BRT5Ij43.js.map +0 -1
  135. package/dist/algolia-CBBN8R6-.d.ts +0 -68
  136. package/dist/algolia-CBBN8R6-.d.ts.map +0 -1
  137. package/dist/algolia-CQPXCnjV.js.map +0 -1
  138. package/dist/breadcrumb.d.ts.map +0 -1
  139. package/dist/breadcrumb.js.map +0 -1
  140. package/dist/codeblock-utils-lld8UiQo.d.ts +0 -37
  141. package/dist/codeblock-utils-lld8UiQo.d.ts.map +0 -1
  142. package/dist/content/github.d.ts.map +0 -1
  143. package/dist/content/github.js.map +0 -1
  144. package/dist/content/index.d.ts.map +0 -1
  145. package/dist/content/index.js.map +0 -1
  146. package/dist/content/mdx/preset-bundler.d.ts.map +0 -1
  147. package/dist/content/mdx/preset-bundler.js.map +0 -1
  148. package/dist/content/mdx/preset-runtime.d.ts.map +0 -1
  149. package/dist/content/mdx/preset-runtime.js.map +0 -1
  150. package/dist/content/toc.d.ts.map +0 -1
  151. package/dist/content/toc.js.map +0 -1
  152. package/dist/definitions-DuxDer_c.d.ts.map +0 -1
  153. package/dist/dynamic-link.d.ts.map +0 -1
  154. package/dist/dynamic-link.js.map +0 -1
  155. package/dist/fetch-B5e9CFfN.js.map +0 -1
  156. package/dist/framework/index.d.ts.map +0 -1
  157. package/dist/framework/index.js.map +0 -1
  158. package/dist/framework/next.d.ts.map +0 -1
  159. package/dist/framework/next.js.map +0 -1
  160. package/dist/framework/react-router.d.ts.map +0 -1
  161. package/dist/framework/react-router.js.map +0 -1
  162. package/dist/framework/tanstack.d.ts.map +0 -1
  163. package/dist/framework/tanstack.js.map +0 -1
  164. package/dist/framework/waku.d.ts.map +0 -1
  165. package/dist/framework/waku.js.map +0 -1
  166. package/dist/highlight/client.d.ts.map +0 -1
  167. package/dist/highlight/client.js.map +0 -1
  168. package/dist/i18n/index.js.map +0 -1
  169. package/dist/i18n/middleware.d.ts.map +0 -1
  170. package/dist/i18n/middleware.js.map +0 -1
  171. package/dist/icon-BWwSDabM.js.map +0 -1
  172. package/dist/index-2U6Tl4--.d.ts.map +0 -1
  173. package/dist/index-Bw-DCOra.d.ts +0 -41
  174. package/dist/index-Bw-DCOra.d.ts.map +0 -1
  175. package/dist/link.d.ts.map +0 -1
  176. package/dist/link.js.map +0 -1
  177. package/dist/mdast-utils-mc9-X-PK.js.map +0 -1
  178. package/dist/mdx-plugins/codeblock-utils.js.map +0 -1
  179. package/dist/mdx-plugins/remark-admonition.js.map +0 -1
  180. package/dist/mdx-plugins/remark-code-tab.js.map +0 -1
  181. package/dist/mdx-plugins/remark-directive-admonition.js.map +0 -1
  182. package/dist/mdx-plugins/remark-heading.js.map +0 -1
  183. package/dist/mdx-plugins/remark-image.js.map +0 -1
  184. package/dist/mdx-plugins/remark-mdx-files.js.map +0 -1
  185. package/dist/mdx-plugins/remark-mdx-mermaid.js.map +0 -1
  186. package/dist/mdx-plugins/remark-npm.js.map +0 -1
  187. package/dist/mdx-plugins/remark-steps.js.map +0 -1
  188. package/dist/mdx-plugins/remark-structure.js.map +0 -1
  189. package/dist/mixedbread-DlByNYSd.js.map +0 -1
  190. package/dist/negotiation/index.d.ts.map +0 -1
  191. package/dist/negotiation/index.js.map +0 -1
  192. package/dist/normalize-url-DP9-1I-S.js.map +0 -1
  193. package/dist/orama-cloud-DH3g37zc.js.map +0 -1
  194. package/dist/page-tree/index.d.ts.map +0 -1
  195. package/dist/path-DHIjrDBP.js.map +0 -1
  196. package/dist/rehype-code-CdiZ1Y6P.js.map +0 -1
  197. package/dist/rehype-code-vVWG4-ej.d.ts +0 -58
  198. package/dist/rehype-code-vVWG4-ej.d.ts.map +0 -1
  199. package/dist/rehype-toc-DJvSyE0o.d.ts +0 -18
  200. package/dist/rehype-toc-DJvSyE0o.d.ts.map +0 -1
  201. package/dist/rehype-toc-DVwJcwvA.js +0 -143
  202. package/dist/rehype-toc-DVwJcwvA.js.map +0 -1
  203. package/dist/remark-admonition-DOwBWzsH.d.ts +0 -22
  204. package/dist/remark-admonition-DOwBWzsH.d.ts.map +0 -1
  205. package/dist/remark-code-tab-CXsYlims.d.ts +0 -32
  206. package/dist/remark-code-tab-CXsYlims.d.ts.map +0 -1
  207. package/dist/remark-directive-admonition-BCm_yiU9.d.ts +0 -36
  208. package/dist/remark-directive-admonition-BCm_yiU9.d.ts.map +0 -1
  209. package/dist/remark-gfm-CeWpMwyk.d.ts +0 -2
  210. package/dist/remark-heading-CXvCY0go.d.ts +0 -37
  211. package/dist/remark-heading-CXvCY0go.d.ts.map +0 -1
  212. package/dist/remark-image-CvUis4R1.d.ts +0 -65
  213. package/dist/remark-image-CvUis4R1.d.ts.map +0 -1
  214. package/dist/remark-mdx-files-DOYafA4x.d.ts +0 -42
  215. package/dist/remark-mdx-files-DOYafA4x.d.ts.map +0 -1
  216. package/dist/remark-mdx-mermaid-BdSUUiCG.d.ts +0 -17
  217. package/dist/remark-mdx-mermaid-BdSUUiCG.d.ts.map +0 -1
  218. package/dist/remark-npm-BIvIEKT2.d.ts +0 -36
  219. package/dist/remark-npm-BIvIEKT2.d.ts.map +0 -1
  220. package/dist/remark-steps-CHJN-rtm.d.ts +0 -28
  221. package/dist/remark-steps-CHJN-rtm.d.ts.map +0 -1
  222. package/dist/remark-structure-RZD2gGKp.d.ts +0 -77
  223. package/dist/remark-structure-RZD2gGKp.d.ts.map +0 -1
  224. package/dist/remove-undefined-Cfs4o_mM.js.map +0 -1
  225. package/dist/search/algolia.js.map +0 -1
  226. package/dist/search/client.d.ts.map +0 -1
  227. package/dist/search/client.js.map +0 -1
  228. package/dist/search/index.d.ts.map +0 -1
  229. package/dist/search/orama-cloud.d.ts.map +0 -1
  230. package/dist/search/orama-cloud.js.map +0 -1
  231. package/dist/search/server.js.map +0 -1
  232. package/dist/search-D6ChCLhY.js +0 -44
  233. package/dist/search-D6ChCLhY.js.map +0 -1
  234. package/dist/server-CPR_fgkH.d.ts +0 -133
  235. package/dist/server-CPR_fgkH.d.ts.map +0 -1
  236. package/dist/shiki-4oMYwHED.js +0 -80
  237. package/dist/shiki-4oMYwHED.js.map +0 -1
  238. package/dist/shiki-CIBQys54.d.ts +0 -33
  239. package/dist/shiki-CIBQys54.d.ts.map +0 -1
  240. package/dist/source/client/index.d.ts.map +0 -1
  241. package/dist/source/client/index.js.map +0 -1
  242. package/dist/source/index.js.map +0 -1
  243. package/dist/source/plugins/lucide-icons.d.ts.map +0 -1
  244. package/dist/source/plugins/lucide-icons.js.map +0 -1
  245. package/dist/source/plugins/slugs.js.map +0 -1
  246. package/dist/source/schema.d.ts.map +0 -1
  247. package/dist/source/schema.js.map +0 -1
  248. package/dist/static-Dq8pA8Ay.js.map +0 -1
  249. package/dist/toc.d.ts.map +0 -1
  250. package/dist/toc.js.map +0 -1
  251. package/dist/util-CK2ykiif.d.ts.map +0 -1
  252. package/dist/util-s9piKHsk.js.map +0 -1
  253. package/dist/utils/use-effect-event.d.ts +0 -11
  254. package/dist/utils/use-effect-event.d.ts.map +0 -1
  255. package/dist/utils/use-effect-event.js +0 -19
  256. package/dist/utils/use-effect-event.js.map +0 -1
  257. package/dist/utils/use-media-query.d.ts.map +0 -1
  258. package/dist/utils/use-media-query.js.map +0 -1
  259. package/dist/utils/use-on-change.d.ts.map +0 -1
  260. package/dist/utils/use-on-change.js.map +0 -1
  261. package/dist/utils-DUvi2WkD.js.map +0 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # Fumadocs Core
1
+ # @hanzo/docs-core
2
2
 
3
- The core library for Fumadocs.
3
+ The core library for Hanzo Docs.
4
4
 
5
- 📘 Learn More: [Documentation](https://fumadocs.dev)
5
+ 📘 Learn More: [Documentation](https://hanzoai.github.io/docs)
@@ -1,5 +1,5 @@
1
- import { t as createContentHighlighter } from "./search-D6ChCLhY.js";
2
- import { t as removeUndefined } from "./remove-undefined-Cfs4o_mM.js";
1
+ import { createContentHighlighter } from "./search/index.js";
2
+ import { t as removeUndefined } from "./remove-undefined-CJm9cyrC.js";
3
3
  import { getByID, search } from "@orama/orama";
4
4
 
5
5
  //#region src/search/orama/search/simple.ts
@@ -76,5 +76,4 @@ async function searchAdvanced(db, query, tag = [], { mode = "fulltext", ...overr
76
76
  }
77
77
 
78
78
  //#endregion
79
- export { searchSimple as n, searchAdvanced as t };
80
- //# sourceMappingURL=advanced-BRT5Ij43.js.map
79
+ export { searchSimple as n, searchAdvanced as t };
@@ -1,4 +1,4 @@
1
- import { t as createContentHighlighter } from "./search-D6ChCLhY.js";
1
+ import { createContentHighlighter } from "./search/index.js";
2
2
 
3
3
  //#region src/search/client/algolia.ts
4
4
  function groupResults(hits) {
@@ -45,5 +45,4 @@ async function searchDocs(query, { indexName, onSearch, client, locale, tag }) {
45
45
  }
46
46
 
47
47
  //#endregion
48
- export { searchDocs };
49
- //# sourceMappingURL=algolia-CQPXCnjV.js.map
48
+ export { searchDocs };
@@ -1,4 +1,4 @@
1
- import { i as Root, r as Node } from "./definitions-DuxDer_c.js";
1
+ import { i as Root, r as Node } from "./definitions-DSNTbAwC.js";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/breadcrumb.d.ts
@@ -44,5 +44,4 @@ declare function getBreadcrumbItemsFromPath(tree: Root, path: Node[], options: B
44
44
  */
45
45
  declare function searchPath(nodes: Node[], url: string): Node[] | null;
46
46
  //#endregion
47
- export { BreadcrumbItem, BreadcrumbOptions, getBreadcrumbItems, getBreadcrumbItemsFromPath, searchPath, useBreadcrumb };
48
- //# sourceMappingURL=breadcrumb.d.ts.map
47
+ export { BreadcrumbItem, BreadcrumbOptions, getBreadcrumbItems, getBreadcrumbItemsFromPath, searchPath, useBreadcrumb };
@@ -1,5 +1,5 @@
1
- import { t as normalizeUrl } from "./normalize-url-DP9-1I-S.js";
2
- import { r as findPath } from "./utils-DUvi2WkD.js";
1
+ import { t as normalizeUrl } from "./normalize-url-DUHbcuVM.js";
2
+ import { r as findPath } from "./utils-Bc53B3CJ.js";
3
3
  import { useMemo } from "react";
4
4
 
5
5
  //#region src/breadcrumb.tsx
@@ -60,5 +60,4 @@ function searchPath(nodes, url) {
60
60
  }
61
61
 
62
62
  //#endregion
63
- export { getBreadcrumbItems, getBreadcrumbItemsFromPath, searchPath, useBreadcrumb };
64
- //# sourceMappingURL=breadcrumb.js.map
63
+ export { getBreadcrumbItems, getBreadcrumbItemsFromPath, searchPath, useBreadcrumb };
@@ -1,4 +1,4 @@
1
- //#region rolldown:runtime
1
+ //#region \0rolldown/runtime.js
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -6,7 +6,7 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
8
  var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
9
- var __exportAll = (all, symbols) => {
9
+ var __exportAll = (all, no_symbols) => {
10
10
  let target = {};
11
11
  for (var name in all) {
12
12
  __defProp(target, name, {
@@ -14,7 +14,7 @@ var __exportAll = (all, symbols) => {
14
14
  enumerable: true
15
15
  });
16
16
  }
17
- if (symbols) {
17
+ if (!no_symbols) {
18
18
  __defProp(target, Symbol.toStringTag, { value: "Module" });
19
19
  }
20
20
  return target;
@@ -47,5 +47,4 @@ declare function getGithubLastEdit({
47
47
  params: customParams
48
48
  }: GetGithubLastCommitOptions): Promise<Date | null>;
49
49
  //#endregion
50
- export { GetGithubLastCommitOptions, getGithubLastEdit };
51
- //# sourceMappingURL=github.d.ts.map
50
+ export { GetGithubLastCommitOptions, getGithubLastEdit };
@@ -26,5 +26,4 @@ async function getGithubLastEdit({ repo, token, owner, path, sha, baseUrl = "htt
26
26
  }
27
27
 
28
28
  //#endregion
29
- export { getGithubLastEdit };
30
- //# sourceMappingURL=github.js.map
29
+ export { getGithubLastEdit };
@@ -1,4 +1,4 @@
1
- import * as react0 from "react";
1
+ import * as react from "react";
2
2
  import { ReactNode } from "react";
3
3
  import { Components } from "hast-util-to-jsx-runtime";
4
4
  import { Compatible } from "vfile";
@@ -17,7 +17,6 @@ declare function Markdown({
17
17
  remarkPlugins?: PluggableList;
18
18
  rehypePlugins?: PluggableList;
19
19
  children: Compatible;
20
- }): Promise<react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | (string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined)>;
20
+ }): Promise<react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | (string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined)>;
21
21
  //#endregion
22
- export { Markdown, MarkdownProps };
23
- //# sourceMappingURL=index.d.ts.map
22
+ export { Markdown, MarkdownProps };
@@ -20,5 +20,4 @@ async function Markdown({ children: content, remarkPlugins = [], rehypePlugins =
20
20
  }
21
21
 
22
22
  //#endregion
23
- export { Markdown };
24
- //# sourceMappingURL=index.js.map
23
+ export { Markdown };
@@ -1,12 +1,12 @@
1
- import "../../remark-gfm-CeWpMwyk.js";
2
- import { t as RehypeCodeOptions } from "../../rehype-code-vVWG4-ej.js";
3
- import { t as RemarkImageOptions } from "../../remark-image-CvUis4R1.js";
4
- import { t as StructureOptions } from "../../remark-structure-RZD2gGKp.js";
5
- import { t as RemarkHeadingOptions } from "../../remark-heading-CXvCY0go.js";
6
- import { t as RemarkCodeTabOptions } from "../../remark-code-tab-CXsYlims.js";
7
- import { t as RemarkNpmOptions } from "../../remark-npm-BIvIEKT2.js";
1
+ import "../../transformer-icon-D7-6aFzt.js";
2
+ import { RehypeCodeOptions } from "../../mdx-plugins/rehype-code.js";
3
+ import { RemarkImageOptions } from "../../mdx-plugins/remark-image.js";
4
+ import { StructureOptions } from "../../mdx-plugins/remark-structure.js";
5
+ import { RemarkHeadingOptions } from "../../mdx-plugins/remark-heading.js";
6
+ import { RemarkCodeTabOptions } from "../../mdx-plugins/remark-code-tab.js";
7
+ import { RemarkNpmOptions } from "../../mdx-plugins/remark-npm.js";
8
8
  import "../../mdx-plugins/index.js";
9
- import { t as ResolvePlugins } from "../../util-CK2ykiif.js";
9
+ import { t as ResolvePlugins } from "../../util-C60LmklF.js";
10
10
  import { ProcessorOptions } from "@mdx-js/mdx";
11
11
 
12
12
  //#region src/content/mdx/preset-bundler.d.ts
@@ -25,5 +25,4 @@ type MDXBundlerPresetOptions = Omit<NonNullable<ProcessorOptions>, 'rehypePlugin
25
25
  */
26
26
  declare function mdxPreset(options?: MDXBundlerPresetOptions): Promise<ProcessorOptions>;
27
27
  //#endregion
28
- export { MDXBundlerPresetOptions, mdxPreset };
29
- //# sourceMappingURL=preset-bundler.d.ts.map
28
+ export { MDXBundlerPresetOptions, mdxPreset };
@@ -1,4 +1,4 @@
1
- import { t as resolvePlugins } from "../../util-s9piKHsk.js";
1
+ import { t as resolvePlugins } from "../../util-De0ALHOx.js";
2
2
 
3
3
  //#region src/content/mdx/preset-bundler.ts
4
4
  /**
@@ -37,5 +37,4 @@ async function mdxPreset(options = {}) {
37
37
  }
38
38
 
39
39
  //#endregion
40
- export { mdxPreset };
41
- //# sourceMappingURL=preset-bundler.js.map
40
+ export { mdxPreset };
@@ -1,12 +1,12 @@
1
- import "../../remark-gfm-CeWpMwyk.js";
2
- import { t as RehypeCodeOptions } from "../../rehype-code-vVWG4-ej.js";
3
- import { t as RemarkImageOptions } from "../../remark-image-CvUis4R1.js";
4
- import { t as StructureOptions } from "../../remark-structure-RZD2gGKp.js";
5
- import { t as RemarkHeadingOptions } from "../../remark-heading-CXvCY0go.js";
6
- import { t as RemarkCodeTabOptions } from "../../remark-code-tab-CXsYlims.js";
7
- import { t as RemarkNpmOptions } from "../../remark-npm-BIvIEKT2.js";
1
+ import "../../transformer-icon-D7-6aFzt.js";
2
+ import { RehypeCodeOptions } from "../../mdx-plugins/rehype-code.js";
3
+ import { RemarkImageOptions } from "../../mdx-plugins/remark-image.js";
4
+ import { StructureOptions } from "../../mdx-plugins/remark-structure.js";
5
+ import { RemarkHeadingOptions } from "../../mdx-plugins/remark-heading.js";
6
+ import { RemarkCodeTabOptions } from "../../mdx-plugins/remark-code-tab.js";
7
+ import { RemarkNpmOptions } from "../../mdx-plugins/remark-npm.js";
8
8
  import "../../mdx-plugins/index.js";
9
- import { t as ResolvePlugins } from "../../util-CK2ykiif.js";
9
+ import { t as ResolvePlugins } from "../../util-C60LmklF.js";
10
10
  import { ProcessorOptions } from "@mdx-js/mdx";
11
11
 
12
12
  //#region src/content/mdx/preset-runtime.d.ts
@@ -25,5 +25,4 @@ type MDXRuntimePresetOptions = Omit<NonNullable<ProcessorOptions>, 'rehypePlugin
25
25
  */
26
26
  declare function mdxPreset(options?: MDXRuntimePresetOptions): Promise<ProcessorOptions>;
27
27
  //#endregion
28
- export { MDXRuntimePresetOptions, mdxPreset };
29
- //# sourceMappingURL=preset-runtime.d.ts.map
28
+ export { MDXRuntimePresetOptions, mdxPreset };
@@ -1,4 +1,4 @@
1
- import { t as resolvePlugins } from "../../util-s9piKHsk.js";
1
+ import { t as resolvePlugins } from "../../util-De0ALHOx.js";
2
2
 
3
3
  //#region src/content/mdx/preset-runtime.ts
4
4
  /**
@@ -35,5 +35,4 @@ async function mdxPreset(options = {}) {
35
35
  }
36
36
 
37
37
  //#endregion
38
- export { mdxPreset };
39
- //# sourceMappingURL=preset-runtime.js.map
38
+ export { mdxPreset };
@@ -3,7 +3,6 @@ import { Compatible } from "vfile";
3
3
  import { PluggableList } from "unified";
4
4
 
5
5
  //#region src/content/toc.d.ts
6
-
7
6
  /**
8
7
  * Get Table of Contents from markdown/mdx document (using remark)
9
8
  *
@@ -18,5 +17,4 @@ declare function getTableOfContents(content: Compatible): TOCItemType[];
18
17
  */
19
18
  declare function getTableOfContents(content: Compatible, remarkPlugins: PluggableList): Promise<TOCItemType[]>;
20
19
  //#endregion
21
- export { getTableOfContents };
22
- //# sourceMappingURL=toc.d.ts.map
20
+ export { getTableOfContents };
@@ -1,11 +1,11 @@
1
- import "../mdast-utils-mc9-X-PK.js";
1
+ import "../mdast-utils-gJMY143g.js";
2
2
  import { remarkHeading } from "../mdx-plugins/remark-heading.js";
3
3
  import { remark } from "remark";
4
4
 
5
5
  //#region src/content/toc.ts
6
6
  function getTableOfContents(content, remarkPlugins) {
7
- if (remarkPlugins) return remark().use(remarkPlugins).use(remarkHeading).process(content).then((result$1) => {
8
- if ("toc" in result$1.data) return result$1.data.toc;
7
+ if (remarkPlugins) return remark().use(remarkPlugins).use(remarkHeading).process(content).then((result) => {
8
+ if ("toc" in result.data) return result.data.toc;
9
9
  return [];
10
10
  });
11
11
  const result = remark().use(remarkHeading).processSync(content);
@@ -14,5 +14,4 @@ function getTableOfContents(content, remarkPlugins) {
14
14
  }
15
15
 
16
16
  //#endregion
17
- export { getTableOfContents };
18
- //# sourceMappingURL=toc.js.map
17
+ export { getTableOfContents };
@@ -0,0 +1,51 @@
1
+ import { t as Awaitable } from "./types-BSnJn7kF.js";
2
+ import { I18nConfig } from "./i18n/index.js";
3
+ import { i as LoaderConfig, o as LoaderOutput, u as Page } from "./path-B77y3W0_.js";
4
+ import { AdvancedIndex, AdvancedOptions, Dynamic, Index, SearchAPI, SimpleOptions } from "./search/server.js";
5
+ import { Language, Orama, TypedDocument } from "@orama/orama";
6
+
7
+ //#region src/search/orama/create-db.d.ts
8
+ type SimpleDocument = TypedDocument<Orama<typeof simpleSchema>>;
9
+ declare const simpleSchema: {
10
+ readonly url: "string";
11
+ readonly title: "string";
12
+ readonly breadcrumbs: "string[]";
13
+ readonly description: "string";
14
+ readonly content: "string";
15
+ readonly keywords: "string";
16
+ };
17
+ type AdvancedDocument = TypedDocument<Orama<typeof advancedSchema>>;
18
+ declare const advancedSchema: {
19
+ readonly content: "string";
20
+ readonly page_id: "string";
21
+ readonly type: "string";
22
+ readonly breadcrumbs: "string[]";
23
+ readonly tags: "enum[]";
24
+ readonly url: "string";
25
+ readonly embeddings: "vector[512]";
26
+ };
27
+ //#endregion
28
+ //#region src/search/orama/create-from-source.d.ts
29
+ interface Options<C extends LoaderConfig> extends Omit<AdvancedOptions, 'indexes'> {
30
+ localeMap?: { [K in C['i18n'] extends I18nConfig<infer Languages> ? Languages : string]?: Partial<AdvancedOptions> | Language };
31
+ buildIndex?: (page: Page<C['source']['pageData']>) => Awaitable<AdvancedIndex>;
32
+ }
33
+ declare function createFromSource<C extends LoaderConfig>(source: LoaderOutput<C>, options?: Options<C>): SearchAPI;
34
+ //#endregion
35
+ //#region src/search/orama/create-i18n.d.ts
36
+ type I18nOptions<O extends SimpleOptions | AdvancedOptions, Idx> = Omit<O, 'language' | 'indexes'> & {
37
+ i18n: I18nConfig;
38
+ /**
39
+ * Map locale name from i18n config to Orama compatible `language` or options
40
+ */
41
+ localeMap?: Record<string, Language | Partial<O> | undefined>;
42
+ indexes: WithLocale<Idx>[] | Dynamic<WithLocale<Idx>>;
43
+ };
44
+ type I18nSimpleOptions = I18nOptions<SimpleOptions, Index>;
45
+ type I18nAdvancedOptions = I18nOptions<AdvancedOptions, AdvancedIndex>;
46
+ type WithLocale<T> = T & {
47
+ locale: string;
48
+ };
49
+ declare function createI18nSearchAPI<T extends 'simple' | 'advanced'>(type: T, options: T extends 'simple' ? I18nSimpleOptions : I18nAdvancedOptions): SearchAPI;
50
+ //#endregion
51
+ export { advancedSchema as a, SimpleDocument as i, createFromSource as n, simpleSchema as o, AdvancedDocument as r, createI18nSearchAPI as t };
@@ -58,5 +58,4 @@ interface Folder extends ID {
58
58
  children: Node[];
59
59
  }
60
60
  //#endregion
61
- export { Separator as a, Root as i, Item as n, Node as r, Folder as t };
62
- //# sourceMappingURL=definitions-DuxDer_c.d.ts.map
61
+ export { Separator as a, Root as i, Item as n, Node as r, Folder as t };
@@ -1,5 +1,5 @@
1
1
  import { LinkProps } from "./link.js";
2
- import * as react4 from "react";
2
+ import * as react from "react";
3
3
 
4
4
  //#region src/dynamic-link.d.ts
5
5
  type DynamicLinkProps = LinkProps;
@@ -8,7 +8,6 @@ type DynamicLinkProps = LinkProps;
8
8
  *
9
9
  * It supports dynamic hrefs, which means you can use `/[lang]/my-page` with `dynamicHrefs` enabled
10
10
  */
11
- declare const DynamicLink: react4.ForwardRefExoticComponent<LinkProps & react4.RefAttributes<HTMLAnchorElement>>;
11
+ declare const DynamicLink: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
12
12
  //#endregion
13
- export { DynamicLink, DynamicLink as default, DynamicLinkProps };
14
- //# sourceMappingURL=dynamic-link.d.ts.map
13
+ export { DynamicLink, DynamicLink as default, DynamicLinkProps };
@@ -27,8 +27,6 @@ const DynamicLink = forwardRef(({ href, ...props }, ref) => {
27
27
  });
28
28
  });
29
29
  DynamicLink.displayName = "DynamicLink";
30
- var dynamic_link_default = DynamicLink;
31
30
 
32
31
  //#endregion
33
- export { DynamicLink, dynamic_link_default as default };
34
- //# sourceMappingURL=dynamic-link.js.map
32
+ export { DynamicLink, DynamicLink as default };
@@ -16,5 +16,4 @@ async function fetchDocs(query, { api = "/api/search", locale, tag }) {
16
16
  }
17
17
 
18
18
  //#endregion
19
- export { fetchDocs };
20
- //# sourceMappingURL=fetch-B5e9CFfN.js.map
19
+ export { fetchDocs };
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, FC, ReactNode } from "react";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import { StaticImport } from "next/dist/shared/lib/get-img-props";
4
4
 
5
5
  //#region src/framework/index.d.ts
@@ -39,12 +39,11 @@ declare function FrameworkProvider({
39
39
  children
40
40
  }: Framework & {
41
41
  children: ReactNode;
42
- }): react_jsx_runtime1.JSX.Element;
42
+ }): react_jsx_runtime0.JSX.Element;
43
43
  declare function usePathname(): string;
44
44
  declare function useRouter(): Router;
45
45
  declare function useParams(): Record<string, string | string[]>;
46
- declare function Image(props: ImageProps): react_jsx_runtime1.JSX.Element;
47
- declare function Link(props: LinkProps): react_jsx_runtime1.JSX.Element;
46
+ declare function Image(props: ImageProps): react_jsx_runtime0.JSX.Element;
47
+ declare function Link(props: LinkProps): react_jsx_runtime0.JSX.Element;
48
48
  //#endregion
49
- export { Framework, FrameworkProvider, Image, ImageProps, Link, Router, useParams, usePathname, useRouter };
50
- //# sourceMappingURL=index.d.ts.map
49
+ export { Framework, FrameworkProvider, Image, ImageProps, Link, Router, useParams, usePathname, useRouter };
@@ -12,20 +12,20 @@ const FrameworkContext = createContext({
12
12
  useRouter: notImplemented,
13
13
  usePathname: notImplemented
14
14
  });
15
- function FrameworkProvider({ Link: Link$1, useRouter: useRouter$1, useParams: useParams$1, usePathname: usePathname$1, Image: Image$1, children }) {
15
+ function FrameworkProvider({ Link, useRouter, useParams, usePathname, Image, children }) {
16
16
  return /* @__PURE__ */ jsx(FrameworkContext, {
17
17
  value: useMemo(() => ({
18
- usePathname: usePathname$1,
19
- useRouter: useRouter$1,
20
- Link: Link$1,
21
- Image: Image$1,
22
- useParams: useParams$1
18
+ usePathname,
19
+ useRouter,
20
+ Link,
21
+ Image,
22
+ useParams
23
23
  }), [
24
- Link$1,
25
- usePathname$1,
26
- useRouter$1,
27
- useParams$1,
28
- Image$1
24
+ Link,
25
+ usePathname,
26
+ useRouter,
27
+ useParams,
28
+ Image
29
29
  ]),
30
30
  children
31
31
  });
@@ -40,8 +40,8 @@ function useParams() {
40
40
  return use(FrameworkContext).useParams();
41
41
  }
42
42
  function Image(props) {
43
- const { Image: Image$1 } = use(FrameworkContext);
44
- if (!Image$1) {
43
+ const { Image } = use(FrameworkContext);
44
+ if (!Image) {
45
45
  const { src, alt, priority, ...rest } = props;
46
46
  return /* @__PURE__ */ jsx("img", {
47
47
  alt,
@@ -50,20 +50,19 @@ function Image(props) {
50
50
  ...rest
51
51
  });
52
52
  }
53
- return /* @__PURE__ */ jsx(Image$1, { ...props });
53
+ return /* @__PURE__ */ jsx(Image, { ...props });
54
54
  }
55
55
  function Link(props) {
56
- const { Link: Link$1 } = use(FrameworkContext);
57
- if (!Link$1) {
56
+ const { Link } = use(FrameworkContext);
57
+ if (!Link) {
58
58
  const { href, prefetch: _, ...rest } = props;
59
59
  return /* @__PURE__ */ jsx("a", {
60
60
  href,
61
61
  ...rest
62
62
  });
63
63
  }
64
- return /* @__PURE__ */ jsx(Link$1, { ...props });
64
+ return /* @__PURE__ */ jsx(Link, { ...props });
65
65
  }
66
66
 
67
67
  //#endregion
68
- export { FrameworkProvider, Image, Link, useParams, usePathname, useRouter };
69
- //# sourceMappingURL=index.js.map
68
+ export { FrameworkProvider, Image, Link, useParams, usePathname, useRouter };
@@ -1,6 +1,6 @@
1
1
  import { Framework } from "./index.js";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime7 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/framework/next.d.ts
6
6
  declare function NextProvider({
@@ -11,7 +11,6 @@ declare function NextProvider({
11
11
  children: ReactNode;
12
12
  Link?: Framework['Link'];
13
13
  Image?: Framework['Image'];
14
- }): react_jsx_runtime7.JSX.Element;
14
+ }): react_jsx_runtime0.JSX.Element;
15
15
  //#endregion
16
- export { NextProvider };
17
- //# sourceMappingURL=next.d.ts.map
16
+ export { NextProvider };
@@ -19,5 +19,4 @@ function NextProvider({ children, Link: CustomLink, Image: CustomImage }) {
19
19
  }
20
20
 
21
21
  //#endregion
22
- export { NextProvider };
23
- //# sourceMappingURL=next.js.map
22
+ export { NextProvider };
@@ -13,5 +13,4 @@ declare function ReactRouterProvider({
13
13
  Image?: Framework['Image'];
14
14
  }): react_jsx_runtime0.JSX.Element;
15
15
  //#endregion
16
- export { ReactRouterProvider };
17
- //# sourceMappingURL=react-router.d.ts.map
16
+ export { ReactRouterProvider };
@@ -42,5 +42,4 @@ function ReactRouterProvider({ children, Link: CustomLink, Image: CustomImage })
42
42
  }
43
43
 
44
44
  //#endregion
45
- export { ReactRouterProvider };
46
- //# sourceMappingURL=react-router.js.map
45
+ export { ReactRouterProvider };
@@ -1,10 +1,10 @@
1
1
  import { Framework } from "./index.js";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime8 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/framework/tanstack.d.ts
6
6
  /**
7
- * Fumadocs adapter for Tanstack Router/Start
7
+ * Hanzo Docs adapter for Tanstack Router/Start
8
8
  */
9
9
  declare function TanstackProvider({
10
10
  children,
@@ -14,7 +14,6 @@ declare function TanstackProvider({
14
14
  children: ReactNode;
15
15
  Link?: Framework['Link'];
16
16
  Image?: Framework['Image'];
17
- }): react_jsx_runtime8.JSX.Element;
17
+ }): react_jsx_runtime0.JSX.Element;
18
18
  //#endregion
19
- export { TanstackProvider };
20
- //# sourceMappingURL=tanstack.d.ts.map
19
+ export { TanstackProvider };
@@ -41,7 +41,7 @@ const framework = {
41
41
  }
42
42
  };
43
43
  /**
44
- * Fumadocs adapter for Tanstack Router/Start
44
+ * Hanzo Docs adapter for Tanstack Router/Start
45
45
  */
46
46
  function TanstackProvider({ children, Link: CustomLink, Image: CustomImage }) {
47
47
  return /* @__PURE__ */ jsx(FrameworkProvider, {
@@ -53,5 +53,4 @@ function TanstackProvider({ children, Link: CustomLink, Image: CustomImage }) {
53
53
  }
54
54
 
55
55
  //#endregion
56
- export { TanstackProvider };
57
- //# sourceMappingURL=tanstack.js.map
56
+ export { TanstackProvider };
@@ -13,5 +13,4 @@ declare function WakuProvider({
13
13
  Image?: Framework['Image'];
14
14
  }): react_jsx_runtime0.JSX.Element;
15
15
  //#endregion
16
- export { WakuProvider };
17
- //# sourceMappingURL=waku.d.ts.map
16
+ export { WakuProvider };
@@ -48,5 +48,4 @@ function WakuProvider({ children, Link: CustomLink, Image: CustomImage }) {
48
48
  }
49
49
 
50
50
  //#endregion
51
- export { WakuProvider };
52
- //# sourceMappingURL=waku.js.map
51
+ export { WakuProvider };
@@ -0,0 +1,15 @@
1
+ //#region src/mdx-plugins/hast-utils.ts
2
+ /**
3
+ * Visit a node with filtered tag names
4
+ */
5
+ function visit(node, tagNames, handler) {
6
+ if (node.type === "element" && tagNames.includes(node.tagName)) {
7
+ if (handler(node) === "skip") return;
8
+ }
9
+ if ("children" in node) node.children.forEach((n) => {
10
+ visit(n, tagNames, handler);
11
+ });
12
+ }
13
+
14
+ //#endregion
15
+ export { visit as t };
@@ -1,8 +1,7 @@
1
- import { t as HighlightOptions } from "../shiki-CIBQys54.js";
1
+ import { HighlightOptions } from "./index.js";
2
2
  import { DependencyList, ReactNode } from "react";
3
3
 
4
4
  //#region src/highlight/client.d.ts
5
-
6
5
  /**
7
6
  * get highlighted results, should be used with React Suspense API.
8
7
  *
@@ -10,5 +9,4 @@ import { DependencyList, ReactNode } from "react";
10
9
  */
11
10
  declare function useShiki(code: string, options: HighlightOptions, deps?: DependencyList): ReactNode;
12
11
  //#endregion
13
- export { useShiki };
14
- //# sourceMappingURL=client.d.ts.map
12
+ export { useShiki };
@@ -1,26 +1,20 @@
1
1
  'use client';
2
2
 
3
- import { i as highlight } from "../shiki-4oMYwHED.js";
4
- import { use, useMemo } from "react";
3
+ import { configDefault } from "./index.js";
4
+ import { useShiki as useShiki$1 } from "./core/client.js";
5
5
 
6
6
  //#region src/highlight/client.tsx
7
- const promises = {};
8
7
  /**
9
8
  * get highlighted results, should be used with React Suspense API.
10
9
  *
11
10
  * note: results are cached with (lang, code) as keys, if this is not the desired behaviour, pass a `deps` instead.
12
11
  */
13
12
  function useShiki(code, options, deps) {
14
- const key = useMemo(() => {
15
- return deps ? JSON.stringify(deps) : `${options.lang}:${code}`;
16
- }, [
17
- code,
18
- deps,
19
- options.lang
20
- ]);
21
- return use(promises[key] ??= highlight(code, options));
13
+ return useShiki$1(code, {
14
+ config: configDefault,
15
+ ...options
16
+ }, deps);
22
17
  }
23
18
 
24
19
  //#endregion
25
- export { useShiki };
26
- //# sourceMappingURL=client.js.map
20
+ export { useShiki };
@@ -0,0 +1,15 @@
1
+ import { t as Awaitable } from "../types-BSnJn7kF.js";
2
+ import { BundledTheme, CodeOptionsThemes, HighlighterCore } from "shiki";
3
+
4
+ //#region src/highlight/config.d.ts
5
+ interface ShikiConfig {
6
+ createHighlighter: () => Awaitable<HighlighterCore>;
7
+ defaultThemes: CodeOptionsThemes<BundledTheme>;
8
+ }
9
+ interface ResolvedShikiConfig extends ShikiConfig {
10
+ id: symbol;
11
+ }
12
+ /** define shared configurations for Shiki */
13
+ declare function defineShikiConfig(config: ShikiConfig): ResolvedShikiConfig;
14
+ //#endregion
15
+ export { ResolvedShikiConfig, ShikiConfig, defineShikiConfig };