import { Color } from '../../../protocol/color' ; import { FenToPgnMap } from '../tree/fentopgnmap' ; import { PgnToNodeMap } from '../tree/pgntonodemap' ; import { TreeNode } from '../tree/treenode' ; export interface Annotator < ANNOTATION > { annotate ( node , repertoireColor , pgnToNode , fenToPgn ) : Promise < ANNOTATION > ; }