//! Approval types for permission-gated tool execution.
use oneshot;
/// User's choice when presented with an approval prompt.
/// Approval request sent from a TUI tool to the TUI event loop.
///
/// The tool sends this via an unbounded channel and awaits the response
/// on `response`. The TUI receives the request, shows the approval overlay,
/// and sends back the user's choice via the oneshot channel.