import { AcornParseError, CheckSyntaxExclude, SyntaxError } from './type';
export declare function generateError({ err, filepath, code, exclude, }: {
    err: AcornParseError;
    filepath: string;
    exclude?: CheckSyntaxExclude;
    code: string;
}): Promise<SyntaxError | null>;
