import type { MachineView, MetricSample } from "../types/machines.js"; export type MachineCardProps = { machine: MachineView; /** Attach/swap the session's active sandbox to this machine. */ onAttach?: ((machine: MachineView) => void) | undefined; /** Whether an attach/swap is currently in flight (disables the affordance). */ attaching?: boolean | undefined; /** Start/retry the exact signed Connected Machine agent update. */ onUpdateAgent?: ((machine: MachineView) => void) | undefined; updatingAgent?: boolean | undefined; /** Short recent history (e.g. 15m) — drives the card's CPU trend + preview. */ series?: MetricSample[] | undefined; /** Open the full per-machine telemetry detail. Makes the whole card actionable. */ onOpenDetail?: ((machine: MachineView) => void) | undefined; now?: number | undefined; className?: string | undefined; }; /** * One machine in the Machines dashboard: name + kind + OS/arch, the fused HEALTH * verdict, latest resource meters, a CPU trend that previews the history, live * freshness, and attach/swap. The whole card opens the telemetry detail when * `onOpenDetail` is wired. The session's active sandbox carries an accent edge. */ export declare function MachineCard({ machine, onAttach, attaching, onUpdateAgent, updatingAgent, series, onOpenDetail, now, className, }: MachineCardProps): import("react").JSX.Element;