dont export resolveAmbiguousReference
remove TODO