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