import { type Result } from "@micthiesen/mitools/async"; export interface ExecOutput { stdout: string; stderr: string; } /** Run a binary with a hard timeout, returning a Result instead of throwing. */ export declare function runCommand(file: string, args: string[], timeoutMs: number): Promise>; /** Human-readable one-liner for a failed subprocess. */ export declare function describeExecError(error: Error): string; /** True when the subprocess failed because the binary itself is missing. */ export declare function isMissingBinaryError(error: Error): boolean; /** Exit code of a failed subprocess, if it ran and exited non-zero. */ export declare function exitCodeOf(error: Error): number | undefined; //# sourceMappingURL=exec.d.ts.map