Both cases refer to the future. They refer to the time in the future when the person knows whether they will be able to do something or not. At the time when those statements are made, it's not known whether the decision will go one way or the other.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.