export moves the variable into the environment, which is the copy every child process inherits — a variable that is only set stays private to this shell. declare -i and readonly change how the variable behaves here, and unset removes it entirely.
Official docs