For decades, the United States has been one of the biggest beneficiaries of the global trade architecture.