import type { BundleOptions } from './types'; export interface BabelOptions { cwd: string; rootPath?: string; type: 'esm' | 'cjs'; target?: 'browser' | 'node'; watch?: boolean; verbose?: boolean; bundleOpt: BundleOptions; } declare function babelBuild(opts: BabelOptions): Promise; export default babelBuild;