import { IGitExecutionOptions } from '../core/git'; import { IFetchProgress } from '../progress'; /** * Fetch from the given remote. * * @param repository - The repository to fetch into * * @param remote - The remote to fetch from * * @param progressCallback - An optional function which will be invoked * with information about the current progress * of the fetch operation. When provided this enables * the '--progress' command line flag for * 'git fetch'. */ export declare function fetch(repositoryPath: string, remote: string, options?: IGitExecutionOptions, progressCallback?: (progress: IFetchProgress) => void): Promise; /** Fetch a given refspec from the given remote. */ export declare function fetchRefspec(repositoryPath: string, remote: string, refspec: string, options?: IGitExecutionOptions): Promise;