import type { RunCommand, SourceConfig, SourceJob } from "../types.js"; export interface PullRequest { number: number; state: string; headRefOid: string; baseRefOid: string; isDraft: boolean; mergeable: string; reviewDecision?: string; mergeCommit?: { oid: string; }; statusCheckRollup: { name?: string; context?: string; status?: string; conclusion?: string; state?: string; }[]; } export declare function mergeReady(pr: PullRequest, job: SourceJob, checks: string[]): boolean; export declare function checksPassed(pr: PullRequest, checks: string[]): boolean; export declare function submitPullRequest(run: RunCommand, root: string, config: SourceConfig, job: SourceJob): Promise; export declare function reconcilePullRequest(run: RunCommand, config: SourceConfig, job: SourceJob): Promise;