import type { ReplyPayload } from "../types.js"; export type ReplyDispatchKind = "tool" | "block" | "final"; export type ReplyDispatcher = { sendToolResult: (payload: ReplyPayload) => boolean; sendBlockReply: (payload: ReplyPayload) => boolean; sendFinalReply: (payload: ReplyPayload) => boolean; waitForIdle: () => Promise; getQueuedCounts: () => Record; getCancelledCounts?: () => Record; getFailedCounts: () => Record; markComplete: () => void; };