The surgery is being described by Between the Ropes as a cervical foraminotomy to decompress the nerve root. Basically, Bryan was having some nerve issue in his neck. That is much better than an actual spinal cord issue.
Timetable for his return is 2-3 months, which means they might let him keep the titles, but we will know more on RAW this week.