UNPKG

308 BTypeScriptView Raw
1import { NodePath, types } from '@babel/core';
2
3interface State {
4 replacedComponents: Set<string>;
5 unsupportedComponents: Set<string>;
6}
7declare const plugin: () => {
8 visitor: {
9 Program(path: NodePath<types.Program>, state: Partial<State>): void;
10 };
11};
12
13export { plugin as default };