import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function attachmentLabel(name, bytes) {
    const clean = name.trim() || "attachment";
    return bytes === undefined ? clean : `${clean} (${bytes} bytes)`;
}
export function AttachmentMessage(props) {
    return _jsx(Text, { color: "gray", children: attachmentLabel(props.name, props.bytes) });
}
