import { t as index_d_exports } from "./index-DWlltcVI.mjs"; //#region theme/components/InstallSnippet.d.ts /** * InstallSnippet — legacy JSX wrapper that renders an install command using * the same DOM contract as the Pagesmith markdown code renderer's frame chrome. * * The default `DocHome` layout no longer uses this component — it now * pre-renders the home `install` block through `processMarkdown` (see * `@pagesmith/docs/src/install.ts`) so the home snippet shares Shiki * highlighting, multi-line line numbers, frame chrome, and copy behavior with * `\`\`\`` blocks elsewhere on the site. * * This component is retained for downstream consumers that import it directly * and was extended to accept multi-line scripts and a configurable frame so * its visual contract can match the new pipeline output. */ type Props$4 = { command: string; title?: string; /** Defaults to `bash` so the legacy single-line install case stays a shell command. */ lang?: string; /** Defaults to `terminal` to preserve the legacy chrome — switch to `code` for non-shell snippets. */ frame?: "terminal" | "code" | "plain"; /** Defaults to `true` for multi-line scripts and `false` for single-line input. */ showLineNumbers?: boolean; }; declare function InstallSnippet({ command, title, lang, frame, showLineNumbers }: Props$4): index_d_exports.HtmlString; //#endregion //#region theme/layouts/DocHome.d.ts /** * DocHome layout. * * Documentation landing page with hero, install snippet, features grid, * packages grid, code example, and optional markdown content. * * All sections are optional — omit the frontmatter key and the section * is not rendered. Supports both single-package and monorepo projects. */ type Props$3 = { content: string; frontmatter: Record; headings: Array<{ depth: number; text: string; slug: string; }>; slug: string; site: any; [key: string]: any; }; declare function DocHome(props: Props$3): index_d_exports.HtmlString; //#endregion //#region theme/layouts/DocListing.d.ts /** * Built-in listing layout: markdown intro body plus cards for child pages in the * same section folder (see `getDocsListingCards` in navigation). */ type ListingCard = { title: string; path: string; description?: string; publishedDate?: string; }; type ListingGroup = { slug: string; title: string; description?: string; cards: ListingCard[]; }; type Breadcrumb$1 = { label: string; path: string; }; type Props$2 = { content: string; frontmatter: Record; headings: Array<{ depth: number; text: string; slug: string; }>; slug: string; site: any; listingCards?: ListingCard[]; listingGroups?: ListingGroup[]; listingTotal?: number; sidebarSections?: any[]; prev?: { title: string; path: string; }; next?: { title: string; path: string; }; breadcrumbs?: Breadcrumb$1[]; editUrl?: string; editLabel?: string; lastUpdated?: string; [key: string]: any; }; declare function DocListing(props: Props$2): index_d_exports.HtmlString; //#endregion //#region theme/layouts/DocNotFound.d.ts /** * DocNotFound layout. * * 404 page for documentation sites. Uses the shared NotFoundLayout from @pagesmith/site. */ type Props$1 = { content: string; frontmatter: Record; headings: Array<{ depth: number; text: string; slug: string; }>; slug: string; site: any; [key: string]: any; }; declare function DocNotFound(props: Props$1): index_d_exports.HtmlString; //#endregion //#region theme/layouts/DocPage.d.ts /** * DocPage layout. * * Standard documentation page with 3-column grid: * left sidebar (navigation) | content | right TOC */ type Breadcrumb = { label: string; path: string; }; type Props = { content: string; frontmatter: Record; headings: Array<{ depth: number; text: string; slug: string; }>; slug: string; site: any; pages?: any[]; sidebarSections?: any[]; prev?: { title: string; path: string; }; next?: { title: string; path: string; }; breadcrumbs?: Breadcrumb[]; editUrl?: string; editLabel?: string; lastUpdated?: string; [key: string]: any; }; declare function DocPage(props: Props): index_d_exports.HtmlString; //#endregion //#region theme/utils/chrome.d.ts type ResolvedChrome = { header: boolean; sidebar: boolean; toc: boolean; footer: boolean; }; /** * Resolve docs `chrome` frontmatter flags. Omitted keys default to true so the * full shell renders unless explicitly disabled. */ declare function resolveChrome(frontmatter: Record): ResolvedChrome; //#endregion export { DocListing as a, DocNotFound as i, resolveChrome as n, DocHome as o, DocPage as r, InstallSnippet as s, ResolvedChrome as t }; //# sourceMappingURL=theme-DR68q3fo.d.mts.map