Dutchman Robert Gesink will undergo a heart operation after suffering pain during last week's Tour of the Basque Country.