import { VersionTag } from "../value_object/version_tag.vo"; import { IConfigService } from "./i_config.service"; import { IGitPlatformService, IssueWithPR } from "./i_git_platform.service"; export declare type GitStatus = "UPDATED" | "REMOTE_CONFLICT" | "NO_CHANGE" | "NO_REMOTE_BRANCH"; export declare class GitPlatformService implements IGitPlatformService { private configService; private gitRepoPath; constructor(configService: IConfigService, gitRepoPath: string); checkRemoteBranchExist(branchName: string): Promise; getUpstreamBranch(branchName: string): Promise; checkHeadExist(): Promise; isGitRepo(): boolean; abortMerge(): Promise; checkConflict(): Promise; pullFrom(branchName: string): Promise; checkUnstagedChanges(): Promise; stash(id: string): Promise; applyStash(id: string): Promise; getBranches(): Promise; getLatestBranchByCommitDate(): Promise; getSortedBranchesByCommitDate(): Promise; deleteLocalBranch(branchName: string): Promise; deleteRemoteBranch(branchName: string): Promise; commitWithMessage(message: string): Promise; stageAllChanges(): Promise; createDummyChange(): Promise; private execP; checkoutToBranchWithoutReset(branchName: string): Promise; checkoutToFeatureBranch(branchName: string): Promise; getLatestTag(): Promise; fetchFromRemote(): Promise; findDifferenceFromMaster(branchName: string, issueBranchPattern: string): Promise; getLatestCommitId(branchName: string): Promise; checkoutToBranchWithReset(branchName: string): Promise; tagCommit(branchName: string, tag: VersionTag): Promise; getGitRepoUrl(): Promise; getBranchName(): Promise; pushBranch(branchName: string): Promise; pushBranchWithUpstream(branchName: string): Promise; private parseMergedLog; private parseMergedLogOnlyPR; private isItAFeatureBranch; gitInit(): Promise; isThereRemoteUrl(): Promise; removeRemoteUrl(): Promise; setRemoteUrl(remoteUrl: string): Promise; undoCommitAndModification(): Promise; }