export interface ExecResult { stdout: string; stderr: string; code: number; } export type Exec = (cmd: string, args: string[], opts?: { env?: NodeJS.ProcessEnv; timeout?: number; }) => Promise; /** execFile wrapper that never rejects; missing binary → code 127. */ export declare const realExec: Exec; /** POSIX single-quote shell escaping. */ export declare const shq: (s: string) => string;