import type { MachineView, MetricSample } from "../../types/machines.js"; import { type MetricWindow } from "./series.js"; import type { UpdateMachineOperationPolicyRequest } from "@opengeni/sdk"; export type MachineDetailProps = { machine: MachineView; /** Downsampled history for the active window (from `fetchSeries`). */ series: MetricSample[]; window: MetricWindow; onWindowChange: (w: MetricWindow) => void; loadingSeries?: boolean | undefined; onBack?: (() => void) | undefined; /** Open the workspace-admin removal confirmation for a self-hosted machine. */ onRemove?: ((machine: MachineView) => void) | undefined; onUpdateOperationPolicy?: ((machine: MachineView, request: UpdateMachineOperationPolicyRequest) => Promise) | undefined; updatingOperationPolicy?: boolean | undefined; /** Open "Who can use it?" for a connected machine. Omit when the viewer * can't change it; the row then shows the current audience read-only. */ onChangeAudience?: ((machine: MachineView) => void) | undefined; /** Start, retry or resend the signed agent update. Omit when the viewer can't. */ onUpdateAgent?: ((machine: MachineView) => void) | undefined; updatingAgent?: boolean | undefined; now?: number | undefined; className?: string | undefined; }; export declare function MachineDetail({ machine, series, window, onWindowChange, loadingSeries, onBack, onRemove, onUpdateOperationPolicy, updatingOperationPolicy, onChangeAudience, onUpdateAgent, updatingAgent, now, className, }: MachineDetailProps): import("react").JSX.Element;