Removing the U.S. from the climate agreement would take place one year after a formal declaration to do so.