Apart from any airframe damage you have a mandatory shock load inspection on the engine, because the current could have "fused" some of the bearings.
So it could make it uneconomical to repair if you are talking about something at the bottom of the market.