import { Output } from './Output'; import { ChildProcessWithoutNullStreams } from 'child_process'; export declare type ExitCode = 0 | 1; export declare type ExecResult = { code: ExitCode; stdout: string[]; stderr: string[]; }; export declare const createExecute: (base: string, output: Output, currentProcessRef?: { current: ChildProcessWithoutNullStreams | null; } | undefined, exitCodeRef?: { current: ExitCode | null; } | undefined) => (runner: string, command: string, runFrom?: string | undefined) => Promise;