WithResponse type
A type that represents an operation result with a known _response property.
type WithResponse<T, Headers, Body> = T &
(Body extends object
? ResponseWithBody<Headers, Body>
: Headers extends object
? ResponseWithHeaders<Headers>
: ResponseLike)