Milan have confirmed Zlatan Ibrahimovic will miss the rest of 2022 after having surgery on a knee problem, stoking speculation the forward might retire.

Ibrahimovic celebrated Milan's Serie A title success in typical style on Sunday, smoking a cigar as he made his way out onto the pitch for the trophy presentation.

Yet the 40-year-old – who came off the bench in the 3-0 win over Sassuolo that sealed the title – might have made his final appearance for Milan, and possibly of his career, after he underwent surgery on his left knee.

Milan revealed on Wednesday that Ibrahimovic will face between seven and eight months out of action, but that the surgery was a success.

"AC Milan announces that Zlatan Ibrahimovic underwent surgery on his left knee today by Dr. Bertrand Sonnery-Cottet, in the presence of club medical director Stefano Mazzoni, at the Hopital Jean Mermoz in Lyon," read a Milan statement.

"The arthroscopy had been planned for some time to definitively resolve the instability of the joint through reconstruction of the anterior cruciate ligament, with lateral reinforcement and meniscal repair. The operation was perfectly successful and the prognosis is estimated at seven-to-eight months."

Ibrahimovic scored eight goals from 23 Serie A appearances this season, though his last start in the competition came in January. His contract ends in June.

Reports in Italy earlier this week claimed Milan would only be offering the Sweden international a new deal should surgery not be required, also suggesting Ibrahimovic would consider retirement if an operation was needed.