The spokesman did not say how many people were arrested.
Hari Anwar, the local police chief, said the suspects were riding motorcycles when they were shot by police.
No other details were immediately available.
Indonesia has arrested almost 300 terror suspects since 2002, but the authorities say several other key suspects remain on the run in the country, including Abu Dujana.