export interface ExecResult { readonly stdout: string; readonly stderr: string; readonly code: number; } export declare class ExecError extends Error { readonly bin: string; readonly args: readonly string[]; readonly stdout: string; readonly stderr: string; readonly code: number; constructor(message: string, bin: string, args: readonly string[], stdout: string, stderr: string, code: number); } export interface ExecOptions { readonly cwd?: string; readonly env?: NodeJS.ProcessEnv; readonly throwOnNonZero?: boolean; } export declare function exec(bin: string, args: readonly string[], opts?: ExecOptions): Promise; export declare function git(args: readonly string[], cwd?: string): Promise; export declare function gh(args: readonly string[], cwd?: string, throwOnNonZero?: boolean): Promise; //# sourceMappingURL=exec.d.ts.map