export type SmiRunner = () => string; /** * GPU count for this machine, or `null` when it cannot be established. * * `null` means "unknown", NOT "zero GPUs" — the server keeps its configured value in that case, * so a missing nvidia-smi or a driver hiccup never silently takes a machine out of GPU dispatch. * `nvidia-smi --query-gpu=count` prints the host total once per GPU, so only the first line matters. */ export declare function detectGpuCount(run?: SmiRunner): number | null; export declare function resetGpuCountCacheForTesting(): void;