/** * Sidebar generation for Starlight docs sites. * * Grouped by Diátaxis quadrant (https://diataxis.fr), chant #1731. Every page * the pipeline knows about — authored under docs/pages/ and generated reference * tables — arrives as a {@link SidebarPage} with a quadrant; this module only sorts and nests. Empty quadrants are omitted. */ import type { DocsConfig, DocsResult, SidebarPage } from "./docs-types.js"; type Entry = Record; /** * One quadrant's entries: ungrouped pages first (by order, then label), then * each nested `group` in order of its lowest-ordered member. */ export declare function quadrantItems(pages: SidebarPage[]): Entry[]; export declare function buildSidebar(config: DocsConfig, result: DocsResult): Entry[]; export {}; //# sourceMappingURL=docs-sidebar.d.ts.map