Nasrat Rahimi, an Interior Ministry spokesman, said several gunmen had taken up positions in a nearby government building after the blast and were exchanging gunfire with security forces, Reuters reported.
At least two people were wounded in the clashes, said Wahid Majroh, a spokesman for the ministry of public works.
An official working in another government building told Reuters that employees had locked themselves in their offices after hearing the explosions and gunfire.