import type { Bundler } from '../../types.js'; /** * Detects the bundler engine to use based on config file presence. * * Detection priority: * 1. Explicit `--bundler` flag (passed as `explicitBundler`) * 2. Custom config path filename inference (`rspack.*` vs `webpack.*`) * 3. Config file discovery (rspack configs checked first) * 4. Default: rspack */ export declare function detectBundler(rootDir: string, customConfigPath?: string, explicitBundler?: Bundler): Bundler;