how are input shafts reconditioned?

I put this trans together after sitting for 20 years.

It shifted fine when done.