import type HtmlWebpackPlugin from 'html-webpack-plugin';
import type { Compiler, RspackPluginInstance } from '@rspack/core';
type NonceOptions = {
  nonce: string;
  HtmlPlugin: typeof HtmlWebpackPlugin;
};
export declare class HtmlNoncePlugin implements RspackPluginInstance {
  readonly name: string;
  readonly nonce: string;
  readonly HtmlPlugin: typeof HtmlWebpackPlugin;
  constructor(options: NonceOptions);
  apply(compiler: Compiler): void;
}
export {};