WASHINGTON/SYDNEY — The long-awaited text of a landmark U.S.-backed Pacific trade deal was released Thursday, revealing the details of a pact aimed at freeing up commerce in 40 percent of the world’s economy but criticized for its opacity.

If ratified, the Trans-Pacific Partnership, or TPP, will be a legacy-defining achievement for President Barack Obama and his administration’s pivot to Asia, aimed at countering China’s rising economic and political influence.

China has responded with its own Regional Comprehensive Economic Partnership, or RCEP, a proposed 16-nation free-trade area, including India, that would be the world’s biggest such bloc, encompassing 3.4 billion people.

But TPP, which will set common standards on issues ranging from workers’ rights to intellectual property protection in 12 Pacific nations, was kept largely from public scrutiny, angering transparency advocates concerned over its broad implications.

“The TPP means that America will write the rules of the road in the 21st century,” Obama said in post online. “If we don’t pass this agreement — if America doesn’t write those rules — then countries like China will.”

U.S. Rep. Bruce Poliquin for Maine’s 2nd District said in a statement Thursday morning he was pleased with the release of the plan. He and other lawmakers, including U.S. Rep. Chellie Pingree for Maine’s 1st District, wrote to Obama urging the plan’s release.

“Now that the text has finally been released, I look forward to carefully reviewing the details of this proposed trade deal,” Poliquin said in the release. “Additionally, as I travel throughout the Second District, I look forward to meeting with Mainers and listening to their thoughts on the Trans-Pacific Partnership.”

Pingree issued a statement Thursday, arguing the deal would be a bad deal for Maine and the country.

“The TPP would undermine safety standards for imported food, medicines and even toys,” Pingree said in the news release. “And it would be a lousy deal for American manufacturers, putting them in direct competition with countries where workers are paid 65 cents an hour.”

Obama wrote in a post about the deal that it was different than previous trade agreements.

“I know that past trade agreements haven’t always lived up to the hype. That’s what makes this trade agreement so different, and so important,” Obama wrote.

Pingree said she saw the deal as an amplification of the North American Free Trade Agreement, put into effect in 1994.

“We saw what happened to manufacturing jobs in Maine after NAFTA, and this deal looks like NAFTA on steroids,” Pingree said.

The White House is likely to formally notify U.S. lawmakers Thursday that the president intends to sign the deal, a senior Obama administration official said. That would start the 90-day clock before his signature triggers the next step in a process of seeking final congressional approval for the deal.

It is opposed by labor unions and many of Obama’s fellow Democrats, including presidential candidate Hillary Clinton, who backed the developing trade pact when she was secretary of state during Obama’s first term.

Some pro-trade Republican lawmakers are also wary of the deal, heralding a tough fight to get the deal through Congress — something not expected before March. Republican White House contender Donald Trump has labeled it a “disaster.”

The deal does not include measures demanded by some U.S. lawmakers to punish currency manipulation with trade sanctions or set monopoly periods for next-generation biologic drugs at 12 years. All 12 members of the TPP, however, pledged not to deliberately weaken their currencies in a declaration accompanying the deal.

Agreement on the pact, which was more than five years in the making, was trumpeted a month ago after intense talks in Atlanta broke a deadlock over trade in dairy products, pharmaceuticals and autos.

The fine print will be important. Details on local content thresholds for the auto industry are sketchy, for example, and U.S. footwear importers are waiting to see how long duties will stay.

Massachusetts-bases shoe manufacturer New Balance, which has manufacturing plants in Maine, has said the trade deal’s passage could cause it to cut back its domestic manufacturing. Shoe giant Nike is among those lobbying for removing tariffs on shoe imports from Vietnam.

New Balance officials have said removing the tariffs would make it difficult to compete and could jeopardize 900 jobs at its Maine plants in Norridgewock, Skowhegan and Norway.

A representative for New Balance said nobody from the company was available for an interview Thursday.

The TPP would be a boon for factory and export economies such as Malaysia and Vietnam. Anticipated tariff perks are already luring record foreign investment into Vietnamese manufacturing, and both countries are expected to see increased demand for their key exports from palm oil and rubber to electronics, seafood and textiles.

That could put pressure on several of Asia’s major developing economies, including the Philippines and Indonesia, which have recently expressed interest in signing up to the pact. Thailand said it was studying the deal and may consider joining.

Japan has pledged to ease trade barriers on imported french fries and butter — products that have been in short supply in the Asian market — while Malaysia will eliminate tariffs on all imported alcohol for the first time in a trade agreement.

Other firsts cited by the partners — Australia, Brunei, Canada, Chile, Japan, Malaysia, Mexico, New Zealand, Peru, Singapore, the United States and Vietnam — include the first commitments to discourage imports of goods produced by forced labor and to adopt laws on acceptable working conditions and the first prohibition on harmful fisheries subsidies.

Additional reporting by Linda Sieg in Tokyo, Martin Petty in Vietnam, and Roberta Rampton in Washington.