import { NodePath } from '@babel/core'; export default function getDisplayName(path: NodePath, { file }: { file: any; }, defaultName?: string | null): string | null;