import { jsx as _jsx } from "react/jsx-runtime";
import { Text } from "ink";
import { inferProfile } from "../services/permissions/permissionProfiles.js";
export function PermissionStatus(props) {
    const profile = props.profile ?? inferProfile(props);
    return (_jsx(Text, { color: "gray", children: `${profile} | shell ${props.allowShell ? "on" : "off"} | browser ${props.allowBrowser ? "on" : "off"}` }));
}
