@ox-content/vite-plugin 2.86.0 → 2.88.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.
package/dist/index.d.cts CHANGED
@@ -1,11 +1,20 @@
1
+ import { a as JSXProps, c as jsxs, d as when, i as JSXNode, l as raw, n as JSXChild, o as each, r as JSXElementType, s as jsx, t as Fragment, u as renderToString } from "./jsx-html.cjs";
1
2
  import { EnvironmentOptions, Plugin } from "vite";
2
3
  import { LanguageRegistration, LanguageRegistration as LanguageRegistration$1, ThemeRegistration, ThemeRegistration as ThemeRegistration$1 } from "shiki";
3
- //#region src/theme.d.ts
4
+ //#region src/theme-tokens.d.ts
4
5
  /**
5
- * Theme API for ox-content SSG
6
+ * Free-form `--octc-*` custom properties for themes that need more than the
7
+ * typed `colors` / `fonts` / `layout` fields.
6
8
  *
7
- * Provides VitePress-like theming with default theme + customization.
9
+ * Keys are written **without** the `--octc-` prefix, so `"surface-glass"`
10
+ * becomes `--octc-surface-glass`. This is the seam that keeps the two theme
11
+ * axes independent: a color package can restyle code-block line markers, brand
12
+ * accents, and surface textures purely through tokens, while a skin package
13
+ * lays out geometry against those same tokens without knowing any color.
8
14
  */
15
+ type ThemeTokens = Record<string, string>;
16
+ //#endregion
17
+ //#region src/theme.d.ts
9
18
  /**
10
19
  * Theme color configuration.
11
20
  */
@@ -162,9 +171,20 @@ interface ThemeConfig {
162
171
  sidebar?: SidebarItem[];
163
172
  /** Embedded HTML content at specific positions */
164
173
  embed?: ThemeEmbed;
165
- /** Additional custom CSS */
174
+ /**
175
+ * Extra `--octc-*` custom properties for light mode, keyed without the
176
+ * prefix. Merged key-by-key across composed layers, so a later layer can
177
+ * restyle one token without redeclaring the rest.
178
+ */
179
+ tokens?: ThemeTokens;
180
+ /** Extra `--octc-*` custom properties for dark mode. */
181
+ darkTokens?: ThemeTokens;
182
+ /**
183
+ * Additional custom CSS. Composed layers **concatenate** this rather than
184
+ * overwrite, so stacking a skin and a color scheme keeps both stylesheets.
185
+ */
166
186
  css?: string;
167
- /** Additional custom JavaScript */
187
+ /** Additional custom JavaScript. Concatenated across composed layers. */
168
188
  js?: string;
169
189
  }
170
190
  /**
@@ -182,6 +202,8 @@ interface ResolvedThemeConfig {
182
202
  socialLinks: SocialLinks;
183
203
  sidebar: SidebarItem[];
184
204
  embed: ThemeEmbed;
205
+ tokens: ThemeTokens;
206
+ darkTokens: ThemeTokens;
185
207
  css: string;
186
208
  js: string;
187
209
  }
@@ -211,16 +233,29 @@ declare function defineTheme(config: ThemeConfig): ThemeConfig;
211
233
  * Merges multiple theme configurations.
212
234
  * Later themes override earlier ones.
213
235
  *
236
+ * Object fields (`colors`, `tokens`, `layout`, …) merge key-by-key, but `css`
237
+ * and `js` **concatenate** in layer order — overwriting them would throw away
238
+ * one half of a `[skin, colorScheme]` stack. Identical fragments are joined
239
+ * once, so a layer reached through both an array and an `extends` chain does
240
+ * not emit its stylesheet twice.
241
+ *
214
242
  * @example
215
243
  * ```ts
216
- * const merged = mergeThemes(defaultTheme, customTheme, overrides);
244
+ * const merged = mergeThemes(defaultTheme, pixelSkin, tokyoNight, overrides);
217
245
  * ```
218
246
  */
219
- declare function mergeThemes(...themes: ThemeConfig[]): ThemeConfig;
247
+ declare function mergeThemes(...themes: (ThemeConfig | ThemeConfig[])[]): ThemeConfig;
220
248
  /**
221
249
  * Resolves a theme configuration by merging with its extends chain and defaults.
250
+ *
251
+ * An array composes independent layers left to right, which is how a skin
252
+ * package and a color package are stacked:
253
+ *
254
+ * ```ts
255
+ * resolveTheme([pixelSkin, tokyoNight, { footer: { copyright: "2026" } }]);
256
+ * ```
222
257
  */
223
- declare function resolveTheme(config?: ThemeConfig): ResolvedThemeConfig;
258
+ declare function resolveTheme(config?: ThemeConfig | ThemeConfig[]): ResolvedThemeConfig;
224
259
  //#endregion
225
260
  //#region src/plugins/github/types.d.ts
226
261
  interface GitHubRepoData {
@@ -711,6 +746,10 @@ interface SsgOptions {
711
746
  * each page's metadata. Configure rendering details with the top-level
712
747
  * `ogImageOptions` option.
713
748
  *
749
+ * Under `bare`, the images are still written but nothing references them,
750
+ * because bare output has no `<head>` to put the `<meta>` tags in — inject
751
+ * them from your own shell.
752
+ *
714
753
  * @default false
715
754
  */
716
755
  generateOgImage?: boolean;
@@ -739,9 +778,16 @@ interface SsgOptions {
739
778
  * Use `defineTheme()` to build this object so custom theme modules and the
740
779
  * default theme extension points keep their expected shape.
741
780
  *
781
+ * An array composes layers left to right, which is how a skin package and a
782
+ * color package are combined:
783
+ *
784
+ * ```ts
785
+ * theme: [pixelSkin, tokyoNight, { footer: { copyright: "2026" } }]
786
+ * ```
787
+ *
742
788
  * @default defaultTheme
743
789
  */
744
- theme?: ThemeConfig;
790
+ theme?: ThemeConfig | ThemeConfig[];
745
791
  /**
746
792
  * Sidebar navigation override.
747
793
  *
@@ -865,7 +911,14 @@ interface OxContentOptions {
865
911
  highlight?: boolean;
866
912
  /**
867
913
  * Syntax highlighting theme.
868
- * @default 'github-dark'
914
+ *
915
+ * Defaults to `'css-variables'`, which renders token colors as `--octc-shiki-*`
916
+ * custom properties so highlighting follows the active color scheme in both
917
+ * light and dark from one build. Without a `@ox-content/theme-color-*`
918
+ * package installed the properties fall back to GitHub Dark. Pass any bundled
919
+ * Shiki theme name to opt out and bake fixed colors in instead.
920
+ *
921
+ * @default 'css-variables'
869
922
  */
870
923
  highlightTheme?: string | ThemeRegistration$1;
871
924
  /**
@@ -3448,103 +3501,6 @@ declare function generateVitePressMigrationConfig(config: VitePressConfig, overr
3448
3501
  */
3449
3502
  declare function normalizeVitePressFrontmatter(frontmatter: Record<string, unknown>): Record<string, unknown>;
3450
3503
  //#endregion
3451
- //#region src/jsx-runtime.d.ts
3452
- /**
3453
- * Custom JSX Runtime for Static HTML Generation
3454
- *
3455
- * This module provides a JSX runtime that outputs static HTML strings.
3456
- * No React, no hydration, no client-side JavaScript - just pure HTML.
3457
- *
3458
- * @example
3459
- * ```tsx
3460
- * // tsconfig.json or vite.config.ts
3461
- * {
3462
- * "compilerOptions": {
3463
- * "jsx": "react-jsx",
3464
- * "jsxImportSource": "@ox-content/vite-plugin"
3465
- * }
3466
- * }
3467
- *
3468
- * // MyComponent.tsx
3469
- * export function Hero({ title }: { title: string }) {
3470
- * return (
3471
- * <section class="hero">
3472
- * <h1>{title}</h1>
3473
- * </section>
3474
- * );
3475
- * }
3476
- * ```
3477
- */
3478
- /**
3479
- * JSX element type - either a string (intrinsic) or a function component.
3480
- */
3481
- type JSXElementType = string | ((props: Record<string, unknown>) => JSXNode);
3482
- /**
3483
- * Valid JSX child types.
3484
- */
3485
- type JSXChild = string | number | boolean | null | undefined | JSXNode | JSXChild[];
3486
- /**
3487
- * JSX node - the result of JSX expressions.
3488
- */
3489
- interface JSXNode {
3490
- __html: string;
3491
- }
3492
- /**
3493
- * Props with children.
3494
- */
3495
- interface JSXProps {
3496
- children?: JSXChild;
3497
- [key: string]: unknown;
3498
- }
3499
- /**
3500
- * Creates a JSX element.
3501
- * This is the core function called by the JSX transform.
3502
- */
3503
- declare function jsx(type: JSXElementType, props: JSXProps, _key?: string): JSXNode;
3504
- /**
3505
- * Creates a JSX element with static children.
3506
- * Called by the JSX transform for elements with multiple children.
3507
- */
3508
- declare function jsxs(type: JSXElementType, props: JSXProps, key?: string): JSXNode;
3509
- /**
3510
- * Fragment component - renders children without a wrapper element.
3511
- */
3512
- declare function Fragment({ children }: {
3513
- children?: JSXChild;
3514
- }): JSXNode;
3515
- /**
3516
- * Renders a JSX node to an HTML string.
3517
- */
3518
- declare function renderToString(node: JSXNode): string;
3519
- /**
3520
- * Creates raw HTML without escaping.
3521
- * Use with caution - only for trusted content.
3522
- *
3523
- * @example
3524
- * ```tsx
3525
- * <div>{raw('<strong>Bold</strong>')}</div>
3526
- * ```
3527
- */
3528
- declare function raw(html: string): JSXNode;
3529
- /**
3530
- * Conditionally renders content.
3531
- *
3532
- * @example
3533
- * ```tsx
3534
- * {when(isLoggedIn, <UserMenu />)}
3535
- * ```
3536
- */
3537
- declare function when(condition: boolean, content: JSXNode): JSXNode;
3538
- /**
3539
- * Maps over an array and renders each item.
3540
- *
3541
- * @example
3542
- * ```tsx
3543
- * {each(items, (item) => <li>{item.name}</li>)}
3544
- * ```
3545
- */
3546
- declare function each<T>(items: T[], render: (item: T, index: number) => JSXNode): JSXNode;
3547
- //#endregion
3548
3504
  //#region src/page-context.d.ts
3549
3505
  /**
3550
3506
  * Base page props available for all pages.
@@ -4056,5 +4012,5 @@ declare function resolveBuiltinEmbedOptions(options: OxContentOptions["embeds"])
4056
4012
  */
4057
4013
  declare function generateVirtualModule(path: string, options: ResolvedOptions): string;
4058
4014
  //#endregion
4059
- export { AttrsOptions, type BasePageProps, BuiltinEmbedOptions, BuiltinPmOptions, CodeAnnotationKind, CodeAnnotationSyntax, CodeAnnotationsOptions, type CodeBlockDiagnostic, CodeBlockLintOptions, CodeBlockTypecheckOptions, CodeImportOptions, type CollectedDocsTest, CollectionEntry, CollectionIncludeField, CollectionManifest, CollectionOptions, CollectionQueryBuilder, CollectionQueryOperator, CollectionsOptions, DEFAULT_HTML_TEMPLATE, DEFAULT_MARKDOWN_EXTENSIONS, DefaultTheme, DocEntry, DocMember, DocsEntryPoint, DocsOptions, DocsSortStrategy, DocsSummary, type DocsTestFileOptions, type DocsTestHarnessOptions, DocsTestOptions, DocsTestRunError, type DocsTestRunResult, type DocsTestSource, type DocsTestWriteResult, EditThisPageOptions, EmojiShortcodeOptions, EntryPageConfig, type ExtractedCodeBlock, ExtractedDocs, FeatureConfig, Fragment, type FrameworkCodegenMode, type FrameworkCodegenTarget, type FrameworkComponentIsland, type FrameworkMarkdownOptions, type FrameworkRenderTarget, type FrameworkTransformData, type FrontmatterSchema, type GenerateVitePressMigrationConfigOptions, GeneratedDocsData, type GitHubLineRange, type GitHubOptions, type GitHubRepoData, type GitHubSourceData, type GitHubSourceRef, HeroAction, HeroConfig, HeroImage, HeroNotice, I18nOptions, type IncrementalMarkdownParseAppendOptions, type IncrementalMarkdownParseResult, IncrementalMarkdownParser, type IncrementalMarkdownParserOptions, type IncrementalMarkdownRenderAppendOptions, type IncrementalMarkdownRenderResult, IncrementalMarkdownRenderer, type IncrementalMarkdownRendererOptions, type IslandInfo, type JSXChild, type JSXElementType, type JSXNode, type JSXProps, type LanguageRegistration, type LoadStrategy, LocaleConfig, type MarkdownChunkSource, MarkdownDisplayFormat, type MarkdownLintFileDiagnostic as MarkdownLintBatchDiagnostic, type MarkdownLintFileDiagnostic, type MarkdownLintDiagnostic, type MarkdownLintDictionaryOptions, type MarkdownLintFileOptions, type MarkdownLintFileOptions as MarkdownLintProjectOptions, type MarkdownLintFileResult, type MarkdownLintFilesResult, type MarkdownLintLanguage, type MarkdownLintOptions, type MarkdownLintResult, type MarkdownLintRuleOptions, type MarkdownLintSeverity, type MarkdownLintStandardDictionaryOptions, MarkdownNode, MarkdownTransformer, type MermaidOptions, type NavGroup, NavItem, type OgBrowserSession, OgImageOptions, type OgImagePageEntry, type OgImageOptions$1 as OgImagePluginOptions, type OgImageResult, type OgImageTemplateFn, type OgImageTemplateProps, type OgpData, type OgpOptions, OxContentOptions, type PageData, type PageProps, ParamDoc, type ParseIslandsResult, type RenderContext, ResolvedAttrsOptions, ResolvedBuiltinEmbedOptions, ResolvedCodeAnnotationsOptions, ResolvedCodeBlockLintOptions, ResolvedCodeBlockTypecheckOptions, ResolvedCodeImportOptions, ResolvedCollectionOptions, ResolvedCollectionsOptions, ResolvedDocsEntryPoint, ResolvedDocsOptions, ResolvedDocsTestOptions, ResolvedEditThisPageOptions, ResolvedEmojiShortcodeOptions, ResolvedI18nOptions, ResolvedOgImageOptions, ResolvedOptions, ResolvedSanitizeOptions, ResolvedSearchOptions, ResolvedSsgOptions, type ResolvedThemeConfig, ResolvedWikiLinkOptions, ReturnDoc, type RunDocsTestsOptions, SanitizeOptions, ScopedSearchQuery, SearchDocument, SearchOptions, SearchResult, type SiteConfig, type SocialLinks, SsgNavigationGroup, SsgNavigationItem, SsgOptions, type ThemeColors, type ThemeComponent, type ThemeConfig, type ThemeEmbed, type ThemeEntryPage, type ThemeFonts, type ThemeFooter, type ThemeHeader, type ThemeLayout, type ThemeProps, type ThemeRegistration, type ThemeRenderOptions, ThrowsDoc, TocEntry, type TransformAllOptions, TransformContext, TransformResult, type TwitterEmbedOptions, type TypecheckCodeBlockOptions, type VitePressConfig, type VitePressFooter, type VitePressLogo, type VitePressNavItem, type VitePressSidebar, type VitePressSidebarItem, type VitePressSocialLink, type VitePressThemeConfig, WikiLinkOptions, type WrittenDocsTestFile, type YouTubeOptions, buildCollectionManifest, buildSearchIndex, buildSsg, clearRenderContext, collectDocsTests, collectGitHubRepos, collectGitHubSources, collectOgpUrls, convertVitePressNav, convertVitePressSidebar, createFrameworkMarkdownOptions, createI18nPlugin, createIncrementalMarkdownParser, createIncrementalMarkdownRenderer, createMarkdownEnvironment, createTheme, defaultTheme, defineCollection, defineCollections, defineTheme, each, escapeSvelteMarkup, extractCodeBlocks, extractDocs, extractDocsTests, extractIslandInfo, extractVideoId, fetchGitHubSource, fetchOgpData, fetchRepoData, fromVitePressConfig, generateCollectionsVirtualModule, generateFrontmatterTypes, generateHydrationScript, generateMarkdown, generateOgImages, generateTabsCSS, generateTypes, generateVirtualModule, generateVitePressMigrationConfig, hasIslands, inferType, isMarkdownFilePath, jsx, jsxs, lintCodeBlocks, lintMarkdown, lintMarkdownAsync, lintMarkdownFile, lintMarkdownFiles, mergeThemes, mermaidClientScript, normalizeMarkdownExtensions, normalizeVitePressFrontmatter, oxContent, parseGitHubLineRange, parseGitHubPermalink, prefetchGitHubRepos, prefetchGitHubSources, prefetchOgpData, raw, renderAllPages, renderHtmlToFrameworkCode, renderHtmlToReactComponent, renderHtmlToReactCreateElement, renderHtmlToSvelteComponent, renderHtmlToVueComponent, renderHtmlToVueH, renderMarkdownStream, renderPage, renderToString, resolveBuiltinEmbedOptions, resolveCollectionsOptions, resolveDocsOptions, resolveI18nOptions, resolveOgImageOptions, resolveSearchOptions, resolveSsgOptions, resolveTheme, runDocsTests, setRenderContext, shouldLintMarkdownFile, stripMarkdownExtension, transformAllPlugins, transformGitHub, transformIslands, transformMarkdown, transformMermaidStatic, transformOgp, transformTabs, transformYouTube, typecheckCodeBlocks, useIsActive, useNav, usePageProps, useRenderContext, useSiteConfig, when, writeDocs, writeDocsTestFiles, writeSearchIndex };
4015
+ export { AttrsOptions, type BasePageProps, BuiltinEmbedOptions, BuiltinPmOptions, CodeAnnotationKind, CodeAnnotationSyntax, CodeAnnotationsOptions, type CodeBlockDiagnostic, CodeBlockLintOptions, CodeBlockTypecheckOptions, CodeImportOptions, type CollectedDocsTest, CollectionEntry, CollectionIncludeField, CollectionManifest, CollectionOptions, CollectionQueryBuilder, CollectionQueryOperator, CollectionsOptions, DEFAULT_HTML_TEMPLATE, DEFAULT_MARKDOWN_EXTENSIONS, DefaultTheme, DocEntry, DocMember, DocsEntryPoint, DocsOptions, DocsSortStrategy, DocsSummary, type DocsTestFileOptions, type DocsTestHarnessOptions, DocsTestOptions, DocsTestRunError, type DocsTestRunResult, type DocsTestSource, type DocsTestWriteResult, EditThisPageOptions, EmojiShortcodeOptions, EntryPageConfig, type ExtractedCodeBlock, ExtractedDocs, FeatureConfig, Fragment, type FrameworkCodegenMode, type FrameworkCodegenTarget, type FrameworkComponentIsland, type FrameworkMarkdownOptions, type FrameworkRenderTarget, type FrameworkTransformData, type FrontmatterSchema, type GenerateVitePressMigrationConfigOptions, GeneratedDocsData, type GitHubLineRange, type GitHubOptions, type GitHubRepoData, type GitHubSourceData, type GitHubSourceRef, HeroAction, HeroConfig, HeroImage, HeroNotice, I18nOptions, type IncrementalMarkdownParseAppendOptions, type IncrementalMarkdownParseResult, IncrementalMarkdownParser, type IncrementalMarkdownParserOptions, type IncrementalMarkdownRenderAppendOptions, type IncrementalMarkdownRenderResult, IncrementalMarkdownRenderer, type IncrementalMarkdownRendererOptions, type IslandInfo, type JSXChild, type JSXElementType, type JSXNode, type JSXProps, type LanguageRegistration, type LoadStrategy, LocaleConfig, type MarkdownChunkSource, MarkdownDisplayFormat, type MarkdownLintFileDiagnostic as MarkdownLintBatchDiagnostic, type MarkdownLintFileDiagnostic, type MarkdownLintDiagnostic, type MarkdownLintDictionaryOptions, type MarkdownLintFileOptions, type MarkdownLintFileOptions as MarkdownLintProjectOptions, type MarkdownLintFileResult, type MarkdownLintFilesResult, type MarkdownLintLanguage, type MarkdownLintOptions, type MarkdownLintResult, type MarkdownLintRuleOptions, type MarkdownLintSeverity, type MarkdownLintStandardDictionaryOptions, MarkdownNode, MarkdownTransformer, type MermaidOptions, type NavGroup, NavItem, type OgBrowserSession, OgImageOptions, type OgImagePageEntry, type OgImageOptions$1 as OgImagePluginOptions, type OgImageResult, type OgImageTemplateFn, type OgImageTemplateProps, type OgpData, type OgpOptions, OxContentOptions, type PageData, type PageProps, ParamDoc, type ParseIslandsResult, type RenderContext, ResolvedAttrsOptions, ResolvedBuiltinEmbedOptions, ResolvedCodeAnnotationsOptions, ResolvedCodeBlockLintOptions, ResolvedCodeBlockTypecheckOptions, ResolvedCodeImportOptions, ResolvedCollectionOptions, ResolvedCollectionsOptions, ResolvedDocsEntryPoint, ResolvedDocsOptions, ResolvedDocsTestOptions, ResolvedEditThisPageOptions, ResolvedEmojiShortcodeOptions, ResolvedI18nOptions, ResolvedOgImageOptions, ResolvedOptions, ResolvedSanitizeOptions, ResolvedSearchOptions, ResolvedSsgOptions, type ResolvedThemeConfig, ResolvedWikiLinkOptions, ReturnDoc, type RunDocsTestsOptions, SanitizeOptions, ScopedSearchQuery, SearchDocument, SearchOptions, SearchResult, type SiteConfig, type SocialLinks, SsgNavigationGroup, SsgNavigationItem, SsgOptions, type ThemeColors, type ThemeComponent, type ThemeConfig, type ThemeEmbed, type ThemeEntryPage, type ThemeFonts, type ThemeFooter, type ThemeHeader, type ThemeLayout, type ThemeProps, type ThemeRegistration, type ThemeRenderOptions, type ThemeTokens, ThrowsDoc, TocEntry, type TransformAllOptions, TransformContext, TransformResult, type TwitterEmbedOptions, type TypecheckCodeBlockOptions, type VitePressConfig, type VitePressFooter, type VitePressLogo, type VitePressNavItem, type VitePressSidebar, type VitePressSidebarItem, type VitePressSocialLink, type VitePressThemeConfig, WikiLinkOptions, type WrittenDocsTestFile, type YouTubeOptions, buildCollectionManifest, buildSearchIndex, buildSsg, clearRenderContext, collectDocsTests, collectGitHubRepos, collectGitHubSources, collectOgpUrls, convertVitePressNav, convertVitePressSidebar, createFrameworkMarkdownOptions, createI18nPlugin, createIncrementalMarkdownParser, createIncrementalMarkdownRenderer, createMarkdownEnvironment, createTheme, defaultTheme, defineCollection, defineCollections, defineTheme, each, escapeSvelteMarkup, extractCodeBlocks, extractDocs, extractDocsTests, extractIslandInfo, extractVideoId, fetchGitHubSource, fetchOgpData, fetchRepoData, fromVitePressConfig, generateCollectionsVirtualModule, generateFrontmatterTypes, generateHydrationScript, generateMarkdown, generateOgImages, generateTabsCSS, generateTypes, generateVirtualModule, generateVitePressMigrationConfig, hasIslands, inferType, isMarkdownFilePath, jsx, jsxs, lintCodeBlocks, lintMarkdown, lintMarkdownAsync, lintMarkdownFile, lintMarkdownFiles, mergeThemes, mermaidClientScript, normalizeMarkdownExtensions, normalizeVitePressFrontmatter, oxContent, parseGitHubLineRange, parseGitHubPermalink, prefetchGitHubRepos, prefetchGitHubSources, prefetchOgpData, raw, renderAllPages, renderHtmlToFrameworkCode, renderHtmlToReactComponent, renderHtmlToReactCreateElement, renderHtmlToSvelteComponent, renderHtmlToVueComponent, renderHtmlToVueH, renderMarkdownStream, renderPage, renderToString, resolveBuiltinEmbedOptions, resolveCollectionsOptions, resolveDocsOptions, resolveI18nOptions, resolveOgImageOptions, resolveSearchOptions, resolveSsgOptions, resolveTheme, runDocsTests, setRenderContext, shouldLintMarkdownFile, stripMarkdownExtension, transformAllPlugins, transformGitHub, transformIslands, transformMarkdown, transformMermaidStatic, transformOgp, transformTabs, transformYouTube, typecheckCodeBlocks, useIsActive, useNav, usePageProps, useRenderContext, useSiteConfig, when, writeDocs, writeDocsTestFiles, writeSearchIndex };
4060
4016
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/theme.ts","../src/plugins/github/types.ts","../src/plugins/github/api.ts","../src/plugins/github/attributes.ts","../src/plugins/github/source.ts","../src/plugins/github/transform.ts","../src/plugins/twitter/types.ts","../src/plugins/ogp.ts","../src/plugins/pm.ts","../src/plugins/tabs.ts","../src/plugins/youtube.ts","../src/plugins/mermaid.ts","../src/plugins/index.ts","../src/types.ts","../src/virtual.ts","../src/environment.ts","../src/incremental.ts","../src/transform.ts","../src/framework.ts","../src/code-blocks.ts","../src/docs-tests.ts","../src/docs.ts","../src/lint.ts","../src/lint-files.ts","../src/ssg.ts","../src/search.ts","../src/collections.ts","../src/markdown.ts","../src/vitepress.ts","../src/jsx-runtime.ts","../src/page-context.ts","../src/theme-renderer.ts","../src/island/parse.ts","../src/og-image/types.ts","../src/og-image/browser.ts","../src/og-image/index.ts","../src/i18n.ts","../src/index.ts"],"mappings":";;;;;;;;;;;UASiB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;UAMe;;EAEf;;EAEA;;EAEA;;;;;UAMe;;EAEf;;EAEA;;;;;UAMe;;EAEf;;;;;UAMe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;UAMe;;EAEf;;EAEA;;;KAIU;EAA4B;;;UAGvB;EACf,MAAM;EACN;EACA;;;UAIe;;EAEf;;EAEA;;EAEA;;;KAIU,cAAc,oBAAoB;;;;UAK7B;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;EACf;EACA;EACA,QAAQ;EACR;EACA;;;;;UAMe;;EAEf;;EAEA,UAAU;;EAEV,SAAS;;EAET,aAAa;;EAEb,QAAQ;;EAER,YAAY;;EAEZ,SAAS;;EAET,SAAS;;EAET,SAA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B,kBAAkB;;;;;;;;;;;;;;;;;;;;;;iBCoEpD,UAAU,UAAS,mBAAwB;iBAyc3C,2BACd,SAAS,6BACR;;;;iBAwMa,sBAAsB,cAAc,SAAS"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/theme-tokens.ts","../src/theme.ts","../src/plugins/github/types.ts","../src/plugins/github/api.ts","../src/plugins/github/attributes.ts","../src/plugins/github/source.ts","../src/plugins/github/transform.ts","../src/plugins/twitter/types.ts","../src/plugins/ogp.ts","../src/plugins/pm.ts","../src/plugins/tabs.ts","../src/plugins/youtube.ts","../src/plugins/mermaid.ts","../src/plugins/index.ts","../src/types.ts","../src/virtual.ts","../src/environment.ts","../src/incremental.ts","../src/transform.ts","../src/framework.ts","../src/code-blocks.ts","../src/docs-tests.ts","../src/docs.ts","../src/lint.ts","../src/lint-files.ts","../src/ssg.ts","../src/search.ts","../src/collections.ts","../src/markdown.ts","../src/vitepress.ts","../src/page-context.ts","../src/theme-renderer.ts","../src/island/parse.ts","../src/og-image/types.ts","../src/og-image/browser.ts","../src/og-image/index.ts","../src/i18n.ts","../src/index.ts"],"mappings":";;;;;;;;;;;;;;KAUY,cAAc;;;;;;UCGT;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;UAMe;;EAEf;;EAEA;;EAEA;;;;;UAMe;;EAEf;;EAEA;;;;;UAMe;;EAEf;;;;;UAMe;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;;;;UAMe;;EAEf;;EAEA;;;KAIU;EAA4B;;;UAGvB;EACf,MAAM;EACN;EACA;;;UAIe;;EAEf;;EAEA;;EAEA;;;KAIU,cAAc,oBAAoB;;;;UAK7B;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;EAEA;;UAGe;EACf;EACA;EACA,QAAQ;EACR;EACA;;;;;UAMe;;EAEf;;EAEA,UAAU;;EAEV,SAAS;;EAET,a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AEP;;;;;;;;;iBAUc,WAAW,MAAM,UAAU,SAAS;;;;;;;;iBAoE9B,eACpB,OAAO,YACP,SAAS,qBACR,QAAQ;;;;;;;iBAuBW,cAAc,OAAO,YAAY,iBAAiB;;;;;iBAiBxD,eAAe,YAAY,aAAa;;;;;;;;;;;;;;;;;;iBAwExC,YAAY;EAC1B,SAAS,eAAe;EACxB;IACE;;;;;;;;;KC5PQ;UAEK;EACf;EACA,MAAM;EACN;EACA,OAAO;;UAGQ;EACf;EACA,SAAS;;;;;;;;;;;;;;;;;;;;;;;iBAmLW,iBAAiB,eAAe,QAAQ;;;;iBAkB9C,WAAW;;;;;iBAQL,kBAAkB,eAAe,QAAQ;;;;;iBAS/C,wBAAwB;;;;;;;;;UC3OvB;;EAEf;;EAEA;;EAEA;;EAEA;;EAEA;;GAEC;;;;;KAMS,qBAAqB,OAAO,kCAAkC;;;;UAKzD;;;;;;;;;EASf;;;;;;;EAQA;;;;;EAMA;;;;;EAMA;;;;;;EAOA;;;;;EAMA;;;;;UAMe;EACf;EACA;EACA;EACA;EACA;EACA;;;;;;;;;;;;;;;;UC/De,yBAAyB;EACxC,WAAW,cAAc,eAAe,gBAAgB,qBAAqB,QAAQ;;;;;;;iBCSvE,sBAAsB,SAAS,+BAA6B;;;;UAc3D;;EAEf,OAAO;;EAEP;;;;;UAMe;EACf;EACA;EACA;;;;;;;;;;iBAoaoB,iBACpB,OAAO,oBACP,SAAS,wBACT,eACC,QAAQ;;;;;;iBC/cK,mBACd,SAAS,kCACR;;;;iBA4Ba,iBAAiB,iBAAiB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;iBCqEpD,UAAU,UAAS,mBAAwB;iBAyc3C,2BACd,SAAS,6BACR;;;;iBAwMa,sBAAsB,cAAc,SAAS"}
package/dist/index.d.mts CHANGED
@@ -1,11 +1,20 @@
1
+ import { a as JSXProps, c as jsxs, d as when, i as JSXNode, l as raw, n as JSXChild, o as each, r as JSXElementType, s as jsx, t as Fragment, u as renderToString } from "./jsx-html.mjs";
1
2
  import { LanguageRegistration, LanguageRegistration as LanguageRegistration$1, ThemeRegistration, ThemeRegistration as ThemeRegistration$1 } from "shiki";
2
3
  import { EnvironmentOptions, Plugin } from "vite";
3
- //#region src/theme.d.ts
4
+ //#region src/theme-tokens.d.ts
4
5
  /**
5
- * Theme API for ox-content SSG
6
+ * Free-form `--octc-*` custom properties for themes that need more than the
7
+ * typed `colors` / `fonts` / `layout` fields.
6
8
  *
7
- * Provides VitePress-like theming with default theme + customization.
9
+ * Keys are written **without** the `--octc-` prefix, so `"surface-glass"`
10
+ * becomes `--octc-surface-glass`. This is the seam that keeps the two theme
11
+ * axes independent: a color package can restyle code-block line markers, brand
12
+ * accents, and surface textures purely through tokens, while a skin package
13
+ * lays out geometry against those same tokens without knowing any color.
8
14
  */
15
+ type ThemeTokens = Record<string, string>;
16
+ //#endregion
17
+ //#region src/theme.d.ts
9
18
  /**
10
19
  * Theme color configuration.
11
20
  */
@@ -162,9 +171,20 @@ interface ThemeConfig {
162
171
  sidebar?: SidebarItem[];
163
172
  /** Embedded HTML content at specific positions */
164
173
  embed?: ThemeEmbed;
165
- /** Additional custom CSS */
174
+ /**
175
+ * Extra `--octc-*` custom properties for light mode, keyed without the
176
+ * prefix. Merged key-by-key across composed layers, so a later layer can
177
+ * restyle one token without redeclaring the rest.
178
+ */
179
+ tokens?: ThemeTokens;
180
+ /** Extra `--octc-*` custom properties for dark mode. */
181
+ darkTokens?: ThemeTokens;
182
+ /**
183
+ * Additional custom CSS. Composed layers **concatenate** this rather than
184
+ * overwrite, so stacking a skin and a color scheme keeps both stylesheets.
185
+ */
166
186
  css?: string;
167
- /** Additional custom JavaScript */
187
+ /** Additional custom JavaScript. Concatenated across composed layers. */
168
188
  js?: string;
169
189
  }
170
190
  /**
@@ -182,6 +202,8 @@ interface ResolvedThemeConfig {
182
202
  socialLinks: SocialLinks;
183
203
  sidebar: SidebarItem[];
184
204
  embed: ThemeEmbed;
205
+ tokens: ThemeTokens;
206
+ darkTokens: ThemeTokens;
185
207
  css: string;
186
208
  js: string;
187
209
  }
@@ -211,16 +233,29 @@ declare function defineTheme(config: ThemeConfig): ThemeConfig;
211
233
  * Merges multiple theme configurations.
212
234
  * Later themes override earlier ones.
213
235
  *
236
+ * Object fields (`colors`, `tokens`, `layout`, …) merge key-by-key, but `css`
237
+ * and `js` **concatenate** in layer order — overwriting them would throw away
238
+ * one half of a `[skin, colorScheme]` stack. Identical fragments are joined
239
+ * once, so a layer reached through both an array and an `extends` chain does
240
+ * not emit its stylesheet twice.
241
+ *
214
242
  * @example
215
243
  * ```ts
216
- * const merged = mergeThemes(defaultTheme, customTheme, overrides);
244
+ * const merged = mergeThemes(defaultTheme, pixelSkin, tokyoNight, overrides);
217
245
  * ```
218
246
  */
219
- declare function mergeThemes(...themes: ThemeConfig[]): ThemeConfig;
247
+ declare function mergeThemes(...themes: (ThemeConfig | ThemeConfig[])[]): ThemeConfig;
220
248
  /**
221
249
  * Resolves a theme configuration by merging with its extends chain and defaults.
250
+ *
251
+ * An array composes independent layers left to right, which is how a skin
252
+ * package and a color package are stacked:
253
+ *
254
+ * ```ts
255
+ * resolveTheme([pixelSkin, tokyoNight, { footer: { copyright: "2026" } }]);
256
+ * ```
222
257
  */
223
- declare function resolveTheme(config?: ThemeConfig): ResolvedThemeConfig;
258
+ declare function resolveTheme(config?: ThemeConfig | ThemeConfig[]): ResolvedThemeConfig;
224
259
  //#endregion
225
260
  //#region src/plugins/github/types.d.ts
226
261
  interface GitHubRepoData {
@@ -711,6 +746,10 @@ interface SsgOptions {
711
746
  * each page's metadata. Configure rendering details with the top-level
712
747
  * `ogImageOptions` option.
713
748
  *
749
+ * Under `bare`, the images are still written but nothing references them,
750
+ * because bare output has no `<head>` to put the `<meta>` tags in — inject
751
+ * them from your own shell.
752
+ *
714
753
  * @default false
715
754
  */
716
755
  generateOgImage?: boolean;
@@ -739,9 +778,16 @@ interface SsgOptions {
739
778
  * Use `defineTheme()` to build this object so custom theme modules and the
740
779
  * default theme extension points keep their expected shape.
741
780
  *
781
+ * An array composes layers left to right, which is how a skin package and a
782
+ * color package are combined:
783
+ *
784
+ * ```ts
785
+ * theme: [pixelSkin, tokyoNight, { footer: { copyright: "2026" } }]
786
+ * ```
787
+ *
742
788
  * @default defaultTheme
743
789
  */
744
- theme?: ThemeConfig;
790
+ theme?: ThemeConfig | ThemeConfig[];
745
791
  /**
746
792
  * Sidebar navigation override.
747
793
  *
@@ -865,7 +911,14 @@ interface OxContentOptions {
865
911
  highlight?: boolean;
866
912
  /**
867
913
  * Syntax highlighting theme.
868
- * @default 'github-dark'
914
+ *
915
+ * Defaults to `'css-variables'`, which renders token colors as `--octc-shiki-*`
916
+ * custom properties so highlighting follows the active color scheme in both
917
+ * light and dark from one build. Without a `@ox-content/theme-color-*`
918
+ * package installed the properties fall back to GitHub Dark. Pass any bundled
919
+ * Shiki theme name to opt out and bake fixed colors in instead.
920
+ *
921
+ * @default 'css-variables'
869
922
  */
870
923
  highlightTheme?: string | ThemeRegistration$1;
871
924
  /**
@@ -3448,103 +3501,6 @@ declare function generateVitePressMigrationConfig(config: VitePressConfig, overr
3448
3501
  */
3449
3502
  declare function normalizeVitePressFrontmatter(frontmatter: Record<string, unknown>): Record<string, unknown>;
3450
3503
  //#endregion
3451
- //#region src/jsx-runtime.d.ts
3452
- /**
3453
- * Custom JSX Runtime for Static HTML Generation
3454
- *
3455
- * This module provides a JSX runtime that outputs static HTML strings.
3456
- * No React, no hydration, no client-side JavaScript - just pure HTML.
3457
- *
3458
- * @example
3459
- * ```tsx
3460
- * // tsconfig.json or vite.config.ts
3461
- * {
3462
- * "compilerOptions": {
3463
- * "jsx": "react-jsx",
3464
- * "jsxImportSource": "@ox-content/vite-plugin"
3465
- * }
3466
- * }
3467
- *
3468
- * // MyComponent.tsx
3469
- * export function Hero({ title }: { title: string }) {
3470
- * return (
3471
- * <section class="hero">
3472
- * <h1>{title}</h1>
3473
- * </section>
3474
- * );
3475
- * }
3476
- * ```
3477
- */
3478
- /**
3479
- * JSX element type - either a string (intrinsic) or a function component.
3480
- */
3481
- type JSXElementType = string | ((props: Record<string, unknown>) => JSXNode);
3482
- /**
3483
- * Valid JSX child types.
3484
- */
3485
- type JSXChild = string | number | boolean | null | undefined | JSXNode | JSXChild[];
3486
- /**
3487
- * JSX node - the result of JSX expressions.
3488
- */
3489
- interface JSXNode {
3490
- __html: string;
3491
- }
3492
- /**
3493
- * Props with children.
3494
- */
3495
- interface JSXProps {
3496
- children?: JSXChild;
3497
- [key: string]: unknown;
3498
- }
3499
- /**
3500
- * Creates a JSX element.
3501
- * This is the core function called by the JSX transform.
3502
- */
3503
- declare function jsx(type: JSXElementType, props: JSXProps, _key?: string): JSXNode;
3504
- /**
3505
- * Creates a JSX element with static children.
3506
- * Called by the JSX transform for elements with multiple children.
3507
- */
3508
- declare function jsxs(type: JSXElementType, props: JSXProps, key?: string): JSXNode;
3509
- /**
3510
- * Fragment component - renders children without a wrapper element.
3511
- */
3512
- declare function Fragment({ children }: {
3513
- children?: JSXChild;
3514
- }): JSXNode;
3515
- /**
3516
- * Renders a JSX node to an HTML string.
3517
- */
3518
- declare function renderToString(node: JSXNode): string;
3519
- /**
3520
- * Creates raw HTML without escaping.
3521
- * Use with caution - only for trusted content.
3522
- *
3523
- * @example
3524
- * ```tsx
3525
- * <div>{raw('<strong>Bold</strong>')}</div>
3526
- * ```
3527
- */
3528
- declare function raw(html: string): JSXNode;
3529
- /**
3530
- * Conditionally renders content.
3531
- *
3532
- * @example
3533
- * ```tsx
3534
- * {when(isLoggedIn, <UserMenu />)}
3535
- * ```
3536
- */
3537
- declare function when(condition: boolean, content: JSXNode): JSXNode;
3538
- /**
3539
- * Maps over an array and renders each item.
3540
- *
3541
- * @example
3542
- * ```tsx
3543
- * {each(items, (item) => <li>{item.name}</li>)}
3544
- * ```
3545
- */
3546
- declare function each<T>(items: T[], render: (item: T, index: number) => JSXNode): JSXNode;
3547
- //#endregion
3548
3504
  //#region src/page-context.d.ts
3549
3505
  /**
3550
3506
  * Base page props available for all pages.
@@ -4056,5 +4012,5 @@ declare function resolveBuiltinEmbedOptions(options: OxContentOptions["embeds"])
4056
4012
  */
4057
4013
  declare function generateVirtualModule(path: string, options: ResolvedOptions): string;
4058
4014
  //#endregion
4059
- export { AttrsOptions, type BasePageProps, BuiltinEmbedOptions, BuiltinPmOptions, CodeAnnotationKind, CodeAnnotationSyntax, CodeAnnotationsOptions, type CodeBlockDiagnostic, CodeBlockLintOptions, CodeBlockTypecheckOptions, CodeImportOptions, type CollectedDocsTest, CollectionEntry, CollectionIncludeField, CollectionManifest, CollectionOptions, CollectionQueryBuilder, CollectionQueryOperator, CollectionsOptions, DEFAULT_HTML_TEMPLATE, DEFAULT_MARKDOWN_EXTENSIONS, DefaultTheme, DocEntry, DocMember, DocsEntryPoint, DocsOptions, DocsSortStrategy, DocsSummary, type DocsTestFileOptions, type DocsTestHarnessOptions, DocsTestOptions, DocsTestRunError, type DocsTestRunResult, type DocsTestSource, type DocsTestWriteResult, EditThisPageOptions, EmojiShortcodeOptions, EntryPageConfig, type ExtractedCodeBlock, ExtractedDocs, FeatureConfig, Fragment, type FrameworkCodegenMode, type FrameworkCodegenTarget, type FrameworkComponentIsland, type FrameworkMarkdownOptions, type FrameworkRenderTarget, type FrameworkTransformData, type FrontmatterSchema, type GenerateVitePressMigrationConfigOptions, GeneratedDocsData, type GitHubLineRange, type GitHubOptions, type GitHubRepoData, type GitHubSourceData, type GitHubSourceRef, HeroAction, HeroConfig, HeroImage, HeroNotice, I18nOptions, type IncrementalMarkdownParseAppendOptions, type IncrementalMarkdownParseResult, IncrementalMarkdownParser, type IncrementalMarkdownParserOptions, type IncrementalMarkdownRenderAppendOptions, type IncrementalMarkdownRenderResult, IncrementalMarkdownRenderer, type IncrementalMarkdownRendererOptions, type IslandInfo, type JSXChild, type JSXElementType, type JSXNode, type JSXProps, type LanguageRegistration, type LoadStrategy, LocaleConfig, type MarkdownChunkSource, MarkdownDisplayFormat, type MarkdownLintFileDiagnostic as MarkdownLintBatchDiagnostic, type MarkdownLintFileDiagnostic, type MarkdownLintDiagnostic, type MarkdownLintDictionaryOptions, type MarkdownLintFileOptions, type MarkdownLintFileOptions as MarkdownLintProjectOptions, type MarkdownLintFileResult, type MarkdownLintFilesResult, type MarkdownLintLanguage, type MarkdownLintOptions, type MarkdownLintResult, type MarkdownLintRuleOptions, type MarkdownLintSeverity, type MarkdownLintStandardDictionaryOptions, MarkdownNode, MarkdownTransformer, type MermaidOptions, type NavGroup, NavItem, type OgBrowserSession, OgImageOptions, type OgImagePageEntry, type OgImageOptions$1 as OgImagePluginOptions, type OgImageResult, type OgImageTemplateFn, type OgImageTemplateProps, type OgpData, type OgpOptions, OxContentOptions, type PageData, type PageProps, ParamDoc, type ParseIslandsResult, type RenderContext, ResolvedAttrsOptions, ResolvedBuiltinEmbedOptions, ResolvedCodeAnnotationsOptions, ResolvedCodeBlockLintOptions, ResolvedCodeBlockTypecheckOptions, ResolvedCodeImportOptions, ResolvedCollectionOptions, ResolvedCollectionsOptions, ResolvedDocsEntryPoint, ResolvedDocsOptions, ResolvedDocsTestOptions, ResolvedEditThisPageOptions, ResolvedEmojiShortcodeOptions, ResolvedI18nOptions, ResolvedOgImageOptions, ResolvedOptions, ResolvedSanitizeOptions, ResolvedSearchOptions, ResolvedSsgOptions, type ResolvedThemeConfig, ResolvedWikiLinkOptions, ReturnDoc, type RunDocsTestsOptions, SanitizeOptions, ScopedSearchQuery, SearchDocument, SearchOptions, SearchResult, type SiteConfig, type SocialLinks, SsgNavigationGroup, SsgNavigationItem, SsgOptions, type ThemeColors, type ThemeComponent, type ThemeConfig, type ThemeEmbed, type ThemeEntryPage, type ThemeFonts, type ThemeFooter, type ThemeHeader, type ThemeLayout, type ThemeProps, type ThemeRegistration, type ThemeRenderOptions, ThrowsDoc, TocEntry, type TransformAllOptions, TransformContext, TransformResult, type TwitterEmbedOptions, type TypecheckCodeBlockOptions, type VitePressConfig, type VitePressFooter, type VitePressLogo, type VitePressNavItem, type VitePressSidebar, type VitePressSidebarItem, type VitePressSocialLink, type VitePressThemeConfig, WikiLinkOptions, type WrittenDocsTestFile, type YouTubeOptions, buildCollectionManifest, buildSearchIndex, buildSsg, clearRenderContext, collectDocsTests, collectGitHubRepos, collectGitHubSources, collectOgpUrls, convertVitePressNav, convertVitePressSidebar, createFrameworkMarkdownOptions, createI18nPlugin, createIncrementalMarkdownParser, createIncrementalMarkdownRenderer, createMarkdownEnvironment, createTheme, defaultTheme, defineCollection, defineCollections, defineTheme, each, escapeSvelteMarkup, extractCodeBlocks, extractDocs, extractDocsTests, extractIslandInfo, extractVideoId, fetchGitHubSource, fetchOgpData, fetchRepoData, fromVitePressConfig, generateCollectionsVirtualModule, generateFrontmatterTypes, generateHydrationScript, generateMarkdown, generateOgImages, generateTabsCSS, generateTypes, generateVirtualModule, generateVitePressMigrationConfig, hasIslands, inferType, isMarkdownFilePath, jsx, jsxs, lintCodeBlocks, lintMarkdown, lintMarkdownAsync, lintMarkdownFile, lintMarkdownFiles, mergeThemes, mermaidClientScript, normalizeMarkdownExtensions, normalizeVitePressFrontmatter, oxContent, parseGitHubLineRange, parseGitHubPermalink, prefetchGitHubRepos, prefetchGitHubSources, prefetchOgpData, raw, renderAllPages, renderHtmlToFrameworkCode, renderHtmlToReactComponent, renderHtmlToReactCreateElement, renderHtmlToSvelteComponent, renderHtmlToVueComponent, renderHtmlToVueH, renderMarkdownStream, renderPage, renderToString, resolveBuiltinEmbedOptions, resolveCollectionsOptions, resolveDocsOptions, resolveI18nOptions, resolveOgImageOptions, resolveSearchOptions, resolveSsgOptions, resolveTheme, runDocsTests, setRenderContext, shouldLintMarkdownFile, stripMarkdownExtension, transformAllPlugins, transformGitHub, transformIslands, transformMarkdown, transformMermaidStatic, transformOgp, transformTabs, transformYouTube, typecheckCodeBlocks, useIsActive, useNav, usePageProps, useRenderContext, useSiteConfig, when, writeDocs, writeDocsTestFiles, writeSearchIndex };
4015
+ export { AttrsOptions, type BasePageProps, BuiltinEmbedOptions, BuiltinPmOptions, CodeAnnotationKind, CodeAnnotationSyntax, CodeAnnotationsOptions, type CodeBlockDiagnostic, CodeBlockLintOptions, CodeBlockTypecheckOptions, CodeImportOptions, type CollectedDocsTest, CollectionEntry, CollectionIncludeField, CollectionManifest, CollectionOptions, CollectionQueryBuilder, CollectionQueryOperator, CollectionsOptions, DEFAULT_HTML_TEMPLATE, DEFAULT_MARKDOWN_EXTENSIONS, DefaultTheme, DocEntry, DocMember, DocsEntryPoint, DocsOptions, DocsSortStrategy, DocsSummary, type DocsTestFileOptions, type DocsTestHarnessOptions, DocsTestOptions, DocsTestRunError, type DocsTestRunResult, type DocsTestSource, type DocsTestWriteResult, EditThisPageOptions, EmojiShortcodeOptions, EntryPageConfig, type ExtractedCodeBlock, ExtractedDocs, FeatureConfig, Fragment, type FrameworkCodegenMode, type FrameworkCodegenTarget, type FrameworkComponentIsland, type FrameworkMarkdownOptions, type FrameworkRenderTarget, type FrameworkTransformData, type FrontmatterSchema, type GenerateVitePressMigrationConfigOptions, GeneratedDocsData, type GitHubLineRange, type GitHubOptions, type GitHubRepoData, type GitHubSourceData, type GitHubSourceRef, HeroAction, HeroConfig, HeroImage, HeroNotice, I18nOptions, type IncrementalMarkdownParseAppendOptions, type IncrementalMarkdownParseResult, IncrementalMarkdownParser, type IncrementalMarkdownParserOptions, type IncrementalMarkdownRenderAppendOptions, type IncrementalMarkdownRenderResult, IncrementalMarkdownRenderer, type IncrementalMarkdownRendererOptions, type IslandInfo, type JSXChild, type JSXElementType, type JSXNode, type JSXProps, type LanguageRegistration, type LoadStrategy, LocaleConfig, type MarkdownChunkSource, MarkdownDisplayFormat, type MarkdownLintFileDiagnostic as MarkdownLintBatchDiagnostic, type MarkdownLintFileDiagnostic, type MarkdownLintDiagnostic, type MarkdownLintDictionaryOptions, type MarkdownLintFileOptions, type MarkdownLintFileOptions as MarkdownLintProjectOptions, type MarkdownLintFileResult, type MarkdownLintFilesResult, type MarkdownLintLanguage, type MarkdownLintOptions, type MarkdownLintResult, type MarkdownLintRuleOptions, type MarkdownLintSeverity, type MarkdownLintStandardDictionaryOptions, MarkdownNode, MarkdownTransformer, type MermaidOptions, type NavGroup, NavItem, type OgBrowserSession, OgImageOptions, type OgImagePageEntry, type OgImageOptions$1 as OgImagePluginOptions, type OgImageResult, type OgImageTemplateFn, type OgImageTemplateProps, type OgpData, type OgpOptions, OxContentOptions, type PageData, type PageProps, ParamDoc, type ParseIslandsResult, type RenderContext, ResolvedAttrsOptions, ResolvedBuiltinEmbedOptions, ResolvedCodeAnnotationsOptions, ResolvedCodeBlockLintOptions, ResolvedCodeBlockTypecheckOptions, ResolvedCodeImportOptions, ResolvedCollectionOptions, ResolvedCollectionsOptions, ResolvedDocsEntryPoint, ResolvedDocsOptions, ResolvedDocsTestOptions, ResolvedEditThisPageOptions, ResolvedEmojiShortcodeOptions, ResolvedI18nOptions, ResolvedOgImageOptions, ResolvedOptions, ResolvedSanitizeOptions, ResolvedSearchOptions, ResolvedSsgOptions, type ResolvedThemeConfig, ResolvedWikiLinkOptions, ReturnDoc, type RunDocsTestsOptions, SanitizeOptions, ScopedSearchQuery, SearchDocument, SearchOptions, SearchResult, type SiteConfig, type SocialLinks, SsgNavigationGroup, SsgNavigationItem, SsgOptions, type ThemeColors, type ThemeComponent, type ThemeConfig, type ThemeEmbed, type ThemeEntryPage, type ThemeFonts, type ThemeFooter, type ThemeHeader, type ThemeLayout, type ThemeProps, type ThemeRegistration, type ThemeRenderOptions, type ThemeTokens, ThrowsDoc, TocEntry, type TransformAllOptions, TransformContext, TransformResult, type TwitterEmbedOptions, type TypecheckCodeBlockOptions, type VitePressConfig, type VitePressFooter, type VitePressLogo, type VitePressNavItem, type VitePressSidebar, type VitePressSidebarItem, type VitePressSocialLink, type VitePressThemeConfig, WikiLinkOptions, type WrittenDocsTestFile, type YouTubeOptions, buildCollectionManifest, buildSearchIndex, buildSsg, clearRenderContext, collectDocsTests, collectGitHubRepos, collectGitHubSources, collectOgpUrls, convertVitePressNav, convertVitePressSidebar, createFrameworkMarkdownOptions, createI18nPlugin, createIncrementalMarkdownParser, createIncrementalMarkdownRenderer, createMarkdownEnvironment, createTheme, defaultTheme, defineCollection, defineCollections, defineTheme, each, escapeSvelteMarkup, extractCodeBlocks, extractDocs, extractDocsTests, extractIslandInfo, extractVideoId, fetchGitHubSource, fetchOgpData, fetchRepoData, fromVitePressConfig, generateCollectionsVirtualModule, generateFrontmatterTypes, generateHydrationScript, generateMarkdown, generateOgImages, generateTabsCSS, generateTypes, generateVirtualModule, generateVitePressMigrationConfig, hasIslands, inferType, isMarkdownFilePath, jsx, jsxs, lintCodeBlocks, lintMarkdown, lintMarkdownAsync, lintMarkdownFile, lintMarkdownFiles, mergeThemes, mermaidClientScript, normalizeMarkdownExtensions, normalizeVitePressFrontmatter, oxContent, parseGitHubLineRange, parseGitHubPermalink, prefetchGitHubRepos, prefetchGitHubSources, prefetchOgpData, raw, renderAllPages, renderHtmlToFrameworkCode, renderHtmlToReactComponent, renderHtmlToReactCreateElement, renderHtmlToSvelteComponent, renderHtmlToVueComponent, renderHtmlToVueH, renderMarkdownStream, renderPage, renderToString, resolveBuiltinEmbedOptions, resolveCollectionsOptions, resolveDocsOptions, resolveI18nOptions, resolveOgImageOptions, resolveSearchOptions, resolveSsgOptions, resolveTheme, runDocsTests, setRenderContext, shouldLintMarkdownFile, stripMarkdownExtension, transformAllPlugins, transformGitHub, transformIslands, transformMarkdown, transformMermaidStatic, transformOgp, transformTabs, transformYouTube, typecheckCodeBlocks, useIsActive, useNav, usePageProps, useRenderContext, useSiteConfig, when, writeDocs, writeDocsTestFiles, writeSearchIndex };
4060
4016
  //# sourceMappingURL=index.d.mts.map