/** * GitHub operations via `gh` CLI — all PR/repo API calls go through here. */ export declare function isGhInstalled(): Promise; export declare function isGhAuthenticated(): Promise; export declare function getGhUsername(): Promise; export interface RepoSettings { defaultBranch: string; allowMergeCommit: boolean; allowSquashMerge: boolean; allowRebaseMerge: boolean; mergeCommitAllowed: boolean; } export declare function getRepoSettings(owner: string, repo: string): Promise; export interface PullRequest { number: number; title: string; state: string; url: string; headBranch: string; baseBranch: string; isDraft: boolean; reviewDecision: string; statusCheckRollup: string; additions: number; deletions: number; body: string; } export declare function createPR(opts: { title: string; body: string; head: string; base: string; draft?: boolean; reviewer?: string[]; }): Promise; export declare function updatePR(number: number, opts: { title?: string; body?: string; base?: string; }): Promise; export declare function mergePR(number: number, method?: 'merge' | 'rebase' | 'squash'): Promise; export declare function closePR(number: number): Promise; export declare function getPR(number: number): Promise; export declare function listPRsForBranches(branches: string[]): Promise; export declare function addPRComment(number: number, body: string): Promise; //# sourceMappingURL=github.d.ts.map