///
import { ChildProcess } from 'child_process';
import { EventEmitter } from 'events';
export interface ICommandSessionConfig {
command: string;
environmentVariables: NodeJS.ProcessEnv;
}
declare class CommandSession {
exitCode: number | null;
private child?;
private isRunning;
events: EventEmitter;
start(config: ICommandSessionConfig, silent?: boolean): ChildProcess;
stop(): Promise | undefined;
}
export { CommandSession };
//# sourceMappingURL=command-session.d.ts.map