import type { NormalizedConfig, HTMLPluginOptions } from './types';
import type { SwcJsMinimizerRspackPluginOptions } from '@rspack/core';
export declare function getHtmlMinifyOptions(isProd: boolean, config: NormalizedConfig): Promise<false | {
    removeComments: boolean;
    useShortDoctype: boolean;
    keepClosingSlash: boolean;
    collapseWhitespace: boolean;
    removeRedundantAttributes: boolean;
    removeScriptTypeAttributes: boolean;
    removeStyleLinkTypeAttributes: boolean;
    removeEmptyAttributes: boolean;
    minifyJS: import("terser").MinifyOptions;
    minifyCSS: boolean;
    minifyURLs: boolean;
}>;
export declare const getSwcMinimizerOptions: (config: NormalizedConfig) => SwcJsMinimizerRspackPluginOptions;
export declare const parseMinifyOptions: (config: NormalizedConfig, isProd?: boolean) => {
    minifyJs: boolean;
    minifyCss: boolean;
    minifyHtml: boolean;
    jsOptions?: SwcJsMinimizerRspackPluginOptions;
    htmlOptions?: HTMLPluginOptions['minify'];
};
