import type { ForgeAdapter, Issue, Comment, ReviewComment, PullRequest, PullRequestInput, PullRequestSummary, BranchOperations } from "@slowcook-ai/core"; export interface GitHubAdapterOptions { owner: string; repo: string; token: string; /** Optional: override the git ops (useful in tests). */ git?: BranchOperations; } export declare class GitHubAdapter implements ForgeAdapter { readonly repoSlug: string; readonly git: BranchOperations; private readonly octokit; private readonly owner; private readonly repo; private cachedBotUsername; constructor(options: GitHubAdapterOptions); getIssue(number: number): Promise; listIssueComments(number: number): Promise; /** Submitted review BODIES — the third feedback surface, invisible to * both listIssueComments and listReviewComments. Reviews with an * empty body (approve-with-no-text) are dropped: nothing to act on. */ listPullRequestReviews(number: number): Promise; listPullRequestReviewComments(number: number): Promise; getPullRequest(number: number): Promise; createReviewCommentReply(prNumber: number, inReplyToCommentId: number, body: string): Promise; /** Create a repository issue (backprop claims, storyteller announcements). */ createIssue(input: { title: string; body: string; labels?: string[]; }): Promise<{ number: number; url: string; }>; createIssueComment(number: number, body: string): Promise; addIssueLabels(number: number, labels: string[]): Promise; /** Emoji reactions on one issue comment — the PM's cheapest approval * gesture, readable so agents don't ignore a decision already given. */ listCommentReactions(commentId: number): Promise>; removeIssueLabel(number: number, label: string): Promise; createPullRequest(input: PullRequestInput): Promise; listIssuesByLabel(label: string, state?: "open" | "closed" | "all"): Promise; findPullRequestByBranch(headBranch: string): Promise; listBranchesMatching(prefix: string): Promise; botUsername(): Promise; } //# sourceMappingURL=github-adapter.d.ts.map