import { Type, } from '../type'; import { Annotation } from './Annotation'; export interface AnnotatedElement { _addAnnotation(annotation: AnnotationType): void; isAnnotationPresent(annotationClass: Type): boolean; getOwnAnnotation(annotationClass: Type): AnnotationType | undefined; getOwnAnnotations(): Map, Annotation>; getOwnAnnotationsByType(annotationClass: Type): AnnotationType[] | undefined; getAnnotation(annotationClass: Type): AnnotationType | undefined; getAnnotations(): Map, Annotation>; getAnnotationsByType(annotationClass: Type): AnnotationType[] | undefined; }