Forecasters warned that intense rainfall could trigger flash flooding across the region, including in parts of New York City.