Coupled dark energy: towards a general description of the dynamics