FWIW after 13 years of wood floors in our kitchen, we had a small leak from our dishwasher. About 7 boards were affected i.e. warped. However, 3 months later, they have flattened out and no one would ever know they were once warped . The only thing I did was to sprinkle baking soda over the floorboard seams and left it there for about a week to try to absorb the moisture. I'm not sure if it helped but it certainly didn't hurt.
Q