import { Writable } from 'stream' ; import { API } from '../repository/git.d' ; export const IGitCommandExecutor = Symbol . for ( 'IGitCommandExecutor' ) ; export interface IGitCommandExecutor { readonly gitApi : Promise < API > ; exec ( cwd , ... args ) : Promise < string > ; exec ( options , ... args ) : Promise < string > ; exec ( options , destination , ... args ) : Promise < void > ; }