import { jsx as _jsx } from "react/jsx-runtime";
import { CommandSuggestions, visibleSuggestionRows, } from "./CommandSuggestions.js";
export function PromptInputFooterSuggestions(props) {
    return (_jsx(CommandSuggestions, { suggestions: props.suggestions, selectedIndex: props.selectedSuggestion, width: props.width }));
}
export function promptInputFooterSuggestionWindow(suggestions, selectedSuggestion, width) {
    return visibleSuggestionRows(suggestions, selectedSuggestion, width >= 72 ? 5 : 4);
}
