import type HtmlWebpackPlugin from 'html-webpack-plugin';
import type { RemOptions } from '../types';
import type { Compiler, WebpackPluginInstance } from 'webpack';
type AutoSetRootFontSizeOptions = Omit & {
/** expose root font size to global */
rootFontSizeVariableName: string;
};
export declare function getRootPixelCode(options: Required, isCompress?: boolean): Promise;
export declare const DEFAULT_OPTIONS: Required;
export declare class AutoSetRootFontSizePlugin implements WebpackPluginInstance {
readonly name: string;
readonly distDir: string;
options: Required;
webpackEntries: Array;
scriptPath: string;
HtmlPlugin: typeof HtmlWebpackPlugin;
constructor(options: RemOptions, entries: Array, HtmlPlugin: typeof HtmlWebpackPlugin, distDir: string);
getScriptPath(): Promise;
apply(compiler: Compiler): void;
}
export declare const genJSTemplate: (opts: Required) => string;
export {};