import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Box, Text } from "ink";
import { promptInputLabel, truncatePromptForFooter } from "./utils.js";
export function PromptInputFooter(props) {
    return (_jsxs(Box, { children: [_jsx(Text, { color: "gray", children: promptInputLabel(props.mode) }), props.detail ? _jsxs(Text, { color: "gray", children: [" | ", truncatePromptForFooter(props.detail, props.width ?? 80)] }) : null] }));
}
