import * as ts from "ts-morph";
export declare enum CompilerErrorType {
    NoAny = 0,
    ReservedKeyword = 1,
    ReservedMethodName = 2,
    SpreadDestructuring = 3,
    ParameterChildMissing = 4,
    NoLabeledStatement = 5,
    BadStatement = 6,
    MissingModuleFile = 7,
    BadSpecifier = 8,
    BadAncestor = 9,
    UnexpectedBindingPattern = 10,
    UnexpectedInitializer = 11,
    ForEmptyVarName = 12,
    NoVarKeyword = 13,
    UndefinableMetamethod = 14,
    NoConstructorReturn = 15,
    NoThisOutsideClass = 16,
    NoNull = 17,
    BadExpression = 18,
    BadFunctionBody = 19,
    NoEqualsEquals = 20,
    NoExclamationEquals = 21,
    BadBinaryExpression = 22,
    BadPrefixUnaryExpression = 23,
    BadPostfixUnaryExpression = 24,
    InvalidClientOnlyAPIAccess = 25,
    InvalidServerOnlyAPIAccess = 26,
    NoFunctionIndex = 27,
    NoClassPrototype = 28,
    ExportInNonModuleScript = 29,
    RoactSubClassesNotSupported = 30,
    RoactJsxTextNotSupported = 31,
    RoactNoNewComponentAllowed = 32,
    RoactJsxWithoutImport = 33,
    RoactNoReservedMethods = 34,
    RoactInvalidSymbol = 35,
    RoactInvalidPrimitive = 36,
    RoactInvalidExpression = 37,
    RoactInvalidCallExpression = 38,
    RoactInvalidIdentifierExpression = 39,
    RoactInvalidPropertyExpression = 40,
    UnexpectedObjectIndex = 41,
    NoDynamicImport = 42,
    InvalidIdentifier = 43,
    RobloxTSReservedIdentifier = 44,
    BadContext = 45,
    MixedMethodCall = 46,
    InvalidService = 47,
    ReservedNamespace = 48,
    BadAddition = 49,
    InvalidMacroIndex = 50,
    NoTypeOf = 51,
    BadBuiltinConstructorCall = 52,
    BadForOfInitializer = 53,
    ForInLoop = 54,
    BadDestructuringType = 55,
    NullableIndexOnMapOrSet = 56,
    BadSpreadType = 57,
    YieldNotInExpressionStatement = 58,
    NonStringThrow = 59,
    TryReturn = 60,
    BadSwitchDefaultPosition = 61,
    BadEnum = 62,
    BadLuaTupleStatement = 63,
    UnexpectedPropType = 64,
    GlobalThis = 65,
    BadStaticMethod = 66,
    BadRojo = 67,
    BadPackageScope = 68,
    LuaTupleInConditional = 69,
    InvalidComputedIndex = 70,
    TupleLength = 71,
    BadMethodCall = 72,
    BadClassExtends = 73,
    GettersSettersDisallowed = 74,
    BadFunctionExpressionMethodCall = 75,
    BadObjectPropertyType = 76,
    BadSuperCall = 77,
    DefaultIteratorOnArrayExtension = 78,
    SuperArrayCall = 79,
    Decorator = 80,
    MethodCollision = 81,
    PropertyCollision = 82,
    ClassWithComputedMethodNames = 83,
    IsolatedContainer = 84
}
export declare class CompilerError extends Error {
    readonly node: ts.Node;
    readonly type: CompilerErrorType;
    constructor(message: string, node: ts.Node, type: CompilerErrorType, shouldNotHappen?: boolean);
}
