import { IGitExecutionOptions } from '../core/git'; import { IPushProgress } from '../progress'; /** * Push from the remote to the branch, optionally setting the upstream. * * @param repository - The repository from which to push * * @param account - The account to use when authenticating with the remote * * @param remote - The remote to push the specified branch to * * @param localBranch - The local branch to push * * @param remoteBranch - The remote branch to push to * * @param setUpstream - Whether or not to update the tracking information * of the specified branch to point to the remote. * * @param progressCallback - An optional function which will be invoked * with information about the current progress * of the push operation. When provided this enables * the '--progress' command line flag for * 'git push'. */ export declare function push(repositoryPath: string, remote: string, localBranch: string, remoteBranch?: string, options?: IGitExecutionOptions, progressCallback?: (progress: IPushProgress) => void): Promise;