/**
 * @license
 * Copyright 2025 HopCode Team
 * SPDX-License-Identifier: Apache-2.0
 */
export interface SelectionListItem<T> {
    key: string;
    value: T;
    disabled?: boolean;
}
export interface UseSelectionListOptions<T> {
    items: Array<SelectionListItem<T>>;
    initialIndex?: number;
    onSelect: (value: T) => void;
    onHighlight?: (value: T) => void;
    isFocused?: boolean;
    showNumbers?: boolean;
}
export interface UseSelectionListResult {
    activeIndex: number;
    setActiveIndex: (index: number) => void;
}
/**
 * A headless hook that provides keyboard navigation and selection logic
 * for list-based selection components like radio buttons and menus.
 *
 * Features:
 * - Keyboard navigation with j/k and arrow keys
 * - Selection with Enter key
 * - Numeric quick selection (when showNumbers is true)
 * - Handles disabled items (skips them during navigation)
 * - Wrapping navigation (last to first, first to last)
 */
export declare function useSelectionList<T>({ items, initialIndex, onSelect, onHighlight, isFocused, showNumbers, }: UseSelectionListOptions<T>): UseSelectionListResult;
