@ox-content/vite-plugin 3.0.0-alpha.10 → 3.0.0-alpha.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -463,7 +463,12 @@ interface YouTubeOptions {
463
463
  lazyLoad?: boolean;
464
464
  }
465
465
  /**
466
- * Extract YouTube video ID from various URL formats.
466
+ * Extract a YouTube video ID from a bare ID or a watch / share / embed /
467
+ * shorts URL.
468
+ *
469
+ * The rule lives in Rust so this function and the `<youtube>` rewrite below
470
+ * cannot disagree about what counts as a video: `transformYoutubeEmbeds`
471
+ * resolves IDs with the same code.
467
472
  */
468
473
  declare function extractVideoId(input: string): string | null;
469
474
  /**
@@ -471,6 +476,76 @@ declare function extractVideoId(input: string): string | null;
471
476
  */
472
477
  declare function transformYouTube(html: string, options?: YouTubeOptions): Promise<string>;
473
478
  //#endregion
479
+ //#region src/plugins/provider-articles.d.ts
480
+ interface ProviderArticleEmbedOptions {
481
+ /** Fetch article metadata at build time. @default true */
482
+ fetch?: boolean;
483
+ /** Metadata request timeout in milliseconds. @default 10000 */
484
+ timeout?: number;
485
+ /** Cache fetched metadata in memory for the current process. @default true */
486
+ cache?: boolean;
487
+ /** Cache TTL in milliseconds. @default 3600000 */
488
+ cacheTTL?: number;
489
+ /** Persist metadata across builds. Off by default. */
490
+ persistCache?: boolean;
491
+ /** Directory for the persistent cache. */
492
+ cacheDir?: string;
493
+ }
494
+ //#endregion
495
+ //#region src/plugins/provider-packages.d.ts
496
+ interface ProviderPackageEmbedOptions {
497
+ /** Fetch package metadata at build time. @default true */
498
+ fetch?: boolean;
499
+ /** Metadata request timeout in milliseconds. @default 10000 */
500
+ timeout?: number;
501
+ /** Cache fetched metadata in memory for the current process. @default true */
502
+ cache?: boolean;
503
+ /** Cache TTL in milliseconds. @default 3600000 */
504
+ cacheTTL?: number;
505
+ /** Persist metadata across builds. Off by default. */
506
+ persistCache?: boolean;
507
+ /** Directory for the persistent cache. */
508
+ cacheDir?: string;
509
+ }
510
+ //#endregion
511
+ //#region src/plugins/provider-playgrounds.d.ts
512
+ interface ProviderPlaygroundEmbedOptions {
513
+ /** Fetch playground metadata at build time where a public endpoint exists. @default true */
514
+ fetch?: boolean;
515
+ /** Add provider iframe URLs for supported providers. @default false */
516
+ iframe?: boolean;
517
+ /** Metadata request timeout in milliseconds. @default 10000 */
518
+ timeout?: number;
519
+ /** Cache fetched metadata in memory for the current process. @default true */
520
+ cache?: boolean;
521
+ /** Cache TTL in milliseconds. @default 3600000 */
522
+ cacheTTL?: number;
523
+ /** Persist metadata across builds. Off by default. */
524
+ persistCache?: boolean;
525
+ /** Directory for the persistent cache. */
526
+ cacheDir?: string;
527
+ }
528
+ //#endregion
529
+ //#region src/plugins/provider-videos.d.ts
530
+ interface ProviderVideoEmbedOptions {
531
+ /** Fetch public video metadata at build time where supported. @default true */
532
+ fetch?: boolean;
533
+ /** Add lazy provider iframe URLs when supported. @default false */
534
+ iframe?: boolean;
535
+ /** Twitch embed parent domain or domains. Required for Twitch iframes. */
536
+ parent?: string | string[];
537
+ /** Metadata request timeout in milliseconds. @default 10000 */
538
+ timeout?: number;
539
+ /** Cache fetched metadata in memory for the current process. @default true */
540
+ cache?: boolean;
541
+ /** Cache TTL in milliseconds. @default 3600000 */
542
+ cacheTTL?: number;
543
+ /** Persist metadata across builds. Off by default. */
544
+ persistCache?: boolean;
545
+ /** Directory for the persistent cache. */
546
+ cacheDir?: string;
547
+ }
548
+ //#endregion
474
549
  //#region src/plugins/reddit/types.d.ts
475
550
  interface RedditEmbedOptions {
476
551
  /**
@@ -562,6 +637,127 @@ interface TwitterEmbedOptions {
562
637
  }
563
638
  type TweetAppearance = "compact" | "full";
564
639
  //#endregion
640
+ //#region src/plugins/media.d.ts
641
+ interface MediaEmbedOptions {
642
+ /**
643
+ * Render `<Spotify>` embeds.
644
+ * @default false
645
+ */
646
+ spotify?: boolean;
647
+ /**
648
+ * Render `<AppleMusic>` embeds.
649
+ * @default false
650
+ */
651
+ appleMusic?: boolean;
652
+ /**
653
+ * Render `<SpeakerDeck>` embeds.
654
+ * @default false
655
+ */
656
+ speakerDeck?: boolean;
657
+ /**
658
+ * Render `<Audio>` native players.
659
+ * @default false
660
+ */
661
+ audio?: boolean;
662
+ /**
663
+ * Render `<Video>` native players.
664
+ * @default false
665
+ */
666
+ video?: boolean;
667
+ /**
668
+ * Render `<StackBlitz>` embeds.
669
+ * @default false
670
+ */
671
+ stackBlitz?: boolean;
672
+ /**
673
+ * Render `<Tweet>` / `<XPost>` static cards. Pass `{ fetch: true }` to
674
+ * resolve the post content and self-host its media at build time.
675
+ * @default false
676
+ */
677
+ twitter?: boolean | TwitterEmbedOptions;
678
+ /**
679
+ * Render `<Reddit>` static cards with build-time metadata fetch.
680
+ * @default false
681
+ */
682
+ reddit?: boolean | RedditEmbedOptions;
683
+ /**
684
+ * Render `<Bluesky>` static cards.
685
+ * @default false
686
+ */
687
+ bluesky?: boolean;
688
+ /**
689
+ * Render `<GoogleMaps>` static place cards.
690
+ * @default false
691
+ */
692
+ googleMaps?: boolean;
693
+ /**
694
+ * Render `<Qiita>` static article cards.
695
+ * Pass `{ fetch: false }` to skip metadata fetching and render a link-only card.
696
+ * @default false
697
+ */
698
+ qiita?: boolean | ProviderArticleEmbedOptions;
699
+ /**
700
+ * Render `<Zenn>` static article cards.
701
+ * Pass `{ fetch: false }` to skip metadata fetching and render a link-only card.
702
+ * @default false
703
+ */
704
+ zenn?: boolean | ProviderArticleEmbedOptions;
705
+ /**
706
+ * Render `<NpmPackage>`, `<CratesIo>`, `<PyPI>`, and `<DockerHub>` package cards.
707
+ * Pass `{ fetch: false }` to skip metadata fetching and render link-only cards.
708
+ * @default false
709
+ */
710
+ packageRegistry?: boolean | ProviderPackageEmbedOptions;
711
+ /**
712
+ * Render `<CodePen>`, `<JSFiddle>`, and `<Observable>` static playground cards.
713
+ * Pass `{ iframe: true }` to add lazy provider iframe URLs where supported.
714
+ * @default false
715
+ */
716
+ playgrounds?: boolean | ProviderPlaygroundEmbedOptions;
717
+ /**
718
+ * Render `<Vimeo>` static video cards.
719
+ * Pass `{ iframe: true }` to add lazy player iframe URLs.
720
+ * @default false
721
+ */
722
+ vimeo?: boolean | ProviderVideoEmbedOptions;
723
+ /**
724
+ * Render `<Twitch>` static video, clip, and channel cards.
725
+ * Pass `{ iframe: true, parent: "example.com" }` to add Twitch player iframes.
726
+ * @default false
727
+ */
728
+ twitch?: boolean | ProviderVideoEmbedOptions;
729
+ /**
730
+ * Render `<Discord>` static invite/message cards.
731
+ * @default false
732
+ */
733
+ discord?: boolean;
734
+ /**
735
+ * Render `<Fediverse>`, `<Mastodon>`, `<Misskey>`, and `<Mixi2>` static cards.
736
+ * @default false
737
+ */
738
+ fediverse?: boolean;
739
+ /**
740
+ * Render `<Facebook>` static post cards.
741
+ * @default false
742
+ */
743
+ facebook?: boolean;
744
+ /**
745
+ * Render `<Threads>` static post cards.
746
+ * @default false
747
+ */
748
+ threads?: boolean;
749
+ /**
750
+ * Render `<Instagram>` static post cards.
751
+ * @default false
752
+ */
753
+ instagram?: boolean;
754
+ /**
755
+ * Render `<WebContainer>` lazy placeholder blocks.
756
+ * @default false
757
+ */
758
+ webContainer?: boolean;
759
+ }
760
+ //#endregion
565
761
  //#region src/plugins/github/types.d.ts
566
762
  interface GitHubRepoData {
567
763
  name: string;
@@ -751,12 +947,45 @@ declare function transformMermaidStatic(html: string, _options?: MermaidOptions)
751
947
  */
752
948
  declare const mermaidClientScript = "";
753
949
  //#endregion
950
+ //#region src/plugins/graphviz-renderer.d.ts
951
+ type GraphvizFailureMode = "error" | "warn";
952
+ interface GraphvizOptions {
953
+ /** Graphviz renderer command. @default 'dot' */
954
+ command?: string;
955
+ /** Extra arguments passed before `-Tsvg`. @default [] */
956
+ args?: string[];
957
+ /** Behavior when the Graphviz command is not available. @default 'error' */
958
+ missingRenderer?: GraphvizFailureMode;
959
+ /** Behavior when Graphviz rejects a DOT source. @default 'error' */
960
+ renderErrors?: GraphvizFailureMode;
961
+ /** Per-render timeout in milliseconds. @default 10000 */
962
+ timeout?: number;
963
+ /** Cache rendered SVGs in memory for this process. @default true */
964
+ cache?: boolean;
965
+ /** Cache TTL in milliseconds. @default 3600000 */
966
+ cacheTTL?: number;
967
+ }
968
+ interface ResolvedGraphvizOptions {
969
+ command: string;
970
+ args: string[];
971
+ missingRenderer: GraphvizFailureMode;
972
+ renderErrors: GraphvizFailureMode;
973
+ timeout: number;
974
+ cache: boolean;
975
+ cacheTTL: number;
976
+ }
977
+ declare function clearGraphvizCache(): void;
978
+ declare function resolveGraphvizOptions(options: boolean | GraphvizOptions | undefined): ResolvedGraphvizOptions | false;
979
+ //#endregion
980
+ //#region src/plugins/graphviz.d.ts
981
+ declare function transformGraphvizStatic(html: string, options?: boolean | GraphvizOptions | ResolvedGraphvizOptions): Promise<string>;
982
+ //#endregion
754
983
  //#region src/plugins/index.d.ts
755
984
  /**
756
985
  * Transform all plugin components in HTML.
757
986
  * Call this during SSG build to process all plugins at once.
758
987
  */
759
- interface TransformAllOptions {
988
+ interface TransformAllOptions extends MediaEmbedOptions {
760
989
  tabs?: boolean;
761
990
  /**
762
991
  * Expand `<pm>` package-manager blocks into install tabs. Pass an object to
@@ -769,23 +998,127 @@ interface TransformAllOptions {
769
998
  ogp?: boolean | OgpOptions;
770
999
  openGraph?: boolean | OgpOptions;
771
1000
  mermaid?: boolean;
1001
+ graphviz?: boolean | GraphvizOptions;
772
1002
  githubToken?: string;
773
- spotify?: boolean;
774
- appleMusic?: boolean;
775
- speakerDeck?: boolean;
776
- audio?: boolean;
777
- video?: boolean;
778
- stackBlitz?: boolean;
779
- twitter?: boolean | TwitterEmbedOptions;
780
- reddit?: boolean | RedditEmbedOptions;
781
- bluesky?: boolean;
782
- webContainer?: boolean;
783
1003
  }
784
1004
  /**
785
1005
  * Transform all enabled plugins in HTML content.
786
1006
  */
787
1007
  declare function transformAllPlugins(html: string, options?: TransformAllOptions): Promise<string>;
788
1008
  //#endregion
1009
+ //#region src/cross-reference-types.d.ts
1010
+ type CrossReferenceKind = "figure" | "table" | "section";
1011
+ type CrossReferenceFailureMode = "error" | "warn";
1012
+ interface CrossReferenceLabelOptions {
1013
+ figure?: string;
1014
+ table?: string;
1015
+ section?: string;
1016
+ }
1017
+ interface CrossReferencesOptions {
1018
+ enabled?: boolean;
1019
+ missing?: CrossReferenceFailureMode;
1020
+ duplicates?: CrossReferenceFailureMode;
1021
+ mismatches?: CrossReferenceFailureMode;
1022
+ labels?: CrossReferenceLabelOptions;
1023
+ }
1024
+ interface ResolvedCrossReferencesOptions {
1025
+ enabled: boolean;
1026
+ missing: CrossReferenceFailureMode;
1027
+ duplicates: CrossReferenceFailureMode;
1028
+ mismatches: CrossReferenceFailureMode;
1029
+ labels: Required<CrossReferenceLabelOptions>;
1030
+ }
1031
+ interface CrossReferenceEntry {
1032
+ id: string;
1033
+ kind: CrossReferenceKind;
1034
+ number: string;
1035
+ label: string;
1036
+ text: string;
1037
+ href: string;
1038
+ title?: string;
1039
+ }
1040
+ //#endregion
1041
+ //#region src/citation-types.d.ts
1042
+ type CitationFailureMode = "error" | "warn";
1043
+ interface CitationsOptions {
1044
+ enabled?: boolean;
1045
+ bibliography?: string | string[];
1046
+ rootDir?: string;
1047
+ appendBibliography?: boolean;
1048
+ missing?: CitationFailureMode;
1049
+ duplicates?: CitationFailureMode;
1050
+ malformed?: CitationFailureMode;
1051
+ bibliographyTitle?: string;
1052
+ }
1053
+ interface ResolvedCitationsOptions {
1054
+ enabled: boolean;
1055
+ bibliography: string[];
1056
+ rootDir?: string;
1057
+ appendBibliography: boolean;
1058
+ missing: CitationFailureMode;
1059
+ duplicates: CitationFailureMode;
1060
+ malformed: CitationFailureMode;
1061
+ bibliographyTitle: string;
1062
+ }
1063
+ interface CitationReference {
1064
+ id: string;
1065
+ key: string;
1066
+ index: number;
1067
+ label: string;
1068
+ href: string;
1069
+ bibliographyId: string;
1070
+ suppressAuthor: boolean;
1071
+ }
1072
+ interface BibliographyEntry {
1073
+ key: string;
1074
+ id: string;
1075
+ index: number;
1076
+ label: string;
1077
+ title: string;
1078
+ authors: string[];
1079
+ year?: string;
1080
+ url?: string;
1081
+ doi?: string;
1082
+ html: string;
1083
+ }
1084
+ //#endregion
1085
+ //#region src/budoux-types.d.ts
1086
+ type BudouxLanguage = "ja" | "zh-hans" | "zh-hant" | "th";
1087
+ interface BudouxParser {
1088
+ parse(text: string): string[];
1089
+ }
1090
+ interface BudouxOptions {
1091
+ /**
1092
+ * Enable build-time BudouX segmentation when an options object is supplied.
1093
+ *
1094
+ * @default true
1095
+ */
1096
+ enabled?: boolean;
1097
+ /**
1098
+ * Default BudouX parser language.
1099
+ *
1100
+ * @default "ja"
1101
+ */
1102
+ language?: BudouxLanguage;
1103
+ /**
1104
+ * Separator inserted between BudouX phrases.
1105
+ *
1106
+ * @default "\u200b"
1107
+ */
1108
+ separator?: string;
1109
+ /**
1110
+ * Custom build-time parser. When supplied, ox-content does not import the
1111
+ * `budoux` package.
1112
+ */
1113
+ parser?: BudouxParser;
1114
+ }
1115
+ interface ResolvedBudouxOptions {
1116
+ enabled: boolean;
1117
+ language: BudouxLanguage;
1118
+ separator: string;
1119
+ parser?: BudouxParser;
1120
+ }
1121
+ //#endregion
789
1122
  //#region src/page-context.d.ts
790
1123
  /**
791
1124
  * Base page props available for all pages.
@@ -2039,6 +2372,14 @@ interface RedirectsOptions {
2039
2372
  * @default false
2040
2373
  */
2041
2374
  json?: boolean;
2375
+ /**
2376
+ * Write static HTML fallback pages for ordinary redirect sources.
2377
+ *
2378
+ * Set `false` when the selected host should consume `_redirects` directly.
2379
+ * Wildcard sources never write HTML pages because they are host-rule syntax.
2380
+ * @default true
2381
+ */
2382
+ html?: boolean;
2042
2383
  /**
2043
2384
  * Allow `http://` and `https://` destinations. `javascript:`, `data:`, and
2044
2385
  * protocol-relative `//` targets stay rejected.
@@ -2055,12 +2396,58 @@ interface ResolvedRedirectsOptions {
2055
2396
  provider?: RedirectProvider;
2056
2397
  headers: boolean;
2057
2398
  json: boolean;
2399
+ html: boolean;
2058
2400
  allowExternal: boolean;
2059
2401
  }
2060
2402
  /**
2061
2403
  * Feed file formats written during SSG.
2062
2404
  */
2063
2405
  type FeedFormat = "rss" | "atom" | "json";
2406
+ /** One feed item author accepted by programmatic feeds. */
2407
+ interface FeedItemAuthor {
2408
+ name: string;
2409
+ url?: string;
2410
+ }
2411
+ type FeedItemAuthorInput = string | FeedItemAuthor;
2412
+ /** One JSON Feed / enclosure attachment accepted by programmatic feeds. */
2413
+ interface FeedItemAttachment {
2414
+ url: string;
2415
+ mimeType?: string;
2416
+ title?: string;
2417
+ sizeInBytes?: number;
2418
+ durationInSeconds?: number;
2419
+ }
2420
+ /** One collection or programmatic item considered for a generated feed. */
2421
+ interface FeedItemInput {
2422
+ title?: string;
2423
+ description?: string;
2424
+ content?: string;
2425
+ path?: string;
2426
+ loc?: string;
2427
+ url?: string;
2428
+ id?: string;
2429
+ date?: unknown;
2430
+ lastUpdated?: unknown;
2431
+ draft?: unknown;
2432
+ unlisted?: unknown;
2433
+ author?: FeedItemAuthorInput;
2434
+ authors?: readonly FeedItemAuthorInput[];
2435
+ image?: string;
2436
+ attachments?: readonly FeedItemAttachment[];
2437
+ language?: string;
2438
+ frontmatter?: Record<string, unknown>;
2439
+ }
2440
+ interface FeedItemsResolveContext {
2441
+ name?: string;
2442
+ formats: readonly FeedFormat[];
2443
+ path: string;
2444
+ siteUrl?: string;
2445
+ siteName?: string;
2446
+ siteDescription?: string;
2447
+ base: string;
2448
+ outDir?: string;
2449
+ }
2450
+ type FeedItemsSource = readonly FeedItemInput[] | ((context: FeedItemsResolveContext) => readonly FeedItemInput[] | Promise<readonly FeedItemInput[]>);
2064
2451
  /**
2065
2452
  * One feed's formats, source, output path, and channel metadata.
2066
2453
  */
@@ -2075,6 +2462,11 @@ interface FeedChannelOptions {
2075
2462
  * configured collection when `content` is absent.
2076
2463
  */
2077
2464
  collection?: string;
2465
+ /**
2466
+ * Programmatic items for this channel. A channel may set either
2467
+ * `collection` or `items`, not both.
2468
+ */
2469
+ items?: FeedItemsSource;
2078
2470
  /**
2079
2471
  * Maximum number of published items, newest first.
2080
2472
  * @default 20
@@ -2114,6 +2506,7 @@ interface ResolvedFeedChannel {
2114
2506
  name?: string;
2115
2507
  formats: readonly FeedFormat[];
2116
2508
  collection?: string;
2509
+ items?: FeedItemsSource;
2117
2510
  limit: number;
2118
2511
  path: string;
2119
2512
  title?: string;
@@ -2582,6 +2975,42 @@ interface OxContentOptions {
2582
2975
  * @default false
2583
2976
  */
2584
2977
  attrs?: boolean | AttrsOptions;
2978
+ /**
2979
+ * Opt-in labeled cross-references for headings, figures/images, and tables.
2980
+ *
2981
+ * References such as `@sec-install`, `@fig-pipeline`, and `@tbl-options`
2982
+ * become links to matching `id` attributes generated by `attrs` or native
2983
+ * Markdown rendering. Missing labels, duplicate labels, and prefix/type
2984
+ * mismatches fail by default and can be downgraded to warnings.
2985
+ *
2986
+ * @default false
2987
+ */
2988
+ crossReferences?: boolean | CrossReferencesOptions;
2989
+ /**
2990
+ * Alias for `crossReferences`.
2991
+ *
2992
+ * @default false
2993
+ */
2994
+ xrefs?: boolean | CrossReferencesOptions;
2995
+ /**
2996
+ * Opt-in bibliography-backed citation references.
2997
+ *
2998
+ * References such as `[@rfc9110]` and `[@smith2024; @doe2023]` become
2999
+ * links to generated bibliography entries loaded from local CSL JSON files.
3000
+ *
3001
+ * @default false
3002
+ */
3003
+ citations?: boolean | CitationsOptions;
3004
+ /**
3005
+ * Opt-in build-time BudouX phrase segmentation.
3006
+ *
3007
+ * Inserts zero-width spaces into visible prose so Japanese text gets better
3008
+ * line-break opportunities without shipping the BudouX parser to the browser.
3009
+ * Install `budoux` when enabling the default parser, or pass a custom parser.
3010
+ *
3011
+ * @default false
3012
+ */
3013
+ budoux?: boolean | BudouxOptions;
2585
3014
  /**
2586
3015
  * Opt-in `{badge:variant}` inline badges.
2587
3016
  *
@@ -2688,6 +3117,19 @@ interface OxContentOptions {
2688
3117
  * @default false
2689
3118
  */
2690
3119
  timelines?: boolean | TimelineOptions;
3120
+ /**
3121
+ * Opt-in static `::: if` / `::: else` blocks.
3122
+ *
3123
+ * Conditions are evaluated from `conditionalBlocks.values` and page
3124
+ * frontmatter before Markdown is parsed. Non-selected branches are excluded
3125
+ * from rendered HTML, TOC, and generated search payloads. The expression
3126
+ * language supports `==`, `!=`, `in`, `and`, `or`, parentheses, string /
3127
+ * number / boolean / null literals, and array literals. No JavaScript is
3128
+ * executed.
3129
+ *
3130
+ * @default false
3131
+ */
3132
+ conditionalBlocks?: boolean | ConditionalBlockOptions;
2691
3133
  /**
2692
3134
  * Opt-in page-bundle resources and build-time image processing.
2693
3135
  *
@@ -2856,6 +3298,13 @@ interface OxContentOptions {
2856
3298
  * @default false
2857
3299
  */
2858
3300
  mermaid?: boolean;
3301
+ /**
3302
+ * Render `dot` / `graphviz` fenced blocks to static SVG with Graphviz.
3303
+ * Pass an object to configure the renderer command and failure policy.
3304
+ *
3305
+ * @default false
3306
+ */
3307
+ graphviz?: boolean | GraphvizOptions;
2859
3308
  /**
2860
3309
  * Enable `$…$` inline and `$$…$$` block math.
2861
3310
  *
@@ -2988,6 +3437,12 @@ interface ResolvedOptions {
2988
3437
  wikiLinks: ResolvedWikiLinkOptions;
2989
3438
  emojiShortcodes: ResolvedEmojiShortcodeOptions;
2990
3439
  attrs: ResolvedAttrsOptions;
3440
+ crossReferences: ResolvedCrossReferencesOptions;
3441
+ citations: ResolvedCitationsOptions;
3442
+ /**
3443
+ * Present after `resolveOptions`. Omitted in hand-built fixtures means off.
3444
+ */
3445
+ budoux?: ResolvedBudouxOptions;
2991
3446
  badges: ResolvedBadgeOptions;
2992
3447
  /**
2993
3448
  * Present after `resolveOptions`. Omitted in hand-built fixtures means off.
@@ -3016,6 +3471,10 @@ interface ResolvedOptions {
3016
3471
  * Present after `resolveOptions`. Omitted in hand-built fixtures means off.
3017
3472
  */
3018
3473
  timelines?: ResolvedTimelineOptions;
3474
+ /**
3475
+ * Present after `resolveOptions`. Omitted in hand-built fixtures means off.
3476
+ */
3477
+ conditionalBlocks?: ResolvedConditionalBlockOptions;
3019
3478
  codeImports: ResolvedCodeImportOptions;
3020
3479
  includes: ResolvedIncludeOptions;
3021
3480
  /**
@@ -3041,6 +3500,7 @@ interface ResolvedOptions {
3041
3500
  typedHover?: ResolvedTypedHoverOptions;
3042
3501
  docsTests: ResolvedDocsTestOptions;
3043
3502
  mermaid: boolean;
3503
+ graphviz: ResolvedGraphvizOptions | false;
3044
3504
  math: ResolvedMathOptions;
3045
3505
  frontmatter: boolean;
3046
3506
  toc: boolean;
@@ -3135,6 +3595,72 @@ interface BuiltinEmbedOptions {
3135
3595
  * @default false
3136
3596
  */
3137
3597
  bluesky?: boolean;
3598
+ /**
3599
+ * Render `<GoogleMaps>` as static place cards.
3600
+ * @default false
3601
+ */
3602
+ googleMaps?: boolean;
3603
+ /**
3604
+ * Render `<Qiita>` as static article cards.
3605
+ * Pass `{ fetch: false }` to skip metadata fetching and render a link-only card.
3606
+ * @default false
3607
+ */
3608
+ qiita?: boolean | ProviderArticleEmbedOptions;
3609
+ /**
3610
+ * Render `<Zenn>` as static article cards.
3611
+ * Pass `{ fetch: false }` to skip metadata fetching and render a link-only card.
3612
+ * @default false
3613
+ */
3614
+ zenn?: boolean | ProviderArticleEmbedOptions;
3615
+ /**
3616
+ * Render `<NpmPackage>`, `<CratesIo>`, `<PyPI>`, and `<DockerHub>` as static cards.
3617
+ * Pass `{ fetch: false }` to skip metadata fetching and render link-only cards.
3618
+ * @default false
3619
+ */
3620
+ packageRegistry?: boolean | ProviderPackageEmbedOptions;
3621
+ /**
3622
+ * Render `<CodePen>`, `<JSFiddle>`, and `<Observable>` as static playground cards.
3623
+ * Pass `{ iframe: true }` to include lazy iframe URLs where supported.
3624
+ * @default false
3625
+ */
3626
+ playgrounds?: boolean | ProviderPlaygroundEmbedOptions;
3627
+ /**
3628
+ * Render `<Vimeo>` as static video cards.
3629
+ * Pass `{ iframe: true }` to include lazy player iframe URLs.
3630
+ * @default false
3631
+ */
3632
+ vimeo?: boolean | ProviderVideoEmbedOptions;
3633
+ /**
3634
+ * Render `<Twitch>` as static video, clip, and channel cards.
3635
+ * Pass `{ iframe: true, parent: "example.com" }` to include Twitch iframes.
3636
+ * @default false
3637
+ */
3638
+ twitch?: boolean | ProviderVideoEmbedOptions;
3639
+ /**
3640
+ * Render `<Discord>` as static invite/message cards.
3641
+ * @default false
3642
+ */
3643
+ discord?: boolean;
3644
+ /**
3645
+ * Render `<Fediverse>`, `<Mastodon>`, `<Misskey>`, and `<Mixi2>` as static cards.
3646
+ * @default false
3647
+ */
3648
+ fediverse?: boolean;
3649
+ /**
3650
+ * Render `<Facebook>` as static post cards.
3651
+ * @default false
3652
+ */
3653
+ facebook?: boolean;
3654
+ /**
3655
+ * Render `<Threads>` as static post cards.
3656
+ * @default false
3657
+ */
3658
+ threads?: boolean;
3659
+ /**
3660
+ * Render `<Instagram>` as static post cards.
3661
+ * @default false
3662
+ */
3663
+ instagram?: boolean;
3138
3664
  /**
3139
3665
  * Render `<WebContainer>` lazy placeholders with isolation metadata.
3140
3666
  * @default false
@@ -3167,6 +3693,18 @@ interface ResolvedBuiltinEmbedOptions {
3167
3693
  twitter: TwitterEmbedOptions | false;
3168
3694
  reddit?: RedditEmbedOptions | false;
3169
3695
  bluesky: boolean;
3696
+ googleMaps?: boolean;
3697
+ qiita?: ProviderArticleEmbedOptions | false;
3698
+ zenn?: ProviderArticleEmbedOptions | false;
3699
+ packageRegistry?: ProviderPackageEmbedOptions | false;
3700
+ playgrounds?: ProviderPlaygroundEmbedOptions | false;
3701
+ vimeo?: ProviderVideoEmbedOptions | false;
3702
+ twitch?: ProviderVideoEmbedOptions | false;
3703
+ discord?: boolean;
3704
+ fediverse?: boolean;
3705
+ facebook?: boolean;
3706
+ threads?: boolean;
3707
+ instagram?: boolean;
3170
3708
  webContainer: boolean;
3171
3709
  }
3172
3710
  /**
@@ -3484,6 +4022,29 @@ interface ResolvedTimelineOptions {
3484
4022
  unknownMeta: "error" | "warn" | "ignore";
3485
4023
  empty: "error" | "warn" | "ignore";
3486
4024
  }
4025
+ /**
4026
+ * Options for opt-in static conditional blocks.
4027
+ */
4028
+ interface ConditionalBlockOptions {
4029
+ /**
4030
+ * Enable `::: if` / `::: else` blocks.
4031
+ *
4032
+ * @default true when the options object is supplied.
4033
+ */
4034
+ enabled?: boolean;
4035
+ /**
4036
+ * Build-time values available as `config.*` or bare identifiers. Page
4037
+ * frontmatter wins for bare identifiers; use `config.name` to force config.
4038
+ */
4039
+ values?: Record<string, unknown>;
4040
+ }
4041
+ /**
4042
+ * Resolved conditional-block transform options.
4043
+ */
4044
+ interface ResolvedConditionalBlockOptions {
4045
+ enabled: boolean;
4046
+ values: Record<string, unknown>;
4047
+ }
3487
4048
  /**
3488
4049
  * Options for opt-in page-bundle resources and image processing.
3489
4050
  */
@@ -4416,6 +4977,18 @@ interface TransformResult {
4416
4977
  * Unique JSX component names in document order (empty when none).
4417
4978
  */
4418
4979
  components: string[];
4980
+ /**
4981
+ * Labeled cross-reference targets collected during the Markdown transform.
4982
+ */
4983
+ crossReferences: CrossReferenceEntry[];
4984
+ /**
4985
+ * Citation references collected during the Markdown transform.
4986
+ */
4987
+ citations: CitationReference[];
4988
+ /**
4989
+ * Bibliography entries used by this document.
4990
+ */
4991
+ bibliography: BibliographyEntry[];
4419
4992
  }
4420
4993
  /**
4421
4994
  * Table of contents entry.
@@ -5363,8 +5936,10 @@ declare module "virtual:ox-content/collections" {
5363
5936
  export default api;
5364
5937
  }
5365
5938
  //#endregion
5366
- //#region src/resolve-options.d.ts
5939
+ //#region src/builtin-embed-options.d.ts
5367
5940
  declare function resolveBuiltinEmbedOptions(options: OxContentOptions["embeds"]): ResolvedOptions["embeds"];
5941
+ //#endregion
5942
+ //#region src/resolve-options.d.ts
5368
5943
  declare function resolveMathOptions(options: OxContentOptions["math"]): ResolvedOptions["math"];
5369
5944
  declare function resolveBadgeOptions(options: OxContentOptions["badges"]): ResolvedOptions["badges"];
5370
5945
  declare function resolveKeyboardKeysOptions(options: OxContentOptions["keyboardKeys"]): NonNullable<ResolvedOptions["keyboardKeys"]>;
@@ -5794,10 +6369,11 @@ declare function renderIslandComponentImports(usedComponents: readonly string[],
5794
6369
  * Optional adapter-side island SSR.
5795
6370
  *
5796
6371
  * Framework plugins may supply `renderIsland` to replace island inner HTML at
5797
- * transform time. This helper stays framework-neutral and does not import a
5798
- * framework SSR runtime.
6372
+ * transform time. The hook receives the original slot HTML so adapters can pass
6373
+ * children into their SSR runtime. This helper stays framework-neutral and does
6374
+ * not import a framework SSR runtime.
5799
6375
  */
5800
- type RenderIslandFn = (name: string, props: Record<string, unknown>, filePath: string) => string | Promise<string>;
6376
+ type RenderIslandFn = (name: string, props: Record<string, unknown>, filePath: string, slotHtml?: string) => string | Promise<string>;
5801
6377
  declare function applyIslandSsrHtml(html: string, renderIsland: RenderIslandFn, filePath: string, names?: Iterable<string>): Promise<string>;
5802
6378
  //#endregion
5803
6379
  //#region src/resolve-image-options.d.ts
@@ -6614,24 +7190,35 @@ declare function resolveCascadeOptions(value: boolean | CascadeOptions | undefin
6614
7190
  *
6615
7191
  * `false` / omitted stays off. `true` or `{}` enables empty defaults.
6616
7192
  * A path map (`{ "/old": "/new" }`) enables the feature with that map.
6617
- * `{ map, provider, headers, json, allowExternal }` overrides only set fields.
7193
+ * `{ map, provider, headers, json, html, allowExternal }` overrides only set fields.
6618
7194
  * Pass `env` to inject CI detection without reading the real `process.env`.
6619
7195
  */
6620
7196
  declare function resolveRedirectsOptions(value: boolean | RedirectsOptions | Record<string, string> | undefined, env?: NodeJS.ProcessEnv): ResolvedRedirectsOptions;
6621
7197
  //#endregion
6622
- //#region src/feeds.d.ts
6623
- /** One collection entry considered for a feed. */
6624
- interface FeedItemInput {
6625
- title?: string;
6626
- description?: string;
6627
- path?: string;
6628
- loc?: string;
6629
- date?: unknown;
6630
- lastUpdated?: unknown;
6631
- draft?: unknown;
6632
- unlisted?: unknown;
6633
- frontmatter?: Record<string, unknown>;
7198
+ //#region src/markdown-tables.d.ts
7199
+ interface MarkdownTableEnhancementOptions {
7200
+ /**
7201
+ * Tables to enhance. Defaults to Markdown content tables styled by
7202
+ * `@ox-content/vite-plugin/styles/core.css`.
7203
+ */
7204
+ selector?: string;
7205
+ /**
7206
+ * Accessible name applied only when an overflowing table has no existing
7207
+ * `aria-label` or `aria-labelledby`.
7208
+ */
7209
+ label?: string;
6634
7210
  }
7211
+ declare function markdownTableScrollLabel(locale?: string): string;
7212
+ /**
7213
+ * Makes overflowing Markdown tables keyboard-scrollable without wrapping or
7214
+ * replacing the native `<table>` element.
7215
+ *
7216
+ * Run this after rendering Markdown and again after layout-changing updates.
7217
+ * Narrow tables stay out of the tab order when overflow can be measured.
7218
+ */
7219
+ declare function enhanceMarkdownTables(root?: ParentNode, options?: MarkdownTableEnhancementOptions): number;
7220
+ //#endregion
7221
+ //#region src/feeds.d.ts
6635
7222
  /** Inputs for rendering feed bodies. */
6636
7223
  interface FeedsRenderInput {
6637
7224
  options?: ResolvedFeedsOptions | null;
@@ -6644,10 +7231,28 @@ interface FeedsRenderInput {
6644
7231
  items?: readonly FeedItemInput[];
6645
7232
  publishState?: ResolvedPublishStateOptions;
6646
7233
  }
6647
- /** Inputs for writing feeds next to generated HTML. */
6648
- interface WriteFeedFilesInput extends FeedsRenderInput {
6649
- outDir: string;
7234
+ /** Rendered feed bodies, or a skip warning. */
7235
+ interface FeedsRenderResult {
7236
+ rssXml?: string;
7237
+ atomXml?: string;
7238
+ jsonFeed?: string;
7239
+ warning?: string;
7240
+ }
7241
+ interface RenderedFeedFile {
7242
+ path: string;
7243
+ contentType: string;
7244
+ content: string;
7245
+ }
7246
+ interface RenderFeedFilesInput extends FeedsRenderInput {
6650
7247
  base: string;
7248
+ outDir?: string;
7249
+ }
7250
+ interface RenderFeedFilesResult {
7251
+ files: RenderedFeedFile[];
7252
+ warning?: string;
7253
+ }
7254
+ interface WriteFeedFilesInput extends RenderFeedFilesInput {
7255
+ outDir: string;
6651
7256
  }
6652
7257
  /**
6653
7258
  * Resolves `feeds` with defaults.
@@ -6658,7 +7263,9 @@ interface WriteFeedFilesInput extends FeedsRenderInput {
6658
7263
  * multiple feeds.
6659
7264
  */
6660
7265
  declare function resolveFeedsOptions(value: boolean | FeedsOptions | undefined): ResolvedFeedsOptions;
6661
- /** Writes enabled feed files into `outDir`. */
7266
+ /** Builds RSS / Atom / JSON Feed bodies without writing files. */
7267
+ declare function generateFeeds(input: FeedsRenderInput): FeedsRenderResult;
7268
+ declare function renderFeedFiles(input: RenderFeedFilesInput): Promise<RenderFeedFilesResult>;
6662
7269
  declare function writeFeedFiles(input: WriteFeedFilesInput): Promise<{
6663
7270
  files: string[];
6664
7271
  warning?: string;
@@ -6686,6 +7293,10 @@ declare class BlogFeedError extends Error {
6686
7293
  */
6687
7294
  declare function readingTimeMinutes(markdown: string): number;
6688
7295
  //#endregion
7296
+ //#region src/budoux.d.ts
7297
+ declare function resolveBudouxOptions(options: OxContentOptions["budoux"]): ResolvedBudouxOptions;
7298
+ declare function transformBudouxHtml(html: string, options: ResolvedBudouxOptions | undefined): Promise<string>;
7299
+ //#endregion
6689
7300
  //#region src/pwa.d.ts
6690
7301
  /**
6691
7302
  * Resolves `pwa` with defaults.
@@ -6753,7 +7364,7 @@ declare function resolveSearchOptions(options: SearchOptions | boolean | undefin
6753
7364
  * then drops matching documents and rebuilds the BM25 index so omitted
6754
7365
  * pages (such as the opt-in 404 source) are not searchable.
6755
7366
  */
6756
- declare function buildSearchIndex(srcDir: string, base: string, extensions?: readonly string[], publishState?: ResolvedPublishStateOptions, excludeDocumentIds?: readonly string[], mdx?: boolean): Promise<string>;
7367
+ declare function buildSearchIndex(srcDir: string, base: string, extensions?: readonly string[], publishState?: ResolvedPublishStateOptions, excludeDocumentIds?: readonly string[], mdx?: boolean, conditionalBlocks?: ResolvedConditionalBlockOptions, citations?: ResolvedCitationsOptions): Promise<string>;
6757
7368
  /**
6758
7369
  * Writes the search index to a file.
6759
7370
  */
@@ -7058,9 +7669,6 @@ interface OgBrowserSession extends AsyncDisposable {
7058
7669
  }
7059
7670
  //#endregion
7060
7671
  //#region src/og-image/index.d.ts
7061
- /**
7062
- * Resolves user-provided OG image options with defaults.
7063
- */
7064
7672
  declare function resolveOgImageOptions(options: OgImageOptions$1 | undefined): ResolvedOgImageOptions;
7065
7673
  /**
7066
7674
  * A single page entry for batch OG image generation.
@@ -7234,5 +7842,5 @@ declare function oxContent(options?: OxContentOptions): Plugin[];
7234
7842
  */
7235
7843
  declare function generateVirtualModule(path: string, options: ResolvedOptions): string;
7236
7844
  //#endregion
7237
- export { A11yOptions, AbbreviationsOptions, AttrsOptions, BadgeOptions, type BasePageProps, BlogAuthor, BlogFeedError, BlogFeedFailurePolicy, BlogFeedSource, BlogOptions, BuiltinEmbedOptions, BuiltinPmOptions, CardOptions, CascadeOptions, CodeAnnotationKind, CodeAnnotationSyntax, CodeAnnotationsOptions, type CodeBlockDiagnostic, CodeBlockLintOptions, CodeBlockTypecheckOptions, CodeGroupOptions, CodeImportOptions, type CollectedDocsTest, CollectionEntry, CollectionIncludeField, CollectionManifest, CollectionOptions, CollectionQueryBuilder, CollectionQueryOperator, CollectionsOptions, type ComponentRegistry, ContainerOptions, ContainerTypeOptions, ContributorsOptions, DEFAULT_HTML_TEMPLATE, DEFAULT_MARKDOWN_EXTENSIONS, DataTableOptions, DefaultTheme, DefinitionListOptions, type DiscoverDocumentMdxIslandsInput, type DiscoverDocumentMdxIslandsResult, type DiscoverRegisteredMdxComponentsInput, DocEntry, DocMember, DocsEntryPoint, DocsNavigationItem, DocsOptions, DocsSortStrategy, DocsSummary, type DocsTestFileOptions, type DocsTestHarnessOptions, DocsTestOptions, DocsTestRunError, type DocsTestRunResult, type DocsTestSource, type DocsTestWriteResult, type DocumentImportDiagnostic, type DocumentImportDiagnosticCode, EditThisPageOptions, EmojiShortcodeOptions, EntryPageConfig, type ExtractedCodeBlock, ExtractedDocs, FeatureConfig, FeedChannelOptions, FeedFormat, FeedsOptions, FileTreeIconOptions, FileTreeOptions, Fragment, type FrameworkCodegenMode, type FrameworkCodegenTarget, type FrameworkComponentIsland, type FrameworkMarkdownOptions, type FrameworkRenderTarget, type FrameworkTransformData, type FrontmatterSchema, type GenerateVitePressMigrationConfigOptions, GeneratedDocsData, GeneratedOpenApiDocs, type GitHubLineRange, type GitHubOptions, type GitHubRepoData, type GitHubSourceCommit, type GitHubSourceData, type GitHubSourceRef, type GlobalComponentMap, type HeadAlternate, type HeadDiagnostic, type HeadInput, type HeadJsonLd, type HeadLink, type HeadMeta, type HeadValidationMode, type HeaderNavItem, HeadingPermalinksOptions, HeroAction, HeroConfig, HeroImage, HeroNotice, I18nOptions, IconsOptions, ImageGalleryOptions, ImageOptions, IncludeOptions, type IncrementalMarkdownParseAppendOptions, type IncrementalMarkdownParseResult, IncrementalMarkdownParser, type IncrementalMarkdownParserOptions, type IncrementalMarkdownRenderAppendOptions, type IncrementalMarkdownRenderResult, IncrementalMarkdownRenderer, type IncrementalMarkdownRendererOptions, type IslandInfo, type JSXChild, type JSXElementType, type JSXNode, type JSXProps, JsonLdOptions, JsonLdPageType, JsonLdPublisherOptions, KeyboardKeysOptions, type LoadStrategy, LocaleConfig, type LocaleLabel, MagicLinkAlias, MagicLinkImageOverride, MagicLinkOptions, 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, type MarkdownProcessor, MarkdownSourceOptions, MarkdownTransformer, MathOptions, MdxImport, MdxImportSpecifier, MdxImportSpecifierKind, type MermaidOptions, type NavGroup, NavItem, NotByAiOptions, NotFoundOptions, type OgBrowserSession, OgImageOptions, type OgImagePageEntry, type OgImageOptions$1 as OgImagePluginOptions, OgImageRenderer, type OgImageResult, OgImageSatoriFont, OgImageSatoriFontWeight, OgImageSatoriOptions, type OgImageTemplateFn, type OgImageTemplateProps, type OgpData, type OgpOptions, OpenApiDocsInput, OpenApiDocsOptions, OpenApiDocsSource, OxContentOptions, type PageChromeFlags, type PageData, type PageProps, PageResourceError, ParamDoc, type ParseIslandsResult, PartialsOptions, PermalinksOptions, type PlanSsgOutputsInput, type PlanSsgOutputsOptions, PublishStateOptions, PwaOptions, ReaderChromeOptions, type RedditEmbedOptions, type RedditPostData, type RedditPostReference, RedirectProvider, RedirectsOptions, type RenderContext, type RenderIslandComponentImportsInput, type RenderIslandFn, type RenderedHead, type ResolveDocumentComponentImportsInput, type ResolveDocumentComponentImportsResult, ResolvedA11y, ResolvedAbbreviationsOptions, ResolvedAttrsOptions, ResolvedBadgeOptions, ResolvedBlogFeedSource, ResolvedBlogOptions, ResolvedBuiltinEmbedOptions, ResolvedCardOptions, ResolvedCascadeOptions, ResolvedCodeAnnotationsOptions, ResolvedCodeBlockLintOptions, ResolvedCodeBlockTypecheckOptions, ResolvedCodeGroupOptions, ResolvedCodeImportOptions, ResolvedCollectionOptions, ResolvedCollectionsOptions, ResolvedContainerOptions, ResolvedContributors, ResolvedDataTableOptions, ResolvedDefinitionListOptions, ResolvedDocsEntryPoint, ResolvedDocsOptions, ResolvedDocsTestOptions, type ResolvedDocumentComponentImport, ResolvedEditThisPageOptions, ResolvedEmojiShortcodeOptions, ResolvedFeedChannel, ResolvedFeedsOptions, ResolvedFileTreeOptions, ResolvedHeadingPermalinksOptions, ResolvedI18nOptions, ResolvedIconsOptions, ResolvedImageGalleryOptions, ResolvedImageOptions, ResolvedIncludeOptions, ResolvedJsonLd, ResolvedKeyboardKeysOptions, ResolvedMagicLinkOptions, ResolvedMarkdownSourceOptions, ResolvedMathOptions, ResolvedNotByAiOptions, ResolvedNotFoundOptions, ResolvedOgImageOptions, ResolvedOpenApiDocsInput, ResolvedOpenApiDocsOptions, ResolvedOptions, ResolvedPartialsOptions, ResolvedPermalinksOptions, ResolvedPublishStateOptions, ResolvedPwaOptions, ResolvedReaderChrome, ResolvedRedirectsOptions, ResolvedResourcesOptions, ResolvedSanitizeOptions, ResolvedSearchOptions, ResolvedSectionIndexOptions, ResolvedSiteMapsOptions, ResolvedSsgOptions, ResolvedStepsOptions, ResolvedTaxonomiesOptions, ResolvedTeamOptions, type ResolvedThemeConfig, ResolvedTimelineOptions, ResolvedTypedHoverOptions, ResolvedVersionEntry, ResolvedVersionsOptions, ResolvedWikiLinkOptions, ResourcesOptions, ReturnDoc, type RunDocsTestsOptions, SanitizeOptions, ScopedSearchQuery, SearchDocument, SearchOptions, SearchResult, SectionIndexOptions, SectionIndexStyle, type SidebarItem, type SiteConfig, type SiteHead, SiteMapsOptions, type SocialLinks, SsgNavigationGroup, SsgNavigationItem, SsgOptions, SsgOutputPageInput, type SsgOutputPlan, StepsOptions, TaxonomiesOptions, TeamLink, TeamMember, TeamOptions, type ThemeAnnouncement, type ThemeColors, type ThemeComponent, type ThemeConfig, type ThemeEmbed, type ThemeEntryPage, type ThemeFontValue, type ThemeFonts, type ThemeFooter, type ThemeHeader, type ThemeLayout, type ThemeProps, type ThemeRenderOptions, type ThemeTokens, type ThemeWebFont, ThrowsDoc, TimelineOptions, TocEntry, type TransformAllOptions, TransformContext, TransformResult, type TwitterEmbedOptions, type TypecheckCodeBlockOptions, TypedHoverOptions, VersionBannerKind, VersionEntry, VersionsOptions, type VitePressConfig, type VitePressFooter, type VitePressLogo, type VitePressNavItem, type VitePressSidebar, type VitePressSidebarItem, type VitePressSocialLink, type VitePressThemeConfig, WikiLinkOptions, type WriteResourceFilesInput, type WriteResourceFilesPage, type WriteResourceFilesResult, type WrittenDocsTestFile, type YouTubeOptions, applyIslandSsrHtml, buildCollectionManifest, buildSearchIndex, buildSsg, classifyPublishState, clearRenderContext, collectDocsTests, collectGitHubRepos, collectGitHubSources, collectMdxIslandNamesFromHtml, collectMdxJsxNamesFromAst, collectOgpUrls, convertVitePressNav, convertVitePressSidebar, createFrameworkMarkdownOptions, createI18nPlugin, createIncrementalMarkdownParser, createIncrementalMarkdownRenderer, createMarkdownEnvironment, createMarkdownProcessor, createTheme, defaultTheme, defineCollection, defineCollections, defineTheme, discoverDocumentMdxIslands, discoverRegisteredMdxComponents, each, escapeSvelteMarkup, extractCodeBlocks, extractDocs, extractDocsTests, extractIslandInfo, extractVideoId, fetchGitHubSource, fetchOgpData, fetchRepoData, fromVitePressConfig, generateCollectionsVirtualModule, generateFrontmatterTypes, generateHydrationScript, generateMarkdown, generateOgImages, generateOpenApiDocs, generateTabsCSS, generateTypes, generateVirtualModule, generateVitePressMigrationConfig, hasIslands, inferType, intersectHydratableComponentNames, intersectRegisteredComponentNames, isMarkdownFilePath, isMdxFilePath, isRegisteredComponent, jsx, jsxs, lintCodeBlocks, lintMarkdown, lintMarkdownAsync, lintMarkdownFile, lintMarkdownFiles, mergeThemes, mermaidClientScript, normalizeMarkdownExtensions, normalizeVitePressFrontmatter, oxContent, parseGitHubLineRange, parseGitHubPermalink, parsePageChromeFlags, parseRedditPostReference, partitionPublishedPages, planSsgOutputs, prefetchGitHubRepos, prefetchGitHubSources, prefetchOgpData, raw, readingTimeMinutes, renderAllPages, renderHead, renderHtmlToFrameworkCode, renderHtmlToReactComponent, renderHtmlToReactCreateElement, renderHtmlToSvelteComponent, renderHtmlToVueComponent, renderHtmlToVueH, renderIslandComponentImports, renderMarkdown, renderMarkdownStream, renderPage, renderToString, resolveAbbreviationsOptions, resolveBadgeOptions, resolveBlogCollectionName, resolveBlogOptions, resolveBuiltinEmbedOptions, resolveCardOptions, resolveCascadeOptions, resolveCodeGroupOptions, resolveCollectionsOptions, resolveContentRootPath, resolveDataTableOptions, resolveDocsOptions, resolveDocumentComponentImports, resolveFeedsOptions, resolveFileTreeOptions, resolveGitLastmod, resolveHeadValidation, resolveHeaderNavItems, resolveHeadingPermalinksOptions, resolveI18nOptions, resolveImageGalleryOptions, resolveImageOptions, resolveIncludeOptions, resolveKeyboardKeysOptions, resolveLocaleLabel, resolveMarkdownSourceOptions, resolveMathOptions, resolveMdxForFilePath, resolveNotByAiOptions, resolveNotFoundOptions, resolveOgImageOptions, resolvePageChromeOption, resolvePartialsOptions, resolvePermalinksOptions, resolvePublishStateOptions, resolvePwaOptions, resolveRedirectsOptions, resolveResourcesOptions, resolveSearchOptions, resolveSectionIndexOptions, resolveSiteMapsOptions, resolveSsgOptions, resolveStepsOptions, resolveTaxonomiesOptions, resolveTeamOptions, resolveTheme, resolveTimelineOptions, resolveTypedHoverOptions, resolveVersionsOptions, runDocsTests, setRenderContext, shouldLintMarkdownFile, stripMarkdownExtension, stripViteQuery, transformAllPlugins, transformGitHub, transformIslands, transformMarkdown, transformMermaidStatic, transformOgp, transformRedditEmbeds, transformTabs, transformYouTube, typecheckCodeBlocks, useIsActive, useNav, usePageProps, useRenderContext, useSiteConfig, when, writeDocs, writeDocsTestFiles, writeFeedFiles, writeMarkdownCompanions, writeResourceFiles, writeSearchIndex, writeSiteMapFiles };
7845
+ export { A11yOptions, AbbreviationsOptions, AttrsOptions, BadgeOptions, type BasePageProps, type BibliographyEntry, BlogAuthor, BlogFeedError, BlogFeedFailurePolicy, BlogFeedSource, BlogOptions, type BudouxLanguage, type BudouxOptions, type BudouxParser, BuiltinEmbedOptions, BuiltinPmOptions, CardOptions, CascadeOptions, type CitationFailureMode, type CitationReference, type CitationsOptions, CodeAnnotationKind, CodeAnnotationSyntax, CodeAnnotationsOptions, type CodeBlockDiagnostic, CodeBlockLintOptions, CodeBlockTypecheckOptions, CodeGroupOptions, CodeImportOptions, type CollectedDocsTest, CollectionEntry, CollectionIncludeField, CollectionManifest, CollectionOptions, CollectionQueryBuilder, CollectionQueryOperator, CollectionsOptions, type ComponentRegistry, ConditionalBlockOptions, ContainerOptions, ContainerTypeOptions, ContributorsOptions, type CrossReferenceEntry, type CrossReferenceFailureMode, type CrossReferenceKind, type CrossReferenceLabelOptions, type CrossReferencesOptions, DEFAULT_HTML_TEMPLATE, DEFAULT_MARKDOWN_EXTENSIONS, DataTableOptions, DefaultTheme, DefinitionListOptions, type DiscoverDocumentMdxIslandsInput, type DiscoverDocumentMdxIslandsResult, type DiscoverRegisteredMdxComponentsInput, DocEntry, DocMember, DocsEntryPoint, DocsNavigationItem, DocsOptions, DocsSortStrategy, DocsSummary, type DocsTestFileOptions, type DocsTestHarnessOptions, DocsTestOptions, DocsTestRunError, type DocsTestRunResult, type DocsTestSource, type DocsTestWriteResult, type DocumentImportDiagnostic, type DocumentImportDiagnosticCode, EditThisPageOptions, EmojiShortcodeOptions, EntryPageConfig, type ExtractedCodeBlock, ExtractedDocs, FeatureConfig, FeedChannelOptions, FeedFormat, FeedItemAttachment, FeedItemAuthor, FeedItemAuthorInput, FeedItemInput, FeedItemsResolveContext, FeedItemsSource, FeedsOptions, type FeedsRenderInput, type FeedsRenderResult, FileTreeIconOptions, FileTreeOptions, Fragment, type FrameworkCodegenMode, type FrameworkCodegenTarget, type FrameworkComponentIsland, type FrameworkMarkdownOptions, type FrameworkRenderTarget, type FrameworkTransformData, type FrontmatterSchema, type GenerateVitePressMigrationConfigOptions, GeneratedDocsData, GeneratedOpenApiDocs, type GitHubLineRange, type GitHubOptions, type GitHubRepoData, type GitHubSourceCommit, type GitHubSourceData, type GitHubSourceRef, type GlobalComponentMap, type GraphvizFailureMode, type GraphvizOptions, type HeadAlternate, type HeadDiagnostic, type HeadInput, type HeadJsonLd, type HeadLink, type HeadMeta, type HeadValidationMode, type HeaderNavItem, HeadingPermalinksOptions, HeroAction, HeroConfig, HeroImage, HeroNotice, I18nOptions, IconsOptions, ImageGalleryOptions, ImageOptions, IncludeOptions, type IncrementalMarkdownParseAppendOptions, type IncrementalMarkdownParseResult, IncrementalMarkdownParser, type IncrementalMarkdownParserOptions, type IncrementalMarkdownRenderAppendOptions, type IncrementalMarkdownRenderResult, IncrementalMarkdownRenderer, type IncrementalMarkdownRendererOptions, type IslandInfo, type JSXChild, type JSXElementType, type JSXNode, type JSXProps, JsonLdOptions, JsonLdPageType, JsonLdPublisherOptions, KeyboardKeysOptions, type LoadStrategy, LocaleConfig, type LocaleLabel, MagicLinkAlias, MagicLinkImageOverride, MagicLinkOptions, 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, type MarkdownProcessor, MarkdownSourceOptions, type MarkdownTableEnhancementOptions, MarkdownTransformer, MathOptions, MdxImport, MdxImportSpecifier, MdxImportSpecifierKind, type MermaidOptions, type NavGroup, NavItem, NotByAiOptions, NotFoundOptions, type OgBrowserSession, OgImageOptions, type OgImagePageEntry, type OgImageOptions$1 as OgImagePluginOptions, OgImageRenderer, type OgImageResult, OgImageSatoriFont, OgImageSatoriFontWeight, OgImageSatoriOptions, type OgImageTemplateFn, type OgImageTemplateProps, type OgpData, type OgpOptions, OpenApiDocsInput, OpenApiDocsOptions, OpenApiDocsSource, OxContentOptions, type PageChromeFlags, type PageData, type PageProps, PageResourceError, ParamDoc, type ParseIslandsResult, PartialsOptions, PermalinksOptions, type PlanSsgOutputsInput, type PlanSsgOutputsOptions, PublishStateOptions, PwaOptions, ReaderChromeOptions, type RedditEmbedOptions, type RedditPostData, type RedditPostReference, RedirectProvider, RedirectsOptions, type RenderContext, type RenderFeedFilesInput, type RenderFeedFilesResult, type RenderIslandComponentImportsInput, type RenderIslandFn, type RenderedFeedFile, type RenderedHead, type ResolveDocumentComponentImportsInput, type ResolveDocumentComponentImportsResult, ResolvedA11y, ResolvedAbbreviationsOptions, ResolvedAttrsOptions, ResolvedBadgeOptions, ResolvedBlogFeedSource, ResolvedBlogOptions, type ResolvedBudouxOptions, ResolvedBuiltinEmbedOptions, ResolvedCardOptions, ResolvedCascadeOptions, type ResolvedCitationsOptions, ResolvedCodeAnnotationsOptions, ResolvedCodeBlockLintOptions, ResolvedCodeBlockTypecheckOptions, ResolvedCodeGroupOptions, ResolvedCodeImportOptions, ResolvedCollectionOptions, ResolvedCollectionsOptions, ResolvedConditionalBlockOptions, ResolvedContainerOptions, ResolvedContributors, type ResolvedCrossReferencesOptions, ResolvedDataTableOptions, ResolvedDefinitionListOptions, ResolvedDocsEntryPoint, ResolvedDocsOptions, ResolvedDocsTestOptions, type ResolvedDocumentComponentImport, ResolvedEditThisPageOptions, ResolvedEmojiShortcodeOptions, ResolvedFeedChannel, ResolvedFeedsOptions, ResolvedFileTreeOptions, type ResolvedGraphvizOptions, ResolvedHeadingPermalinksOptions, ResolvedI18nOptions, ResolvedIconsOptions, ResolvedImageGalleryOptions, ResolvedImageOptions, ResolvedIncludeOptions, ResolvedJsonLd, ResolvedKeyboardKeysOptions, ResolvedMagicLinkOptions, ResolvedMarkdownSourceOptions, ResolvedMathOptions, ResolvedNotByAiOptions, ResolvedNotFoundOptions, ResolvedOgImageOptions, ResolvedOpenApiDocsInput, ResolvedOpenApiDocsOptions, ResolvedOptions, ResolvedPartialsOptions, ResolvedPermalinksOptions, ResolvedPublishStateOptions, ResolvedPwaOptions, ResolvedReaderChrome, ResolvedRedirectsOptions, ResolvedResourcesOptions, ResolvedSanitizeOptions, ResolvedSearchOptions, ResolvedSectionIndexOptions, ResolvedSiteMapsOptions, ResolvedSsgOptions, ResolvedStepsOptions, ResolvedTaxonomiesOptions, ResolvedTeamOptions, type ResolvedThemeConfig, ResolvedTimelineOptions, ResolvedTypedHoverOptions, ResolvedVersionEntry, ResolvedVersionsOptions, ResolvedWikiLinkOptions, ResourcesOptions, ReturnDoc, type RunDocsTestsOptions, SanitizeOptions, ScopedSearchQuery, SearchDocument, SearchOptions, SearchResult, SectionIndexOptions, SectionIndexStyle, type SidebarItem, type SiteConfig, type SiteHead, SiteMapsOptions, type SocialLinks, SsgNavigationGroup, SsgNavigationItem, SsgOptions, SsgOutputPageInput, type SsgOutputPlan, StepsOptions, TaxonomiesOptions, TeamLink, TeamMember, TeamOptions, type ThemeAnnouncement, type ThemeColors, type ThemeComponent, type ThemeConfig, type ThemeEmbed, type ThemeEntryPage, type ThemeFontValue, type ThemeFonts, type ThemeFooter, type ThemeHeader, type ThemeLayout, type ThemeProps, type ThemeRenderOptions, type ThemeTokens, type ThemeWebFont, ThrowsDoc, TimelineOptions, TocEntry, type TransformAllOptions, TransformContext, TransformResult, type TwitterEmbedOptions, type TypecheckCodeBlockOptions, TypedHoverOptions, VersionBannerKind, VersionEntry, VersionsOptions, type VitePressConfig, type VitePressFooter, type VitePressLogo, type VitePressNavItem, type VitePressSidebar, type VitePressSidebarItem, type VitePressSocialLink, type VitePressThemeConfig, WikiLinkOptions, type WriteFeedFilesInput, type WriteResourceFilesInput, type WriteResourceFilesPage, type WriteResourceFilesResult, type WrittenDocsTestFile, type YouTubeOptions, applyIslandSsrHtml, buildCollectionManifest, buildSearchIndex, buildSsg, classifyPublishState, clearGraphvizCache, clearRenderContext, collectDocsTests, collectGitHubRepos, collectGitHubSources, collectMdxIslandNamesFromHtml, collectMdxJsxNamesFromAst, collectOgpUrls, convertVitePressNav, convertVitePressSidebar, createFrameworkMarkdownOptions, createI18nPlugin, createIncrementalMarkdownParser, createIncrementalMarkdownRenderer, createMarkdownEnvironment, createMarkdownProcessor, createTheme, defaultTheme, defineCollection, defineCollections, defineTheme, discoverDocumentMdxIslands, discoverRegisteredMdxComponents, each, enhanceMarkdownTables, escapeSvelteMarkup, extractCodeBlocks, extractDocs, extractDocsTests, extractIslandInfo, extractVideoId, fetchGitHubSource, fetchOgpData, fetchRepoData, fromVitePressConfig, generateCollectionsVirtualModule, generateFeeds, generateFrontmatterTypes, generateHydrationScript, generateMarkdown, generateOgImages, generateOpenApiDocs, generateTabsCSS, generateTypes, generateVirtualModule, generateVitePressMigrationConfig, hasIslands, inferType, intersectHydratableComponentNames, intersectRegisteredComponentNames, isMarkdownFilePath, isMdxFilePath, isRegisteredComponent, jsx, jsxs, lintCodeBlocks, lintMarkdown, lintMarkdownAsync, lintMarkdownFile, lintMarkdownFiles, markdownTableScrollLabel, mergeThemes, mermaidClientScript, normalizeMarkdownExtensions, normalizeVitePressFrontmatter, oxContent, parseGitHubLineRange, parseGitHubPermalink, parsePageChromeFlags, parseRedditPostReference, partitionPublishedPages, planSsgOutputs, prefetchGitHubRepos, prefetchGitHubSources, prefetchOgpData, raw, readingTimeMinutes, renderAllPages, renderFeedFiles, renderHead, renderHtmlToFrameworkCode, renderHtmlToReactComponent, renderHtmlToReactCreateElement, renderHtmlToSvelteComponent, renderHtmlToVueComponent, renderHtmlToVueH, renderIslandComponentImports, renderMarkdown, renderMarkdownStream, renderPage, renderToString, resolveAbbreviationsOptions, resolveBadgeOptions, resolveBlogCollectionName, resolveBlogOptions, resolveBudouxOptions, resolveBuiltinEmbedOptions, resolveCardOptions, resolveCascadeOptions, resolveCodeGroupOptions, resolveCollectionsOptions, resolveContentRootPath, resolveDataTableOptions, resolveDocsOptions, resolveDocumentComponentImports, resolveFeedsOptions, resolveFileTreeOptions, resolveGitLastmod, resolveGraphvizOptions, resolveHeadValidation, resolveHeaderNavItems, resolveHeadingPermalinksOptions, resolveI18nOptions, resolveImageGalleryOptions, resolveImageOptions, resolveIncludeOptions, resolveKeyboardKeysOptions, resolveLocaleLabel, resolveMarkdownSourceOptions, resolveMathOptions, resolveMdxForFilePath, resolveNotByAiOptions, resolveNotFoundOptions, resolveOgImageOptions, resolvePageChromeOption, resolvePartialsOptions, resolvePermalinksOptions, resolvePublishStateOptions, resolvePwaOptions, resolveRedirectsOptions, resolveResourcesOptions, resolveSearchOptions, resolveSectionIndexOptions, resolveSiteMapsOptions, resolveSsgOptions, resolveStepsOptions, resolveTaxonomiesOptions, resolveTeamOptions, resolveTheme, resolveTimelineOptions, resolveTypedHoverOptions, resolveVersionsOptions, runDocsTests, setRenderContext, shouldLintMarkdownFile, stripMarkdownExtension, stripViteQuery, transformAllPlugins, transformBudouxHtml, transformGitHub, transformGraphvizStatic, transformIslands, transformMarkdown, transformMermaidStatic, transformOgp, transformRedditEmbeds, transformTabs, transformYouTube, typecheckCodeBlocks, useIsActive, useNav, usePageProps, useRenderContext, useSiteConfig, when, writeDocs, writeDocsTestFiles, writeFeedFiles, writeMarkdownCompanions, writeResourceFiles, writeSearchIndex, writeSiteMapFiles };
7238
7846
  //# sourceMappingURL=index.d.cts.map