import type { GitHubCliOptions } from "./gh.js"; import { type GitHubRateLimitStatus } from "./github-api.js"; export { GitHubRateLimitError, type GitHubRateLimitStatus } from "./github-api.js"; export type ReviewHistoryKind = "review_comment" | "review_body" | "pr_comment"; export interface ReviewHistoryComment { repo: string; pullRequestNumber: number; pullRequestTitle: string; pullRequestUrl: string; authorLogin: string; createdAt: string; kind: ReviewHistoryKind; body: string; path?: string; line?: number; diffHunk?: string; } export interface FetchReviewHistoryOptions extends GitHubCliOptions { username: string; repos: readonly string[]; since?: string | Date; maxComments?: number; onRateLimit?: (status: GitHubRateLimitStatus) => void | Promise; } export declare function fetchReviewHistory(options: FetchReviewHistoryOptions): AsyncGenerator;