Four people suspected of being behind attacks in the Indonesian capital Jakarta on Thursday are dead, including two who were suicide bombers, police said.

Two civilians are also confirmed as having died, taking the total death toll in the attacks to six, Deputy National Police Chief Budi Gunawan told reporters.

Two attackers were killed in a shootout with police, while two others were suicide bombers, he said.

Of the two civilians, one was a foreigner, Gunawan said.

Jakarta police spokesman Muhammad Iqbal added that five police personnel, one foreign civilian and four Indonesian civilians were injured, he said.