several times to draw out as much moisture as you can Vacuum the kitchen floor and under the appliances if possible. Open all the lower cupboard doors and open the windows and doors and set fans to blow dry air into the cabinets and across the carpeting.
There isn’t much you can do about the hardwood floors. They MIGHT, maybe, return to normal after they dry out for a week or two but I wouldn’t bet on it. The odds are the hardwood floor is ruined and will have to be replaced.
An important and expensive lesson in knowing where the shut off valves are, and where the ‘whole house’ shut off valve is BEFORE you start plumbing repairs. The main valve is something you don’t want to be frantically searching for as the water spreads throughout the house!
Good luck on the repairs and recovery.