The judge, Linda Chan, made court orders along the lines of the agreement, she said on Monday. The orders were, however, not immediately available.

The legal dispute reached the Hong Kong court last month after a British judge in February blocked the release of internal HSBC documents relating to the fraud allegations against Meng.

Meng, who has been under house arrest in Canada since being detained at Vancouver airport in 2018, is facing charges of bank fraud in the United States for allegedly misleading HSBC about Huawei dealings in Iran, causing the bank to violate U.S. sanctions.

Meng, who says she is innocent, was seeking the publication of documents relating to her ongoing efforts to battle extradition from Canada to the U.S.

Responding to Reuters' request for comment on Monday, a Huawei spokesman and an HSBC spokeswoman said they had reached an agreement, but did not provide any further details.

(Reporting by Alun John in Hong Kong and David Kirton in Shenzhen; Editing by Sumeet Chatterjee and Ana Nicolaci da Costa)