UNPKG

634 BTypeScriptView Raw
1export default function ({ types: t, template }: {
2 types: any;
3 template: any;
4}, opts?: {}): {
5 pre(file: any): void;
6 visitor: {
7 Program: {
8 exit({ node }: {
9 node: any;
10 }, { file }: {
11 file: any;
12 }): void;
13 };
14 JSXOpeningElement({ container }: {
15 container: any;
16 }, { file, opts }: {
17 file: any;
18 opts: any;
19 }): void;
20 ImportDeclaration({ node }: {
21 node: any;
22 }, { file, opts }: {
23 file: any;
24 opts: any;
25 }): void;
26 };
27};