import type { RepoInfo } from "./client.mts"; import type { RawPr } from "./batch-raw-types.mts"; export interface PrFingerprint { headRefOid: string; updatedAt: string; state: string; isDraft: boolean; mergeable: string; mergeStateStatus: string; reviewDecision: string | null; isInMergeQueue: boolean; isMergeQueueEnabled: boolean; mergePolicy: string; commentCount: number; commentRevisions: string; threadCount: number; reviewCount: number; reviewRevisions: string; latestCommentId: string | null; latestThreadId: string | null; latestReviewId: string | null; checkRollupState: string | null; checkSuiteConclusions: string; checkSuitesComplete: boolean; viewerCanUpdate: boolean; viewerPermission: string | null; viewerLogin: string | null; stackKey: string; threadCommentRevisions: string; rulesComplete: boolean; hasMultiCommentThreads: boolean; } export declare function fingerprintFromRaw(raw: RawPr, viewerPermission?: string | null, viewerLogin?: string | null): PrFingerprint; export declare function fingerprintsEqual(left: PrFingerprint, right: PrFingerprint): boolean; export declare function fetchPrFingerprint(pr: number, repo: RepoInfo): Promise;