import { StringFormatter } from 'slim-pig/dist/lib/str'; import WebpackError = require('webpack/lib/WebpackError'); import type { SourceLocation } from 'estree'; export declare class PluginError extends WebpackError { readonly name: string; constructor(options: { formatter: string | StringFormatter; file?: string; loc?: SourceLocation; } | string | StringFormatter, ...values: any[]); }