import { IMigrationContext } from '../migration-context.js'; import { IEnvironmentVariables, IRepo } from './base.js'; import GitAdapter from './git.js'; import GithubService from '../services/github.js'; declare class GithubAdapter extends GitAdapter { private githubService; constructor(migrationContext: IMigrationContext, githubService: GithubService); getCandidateRepos(): Promise; mapRepoAfterCheckout(repo: Readonly): Promise; parseRepo(repo: string): IRepo; reposEqual(repo1: IRepo, repo2: IRepo): boolean; stringifyRepo({ owner, name }: IRepo): string; resetRepoBeforeApply(repo: IRepo, force: boolean): Promise; pushRepo(repo: IRepo, force: boolean): Promise; createPullRequest(repo: IRepo, message: string, upstreamOwner: string): Promise; getPullRequestStatus(repo: IRepo): Promise; getRepoDir(repo: IRepo): string; getDataDir(repo: IRepo): string; getOwnerName(owner: string): string; getBaseBranch(repo: IRepo): string; getEnvironmentVariables(repo: IRepo): Promise; protected getRepositoryUrl(repo: IRepo): string; createIssue: (repo: IRepo) => Promise; updateIssue: (repo: IRepo, issueNumber: number) => Promise; private checkActionSafety; } export default GithubAdapter;