import { NodePath } from '@babel/traverse'; import { ImportDeclaration, JSXElement, Program } from '@babel/types'; export interface VisitorOptions { data: object; precompile?: false | 'standard' | 'ejs'; } export interface State { opts: VisitorOptions; } export declare function visitorFactory(): { Program(path: NodePath, state: State): void; ImportDeclaration(path: NodePath, state: State): void; JSXElement(path: NodePath, state: State): void; };