import type { PrAdapter, StandardCodeScanAlert, StandardIssueComment, StandardPr, StandardPrListItem, StandardPrReviewSubmission, StandardReviewComment } from './pr-adapter.js';
export declare class GitHubCliPrAdapter implements PrAdapter {
    private cwd;
    constructor(cwd: string);
    fetchOpenPRs(): StandardPrListItem[];
    fetchPr(prNumber: number): StandardPr;
    fetchReviewComments(prNumber: number): StandardReviewComment[];
    /**
     * Fetch the per-submission review record for a PR, exposing
     * `commit_id` (head SHA at review time) and `submitted_at` so callers
     * can group findings into push-based rounds. The shape returned by
     * `gh pr view --json reviews` (used by `fetchPr`) intentionally does
     * NOT include `commit_id`, so the bot-tax circuit-breaker
     * (mmnto-ai/totem#1713) reaches for the lower-level paginated
     * `repos/<owner>/<repo>/pulls/<N>/reviews` endpoint.
     *
     * Read-only. No GitHub mutation.
     */
    fetchReviews(prNumber: number): StandardPrReviewSubmission[];
    /**
     * Fetch PR-level issue comments (the conversation tab) via the paginated
     * `repos/<owner>/<repo>/issues/<N>/comments` endpoint. Unlike `fetchPr`
     * (which reads `gh pr view --json comments` and loses the `[bot]` suffix),
     * this preserves the suffix and surfaces `user.type` so review-bot summary
     * comments — where greptile posts its "Comments Outside Diff" findings, edited
     * in place across rounds — are recognizable as bot material.
     *
     * Read-only. No GitHub mutation.
     */
    fetchIssueComments(prNumber: number): StandardIssueComment[];
    fetchCodeScanningAlerts(prNumber: number): StandardCodeScanAlert[];
    createIssue(params: {
        title: string;
        body: string;
        labels: string[];
        milestone?: string;
    }): string;
    replyToComment(prNumber: number, commentId: number, body: string): void;
    addPrComment(prNumber: number, body: string): void;
    private getRepoNwo;
}
//# sourceMappingURL=github-cli-pr.d.ts.map