import type { ConfigAPI, PluginObj } from '@babel/core';
type Options = {
    /**
     * Extension to add to the imports
     * For commonjs use 'cjs' and for esm use 'mjs'
     * NodeJS requires explicit extension for esm
     * The `cjs` extension avoids disambiguity when package.json has "type": "module"
     */
    extension?: 'js' | 'cjs' | 'mjs';
    /**
     * Out of tree platforms to support
     * For `import './file'`, we skip adding extension if `file.${platform}.ts` exists
     * This is necessary for the platform specific extensions to be resolve correctly
     * Bundlers won't resolve the platform specific extension if explicit extension is present
     */
    platforms?: string[];
};
export default function (api: ConfigAPI, { extension, platforms }: Options): PluginObj;
export {};
