President Donald Trump hinted that a deal has been reached to resolve issues over TikTok's China-based ownership, days before the next ban deadline for the social media platform.

"A deal was also reached on a 'certain' company that young people in our Country very much wanted to save. They will be very happy!" Trump wrote in a Truth Social post shortly after 8 a.m. ET on Sept. 15.

Trump also said he will be speaking to Chinese President Xi Jinping on Sept. 19, adding that their relationship "remains a very strong one."

At a trade meeting between U.S. and China officials in Madrid, U.S. Trade Representative Jamieson Greer said the framework deal is to switch the app to U.S.-based ownership, per Reuters.

"We believe we have an agreement. It's just subject to the leaders' approval," Greer said.

TikTok has faced an uncertain future in the United States in the face of a looming ban stemming from concerns over data sharing with China. The latest ban deadline, which was Trump's third extension, is set to expire on Sept. 17.

Greer says there won't be 'repetitive extensions' for TikTok ban

After Trump hinted at a deal being reached for the app, Greer confirmed that there won't be further extensions on the ban deadline, per Reuters.

"We're not going to be in the business of having repetitive extensions," Greer said. "We have a deal. You know, if there's some extension needed just to get it signed, etc., that's one thing, but there's just no ongoing extensions."

U.S. Treasury Secretary Scott Bessent said the deal is "between two private parties" and declined to talk about the commercial terms of the deal, which he said "have been agreed upon."

Bessent also said the meeting focused on TikTok, rather than trade negotiations.

"We had very good discussions. We preferred to keep the discussions on TikTok. We will be holding trade negotiations in about a month again at a different location," Bessent said.

Why are there concerns about TikTok's ownership?

Some government officials have raised concerns that TikTok, which is owned by Beijing-based company ByteDance, poses a national security threat because of possible data sharing with China. TikTok has repeatedly denied these claims.

After ongoing uncertainty over the app's future in the United States, TikTok went dark for less than 24 hours in January under legislation signed into law by former President Joe Biden.

Since it came back online, Trump has delayed the app's ban three times, with the latest deadline set to expire on Sept. 17.

For months, Trump has said negotiations for TikTok's sale have been ongoing with China.

Contributing: Reuters; Greta Cross, USA TODAY

Melina Khan is a national trending reporter for USA TODAY. She can be reached at melina.khan@usatoday.com.

This article originally appeared on USA TODAY: Trump hints at TikTok deal, says young people 'will be very happy'

Reporting by Melina Khan, USA TODAY / USA TODAY

USA TODAY Network via Reuters Connect