The St. Louis Cardinals and star first baseman Paul Goldschmidt have agreed to a five-year extension worth around $130 million, according to ESPN.com's Jeff Passan.

The Athletic's Ken Rosenthal first reported Thursday the two sides were nearing a deal. Goldschmidt is due to hit free agency after the 2019 season. Rosenthal added it's unclear whether Goldschmidt's contract includes any opt-outs or a no-trade clause.

The Cardinals acquired him from the Arizona Diamondbacks in December.

This move would continue the recent trend of top stars signing long-term extensions well before they hit the open market.

Fox 26's Mark Berman reported Tuesday the Houston Astros agreed to a six-year, $100 million deal with Alex Bregman that will cover his remaining arbitration years and what would've been his first two free-agent years. Also on Tuesday, Passan reported Mike Trout agreed to a 12-year, $430 million contract with the Los Angeles Angels.