function resolveReferences(value, tokenMap, opts) {
  // when using this public API / util, we always throw warnings immediately rather than
  // putting them in the GroupMessages PROPERTY_REFERENCE_WARNINGS to collect and throw later on.
  return _resolveReferences(value, tokenMap, opts);
}
Public API wrapper around the functon below this one
@param {string} value
@param {Map<string, Token>} tokenMap
@param {RefOpts} [opts]
@returns {unknown}