import type { CICheckRun, ExecFileFn, GitPlatformClient, IssueCreateInput, IssueCreateResult, PRCreateInput, PRCreateResult, PRStatusResult, ReleaseInput, ReleaseResult } from '../../../types/github.js';
export declare class GitHubAdapter implements GitPlatformClient {
    private readonly exec;
    constructor(exec?: ExecFileFn);
    createPR(input: PRCreateInput): Promise<PRCreateResult>;
    createIssue(input: IssueCreateInput): Promise<IssueCreateResult>;
    getPRStatus(prNumber?: number): Promise<PRStatusResult[]>;
    getPRDiff(prNumber: number): Promise<string>;
    listIssues(state?: 'open' | 'closed' | 'all'): Promise<IssueCreateResult[]>;
    createRelease(input: ReleaseInput): Promise<ReleaseResult>;
    addLabels(issueNumber: number, labels: string[]): Promise<void>;
    getCIStatus(ref: string): Promise<CICheckRun[]>;
    private mapPRStatus;
    private mapPRState;
    private mapReviewDecision;
    private mapCheckStatus;
    private mapConclusion;
    private deriveCIStatus;
}
//# sourceMappingURL=github-adapter.d.ts.map