import { type ChildProcess, type SpawnOptions } from 'node:child_process';
export interface ExecProcessOptions {
    cwd?: string;
    errorOnNonZero?: boolean;
    stdio?: SpawnOptions['stdio'];
    onSpawn?: (proc: ChildProcess) => void;
    shell?: boolean;
    env?: NodeJS.ProcessEnv;
}
export interface ExecProcessResult {
    code: number | null;
    stdout: Buffer;
    stderr: Buffer;
}
export declare function execProcess(cmd: string, args?: readonly string[], options?: ExecProcessOptions): Promise<ExecProcessResult>;
//# sourceMappingURL=process.d.ts.map