docs: function renameClassName(ast, oldName, newName) {
    let defNode = null;
    // Find the definition node of the class
    traverse(ast, {
      ClassDeclaration(path) {
        if (path.node.id && path.node.id.name === oldName) {
          defNode = path.node.id;
        }
      }
    });
  
    if (defNode) {
      return identifier.renameIdentifier(ast, oldName, newName, defNode);
    }
    return [];
  }