Ok, so you want to make a pitching trade rather than a signing? Best of luck.
The New York Yankees' stated offseason goal involves adding top-level pitching to both patch over Gerrit Cole's/Carlos Rodón's injuries and keep their rotation sustainable through 2028 and beyond, as contracts expire. There are two ways to do that: spend money and money alone, or surrender assets.
A blockbuster pitching trade seems like the sillier way to go about things. After all, the Yankees certainly could use a starter, but only so they can match the modern standard of rolling eight or nine deep.