import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function permissionRuleExplanation(rule) {
    return rule.trim() ? `Rule: ${rule.trim()}` : "No rule selected";
}
export function PermissionRuleExplanation(props) {
    return _jsx(Text, { color: "gray", children: permissionRuleExplanation(props.rule) });
}
