@systemfsoftware/stryker-ignorer-interface 0.1.1 → 0.1.4

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