export interface RunOptions {
    readonly timeoutMs?: number;
    readonly maxStdoutBytes?: number;
    readonly maxStderrBytes?: number;
    readonly env?: NodeJS.ProcessEnv;
}
export interface RunResult {
    readonly exitCode: number | null;
    readonly stdout: Buffer;
    readonly stderr: Buffer;
    readonly timedOut: boolean;
}
export interface CommandRunner {
    run(command: string, args: readonly string[], options?: RunOptions): Promise<RunResult>;
}
export declare class SpawnCommandRunner implements CommandRunner {
    run(command: string, args: readonly string[], options?: RunOptions): Promise<RunResult>;
}
