Everybody forgets that Kirby Yates was supposed to be the closer, and he missed the entire season following Tommy John surgery. He'll yield a compensation draft pick next June if a different team signs him.
The compensation draft picks are for free agents who sign with a new team after their current team offers them the one year qualifying offer salary. The new team doesn't lose draft picks, as in other North American teams sports; they're 'sandwich picks', sometime after the 10th pick in round 1, (dependent on the quality of the player, and the size/ length of his new contract). There's no doubt that the Jays will make qualifying offers to Ray and Semien, regardless of whether they intend to try to resign one or the other. I don't know anything about the status of Yates' rehab.
The Blue Jays will not receive any compensation if Yates signs elsewhere, because he was not offered the $18.4 Million qualifying offer for one year contract extension. The $18.4 Million amount is the average salary of the top paid 125 players.
This link from mlb dot com shows what the compensation would be if free agent players who were offered the qualifying offer by their current team elect to sign with a different team. Most of the teams who lose one of these free agents will receive a draft pick next June between rounds 2 and 3; picks #61 and up. The team signing the free agent does not lose a draft pick, as in hockey; these are bonus picks for the teams losing free agents.
There's also a provision that if a free agent who received a qualifying offer does not re-sign with any team by a specific date, the team he played for in 2021, he cannot re-sign with his current team before May 1st, and a team signing this player will lose a draft pick, if that player is signed before the June amateur draft. This was the scenario with Craig Kimbrel in 2019, and why the Cubs waited until June 7, after the draft, to sign him. I think the quality of the draft pick(s) surrendered in these cases is tied to the size of the new contract, rather than past statistical performance.
The compensation pick if Corey Seager signs with a team other than the Dodgers is after the 4th round, because the Dodgers team payroll exceeds the luxury tax amount; this is explained in the mlb dot com link.
Generally, teams don't offer qualifying offers to players who aren't worth the qualifying offer amount, in the team's opinion. Whether or not the team hopes to re-sign that player is not necessarily a factor. If, for example, the Blue Jays don't plan to try to re-sign Marcus Semien, they would still give him the qualifying offer, because they want the compensation draft pick when he signs with a different team. On the other hand, if the Jays want to try to resign Steven Matz, they would not offer him the qualifying offer, because they value him at less than $18.4 Million for the 2022 season.