import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'; import CssMinimizerPlugin from 'css-minimizer-webpack-plugin'; import MiniCssExtractPlugin from 'mini-css-extract-plugin'; import TerserPlugin from 'terser-webpack-plugin'; import { MinifyOptions } from 'terser'; import HtmlWebpackPlugin from 'html-webpack-plugin'; import { type WebpackPluginInstance } from 'webpack'; export declare const cssConfigFactory: ({ filename, cssnanoOptions, }?: { filename?: string; cssnanoOptions?: any; }) => (MiniCssExtractPlugin | CssMinimizerPlugin)[]; export declare const bundleAnalyzerConfigFactory: (extraConfig?: BundleAnalyzerPlugin.Options) => BundleAnalyzerPlugin[]; export declare const htmlConfigFactory: ({ html, embed }?: { embed?: boolean; html?: Partial; }) => WebpackPluginInstance[]; export declare const terserConfigFactory: ({ enableSourcemaps, terserOptions, embed }?: { enableSourcemaps?: boolean; terserOptions?: MinifyOptions; embed?: boolean; }) => TerserPlugin<{ compress: boolean | import("terser").CompressOptions; ecma?: import("terser").ECMA; enclose?: boolean | string; ie8: boolean; keep_classnames: boolean | RegExp; keep_fnames: boolean | RegExp; mangle: boolean | import("terser").MangleOptions; module?: boolean; nameCache?: object; format?: import("terser").FormatOptions; output?: import("terser").FormatOptions; parse?: import("terser").ParseOptions; safari10?: boolean; sourceMap: boolean | import("terser").SourceMapOptions; toplevel?: boolean; }>[];