import { SyntaxError, CheckSyntaxExclude } from './helpers'; import { EcmaVersion, CheckSyntaxOptions } from '../../types'; import type { Compiler } from 'webpack'; export declare class CheckSyntaxPlugin { errors: SyntaxError[]; ecmaVersion: EcmaVersion; targets: string[]; rootPath: string; exclude: CheckSyntaxExclude | undefined; constructor(options: CheckSyntaxOptions & Required> & { rootPath: string; }); apply(complier: Compiler): void; private check; private tryParse; }