The Yankees were deflated to learn on Wednesday that Frankie Montas would undergo shoulder surgery -- but the front office does not expect that the setback will lead to the acquisition of another starting pitcher.

According to people with direct knowledge of the team’s thinking, the Yanks’ plan is to lean on internal options like Domingo German and Clarke Schmidt at the back of the rotation. There was no serious internal discussion on Wednesday about a potential trade.

That is in large part because the Yankees have perhaps the best top four in MLB, with Carlos Rodon joining Gerrit Cole, Nestor Cortes and Luis Severino. Cortes is down with a hamstring injury, but both he and the club say that they expect him back by April.

Also relevant is the Yankees’ desire to stay under the $293 million “Steve Cohen tax” threshold. The team only has about $3 million to play with, and is still seeking a left fielder.

In order to sign free agent Jurickson Profar or trade for Pittsburgh’s Bryan Reynolds or Minnesota’s Max Kepler, Yanks GM Brian Cashman would probably have to move salary. The team has long been open to trading Gleyber Torres, who will make $9.6 million this season, but nothing seems close on that front.