I would have to see the specific sentence. I suspect that it varies with the rest of the punctuation, though I envision a period always coming outside the closing parenthesis.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.