The details of the agreement were announced Thursday in Lausanne, Switzerland, where negotiations had been taking place.