import type { NodePath } from '@babel/traverse'; import type { Expression, ObjectExpression, ObjectMethod } from '@babel/types'; /** * Given an ObjectExpression, this function returns the path of the value of * the property with name `propertyName`. if the property is an ObjectMethod we * return the ObjectMethod itself. */ export default function getPropertyValuePath(path: NodePath, propertyName: string): NodePath | null;