import { execFileSync } from "node:child_process"; /** Injection seam for PATH resolution + version probes, so tests can stub syscalls. */ export interface ProbeDeps { platform?: NodeJS.Platform; env?: NodeJS.ProcessEnv; execFileSyncFn?: typeof execFileSync; existsSyncFn?: (p: string) => boolean; } /** Resolve a command name on PATH via `which`/`where`; returns null when missing. */ export declare function resolveCommandOnPath(command: string, deps?: ProbeDeps): string | null; /** Run ` [...args] --version` and return the first output line, or null. */ export declare function readCommandVersion(command: string, args?: string[], deps?: ProbeDeps): string | null;