boltdocs 2.8.3 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. package/bin/boltdocs.js +7 -6
  2. package/dist/{banner-MynZD_Ox.d.cts → banner-C_xkGxzI.d.cts} +1 -1
  3. package/dist/{banner-3N4Jd_L9.d.ts → banner-D2NddBfF.d.ts} +1 -1
  4. package/dist/cache-C2PiGyg8.cjs +6 -0
  5. package/dist/cache-DFW4R3S0.mjs +6 -0
  6. package/dist/chunk-Ds5LZdWN.cjs +6 -0
  7. package/dist/client/index.cjs +693 -488
  8. package/dist/client/index.d.cts +74 -8
  9. package/dist/client/index.d.ts +74 -8
  10. package/dist/client/index.js +692 -489
  11. package/dist/client/mdx.cjs +1 -1
  12. package/dist/client/mdx.js +1 -1
  13. package/dist/client/primitives.cjs +4 -4
  14. package/dist/client/primitives.d.cts +1 -1
  15. package/dist/client/primitives.d.ts +1 -1
  16. package/dist/client/primitives.js +4 -4
  17. package/dist/client/theme/neutral.css +5 -3
  18. package/dist/client/theme/reset.css +19 -0
  19. package/dist/{docs-layout-CwCq42Zt.cjs → docs-layout-3TpAt6MB.cjs} +302 -248
  20. package/dist/{docs-layout-Dn6S5g59.js → docs-layout-6FQ8__ok.js} +303 -249
  21. package/dist/doctor-BY1tSmQd.mjs +34 -0
  22. package/dist/{doctor-DyNUVe96.cjs → doctor-Bknon8f5.cjs} +1 -1
  23. package/dist/doctor-DcFLi4t1.cjs +34 -0
  24. package/dist/{doctor-aN_leTbh.mjs → doctor-wsPTzt8Y.mjs} +1 -1
  25. package/dist/{generator-CC2yHzhZ.cjs → generator-BEIF6MOx.cjs} +2 -2
  26. package/dist/{generator-BHCrLU6h.mjs → generator-DILs0EFN.mjs} +1 -1
  27. package/dist/handler-B31cxNw0.mjs +6 -0
  28. package/dist/handler-DfhH9D1b.mjs +28 -0
  29. package/dist/handler-Djy0HfsI.cjs +28 -0
  30. package/dist/{icons-dev-DvJ-hh9x.cjs → icons-dev-BryEFkJu.cjs} +96 -7
  31. package/dist/{icons-dev-Oju24Wjp.js → icons-dev-kJyGWNeg.js} +79 -8
  32. package/dist/{image-Ch4-GxdO.cjs → image-B9YA_oQ_.cjs} +24 -10
  33. package/dist/{image-Do8V9PCW.js → image-CjYu9Eml.js} +24 -10
  34. package/dist/{mdx-5oeCOFhH.js → mdx-Cy_c2zio.js} +116 -33
  35. package/dist/{mdx-BGM7LjW5.cjs → mdx-WXjAMS8Y.cjs} +121 -32
  36. package/dist/{meta-loader-Cv9O0Pzl.cjs → meta-loader-D0V6oOQt.cjs} +1 -1
  37. package/dist/node/cli-entry.cjs +3 -3
  38. package/dist/node/cli-entry.mjs +3 -3
  39. package/dist/node/index.cjs +1 -1
  40. package/dist/node/index.d.cts +368 -24
  41. package/dist/node/index.d.mts +369 -24
  42. package/dist/node/index.mjs +1 -1
  43. package/dist/node/routes/worker.cjs +1 -1
  44. package/dist/node/routes/worker.mjs +1 -1
  45. package/dist/node-DV-EPtMU.mjs +160 -0
  46. package/dist/node-vOVNRABe.cjs +160 -0
  47. package/dist/{package-CHxJV4Jy.mjs → package-BK_82QLX.mjs} +1 -1
  48. package/dist/{package-B_SoaGeu.cjs → package-OxKE0p6j.cjs} +1 -1
  49. package/dist/{parser-B7-6PyQz.cjs → parser-C2Pw18LY.cjs} +1 -1
  50. package/dist/{parser-BzB-zCkF.cjs → parser-DJoEF96Y.cjs} +1 -1
  51. package/dist/{parser-D0PVghVt.mjs → parser-DScG_PTs.mjs} +1 -1
  52. package/dist/routes--LYHSHT7.cjs +6 -0
  53. package/dist/routes-BAsfsn_e.mjs +6 -0
  54. package/dist/routes-C6Kr2HFN.cjs +6 -0
  55. package/dist/routes-CKgGAy8P.mjs +6 -0
  56. package/dist/{search-dialog-BXVoecTx.cjs → search-dialog-BhXg05Ri.cjs} +1 -1
  57. package/dist/{search-dialog-BYhOov4S.cjs → search-dialog-BsAiQgnx.cjs} +2 -2
  58. package/dist/{search-dialog-C09riYmx.js → search-dialog-CaOO1Q4i.js} +2 -2
  59. package/dist/{search-dialog-CUeAfy-8.cjs → search-dialog-CzwvKoLW.cjs} +1 -1
  60. package/dist/{search-dialog-DHc_8FFX.js → search-dialog-DRNJsxOv.js} +1 -1
  61. package/dist/{search-dialog-D8gLkhUV.js → search-dialog-DaR66wl0.js} +1 -1
  62. package/dist/shiki-adapter-CUtj-xKv.cjs +6 -0
  63. package/dist/shiki-adapter-EZptJAmW.mjs +6 -0
  64. package/dist/shiki-adapter-F-P-lDon.mjs +6 -0
  65. package/dist/shiki-adapter-PQBl32AN.cjs +6 -0
  66. package/dist/{sidebar-Dlkgbxs6.d.cts → sidebar-BtJyWHy4.d.cts} +43 -4
  67. package/dist/{sidebar-DNq4_ZAa.d.ts → sidebar-C4fuRYYS.d.ts} +43 -4
  68. package/dist/{utils-BYITg7T5.mjs → utils-DC4Wq-S2.mjs} +1 -1
  69. package/dist/{utils-Cjmx1hhk.cjs → utils-wHud9ny5.cjs} +1 -1
  70. package/dist/worker-pool-BS1LX67P.cjs +6 -0
  71. package/dist/worker-pool-DRv8ef4z.mjs +6 -0
  72. package/package.json +7 -3
  73. package/src/shared/types.ts +36 -3
  74. package/dist/cache-BMUyNiiA.mjs +0 -6
  75. package/dist/cache-CKm45d2w.cjs +0 -6
  76. package/dist/chunk-CU-zTemE.cjs +0 -6
  77. package/dist/doctor-BArviV8X.cjs +0 -28
  78. package/dist/doctor-CgLA7_Uv.mjs +0 -28
  79. package/dist/node-MsTvOgJN.mjs +0 -159
  80. package/dist/node-h9HmhAFB.cjs +0 -159
  81. package/dist/routes-BW6Dif_K.mjs +0 -6
  82. package/dist/routes-DJNJ-rTt.cjs +0 -6
  83. package/dist/routes-DiYC4nD2.cjs +0 -6
  84. package/dist/routes-ERSGuFQK.mjs +0 -6
  85. package/dist/worker-pool-CtqklOXq.cjs +0 -6
  86. package/dist/worker-pool-k0DY6k8T.mjs +0 -6
  87. /package/dist/{meta-loader-DzwDFtdT.mjs → meta-loader-By22EnYa.mjs} +0 -0
@@ -1,6 +1,6 @@
1
1
 
2
- import { A as BoltdocsRoutePathWithFallback, C as SiteConfig, D as BoltdocsLocale, E as BoltdocsIntegrationsConfig, M as BoltdocsTypes, N as BoltdocsVersion, O as BoltdocsMdxComponents, S as SidebarProps, T as BoltdocsConfig, _ as CollectionPostLoaderData, b as NavbarLink, g as CollectionListLoaderData, h as BoltdocsTab, j as BoltdocsSocialLink, k as BoltdocsRoutePath, v as ComponentRoute, w as TabsProps, x as OnThisPageProps, y as LayoutProps } from "../sidebar-Dlkgbxs6.cjs";
3
- import { a as ErrorBoundary, c as OnThisPage, i as CopyMarkdown, l as Sidebar, n as NotFound, o as PageNav, r as SearchDialog, s as Breadcrumbs, t as Banner, u as Navbar } from "../banner-MynZD_Ox.cjs";
2
+ import { A as BoltdocsRoutePathWithFallback, C as SiteConfig, D as BoltdocsLocale, E as BoltdocsIntegrationsConfig, M as BoltdocsTypes, N as BoltdocsVersion, O as BoltdocsMdxComponents, S as SidebarProps, T as BoltdocsConfig, _ as CollectionPostLoaderData, b as NavbarLink, g as CollectionListLoaderData, h as BoltdocsTab, j as BoltdocsSocialLink, k as BoltdocsRoutePath, v as ComponentRoute, w as TabsProps, x as OnThisPageProps, y as LayoutProps } from "../sidebar-BtJyWHy4.cjs";
3
+ import { a as ErrorBoundary, c as OnThisPage, i as CopyMarkdown, l as Sidebar, n as NotFound, o as PageNav, r as SearchDialog, s as Breadcrumbs, t as Banner, u as Navbar } from "../banner-C_xkGxzI.cjs";
4
4
  import * as _$react from "react";
5
5
  import React$1, { ComponentType, JSXElementConstructor, ReactNode } from "react";
6
6
  import { RouteRecord, ViteReactSSG } from "@bdocs/ssg";
@@ -66,11 +66,13 @@ declare function MdxPage({
66
66
  declare function BoltdocsShell({
67
67
  config,
68
68
  routes,
69
- components
69
+ components,
70
+ collectionsData
70
71
  }: {
71
72
  config: BoltdocsConfig;
72
73
  routes: ComponentRoute[];
73
74
  components?: Record<string, React.ComponentType>;
75
+ collectionsData?: CollectionsData;
74
76
  }): _$react_jsx_runtime0.JSX.Element;
75
77
  //#endregion
76
78
  //#region src/client/app/config-context.d.ts
@@ -190,10 +192,6 @@ interface UseI18nReturn {
190
192
  declare function useI18n(): UseI18nReturn;
191
193
  //#endregion
192
194
  //#region src/client/hooks/use-page-nav.d.ts
193
- /**
194
- * Hook to manage the previous and next button functionality for documentation pages.
195
- * Intelligent: respects current locale, version, and tab to keep navigation logical.
196
- */
197
195
  declare function usePageNav(): {
198
196
  prevPage: null;
199
197
  nextPage: null;
@@ -298,6 +296,33 @@ declare function useHeadings(): {
298
296
  //#region src/client/hooks/use-merged-components.d.ts
299
297
  declare function useMergedComponents(propComponents?: Record<string, ComponentType<any>>): MdxComponentsType;
300
298
  //#endregion
299
+ //#region src/client/hooks/use-feedback.d.ts
300
+ interface FeedbackData {
301
+ rating: 'good' | 'neutral' | 'bad';
302
+ comment?: string;
303
+ path: string;
304
+ title: string;
305
+ blockId?: string;
306
+ }
307
+ interface UseFeedbackOptions {
308
+ endpoint?: string;
309
+ onSubmit?: (data: FeedbackData) => void | Promise<void>;
310
+ }
311
+ /**
312
+ * Hook for managing the feedback rating form state and submission.
313
+ * Resets automatically when navigating to a new page.
314
+ */
315
+ declare function useFeedback(options?: UseFeedbackOptions): {
316
+ rating: "good" | "neutral" | "bad" | null;
317
+ setRating: _$react.Dispatch<_$react.SetStateAction<"good" | "neutral" | "bad" | null>>;
318
+ comment: string;
319
+ setComment: _$react.Dispatch<_$react.SetStateAction<string>>;
320
+ loading: boolean;
321
+ submitted: boolean;
322
+ error: string | null;
323
+ submit: (commentOverride?: string, blockId?: string) => Promise<void>;
324
+ };
325
+ //#endregion
301
326
  //#region src/client/components/docs-layout-default.d.ts
302
327
  interface DocsLayoutThemeProps {
303
328
  children?: React.ReactNode;
@@ -366,4 +391,45 @@ declare const copyToClipboard: (text: string) => Promise<boolean>;
366
391
  */
367
392
  declare function getStarsRepo(repo: string, token?: string, baseUrl?: string): Promise<string>;
368
393
  //#endregion
369
- export { Banner, BoltdocsConfig, type BoltdocsLocale, BoltdocsRoutePath, BoltdocsRoutePathWithFallback, BoltdocsShell, BoltdocsTab, type BoltdocsTypes, type BoltdocsVersion, Breadcrumbs, type CollectionListLoaderData, type CollectionPost$1 as CollectionPost, type CollectionPostLoaderData, CollectionsContext, type CollectionsData, ComponentRoute, CopyMarkdown, DocsLayoutComponent as DocsLayout, ErrorBoundary, LayoutProps, MdxPage, Navbar, NavbarLink, NotFound, OnThisPage, OnThisPageProps, PageNav, SearchDialog, Sidebar, SidebarProps, SiteConfig, TabsProps, ViteReactSSG, cn, copyToClipboard, createRoutes, getStarsRepo, getTranslated, reactToText, useAnalytics, useBreadcrumbs, useConfig, useHeadings, useI18n, useLocalizedTo, useLocation, useMdxComponents, useMergedComponents, useNavbar, usePageNav, usePost, usePosts, useRecentPosts, useRoutes, useSearch, useSearchHighlight, useSidebar, useTabs, useTheme, useTrackEvent, useTrackPageView, useUI, useVersion };
394
+ //#region src/client/components/mdx/code-block.d.ts
395
+ interface CodeBlockProps {
396
+ children?: React.ReactNode;
397
+ className?: string;
398
+ hideCopy?: boolean;
399
+ title?: string;
400
+ lang?: string;
401
+ highlightedHtml?: string;
402
+ 'data-lang'?: string;
403
+ 'data-title'?: string;
404
+ 'data-highlighted'?: string;
405
+ 'data-highlighted-html'?: string;
406
+ plain?: boolean;
407
+ lineNumbers?: boolean | string;
408
+ showLineNumbers?: boolean | string;
409
+ wordWrap?: boolean | string;
410
+ 'word-wrap'?: boolean | string;
411
+ metastring?: string;
412
+ }
413
+ //#endregion
414
+ //#region src/client/components/mdx/use-code-block.d.ts
415
+ declare function useCodeBlock(props: CodeBlockProps): {
416
+ copied: boolean;
417
+ isExpanded: boolean;
418
+ setIsExpanded: _$react.Dispatch<_$react.SetStateAction<boolean>>;
419
+ isExpandable: boolean;
420
+ preRef: _$react.RefObject<HTMLPreElement | HTMLDivElement | null>;
421
+ handleCopy: () => Promise<void>;
422
+ shouldTruncate: boolean;
423
+ isHighlighted: boolean;
424
+ effectiveHighlightedHtml: string | undefined;
425
+ effectiveTitle: string | undefined;
426
+ lang: string;
427
+ showCodeBlockFeedback: boolean;
428
+ rated: "up" | "down" | null;
429
+ handleRate: (type: "up" | "down") => Promise<void>;
430
+ LangIcon: _$react.ComponentType<{
431
+ size?: number;
432
+ }>;
433
+ };
434
+ //#endregion
435
+ export { Banner, BoltdocsConfig, type BoltdocsLocale, BoltdocsRoutePath, BoltdocsRoutePathWithFallback, BoltdocsShell, BoltdocsTab, type BoltdocsTypes, type BoltdocsVersion, Breadcrumbs, type CollectionListLoaderData, type CollectionPost$1 as CollectionPost, type CollectionPostLoaderData, CollectionsContext, type CollectionsData, ComponentRoute, CopyMarkdown, DocsLayoutComponent as DocsLayout, ErrorBoundary, LayoutProps, MdxPage, Navbar, NavbarLink, NotFound, OnThisPage, OnThisPageProps, PageNav, SearchDialog, Sidebar, SidebarProps, SiteConfig, TabsProps, ViteReactSSG, cn, copyToClipboard, createRoutes, getStarsRepo, getTranslated, reactToText, useAnalytics, useBreadcrumbs, useCodeBlock, useConfig, useFeedback, useHeadings, useI18n, useLocalizedTo, useLocation, useMdxComponents, useMergedComponents, useNavbar, usePageNav, usePost, usePosts, useRecentPosts, useRoutes, useSearch, useSearchHighlight, useSidebar, useTabs, useTheme, useTrackEvent, useTrackPageView, useUI, useVersion };
@@ -1,6 +1,6 @@
1
1
 
2
- import { A as BoltdocsRoutePathWithFallback, C as SiteConfig, D as BoltdocsLocale, E as BoltdocsIntegrationsConfig, M as BoltdocsTypes, N as BoltdocsVersion, O as BoltdocsMdxComponents, S as SidebarProps, T as BoltdocsConfig, _ as CollectionPostLoaderData, b as NavbarLink, g as CollectionListLoaderData, h as BoltdocsTab, j as BoltdocsSocialLink, k as BoltdocsRoutePath, v as ComponentRoute, w as TabsProps, x as OnThisPageProps, y as LayoutProps } from "../sidebar-DNq4_ZAa.js";
3
- import { a as ErrorBoundary, c as OnThisPage, i as CopyMarkdown, l as Sidebar, n as NotFound, o as PageNav, r as SearchDialog, s as Breadcrumbs, t as Banner, u as Navbar } from "../banner-3N4Jd_L9.js";
2
+ import { A as BoltdocsRoutePathWithFallback, C as SiteConfig, D as BoltdocsLocale, E as BoltdocsIntegrationsConfig, M as BoltdocsTypes, N as BoltdocsVersion, O as BoltdocsMdxComponents, S as SidebarProps, T as BoltdocsConfig, _ as CollectionPostLoaderData, b as NavbarLink, g as CollectionListLoaderData, h as BoltdocsTab, j as BoltdocsSocialLink, k as BoltdocsRoutePath, v as ComponentRoute, w as TabsProps, x as OnThisPageProps, y as LayoutProps } from "../sidebar-C4fuRYYS.js";
3
+ import { a as ErrorBoundary, c as OnThisPage, i as CopyMarkdown, l as Sidebar, n as NotFound, o as PageNav, r as SearchDialog, s as Breadcrumbs, t as Banner, u as Navbar } from "../banner-D2NddBfF.js";
4
4
  import { RouteRecord, ViteReactSSG } from "@bdocs/ssg";
5
5
  import * as _$react from "react";
6
6
  import React$1, { ComponentType, JSXElementConstructor, ReactNode } from "react";
@@ -66,11 +66,13 @@ declare function MdxPage({
66
66
  declare function BoltdocsShell({
67
67
  config,
68
68
  routes,
69
- components
69
+ components,
70
+ collectionsData
70
71
  }: {
71
72
  config: BoltdocsConfig;
72
73
  routes: ComponentRoute[];
73
74
  components?: Record<string, React.ComponentType>;
75
+ collectionsData?: CollectionsData;
74
76
  }): _$react_jsx_runtime0.JSX.Element;
75
77
  //#endregion
76
78
  //#region src/client/app/config-context.d.ts
@@ -190,10 +192,6 @@ interface UseI18nReturn {
190
192
  declare function useI18n(): UseI18nReturn;
191
193
  //#endregion
192
194
  //#region src/client/hooks/use-page-nav.d.ts
193
- /**
194
- * Hook to manage the previous and next button functionality for documentation pages.
195
- * Intelligent: respects current locale, version, and tab to keep navigation logical.
196
- */
197
195
  declare function usePageNav(): {
198
196
  prevPage: null;
199
197
  nextPage: null;
@@ -298,6 +296,33 @@ declare function useHeadings(): {
298
296
  //#region src/client/hooks/use-merged-components.d.ts
299
297
  declare function useMergedComponents(propComponents?: Record<string, ComponentType<any>>): MdxComponentsType;
300
298
  //#endregion
299
+ //#region src/client/hooks/use-feedback.d.ts
300
+ interface FeedbackData {
301
+ rating: 'good' | 'neutral' | 'bad';
302
+ comment?: string;
303
+ path: string;
304
+ title: string;
305
+ blockId?: string;
306
+ }
307
+ interface UseFeedbackOptions {
308
+ endpoint?: string;
309
+ onSubmit?: (data: FeedbackData) => void | Promise<void>;
310
+ }
311
+ /**
312
+ * Hook for managing the feedback rating form state and submission.
313
+ * Resets automatically when navigating to a new page.
314
+ */
315
+ declare function useFeedback(options?: UseFeedbackOptions): {
316
+ rating: "good" | "neutral" | "bad" | null;
317
+ setRating: _$react.Dispatch<_$react.SetStateAction<"good" | "neutral" | "bad" | null>>;
318
+ comment: string;
319
+ setComment: _$react.Dispatch<_$react.SetStateAction<string>>;
320
+ loading: boolean;
321
+ submitted: boolean;
322
+ error: string | null;
323
+ submit: (commentOverride?: string, blockId?: string) => Promise<void>;
324
+ };
325
+ //#endregion
301
326
  //#region src/client/components/docs-layout-default.d.ts
302
327
  interface DocsLayoutThemeProps {
303
328
  children?: React.ReactNode;
@@ -366,4 +391,45 @@ declare const copyToClipboard: (text: string) => Promise<boolean>;
366
391
  */
367
392
  declare function getStarsRepo(repo: string, token?: string, baseUrl?: string): Promise<string>;
368
393
  //#endregion
369
- export { Banner, BoltdocsConfig, type BoltdocsLocale, BoltdocsRoutePath, BoltdocsRoutePathWithFallback, BoltdocsShell, BoltdocsTab, type BoltdocsTypes, type BoltdocsVersion, Breadcrumbs, type CollectionListLoaderData, type CollectionPost$1 as CollectionPost, type CollectionPostLoaderData, CollectionsContext, type CollectionsData, ComponentRoute, CopyMarkdown, DocsLayoutComponent as DocsLayout, ErrorBoundary, LayoutProps, MdxPage, Navbar, NavbarLink, NotFound, OnThisPage, OnThisPageProps, PageNav, SearchDialog, Sidebar, SidebarProps, SiteConfig, TabsProps, ViteReactSSG, cn, copyToClipboard, createRoutes, getStarsRepo, getTranslated, reactToText, useAnalytics, useBreadcrumbs, useConfig, useHeadings, useI18n, useLocalizedTo, useLocation, useMdxComponents, useMergedComponents, useNavbar, usePageNav, usePost, usePosts, useRecentPosts, useRoutes, useSearch, useSearchHighlight, useSidebar, useTabs, useTheme, useTrackEvent, useTrackPageView, useUI, useVersion };
394
+ //#region src/client/components/mdx/code-block.d.ts
395
+ interface CodeBlockProps {
396
+ children?: React.ReactNode;
397
+ className?: string;
398
+ hideCopy?: boolean;
399
+ title?: string;
400
+ lang?: string;
401
+ highlightedHtml?: string;
402
+ 'data-lang'?: string;
403
+ 'data-title'?: string;
404
+ 'data-highlighted'?: string;
405
+ 'data-highlighted-html'?: string;
406
+ plain?: boolean;
407
+ lineNumbers?: boolean | string;
408
+ showLineNumbers?: boolean | string;
409
+ wordWrap?: boolean | string;
410
+ 'word-wrap'?: boolean | string;
411
+ metastring?: string;
412
+ }
413
+ //#endregion
414
+ //#region src/client/components/mdx/use-code-block.d.ts
415
+ declare function useCodeBlock(props: CodeBlockProps): {
416
+ copied: boolean;
417
+ isExpanded: boolean;
418
+ setIsExpanded: _$react.Dispatch<_$react.SetStateAction<boolean>>;
419
+ isExpandable: boolean;
420
+ preRef: _$react.RefObject<HTMLPreElement | HTMLDivElement | null>;
421
+ handleCopy: () => Promise<void>;
422
+ shouldTruncate: boolean;
423
+ isHighlighted: boolean;
424
+ effectiveHighlightedHtml: string | undefined;
425
+ effectiveTitle: string | undefined;
426
+ lang: string;
427
+ showCodeBlockFeedback: boolean;
428
+ rated: "up" | "down" | null;
429
+ handleRate: (type: "up" | "down") => Promise<void>;
430
+ LangIcon: _$react.ComponentType<{
431
+ size?: number;
432
+ }>;
433
+ };
434
+ //#endregion
435
+ export { Banner, BoltdocsConfig, type BoltdocsLocale, BoltdocsRoutePath, BoltdocsRoutePathWithFallback, BoltdocsShell, BoltdocsTab, type BoltdocsTypes, type BoltdocsVersion, Breadcrumbs, type CollectionListLoaderData, type CollectionPost$1 as CollectionPost, type CollectionPostLoaderData, CollectionsContext, type CollectionsData, ComponentRoute, CopyMarkdown, DocsLayoutComponent as DocsLayout, ErrorBoundary, LayoutProps, MdxPage, Navbar, NavbarLink, NotFound, OnThisPage, OnThisPageProps, PageNav, SearchDialog, Sidebar, SidebarProps, SiteConfig, TabsProps, ViteReactSSG, cn, copyToClipboard, createRoutes, getStarsRepo, getTranslated, reactToText, useAnalytics, useBreadcrumbs, useCodeBlock, useConfig, useFeedback, useHeadings, useI18n, useLocalizedTo, useLocation, useMdxComponents, useMergedComponents, useNavbar, usePageNav, usePost, usePosts, useRecentPosts, useRoutes, useSearch, useSearchHighlight, useSidebar, useTabs, useTheme, useTrackEvent, useTrackPageView, useUI, useVersion };