A general framework for neural delay differential equations with various delay types | Synapse