import * as t from '@babel/types'; export default function findGlobals(ast: t.Node): { name: string; nodes: (t.Identifier | t.ThisExpression)[]; }[];