import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
export function permissionExplanationText(scope) {
    if (scope === "shell")
        return "Shell commands can change your local workspace.";
    if (scope === "browser")
        return "Browser actions can interact with open pages.";
    return "Review the action before allowing it.";
}
export function PermissionExplanation(props) {
    return _jsx(Text, { color: "gray", children: permissionExplanationText(props.scope) });
}
