import { type PermissionMode } from '../../agent/permissions.js'; /** What the agent may do, as a toolbar chip: the choices stop at the machine's * ceiling, and a mode set elsewhere (plan, or one past the ceiling) still * shows by name. */ export default function PermissionPicker({ mode, onPick, ceiling, accepted, disabled, }: { mode: string | undefined; onPick: (mode: PermissionMode) => void; /** The machine's remoteMaxPermissionMode; unknown offers the daemon default. */ ceiling: string | undefined; /** The machine's permissionModes; unknown offers what a machine that predates the list accepts. */ accepted?: readonly string[] | undefined; disabled?: boolean; }): import("react").JSX.Element;