Four days after wondering if he could “do the grind all over again,’’ Jason Kidd announced his retirement Monday, ending a 19-year career that will land him in the Hall of Fame.

Kidd, who turned 40 in March, finished out his career with 10 straight scoreless playoff games – likely triggering the decision that was announced by Knicks GM Glen Grunwald.

On Thursday, at a Justin Tuck charity billiards event, Kidd said TV work and coaching were possibilities he was mulling.

“I am thinking about it,’’ Kidd said of retirement. “We’ll see. I have to make a decision. Right now I plan on coming back but in the next couple of days or a week or so, I’m going to think about it if I should keep playing or trying something different.’’

Kidd decided it was time and will forgo the final two years and $6.2 million left on his pact. It also leaves the Knicks thin at point guard as they have no assurance they’ll be able to re-sign Pablo Prigioni, a free agent.

“My time in professional basketball has been an incredible journey, but one that must come to an end after 19 years,” Kidd said in a statement. “As I reflect on my time with the four teams I represented in the NBA, I look back fondly at every season and thank each every one of my teammates and coaches that joined me on the court.”

Also in the statement, Knicks coach Mike Woodson said:

“Veteran leadership on and off the court was a huge factor for our team that recorded 54 victories and an Atlantic Division crown. Jason provided an incredible voice inside our lockerroom and I considered it an honor to say I coached him.’’