What is the long-term prognosis for someone who just had surgery to repair their ankle?

Depends. It depends on what the injury was, what type of surgery was performed. Should be very successful but will need time.