I have been thinking about this all day, and heres is the deal I can come up with that makes sense for both teams:
Boston trades: Ray Allen (resigned for a contract starting at $11 million), Sheed (who would be bought out by the Knicks for $3 million)
NY trades: David Lee (resigned for a contract starting at $10 million), Eddie Curry
If NY signs Amare to the max, this still leaves them with about $18 million in cap room.
Boston gets a young, talented big man to solidify their front line, and although Curry's contract is tough to swallow, it is expiring, so could be used as an asset to get them a starting SG.