
Solid hardwood
Solid oak and heart pine often survive a clean-water leak if drying starts within a day or two. Boards may cup while wet and flatten as they dry. Refinishing waits until readings match a dry part of the floor.
Engineered wood
Engineered floors have a thin wood top over a plywood or fiber core. Clean water caught early can dry; water that soaked the core for days often causes delamination.

Vinyl plank
The planks themselves rarely fail. The problem is water trapped under them on the slab. Click-lock planks can often be lifted, the slab dried, and the planks put back.
Laminate
Laminate has a wood fiber core that swells when wet and does not shrink back. Most wet laminate is replaced.
Dirty water changes everything
Any floor soaked by sewage or outside flood water is removed, whatever it is made of.
Questions to ask before anything comes up
What are the readings now and what is the dry goal? Can the boards or planks be dried in place? If they come up, will they be numbered so they can go back in order? Keeping answers to these in the job record makes a later flooring claim much simpler.
Quick answers
Can I buy matching planks later?
Keep a box of spare planks when you install. Matching an older color can be hard.
How long before I can refinish hardwood?
Usually a few weeks after drying, once readings are steady.