/** * Navigation Utility Functions * * Pure functions for list navigation index calculations. * Extracted from useKeyboardNav for testability. * * @since v2.4.15 */ /** * Calculate the next index when moving up in a list */ export declare function calcMoveUp(currentIndex: number, itemCount: number, wrap: boolean): number; /** * Calculate the next index when moving down in a list */ export declare function calcMoveDown(currentIndex: number, itemCount: number, wrap: boolean): number; /** * Clamp an initial index to valid bounds */ export declare function clampIndex(index: number, itemCount: number): number; /** * Check if an index is out of bounds and needs reset */ export declare function needsIndexReset(selectedIndex: number, itemCount: number): boolean; //# sourceMappingURL=nav-utils.d.ts.map