import type { MachineGpu, MachineVitals } from '../types.js'; /** Probe budget: one bash round trip. Above the client's own spawn latency, below a stuck device. */ export declare const PROBE_TIMEOUT_MS = 15000; /** * One command, one round trip. Every stage is individually failure-tolerant (`2>/dev/null`) so a * host without nvidia-smi, /proc or `free` still returns the sections it can fill — the parser maps * the missing ones to null rather than to zero. `df -kP` forces POSIX single-line output. */ export declare function buildProbeCommand(cortexPath: string | null): string; /** * Split the probe stdout on its `##SECTION` markers, then join compute processes onto their GPU by * uuid. The uuid is a join key only — it stays out of the DTO. Malformed lines are dropped silently * because a partially-degraded host is the normal case, not an error worth failing the whole probe. */ export declare function parseMachineProbe(raw: string): { vitals: MachineVitals; gpus: MachineGpu[]; };