Package:
@hexos/react-coreUser’s response to a tool approval request — approve or reject with optional reason.
Sent via SSETransport.sendApproval() to the approval endpoint.
Related: ToolApprovalRequest is the request, useToolApproval sends decisions.
interface ApprovalDecision {
toolCallId: string;
approved: boolean;
reason?: string;
}