/**
 * useCenterScroll Hook
 *
 * Calculates scroll offset to keep selected item centered (Claude Code style).
 *
 * @since v1.50.6
 */
export interface UseCenterScrollOptions {
    /** Total number of items in the list */
    totalItems: number;
    /** Number of visible items in the viewport */
    visibleItems: number;
    /** Currently selected item index */
    selectedIndex: number;
}
export interface UseCenterScrollResult {
    /** Scroll offset (index of first visible item) */
    scrollOffset: number;
    /** Visible range (start and end indices) */
    visibleRange: {
        start: number;
        end: number;
    };
    /** Number of items above the visible range */
    itemsAbove: number;
    /** Number of items below the visible range */
    itemsBelow: number;
}
/**
 * Hook for center-scroll behavior.
 * Keeps the selected item centered in the viewport when possible.
 */
export declare function useCenterScroll({ totalItems, visibleItems, selectedIndex }: UseCenterScrollOptions): UseCenterScrollResult;
export default useCenterScroll;
//# sourceMappingURL=useCenterScroll.d.ts.map