/** * Shell execution wrapper with timeout, retry, and structured output. */ export interface ExecResult { stdout: string; stderr: string; exitCode: number; } export interface ExecOptions { cwd?: string; timeout?: number; /** Retry count on failure (default 0) */ retries?: number; /** Env vars merged with process.env */ env?: Record; } /** * Run a shell command and return structured result. * Throws on non-zero exit unless `reject: false` is used internally. */ export declare function exec(command: string, args?: string[], opts?: ExecOptions): Promise; /** * Run and return stdout trimmed, or null on failure. */ export declare function execSafe(command: string, args?: string[], opts?: ExecOptions): Promise; //# sourceMappingURL=exec.d.ts.map