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