import { SpawnOptions, ChildProcess } from "child_process";
interface MoreOptions extends SpawnOptions {
    onCreate?(cp: ChildProcess): void;
    onStdOutData?(chunk: any): void;
    onStdErrData?(chunk: any): void;
}
export interface ExecResult {
    stdout: string;
    stderr: string;
    /**
     * Union of stdout and stderr.
     */
    log: string;
    error: Error | null;
    code: number | null;
}
export declare const execute: (command: string, cmdlineargs: Array<string>, options?: MoreOptions) => Promise<ExecResult>;
export {};
//# sourceMappingURL=exec-cmd.d.ts.map