First: The surgeon must be sure that he identified and took care about the parathyroid glands (there are some surgeons who think it's not necessary, I don't think so).
Second: wait for patohologyst's report (it's very helpful to know what happened with the glands).
With all that information plus the clinical evolution, you can clarify if you are dealing with a transient or permanent hypoparathyroidism. The first one almost always recovers (When the impaired irrigation to the glands improves), this take some weeks (months) and the treatment is suplementary doses of vitamin D , calcium (IV--->oral) and a lot of patience.For the second one there is no solution and will need treatment lifelong, but sometime improves in relation with doses and tolerance to hypocalcemic simptoms. In both take care with the kidneys (nephrocalcinosis).