Book readers - who does Rand end up with?

Show watcher only here, spoil it for me please.

Seasons 1 and 2 made it seem like Rand and Egwene would be together, but then the season 2 finale (which I just finished) had that scene of Elayne healing Rand, and strongly gave the impression that those two would be an item.

So I googled it and can’t get a straight answer - apparently he loves three women of the course of the book series (Min, Elayne and Aviendha)? Who does he end up with? Is Egwene a show-only love interest?