import { t as ImprensaSocialLink } from "./socials-BIszPk-A.mjs"; import { r as createPrerender, t as ImprensaPrerenderOptions } from "./prerender-core-CW-WK_zr.mjs"; import { t as ImprensaShikiOptions } from "./shiki-DG00KVdn.mjs"; import { a as getStoredTheme, c as shiki, i as createImprensa, l as shikiThemes, n as applyInitialTheme, o as mountOrHydrate, r as applyThemeToHtml, s as setStoredTheme, t as THEME_STORAGE_KEY } from "./client-runtime-CIScotCT.mjs"; import { IlhaPagesOptions } from "@ilha/router/vite"; import { Options } from "@mdx-js/rollup"; import { ResolvableHead } from "unhead/types"; import { PluginOption } from "vite"; //#region src/docs/llms.d.ts type ImprensaLlmsOptions = { /** H1 title in llms.txt. Defaults to package.json name or "Documentation". */siteName?: string; /** Blockquote summary in llms.txt. */ summary?: string; /** H2 section heading for doc links. Defaults to "Docs". */ section?: string; }; //#endregion //#region src/docs/options.d.ts /** Sidebar sort keys: top-level segment or nested `parent.child` (URL path segments). */ type ImprensaOrderConfig = Record; type ImprensaOptions = { /** Configure Shiki syntax highlighting. Pass false to disable the default Shiki plugin. */shiki?: ImprensaShikiOptions; /** Options forwarded to @mdx-js/rollup. */ mdx?: Options; /** Options forwarded to @ilha/router/vite pages(). */ pages?: IlhaPagesOptions; /** MDX content directory under src/pages. Defaults to "src/pages/(content)". */ contentDir?: string; /** Enable MDX route, heading, duplicate id, and anchor checks. Defaults to true. */ detectDeadLink?: boolean; /** * Force polling file watching in `vite dev` (for network volumes / containers * where native FS events do not fire). Defaults to false. */ watchPolling?: boolean; /** Export MD/MDX sources to dist and generate llms.txt / llms-full.txt. Defaults to true. */ llms?: boolean | ImprensaLlmsOptions; /** Social links shown in the navbar */ socials?: ImprensaSocialLink[]; /** GitHub repository URL for source links, e.g. https://github.com/org/repo */ repo?: string; /** Git branch for GitHub source links. Defaults to "main". */ repoBranch?: string; /** Path prefix inside the repo to the project root, e.g. templates/starter */ repoPath?: string; /** Hostname for sitemap generation, e.g. https://example.com */ hostname?: string; /** Default head values applied to all pages (title, meta, etc.) */ head?: ResolvableHead; /** Sidebar / mobile nav logo link label. Defaults to "Imprensa". */ siteName?: string; /** Logo image URL for the sidebar brand. Defaults to "/logo.svg". */ logoSrc?: string; /** * When true, sidebar shows only the current top-level section’s children * (e.g. on `/guide/helpers/mount`, hide other roots and the `guide` folder row). * Defaults to false. */ topLevelSplit?: boolean; /** * Sidebar order for folders and pages by path key (`libraries`, `libraries.core`, …). * Lower numbers sort first. MDX frontmatter `order` on a page overrides the matching key. */ order?: ImprensaOrderConfig; }; //#endregion //#region src/docs/vite-plugin.d.ts /** Vite meta-plugin preset for Imprensa documentation sites. */ declare function imprensa(options?: ImprensaOptions): PluginOption[]; //#endregion export { type ImprensaLlmsOptions, type ImprensaOptions, type ImprensaOrderConfig, type ImprensaPrerenderOptions, type ImprensaShikiOptions, THEME_STORAGE_KEY, applyInitialTheme, applyThemeToHtml, createImprensa, createPrerender, getStoredTheme, imprensa, mountOrHydrate, setStoredTheme, shiki, shikiThemes };