ProducerSerializer type-alias type ProducerSerializer = Serializer<OutgoingEvent | OutgoingRequest, any>;