import type { Snippet } from 'svelte'; import type { SidebarGroup } from '../Sidebar/Sidebar.svelte'; import type { TocItem } from '../../molecules/TableOfContents/TableOfContents.svelte'; export interface DocsPage { id: string; title?: string; markdown: string; toc?: TocItem[]; } interface DocsLayoutProps { brand?: string; nav?: SidebarGroup[]; navValue?: string; toc?: TocItem[]; activeHeading?: string; markdown?: string; /** Optional page map — sidebar clicks swap content + TOC */ pages?: DocsPage[]; class?: string; children?: Snippet; onnavchange?: (id: string) => void; onheadingchange?: (id: string) => void; } declare const DocsLayout: import("svelte").Component; type DocsLayout = ReturnType; export default DocsLayout;