import { type Checkpoint, type CheckpointCodecOptions, type GitHubComment } from './codec.mts'; export type CheckpointSelectionContext = { repository: string; pr: number; headRef: string; headSha: string; actor: string; isAncestor: (candidate: string, head: string) => boolean; isShepherdRun: (runId: string) => boolean; }; export declare function selectResumeCheckpoint(comments: GitHubComment[], context: CheckpointSelectionContext, options?: CheckpointCodecOptions): { checkpoint: Checkpoint; commentId: number; } | undefined;