The answer (linked by another Stackoverflow user) is to use a combination of typeof and keyof:
typeof
keyof
type AnnotationKey = typeof ANNOTATION_KEYS[keyof typeof ANNOTATION_KEYS];