There currently is one option to travel by night train from Hegyeshalom (Hungary) to Deva (Romania), taking between approximately 7 and 8 hours: Namely the 347. These lines are operated by MÁV-Start and CFR Călători.
MÁV-Start is Hungary's national passenger railway operator, running domestic and international trains connecting Hungary with neighboring countries.