The government and the EU have published the texts of two treaties agreed last week as part of a post-Brexit reset.

The treaties were published on Thursday afternoon, alongside legislation designed to enact the bulk of the deal.

The deal covering food exports has a 10-year termination clause that would mean if one party ended the agreement, they would have to pay "reasonable and proportionate costs" to rebuild border checks infrastructure, which will be significantly scaled back as part of the new deal.

Opposition leader Kemi Badenoch has said she would scrap the deal while Reform UK's Nigel Farage has suggested he would refuse to pay.

The Brexit reset deal has already sparked debate about its benefits, its costs, and a wider discussion on the future of the UK-EU relationship.

The deal covers British food exports, emissions trading and a youth experience scheme.

Two of the three legal texts were released on Thursday, covering the food trade and emissions trading scheme deals, alongside the government's cost-cutting bill to enact the deal.

A new assessment of the impact of the deal on different sectors and regions of the country was also released.

Badenoch challenges Burnham over university fees for EU students

Farage helps launch new campaign against the UK rejoining the EU

Under the deal, food exporters will be significant beneficiaries from the scrapping of considerable red tape and checks, and dismantling of border facilities. An internal analysis forecasts a 16% boost the export of major agricultural commodities.

The industry and government hope the reduction in costs for food producers and sellers will be passed on to customers, but there may be no clear visible impact at the checkout.

Privately, industry insiders told the BBC earlier this week that there are too many moving parts in the world economy, in particular the energy price shock resulting from war in the Middle East.

Regarding the fine detail in the text of one of the treaties relating to the 10-year termination clause, European affairs minister Hamish Falconer said: "The Cutting Costs Bill allows us to implement two major trade agreements."

"It allows us to eliminate paperwork for our food and drink traders, protect billions of pounds worth of British exports from carbon taxes, and make doing business with our largest trading partner cheaper and easier."

A plan to link British and European emissions trading schemes will see more coverage across the UK's aviation and maritime industries.

The treaty text also contains finer detail of how the UK will observe, shape but not vote on relevant EU rules. The UK will be invited to attend European Commission meetings and expert groups as an observer, as well as taking part in emergency food security planning.

Plans to use secondary legislation, including granting direct so-called "Henry VIII powers" to ministers to align UK and EU laws, are detailed in the legislation.

Such powers will enable ministers to make changes to bills with less Parliamentary scrutiny.

Outlining the agreement with the EU to MPs earlier this week, the prime minister said new agreements with the EU are "pragmatic" and "not a prelude to anything".

Andy Burnham also said it would be "unthinkable" for the UK to rejoin the bloc without a referendum.

Several former prime ministers have urged him not to reopen the Brexit debate. Burnham said they are "stuck in the past" and later claimed there would be "no banging on about Europe" from Labour.

Badenoch said Burnham has "oversold" the deal and was "trying to take Britain back to 2015".

Get our flagship newsletter with all the headlines you need to start the day. Sign up here.