import { MobileNavigationItem } from '../types'; /** * Custom hook to manage ordered items with smart property updates. * Only resets order when items are added/removed, otherwise preserves order * and just updates properties (like isSelected). * * This hook is extracted because: * 1. It encapsulates complex state logic * 2. The logic is reusable across different navigation contexts * 3. It keeps the component clean and focused on rendering */ export declare const useOrderedItems: (items: T[]) => readonly [T[], import('react').Dispatch>]; /** * Custom hook for item selection with smart swapping logic. * Handles the complex behavior of swapping secondary items with primary items. * * This hook is extracted because: * 1. It encapsulates business logic for item swapping * 2. It reduces component complexity * 3. The logic is testable in isolation */ export declare const useItemSelection: (orderedItems: MobileNavigationItem[], setOrderedItems: (items: MobileNavigationItem[]) => void, primaryItems: MobileNavigationItem[], hasSecondaryItems: boolean, onCollapse: () => void) => (item: MobileNavigationItem, isSecondaryItem?: boolean) => void;