EPA guidance is to dry water-damaged areas and items within 24 to 48 hours to help prevent mold growth (source: https://www.epa.gov/mold/brief-guide-mold-moisture-and-your-home). A ceiling that looks dry from below can still hold water in the insulation above it.

A water damage visit usually measures moisture in the drywall, insulation, and framing, removes material that is soaked, soft, or sagging, and dries the rest with fans and dehumidifiers. It may also check for mold where the ceiling stayed wet.

The cooler is a separate fix. Depending on the cause, a technician may adjust or replace the float valve, patch or replace the pan, replace overflow fittings, reseal the cooler-to-duct joint, or reconnect the bleed-off line. A failed curb seal may need roofing work. Stop the leak first, or the drying may have to be redone.

For insurance, photograph the damage before anything is torn out and keep receipts. Then check your own policy or ask your insurer or agent what applies.