import React from "react";
import { type BoxProps } from "ink";
interface ScrollableProps<T> extends BoxProps {
    items: (T | T[])[];
    itemHeight?: number;
    visibleItems: number;
    isActive?: boolean;
    renderItem: (item: T, isSelected: boolean) => React.ReactNode;
    onSelect?: (item: T, rowIndex: number, columnIndex: number) => void | Promise<void>;
}
export declare function Scrollable<T>({ items, itemHeight, visibleItems, isActive, renderItem, onSelect, flexGrow, ...props }: ScrollableProps<T>): React.JSX.Element;
export {};
