///
/**
* A set of configuration options that can be passed when
* executing a streaming Git command.
*/
export interface IGitSpawnOptions {
/**
* An optional collection of key-value pairs which will be
* set as environment variables before executing the git
* process.
*/
readonly env?: Record;
}
/**
* Execute a command and interact with the process outputs directly.
*
* The returned promise will reject when the git executable fails to launch,
* in which case the thrown Error will have a string `code` property. See
* `errors.ts` for some of the known error codes.
*/
export declare function spawn(args: string[], path: string, opts?: IGitSpawnOptions): import("child_process").ChildProcessWithoutNullStreams;