import type { WorkItemsStorage } from '../storage/domains/work-items/base.js'; /** * Records the head a pull request or merge request was observed at, so a * review verdict given on an earlier head can be shown as outdated. Webhooks * arrive out of order and get redelivered, so a write only lands when its * event is newer than the one the card last recorded; an event without a * timestamp cannot be ordered and is dropped. The check and the write run * against the same revision, so a concurrent delivery cannot slip between them. */ export declare function recordPullRequestHead(storage: WorkItemsStorage, input: { orgId: string; id: string; headSha: string; headAt: number | undefined; /** Only write while the card has no open pull request or has this one out. */ ownedPullRequestNumber?: number; }): Promise; //# sourceMappingURL=pull-request-head.d.ts.map