import { type Compiler, type WebpackPluginInstance } from 'webpack'; import type { CodeCheckerPluginOptions } from '../../../types/types-code-checker-options.js'; /** * CodeCheckerWebpackPlugin is a webpack plugin that checks the code for illegal codes. */ export declare class CodeCheckerWebpackPlugin implements WebpackPluginInstance { errors: string[]; blackList: Array<{ input: string; reg: RegExp; }>; whiteList: RegExp[]; whitelistExtractionRule: RegExp[]; constructor(options?: CodeCheckerPluginOptions); /** * Check code for illegal patterns and collect errors */ private checkCode; private findUnallowedCode; apply(compiler: Compiler): void; }