The New York Mets and shortstop Francisco Lindor have agreed to a 10-year, $341 million deal, a source told ESPN's Jeff Passan on Wednesday. Lindor's deal will be the third-largest based on the total value in major league history, trailing only the deals for the Los Angeles Angels' Mike Trout ($426.5 million) and the Los Angeles Dodgers' Mookie Betts ($365 million).

The Mets were widely expected to sign Lindor to a long-term extension after acquiring the four-time All-Star in a blockbuster trade with the Cleveland Indians this offseason. The negotiations became a major storyline during spring training, with new Mets owner Steve Cohen writing on Twitter last week.

Lindor, 27, had stated that he would "go to free agency" if he didn't have a deal in place by Opening Day, saying he did not want to negotiate during the season. The Mets open Thursday against the Washington Nationals.

Get our free mobile app

A two-time Gold Glove winner, Lindor is a career .285 hitter and has averaged 29 homers, 86 RBIs, and 21 steals in his six major league seasons -- all with the Indians, who drafted him in 2011.

Coverage of the Mets and Washington Nationals begins at 5:00 PM on ESPN 99.1.

MN Twins On Cameo

More From KSOO-AM / ESPN Sioux Falls