I do not think it is part of the API, so technically it can change anytime. The fact that it is not documented should be a strong signal of this.
In any case, ctx is usually a Pkg.Types.Context, but again, I don’t think that is meant for use outside Pkg.