export declare class ExecError extends Error { readonly cmd: string; readonly code: number; readonly stdout: string; readonly stderr: string; constructor(cmd: string, code: number, stdout: string, stderr: string); } export declare function exec(cmd: string, args: string[], options?: { cwd?: string; }): Promise<{ code: number; stdout: string; stderr: string; }>;