Breathing problems before surgery

Patient: I have a 50% airway from tracheal damage. I’ve had many surgeries on my throat. I have epilepsy and I might be a candidate for head surgery. I’m concerned about being intubated for a long period of time during my head surgery. I might swell up from being intubated for so long, so what would they have to do? There has to be a way to perform the surgery, so what needs to be done?