import type { Project } from "./config.js"; import type { Issue, LocalSubject, ReviewRequest, RunRecord } from "./domain.js"; import type { WorkItem } from "./work/schema.js"; type QueuedRunInput = Pick & { issue: Issue | LocalSubject; now: string; branchTemplate: string; }; export declare function createQueuedRun(input: QueuedRunInput): RunRecord; /** A new attempt of `previous`, carrying its review identity and pinned Work contract. */ export declare function createRetryRun(previous: RunRecord, input: Omit & { issue?: Issue; }): RunRecord; export declare function createQueuedWorkRun(work: WorkItem, project: Project, attempt?: number): RunRecord; export declare function createQueuedReviewRun(input: Omit & { request: ReviewRequest; }): RunRecord; export {};