import { Callback } from 'flex-dev-utils'; import { WebpackCompiler } from 'flex-plugin-webpack'; export interface Bundle { chunks?: (number | string)[]; chunkNames?: string[]; emitted?: boolean; isOverSizeLimit?: boolean; name: string; size: number; } interface BuildBundle { warnings?: string[]; bundles: Bundle[]; } /** * Builds the JS and Sourcemap bundles * @private */ export declare const _handler: (resolve: Callback, reject: Callback) => WebpackCompiler.Handler; /** * Promisify the webpack runner * @private */ export declare const _runWebpack: () => Promise; /** * Builds the bundle */ declare const build: (...argv: string[]) => Promise; export default build;