"After that, and the selection of a GREAT & ACCEPTABLE Leader(s), we, and many of our wonderful and very brave allies and partners, will work tirelessly to bring Iran back from the brink of destruction," Trump said in a social media post, adding that they would work to boost Iran's economy.
Trump signed off the post with "MAKE IRAN GREAT AGAIN (MIGA!)," a riff on his longtime campaign slogan "Make America Great Again".
Trump told Reuters on Thursday that the United States should be involved in choosing the next leader of Iran to replace supreme leader Ayatollah Ali Khamenei, killed in the war's first day.
Trump's post on social media came just hours after Iran's president announced that unspecified countries had begun mediation efforts in one of the first signals of any diplomatic initiative to end the conflict.
President Masoud Pezeshkian posted on X: "Some countries have begun mediation efforts."
He did not identify the countries or provide further details.
"Let's be clear: we are committed to lasting peace in the region, but we have not the slightest hesitation in defending the dignity and authority of our country. Mediation should address those who underestimated the Iranian people and ignited this conflict," he added.
Under Iran's system, the president is subordinate to the supreme leader, but Pezeshkian is now serving on a panel that has assumed Khamenei's duties.
Israel pounded the Lebanese capital Beirut on Friday after ordering an unprecedented evacuation of the entire southern suburbs of the city.
It also launched a new wave of attacks on Iran, saying 50 of its warplanes had struck a bunker beneath the destroyed Tehran compound of Khamenei, still being used by Iran's leadership after he was killed.
Trump on Friday also said the United States was moving thousands of people out of various countries throughout the Middle East.
"It is being done quietly, but seamlessly," Trump said in a social media post without providing further details.
The State Department said later on Friday that it was continuing to reach out to US citizens in the Middle East to offer charter flights or ground transport travel assistance.
"Several flights have safely returned hundreds of Americans to the United States with additional flights scheduled to take place over the coming days, as security conditions allow," Assistant Secretary of State for Global Public Affairs Dylan Johnson said in a statement.
Johnson said a task force has "directly assisted nearly 13,000 Americans abroad, offering security guidance and travel assistance."
with AP