A U.N. spokeswoman confirmed that a deal has been reached , and she said Secretary-General Kofi Annan expects Syria 's cooperation to continue .