import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function issueFlagBannerText(hasIssue) {
    return hasIssue ? "Input issue detected; run /doctor if typing behaves strangely." : "";
}
export function IssueFlagBanner(props) {
    const text = issueFlagBannerText(props.hasIssue);
    return text ? _jsx(Text, { color: "yellow", children: text }) : null;
}
