1 | import type { NodePath } from '@babel/traverse';
|
2 | import type { ExportAllDeclaration, ExportNamedDeclaration, ImportDeclaration } from '@babel/types';
|
3 | import type FileState from '../FileState.js';
|
4 | import ignoreImporter from './ignoreImporter.js';
|
5 | import fsImporter from './fsImporter.js';
|
6 | import makeFsImporter from './makeFsImporter.js';
|
7 | export type ImportPath = NodePath<ExportAllDeclaration | ExportNamedDeclaration | ImportDeclaration>;
|
8 | export type Importer = (path: ImportPath, name: string, file: FileState) => NodePath | null;
|
9 | export { fsImporter, ignoreImporter, makeFsImporter };
|