^ It was clearly a hostile act on the part of the Federation. However, I would argue that it wasn't a flat out declaration, or act, of war. The actual act of war came when the Dominion forced their way into Bajoran space to remove the mines.
It would be the same for Turkey or Denmark. When another power tries to forcibly remove the mines from the Bosporus or Sund, that's the start of war.