Conditional type that determines the return type based on execution parameters.
The execution parameters type.
The output type.
AsyncGenerator for streaming executions, Promise otherwise.
Conditional type that determines the return type based on execution parameters.