import { Configuration } from 'webpack'; interface BuildConfig { env: any; webpackConfig: Configuration; type: 'main' | 'renderer'; } declare function build({ env, webpackConfig }: BuildConfig): Promise; export default build;