UPDATE: The suspect in this morning's fatal shooting of a Fresno County sheriff's detective is dead, Sheriff's Margaret Mims said tonight.
Mims said law-enforcement officers went inside the mobile home about 5 p.m. and discovered the man's body.
A woman came out of the home voluntarily, Fresno Police Chief Jerry Dyer said. She has been taken to police headquarters for questioning. Mims said the woman emerged about 4 p.m.
Dyer said the woman came out of the home after authorities used tear gas.
Sign Up and Save
Get six months of free digital access to The Modesto Bee
The man was apparently dead before the woman came outside, Dyer said.
A Fresno county homicide detective died Thursday and a police officer was in critical condition after they were shot during an investigation in a rural area of Central California, authorities said.
The suspected shooter, who has not been identified, then barricaded himself inside his mobile home and kept firing on law enforcement officials in an ongoing standoff, authorities said.
"We lost a good deputy sheriff today," Fresno Sheriff Margaret Mims said.
Mims said the shooter was also suspected of arson and another shooting. He opened fire when deputies and a state fire official arrived at his mobile home to serve warrants in those cases, she said.
A neighbor reported hearing hundreds of shots.
The suspect lived at the residence with his wife, but it was unclear if any other people were inside the home, she said.
Mims said authorities had not had any contact with the suspect in the ongoing standoff, and it wasn't clear if he was still alive.
Another wounded Fresno County deputy was in stable condition after the shooting. The names of the three officers were not immediately released.
The wounded police officer from Reedley was responding to a call for backup after the deputies had been shot, Mims said.
Mary Novack, who runs a convenience store across from the home under siege, said she saw several deputies and fire officials arrive Thursday morning. They used a loudspeaker to repeatedly demanded someone inside surrender then smashed down the door, she said.
She saw some of the deputies go inside before hearing gunfire.
"Oh my god, somebody's going to be dead," Novack recalled thinking at the time.
Novack said she later saw an officer on the ground.
Jim Stone, 46, who lives about 100 feet from the surrounded home, said he was evacuated after the shooting erupted. Stone said he heard what sounded like hundreds of shots.