import webpack from 'webpack'; declare type Attributes = Record; declare type Context = { title?: string; htmlAttributes?: Attributes; cssAttributes?: Attributes; jsAttributes?: Attributes; }; declare type Options = { filename?: string; publicPath?: string; context?: Context; template?: (args: Context | { css: string; js: string; publicPath: string; }) => string | Promise; chunks?: string[]; }; declare function generateAttributes(attributes?: {}): string; declare function generateCSSReferences({ files, publicPath, attributes, }: { files: string[]; publicPath: string; attributes: { rel?: string; }; }): string; declare function generateJSReferences({ files, publicPath, attributes, }: { files?: never[] | undefined; publicPath?: string | undefined; attributes?: {} | undefined; }): string; declare function defaultTemplate({ css, js, publicPath, title, htmlAttributes, head, body, cssAttributes, jsAttributes, }: { css?: never[] | undefined; js?: never[] | undefined; publicPath?: string | undefined; title?: string | undefined; htmlAttributes?: { lang: string; } | undefined; head?: string | undefined; body?: string | undefined; cssAttributes?: {} | undefined; jsAttributes?: {} | undefined; }): string; declare class MiniHtmlWebpackPlugin implements webpack.Plugin { private options; constructor(options: Options); private plugin; apply(compiler: webpack.Compiler): void; } export { MiniHtmlWebpackPlugin as default, defaultTemplate, generateAttributes, generateCSSReferences, generateJSReferences, };