PORT MORESBY, June 15 (AFP) - The US military can develop and operate out of bases in Papua New Guinea, according to a landmark security pact underpinning Washington's efforts to outflank China in the Pacific.

The full text of the deal was tabled in Papua New Guinea's parliament on Wednesday evening (Jun 14) and obtained by AFP, shedding light on details that have been closely guarded since the pact was inked in May.

With Papua New Guinea's agreement, the United States will be able to station troops and vessels at six key ports and airports, including Lombrum Naval Base on Manus Island and facilities in the capital Port Moresby.

Washington would have "unimpeded access" to the sites to "pre-position equipment, supplies and materiel", and have "exclusive use" of some zones, where development and "construction activities" could be carried out.

The agreement opens the door to Washington establishing a new military footprint at a strategically prized deep-water port, at a time of growing rivalry with Beijing.

Perched at the southwest edge of the Pacific Ocean, Lombrum has in the past been used as a garrison for British, German, Japanese, Australian and US troops.

During World War II it was one of the largest US bases in the Pacific, with 200 ships at anchor, including six battleships and 20 aircraft carriers that were used to retake the Philippines from Japan.

China had sought its own foothold at Lombrum in recent years, before being pipped at the post by Australia and the United States, who in 2018 agreed to jointly develop the facility with Papua New Guinea.

Access for US troops to Lombrum could be used to reinforce US facilities on Guam to the north, which could be key in the event of a conflict over Taiwan.