Gov. Gavin Newsom declared a state of emergency for five counties as flood waters swamp homes and businesses.