import type { NodePath } from '@babel/traverse'; import type { Node } from '@babel/types'; /** * Splits a MemberExpression or CallExpression into parts. * E.g. foo.bar.baz becomes ['foo', 'bar', 'baz'] */ declare function toArray(path: NodePath): string[]; /** * Creates a string representation of a member expression. */ declare function toString(path: NodePath): string; export { toString as String, toArray as Array };