import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function shutdownMessageText(reason) {
    return reason?.trim() ? `Shutdown: ${reason.trim()}` : "Shutdown requested";
}
export function ShutdownMessage(props) {
    return _jsx(Text, { color: "yellow", children: shutdownMessageText(props.reason) });
}
