import * as esbuild from 'esbuild'; import { TransformOptions } from 'esbuild'; import * as lightningcss from 'lightningcss'; import { TransformAttributeOptions } from 'lightningcss'; import * as html_minifier_terser from 'html-minifier-terser'; import { Options } from 'html-minifier-terser'; type LightningCSSOptions = Pick & { /** * NOTE: browserslist takes precendece over targets */ browserslist?: string; }; type TerserOptions = Partial>; type ESBuildOptions = Partial; declare class Minifier { private htmlOptions; private cssOptions; private jsOptions; constructor(htmlOptions?: Partial, cssOptions?: Partial, jsOptions?: Partial); withHTMLOptions(options: TerserOptions): this; withCSSOptions({ browserslist, ...options }: LightningCSSOptions): this; withJSOptions(options: ESBuildOptions): this; minify(html: string): Promise; private minifyCSS; private minifyJS; } export { ESBuildOptions, LightningCSSOptions, Minifier, TerserOptions };