import { SidebarCurrent } from "./collection.cjs"; import { ReactNode } from "react"; export interface SidebarNavProps { /** Navigation items, typically `Sidebar.Item`, `Sidebar.Separator`, and `Sidebar.GroupLabel`. */ children?: ReactNode; /** Accessible label for the navigation landmark. Defaults to a localized "App Navigation" string. */ 'aria-label'?: string; /** * Marks the active nav item automatically. Pass a string (typically the * current pathname) for smart segment-aware path matching, or a predicate * `(href, key) => boolean` for full control. Per-item `active` props still * win locally and can stack with the resolved match. */ current?: SidebarCurrent; }