import type { ChoiceInteraction } from "../types/interactions.js"; export interface TaskChoiceWidget { schemaVersion: 1; taskId: string; epoch: number; contextKey: string; callbackData: string; expiresAt: string; state: "pending" | "claimed" | "committed" | "completed"; block: ChoiceInteraction; } export declare function validateTaskChoiceWidget(value: unknown): asserts value is TaskChoiceWidget; /** Admit a reply's widgets for the task/epoch that requested it. This is a * presentation boundary, not execution authority. Hosts choose the count limit. */ export declare function admitTaskChoiceResponse(value: unknown, task: { taskId: string; epoch: number; } | undefined, maxWidgets: number): TaskChoiceWidget[];