export function permissionRiskTone(risk) {
    if (risk === "high")
        return "error";
    if (risk === "medium")
        return "warning";
    return "success";
}
export function permissionSummary(action, target) {
    return [action.trim() || "permission", target?.trim()].filter(Boolean).join(" | ");
}
