import type * as BabelCore from '@babel/core'; import * as BabelTypes from '@babel/types'; type Babel = typeof BabelCore; type NodePath = BabelCore.NodePath; type PluginPass = BabelCore.PluginPass; import { FileTest } from './FileTest.type.js'; type Opts = { ignores: FileTest | FileTest[] | null; }; export declare function MakeBabelTransformEsmToLoadable(opts: Opts): (babel: Babel) => { name: string; pre(this: BabelCore.PluginPass, file: BabelCore.BabelFile): void; visitor: { ImportDeclaration(path: NodePath, state: BabelCore.PluginPass): void; ExportDefaultDeclaration(path: NodePath): void; ExportNamedDeclaration(path: NodePath): void; ExportAllDeclaration(path: NodePath): void; CallExpression(path: NodePath, state: BabelCore.PluginPass): void; MetaProperty(path: NodePath): void; }; post(this: BabelCore.PluginPass, file: BabelCore.BabelFile): void; }; export {};