import { NavigationTreeNode } from "../hooks/useNavigationTree.js"; import React from "react"; //#region src/components/NavigationTreeRenderer.d.ts interface NavigationTreeRendererProps { tree: NavigationTreeNode[]; /** Whether the sidebar is in expanded (labels visible) mode. */ isOpen?: boolean; onItemClick?: () => void; /** When this value changes, all collapsible sections reset to closed. */ resetKey?: string; /** * Whether to indent the list. Set false for the top-level call from * MainNavigation; the recursive call from CollapseMenuRecursive defaults * to true so each nesting level visually indents. */ indent?: boolean; /** Current nesting depth (0 = root). */ depth?: number; } /** * Recursively renders a navigation tree to arbitrary depth. * * Indentation uses a simple left border + fixed padding per level, * following the shadcn SidebarMenuSub pattern. Total indent is clamped * to 40px so deep nesting doesn't eat label space. Labels truncate * with ellipsis; Radix Tooltips show full text when sidebar is collapsed. * * Beyond depth 3, children render in cascading flyout Popover panels * to the right of the sidebar, each panel with full label width. */ declare const NavigationTreeRenderer: React.FC; //#endregion export { NavigationTreeRenderer, NavigationTreeRendererProps }; //# sourceMappingURL=NavigationTreeRenderer.d.ts.map