import { RepoWatchConfig } from './RepoWatchConfig'; import { GitWrapper } from './GitWrapper'; export declare class GitWorker { git: GitWrapper; config: RepoWatchConfig; constructor(git: GitWrapper, config: RepoWatchConfig); /** * Sync the local branch using config instructions. * Based on the config it might do pull or pull/rebase/push (sync upstream) * * Return true if a change occurred. * * @returns {Promise} */ syncBranch(): Promise; private doPull(); private doPush(); }