The official word is a two for one deal:

The Toronto Maple Leafs announced today that the hockey club has re-signed forwards David Kämpf and Pontus Holmberg. Kämpf's contract is a four-year contract carrying an average annual value of $2.4 million while Holmberg's contract is a two-year contract with an average annual value of $800,000.
Kämpf, 28, skated in 82 regular season games with the Maple Leafs last season, registering a career high 27 points (seven goals, 20 assists). The Chomutov, Czech Republic native has recorded 111 points (35 goals, 76 assists) in 399 career regular season games split between Chicago and Toronto and has collected six points (three goals, three assists) in 27 playoff games.

Holmberg, 24, appeared in 37 regular season games with the Maple Leafs during the 2022-23 season, recording 13 points (five goals, eight assists). In 36 regular season games with the Toronto Marlies (AHL) last season, the Vasteras, Sweden native registered 22 points (10 goals, 12 assists) while adding eight points (six goals, two assists) in seven playoff games.

Holmberg was originally drafted by Toronto in the sixth round (156th overall) of the 2018 NHL Draft.

More detail on the Kämpf contract, per Cap Friendly.

The salary matches the AAV in all years, with $1.325 million in signing bonuses each year – slightly more in the first year. The first three years have a 10-team no-trade clause.

This contract can be bought out in the final year with some impact, but the signing bonus makes that very unlikely. The no-trade list seems like nothing of importance.

Holmberg's contract has the standard salary structure of $775,000 and $825,000, which is done to keep the salary in line with the callup limits for the emergency exception. He is waivers exempt still. This is a one-way contract, so even though the AAV is very team friendly, if he spends time in the AHL, he actually makes more money since there is no escrow in the AHL.

Kämpf was discussed in more detail in this post:

Report: Leafs taking a second look at Kämpf & Kerfoot
It’s possible Brad Treliving had some sticker shock when looking at other available players to fill the roles these two held on the Leafs.

The AAV is a little higher than expected, but the term is also much longer:

Brad Treliving's style on the Flames was longer terms that looked very good for support players in their later years.