import { jsx as _jsx } from "react/jsx-runtime";
import { Dialog } from "../design/Dialog.js";
import { trustModeLabel } from "./utils.js";
export function TrustDialog(props) {
    return (_jsx(Dialog, { title: "Workspace trust", statusLabel: props.trusted ? "trusted" : "review", statusTone: props.trusted ? "success" : "warning", width: props.width, children: trustModeLabel(props.trusted) }));
}
