import type { HitlResumeResult } from "@agents24/client"; import type { ChatHitlPart, ChatMessage, ChatPart } from "./model"; export type HitlDecisionReceipt = Pick & { run_status?: string; }; /** Apply a durable receipt without moving the delivery cursor or changing run execution. */ export declare function applyHitlResolution>(messages: T[], receipt: HitlDecisionReceipt): T[]; export declare function findHitlResolution(messages: readonly ChatMessage[], runId: string, interruptId: string): ChatHitlPart | undefined; /** Terminal decisions are monotonic even when delivery replays an older pending snapshot. */ export declare function preserveResolvedHitlParts(current: readonly ChatPart[], incoming: ChatPart[]): ChatPart[];