import { types as t } from '@babel/core'; export declare type NodeOfType = Extract; export declare type Visitor = (node: TNode, parent: TParent | null, parentKey: t.VisitorKeys[TParent['type']] | null, listIdx: number | null) => void; export declare type Visitors = { [TMethod in t.Node['type']]?: Visitor>; }; declare const visitors: Visitors; export declare function getVisitor(node: TNode): Visitor | undefined; export default visitors;