Brazil would have to agree to any reforestation plan, as would communities living in the Amazon.

The G7 has agreed to spend $20 million (18 million euros) on the Amazon, mainly to send fire-fighting aircraft to tackle huge blazes engulfing parts of the world's biggest rainforest, the presidents of France and Chile said Monday.

The G7 club -- comprising Britain, Canada, France, Germany, Italy, Japan and the United States -- also agreed to support a medium-term reforestation plan which will be unveiled at the UN in September, France's Emmanuel Macron and Chile's Sebastian Pinera said at a summit in southwest France.

Brazil would have to agree to any reforestation plan, as would indigenous communities living in the Amazon.

The initiative was announced after G7 leaders meeting in the resort of Biarritz held talks on the environment, focusing on the record number of fires destroying chunks of the Amazon.

Macron had declared the situation in the Amazon region an "international crisis" and made it one of the summit's priorities.

He has threatened to block a huge new trade deal between the EU and Latin America unless Brazilian President Jair Bolsonaro, a climate change sceptic, takes serious steps to protect the forest from logging and mining.

"We must respond to the call of the forest which is burning today in the Amazon," Macron said Monday.

Nearly 80,000 forest fires have been detected in Brazil since the beginning of the year, a little over half in the massive Amazon basin.

Bolsonaro has lashed out at Macron over his criticism and suggested that NGOs could be setting the fires to embarrass him -- without giving any evidence to back the claim.

But at the weekend he finally caved in to international pressure to save a region crucial for maintaining a stable global climate, deploying two aircraft to douse fires and authorising the army to help tackle the blazes.

Speaking in Biarritz, UN Secretary General Antonio Guterres said new planting was needed "to preserve this universal heritage, which is absolutely essential for the well-being of the world's population."

He said the issue would be discussed during the UN General Assembly in New York in September.