Diplomatically, we saw Lebanon, Qatar, and Saudi Arabia expelling Iranian diplomats (some even threatening war with Iran). And the entire gulf region unite against Iran. All while Iran's allies were mostly passive.
It's quite likely that Iran would need to deal with the mess both internally (as the power grab in the leadership vacuum could take place), and externally with the neighbors it bombed. Iran needs to make it appear as a win internally, and that's something that would affect any long term agreement.
Regardless, whether it's a win to ETTHER side remains to be seen when a more permanent agreement is signed. If for example Iran actually manages to impose a fee on passing ships, then that's a major achievement for Iran, and could create a dangerous pretendant for other regions (like the strait of Malacca in Indonesia, Bab El-Mandeb and even the South China sea.
Also if there ever was an ounce of internal resistance then this war have probably galvanized the population and is aligning everyone to common cause of working on the build up of particularly their national security.
The US was goaded by Israel into joining a war that has not achieved it's stated objectives. America is deriding NATO for not joining this suicide mission, burning goodwill that would be valuable in a Russia/China conflict, because it's more valuable for Israel's geopolitical microcosm. Hegseth gutted the US' officers leading up to the war, precipitating war crime-adjacent strikes that have been decried even by GOP politicians.
Neither America nor Israel are better off because of this conflict, and China (once again) wins by embracing diplomatic capitalism. The economic soft-power of the dollar is now even more precarious than before.
This is a such a armchair opinion. One country has the location information and other has vast forest and mountains. How it took 48 hrs for US is a eye opening scene for rest of the world. Multiple trillion of defense budget still a minion.