well, think of it as a chance to remodel. Hardwood floors are better anyways.
You might have to cut out parts of the ceiling where it got wet and patch it up with new boards and spackle. That's the easiest part.
If it holds up, a fresh coat of paint might do it too.