/// import { ChildProcess } from 'child_process'; import { GitProgressParser, IGitProgress, IGitOutput } from './git'; import { IGitExecutionOptions } from '../core/git'; /** * Merges an instance of IGitExecutionOptions with a process callback provided * by progressProcessCallback. * * If the given options object already has a processCallback specified it will * be overwritten. */ export declare function executionOptionsWithProgress(options: IGitExecutionOptions, parser: GitProgressParser, progressCallback: (progress: IGitProgress | IGitOutput) => void): IGitExecutionOptions; /** * Returns a callback which can be passed along to the processCallback option * in IGitExecution. The callback then takes care of reading stderr of the * process and parsing its contents using the provided parser. */ export declare function progressProcessCallback(parser: GitProgressParser, progressCallback: (progress: IGitProgress | IGitOutput) => void): (process: ChildProcess) => void;