import { type DocsContentItem, type DocsmithConfig, type SearchDoc, type ResolvedVersion } from '../../core/index.js'; import type { Snippet } from 'svelte'; type $$ComponentProps = { config: DocsmithConfig; content?: DocsContentItem[]; /** * The resolved version manifest from `svelte-docsmith/content` (its * `versions` export). Provide it to enable versioned docs — the sidebar, * search, prev/next, and breadcrumbs scope to the version being read, and * once an archived version exists a header switcher and an archived-version * banner appear. Omit for a single tree. */ versions?: ResolvedVersion[]; children: Snippet; /** * Override the head tags for this page. Doc pages get their `` and * description from frontmatter automatically; use this on non-doc pages * (the landing page, custom routes) or to override. */ seo?: { title?: string; description?: string; }; /** * Enable the ⌘K search palette by lazily providing the generated index, * e.g. `search={() => import('svelte-docsmith/search').then((m) => m.docs)}`. * Omit to hide search. The index is fetched only when search first opens. * Receives the active version id on a versioned site. */ search?: (versionId?: string) => Promise<SearchDoc[]>; /** Custom logo mark for the header and mobile menu. */ logo?: Snippet; /** Extra header controls (desktop and mobile), before the theme toggle. */ actions?: Snippet; /** Rendered below the content column (copyright, credits, …). */ footer?: Snippet; /** Render the decorative grid-and-glow page background. */ pattern?: boolean; /** * Show the "Copy page" split button on doc pages: copy the page as * Markdown, view the raw `.md`, or open it in ChatGPT / Claude. Requires a * catch-all `<path>.md` endpoint over the `svelte-docsmith/llms` index. */ copyPage?: boolean; /** * Show the estimated reading time on doc pages (computed at build time). * Defaults to `true`; set `false` to hide it. */ readingTime?: boolean; /** * Show the "Was this page helpful?" widget at the foot of doc pages. Pass * `true` for the UI alone, or a callback `(vote, path) => void` to also * record votes (wire it to your analytics). Omit to hide it. */ feedback?: boolean | ((vote: 'up' | 'down', path: string) => void); /** * `docs` (default): the three-column shell — sidebar, content, in-page TOC. * `page`: full-bleed content with the same header/footer/background but no * sidebar or TOC — for a landing or any non-doc page, so the whole site * shares one chrome. */ layout?: 'docs' | 'page'; }; declare const DocsShell: import("svelte").Component<$$ComponentProps, {}, "">; type DocsShell = ReturnType<typeof DocsShell>; export default DocsShell;