import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
import { Text } from "ink";
export function InterruptedByUser(props) {
    return (_jsxs(_Fragment, { children: [_jsx(Text, { color: "yellow", children: "interrupted by user" }), _jsx(Text, { dimColor: true, children: ` | ${interruptedByUserPrompt(props.followUp)}` })] }));
}
export function interruptedByUserPrompt(followUp = "What should DeepSeekCode do instead?") {
    return followUp.trim() || "What should DeepSeekCode do instead?";
}
