///
import { ChildProcess } from 'child_process';
export interface CommandOptions {
args: string[];
cwd?: string;
exe: string;
shell?: string;
}
export interface CommandResult {
args: string[];
code: number;
exe: string;
messages: string;
reason?: string;
}
export declare class Command {
private readonly log;
private readonly options;
protected constructor(options: Partial);
static from(options: Partial): Command;
exec(collectResult?: boolean): Promise;
spawn(): Promise;
private createCommand;
}
//# sourceMappingURL=Command.d.ts.map