import { default as React } from 'react'; import { DirectoryExpandedItems, NavItemProps, NavbarItem } from './types'; type ActiveItemProviderProps = { children: React.ReactNode; /** * Controlled mode: Parent controls the active item * If provided, internal state is ignored */ activeItem?: string | null; /** * Callback when active item changes (for controlled mode) */ onActiveItemChange?: (item: string | null) => void; /** * Initial active item (for uncontrolled mode) */ defaultActiveItem?: string | null; }; export declare const ActiveItemProvider: React.FC; type ExpandedItemsProviderProps = { children: React.ReactNode; /** * Controlled mode: parent owns the expanded item paths. * If provided, internal state is ignored. */ expandedItems?: DirectoryExpandedItems; defaultExpandedItems?: DirectoryExpandedItems; onExpandedItemsChange?: (items: string[]) => void; onItemExpand?: (item: NavbarItem, itemPath: string) => void | Promise; }; export declare const ExpandedItemsProvider: React.FC; declare const NavItem: ({ item, index, onNavigate, itemPath, iconOnlyMode, showHierarchyLines, hierarchyLineBorderRadius, isLast, isNested, enableParentSelection, highlightActivePath, pathVerticalActive, pathElbowActive, }: NavItemProps) => import("react/jsx-runtime").JSX.Element; export default NavItem;