function getBindingAndSourceReexports(swcPath, identifierName) {
  // Get to root node of file and look for exports like `export { identifierName } from 'src';`
  let source;
  let bindingType;
  let bindingPath;

  let curPath = swcPath;
  while (curPath.parentPath) {
    curPath = curPath.parentPath;
  }
  const rootPath = curPath;

  oxcTraverse(rootPath.node, {
    ExportSpecifier(astPath) {
      const { node } = astPath;
      // eslint-disable-next-line arrow-body-style
      const found =
        nameOf(importedOf(node)) === identifierName ||
        nameOf(node.exported) === identifierName ||
        nameOf(node.local) === identifierName;
      if (found) {
        bindingPath = astPath;
        bindingType = 'ExportSpecifier';
        source = astPath.parentPath.node.source
          ? nameOf(astPath.parentPath.node.source)
          : '[current]';
        astPath.stop();
      }
    },
  });
  return [source, bindingType, bindingPath];
}
Other than with import, no binding is created for MyClass by Babel(?)
This means 'path.scope.getBinding('MyClass')' returns undefined
and we have to find a different way to retrieve this value.
@param {SwcPath} swcPath Babel ast traversal path
@param {IdentifierName} identifierName the name that should be tracked (and that exists inside scope of astPath)