import type { Compiler, Configuration, container } from 'webpack'; import { ProgressPlugin, webpack } from 'webpack'; export { webpack }; export type { Configuration, Stats, StatsAsset, Compiler } from 'webpack'; export type WebpackLogger = ReturnType; export type Plugin = NonNullable['plugins'][number]>; export declare const getDefinePluginOptions: (env: Record) => { 'process.env': { [key: string]: string; }; }; type SharedConfig = Exclude[0]['shared'], unknown[] | undefined>[''], string>; export declare const shellSharedOptions: (requiredVersion?: string) => SharedConfig; export declare const shellRemotePromise: (name: string) => string; export declare const addonSharedOptions: (requiredVersion?: string) => SharedConfig; export declare const pp: () => ProgressPlugin;