import type { PollSummaryCommandOptions, PollSummaryItem, PollSummarySelection, PollSummaryStackAncestry } from "../types.mts"; import { type RepoInfo } from "./client.mts"; import type { RawSummaryPr } from "./poll-summary-raw.mts"; export interface FetchedPollSummary { selection: PollSummarySelection; prs: PollSummaryItem[]; stackAncestry?: PollSummaryStackAncestry[]; } export declare function fetchPollSummary(opts: PollSummaryCommandOptions, repo: RepoInfo): Promise; /** Fresh, read-only snapshot used to bind a one-PR READY receipt to stack routing. */ export declare function fetchRawSummaryPr(pr: number, repo: RepoInfo): Promise;