import type { Configuration } from 'webpack';
import Webpack from 'webpack';
export declare const getWebpackCompiler: (projectDir: string, mode?: Configuration["mode"]) => {
    compiler: Webpack.Compiler;
    config: Configuration;
};
export declare const runWebpackDevServer: (projectDir: string, port: number) => Promise<void>;
