import { ReactNode } from 'react'; import { DashboardSidebarConfig, DashboardSidebarItemConfig, DashboardSidebarItemRenderContext, DashboardSidebarNestedKey, DashboardSidebarRenderContext } from './types.js'; export interface DashboardSidebarNavProps { activePath: string; config: DashboardSidebarConfig; items: DashboardSidebarItemConfig[]; onNavigate: (href: string) => void; onOpenNested?: (key: DashboardSidebarNestedKey) => void; renderContext?: Omit; /** Custom row renderer; defaults to `DashboardSidebarItem`. */ renderItem?: (ctx: DashboardSidebarItemRenderContext) => ReactNode; } /** * Stack of HeroUI sidebar rows with optional separators. */ export declare function DashboardSidebarNav({ activePath, config, items, onNavigate, onOpenNested, renderItem, renderContext }: DashboardSidebarNavProps): import("react").JSX.Element;