type hint collection constants to common base