import { CheckSyntaxOptions } from '../../../types';
export type CheckSyntaxExclude = NonNullable<CheckSyntaxOptions['exclude']>;
export interface Location {
    line: number;
    column: number;
}
export interface File {
    path: string;
    line: number;
    column: number;
}
interface SyntaxErrorOptions {
    source: File & {
        code: string;
    };
    output?: File;
}
export declare class SyntaxError extends Error {
    source: File & {
        code: string;
    };
    output: File | undefined;
    constructor(message: string, options: SyntaxErrorOptions);
}
export type AcornParseError = {
    message: string;
    pos: number;
    loc: Location;
};
export {};
