import { spawn } from 'child_process';
interface IExecOptions {
    cwd?: string;
    errorOnNonZero?: boolean;
    stdio?: Parameters<typeof spawn>[2]['stdio'];
    onSpawn?: (proc: ReturnType<typeof spawn>) => void;
    shell?: boolean;
}
interface IExecResult {
    code: number | null;
    stdout: Buffer;
    stderr: Buffer;
}
export declare function execProcess(cmd: string, args: string[], options?: IExecOptions): Promise<IExecResult>;
export {};
//# sourceMappingURL=process.d.ts.map