import { NavItem } from '../sideNavigation/types'; import { useSafePersonaSurface } from '../../shared/providers/shell/PersonaSurfaceProvider'; /** * A visible nav item. Structurally the sidebar NavItem plus the registry-only * `mobilePriority` hint, which survives the visibility pipeline (items are * spread, never rebuilt) and lets the tab bar rank without a second lookup. */ export type VisibleNavItem = NavItem & { mobilePriority?: number; }; export interface VisibleNavState { /** Shaped, ordered, visibility-filtered nav tree (top-level + children). */ items: VisibleNavItem[]; /** Persona surface state, surfaced for callers that key on it (ProductSideNav). */ persona: ReturnType; } export declare function useVisibleNavItems(): VisibleNavState; //# sourceMappingURL=useVisibleNavItems.d.ts.map