import type * as BabelCore from '@babel/core'; import { NodePath } from '@babel/core'; type Babel = typeof BabelCore; import { ExportAllDeclaration, ExportNamedDeclaration, type CallExpression, type ImportDeclaration } from 'babel-types'; import type { GetPackageDirForFile, GetPackageInfoForFile, GetExternalImportFinalImportLocation, GetCjsRelativeImportFinalImportLocation, GetFileFinalLocation } from '../BabelTransformPackageImports.js'; type Opts = { nonEsmDeps: string[]; }; type Funcs = { getPackageDirForFile: GetPackageDirForFile; getPackageInfoForFile: GetPackageInfoForFile; getExternalImportFinalImportLocation: GetExternalImportFinalImportLocation; getCjsRelativeImportFinalImportLocation: GetCjsRelativeImportFinalImportLocation; getFileFinalLocation: GetFileFinalLocation; }; export declare function MakeBabelTransformDependencyImportsCjs(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=BabelTransformDependencyImportsCjs.d.ts.map