I think her days are numbered. The party won't trust her with a new election after blowing a twenty point lead going in. And hung parliaments aren't stable so there will be another general election fairly soon.
She won't want to increase the immediate turmoil. Which means she will wait for the dust to settle before resigning.
I like her better than the alternative candidates for leader of the Tory party. But she ran a poor campaign - a nothing burger, a bit like HRC. However bad the opponent, you have to sell your own vision.
I don't think she will survive as party leader. For me, it's a shame as she might have been a decent PM.