import { type Location } from './common.ts';
import { type _Node, type SourceLocation } from './estree.ts';
export declare const enum Errors {
    Unexpected = 0,
    StrictOctalEscape = 1,
    TemplateOctalLiteral = 2,
    TemplateEightAndNine = 3,
    InvalidPrivateIdentifier = 4,
    InvalidUnicodeEscapeSequence = 5,
    InvalidCodePoint = 6,
    InvalidHexEscapeSequence = 7,
    StrictDecimalWithLeadingZero = 8,
    StrictOctalLiteral = 9,
    ExpectedNumberInRadix = 10,
    MissingExponent = 11,
    InvalidBigInt = 12,
    IDStartAfterNumber = 13,
    InvalidEightAndNine = 14,
    StrictEightAndNine = 15,
    UnterminatedString = 16,
    UnterminatedTemplate = 17,
    UnterminatedComment = 18,
    InvalidDynamicUnicode = 19,
    IllegalCharacter = 20,
    MissingHexDigits = 21,
    InvalidImplicitOctal = 22,
    InvalidStringLT = 23,
    InvalidEscapeIdentifier = 24,
    ExpectedToken = 25,
    CantAssignTo = 26,
    InvalidLHSAsyncArrow = 27,
    SuperNoConstructor = 28,
    InvalidSuperProperty = 29,
    UnexpectedToken = 30,
    AwaitInParameter = 31,
    YieldInParameter = 32,
    InvalidExponentiationLHS = 33,
    UnterminatedRegExp = 34,
    UnexpectedTokenRegExpFlag = 35,
    DuplicateRegExpFlag = 36,
    AccessorWrongArgs = 37,
    BadSetterRestParameter = 38,
    DeclNoName = 39,
    StrictFunctionName = 40,
    RestMissingArg = 41,
    InvalidGeneratorGetter = 42,
    InvalidGeneratorSetter = 43,
    InvalidComputedPropName = 44,
    InvalidGetSetGenerator = 45,
    InvalidAsyncGetter = 46,
    InvalidGenMethodShorthand = 47,
    InvalidLineBreak = 48,
    InvalidArrowDestructLHS = 49,
    InvalidBindingDestruct = 50,
    InvalidAsyncArrow = 51,
    StaticPrototype = 52,
    InvalidConstructor = 53,
    DuplicateConstructor = 54,
    InvalidIncDecTarget = 55,
    InvalidIncDecNew = 56,
    InvalidAssignmentTarget = 57,
    InvalidRestTrailing = 58,
    DeclarationMissingInitializer = 59,
    ForInOfLoopInitializer = 60,
    ForInOfLoopMultiBindings = 61,
    InvalidShorthandPropInit = 62,
    DuplicateProto = 63,
    InvalidLetBoundName = 64,
    InvalidNewUnary = 65,
    IllegalUseStrict = 66,
    DisallowedLetInStrict = 67,
    IllegalContinue = 68,
    IllegalBreak = 69,
    InvalidLetBracket = 70,
    InvalidDestructuringTarget = 71,
    RestDefaultInitializer = 72,
    InvalidRestNotLast = 73,
    InvalidRestArg = 74,
    InvalidRestDefault = 75,
    StrictFunction = 76,
    SloppyFunction = 77,
    WebCompatFunction = 78,
    ClassForbiddenAsStatement = 79,
    CantAssignToInOfForLoop = 80,
    InvalidAssignmentInOfForLoop = 81,
    InvalidForAwait = 82,
    InvalidTemplateContinuation = 83,
    RestrictedLetProduction = 84,
    UnexpectedLetStrictReserved = 85,
    InvalidCatchParams = 86,
    InvalidCatchParamDefault = 87,
    NoCatchOrFinally = 88,
    MultipleDefaultsInSwitch = 89,
    NewlineAfterThrow = 90,
    StrictWith = 91,
    IllegalReturn = 92,
    InvalidForLHSBinding = 93,
    InvalidNewTarget = 94,
    InvalidEscapedKeyword = 95,
    MissingPrivateIdentifier = 96,
    DisallowedInContext = 97,
    AwaitOutsideAsync = 98,
    InvalidStrictLet = 99,
    InvalidLetConstBinding = 100,
    InvalidLetClassName = 101,
    KeywordNotId = 102,
    InvalidImportExportSloppy = 103,
    UnicodeOverflow = 104,
    InvalidExportImportSource = 105,
    InvalidKeywordAsAlias = 106,
    InvalidDefaultImport = 107,
    InvalidDeferImport = 108,
    InvalidSourceImport = 109,
    TrailingDecorators = 110,
    GeneratorConstructor = 111,
    AwaitIdentInModuleOrAsyncFunc = 112,
    YieldIdentInModule = 113,
    HtmlCommentInWebCompat = 114,
    StrictInvalidLetInExprPos = 115,
    NotAssignableLetArgs = 116,
    ForOfLet = 117,
    InvalidInvokedBlockBodyArrow = 118,
    InvalidAccessedBlockBodyArrow = 119,
    UnexpectedStrictReserved = 120,
    StrictEvalArguments = 121,
    InvalidDecoratorSemicolon = 122,
    StrictDelete = 123,
    InvalidPatternTail = 124,
    AsyncFunctionInSingleStatementContext = 125,
    InvalidTernaryYield = 126,
    InvalidArrowPostfix = 127,
    InvalidObjLitKeyStar = 128,
    DeletePrivateField = 129,
    InvalidStaticClassFieldConstructor = 130,
    InvalidClassFieldConstructor = 131,
    InvalidClassFieldArgEval = 132,
    InvalidGeneratorFunction = 133,
    AsyncRestrictedProd = 134,
    UnexpectedCharAfterObjLit = 135,
    InvalidObjLitKey = 136,
    InvalidKeyToken = 137,
    LabelRedeclaration = 138,
    InvalidNestedStatement = 139,
    UnknownLabel = 140,
    InvalidImportTail = 141,
    InvalidJSONImportBinding = 142,
    ImportNotOneArg = 143,
    InvalidImportNew = 144,
    InvalidSpreadInImport = 145,
    IncompleteArrow = 146,
    DuplicateBinding = 147,
    DuplicatePrivateIdentifier = 148,
    DuplicateExportBinding = 149,
    UndeclaredExportedBinding = 150,
    UnexpectedPrivateField = 151,
    DuplicateLetConstBinding = 152,
    CantAssignToValidRHS = 153,
    ContinuousNumericSeparator = 154,
    TrailingNumericSeparator = 155,
    InvalidJSXAttributeValue = 156,
    ExpectedJSXClosingTag = 157,
    AdjacentJSXElements = 158,
    InvalidNonEmptyJSXExpr = 159,
    DuplicateIdentifier = 160,
    ShadowedCatchClause = 161,
    InvalidDotProperty = 162,
    UnclosedSpreadElement = 163,
    CatchWithoutTry = 164,
    FinallyWithoutTry = 165,
    UnCorrespondingFragmentTag = 166,
    InvalidCoalescing = 167,
    OptionalChainingNoTemplate = 168,
    OptionalChainingNoSuper = 169,
    OptionalChainingNoNew = 170,
    ImportMetaOutsideModule = 171,
    InvalidLeadingDecorator = 172,
    InvalidExportName = 173,
    InvalidExportReference = 174,
    InvalidSuperPrivate = 175,
    InvalidImportMeta = 176,
    InvalidEscapedImportMeta = 177,
    InvalidAwaitAsIdentifier = 178,
    InvalidAwaitInStaticBlock = 179,
    UnexpectedRightBraceInJSXText = 180,
    UnexpectedGreaterThanInJSXText = 181
}
export declare class ParseError extends SyntaxError implements _Node {
    start: number;
    end: number;
    range: [number, number];
    loc: SourceLocation;
    description: string;
    constructor(start: Location, end: Location, type: Errors, ...params: string[]);
}
export declare const isParseError: (error: unknown) => error is ParseError;
