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