import { type RateLimitInfo, type RepoInfo } from "./client.mts"; import { type PageAccumulator } from "./batch-page-helpers.mts"; import type { RawPr } from "./batch-raw-types.mts"; export interface PaginatedBatchNodes extends PageAccumulator { rateLimit?: RateLimitInfo; } export interface PaginateBatchOptions { paginateApprovedReviews?: boolean; } /** * Fetch remaining connection pages with a slim `@include` query. Independent * connections that still have cursors are combined into one request per round. */ export declare function paginateBatchConnections(pr: number, repo: RepoInfo, raw: RawPr, opts: PaginateBatchOptions, initialRateLimit?: RateLimitInfo): Promise;