Deron Williams said putting himself in the best opportunity to win will be his top priority in free agency.

“I want to win, that’s first and foremost,’’ said Williams. “So I’m going to go where I feel we have the best chance to win. I know we might not win a championship in the first year or two, but hopefully, (the place I go) has the chances of building something special, and has flexibility — just somewhere where I believe they’re headed in the right direction.’’

Williams will consider re-signing with the Nets ahead of their move to Brooklyn.

“I’m still looking at all the possibilities here,’’ he said. “I went to the arena a couple days ago and saw how it was, and it’s going to be an exciting arena. It’s going to be a great place to play. And I’ve always been confident in this organization. Even though I was opting out I always said that doesn’t mean I’m not re-signing with the Nets; and that still remains the same.’’

Training for Team USA begins July 6 while free agency starts on July 1. Williams hopes to make his decision by the time he leaves.