/** * A crawler-only list of links to every entry in the navigation tree. * * The interactive sidebar keeps the children of collapsed groups out of the DOM, so * server-rendered HTML only contains the sections that happen to be expanded (by default * just the first tag). Crawlers do not run the JavaScript that expands groups, which * would leave operations and models inside collapsed tags undiscoverable. This component * renders a flat, hidden list of plain anchors so every URL is present in the HTML payload. * * Plain `
  • ` markup keeps the per-entry cost to roughly one line of HTML — far * cheaper than server-rendering the real sidebar components for every entry. * * The parent unmounts this component right after hydration (see ApiReference.vue), so it * never affects the interactive experience. * * Scope: this mirrors the sidebar, which shows one document at a time, so `items` is the * active document's tree. In multi-document mode the other documents' deep links are not * exposed here — a crawler still has to reach each document's own URL first. Widening this * to every document would need each document's own `basePath`, so it is left for later. */ import { type SidebarOptions } from '@scalar/sidebar'; import type { TraversedEntry } from '@scalar/workspace-store/schemas/navigation'; type __VLS_Props = { /** The navigation tree of the active document, as passed to the sidebar. */ items: TraversedEntry[]; /** The base path used in path routing. */ basePath?: string; /** Whether the reference renders multiple documents (keeps the document slug in URLs). */ isMultiDocument: boolean; /** * The same options object passed to the interactive sidebar. Only the filtering-related * fields are read (see `filterItems`), but taking the whole object keeps this list wired * to the exact source the sidebar uses so the two cannot expose a different set of entries. */ options?: SidebarOptions; }; declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const _default: typeof __VLS_export; export default _default; //# sourceMappingURL=CrawlerNav.vue.d.ts.map