import { Bundler as WebpackBundler } from '@umijs/bundler-webpack';
declare class Bundler extends WebpackBundler {
    static id: string;
    static version: number;
    constructor(opts: any);
    build({ bundleConfigs, watch, onBuildComplete, }: {
        bundleConfigs: any;
        watch?: boolean;
        onBuildComplete?: any;
    }): Promise<{
        stats?: any;
        compiler: any;
    }>;
    setupDevServerOpts({ bundleConfigs }: {
        bundleConfigs: any;
    }): any;
}
export { Bundler };
