Assuming the heads are still bolted to the engine and the intake is still there, then there’s always the chance the heads might be salvageable. If rain water has managed to get to the heads, then the odds that that the heads can be used are slim. Only by removing the heads and doing a complete teardown & checkout will tell you what shape the heads are really in.