Whether that's true, and if so who will replace them as the largest party in Wales, will become clear in the hours to come.