Tropical storm Amanda, the first named storm of the season in the Pacific, lashed El Salvador and Guatemala on Sunday, leaving nine people dead amid flooding and power outages.

El Salvador's President Nayib Bukele declared a state of emergency, announcing it on his Twitter account.

"We have nine dead," Salvadoran Interior Minister Mario Duran said, adding that the toll could rise.

He said 50 houses in the San Salvador metropolitan area were "lost."

An employee of the Public Works Ministry is seen in the flooded Santa Lucia colony in Ilopango, El Salvador, during Tropical Storm Amanda
An employee of the Public Works Ministry is seen in the flooded Santa Lucia colony in Ilopango, El Salvador, during Tropical Storm Amanda AFP / Marvin RECINOS

Other officials said 200 houses across the Central American country have been inundated by flooding, and rescue teams were evacuating residents from low-lying areas along swollen rivers and creeks.

One woman was killed in a mudslide and another by the collapse of a wall in her home in San Salvador, the director of police Mauricio Arreaza said.

A 10-year-old boy also was reported killed in the collapse of his home in Ciudad Delgado on the northeastern outskirts of the Salvadoran capital, but officials said that death had not been confirmed yet.

In Guatemala, officials said roads had been blocked by at least five landslides and some flooding had been reported but no evacuations were underway.