import { NodePath } from '@babel/core'; import { types as t } from '@babel/core'; export type Path = NodePath; export interface PluginOptions { value: string; comments?: boolean; } export interface PathInfo { props: t.AssignmentPattern[]; path: | Path | Path | Path; componentName: string; }