import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function snipBoundaryText(hiddenChars) {
    return `... ${Math.max(0, hiddenChars)} chars hidden ...`;
}
export function SnipBoundaryMessage(props) {
    return _jsx(Text, { color: "gray", children: snipBoundaryText(props.hiddenChars) });
}
