import type { Compiler, WebpackPluginInstance } from 'webpack'; import { DnsPrefetch, Preconnect } from '../types'; import type HtmlWebpackPlugin from 'html-webpack-plugin'; type NetworkPerformanceType = 'preconnect' | 'dnsPrefetch'; export declare class HtmlNetworkPerformancePlugin implements WebpackPluginInstance { readonly options: DnsPrefetch | Preconnect; readonly type: NetworkPerformanceType; HtmlPlugin: typeof HtmlWebpackPlugin; constructor(options: DnsPrefetch | Preconnect, type: NetworkPerformanceType, HtmlPlugin: typeof HtmlWebpackPlugin); apply(compiler: Compiler): void; } export {};