@systemfsoftware/stryker-ignorer-interface 0.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1464 @@
1
+ declare namespace types_d_exports {
2
+ export { AccessorProperty$1 as AccessorProperty, AccessorPropertyType, Argument$1 as Argument, ArrayAssignmentTarget, ArrayExpression$1 as ArrayExpression, ArrayExpressionElement, ArrayPattern$1 as ArrayPattern, ArrowFunctionExpression$1 as ArrowFunctionExpression, AssignmentExpression$1 as AssignmentExpression, AssignmentOperator, AssignmentPattern$1 as AssignmentPattern, AssignmentTarget, AssignmentTargetMaybeDefault, AssignmentTargetPattern, AssignmentTargetProperty, AssignmentTargetPropertyIdentifier, AssignmentTargetPropertyProperty, AssignmentTargetRest, AssignmentTargetWithDefault, AwaitExpression, BigIntLiteral$1 as BigIntLiteral, BinaryExpression$1 as BinaryExpression, BinaryOperator, BindingIdentifier$1 as BindingIdentifier, BindingPattern$1 as BindingPattern, BindingProperty$1 as BindingProperty, BindingRestElement$1 as BindingRestElement, BlockStatement$1 as BlockStatement, BooleanLiteral$1 as BooleanLiteral, BreakStatement$1 as BreakStatement, CallExpression$1 as CallExpression, CatchClause$1 as CatchClause, ChainElement, ChainExpression$1 as ChainExpression, Class$1 as Class, ClassBody$1 as ClassBody, ClassElement, ClassType, ComputedMemberExpression, ConditionalExpression$1 as ConditionalExpression, ContinueStatement$1 as ContinueStatement, DebuggerStatement, Declaration, Decorator$1 as Decorator, Directive, DoWhileStatement$1 as DoWhileStatement, EmptyStatement$1 as EmptyStatement, ExportAllDeclaration$1 as ExportAllDeclaration, ExportDefaultDeclaration$1 as ExportDefaultDeclaration, ExportDefaultDeclarationKind, ExportNamedDeclaration$1 as ExportNamedDeclaration, ExportSpecifier, Expression$1 as Expression, ExpressionStatement$1 as ExpressionStatement, ForInStatement$1 as ForInStatement, ForOfStatement$1 as ForOfStatement, ForStatement$1 as ForStatement, ForStatementInit, ForStatementLeft, FormalParameter, FormalParameterRest, Function$1 as Function, FunctionBody, FunctionType, Hashbang, IdentifierName$1 as IdentifierName, IdentifierReference$1 as IdentifierReference, IfStatement$1 as IfStatement, ImportAttribute$1 as ImportAttribute, ImportAttributeKey, ImportDeclaration$1 as ImportDeclaration, ImportDeclarationSpecifier, ImportDefaultSpecifier, ImportExpression$1 as ImportExpression, ImportNamespaceSpecifier, ImportOrExportKind, ImportPhase, ImportSpecifier, JSDocNonNullableType$1 as JSDocNonNullableType, JSDocNullableType$1 as JSDocNullableType, JSDocUnknownType, JSXAttribute$1 as JSXAttribute, JSXAttributeItem, JSXAttributeName, JSXAttributeValue, JSXChild, JSXClosingElement, JSXClosingFragment, JSXElement$1 as JSXElement, JSXElementName, JSXEmptyExpression, JSXExpression, JSXExpressionContainer$1 as JSXExpressionContainer, JSXFragment$1 as JSXFragment, JSXIdentifier$1 as JSXIdentifier, JSXMemberExpression$1 as JSXMemberExpression, JSXMemberExpressionObject, JSXNamespacedName$1 as JSXNamespacedName, JSXOpeningElement$1 as JSXOpeningElement, JSXOpeningFragment, JSXSpreadAttribute$1 as JSXSpreadAttribute, JSXSpreadChild$1 as JSXSpreadChild, JSXText$1 as JSXText, LabelIdentifier$1 as LabelIdentifier, LabeledStatement$1 as LabeledStatement, LogicalExpression$1 as LogicalExpression, LogicalOperator, MemberExpression$1 as MemberExpression, MetaProperty$1 as MetaProperty, MethodDefinition$1 as MethodDefinition, MethodDefinitionKind, MethodDefinitionType, ModuleDeclaration, ModuleExportName, ModuleKind, NewExpression$1 as NewExpression, Node$1 as Node, NullLiteral$1 as NullLiteral, NumericLiteral$1 as NumericLiteral, ObjectAssignmentTarget, ObjectExpression$1 as ObjectExpression, ObjectPattern, ObjectProperty$1 as ObjectProperty, ObjectPropertyKind, ParamPattern$1 as ParamPattern, ParenthesizedExpression, PrivateFieldExpression, PrivateIdentifier$1 as PrivateIdentifier, PrivateInExpression$1 as PrivateInExpression, Program$1 as Program, PropertyDefinition$1 as PropertyDefinition, PropertyDefinitionType, PropertyKey, PropertyKind, RegExpLiteral$1 as RegExpLiteral, ReturnStatement$1 as ReturnStatement, SequenceExpression$1 as SequenceExpression, SimpleAssignmentTarget$1 as SimpleAssignmentTarget, Span$1 as Span, SpreadElement$1 as SpreadElement, Statement$1 as Statement, StaticBlock$1 as StaticBlock, StaticMemberExpression$1 as StaticMemberExpression, StringLiteral$1 as StringLiteral, Super$1 as Super, SwitchCase$1 as SwitchCase, SwitchStatement$1 as SwitchStatement, TSAccessibility, TSAnyKeyword, TSArrayType$1 as TSArrayType, TSAsExpression$1 as TSAsExpression, TSBigIntKeyword, TSBooleanKeyword, TSCallSignatureDeclaration$1 as TSCallSignatureDeclaration, TSClassImplements, TSConditionalType$1 as TSConditionalType, TSConstructSignatureDeclaration$1 as TSConstructSignatureDeclaration, TSConstructorType$1 as TSConstructorType, TSEnumBody, TSEnumDeclaration$1 as TSEnumDeclaration, TSEnumMember, TSEnumMemberName, TSExportAssignment$1 as TSExportAssignment, TSExternalModuleReference, TSFunctionType$1 as TSFunctionType, TSGlobalDeclaration, TSImportEqualsDeclaration$1 as TSImportEqualsDeclaration, TSImportType$1 as TSImportType, TSImportTypeQualifiedName, TSImportTypeQualifier, TSIndexSignature$1 as TSIndexSignature, TSIndexSignatureName, TSIndexedAccessType$1 as TSIndexedAccessType, TSInferType$1 as TSInferType, TSInstantiationExpression$1 as TSInstantiationExpression, TSInterfaceBody$1 as TSInterfaceBody, TSInterfaceDeclaration$1 as TSInterfaceDeclaration, TSInterfaceHeritage, TSIntersectionType$1 as TSIntersectionType, TSIntrinsicKeyword, TSLiteral, TSLiteralType$1 as TSLiteralType, TSMappedType$1 as TSMappedType, TSMappedTypeModifierOperator, TSMethodSignature$1 as TSMethodSignature, TSMethodSignatureKind, TSModuleBlock$1 as TSModuleBlock, TSModuleDeclaration$1 as TSModuleDeclaration, TSModuleDeclarationKind, TSModuleReference, TSNamedTupleMember$1 as TSNamedTupleMember, TSNamespaceExportDeclaration$1 as TSNamespaceExportDeclaration, TSNeverKeyword, TSNonNullExpression$1 as TSNonNullExpression, TSNullKeyword, TSNumberKeyword, TSObjectKeyword, TSOptionalType$1 as TSOptionalType, TSParameterProperty, TSParenthesizedType$1 as TSParenthesizedType, TSPropertySignature$1 as TSPropertySignature, TSQualifiedName$1 as TSQualifiedName, TSRestType$1 as TSRestType, TSSatisfiesExpression$1 as TSSatisfiesExpression, TSSignature, TSStringKeyword, TSSymbolKeyword, TSTemplateLiteralType$1 as TSTemplateLiteralType, TSThisParameter, TSThisType, TSTupleElement, TSTupleType$1 as TSTupleType, TSType$1 as TSType, TSTypeAliasDeclaration$1 as TSTypeAliasDeclaration, TSTypeAnnotation$1 as TSTypeAnnotation, TSTypeAssertion$1 as TSTypeAssertion, TSTypeLiteral, TSTypeName, TSTypeOperator$1 as TSTypeOperator, TSTypeOperatorOperator, TSTypeParameter, TSTypeParameterDeclaration$1 as TSTypeParameterDeclaration, TSTypeParameterInstantiation$1 as TSTypeParameterInstantiation, TSTypePredicate$1 as TSTypePredicate, TSTypePredicateName, TSTypeQuery$1 as TSTypeQuery, TSTypeQueryExprName, TSTypeReference$1 as TSTypeReference, TSUndefinedKeyword, TSUnionType$1 as TSUnionType, TSUnknownKeyword, TSVoidKeyword, TaggedTemplateExpression$1 as TaggedTemplateExpression, TemplateElement$1 as TemplateElement, TemplateElementValue, TemplateLiteral$1 as TemplateLiteral, ThisExpression$1 as ThisExpression, ThrowStatement$1 as ThrowStatement, TryStatement$1 as TryStatement, UnaryExpression$1 as UnaryExpression, UnaryOperator, UpdateExpression$1 as UpdateExpression, UpdateOperator, V8IntrinsicExpression, VariableDeclaration$1 as VariableDeclaration, VariableDeclarationKind, VariableDeclarator$1 as VariableDeclarator, WhileStatement$1 as WhileStatement, WithStatement$1 as WithStatement, YieldExpression$1 as YieldExpression };
3
+ }
4
+ // Auto-generated code, DO NOT EDIT DIRECTLY!
5
+ // To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`.
6
+ interface Program$1 extends Span$1 {
7
+ type: "Program";
8
+ body: Array<Directive | Statement$1>;
9
+ sourceType: ModuleKind;
10
+ hashbang: Hashbang | null;
11
+ parent?: null;
12
+ }
13
+ type Expression$1 = BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | IdentifierReference$1 | MetaProperty$1 | Super$1 | ArrayExpression$1 | ArrowFunctionExpression$1 | AssignmentExpression$1 | AwaitExpression | BinaryExpression$1 | CallExpression$1 | ChainExpression$1 | Class$1 | ConditionalExpression$1 | Function$1 | ImportExpression$1 | LogicalExpression$1 | NewExpression$1 | ObjectExpression$1 | ParenthesizedExpression | SequenceExpression$1 | TaggedTemplateExpression$1 | ThisExpression$1 | UnaryExpression$1 | UpdateExpression$1 | YieldExpression$1 | PrivateInExpression$1 | JSXElement$1 | JSXFragment$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSNonNullExpression$1 | TSInstantiationExpression$1 | V8IntrinsicExpression | MemberExpression$1;
14
+ interface IdentifierName$1 extends Span$1 {
15
+ type: "Identifier";
16
+ decorators?: [];
17
+ name: string;
18
+ optional?: false;
19
+ typeAnnotation?: null;
20
+ parent?: Node$1;
21
+ }
22
+ interface IdentifierReference$1 extends Span$1 {
23
+ type: "Identifier";
24
+ decorators?: [];
25
+ name: string;
26
+ optional?: false;
27
+ typeAnnotation?: null;
28
+ parent?: Node$1;
29
+ }
30
+ interface BindingIdentifier$1 extends Span$1 {
31
+ type: "Identifier";
32
+ decorators?: [];
33
+ name: string;
34
+ optional?: false;
35
+ typeAnnotation?: TSTypeAnnotation$1 | null;
36
+ parent?: Node$1;
37
+ }
38
+ interface LabelIdentifier$1 extends Span$1 {
39
+ type: "Identifier";
40
+ decorators?: [];
41
+ name: string;
42
+ optional?: false;
43
+ typeAnnotation?: null;
44
+ parent?: Node$1;
45
+ }
46
+ interface ThisExpression$1 extends Span$1 {
47
+ type: "ThisExpression";
48
+ parent?: Node$1;
49
+ }
50
+ interface ArrayExpression$1 extends Span$1 {
51
+ type: "ArrayExpression";
52
+ elements: Array<ArrayExpressionElement>;
53
+ parent?: Node$1;
54
+ }
55
+ type ArrayExpressionElement = SpreadElement$1 | null | Expression$1;
56
+ interface ObjectExpression$1 extends Span$1 {
57
+ type: "ObjectExpression";
58
+ properties: Array<ObjectPropertyKind>;
59
+ parent?: Node$1;
60
+ }
61
+ type ObjectPropertyKind = ObjectProperty$1 | SpreadElement$1;
62
+ interface ObjectProperty$1 extends Span$1 {
63
+ type: "Property";
64
+ kind: PropertyKind;
65
+ key: PropertyKey;
66
+ value: Expression$1;
67
+ method: boolean;
68
+ shorthand: boolean;
69
+ computed: boolean;
70
+ optional?: false;
71
+ parent?: Node$1;
72
+ }
73
+ type PropertyKey = IdentifierName$1 | PrivateIdentifier$1 | Expression$1;
74
+ type PropertyKind = "init" | "get" | "set";
75
+ interface TemplateLiteral$1 extends Span$1 {
76
+ type: "TemplateLiteral";
77
+ quasis: Array<TemplateElement$1>;
78
+ expressions: Array<Expression$1>;
79
+ parent?: Node$1;
80
+ }
81
+ interface TaggedTemplateExpression$1 extends Span$1 {
82
+ type: "TaggedTemplateExpression";
83
+ tag: Expression$1;
84
+ typeArguments?: TSTypeParameterInstantiation$1 | null;
85
+ quasi: TemplateLiteral$1;
86
+ parent?: Node$1;
87
+ }
88
+ interface TemplateElement$1 extends Span$1 {
89
+ type: "TemplateElement";
90
+ value: TemplateElementValue;
91
+ tail: boolean;
92
+ parent?: Node$1;
93
+ }
94
+ interface TemplateElementValue {
95
+ raw: string;
96
+ cooked: string | null;
97
+ }
98
+ type MemberExpression$1 = ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression;
99
+ interface ComputedMemberExpression extends Span$1 {
100
+ type: "MemberExpression";
101
+ object: Expression$1;
102
+ property: Expression$1;
103
+ optional: boolean;
104
+ computed: true;
105
+ parent?: Node$1;
106
+ }
107
+ interface StaticMemberExpression$1 extends Span$1 {
108
+ type: "MemberExpression";
109
+ object: Expression$1;
110
+ property: IdentifierName$1;
111
+ optional: boolean;
112
+ computed: false;
113
+ parent?: Node$1;
114
+ }
115
+ interface PrivateFieldExpression extends Span$1 {
116
+ type: "MemberExpression";
117
+ object: Expression$1;
118
+ property: PrivateIdentifier$1;
119
+ optional: boolean;
120
+ computed: false;
121
+ parent?: Node$1;
122
+ }
123
+ interface CallExpression$1 extends Span$1 {
124
+ type: "CallExpression";
125
+ callee: Expression$1;
126
+ typeArguments?: TSTypeParameterInstantiation$1 | null;
127
+ arguments: Array<Argument$1>;
128
+ optional: boolean;
129
+ parent?: Node$1;
130
+ }
131
+ interface NewExpression$1 extends Span$1 {
132
+ type: "NewExpression";
133
+ callee: Expression$1;
134
+ typeArguments?: TSTypeParameterInstantiation$1 | null;
135
+ arguments: Array<Argument$1>;
136
+ parent?: Node$1;
137
+ }
138
+ interface MetaProperty$1 extends Span$1 {
139
+ type: "MetaProperty";
140
+ meta: IdentifierName$1;
141
+ property: IdentifierName$1;
142
+ parent?: Node$1;
143
+ }
144
+ interface SpreadElement$1 extends Span$1 {
145
+ type: "SpreadElement";
146
+ argument: Expression$1;
147
+ parent?: Node$1;
148
+ }
149
+ type Argument$1 = SpreadElement$1 | Expression$1;
150
+ interface UpdateExpression$1 extends Span$1 {
151
+ type: "UpdateExpression";
152
+ operator: UpdateOperator;
153
+ prefix: boolean;
154
+ argument: SimpleAssignmentTarget$1;
155
+ parent?: Node$1;
156
+ }
157
+ interface UnaryExpression$1 extends Span$1 {
158
+ type: "UnaryExpression";
159
+ operator: UnaryOperator;
160
+ argument: Expression$1;
161
+ prefix: true;
162
+ parent?: Node$1;
163
+ }
164
+ interface BinaryExpression$1 extends Span$1 {
165
+ type: "BinaryExpression";
166
+ left: Expression$1;
167
+ operator: BinaryOperator;
168
+ right: Expression$1;
169
+ parent?: Node$1;
170
+ }
171
+ interface PrivateInExpression$1 extends Span$1 {
172
+ type: "BinaryExpression";
173
+ left: PrivateIdentifier$1;
174
+ operator: "in";
175
+ right: Expression$1;
176
+ parent?: Node$1;
177
+ }
178
+ interface LogicalExpression$1 extends Span$1 {
179
+ type: "LogicalExpression";
180
+ left: Expression$1;
181
+ operator: LogicalOperator;
182
+ right: Expression$1;
183
+ parent?: Node$1;
184
+ }
185
+ interface ConditionalExpression$1 extends Span$1 {
186
+ type: "ConditionalExpression";
187
+ test: Expression$1;
188
+ consequent: Expression$1;
189
+ alternate: Expression$1;
190
+ parent?: Node$1;
191
+ }
192
+ interface AssignmentExpression$1 extends Span$1 {
193
+ type: "AssignmentExpression";
194
+ operator: AssignmentOperator;
195
+ left: AssignmentTarget;
196
+ right: Expression$1;
197
+ parent?: Node$1;
198
+ }
199
+ type AssignmentTarget = SimpleAssignmentTarget$1 | AssignmentTargetPattern;
200
+ type SimpleAssignmentTarget$1 = IdentifierReference$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSNonNullExpression$1 | TSTypeAssertion$1 | MemberExpression$1;
201
+ type AssignmentTargetPattern = ArrayAssignmentTarget | ObjectAssignmentTarget;
202
+ interface ArrayAssignmentTarget extends Span$1 {
203
+ type: "ArrayPattern";
204
+ decorators?: [];
205
+ elements: Array<AssignmentTargetMaybeDefault | AssignmentTargetRest | null>;
206
+ optional?: false;
207
+ typeAnnotation?: null;
208
+ parent?: Node$1;
209
+ }
210
+ interface ObjectAssignmentTarget extends Span$1 {
211
+ type: "ObjectPattern";
212
+ decorators?: [];
213
+ properties: Array<AssignmentTargetProperty | AssignmentTargetRest>;
214
+ optional?: false;
215
+ typeAnnotation?: null;
216
+ parent?: Node$1;
217
+ }
218
+ interface AssignmentTargetRest extends Span$1 {
219
+ type: "RestElement";
220
+ decorators?: [];
221
+ argument: AssignmentTarget;
222
+ optional?: false;
223
+ typeAnnotation?: null;
224
+ value?: null;
225
+ parent?: Node$1;
226
+ }
227
+ type AssignmentTargetMaybeDefault = AssignmentTargetWithDefault | AssignmentTarget;
228
+ interface AssignmentTargetWithDefault extends Span$1 {
229
+ type: "AssignmentPattern";
230
+ decorators?: [];
231
+ left: AssignmentTarget;
232
+ right: Expression$1;
233
+ optional?: false;
234
+ typeAnnotation?: null;
235
+ parent?: Node$1;
236
+ }
237
+ type AssignmentTargetProperty = AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty;
238
+ interface AssignmentTargetPropertyIdentifier extends Span$1 {
239
+ type: "Property";
240
+ kind: "init";
241
+ key: IdentifierReference$1;
242
+ value: IdentifierReference$1 | AssignmentTargetWithDefault;
243
+ method: false;
244
+ shorthand: true;
245
+ computed: false;
246
+ optional?: false;
247
+ parent?: Node$1;
248
+ }
249
+ interface AssignmentTargetPropertyProperty extends Span$1 {
250
+ type: "Property";
251
+ kind: "init";
252
+ key: PropertyKey;
253
+ value: AssignmentTargetMaybeDefault;
254
+ method: false;
255
+ shorthand: false;
256
+ computed: boolean;
257
+ optional?: false;
258
+ parent?: Node$1;
259
+ }
260
+ interface SequenceExpression$1 extends Span$1 {
261
+ type: "SequenceExpression";
262
+ expressions: Array<Expression$1>;
263
+ parent?: Node$1;
264
+ }
265
+ interface Super$1 extends Span$1 {
266
+ type: "Super";
267
+ parent?: Node$1;
268
+ }
269
+ interface AwaitExpression extends Span$1 {
270
+ type: "AwaitExpression";
271
+ argument: Expression$1;
272
+ parent?: Node$1;
273
+ }
274
+ interface ChainExpression$1 extends Span$1 {
275
+ type: "ChainExpression";
276
+ expression: ChainElement;
277
+ parent?: Node$1;
278
+ }
279
+ type ChainElement = CallExpression$1 | TSNonNullExpression$1 | MemberExpression$1;
280
+ interface ParenthesizedExpression extends Span$1 {
281
+ type: "ParenthesizedExpression";
282
+ expression: Expression$1;
283
+ parent?: Node$1;
284
+ }
285
+ type Statement$1 = BlockStatement$1 | BreakStatement$1 | ContinueStatement$1 | DebuggerStatement | DoWhileStatement$1 | EmptyStatement$1 | ExpressionStatement$1 | ForInStatement$1 | ForOfStatement$1 | ForStatement$1 | IfStatement$1 | LabeledStatement$1 | ReturnStatement$1 | SwitchStatement$1 | ThrowStatement$1 | TryStatement$1 | WhileStatement$1 | WithStatement$1 | Declaration | ModuleDeclaration;
286
+ interface Directive extends Span$1 {
287
+ type: "ExpressionStatement";
288
+ expression: StringLiteral$1;
289
+ directive: string;
290
+ parent?: Node$1;
291
+ }
292
+ interface Hashbang extends Span$1 {
293
+ type: "Hashbang";
294
+ value: string;
295
+ parent?: Node$1;
296
+ }
297
+ interface BlockStatement$1 extends Span$1 {
298
+ type: "BlockStatement";
299
+ body: Array<Statement$1>;
300
+ parent?: Node$1;
301
+ }
302
+ type Declaration = VariableDeclaration$1 | Function$1 | Class$1 | TSTypeAliasDeclaration$1 | TSInterfaceDeclaration$1 | TSEnumDeclaration$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSImportEqualsDeclaration$1;
303
+ interface VariableDeclaration$1 extends Span$1 {
304
+ type: "VariableDeclaration";
305
+ kind: VariableDeclarationKind;
306
+ declarations: Array<VariableDeclarator$1>;
307
+ declare?: boolean;
308
+ parent?: Node$1;
309
+ }
310
+ type VariableDeclarationKind = "var" | "let" | "const" | "using" | "await using";
311
+ interface VariableDeclarator$1 extends Span$1 {
312
+ type: "VariableDeclarator";
313
+ id: BindingPattern$1;
314
+ init: Expression$1 | null;
315
+ definite?: boolean;
316
+ parent?: Node$1;
317
+ }
318
+ interface EmptyStatement$1 extends Span$1 {
319
+ type: "EmptyStatement";
320
+ parent?: Node$1;
321
+ }
322
+ interface ExpressionStatement$1 extends Span$1 {
323
+ type: "ExpressionStatement";
324
+ expression: Expression$1;
325
+ directive?: string | null;
326
+ parent?: Node$1;
327
+ }
328
+ interface IfStatement$1 extends Span$1 {
329
+ type: "IfStatement";
330
+ test: Expression$1;
331
+ consequent: Statement$1;
332
+ alternate: Statement$1 | null;
333
+ parent?: Node$1;
334
+ }
335
+ interface DoWhileStatement$1 extends Span$1 {
336
+ type: "DoWhileStatement";
337
+ body: Statement$1;
338
+ test: Expression$1;
339
+ parent?: Node$1;
340
+ }
341
+ interface WhileStatement$1 extends Span$1 {
342
+ type: "WhileStatement";
343
+ test: Expression$1;
344
+ body: Statement$1;
345
+ parent?: Node$1;
346
+ }
347
+ interface ForStatement$1 extends Span$1 {
348
+ type: "ForStatement";
349
+ init: ForStatementInit | null;
350
+ test: Expression$1 | null;
351
+ update: Expression$1 | null;
352
+ body: Statement$1;
353
+ parent?: Node$1;
354
+ }
355
+ type ForStatementInit = VariableDeclaration$1 | Expression$1;
356
+ interface ForInStatement$1 extends Span$1 {
357
+ type: "ForInStatement";
358
+ left: ForStatementLeft;
359
+ right: Expression$1;
360
+ body: Statement$1;
361
+ parent?: Node$1;
362
+ }
363
+ type ForStatementLeft = VariableDeclaration$1 | AssignmentTarget;
364
+ interface ForOfStatement$1 extends Span$1 {
365
+ type: "ForOfStatement";
366
+ await: boolean;
367
+ left: ForStatementLeft;
368
+ right: Expression$1;
369
+ body: Statement$1;
370
+ parent?: Node$1;
371
+ }
372
+ interface ContinueStatement$1 extends Span$1 {
373
+ type: "ContinueStatement";
374
+ label: LabelIdentifier$1 | null;
375
+ parent?: Node$1;
376
+ }
377
+ interface BreakStatement$1 extends Span$1 {
378
+ type: "BreakStatement";
379
+ label: LabelIdentifier$1 | null;
380
+ parent?: Node$1;
381
+ }
382
+ interface ReturnStatement$1 extends Span$1 {
383
+ type: "ReturnStatement";
384
+ argument: Expression$1 | null;
385
+ parent?: Node$1;
386
+ }
387
+ interface WithStatement$1 extends Span$1 {
388
+ type: "WithStatement";
389
+ object: Expression$1;
390
+ body: Statement$1;
391
+ parent?: Node$1;
392
+ }
393
+ interface SwitchStatement$1 extends Span$1 {
394
+ type: "SwitchStatement";
395
+ discriminant: Expression$1;
396
+ cases: Array<SwitchCase$1>;
397
+ parent?: Node$1;
398
+ }
399
+ interface SwitchCase$1 extends Span$1 {
400
+ type: "SwitchCase";
401
+ test: Expression$1 | null;
402
+ consequent: Array<Statement$1>;
403
+ parent?: Node$1;
404
+ }
405
+ interface LabeledStatement$1 extends Span$1 {
406
+ type: "LabeledStatement";
407
+ label: LabelIdentifier$1;
408
+ body: Statement$1;
409
+ parent?: Node$1;
410
+ }
411
+ interface ThrowStatement$1 extends Span$1 {
412
+ type: "ThrowStatement";
413
+ argument: Expression$1;
414
+ parent?: Node$1;
415
+ }
416
+ interface TryStatement$1 extends Span$1 {
417
+ type: "TryStatement";
418
+ block: BlockStatement$1;
419
+ handler: CatchClause$1 | null;
420
+ finalizer: BlockStatement$1 | null;
421
+ parent?: Node$1;
422
+ }
423
+ interface CatchClause$1 extends Span$1 {
424
+ type: "CatchClause";
425
+ param: BindingPattern$1 | null;
426
+ body: BlockStatement$1;
427
+ parent?: Node$1;
428
+ }
429
+ interface DebuggerStatement extends Span$1 {
430
+ type: "DebuggerStatement";
431
+ parent?: Node$1;
432
+ }
433
+ type BindingPattern$1 = BindingIdentifier$1 | ObjectPattern | ArrayPattern$1 | AssignmentPattern$1;
434
+ interface AssignmentPattern$1 extends Span$1 {
435
+ type: "AssignmentPattern";
436
+ decorators?: [];
437
+ left: BindingPattern$1;
438
+ right: Expression$1;
439
+ optional?: false;
440
+ typeAnnotation?: null;
441
+ parent?: Node$1;
442
+ }
443
+ interface ObjectPattern extends Span$1 {
444
+ type: "ObjectPattern";
445
+ decorators?: [];
446
+ properties: Array<BindingProperty$1 | BindingRestElement$1>;
447
+ optional?: false;
448
+ typeAnnotation?: TSTypeAnnotation$1 | null;
449
+ parent?: Node$1;
450
+ }
451
+ interface BindingProperty$1 extends Span$1 {
452
+ type: "Property";
453
+ kind: "init";
454
+ key: PropertyKey;
455
+ value: BindingPattern$1;
456
+ method: false;
457
+ shorthand: boolean;
458
+ computed: boolean;
459
+ optional?: false;
460
+ parent?: Node$1;
461
+ }
462
+ interface ArrayPattern$1 extends Span$1 {
463
+ type: "ArrayPattern";
464
+ decorators?: [];
465
+ elements: Array<BindingPattern$1 | BindingRestElement$1 | null>;
466
+ optional?: false;
467
+ typeAnnotation?: TSTypeAnnotation$1 | null;
468
+ parent?: Node$1;
469
+ }
470
+ interface BindingRestElement$1 extends Span$1 {
471
+ type: "RestElement";
472
+ decorators?: [];
473
+ argument: BindingPattern$1;
474
+ optional?: false;
475
+ typeAnnotation?: TSTypeAnnotation$1 | null;
476
+ value?: null;
477
+ parent?: Node$1;
478
+ }
479
+ interface Function$1 extends Span$1 {
480
+ type: FunctionType;
481
+ id: BindingIdentifier$1 | null;
482
+ generator: boolean;
483
+ async: boolean;
484
+ declare?: boolean;
485
+ typeParameters?: TSTypeParameterDeclaration$1 | null;
486
+ params: ParamPattern$1[];
487
+ returnType?: TSTypeAnnotation$1 | null;
488
+ body: FunctionBody | null;
489
+ expression: false;
490
+ parent?: Node$1;
491
+ }
492
+ type ParamPattern$1 = FormalParameter | TSParameterProperty | FormalParameterRest;
493
+ type FunctionType = "FunctionDeclaration" | "FunctionExpression" | "TSDeclareFunction" | "TSEmptyBodyFunctionExpression";
494
+ interface FormalParameterRest extends Span$1 {
495
+ type: "RestElement";
496
+ argument: BindingPattern$1;
497
+ decorators?: [];
498
+ optional?: boolean;
499
+ typeAnnotation?: TSTypeAnnotation$1 | null;
500
+ value?: null;
501
+ parent?: Node$1;
502
+ }
503
+ type FormalParameter = {
504
+ decorators?: Array<Decorator$1>;
505
+ } & BindingPattern$1;
506
+ interface TSParameterProperty extends Span$1 {
507
+ type: "TSParameterProperty";
508
+ accessibility: TSAccessibility | null;
509
+ decorators: Array<Decorator$1>;
510
+ override: boolean;
511
+ parameter: FormalParameter;
512
+ readonly: boolean;
513
+ static: boolean;
514
+ parent?: Node$1;
515
+ }
516
+ interface FunctionBody extends Span$1 {
517
+ type: "BlockStatement";
518
+ body: Array<Directive | Statement$1>;
519
+ parent?: Node$1;
520
+ }
521
+ interface ArrowFunctionExpression$1 extends Span$1 {
522
+ type: "ArrowFunctionExpression";
523
+ expression: boolean;
524
+ async: boolean;
525
+ typeParameters?: TSTypeParameterDeclaration$1 | null;
526
+ params: ParamPattern$1[];
527
+ returnType?: TSTypeAnnotation$1 | null;
528
+ body: FunctionBody | Expression$1;
529
+ id: null;
530
+ generator: false;
531
+ parent?: Node$1;
532
+ }
533
+ interface YieldExpression$1 extends Span$1 {
534
+ type: "YieldExpression";
535
+ delegate: boolean;
536
+ argument: Expression$1 | null;
537
+ parent?: Node$1;
538
+ }
539
+ interface Class$1 extends Span$1 {
540
+ type: ClassType;
541
+ decorators: Array<Decorator$1>;
542
+ id: BindingIdentifier$1 | null;
543
+ typeParameters?: TSTypeParameterDeclaration$1 | null;
544
+ superClass: Expression$1 | null;
545
+ superTypeArguments?: TSTypeParameterInstantiation$1 | null;
546
+ implements?: Array<TSClassImplements>;
547
+ body: ClassBody$1;
548
+ abstract?: boolean;
549
+ declare?: boolean;
550
+ parent?: Node$1;
551
+ }
552
+ type ClassType = "ClassDeclaration" | "ClassExpression";
553
+ interface ClassBody$1 extends Span$1 {
554
+ type: "ClassBody";
555
+ body: Array<ClassElement>;
556
+ parent?: Node$1;
557
+ }
558
+ type ClassElement = StaticBlock$1 | MethodDefinition$1 | PropertyDefinition$1 | AccessorProperty$1 | TSIndexSignature$1;
559
+ interface MethodDefinition$1 extends Span$1 {
560
+ type: MethodDefinitionType;
561
+ decorators: Array<Decorator$1>;
562
+ key: PropertyKey;
563
+ value: Function$1;
564
+ kind: MethodDefinitionKind;
565
+ computed: boolean;
566
+ static: boolean;
567
+ override?: boolean;
568
+ optional?: boolean;
569
+ accessibility?: TSAccessibility | null;
570
+ parent?: Node$1;
571
+ }
572
+ type MethodDefinitionType = "MethodDefinition" | "TSAbstractMethodDefinition";
573
+ interface PropertyDefinition$1 extends Span$1 {
574
+ type: PropertyDefinitionType;
575
+ decorators: Array<Decorator$1>;
576
+ key: PropertyKey;
577
+ typeAnnotation?: TSTypeAnnotation$1 | null;
578
+ value: Expression$1 | null;
579
+ computed: boolean;
580
+ static: boolean;
581
+ declare?: boolean;
582
+ override?: boolean;
583
+ optional?: boolean;
584
+ definite?: boolean;
585
+ readonly?: boolean;
586
+ accessibility?: TSAccessibility | null;
587
+ parent?: Node$1;
588
+ }
589
+ type PropertyDefinitionType = "PropertyDefinition" | "TSAbstractPropertyDefinition";
590
+ type MethodDefinitionKind = "constructor" | "method" | "get" | "set";
591
+ interface PrivateIdentifier$1 extends Span$1 {
592
+ type: "PrivateIdentifier";
593
+ name: string;
594
+ parent?: Node$1;
595
+ }
596
+ interface StaticBlock$1 extends Span$1 {
597
+ type: "StaticBlock";
598
+ body: Array<Statement$1>;
599
+ parent?: Node$1;
600
+ }
601
+ type ModuleDeclaration = ImportDeclaration$1 | ExportAllDeclaration$1 | ExportDefaultDeclaration$1 | ExportNamedDeclaration$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1;
602
+ type AccessorPropertyType = "AccessorProperty" | "TSAbstractAccessorProperty";
603
+ interface AccessorProperty$1 extends Span$1 {
604
+ type: AccessorPropertyType;
605
+ decorators: Array<Decorator$1>;
606
+ key: PropertyKey;
607
+ typeAnnotation?: TSTypeAnnotation$1 | null;
608
+ value: Expression$1 | null;
609
+ computed: boolean;
610
+ static: boolean;
611
+ override?: boolean;
612
+ definite?: boolean;
613
+ accessibility?: TSAccessibility | null;
614
+ declare?: false;
615
+ optional?: false;
616
+ readonly?: false;
617
+ parent?: Node$1;
618
+ }
619
+ interface ImportExpression$1 extends Span$1 {
620
+ type: "ImportExpression";
621
+ source: Expression$1;
622
+ options: Expression$1 | null;
623
+ phase: ImportPhase | null;
624
+ parent?: Node$1;
625
+ }
626
+ interface ImportDeclaration$1 extends Span$1 {
627
+ type: "ImportDeclaration";
628
+ specifiers: Array<ImportDeclarationSpecifier>;
629
+ source: StringLiteral$1;
630
+ phase: ImportPhase | null;
631
+ attributes: Array<ImportAttribute$1>;
632
+ importKind?: ImportOrExportKind;
633
+ parent?: Node$1;
634
+ }
635
+ type ImportPhase = "source" | "defer";
636
+ type ImportDeclarationSpecifier = ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier;
637
+ interface ImportSpecifier extends Span$1 {
638
+ type: "ImportSpecifier";
639
+ imported: ModuleExportName;
640
+ local: BindingIdentifier$1;
641
+ importKind?: ImportOrExportKind;
642
+ parent?: Node$1;
643
+ }
644
+ interface ImportDefaultSpecifier extends Span$1 {
645
+ type: "ImportDefaultSpecifier";
646
+ local: BindingIdentifier$1;
647
+ parent?: Node$1;
648
+ }
649
+ interface ImportNamespaceSpecifier extends Span$1 {
650
+ type: "ImportNamespaceSpecifier";
651
+ local: BindingIdentifier$1;
652
+ parent?: Node$1;
653
+ }
654
+ interface ImportAttribute$1 extends Span$1 {
655
+ type: "ImportAttribute";
656
+ key: ImportAttributeKey;
657
+ value: StringLiteral$1;
658
+ parent?: Node$1;
659
+ }
660
+ type ImportAttributeKey = IdentifierName$1 | StringLiteral$1;
661
+ interface ExportNamedDeclaration$1 extends Span$1 {
662
+ type: "ExportNamedDeclaration";
663
+ declaration: Declaration | null;
664
+ specifiers: Array<ExportSpecifier>;
665
+ source: StringLiteral$1 | null;
666
+ exportKind?: ImportOrExportKind;
667
+ attributes: Array<ImportAttribute$1>;
668
+ parent?: Node$1;
669
+ }
670
+ interface ExportDefaultDeclaration$1 extends Span$1 {
671
+ type: "ExportDefaultDeclaration";
672
+ declaration: ExportDefaultDeclarationKind;
673
+ exportKind?: "value";
674
+ parent?: Node$1;
675
+ }
676
+ interface ExportAllDeclaration$1 extends Span$1 {
677
+ type: "ExportAllDeclaration";
678
+ exported: ModuleExportName | null;
679
+ source: StringLiteral$1;
680
+ attributes: Array<ImportAttribute$1>;
681
+ exportKind?: ImportOrExportKind;
682
+ parent?: Node$1;
683
+ }
684
+ interface ExportSpecifier extends Span$1 {
685
+ type: "ExportSpecifier";
686
+ local: ModuleExportName;
687
+ exported: ModuleExportName;
688
+ exportKind?: ImportOrExportKind;
689
+ parent?: Node$1;
690
+ }
691
+ type ExportDefaultDeclarationKind = Function$1 | Class$1 | TSInterfaceDeclaration$1 | Expression$1;
692
+ type ModuleExportName = IdentifierName$1 | IdentifierReference$1 | StringLiteral$1;
693
+ interface V8IntrinsicExpression extends Span$1 {
694
+ type: "V8IntrinsicExpression";
695
+ name: IdentifierName$1;
696
+ arguments: Array<Argument$1>;
697
+ parent?: Node$1;
698
+ }
699
+ interface BooleanLiteral$1 extends Span$1 {
700
+ type: "Literal";
701
+ value: boolean;
702
+ raw: string | null;
703
+ parent?: Node$1;
704
+ }
705
+ interface NullLiteral$1 extends Span$1 {
706
+ type: "Literal";
707
+ value: null;
708
+ raw: "null" | null;
709
+ parent?: Node$1;
710
+ }
711
+ interface NumericLiteral$1 extends Span$1 {
712
+ type: "Literal";
713
+ value: number;
714
+ raw: string | null;
715
+ parent?: Node$1;
716
+ }
717
+ interface StringLiteral$1 extends Span$1 {
718
+ type: "Literal";
719
+ value: string;
720
+ raw: string | null;
721
+ parent?: Node$1;
722
+ }
723
+ interface BigIntLiteral$1 extends Span$1 {
724
+ type: "Literal";
725
+ value: bigint;
726
+ raw: string | null;
727
+ bigint: string;
728
+ parent?: Node$1;
729
+ }
730
+ interface RegExpLiteral$1 extends Span$1 {
731
+ type: "Literal";
732
+ value: RegExp | null;
733
+ raw: string | null;
734
+ regex: {
735
+ pattern: string;
736
+ flags: string;
737
+ };
738
+ parent?: Node$1;
739
+ }
740
+ interface JSXElement$1 extends Span$1 {
741
+ type: "JSXElement";
742
+ openingElement: JSXOpeningElement$1;
743
+ children: Array<JSXChild>;
744
+ closingElement: JSXClosingElement | null;
745
+ parent?: Node$1;
746
+ }
747
+ interface JSXOpeningElement$1 extends Span$1 {
748
+ type: "JSXOpeningElement";
749
+ name: JSXElementName;
750
+ typeArguments?: TSTypeParameterInstantiation$1 | null;
751
+ attributes: Array<JSXAttributeItem>;
752
+ selfClosing: boolean;
753
+ parent?: Node$1;
754
+ }
755
+ interface JSXClosingElement extends Span$1 {
756
+ type: "JSXClosingElement";
757
+ name: JSXElementName;
758
+ parent?: Node$1;
759
+ }
760
+ interface JSXFragment$1 extends Span$1 {
761
+ type: "JSXFragment";
762
+ openingFragment: JSXOpeningFragment;
763
+ children: Array<JSXChild>;
764
+ closingFragment: JSXClosingFragment;
765
+ parent?: Node$1;
766
+ }
767
+ interface JSXOpeningFragment extends Span$1 {
768
+ type: "JSXOpeningFragment";
769
+ attributes?: [];
770
+ selfClosing?: false;
771
+ parent?: Node$1;
772
+ }
773
+ interface JSXClosingFragment extends Span$1 {
774
+ type: "JSXClosingFragment";
775
+ parent?: Node$1;
776
+ }
777
+ type JSXElementName = JSXIdentifier$1 | JSXNamespacedName$1 | JSXMemberExpression$1;
778
+ interface JSXNamespacedName$1 extends Span$1 {
779
+ type: "JSXNamespacedName";
780
+ namespace: JSXIdentifier$1;
781
+ name: JSXIdentifier$1;
782
+ parent?: Node$1;
783
+ }
784
+ interface JSXMemberExpression$1 extends Span$1 {
785
+ type: "JSXMemberExpression";
786
+ object: JSXMemberExpressionObject;
787
+ property: JSXIdentifier$1;
788
+ parent?: Node$1;
789
+ }
790
+ type JSXMemberExpressionObject = JSXIdentifier$1 | JSXMemberExpression$1;
791
+ interface JSXExpressionContainer$1 extends Span$1 {
792
+ type: "JSXExpressionContainer";
793
+ expression: JSXExpression;
794
+ parent?: Node$1;
795
+ }
796
+ type JSXExpression = JSXEmptyExpression | Expression$1;
797
+ interface JSXEmptyExpression extends Span$1 {
798
+ type: "JSXEmptyExpression";
799
+ parent?: Node$1;
800
+ }
801
+ type JSXAttributeItem = JSXAttribute$1 | JSXSpreadAttribute$1;
802
+ interface JSXAttribute$1 extends Span$1 {
803
+ type: "JSXAttribute";
804
+ name: JSXAttributeName;
805
+ value: JSXAttributeValue | null;
806
+ parent?: Node$1;
807
+ }
808
+ interface JSXSpreadAttribute$1 extends Span$1 {
809
+ type: "JSXSpreadAttribute";
810
+ argument: Expression$1;
811
+ parent?: Node$1;
812
+ }
813
+ type JSXAttributeName = JSXIdentifier$1 | JSXNamespacedName$1;
814
+ type JSXAttributeValue = StringLiteral$1 | JSXExpressionContainer$1 | JSXElement$1 | JSXFragment$1;
815
+ interface JSXIdentifier$1 extends Span$1 {
816
+ type: "JSXIdentifier";
817
+ name: string;
818
+ parent?: Node$1;
819
+ }
820
+ type JSXChild = JSXText$1 | JSXElement$1 | JSXFragment$1 | JSXExpressionContainer$1 | JSXSpreadChild$1;
821
+ interface JSXSpreadChild$1 extends Span$1 {
822
+ type: "JSXSpreadChild";
823
+ expression: Expression$1;
824
+ parent?: Node$1;
825
+ }
826
+ interface JSXText$1 extends Span$1 {
827
+ type: "JSXText";
828
+ value: string;
829
+ raw: string | null;
830
+ parent?: Node$1;
831
+ }
832
+ interface TSThisParameter extends Span$1 {
833
+ type: "Identifier";
834
+ decorators: [];
835
+ name: "this";
836
+ optional: false;
837
+ typeAnnotation: TSTypeAnnotation$1 | null;
838
+ parent?: Node$1;
839
+ }
840
+ interface TSEnumDeclaration$1 extends Span$1 {
841
+ type: "TSEnumDeclaration";
842
+ id: BindingIdentifier$1;
843
+ body: TSEnumBody;
844
+ const: boolean;
845
+ declare: boolean;
846
+ parent?: Node$1;
847
+ }
848
+ interface TSEnumBody extends Span$1 {
849
+ type: "TSEnumBody";
850
+ members: Array<TSEnumMember>;
851
+ parent?: Node$1;
852
+ }
853
+ interface TSEnumMember extends Span$1 {
854
+ type: "TSEnumMember";
855
+ id: TSEnumMemberName;
856
+ initializer: Expression$1 | null;
857
+ computed: boolean;
858
+ parent?: Node$1;
859
+ }
860
+ type TSEnumMemberName = IdentifierName$1 | StringLiteral$1 | TemplateLiteral$1;
861
+ interface TSTypeAnnotation$1 extends Span$1 {
862
+ type: "TSTypeAnnotation";
863
+ typeAnnotation: TSType$1;
864
+ parent?: Node$1;
865
+ }
866
+ interface TSLiteralType$1 extends Span$1 {
867
+ type: "TSLiteralType";
868
+ literal: TSLiteral;
869
+ parent?: Node$1;
870
+ }
871
+ type TSLiteral = BooleanLiteral$1 | NumericLiteral$1 | BigIntLiteral$1 | StringLiteral$1 | TemplateLiteral$1 | UnaryExpression$1;
872
+ type TSType$1 = TSAnyKeyword | TSBigIntKeyword | TSBooleanKeyword | TSIntrinsicKeyword | TSNeverKeyword | TSNullKeyword | TSNumberKeyword | TSObjectKeyword | TSStringKeyword | TSSymbolKeyword | TSUndefinedKeyword | TSUnknownKeyword | TSVoidKeyword | TSArrayType$1 | TSConditionalType$1 | TSConstructorType$1 | TSFunctionType$1 | TSImportType$1 | TSIndexedAccessType$1 | TSInferType$1 | TSIntersectionType$1 | TSLiteralType$1 | TSMappedType$1 | TSNamedTupleMember$1 | TSTemplateLiteralType$1 | TSThisType | TSTupleType$1 | TSTypeLiteral | TSTypeOperator$1 | TSTypePredicate$1 | TSTypeQuery$1 | TSTypeReference$1 | TSUnionType$1 | TSParenthesizedType$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType;
873
+ interface TSConditionalType$1 extends Span$1 {
874
+ type: "TSConditionalType";
875
+ checkType: TSType$1;
876
+ extendsType: TSType$1;
877
+ trueType: TSType$1;
878
+ falseType: TSType$1;
879
+ parent?: Node$1;
880
+ }
881
+ interface TSUnionType$1 extends Span$1 {
882
+ type: "TSUnionType";
883
+ types: Array<TSType$1>;
884
+ parent?: Node$1;
885
+ }
886
+ interface TSIntersectionType$1 extends Span$1 {
887
+ type: "TSIntersectionType";
888
+ types: Array<TSType$1>;
889
+ parent?: Node$1;
890
+ }
891
+ interface TSParenthesizedType$1 extends Span$1 {
892
+ type: "TSParenthesizedType";
893
+ typeAnnotation: TSType$1;
894
+ parent?: Node$1;
895
+ }
896
+ interface TSTypeOperator$1 extends Span$1 {
897
+ type: "TSTypeOperator";
898
+ operator: TSTypeOperatorOperator;
899
+ typeAnnotation: TSType$1;
900
+ parent?: Node$1;
901
+ }
902
+ type TSTypeOperatorOperator = "keyof" | "unique" | "readonly";
903
+ interface TSArrayType$1 extends Span$1 {
904
+ type: "TSArrayType";
905
+ elementType: TSType$1;
906
+ parent?: Node$1;
907
+ }
908
+ interface TSIndexedAccessType$1 extends Span$1 {
909
+ type: "TSIndexedAccessType";
910
+ objectType: TSType$1;
911
+ indexType: TSType$1;
912
+ parent?: Node$1;
913
+ }
914
+ interface TSTupleType$1 extends Span$1 {
915
+ type: "TSTupleType";
916
+ elementTypes: Array<TSTupleElement>;
917
+ parent?: Node$1;
918
+ }
919
+ interface TSNamedTupleMember$1 extends Span$1 {
920
+ type: "TSNamedTupleMember";
921
+ label: IdentifierName$1;
922
+ elementType: TSTupleElement;
923
+ optional: boolean;
924
+ parent?: Node$1;
925
+ }
926
+ interface TSOptionalType$1 extends Span$1 {
927
+ type: "TSOptionalType";
928
+ typeAnnotation: TSType$1;
929
+ parent?: Node$1;
930
+ }
931
+ interface TSRestType$1 extends Span$1 {
932
+ type: "TSRestType";
933
+ typeAnnotation: TSType$1;
934
+ parent?: Node$1;
935
+ }
936
+ type TSTupleElement = TSOptionalType$1 | TSRestType$1 | TSType$1;
937
+ interface TSAnyKeyword extends Span$1 {
938
+ type: "TSAnyKeyword";
939
+ parent?: Node$1;
940
+ }
941
+ interface TSStringKeyword extends Span$1 {
942
+ type: "TSStringKeyword";
943
+ parent?: Node$1;
944
+ }
945
+ interface TSBooleanKeyword extends Span$1 {
946
+ type: "TSBooleanKeyword";
947
+ parent?: Node$1;
948
+ }
949
+ interface TSNumberKeyword extends Span$1 {
950
+ type: "TSNumberKeyword";
951
+ parent?: Node$1;
952
+ }
953
+ interface TSNeverKeyword extends Span$1 {
954
+ type: "TSNeverKeyword";
955
+ parent?: Node$1;
956
+ }
957
+ interface TSIntrinsicKeyword extends Span$1 {
958
+ type: "TSIntrinsicKeyword";
959
+ parent?: Node$1;
960
+ }
961
+ interface TSUnknownKeyword extends Span$1 {
962
+ type: "TSUnknownKeyword";
963
+ parent?: Node$1;
964
+ }
965
+ interface TSNullKeyword extends Span$1 {
966
+ type: "TSNullKeyword";
967
+ parent?: Node$1;
968
+ }
969
+ interface TSUndefinedKeyword extends Span$1 {
970
+ type: "TSUndefinedKeyword";
971
+ parent?: Node$1;
972
+ }
973
+ interface TSVoidKeyword extends Span$1 {
974
+ type: "TSVoidKeyword";
975
+ parent?: Node$1;
976
+ }
977
+ interface TSSymbolKeyword extends Span$1 {
978
+ type: "TSSymbolKeyword";
979
+ parent?: Node$1;
980
+ }
981
+ interface TSThisType extends Span$1 {
982
+ type: "TSThisType";
983
+ parent?: Node$1;
984
+ }
985
+ interface TSObjectKeyword extends Span$1 {
986
+ type: "TSObjectKeyword";
987
+ parent?: Node$1;
988
+ }
989
+ interface TSBigIntKeyword extends Span$1 {
990
+ type: "TSBigIntKeyword";
991
+ parent?: Node$1;
992
+ }
993
+ interface TSTypeReference$1 extends Span$1 {
994
+ type: "TSTypeReference";
995
+ typeName: TSTypeName;
996
+ typeArguments: TSTypeParameterInstantiation$1 | null;
997
+ parent?: Node$1;
998
+ }
999
+ type TSTypeName = IdentifierReference$1 | TSQualifiedName$1 | ThisExpression$1;
1000
+ interface TSQualifiedName$1 extends Span$1 {
1001
+ type: "TSQualifiedName";
1002
+ left: TSTypeName;
1003
+ right: IdentifierName$1;
1004
+ parent?: Node$1;
1005
+ }
1006
+ interface TSTypeParameterInstantiation$1 extends Span$1 {
1007
+ type: "TSTypeParameterInstantiation";
1008
+ params: Array<TSType$1>;
1009
+ parent?: Node$1;
1010
+ }
1011
+ interface TSTypeParameter extends Span$1 {
1012
+ type: "TSTypeParameter";
1013
+ name: BindingIdentifier$1;
1014
+ constraint: TSType$1 | null;
1015
+ default: TSType$1 | null;
1016
+ in: boolean;
1017
+ out: boolean;
1018
+ const: boolean;
1019
+ parent?: Node$1;
1020
+ }
1021
+ interface TSTypeParameterDeclaration$1 extends Span$1 {
1022
+ type: "TSTypeParameterDeclaration";
1023
+ params: Array<TSTypeParameter>;
1024
+ parent?: Node$1;
1025
+ }
1026
+ interface TSTypeAliasDeclaration$1 extends Span$1 {
1027
+ type: "TSTypeAliasDeclaration";
1028
+ id: BindingIdentifier$1;
1029
+ typeParameters: TSTypeParameterDeclaration$1 | null;
1030
+ typeAnnotation: TSType$1;
1031
+ declare: boolean;
1032
+ parent?: Node$1;
1033
+ }
1034
+ type TSAccessibility = "private" | "protected" | "public";
1035
+ interface TSClassImplements extends Span$1 {
1036
+ type: "TSClassImplements";
1037
+ expression: IdentifierReference$1 | ThisExpression$1 | MemberExpression$1;
1038
+ typeArguments: TSTypeParameterInstantiation$1 | null;
1039
+ parent?: Node$1;
1040
+ }
1041
+ interface TSInterfaceDeclaration$1 extends Span$1 {
1042
+ type: "TSInterfaceDeclaration";
1043
+ id: BindingIdentifier$1;
1044
+ typeParameters: TSTypeParameterDeclaration$1 | null;
1045
+ extends: Array<TSInterfaceHeritage>;
1046
+ body: TSInterfaceBody$1;
1047
+ declare: boolean;
1048
+ parent?: Node$1;
1049
+ }
1050
+ interface TSInterfaceBody$1 extends Span$1 {
1051
+ type: "TSInterfaceBody";
1052
+ body: Array<TSSignature>;
1053
+ parent?: Node$1;
1054
+ }
1055
+ interface TSPropertySignature$1 extends Span$1 {
1056
+ type: "TSPropertySignature";
1057
+ computed: boolean;
1058
+ optional: boolean;
1059
+ readonly: boolean;
1060
+ key: PropertyKey;
1061
+ typeAnnotation: TSTypeAnnotation$1 | null;
1062
+ accessibility: null;
1063
+ static: false;
1064
+ parent?: Node$1;
1065
+ }
1066
+ type TSSignature = TSIndexSignature$1 | TSPropertySignature$1 | TSCallSignatureDeclaration$1 | TSConstructSignatureDeclaration$1 | TSMethodSignature$1;
1067
+ interface TSIndexSignature$1 extends Span$1 {
1068
+ type: "TSIndexSignature";
1069
+ parameters: Array<TSIndexSignatureName>;
1070
+ typeAnnotation: TSTypeAnnotation$1;
1071
+ readonly: boolean;
1072
+ static: boolean;
1073
+ accessibility: null;
1074
+ parent?: Node$1;
1075
+ }
1076
+ interface TSCallSignatureDeclaration$1 extends Span$1 {
1077
+ type: "TSCallSignatureDeclaration";
1078
+ typeParameters: TSTypeParameterDeclaration$1 | null;
1079
+ params: ParamPattern$1[];
1080
+ returnType: TSTypeAnnotation$1 | null;
1081
+ parent?: Node$1;
1082
+ }
1083
+ type TSMethodSignatureKind = "method" | "get" | "set";
1084
+ interface TSMethodSignature$1 extends Span$1 {
1085
+ type: "TSMethodSignature";
1086
+ key: PropertyKey;
1087
+ computed: boolean;
1088
+ optional: boolean;
1089
+ kind: TSMethodSignatureKind;
1090
+ typeParameters: TSTypeParameterDeclaration$1 | null;
1091
+ params: ParamPattern$1[];
1092
+ returnType: TSTypeAnnotation$1 | null;
1093
+ accessibility: null;
1094
+ readonly: false;
1095
+ static: false;
1096
+ parent?: Node$1;
1097
+ }
1098
+ interface TSConstructSignatureDeclaration$1 extends Span$1 {
1099
+ type: "TSConstructSignatureDeclaration";
1100
+ typeParameters: TSTypeParameterDeclaration$1 | null;
1101
+ params: ParamPattern$1[];
1102
+ returnType: TSTypeAnnotation$1 | null;
1103
+ parent?: Node$1;
1104
+ }
1105
+ interface TSIndexSignatureName extends Span$1 {
1106
+ type: "Identifier";
1107
+ decorators: [];
1108
+ name: string;
1109
+ optional: false;
1110
+ typeAnnotation: TSTypeAnnotation$1;
1111
+ parent?: Node$1;
1112
+ }
1113
+ interface TSInterfaceHeritage extends Span$1 {
1114
+ type: "TSInterfaceHeritage";
1115
+ expression: Expression$1;
1116
+ typeArguments: TSTypeParameterInstantiation$1 | null;
1117
+ parent?: Node$1;
1118
+ }
1119
+ interface TSTypePredicate$1 extends Span$1 {
1120
+ type: "TSTypePredicate";
1121
+ parameterName: TSTypePredicateName;
1122
+ asserts: boolean;
1123
+ typeAnnotation: TSTypeAnnotation$1 | null;
1124
+ parent?: Node$1;
1125
+ }
1126
+ type TSTypePredicateName = IdentifierName$1 | TSThisType;
1127
+ interface TSModuleDeclaration$1 extends Span$1 {
1128
+ type: "TSModuleDeclaration";
1129
+ id: BindingIdentifier$1 | StringLiteral$1 | TSQualifiedName$1;
1130
+ body: TSModuleBlock$1 | null;
1131
+ kind: TSModuleDeclarationKind;
1132
+ declare: boolean;
1133
+ global: false;
1134
+ parent?: Node$1;
1135
+ }
1136
+ type TSModuleDeclarationKind = "module" | "namespace";
1137
+ interface TSGlobalDeclaration extends Span$1 {
1138
+ type: "TSModuleDeclaration";
1139
+ id: IdentifierName$1;
1140
+ body: TSModuleBlock$1;
1141
+ kind: "global";
1142
+ declare: boolean;
1143
+ global: true;
1144
+ parent?: Node$1;
1145
+ }
1146
+ interface TSModuleBlock$1 extends Span$1 {
1147
+ type: "TSModuleBlock";
1148
+ body: Array<Directive | Statement$1>;
1149
+ parent?: Node$1;
1150
+ }
1151
+ interface TSTypeLiteral extends Span$1 {
1152
+ type: "TSTypeLiteral";
1153
+ members: Array<TSSignature>;
1154
+ parent?: Node$1;
1155
+ }
1156
+ interface TSInferType$1 extends Span$1 {
1157
+ type: "TSInferType";
1158
+ typeParameter: TSTypeParameter;
1159
+ parent?: Node$1;
1160
+ }
1161
+ interface TSTypeQuery$1 extends Span$1 {
1162
+ type: "TSTypeQuery";
1163
+ exprName: TSTypeQueryExprName;
1164
+ typeArguments: TSTypeParameterInstantiation$1 | null;
1165
+ parent?: Node$1;
1166
+ }
1167
+ type TSTypeQueryExprName = TSImportType$1 | TSTypeName;
1168
+ interface TSImportType$1 extends Span$1 {
1169
+ type: "TSImportType";
1170
+ source: StringLiteral$1;
1171
+ options: ObjectExpression$1 | null;
1172
+ qualifier: TSImportTypeQualifier | null;
1173
+ typeArguments: TSTypeParameterInstantiation$1 | null;
1174
+ parent?: Node$1;
1175
+ }
1176
+ type TSImportTypeQualifier = IdentifierName$1 | TSImportTypeQualifiedName;
1177
+ interface TSImportTypeQualifiedName extends Span$1 {
1178
+ type: "TSQualifiedName";
1179
+ left: TSImportTypeQualifier;
1180
+ right: IdentifierName$1;
1181
+ parent?: Node$1;
1182
+ }
1183
+ interface TSFunctionType$1 extends Span$1 {
1184
+ type: "TSFunctionType";
1185
+ typeParameters: TSTypeParameterDeclaration$1 | null;
1186
+ params: ParamPattern$1[];
1187
+ returnType: TSTypeAnnotation$1;
1188
+ parent?: Node$1;
1189
+ }
1190
+ interface TSConstructorType$1 extends Span$1 {
1191
+ type: "TSConstructorType";
1192
+ abstract: boolean;
1193
+ typeParameters: TSTypeParameterDeclaration$1 | null;
1194
+ params: ParamPattern$1[];
1195
+ returnType: TSTypeAnnotation$1;
1196
+ parent?: Node$1;
1197
+ }
1198
+ interface TSMappedType$1 extends Span$1 {
1199
+ type: "TSMappedType";
1200
+ key: BindingIdentifier$1;
1201
+ constraint: TSType$1;
1202
+ nameType: TSType$1 | null;
1203
+ typeAnnotation: TSType$1 | null;
1204
+ optional: TSMappedTypeModifierOperator | false;
1205
+ readonly: TSMappedTypeModifierOperator | null;
1206
+ parent?: Node$1;
1207
+ }
1208
+ type TSMappedTypeModifierOperator = true | "+" | "-";
1209
+ interface TSTemplateLiteralType$1 extends Span$1 {
1210
+ type: "TSTemplateLiteralType";
1211
+ quasis: Array<TemplateElement$1>;
1212
+ types: Array<TSType$1>;
1213
+ parent?: Node$1;
1214
+ }
1215
+ interface TSAsExpression$1 extends Span$1 {
1216
+ type: "TSAsExpression";
1217
+ expression: Expression$1;
1218
+ typeAnnotation: TSType$1;
1219
+ parent?: Node$1;
1220
+ }
1221
+ interface TSSatisfiesExpression$1 extends Span$1 {
1222
+ type: "TSSatisfiesExpression";
1223
+ expression: Expression$1;
1224
+ typeAnnotation: TSType$1;
1225
+ parent?: Node$1;
1226
+ }
1227
+ interface TSTypeAssertion$1 extends Span$1 {
1228
+ type: "TSTypeAssertion";
1229
+ typeAnnotation: TSType$1;
1230
+ expression: Expression$1;
1231
+ parent?: Node$1;
1232
+ }
1233
+ interface TSImportEqualsDeclaration$1 extends Span$1 {
1234
+ type: "TSImportEqualsDeclaration";
1235
+ id: BindingIdentifier$1;
1236
+ moduleReference: TSModuleReference;
1237
+ importKind: ImportOrExportKind;
1238
+ parent?: Node$1;
1239
+ }
1240
+ type TSModuleReference = TSExternalModuleReference | IdentifierReference$1 | TSQualifiedName$1;
1241
+ interface TSExternalModuleReference extends Span$1 {
1242
+ type: "TSExternalModuleReference";
1243
+ expression: StringLiteral$1;
1244
+ parent?: Node$1;
1245
+ }
1246
+ interface TSNonNullExpression$1 extends Span$1 {
1247
+ type: "TSNonNullExpression";
1248
+ expression: Expression$1;
1249
+ parent?: Node$1;
1250
+ }
1251
+ interface Decorator$1 extends Span$1 {
1252
+ type: "Decorator";
1253
+ expression: Expression$1;
1254
+ parent?: Node$1;
1255
+ }
1256
+ interface TSExportAssignment$1 extends Span$1 {
1257
+ type: "TSExportAssignment";
1258
+ expression: Expression$1;
1259
+ parent?: Node$1;
1260
+ }
1261
+ interface TSNamespaceExportDeclaration$1 extends Span$1 {
1262
+ type: "TSNamespaceExportDeclaration";
1263
+ id: IdentifierName$1;
1264
+ parent?: Node$1;
1265
+ }
1266
+ interface TSInstantiationExpression$1 extends Span$1 {
1267
+ type: "TSInstantiationExpression";
1268
+ expression: Expression$1;
1269
+ typeArguments: TSTypeParameterInstantiation$1;
1270
+ parent?: Node$1;
1271
+ }
1272
+ type ImportOrExportKind = "value" | "type";
1273
+ interface JSDocNullableType$1 extends Span$1 {
1274
+ type: "TSJSDocNullableType";
1275
+ typeAnnotation: TSType$1;
1276
+ postfix: boolean;
1277
+ parent?: Node$1;
1278
+ }
1279
+ interface JSDocNonNullableType$1 extends Span$1 {
1280
+ type: "TSJSDocNonNullableType";
1281
+ typeAnnotation: TSType$1;
1282
+ postfix: boolean;
1283
+ parent?: Node$1;
1284
+ }
1285
+ interface JSDocUnknownType extends Span$1 {
1286
+ type: "TSJSDocUnknownType";
1287
+ parent?: Node$1;
1288
+ }
1289
+ type ModuleKind = "script" | "module" | "commonjs";
1290
+ interface Span$1 {
1291
+ start: number;
1292
+ end: number;
1293
+ range?: [number, number];
1294
+ }
1295
+ type AssignmentOperator = "=" | "+=" | "-=" | "*=" | "/=" | "%=" | "**=" | "<<=" | ">>=" | ">>>=" | "|=" | "^=" | "&=" | "||=" | "&&=" | "??=";
1296
+ type BinaryOperator = "==" | "!=" | "===" | "!==" | "<" | "<=" | ">" | ">=" | "+" | "-" | "*" | "/" | "%" | "**" | "<<" | ">>" | ">>>" | "|" | "^" | "&" | "in" | "instanceof";
1297
+ type LogicalOperator = "||" | "&&" | "??";
1298
+ type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
1299
+ type UpdateOperator = "++" | "--";
1300
+ type Node$1 = Program$1 | IdentifierName$1 | IdentifierReference$1 | BindingIdentifier$1 | LabelIdentifier$1 | ThisExpression$1 | ArrayExpression$1 | ObjectExpression$1 | ObjectProperty$1 | TemplateLiteral$1 | TaggedTemplateExpression$1 | TemplateElement$1 | ComputedMemberExpression | StaticMemberExpression$1 | PrivateFieldExpression | CallExpression$1 | NewExpression$1 | MetaProperty$1 | SpreadElement$1 | UpdateExpression$1 | UnaryExpression$1 | BinaryExpression$1 | PrivateInExpression$1 | LogicalExpression$1 | ConditionalExpression$1 | AssignmentExpression$1 | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression$1 | Super$1 | AwaitExpression | ChainExpression$1 | ParenthesizedExpression | Directive | Hashbang | BlockStatement$1 | VariableDeclaration$1 | VariableDeclarator$1 | EmptyStatement$1 | ExpressionStatement$1 | IfStatement$1 | DoWhileStatement$1 | WhileStatement$1 | ForStatement$1 | ForInStatement$1 | ForOfStatement$1 | ContinueStatement$1 | BreakStatement$1 | ReturnStatement$1 | WithStatement$1 | SwitchStatement$1 | SwitchCase$1 | LabeledStatement$1 | ThrowStatement$1 | TryStatement$1 | CatchClause$1 | DebuggerStatement | AssignmentPattern$1 | ObjectPattern | BindingProperty$1 | ArrayPattern$1 | BindingRestElement$1 | Function$1 | FunctionBody | ArrowFunctionExpression$1 | YieldExpression$1 | Class$1 | ClassBody$1 | MethodDefinition$1 | PropertyDefinition$1 | PrivateIdentifier$1 | StaticBlock$1 | AccessorProperty$1 | ImportExpression$1 | ImportDeclaration$1 | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute$1 | ExportNamedDeclaration$1 | ExportDefaultDeclaration$1 | ExportAllDeclaration$1 | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral$1 | NullLiteral$1 | NumericLiteral$1 | StringLiteral$1 | BigIntLiteral$1 | RegExpLiteral$1 | JSXElement$1 | JSXOpeningElement$1 | JSXClosingElement | JSXFragment$1 | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName$1 | JSXMemberExpression$1 | JSXExpressionContainer$1 | JSXEmptyExpression | JSXAttribute$1 | JSXSpreadAttribute$1 | JSXIdentifier$1 | JSXSpreadChild$1 | JSXText$1 | TSThisParameter | TSEnumDeclaration$1 | TSEnumBody | TSEnumMember | TSTypeAnnotation$1 | TSLiteralType$1 | TSConditionalType$1 | TSUnionType$1 | TSIntersectionType$1 | TSParenthesizedType$1 | TSTypeOperator$1 | TSArrayType$1 | TSIndexedAccessType$1 | TSTupleType$1 | TSNamedTupleMember$1 | TSOptionalType$1 | TSRestType$1 | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference$1 | TSQualifiedName$1 | TSTypeParameterInstantiation$1 | TSTypeParameter | TSTypeParameterDeclaration$1 | TSTypeAliasDeclaration$1 | TSClassImplements | TSInterfaceDeclaration$1 | TSInterfaceBody$1 | TSPropertySignature$1 | TSIndexSignature$1 | TSCallSignatureDeclaration$1 | TSMethodSignature$1 | TSConstructSignatureDeclaration$1 | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate$1 | TSModuleDeclaration$1 | TSGlobalDeclaration | TSModuleBlock$1 | TSTypeLiteral | TSInferType$1 | TSTypeQuery$1 | TSImportType$1 | TSImportTypeQualifiedName | TSFunctionType$1 | TSConstructorType$1 | TSMappedType$1 | TSTemplateLiteralType$1 | TSAsExpression$1 | TSSatisfiesExpression$1 | TSTypeAssertion$1 | TSImportEqualsDeclaration$1 | TSExternalModuleReference | TSNonNullExpression$1 | Decorator$1 | TSExportAssignment$1 | TSNamespaceExportDeclaration$1 | TSInstantiationExpression$1 | JSDocNullableType$1 | JSDocNonNullableType$1 | JSDocUnknownType | ParamPattern$1;
1301
+ //#endregion
1302
+ //#region src/mod.d.ts
1303
+ type Simplify<T> = { [K in keyof T]: T[K]; } & {};
1304
+ type Built<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Built<T[number]>> : T) : T extends Span$1 ? { [K in keyof T as K extends keyof Span$1 ? never : K]: Child<T[K]>; } & Partial<Pick<T, keyof Span$1>> : T;
1305
+ type Child<T> = T extends null | undefined ? T : T extends readonly unknown[] ? (number extends T['length'] ? Array<Child<T[number]>> : T) : T extends Span$1 ? Built<T> | T : T;
1306
+ export type Span = Span$1;
1307
+ export type Program = Simplify<Built<Program$1>>;
1308
+ export type Expression = Simplify<Built<Expression$1>> | Expression$1;
1309
+ export type Statement = Simplify<Built<Statement$1>> | Statement$1;
1310
+ export type Node = Simplify<Built<Node$1>> | Node$1;
1311
+ export type AccessorProperty = Simplify<Built<AccessorProperty$1>>;
1312
+ export type Argument = Simplify<Built<Argument$1>>;
1313
+ export type ArrayExpression = Simplify<Built<ArrayExpression$1>>;
1314
+ export type ArrayPattern = Simplify<Built<ArrayPattern$1>>;
1315
+ export type ArrowFunctionExpression = Simplify<Built<ArrowFunctionExpression$1>>;
1316
+ export type AssignmentExpression = Simplify<Built<AssignmentExpression$1>>;
1317
+ export type AssignmentPattern = Simplify<Built<AssignmentPattern$1>>;
1318
+ export type BigIntLiteral = Simplify<Built<BigIntLiteral$1>>;
1319
+ export type BinaryExpression = Simplify<Built<BinaryExpression$1>>;
1320
+ export type BindingIdentifier = Simplify<Built<BindingIdentifier$1>>;
1321
+ export type BindingPattern = Simplify<Built<BindingPattern$1>>;
1322
+ export type BindingProperty = Simplify<Built<BindingProperty$1>>;
1323
+ export type BindingRestElement = Simplify<Built<BindingRestElement$1>>;
1324
+ export type BlockStatement = Simplify<Built<BlockStatement$1>>;
1325
+ export type BooleanLiteral = Simplify<Built<BooleanLiteral$1>>;
1326
+ export type BreakStatement = Simplify<Built<BreakStatement$1>>;
1327
+ export type CallExpression = Simplify<Built<CallExpression$1>>;
1328
+ export type CatchClause = Simplify<Built<CatchClause$1>>;
1329
+ export type ChainExpression = Simplify<Built<ChainExpression$1>>;
1330
+ export type Class = Simplify<Built<Class$1>>;
1331
+ export type ClassBody = Simplify<Built<ClassBody$1>>;
1332
+ export type ConditionalExpression = Simplify<Built<ConditionalExpression$1>>;
1333
+ export type ContinueStatement = Simplify<Built<ContinueStatement$1>>;
1334
+ export type Decorator = Simplify<Built<Decorator$1>>;
1335
+ export type DoWhileStatement = Simplify<Built<DoWhileStatement$1>>;
1336
+ export type EmptyStatement = Simplify<Built<EmptyStatement$1>>;
1337
+ export type ExportAllDeclaration = Simplify<Built<ExportAllDeclaration$1>>;
1338
+ export type ExportDefaultDeclaration = Simplify<Built<ExportDefaultDeclaration$1>>;
1339
+ export type ExportNamedDeclaration = Simplify<Built<ExportNamedDeclaration$1>>;
1340
+ export type ExpressionStatement = Simplify<Built<ExpressionStatement$1>>;
1341
+ export type ForInStatement = Simplify<Built<ForInStatement$1>>;
1342
+ export type ForOfStatement = Simplify<Built<ForOfStatement$1>>;
1343
+ export type ForStatement = Simplify<Built<ForStatement$1>>;
1344
+ export type Function = Simplify<Built<Function$1>>;
1345
+ export type IdentifierName = Simplify<Built<IdentifierName$1>>;
1346
+ export type IdentifierReference = Simplify<Built<IdentifierReference$1>>;
1347
+ export type IfStatement = Simplify<Built<IfStatement$1>>;
1348
+ export type ImportAttribute = Simplify<Built<ImportAttribute$1>>;
1349
+ export type ImportDeclaration = Simplify<Built<ImportDeclaration$1>>;
1350
+ export type ImportExpression = Simplify<Built<ImportExpression$1>>;
1351
+ export type JSDocNonNullableType = Simplify<Built<JSDocNonNullableType$1>>;
1352
+ export type JSDocNullableType = Simplify<Built<JSDocNullableType$1>>;
1353
+ export type JSXAttribute = Simplify<Built<JSXAttribute$1>>;
1354
+ export type JSXElement = Simplify<Built<JSXElement$1>>;
1355
+ export type JSXExpressionContainer = Simplify<Built<JSXExpressionContainer$1>>;
1356
+ export type JSXFragment = Simplify<Built<JSXFragment$1>>;
1357
+ export type JSXIdentifier = Simplify<Built<JSXIdentifier$1>>;
1358
+ export type JSXMemberExpression = Simplify<Built<JSXMemberExpression$1>>;
1359
+ export type JSXNamespacedName = Simplify<Built<JSXNamespacedName$1>>;
1360
+ export type JSXOpeningElement = Simplify<Built<JSXOpeningElement$1>>;
1361
+ export type JSXSpreadAttribute = Simplify<Built<JSXSpreadAttribute$1>>;
1362
+ export type JSXSpreadChild = Simplify<Built<JSXSpreadChild$1>>;
1363
+ export type JSXText = Simplify<Built<JSXText$1>>;
1364
+ export type LabelIdentifier = Simplify<Built<LabelIdentifier$1>>;
1365
+ export type LabeledStatement = Simplify<Built<LabeledStatement$1>>;
1366
+ export type LogicalExpression = Simplify<Built<LogicalExpression$1>>;
1367
+ export type MemberExpression = Simplify<Built<MemberExpression$1>>;
1368
+ export type MetaProperty = Simplify<Built<MetaProperty$1>>;
1369
+ export type MethodDefinition = Simplify<Built<MethodDefinition$1>>;
1370
+ export type NewExpression = Simplify<Built<NewExpression$1>>;
1371
+ export type NullLiteral = Simplify<Built<NullLiteral$1>>;
1372
+ export type NumericLiteral = Simplify<Built<NumericLiteral$1>>;
1373
+ export type ObjectExpression = Simplify<Built<ObjectExpression$1>>;
1374
+ export type ObjectProperty = Simplify<Built<ObjectProperty$1>>;
1375
+ export type ParamPattern = Simplify<Built<ParamPattern$1>>;
1376
+ export type PrivateIdentifier = Simplify<Built<PrivateIdentifier$1>>;
1377
+ export type PrivateInExpression = Simplify<Built<PrivateInExpression$1>>;
1378
+ export type PropertyDefinition = Simplify<Built<PropertyDefinition$1>>;
1379
+ export type RegExpLiteral = Simplify<Built<RegExpLiteral$1>>;
1380
+ export type ReturnStatement = Simplify<Built<ReturnStatement$1>>;
1381
+ export type SequenceExpression = Simplify<Built<SequenceExpression$1>>;
1382
+ export type SimpleAssignmentTarget = Simplify<Built<SimpleAssignmentTarget$1>> | SimpleAssignmentTarget$1;
1383
+ export type SpreadElement = Simplify<Built<SpreadElement$1>>;
1384
+ export type StaticBlock = Simplify<Built<StaticBlock$1>>;
1385
+ export type StaticMemberExpression = Simplify<Built<StaticMemberExpression$1>>;
1386
+ export type StringLiteral = Simplify<Built<StringLiteral$1>>;
1387
+ export type Super = Simplify<Built<Super$1>>;
1388
+ export type SwitchCase = Simplify<Built<SwitchCase$1>>;
1389
+ export type SwitchStatement = Simplify<Built<SwitchStatement$1>>;
1390
+ export type TaggedTemplateExpression = Simplify<Built<TaggedTemplateExpression$1>>;
1391
+ export type TemplateElement = Simplify<Built<TemplateElement$1>>;
1392
+ export type TemplateLiteral = Simplify<Built<TemplateLiteral$1>>;
1393
+ export type ThisExpression = Simplify<Built<ThisExpression$1>>;
1394
+ export type ThrowStatement = Simplify<Built<ThrowStatement$1>>;
1395
+ export type TryStatement = Simplify<Built<TryStatement$1>>;
1396
+ export type TSArrayType = Simplify<Built<TSArrayType$1>>;
1397
+ export type TSAsExpression = Simplify<Built<TSAsExpression$1>>;
1398
+ export type TSCallSignatureDeclaration = Simplify<Built<TSCallSignatureDeclaration$1>>;
1399
+ export type TSConditionalType = Simplify<Built<TSConditionalType$1>>;
1400
+ export type TSConstructorType = Simplify<Built<TSConstructorType$1>>;
1401
+ export type TSConstructSignatureDeclaration = Simplify<Built<TSConstructSignatureDeclaration$1>>;
1402
+ export type TSEnumDeclaration = Simplify<Built<TSEnumDeclaration$1>>;
1403
+ export type TSExportAssignment = Simplify<Built<TSExportAssignment$1>>;
1404
+ export type TSFunctionType = Simplify<Built<TSFunctionType$1>>;
1405
+ export type TSImportEqualsDeclaration = Simplify<Built<TSImportEqualsDeclaration$1>>;
1406
+ export type TSImportType = Simplify<Built<TSImportType$1>>;
1407
+ export type TSIndexedAccessType = Simplify<Built<TSIndexedAccessType$1>>;
1408
+ export type TSIndexSignature = Simplify<Built<TSIndexSignature$1>>;
1409
+ export type TSInferType = Simplify<Built<TSInferType$1>>;
1410
+ export type TSInstantiationExpression = Simplify<Built<TSInstantiationExpression$1>>;
1411
+ export type TSInterfaceBody = Simplify<Built<TSInterfaceBody$1>>;
1412
+ export type TSInterfaceDeclaration = Simplify<Built<TSInterfaceDeclaration$1>>;
1413
+ export type TSIntersectionType = Simplify<Built<TSIntersectionType$1>>;
1414
+ export type TSLiteralType = Simplify<Built<TSLiteralType$1>>;
1415
+ export type TSMappedType = Simplify<Built<TSMappedType$1>>;
1416
+ export type TSMethodSignature = Simplify<Built<TSMethodSignature$1>>;
1417
+ export type TSModuleBlock = Simplify<Built<TSModuleBlock$1>>;
1418
+ export type TSModuleDeclaration = Simplify<Built<TSModuleDeclaration$1>>;
1419
+ export type TSNamedTupleMember = Simplify<Built<TSNamedTupleMember$1>>;
1420
+ export type TSNamespaceExportDeclaration = Simplify<Built<TSNamespaceExportDeclaration$1>>;
1421
+ export type TSNonNullExpression = Simplify<Built<TSNonNullExpression$1>>;
1422
+ export type TSOptionalType = Simplify<Built<TSOptionalType$1>>;
1423
+ export type TSParenthesizedType = Simplify<Built<TSParenthesizedType$1>>;
1424
+ export type TSPropertySignature = Simplify<Built<TSPropertySignature$1>>;
1425
+ export type TSQualifiedName = Simplify<Built<TSQualifiedName$1>>;
1426
+ export type TSRestType = Simplify<Built<TSRestType$1>>;
1427
+ export type TSSatisfiesExpression = Simplify<Built<TSSatisfiesExpression$1>>;
1428
+ export type TSTemplateLiteralType = Simplify<Built<TSTemplateLiteralType$1>>;
1429
+ export type TSTupleType = Simplify<Built<TSTupleType$1>>;
1430
+ export type TSType = Simplify<Built<TSType$1>>;
1431
+ export type TSTypeAliasDeclaration = Simplify<Built<TSTypeAliasDeclaration$1>>;
1432
+ export type TSTypeAnnotation = Simplify<Built<TSTypeAnnotation$1>>;
1433
+ export type TSTypeAssertion = Simplify<Built<TSTypeAssertion$1>>;
1434
+ export type TSTypeOperator = Simplify<Built<TSTypeOperator$1>>;
1435
+ export type TSTypeParameterDeclaration = Simplify<Built<TSTypeParameterDeclaration$1>>;
1436
+ export type TSTypeParameterInstantiation = Simplify<Built<TSTypeParameterInstantiation$1>>;
1437
+ export type TSTypePredicate = Simplify<Built<TSTypePredicate$1>>;
1438
+ export type TSTypeQuery = Simplify<Built<TSTypeQuery$1>>;
1439
+ export type TSTypeReference = Simplify<Built<TSTypeReference$1>>;
1440
+ export type TSUnionType = Simplify<Built<TSUnionType$1>>;
1441
+ export type UnaryExpression = Simplify<Built<UnaryExpression$1>>;
1442
+ export type UpdateExpression = Simplify<Built<UpdateExpression$1>>;
1443
+ export type VariableDeclaration = Simplify<Built<VariableDeclaration$1>>;
1444
+ export type VariableDeclarator = Simplify<Built<VariableDeclarator$1>>;
1445
+ export type WhileStatement = Simplify<Built<WhileStatement$1>>;
1446
+ export type WithStatement = Simplify<Built<WithStatement$1>>;
1447
+ export type YieldExpression = Simplify<Built<YieldExpression$1>>;
1448
+ export type ClassExpression = Omit<Simplify<Built<Class$1>>, 'type'> & {
1449
+ type: 'ClassExpression';
1450
+ };
1451
+ export type FunctionExpression = Omit<Simplify<Built<Function$1>>, 'type'> & {
1452
+ type: 'FunctionExpression';
1453
+ };
1454
+ export type Literal = StringLiteral | NumericLiteral | BooleanLiteral | BigIntLiteral | RegExpLiteral | NullLiteral;
1455
+ export interface Ignorer {
1456
+ readonly name: string;
1457
+ shouldIgnore(node: Node, ancestors: readonly Node[]): string | undefined;
1458
+ }
1459
+ export interface WalkVisitors {
1460
+ enter?(node: Node, ancestors: readonly Node[]): void;
1461
+ leave?(node: Node, ancestors: readonly Node[]): void;
1462
+ }
1463
+ export type Walker = (root: Node, visitors: WalkVisitors) => void;
1464
+ //#endregion