US President Donald Trump on Tuesday warned that Hong Kong could lose its status as a global financial center if a proposed Chinese crackdown goes ahead, and promised a "very interesting" US response within days.

The Chinese legislation would ban secession, subversion, terrorism and foreign interference after months of massive, often-violent pro-democracy protests last year in the semi-autonomous territory. Hong Kong's chief executive, Carrie Lam, said Tuesday that essential freedoms would remain.

Timeline of Hong Kong's pro-democracy protests over the extradition bill and  China's new security law proposal.
Timeline of Hong Kong's pro-democracy protests over the extradition bill and China's new security law proposal. AFP / John SAEKI

But it is "hard to see how Hong Kong can remain a financial hub if China takes over," White House press secretary Kayleigh McEnany told a briefing, saying this warning came directly from Trump.

"He's displeased with China's efforts," she said.

Trump himself was asked later by reporters if he was considering sanctions against China or restrictions on visas for Chinese students. He said that was a "very important question" and that he would do something "you'll find very interesting."

Thousands of protesters took to the streets of various towns and cities from late morning, with organisers -- using the slogan #StopTheCoup
Thousands of protesters took to the streets of various towns and cities from late morning, with organisers -- using the slogan #StopTheCoup AFP / Oli SCARFF

"It's something you're going to be hearing about over the next, before the end of the week. Very powerfully, I think," he said, without giving more detail.

Critics fear the new law could be a death blow to Hong Kong's treasured liberties, which are crucial to making it an international financial center on a par with New York and London.

The announcement of plans for the law -- which will be written by Beijing and bypass Hong Kong's legislature -- sparked the biggest drop on the city's stock exchange in five years on Friday.

Beijing portrays the Hong Kong protests as a foreign-backed plot to destabilise the motherland
Beijing portrays the Hong Kong protests as a foreign-backed plot to destabilise the motherland AFP / ANTHONY WALLACE

Lam argued that the controversial law would "only target a handful of lawbreakers." However, she would not be drawn on what actions and opinions would be deemed illegal.

The commander of China's military garrison in Hong Kong warned the law would "punish any acts of separatism."

"Garrison officers have the determination, faith and capacity to defend national sovereignty," Chen Daoxiang told state-run CCTV.

Police fire tear gas and water cannon at thousands of Hong Kong pro-democracy protesters who gather against a controversial security law proposed by China, in the most intense clashes in months.
Police fire tear gas and water cannon at thousands of Hong Kong pro-democracy protesters who gather against a controversial security law proposed by China, in the most intense clashes in months. AFPTV / Michael ZHANG

But Lam said fears the city's business-friendly freedoms were at risk were "totally groundless".

"Hong Kong's freedoms will be preserved and Hong Kong's vibrancy and the core values in terms of the rule of law, the independence of the judiciary, the various rights and freedoms enjoyed by people, will continue to be there," Lam told reporters.

The proposed law, she added, "only targets a handful of law-breakers... it protects the vast majority of law-abiding, peace-loving residents."

Pro-democracy protesters gather in Causeway Bay district of Hong Kong on May 24
Pro-democracy protesters gather in Causeway Bay district of Hong Kong on May 24 AFP / ISAAC LAWRENCE

Hong Kong was upended last year by seven months of huge pro-democracy protests, fueled by years of rising fears that Beijing is chipping away at the city's freedoms.

US President Donald Trump warns that Hong Kong risks losing its special status as a financial hub
U.S. President Donald Trump warns that Hong Kong risks losing its special status as a financial hub. AFP / MANDEL NGAN

Millions took to the streets for rallies that routinely ended with clashes between riot police and smaller groups of militant protesters wielding petrol bombs.

Beijing portrays the protests as a foreign-backed plot. Protesters say their rallies are the only way to voice opposition in a city with no universal suffrage.

Thousands protested on Sunday after the security law announcement and were dispersed by tear gas and water cannon in the worst clashes in months.

The precise wording of the security law has yet to be revealed but China's rubber-stamp parliament previewed initial details last week.

It is expected to approve a draft of the law on Thursday and analysts say it could be implemented in the summer.

One concern is a provision allowing Chinese security agents to operate in Hong Kong, with fears it could spark a crackdown on those voicing dissent against Beijing.

Subversion laws are routinely wielded against critics on the mainland.

Asked by a reporter whether mainland officials could arrest protesters in Hong Kong, Lam dismissed the question as "your imagination".

She said anti-government protests would continue to be allowed "if it is done in a legal way", but she did not elaborate on what views would be considered illegal under the new law.

A common chant at protests over the last year has been "Free Hong Kong, revolution of our times", a cry that encapsulates frustration with Beijing's rule since the city's 1997 handover by Britain.

Activists fear such calls might be considered illegal given the broad definition of subversion.

In an interview with AFP on Tuesday, Elsie Leung, a former secretary for justice, said activities seeking to undermine the local government might be covered by the law.

Further protests are expected despite anti-coronavirus measures banning large public gatherings.

On Wednesday Hong Kong's legislature will debate a bill banning insults to China's national anthem.

Police have ringed the building -- which was ransacked by protesters last year -- with water-filled barriers ahead of the debate.