Cueing after a responder shows two suits after a NT opening usually agrees the second suit (if you were particularly enthusiastic about the first suit, you would have cued instead of accepting the transfer).
So then 4
♥ was a cue and denied the king of diamonds or a singleton, 5
♣ showed 1 keycard (presumably the ace of hearts) 5
♦ asked for the queen of spades, 5
♥ said no (presuming you play 1st step no, 2nd step yes). Opener pretended to be interested in spades so he could find out about the spade queen.
Partner has just the ace of hearts, and a doubleton or worse diamond. The spades aren't going on any mysterious club suit (he has a maximum of two clubs), so you can count only 11 tricks (three spades, five hearts, one diamond, two clubs) and will pass.
Although if you DON'T play 1st step no 2nd step yes, and play trump suit = no, other = yes + king/other feature, perhaps he is trying to tell you he has six hearts and four spades (the extra heart being a feature). In that case, he has one club and two diamonds or no clubs and three diamonds. In both cases the extra diamonds can be discarded on your clubs and you will make 13 tricks (he has the queen of spades as well).
So, if you play 1st step no/2nd step yes, then pass, otherwise, bid 7
♥ . [or 6
♥ if you are very pessimistic, just in case he hasn't got the jack of spades and they break 4-1]