import type * as BabelCore from '@babel/core'; import { NodePath } from '@babel/core'; type Babel = typeof BabelCore; import { CallExpression, ExportAllDeclaration, ExportNamedDeclaration, ImportDeclaration } from '@babel/types'; import type { GetPackageDirForFile, GetPackageInfoForFile, GetExternalImportFinalImportLocation, GetFileFinalLocation, MakeCjsEntryFile } from '../BabelTransformPackageImports.js'; type Opts = { nonEsmDeps: string[]; }; type Funcs = { getPackageDirForFile: GetPackageDirForFile; getPackageInfoForFile: GetPackageInfoForFile; getExternalImportFinalImportLocation: GetExternalImportFinalImportLocation; getFileFinalLocation: GetFileFinalLocation; makeCjsEntryFile: MakeCjsEntryFile; }; export declare function MakeBabelTransformDependencyImportsEsm(opts: Opts, funcs: Funcs): (babel: Babel) => { pre(state: any): void; visitor: { ImportDeclaration(path: NodePath): void; ExportNamedDeclaration: (path: NodePath) => void; ExportAllDeclaration: (path: NodePath) => void; CallExpression(path: NodePath): void; }; }; export {}; //# sourceMappingURL=BabelTransformDependencyImportsEsm.d.ts.map