The deal also calls for Toronto to get the league's maximum allowed in cash considerations ($3 million) and for the Heat to land a conditional first-round pick to come sometime between 2010 and 2015. It's lottery-protected, essentially meaning the first time the Raptors make the playoffs after this season, their first-rounder goes to Miami.
If Miami does not get that first-round pick in 2010, it will get an additional second-round pick that year. The Heat also get a $4.2 million trade exception, which would allow Miami to make a future trade even if the salaries involved don't match.
http://sports.espn.go.com/nba/news/story?id=3905146