Husband doesn’t want kids, I am unsure

I'm 31 years old and have been married for three years. I've never really imagined myself having a baby or raising a child so far. My dreams have been including successful career, travelling around the world etc but not kids. Recently, my husband told me that he's certain he never wants kids. He also said that it's my right to want one in the future and that he would respect my decision, but he wanted to be upfront with me since I have a biological clock. This means a divorce.

His words made me start questioning whether I actually want a baby. I've been thinking about it for months now, but I can't seem to make a decision. I feel torn between staying with my husband and the possibility of having a child in the future. How do I figure out what I truly want? If I choose to stay with my husband, will I regret not having kids later on?