@angular/compiler 19.2.11 → 19.2.13

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/index.d.ts CHANGED
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @license Angular v19.2.11
2
+ * @license Angular v19.2.13
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  declare const emitDistinctChangesOnlyDefaultValue = true;
8
- declare enum ViewEncapsulation {
8
+ declare enum ViewEncapsulation$1 {
9
9
  Emulated = 0,
10
10
  None = 2,
11
11
  ShadowDom = 3
12
12
  }
13
- declare enum ChangeDetectionStrategy {
13
+ declare enum ChangeDetectionStrategy$1 {
14
14
  OnPush = 0,
15
15
  Default = 1
16
16
  }
@@ -41,10 +41,10 @@ interface SchemaMetadata {
41
41
  }
42
42
  declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata;
43
43
  declare const NO_ERRORS_SCHEMA: SchemaMetadata;
44
- interface Type$1 extends Function {
44
+ interface Type$2 extends Function {
45
45
  new (...args: any[]): any;
46
46
  }
47
- declare const Type$1: FunctionConstructor;
47
+ declare const Type$2: FunctionConstructor;
48
48
  declare enum SecurityContext {
49
49
  NONE = 0,
50
50
  HTML = 1,
@@ -227,8 +227,6 @@ declare const enum AttributeMarker {
227
227
  type core_d_AttributeMarker = AttributeMarker;
228
228
  declare const core_d_AttributeMarker: typeof AttributeMarker;
229
229
  declare const core_d_CUSTOM_ELEMENTS_SCHEMA: typeof CUSTOM_ELEMENTS_SCHEMA;
230
- type core_d_ChangeDetectionStrategy = ChangeDetectionStrategy;
231
- declare const core_d_ChangeDetectionStrategy: typeof ChangeDetectionStrategy;
232
230
  type core_d_HostBinding = HostBinding;
233
231
  type core_d_HostListener = HostListener;
234
232
  type core_d_InjectFlags = InjectFlags;
@@ -249,15 +247,18 @@ type core_d_SecurityContext = SecurityContext;
249
247
  declare const core_d_SecurityContext: typeof SecurityContext;
250
248
  type core_d_SelectorFlags = SelectorFlags;
251
249
  declare const core_d_SelectorFlags: typeof SelectorFlags;
252
- type core_d_ViewEncapsulation = ViewEncapsulation;
253
- declare const core_d_ViewEncapsulation: typeof ViewEncapsulation;
254
250
  declare const core_d_emitDistinctChangesOnlyDefaultValue: typeof emitDistinctChangesOnlyDefaultValue;
255
251
  declare const core_d_parseSelectorToR3Selector: typeof parseSelectorToR3Selector;
256
252
  declare namespace core_d {
257
- export { core_d_AttributeMarker as AttributeMarker, core_d_CUSTOM_ELEMENTS_SCHEMA as CUSTOM_ELEMENTS_SCHEMA, core_d_ChangeDetectionStrategy as ChangeDetectionStrategy, core_d_InjectFlags as InjectFlags, core_d_InputFlags as InputFlags, core_d_MissingTranslationStrategy as MissingTranslationStrategy, core_d_NO_ERRORS_SCHEMA as NO_ERRORS_SCHEMA, core_d_RenderFlags as RenderFlags, core_d_SecurityContext as SecurityContext, core_d_SelectorFlags as SelectorFlags, Type$1 as Type, core_d_ViewEncapsulation as ViewEncapsulation, core_d_emitDistinctChangesOnlyDefaultValue as emitDistinctChangesOnlyDefaultValue, core_d_parseSelectorToR3Selector as parseSelectorToR3Selector };
253
+ export { core_d_AttributeMarker as AttributeMarker, core_d_CUSTOM_ELEMENTS_SCHEMA as CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, core_d_InjectFlags as InjectFlags, core_d_InputFlags as InputFlags, core_d_MissingTranslationStrategy as MissingTranslationStrategy, core_d_NO_ERRORS_SCHEMA as NO_ERRORS_SCHEMA, core_d_RenderFlags as RenderFlags, core_d_SecurityContext as SecurityContext, core_d_SelectorFlags as SelectorFlags, Type$2 as Type, ViewEncapsulation$1 as ViewEncapsulation, core_d_emitDistinctChangesOnlyDefaultValue as emitDistinctChangesOnlyDefaultValue, core_d_parseSelectorToR3Selector as parseSelectorToR3Selector };
258
254
  export type { core_d_HostBinding as HostBinding, core_d_HostListener as HostListener, core_d_Input as Input, core_d_Output as Output, core_d_R3CssSelector as R3CssSelector, core_d_R3CssSelectorList as R3CssSelectorList, core_d_SchemaMetadata as SchemaMetadata };
259
255
  }
260
256
 
257
+ declare function SECURITY_SCHEMA(): {
258
+ [k: string]: SecurityContext;
259
+ };
260
+
261
+ declare function escapeRegExp(s: string): string;
261
262
  declare class Version {
262
263
  full: string;
263
264
  readonly major: string;
@@ -279,11 +280,11 @@ interface Console {
279
280
  declare const VERSION: Version;
280
281
 
281
282
  declare class CompilerConfig {
282
- defaultEncapsulation: ViewEncapsulation | null;
283
+ defaultEncapsulation: ViewEncapsulation$1 | null;
283
284
  preserveWhitespaces: boolean;
284
285
  strictInjectionParameters: boolean;
285
286
  constructor({ defaultEncapsulation, preserveWhitespaces, strictInjectionParameters, }?: {
286
- defaultEncapsulation?: ViewEncapsulation;
287
+ defaultEncapsulation?: ViewEncapsulation$1;
287
288
  preserveWhitespaces?: boolean;
288
289
  strictInjectionParameters?: boolean;
289
290
  });
@@ -297,7 +298,7 @@ declare function preserveWhitespacesDefault(preserveWhitespacesOption: boolean |
297
298
  * This is an abstract class, rather than an interface, so that it can be used
298
299
  * as injection token.
299
300
  */
300
- declare abstract class ResourceLoader {
301
+ declare abstract class ResourceLoader$1 {
301
302
  abstract get(url: string): Promise<string> | string;
302
303
  }
303
304
 
@@ -319,7 +320,7 @@ declare class ParseSourceFile {
319
320
  url: string;
320
321
  constructor(content: string, url: string);
321
322
  }
322
- declare class ParseSourceSpan {
323
+ declare class ParseSourceSpan$1 {
323
324
  start: ParseLocation;
324
325
  end: ParseLocation;
325
326
  fullStart: ParseLocation;
@@ -356,7 +357,7 @@ declare enum ParseErrorLevel {
356
357
  }
357
358
  declare class ParseError {
358
359
  /** Location of the error. */
359
- readonly span: ParseSourceSpan;
360
+ readonly span: ParseSourceSpan$1;
360
361
  /** Error message. */
361
362
  readonly msg: string;
362
363
  /** Severity level of the error. */
@@ -368,7 +369,7 @@ declare class ParseError {
368
369
  readonly relatedError?: unknown | undefined;
369
370
  constructor(
370
371
  /** Location of the error. */
371
- span: ParseSourceSpan,
372
+ span: ParseSourceSpan$1,
372
373
  /** Error message. */
373
374
  msg: string,
374
375
  /** Severity level of the error. */
@@ -389,7 +390,7 @@ declare class ParseError {
389
390
  * @param sourceUrl reference to Component or Directive source.
390
391
  * @returns instance of ParseSourceSpan that represent a given Component or Directive.
391
392
  */
392
- declare function r3JitTypeSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan;
393
+ declare function r3JitTypeSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan$1;
393
394
  declare function identifierName(compileIdentifier: CompileIdentifierMetadata | null | undefined): string | null;
394
395
  interface CompileIdentifierMetadata {
395
396
  reference: any;
@@ -404,7 +405,7 @@ interface MessagePlaceholder {
404
405
  /** The text contents of the placeholder */
405
406
  text: string;
406
407
  /** The source span of the placeholder */
407
- sourceSpan: ParseSourceSpan;
408
+ sourceSpan: ParseSourceSpan$1;
408
409
  }
409
410
  declare class Message {
410
411
  nodes: Node$2[];
@@ -444,19 +445,19 @@ interface MessageSpan {
444
445
  endCol: number;
445
446
  }
446
447
  interface Node$2 {
447
- sourceSpan: ParseSourceSpan;
448
+ sourceSpan: ParseSourceSpan$1;
448
449
  visit(visitor: Visitor$2, context?: any): any;
449
450
  }
450
451
  declare class Text$2 implements Node$2 {
451
452
  value: string;
452
- sourceSpan: ParseSourceSpan;
453
- constructor(value: string, sourceSpan: ParseSourceSpan);
453
+ sourceSpan: ParseSourceSpan$1;
454
+ constructor(value: string, sourceSpan: ParseSourceSpan$1);
454
455
  visit(visitor: Visitor$2, context?: any): any;
455
456
  }
456
457
  declare class Container implements Node$2 {
457
458
  children: Node$2[];
458
- sourceSpan: ParseSourceSpan;
459
- constructor(children: Node$2[], sourceSpan: ParseSourceSpan);
459
+ sourceSpan: ParseSourceSpan$1;
460
+ constructor(children: Node$2[], sourceSpan: ParseSourceSpan$1);
460
461
  visit(visitor: Visitor$2, context?: any): any;
461
462
  }
462
463
  declare class Icu$1 implements Node$2 {
@@ -465,11 +466,11 @@ declare class Icu$1 implements Node$2 {
465
466
  cases: {
466
467
  [k: string]: Node$2;
467
468
  };
468
- sourceSpan: ParseSourceSpan;
469
+ sourceSpan: ParseSourceSpan$1;
469
470
  expressionPlaceholder?: string | undefined;
470
471
  constructor(expression: string, type: string, cases: {
471
472
  [k: string]: Node$2;
472
- }, sourceSpan: ParseSourceSpan, expressionPlaceholder?: string | undefined);
473
+ }, sourceSpan: ParseSourceSpan$1, expressionPlaceholder?: string | undefined);
473
474
  visit(visitor: Visitor$2, context?: any): any;
474
475
  }
475
476
  declare class TagPlaceholder implements Node$2 {
@@ -481,28 +482,28 @@ declare class TagPlaceholder implements Node$2 {
481
482
  closeName: string;
482
483
  children: Node$2[];
483
484
  isVoid: boolean;
484
- sourceSpan: ParseSourceSpan;
485
- startSourceSpan: ParseSourceSpan | null;
486
- endSourceSpan: ParseSourceSpan | null;
485
+ sourceSpan: ParseSourceSpan$1;
486
+ startSourceSpan: ParseSourceSpan$1 | null;
487
+ endSourceSpan: ParseSourceSpan$1 | null;
487
488
  constructor(tag: string, attrs: {
488
489
  [k: string]: string;
489
- }, startName: string, closeName: string, children: Node$2[], isVoid: boolean, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan | null, endSourceSpan: ParseSourceSpan | null);
490
+ }, startName: string, closeName: string, children: Node$2[], isVoid: boolean, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1 | null, endSourceSpan: ParseSourceSpan$1 | null);
490
491
  visit(visitor: Visitor$2, context?: any): any;
491
492
  }
492
493
  declare class Placeholder implements Node$2 {
493
494
  value: string;
494
495
  name: string;
495
- sourceSpan: ParseSourceSpan;
496
- constructor(value: string, name: string, sourceSpan: ParseSourceSpan);
496
+ sourceSpan: ParseSourceSpan$1;
497
+ constructor(value: string, name: string, sourceSpan: ParseSourceSpan$1);
497
498
  visit(visitor: Visitor$2, context?: any): any;
498
499
  }
499
500
  declare class IcuPlaceholder implements Node$2 {
500
501
  value: Icu$1;
501
502
  name: string;
502
- sourceSpan: ParseSourceSpan;
503
+ sourceSpan: ParseSourceSpan$1;
503
504
  /** Used to capture a message computed from a previous processing pass (see `setI18nRefs()`). */
504
505
  previousMessage?: Message;
505
- constructor(value: Icu$1, name: string, sourceSpan: ParseSourceSpan);
506
+ constructor(value: Icu$1, name: string, sourceSpan: ParseSourceSpan$1);
506
507
  visit(visitor: Visitor$2, context?: any): any;
507
508
  }
508
509
  declare class BlockPlaceholder implements Node$2 {
@@ -511,10 +512,10 @@ declare class BlockPlaceholder implements Node$2 {
511
512
  startName: string;
512
513
  closeName: string;
513
514
  children: Node$2[];
514
- sourceSpan: ParseSourceSpan;
515
- startSourceSpan: ParseSourceSpan | null;
516
- endSourceSpan: ParseSourceSpan | null;
517
- constructor(name: string, parameters: string[], startName: string, closeName: string, children: Node$2[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan | null, endSourceSpan: ParseSourceSpan | null);
515
+ sourceSpan: ParseSourceSpan$1;
516
+ startSourceSpan: ParseSourceSpan$1 | null;
517
+ endSourceSpan: ParseSourceSpan$1 | null;
518
+ constructor(name: string, parameters: string[], startName: string, closeName: string, children: Node$2[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1 | null, endSourceSpan: ParseSourceSpan$1 | null);
518
519
  visit(visitor: Visitor$2, context?: any): any;
519
520
  }
520
521
  /**
@@ -575,7 +576,7 @@ type InterpolatedAttributeToken = AttributeValueTextToken | AttributeValueInterp
575
576
  interface TokenBase {
576
577
  type: TokenType$1;
577
578
  parts: string[];
578
- sourceSpan: ParseSourceSpan;
579
+ sourceSpan: ParseSourceSpan$1;
579
580
  }
580
581
  interface TextToken extends TokenBase {
581
582
  type: TokenType$1.TEXT | TokenType$1.ESCAPABLE_RAW_TEXT | TokenType$1.RAW_TEXT;
@@ -599,86 +600,86 @@ interface AttributeValueInterpolationToken extends TokenBase {
599
600
  }
600
601
 
601
602
  interface BaseNode {
602
- sourceSpan: ParseSourceSpan;
603
+ sourceSpan: ParseSourceSpan$1;
603
604
  visit(visitor: Visitor$1, context: any): any;
604
605
  }
605
606
  type Node$1 = Attribute | Comment$1 | Element$1 | Expansion | ExpansionCase | Text$1 | Block | BlockParameter;
606
607
  declare abstract class NodeWithI18n implements BaseNode {
607
- sourceSpan: ParseSourceSpan;
608
+ sourceSpan: ParseSourceSpan$1;
608
609
  i18n?: I18nMeta$1 | undefined;
609
- constructor(sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
610
+ constructor(sourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
610
611
  abstract visit(visitor: Visitor$1, context: any): any;
611
612
  }
612
613
  declare class Text$1 extends NodeWithI18n {
613
614
  value: string;
614
615
  tokens: InterpolatedTextToken[];
615
- constructor(value: string, sourceSpan: ParseSourceSpan, tokens: InterpolatedTextToken[], i18n?: I18nMeta$1);
616
+ constructor(value: string, sourceSpan: ParseSourceSpan$1, tokens: InterpolatedTextToken[], i18n?: I18nMeta$1);
616
617
  visit(visitor: Visitor$1, context: any): any;
617
618
  }
618
619
  declare class Expansion extends NodeWithI18n {
619
620
  switchValue: string;
620
621
  type: string;
621
622
  cases: ExpansionCase[];
622
- switchValueSourceSpan: ParseSourceSpan;
623
- constructor(switchValue: string, type: string, cases: ExpansionCase[], sourceSpan: ParseSourceSpan, switchValueSourceSpan: ParseSourceSpan, i18n?: I18nMeta$1);
623
+ switchValueSourceSpan: ParseSourceSpan$1;
624
+ constructor(switchValue: string, type: string, cases: ExpansionCase[], sourceSpan: ParseSourceSpan$1, switchValueSourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1);
624
625
  visit(visitor: Visitor$1, context: any): any;
625
626
  }
626
627
  declare class ExpansionCase implements BaseNode {
627
628
  value: string;
628
629
  expression: Node$1[];
629
- sourceSpan: ParseSourceSpan;
630
- valueSourceSpan: ParseSourceSpan;
631
- expSourceSpan: ParseSourceSpan;
632
- constructor(value: string, expression: Node$1[], sourceSpan: ParseSourceSpan, valueSourceSpan: ParseSourceSpan, expSourceSpan: ParseSourceSpan);
630
+ sourceSpan: ParseSourceSpan$1;
631
+ valueSourceSpan: ParseSourceSpan$1;
632
+ expSourceSpan: ParseSourceSpan$1;
633
+ constructor(value: string, expression: Node$1[], sourceSpan: ParseSourceSpan$1, valueSourceSpan: ParseSourceSpan$1, expSourceSpan: ParseSourceSpan$1);
633
634
  visit(visitor: Visitor$1, context: any): any;
634
635
  }
635
636
  declare class Attribute extends NodeWithI18n {
636
637
  name: string;
637
638
  value: string;
638
- readonly keySpan: ParseSourceSpan | undefined;
639
- valueSpan: ParseSourceSpan | undefined;
639
+ readonly keySpan: ParseSourceSpan$1 | undefined;
640
+ valueSpan: ParseSourceSpan$1 | undefined;
640
641
  valueTokens: InterpolatedAttributeToken[] | undefined;
641
- constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan | undefined, valueSpan: ParseSourceSpan | undefined, valueTokens: InterpolatedAttributeToken[] | undefined, i18n: I18nMeta$1 | undefined);
642
+ constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1 | undefined, valueSpan: ParseSourceSpan$1 | undefined, valueTokens: InterpolatedAttributeToken[] | undefined, i18n: I18nMeta$1 | undefined);
642
643
  visit(visitor: Visitor$1, context: any): any;
643
644
  }
644
645
  declare class Element$1 extends NodeWithI18n {
645
646
  name: string;
646
647
  attrs: Attribute[];
647
648
  children: Node$1[];
648
- startSourceSpan: ParseSourceSpan;
649
- endSourceSpan: ParseSourceSpan | null;
650
- constructor(name: string, attrs: Attribute[], children: Node$1[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan?: ParseSourceSpan | null, i18n?: I18nMeta$1);
649
+ startSourceSpan: ParseSourceSpan$1;
650
+ endSourceSpan: ParseSourceSpan$1 | null;
651
+ constructor(name: string, attrs: Attribute[], children: Node$1[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan?: ParseSourceSpan$1 | null, i18n?: I18nMeta$1);
651
652
  visit(visitor: Visitor$1, context: any): any;
652
653
  }
653
654
  declare class Comment$1 implements BaseNode {
654
655
  value: string | null;
655
- sourceSpan: ParseSourceSpan;
656
- constructor(value: string | null, sourceSpan: ParseSourceSpan);
656
+ sourceSpan: ParseSourceSpan$1;
657
+ constructor(value: string | null, sourceSpan: ParseSourceSpan$1);
657
658
  visit(visitor: Visitor$1, context: any): any;
658
659
  }
659
660
  declare class Block extends NodeWithI18n {
660
661
  name: string;
661
662
  parameters: BlockParameter[];
662
663
  children: Node$1[];
663
- nameSpan: ParseSourceSpan;
664
- startSourceSpan: ParseSourceSpan;
665
- endSourceSpan: ParseSourceSpan | null;
666
- constructor(name: string, parameters: BlockParameter[], children: Node$1[], sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan?: ParseSourceSpan | null, i18n?: I18nMeta$1);
664
+ nameSpan: ParseSourceSpan$1;
665
+ startSourceSpan: ParseSourceSpan$1;
666
+ endSourceSpan: ParseSourceSpan$1 | null;
667
+ constructor(name: string, parameters: BlockParameter[], children: Node$1[], sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan?: ParseSourceSpan$1 | null, i18n?: I18nMeta$1);
667
668
  visit(visitor: Visitor$1, context: any): any;
668
669
  }
669
670
  declare class BlockParameter implements BaseNode {
670
671
  expression: string;
671
- sourceSpan: ParseSourceSpan;
672
- constructor(expression: string, sourceSpan: ParseSourceSpan);
672
+ sourceSpan: ParseSourceSpan$1;
673
+ constructor(expression: string, sourceSpan: ParseSourceSpan$1);
673
674
  visit(visitor: Visitor$1, context: any): any;
674
675
  }
675
676
  declare class LetDeclaration$1 implements BaseNode {
676
677
  name: string;
677
678
  value: string;
678
- sourceSpan: ParseSourceSpan;
679
- readonly nameSpan: ParseSourceSpan;
680
- valueSpan: ParseSourceSpan;
681
- constructor(name: string, value: string, sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan, valueSpan: ParseSourceSpan);
679
+ sourceSpan: ParseSourceSpan$1;
680
+ readonly nameSpan: ParseSourceSpan$1;
681
+ valueSpan: ParseSourceSpan$1;
682
+ constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1);
682
683
  visit(visitor: Visitor$1, context: any): any;
683
684
  }
684
685
  interface Visitor$1 {
@@ -815,8 +816,8 @@ interface TokenizeOptions {
815
816
 
816
817
  declare class TreeError extends ParseError {
817
818
  elementName: string | null;
818
- static create(elementName: string | null, span: ParseSourceSpan, msg: string): TreeError;
819
- constructor(elementName: string | null, span: ParseSourceSpan, msg: string);
819
+ static create(elementName: string | null, span: ParseSourceSpan$1, msg: string): TreeError;
820
+ constructor(elementName: string | null, span: ParseSourceSpan$1, msg: string);
820
821
  }
821
822
  declare class ParseTreeResult {
822
823
  rootNodes: Node$1[];
@@ -841,7 +842,7 @@ declare enum TypeModifier {
841
842
  None = 0,
842
843
  Const = 1
843
844
  }
844
- declare abstract class Type {
845
+ declare abstract class Type$1 {
845
846
  modifiers: TypeModifier;
846
847
  constructor(modifiers?: TypeModifier);
847
848
  abstract visitType(visitor: TypeVisitor, context: any): any;
@@ -857,28 +858,28 @@ declare enum BuiltinTypeName {
857
858
  Inferred = 6,
858
859
  None = 7
859
860
  }
860
- declare class BuiltinType extends Type {
861
+ declare class BuiltinType extends Type$1 {
861
862
  name: BuiltinTypeName;
862
863
  constructor(name: BuiltinTypeName, modifiers?: TypeModifier);
863
864
  visitType(visitor: TypeVisitor, context: any): any;
864
865
  }
865
- declare class ExpressionType extends Type {
866
+ declare class ExpressionType extends Type$1 {
866
867
  value: Expression;
867
- typeParams: Type[] | null;
868
- constructor(value: Expression, modifiers?: TypeModifier, typeParams?: Type[] | null);
868
+ typeParams: Type$1[] | null;
869
+ constructor(value: Expression, modifiers?: TypeModifier, typeParams?: Type$1[] | null);
869
870
  visitType(visitor: TypeVisitor, context: any): any;
870
871
  }
871
- declare class ArrayType extends Type {
872
- of: Type;
873
- constructor(of: Type, modifiers?: TypeModifier);
872
+ declare class ArrayType extends Type$1 {
873
+ of: Type$1;
874
+ constructor(of: Type$1, modifiers?: TypeModifier);
874
875
  visitType(visitor: TypeVisitor, context: any): any;
875
876
  }
876
- declare class MapType extends Type {
877
- valueType: Type | null;
878
- constructor(valueType: Type | null | undefined, modifiers?: TypeModifier);
877
+ declare class MapType extends Type$1 {
878
+ valueType: Type$1 | null;
879
+ constructor(valueType: Type$1 | null | undefined, modifiers?: TypeModifier);
879
880
  visitType(visitor: TypeVisitor, context: any): any;
880
881
  }
881
- declare class TransplantedType<T> extends Type {
882
+ declare class TransplantedType<T> extends Type$1 {
882
883
  readonly type: T;
883
884
  constructor(type: T, modifiers?: TypeModifier);
884
885
  visitType(visitor: TypeVisitor, context: any): any;
@@ -929,9 +930,9 @@ declare function areAllEquivalent<T extends {
929
930
  isEquivalent(other: T): boolean;
930
931
  }>(base: T[], other: T[]): boolean;
931
932
  declare abstract class Expression {
932
- type: Type | null;
933
- sourceSpan: ParseSourceSpan | null;
934
- constructor(type: Type | null | undefined, sourceSpan?: ParseSourceSpan | null);
933
+ type: Type$1 | null;
934
+ sourceSpan: ParseSourceSpan$1 | null;
935
+ constructor(type: Type$1 | null | undefined, sourceSpan?: ParseSourceSpan$1 | null);
935
936
  abstract visitExpression(visitor: ExpressionVisitor, context: any): any;
936
937
  /**
937
938
  * Calculates whether this expression produces the same value as the given expression.
@@ -943,35 +944,35 @@ declare abstract class Expression {
943
944
  */
944
945
  abstract isConstant(): boolean;
945
946
  abstract clone(): Expression;
946
- prop(name: string, sourceSpan?: ParseSourceSpan | null): ReadPropExpr;
947
- key(index: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null): ReadKeyExpr;
948
- callFn(params: Expression[], sourceSpan?: ParseSourceSpan | null, pure?: boolean): InvokeFunctionExpr;
949
- instantiate(params: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null): InstantiateExpr;
950
- conditional(trueCase: Expression, falseCase?: Expression | null, sourceSpan?: ParseSourceSpan | null): ConditionalExpr;
951
- equals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
952
- notEquals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
953
- identical(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
954
- notIdentical(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
955
- minus(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
956
- plus(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
957
- divide(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
958
- multiply(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
959
- modulo(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
960
- and(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
961
- bitwiseOr(rhs: Expression, sourceSpan?: ParseSourceSpan | null, parens?: boolean): BinaryOperatorExpr;
962
- bitwiseAnd(rhs: Expression, sourceSpan?: ParseSourceSpan | null, parens?: boolean): BinaryOperatorExpr;
963
- or(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
964
- lower(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
965
- lowerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
966
- bigger(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
967
- biggerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
968
- isBlank(sourceSpan?: ParseSourceSpan | null): Expression;
969
- nullishCoalesce(rhs: Expression, sourceSpan?: ParseSourceSpan | null): BinaryOperatorExpr;
947
+ prop(name: string, sourceSpan?: ParseSourceSpan$1 | null): ReadPropExpr;
948
+ key(index: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): ReadKeyExpr;
949
+ callFn(params: Expression[], sourceSpan?: ParseSourceSpan$1 | null, pure?: boolean): InvokeFunctionExpr;
950
+ instantiate(params: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): InstantiateExpr;
951
+ conditional(trueCase: Expression, falseCase?: Expression | null, sourceSpan?: ParseSourceSpan$1 | null): ConditionalExpr;
952
+ equals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
953
+ notEquals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
954
+ identical(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
955
+ notIdentical(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
956
+ minus(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
957
+ plus(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
958
+ divide(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
959
+ multiply(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
960
+ modulo(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
961
+ and(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
962
+ bitwiseOr(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null, parens?: boolean): BinaryOperatorExpr;
963
+ bitwiseAnd(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null, parens?: boolean): BinaryOperatorExpr;
964
+ or(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
965
+ lower(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
966
+ lowerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
967
+ bigger(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
968
+ biggerEquals(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
969
+ isBlank(sourceSpan?: ParseSourceSpan$1 | null): Expression;
970
+ nullishCoalesce(rhs: Expression, sourceSpan?: ParseSourceSpan$1 | null): BinaryOperatorExpr;
970
971
  toStmt(): Statement;
971
972
  }
972
973
  declare class ReadVarExpr extends Expression {
973
974
  name: string;
974
- constructor(name: string, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
975
+ constructor(name: string, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
975
976
  isEquivalent(e: Expression): boolean;
976
977
  isConstant(): boolean;
977
978
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -980,7 +981,7 @@ declare class ReadVarExpr extends Expression {
980
981
  }
981
982
  declare class TypeofExpr extends Expression {
982
983
  expr: Expression;
983
- constructor(expr: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
984
+ constructor(expr: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
984
985
  visitExpression(visitor: ExpressionVisitor, context: any): any;
985
986
  isEquivalent(e: Expression): boolean;
986
987
  isConstant(): boolean;
@@ -988,7 +989,7 @@ declare class TypeofExpr extends Expression {
988
989
  }
989
990
  declare class WrappedNodeExpr<T> extends Expression {
990
991
  node: T;
991
- constructor(node: T, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
992
+ constructor(node: T, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
992
993
  isEquivalent(e: Expression): boolean;
993
994
  isConstant(): boolean;
994
995
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -997,19 +998,19 @@ declare class WrappedNodeExpr<T> extends Expression {
997
998
  declare class WriteVarExpr extends Expression {
998
999
  name: string;
999
1000
  value: Expression;
1000
- constructor(name: string, value: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1001
+ constructor(name: string, value: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1001
1002
  isEquivalent(e: Expression): boolean;
1002
1003
  isConstant(): boolean;
1003
1004
  visitExpression(visitor: ExpressionVisitor, context: any): any;
1004
1005
  clone(): WriteVarExpr;
1005
- toDeclStmt(type?: Type | null, modifiers?: StmtModifier): DeclareVarStmt;
1006
+ toDeclStmt(type?: Type$1 | null, modifiers?: StmtModifier): DeclareVarStmt;
1006
1007
  toConstDecl(): DeclareVarStmt;
1007
1008
  }
1008
1009
  declare class WriteKeyExpr extends Expression {
1009
1010
  receiver: Expression;
1010
1011
  index: Expression;
1011
1012
  value: Expression;
1012
- constructor(receiver: Expression, index: Expression, value: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1013
+ constructor(receiver: Expression, index: Expression, value: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1013
1014
  isEquivalent(e: Expression): boolean;
1014
1015
  isConstant(): boolean;
1015
1016
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1019,7 +1020,7 @@ declare class WritePropExpr extends Expression {
1019
1020
  receiver: Expression;
1020
1021
  name: string;
1021
1022
  value: Expression;
1022
- constructor(receiver: Expression, name: string, value: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1023
+ constructor(receiver: Expression, name: string, value: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1023
1024
  isEquivalent(e: Expression): boolean;
1024
1025
  isConstant(): boolean;
1025
1026
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1029,7 +1030,7 @@ declare class InvokeFunctionExpr extends Expression {
1029
1030
  fn: Expression;
1030
1031
  args: Expression[];
1031
1032
  pure: boolean;
1032
- constructor(fn: Expression, args: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, pure?: boolean);
1033
+ constructor(fn: Expression, args: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, pure?: boolean);
1033
1034
  get receiver(): Expression;
1034
1035
  isEquivalent(e: Expression): boolean;
1035
1036
  isConstant(): boolean;
@@ -1039,7 +1040,7 @@ declare class InvokeFunctionExpr extends Expression {
1039
1040
  declare class TaggedTemplateLiteralExpr extends Expression {
1040
1041
  tag: Expression;
1041
1042
  template: TemplateLiteralExpr;
1042
- constructor(tag: Expression, template: TemplateLiteralExpr, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1043
+ constructor(tag: Expression, template: TemplateLiteralExpr, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1043
1044
  isEquivalent(e: Expression): boolean;
1044
1045
  isConstant(): boolean;
1045
1046
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1048,7 +1049,7 @@ declare class TaggedTemplateLiteralExpr extends Expression {
1048
1049
  declare class InstantiateExpr extends Expression {
1049
1050
  classExpr: Expression;
1050
1051
  args: Expression[];
1051
- constructor(classExpr: Expression, args: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1052
+ constructor(classExpr: Expression, args: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1052
1053
  isEquivalent(e: Expression): boolean;
1053
1054
  isConstant(): boolean;
1054
1055
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1056,7 +1057,7 @@ declare class InstantiateExpr extends Expression {
1056
1057
  }
1057
1058
  declare class LiteralExpr extends Expression {
1058
1059
  value: number | string | boolean | null | undefined;
1059
- constructor(value: number | string | boolean | null | undefined, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1060
+ constructor(value: number | string | boolean | null | undefined, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1060
1061
  isEquivalent(e: Expression): boolean;
1061
1062
  isConstant(): boolean;
1062
1063
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1065,7 +1066,7 @@ declare class LiteralExpr extends Expression {
1065
1066
  declare class TemplateLiteralExpr extends Expression {
1066
1067
  elements: TemplateLiteralElementExpr[];
1067
1068
  expressions: Expression[];
1068
- constructor(elements: TemplateLiteralElementExpr[], expressions: Expression[], sourceSpan?: ParseSourceSpan | null);
1069
+ constructor(elements: TemplateLiteralElementExpr[], expressions: Expression[], sourceSpan?: ParseSourceSpan$1 | null);
1069
1070
  isEquivalent(e: Expression): boolean;
1070
1071
  isConstant(): boolean;
1071
1072
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1074,7 +1075,7 @@ declare class TemplateLiteralExpr extends Expression {
1074
1075
  declare class TemplateLiteralElementExpr extends Expression {
1075
1076
  readonly text: string;
1076
1077
  readonly rawText: string;
1077
- constructor(text: string, sourceSpan?: ParseSourceSpan | null, rawText?: string);
1078
+ constructor(text: string, sourceSpan?: ParseSourceSpan$1 | null, rawText?: string);
1078
1079
  visitExpression(visitor: ExpressionVisitor, context: any): any;
1079
1080
  isEquivalent(e: Expression): boolean;
1080
1081
  isConstant(): boolean;
@@ -1082,12 +1083,12 @@ declare class TemplateLiteralElementExpr extends Expression {
1082
1083
  }
1083
1084
  declare class LiteralPiece {
1084
1085
  text: string;
1085
- sourceSpan: ParseSourceSpan;
1086
- constructor(text: string, sourceSpan: ParseSourceSpan);
1086
+ sourceSpan: ParseSourceSpan$1;
1087
+ constructor(text: string, sourceSpan: ParseSourceSpan$1);
1087
1088
  }
1088
1089
  declare class PlaceholderPiece {
1089
1090
  text: string;
1090
- sourceSpan: ParseSourceSpan;
1091
+ sourceSpan: ParseSourceSpan$1;
1091
1092
  associatedMessage?: Message | undefined;
1092
1093
  /**
1093
1094
  * Create a new instance of a `PlaceholderPiece`.
@@ -1098,7 +1099,7 @@ declare class PlaceholderPiece {
1098
1099
  * The `associatedMessage` is mainly used to provide a relationship to an ICU message that has
1099
1100
  * been extracted out from the message containing the placeholder.
1100
1101
  */
1101
- constructor(text: string, sourceSpan: ParseSourceSpan, associatedMessage?: Message | undefined);
1102
+ constructor(text: string, sourceSpan: ParseSourceSpan$1, associatedMessage?: Message | undefined);
1102
1103
  }
1103
1104
  type MessagePiece = LiteralPiece | PlaceholderPiece;
1104
1105
  declare class LocalizedString extends Expression {
@@ -1106,7 +1107,7 @@ declare class LocalizedString extends Expression {
1106
1107
  readonly messageParts: LiteralPiece[];
1107
1108
  readonly placeHolderNames: PlaceholderPiece[];
1108
1109
  readonly expressions: Expression[];
1109
- constructor(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeHolderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan | null);
1110
+ constructor(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeHolderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan$1 | null);
1110
1111
  isEquivalent(e: Expression): boolean;
1111
1112
  isConstant(): boolean;
1112
1113
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1120,8 +1121,8 @@ declare class LocalizedString extends Expression {
1120
1121
  * @param messagePart The first part of the tagged string
1121
1122
  */
1122
1123
  serializeI18nHead(): CookedRawString;
1123
- getMessagePartSourceSpan(i: number): ParseSourceSpan | null;
1124
- getPlaceholderSourceSpan(i: number): ParseSourceSpan;
1124
+ getMessagePartSourceSpan(i: number): ParseSourceSpan$1 | null;
1125
+ getPlaceholderSourceSpan(i: number): ParseSourceSpan$1;
1125
1126
  /**
1126
1127
  * Serialize the given `placeholderName` and `messagePart` into "cooked" and "raw" strings that
1127
1128
  * can be used in a `$localize` tagged string.
@@ -1142,12 +1143,12 @@ declare class LocalizedString extends Expression {
1142
1143
  interface CookedRawString {
1143
1144
  cooked: string;
1144
1145
  raw: string;
1145
- range: ParseSourceSpan | null;
1146
+ range: ParseSourceSpan$1 | null;
1146
1147
  }
1147
1148
  declare class ExternalExpr extends Expression {
1148
1149
  value: ExternalReference;
1149
- typeParams: Type[] | null;
1150
- constructor(value: ExternalReference, type?: Type | null, typeParams?: Type[] | null, sourceSpan?: ParseSourceSpan | null);
1150
+ typeParams: Type$1[] | null;
1151
+ constructor(value: ExternalReference, type?: Type$1 | null, typeParams?: Type$1[] | null, sourceSpan?: ParseSourceSpan$1 | null);
1151
1152
  isEquivalent(e: Expression): boolean;
1152
1153
  isConstant(): boolean;
1153
1154
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1162,7 +1163,7 @@ declare class ConditionalExpr extends Expression {
1162
1163
  condition: Expression;
1163
1164
  falseCase: Expression | null;
1164
1165
  trueCase: Expression;
1165
- constructor(condition: Expression, trueCase: Expression, falseCase?: Expression | null, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1166
+ constructor(condition: Expression, trueCase: Expression, falseCase?: Expression | null, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1166
1167
  isEquivalent(e: Expression): boolean;
1167
1168
  isConstant(): boolean;
1168
1169
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1171,7 +1172,7 @@ declare class ConditionalExpr extends Expression {
1171
1172
  declare class DynamicImportExpr extends Expression {
1172
1173
  url: string | Expression;
1173
1174
  urlComment?: string | undefined;
1174
- constructor(url: string | Expression, sourceSpan?: ParseSourceSpan | null, urlComment?: string | undefined);
1175
+ constructor(url: string | Expression, sourceSpan?: ParseSourceSpan$1 | null, urlComment?: string | undefined);
1175
1176
  isEquivalent(e: Expression): boolean;
1176
1177
  isConstant(): boolean;
1177
1178
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1179,7 +1180,7 @@ declare class DynamicImportExpr extends Expression {
1179
1180
  }
1180
1181
  declare class NotExpr extends Expression {
1181
1182
  condition: Expression;
1182
- constructor(condition: Expression, sourceSpan?: ParseSourceSpan | null);
1183
+ constructor(condition: Expression, sourceSpan?: ParseSourceSpan$1 | null);
1183
1184
  isEquivalent(e: Expression): boolean;
1184
1185
  isConstant(): boolean;
1185
1186
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1187,8 +1188,8 @@ declare class NotExpr extends Expression {
1187
1188
  }
1188
1189
  declare class FnParam {
1189
1190
  name: string;
1190
- type: Type | null;
1191
- constructor(name: string, type?: Type | null);
1191
+ type: Type$1 | null;
1192
+ constructor(name: string, type?: Type$1 | null);
1192
1193
  isEquivalent(param: FnParam): boolean;
1193
1194
  clone(): FnParam;
1194
1195
  }
@@ -1196,7 +1197,7 @@ declare class FunctionExpr extends Expression {
1196
1197
  params: FnParam[];
1197
1198
  statements: Statement[];
1198
1199
  name?: string | null | undefined;
1199
- constructor(params: FnParam[], statements: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: string | null | undefined);
1200
+ constructor(params: FnParam[], statements: Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, name?: string | null | undefined);
1200
1201
  isEquivalent(e: Expression | Statement): boolean;
1201
1202
  isConstant(): boolean;
1202
1203
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1206,7 +1207,7 @@ declare class FunctionExpr extends Expression {
1206
1207
  declare class ArrowFunctionExpr extends Expression {
1207
1208
  params: FnParam[];
1208
1209
  body: Expression | Statement[];
1209
- constructor(params: FnParam[], body: Expression | Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1210
+ constructor(params: FnParam[], body: Expression | Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1210
1211
  isEquivalent(e: Expression): boolean;
1211
1212
  isConstant(): boolean;
1212
1213
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1217,7 +1218,7 @@ declare class UnaryOperatorExpr extends Expression {
1217
1218
  operator: UnaryOperator;
1218
1219
  expr: Expression;
1219
1220
  parens: boolean;
1220
- constructor(operator: UnaryOperator, expr: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null, parens?: boolean);
1221
+ constructor(operator: UnaryOperator, expr: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, parens?: boolean);
1221
1222
  isEquivalent(e: Expression): boolean;
1222
1223
  isConstant(): boolean;
1223
1224
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1228,7 +1229,7 @@ declare class BinaryOperatorExpr extends Expression {
1228
1229
  rhs: Expression;
1229
1230
  parens: boolean;
1230
1231
  lhs: Expression;
1231
- constructor(operator: BinaryOperator, lhs: Expression, rhs: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null, parens?: boolean);
1232
+ constructor(operator: BinaryOperator, lhs: Expression, rhs: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, parens?: boolean);
1232
1233
  isEquivalent(e: Expression): boolean;
1233
1234
  isConstant(): boolean;
1234
1235
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1237,7 +1238,7 @@ declare class BinaryOperatorExpr extends Expression {
1237
1238
  declare class ReadPropExpr extends Expression {
1238
1239
  receiver: Expression;
1239
1240
  name: string;
1240
- constructor(receiver: Expression, name: string, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1241
+ constructor(receiver: Expression, name: string, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1241
1242
  get index(): string;
1242
1243
  isEquivalent(e: Expression): boolean;
1243
1244
  isConstant(): boolean;
@@ -1248,7 +1249,7 @@ declare class ReadPropExpr extends Expression {
1248
1249
  declare class ReadKeyExpr extends Expression {
1249
1250
  receiver: Expression;
1250
1251
  index: Expression;
1251
- constructor(receiver: Expression, index: Expression, type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1252
+ constructor(receiver: Expression, index: Expression, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1252
1253
  isEquivalent(e: Expression): boolean;
1253
1254
  isConstant(): boolean;
1254
1255
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1257,7 +1258,7 @@ declare class ReadKeyExpr extends Expression {
1257
1258
  }
1258
1259
  declare class LiteralArrayExpr extends Expression {
1259
1260
  entries: Expression[];
1260
- constructor(entries: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null);
1261
+ constructor(entries: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null);
1261
1262
  isConstant(): boolean;
1262
1263
  isEquivalent(e: Expression): boolean;
1263
1264
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1273,8 +1274,8 @@ declare class LiteralMapEntry {
1273
1274
  }
1274
1275
  declare class LiteralMapExpr extends Expression {
1275
1276
  entries: LiteralMapEntry[];
1276
- valueType: Type | null;
1277
- constructor(entries: LiteralMapEntry[], type?: MapType | null, sourceSpan?: ParseSourceSpan | null);
1277
+ valueType: Type$1 | null;
1278
+ constructor(entries: LiteralMapEntry[], type?: MapType | null, sourceSpan?: ParseSourceSpan$1 | null);
1278
1279
  isEquivalent(e: Expression): boolean;
1279
1280
  isConstant(): boolean;
1280
1281
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1282,7 +1283,7 @@ declare class LiteralMapExpr extends Expression {
1282
1283
  }
1283
1284
  declare class CommaExpr extends Expression {
1284
1285
  parts: Expression[];
1285
- constructor(parts: Expression[], sourceSpan?: ParseSourceSpan | null);
1286
+ constructor(parts: Expression[], sourceSpan?: ParseSourceSpan$1 | null);
1286
1287
  isEquivalent(e: Expression): boolean;
1287
1288
  isConstant(): boolean;
1288
1289
  visitExpression(visitor: ExpressionVisitor, context: any): any;
@@ -1339,9 +1340,9 @@ declare class JSDocComment extends LeadingComment {
1339
1340
  }
1340
1341
  declare abstract class Statement {
1341
1342
  modifiers: StmtModifier;
1342
- sourceSpan: ParseSourceSpan | null;
1343
+ sourceSpan: ParseSourceSpan$1 | null;
1343
1344
  leadingComments?: LeadingComment[] | undefined;
1344
- constructor(modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[] | undefined);
1345
+ constructor(modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[] | undefined);
1345
1346
  /**
1346
1347
  * Calculates whether this statement produces the same value as the given statement.
1347
1348
  * Note: We don't check Types nor ParseSourceSpans nor function arguments.
@@ -1354,8 +1355,8 @@ declare abstract class Statement {
1354
1355
  declare class DeclareVarStmt extends Statement {
1355
1356
  name: string;
1356
1357
  value?: Expression | undefined;
1357
- type: Type | null;
1358
- constructor(name: string, value?: Expression | undefined, type?: Type | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
1358
+ type: Type$1 | null;
1359
+ constructor(name: string, value?: Expression | undefined, type?: Type$1 | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
1359
1360
  isEquivalent(stmt: Statement): boolean;
1360
1361
  visitStatement(visitor: StatementVisitor, context: any): any;
1361
1362
  }
@@ -1363,20 +1364,20 @@ declare class DeclareFunctionStmt extends Statement {
1363
1364
  name: string;
1364
1365
  params: FnParam[];
1365
1366
  statements: Statement[];
1366
- type: Type | null;
1367
- constructor(name: string, params: FnParam[], statements: Statement[], type?: Type | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
1367
+ type: Type$1 | null;
1368
+ constructor(name: string, params: FnParam[], statements: Statement[], type?: Type$1 | null, modifiers?: StmtModifier, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
1368
1369
  isEquivalent(stmt: Statement): boolean;
1369
1370
  visitStatement(visitor: StatementVisitor, context: any): any;
1370
1371
  }
1371
1372
  declare class ExpressionStatement extends Statement {
1372
1373
  expr: Expression;
1373
- constructor(expr: Expression, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
1374
+ constructor(expr: Expression, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
1374
1375
  isEquivalent(stmt: Statement): boolean;
1375
1376
  visitStatement(visitor: StatementVisitor, context: any): any;
1376
1377
  }
1377
1378
  declare class ReturnStatement extends Statement {
1378
1379
  value: Expression;
1379
- constructor(value: Expression, sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
1380
+ constructor(value: Expression, sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
1380
1381
  isEquivalent(stmt: Statement): boolean;
1381
1382
  visitStatement(visitor: StatementVisitor, context: any): any;
1382
1383
  }
@@ -1384,7 +1385,7 @@ declare class IfStmt extends Statement {
1384
1385
  condition: Expression;
1385
1386
  trueCase: Statement[];
1386
1387
  falseCase: Statement[];
1387
- constructor(condition: Expression, trueCase: Statement[], falseCase?: Statement[], sourceSpan?: ParseSourceSpan | null, leadingComments?: LeadingComment[]);
1388
+ constructor(condition: Expression, trueCase: Statement[], falseCase?: Statement[], sourceSpan?: ParseSourceSpan$1 | null, leadingComments?: LeadingComment[]);
1388
1389
  isEquivalent(stmt: Statement): boolean;
1389
1390
  visitStatement(visitor: StatementVisitor, context: any): any;
1390
1391
  }
@@ -1396,7 +1397,7 @@ interface StatementVisitor {
1396
1397
  visitIfStmt(stmt: IfStmt, context: any): any;
1397
1398
  }
1398
1399
  declare class RecursiveAstVisitor$1 implements StatementVisitor, ExpressionVisitor {
1399
- visitType(ast: Type, context: any): any;
1400
+ visitType(ast: Type$1, context: any): any;
1400
1401
  visitExpression(ast: Expression, context: any): any;
1401
1402
  visitBuiltinType(type: BuiltinType, context: any): any;
1402
1403
  visitExpressionType(type: ExpressionType, context: any): any;
@@ -1439,26 +1440,26 @@ declare class RecursiveAstVisitor$1 implements StatementVisitor, ExpressionVisit
1439
1440
  }
1440
1441
  declare function leadingComment(text: string, multiline?: boolean, trailingNewline?: boolean): LeadingComment;
1441
1442
  declare function jsDocComment(tags?: JSDocTag[]): JSDocComment;
1442
- declare function variable(name: string, type?: Type | null, sourceSpan?: ParseSourceSpan | null): ReadVarExpr;
1443
- declare function importExpr(id: ExternalReference, typeParams?: Type[] | null, sourceSpan?: ParseSourceSpan | null): ExternalExpr;
1444
- declare function importType(id: ExternalReference, typeParams?: Type[] | null, typeModifiers?: TypeModifier): ExpressionType | null;
1445
- declare function expressionType(expr: Expression, typeModifiers?: TypeModifier, typeParams?: Type[] | null): ExpressionType;
1443
+ declare function variable(name: string, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): ReadVarExpr;
1444
+ declare function importExpr(id: ExternalReference, typeParams?: Type$1[] | null, sourceSpan?: ParseSourceSpan$1 | null): ExternalExpr;
1445
+ declare function importType(id: ExternalReference, typeParams?: Type$1[] | null, typeModifiers?: TypeModifier): ExpressionType | null;
1446
+ declare function expressionType(expr: Expression, typeModifiers?: TypeModifier, typeParams?: Type$1[] | null): ExpressionType;
1446
1447
  declare function transplantedType<T>(type: T, typeModifiers?: TypeModifier): TransplantedType<T>;
1447
1448
  declare function typeofExpr(expr: Expression): TypeofExpr;
1448
- declare function literalArr(values: Expression[], type?: Type | null, sourceSpan?: ParseSourceSpan | null): LiteralArrayExpr;
1449
+ declare function literalArr(values: Expression[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): LiteralArrayExpr;
1449
1450
  declare function literalMap(values: {
1450
1451
  key: string;
1451
1452
  quoted: boolean;
1452
1453
  value: Expression;
1453
1454
  }[], type?: MapType | null): LiteralMapExpr;
1454
- declare function unary(operator: UnaryOperator, expr: Expression, type?: Type, sourceSpan?: ParseSourceSpan | null): UnaryOperatorExpr;
1455
- declare function not(expr: Expression, sourceSpan?: ParseSourceSpan | null): NotExpr;
1456
- declare function fn(params: FnParam[], body: Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null, name?: string | null): FunctionExpr;
1457
- declare function arrowFn(params: FnParam[], body: Expression | Statement[], type?: Type | null, sourceSpan?: ParseSourceSpan | null): ArrowFunctionExpr;
1458
- declare function ifStmt(condition: Expression, thenClause: Statement[], elseClause?: Statement[], sourceSpan?: ParseSourceSpan, leadingComments?: LeadingComment[]): IfStmt;
1459
- declare function taggedTemplate(tag: Expression, template: TemplateLiteralExpr, type?: Type | null, sourceSpan?: ParseSourceSpan | null): TaggedTemplateLiteralExpr;
1460
- declare function literal(value: any, type?: Type | null, sourceSpan?: ParseSourceSpan | null): LiteralExpr;
1461
- declare function localizedString(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeholderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan | null): LocalizedString;
1455
+ declare function unary(operator: UnaryOperator, expr: Expression, type?: Type$1, sourceSpan?: ParseSourceSpan$1 | null): UnaryOperatorExpr;
1456
+ declare function not(expr: Expression, sourceSpan?: ParseSourceSpan$1 | null): NotExpr;
1457
+ declare function fn(params: FnParam[], body: Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null, name?: string | null): FunctionExpr;
1458
+ declare function arrowFn(params: FnParam[], body: Expression | Statement[], type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): ArrowFunctionExpr;
1459
+ declare function ifStmt(condition: Expression, thenClause: Statement[], elseClause?: Statement[], sourceSpan?: ParseSourceSpan$1, leadingComments?: LeadingComment[]): IfStmt;
1460
+ declare function taggedTemplate(tag: Expression, template: TemplateLiteralExpr, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): TaggedTemplateLiteralExpr;
1461
+ declare function literal(value: any, type?: Type$1 | null, sourceSpan?: ParseSourceSpan$1 | null): LiteralExpr;
1462
+ declare function localizedString(metaBlock: I18nMeta, messageParts: LiteralPiece[], placeholderNames: PlaceholderPiece[], expressions: Expression[], sourceSpan?: ParseSourceSpan$1 | null): LocalizedString;
1462
1463
  declare function isNull(exp: Expression): boolean;
1463
1464
  declare const enum JSDocTagName {
1464
1465
  Desc = "desc",
@@ -1575,8 +1576,6 @@ type output_ast_d_TemplateLiteralExpr = TemplateLiteralExpr;
1575
1576
  declare const output_ast_d_TemplateLiteralExpr: typeof TemplateLiteralExpr;
1576
1577
  type output_ast_d_TransplantedType<T> = TransplantedType<T>;
1577
1578
  declare const output_ast_d_TransplantedType: typeof TransplantedType;
1578
- type output_ast_d_Type = Type;
1579
- declare const output_ast_d_Type: typeof Type;
1580
1579
  type output_ast_d_TypeModifier = TypeModifier;
1581
1580
  declare const output_ast_d_TypeModifier: typeof TypeModifier;
1582
1581
  type output_ast_d_TypeVisitor = TypeVisitor;
@@ -1616,7 +1615,7 @@ declare const output_ast_d_typeofExpr: typeof typeofExpr;
1616
1615
  declare const output_ast_d_unary: typeof unary;
1617
1616
  declare const output_ast_d_variable: typeof variable;
1618
1617
  declare namespace output_ast_d {
1619
- export { output_ast_d_ArrayType as ArrayType, output_ast_d_ArrowFunctionExpr as ArrowFunctionExpr, output_ast_d_BOOL_TYPE as BOOL_TYPE, output_ast_d_BinaryOperator as BinaryOperator, output_ast_d_BinaryOperatorExpr as BinaryOperatorExpr, output_ast_d_BuiltinType as BuiltinType, output_ast_d_BuiltinTypeName as BuiltinTypeName, output_ast_d_CommaExpr as CommaExpr, output_ast_d_ConditionalExpr as ConditionalExpr, output_ast_d_DYNAMIC_TYPE as DYNAMIC_TYPE, output_ast_d_DeclareFunctionStmt as DeclareFunctionStmt, output_ast_d_DeclareVarStmt as DeclareVarStmt, output_ast_d_DynamicImportExpr as DynamicImportExpr, output_ast_d_Expression as Expression, output_ast_d_ExpressionStatement as ExpressionStatement, output_ast_d_ExpressionType as ExpressionType, output_ast_d_ExternalExpr as ExternalExpr, output_ast_d_ExternalReference as ExternalReference, output_ast_d_FUNCTION_TYPE as FUNCTION_TYPE, output_ast_d_FnParam as FnParam, output_ast_d_FunctionExpr as FunctionExpr, output_ast_d_INFERRED_TYPE as INFERRED_TYPE, output_ast_d_INT_TYPE as INT_TYPE, output_ast_d_IfStmt as IfStmt, output_ast_d_InstantiateExpr as InstantiateExpr, output_ast_d_InvokeFunctionExpr as InvokeFunctionExpr, output_ast_d_JSDocComment as JSDocComment, output_ast_d_JSDocTagName as JSDocTagName, output_ast_d_LeadingComment as LeadingComment, output_ast_d_LiteralArrayExpr as LiteralArrayExpr, output_ast_d_LiteralExpr as LiteralExpr, output_ast_d_LiteralMapEntry as LiteralMapEntry, output_ast_d_LiteralMapExpr as LiteralMapExpr, output_ast_d_LiteralPiece as LiteralPiece, output_ast_d_LocalizedString as LocalizedString, output_ast_d_MapType as MapType, output_ast_d_NONE_TYPE as NONE_TYPE, output_ast_d_NULL_EXPR as NULL_EXPR, output_ast_d_NUMBER_TYPE as NUMBER_TYPE, output_ast_d_NotExpr as NotExpr, output_ast_d_PlaceholderPiece as PlaceholderPiece, output_ast_d_ReadKeyExpr as ReadKeyExpr, output_ast_d_ReadPropExpr as ReadPropExpr, output_ast_d_ReadVarExpr as ReadVarExpr, RecursiveAstVisitor$1 as RecursiveAstVisitor, output_ast_d_ReturnStatement as ReturnStatement, output_ast_d_STRING_TYPE as STRING_TYPE, output_ast_d_Statement as Statement, output_ast_d_StmtModifier as StmtModifier, output_ast_d_TYPED_NULL_EXPR as TYPED_NULL_EXPR, output_ast_d_TaggedTemplateLiteralExpr as TaggedTemplateLiteralExpr, output_ast_d_TemplateLiteralElementExpr as TemplateLiteralElementExpr, output_ast_d_TemplateLiteralExpr as TemplateLiteralExpr, output_ast_d_TransplantedType as TransplantedType, output_ast_d_Type as Type, output_ast_d_TypeModifier as TypeModifier, output_ast_d_TypeofExpr as TypeofExpr, output_ast_d_UnaryOperator as UnaryOperator, output_ast_d_UnaryOperatorExpr as UnaryOperatorExpr, output_ast_d_WrappedNodeExpr as WrappedNodeExpr, output_ast_d_WriteKeyExpr as WriteKeyExpr, output_ast_d_WritePropExpr as WritePropExpr, output_ast_d_WriteVarExpr as WriteVarExpr, output_ast_d_areAllEquivalent as areAllEquivalent, output_ast_d_arrowFn as arrowFn, output_ast_d_expressionType as expressionType, output_ast_d_fn as fn, output_ast_d_ifStmt as ifStmt, output_ast_d_importExpr as importExpr, output_ast_d_importType as importType, output_ast_d_isNull as isNull, output_ast_d_jsDocComment as jsDocComment, output_ast_d_leadingComment as leadingComment, output_ast_d_literal as literal, output_ast_d_literalArr as literalArr, output_ast_d_literalMap as literalMap, output_ast_d_localizedString as localizedString, output_ast_d_not as not, output_ast_d_nullSafeIsEquivalent as nullSafeIsEquivalent, output_ast_d_taggedTemplate as taggedTemplate, output_ast_d_transplantedType as transplantedType, output_ast_d_typeofExpr as typeofExpr, output_ast_d_unary as unary, output_ast_d_variable as variable };
1618
+ export { output_ast_d_ArrayType as ArrayType, output_ast_d_ArrowFunctionExpr as ArrowFunctionExpr, output_ast_d_BOOL_TYPE as BOOL_TYPE, output_ast_d_BinaryOperator as BinaryOperator, output_ast_d_BinaryOperatorExpr as BinaryOperatorExpr, output_ast_d_BuiltinType as BuiltinType, output_ast_d_BuiltinTypeName as BuiltinTypeName, output_ast_d_CommaExpr as CommaExpr, output_ast_d_ConditionalExpr as ConditionalExpr, output_ast_d_DYNAMIC_TYPE as DYNAMIC_TYPE, output_ast_d_DeclareFunctionStmt as DeclareFunctionStmt, output_ast_d_DeclareVarStmt as DeclareVarStmt, output_ast_d_DynamicImportExpr as DynamicImportExpr, output_ast_d_Expression as Expression, output_ast_d_ExpressionStatement as ExpressionStatement, output_ast_d_ExpressionType as ExpressionType, output_ast_d_ExternalExpr as ExternalExpr, output_ast_d_ExternalReference as ExternalReference, output_ast_d_FUNCTION_TYPE as FUNCTION_TYPE, output_ast_d_FnParam as FnParam, output_ast_d_FunctionExpr as FunctionExpr, output_ast_d_INFERRED_TYPE as INFERRED_TYPE, output_ast_d_INT_TYPE as INT_TYPE, output_ast_d_IfStmt as IfStmt, output_ast_d_InstantiateExpr as InstantiateExpr, output_ast_d_InvokeFunctionExpr as InvokeFunctionExpr, output_ast_d_JSDocComment as JSDocComment, output_ast_d_JSDocTagName as JSDocTagName, output_ast_d_LeadingComment as LeadingComment, output_ast_d_LiteralArrayExpr as LiteralArrayExpr, output_ast_d_LiteralExpr as LiteralExpr, output_ast_d_LiteralMapEntry as LiteralMapEntry, output_ast_d_LiteralMapExpr as LiteralMapExpr, output_ast_d_LiteralPiece as LiteralPiece, output_ast_d_LocalizedString as LocalizedString, output_ast_d_MapType as MapType, output_ast_d_NONE_TYPE as NONE_TYPE, output_ast_d_NULL_EXPR as NULL_EXPR, output_ast_d_NUMBER_TYPE as NUMBER_TYPE, output_ast_d_NotExpr as NotExpr, output_ast_d_PlaceholderPiece as PlaceholderPiece, output_ast_d_ReadKeyExpr as ReadKeyExpr, output_ast_d_ReadPropExpr as ReadPropExpr, output_ast_d_ReadVarExpr as ReadVarExpr, RecursiveAstVisitor$1 as RecursiveAstVisitor, output_ast_d_ReturnStatement as ReturnStatement, output_ast_d_STRING_TYPE as STRING_TYPE, output_ast_d_Statement as Statement, output_ast_d_StmtModifier as StmtModifier, output_ast_d_TYPED_NULL_EXPR as TYPED_NULL_EXPR, output_ast_d_TaggedTemplateLiteralExpr as TaggedTemplateLiteralExpr, output_ast_d_TemplateLiteralElementExpr as TemplateLiteralElementExpr, output_ast_d_TemplateLiteralExpr as TemplateLiteralExpr, output_ast_d_TransplantedType as TransplantedType, Type$1 as Type, output_ast_d_TypeModifier as TypeModifier, output_ast_d_TypeofExpr as TypeofExpr, output_ast_d_UnaryOperator as UnaryOperator, output_ast_d_UnaryOperatorExpr as UnaryOperatorExpr, output_ast_d_WrappedNodeExpr as WrappedNodeExpr, output_ast_d_WriteKeyExpr as WriteKeyExpr, output_ast_d_WritePropExpr as WritePropExpr, output_ast_d_WriteVarExpr as WriteVarExpr, output_ast_d_areAllEquivalent as areAllEquivalent, output_ast_d_arrowFn as arrowFn, output_ast_d_expressionType as expressionType, output_ast_d_fn as fn, output_ast_d_ifStmt as ifStmt, output_ast_d_importExpr as importExpr, output_ast_d_importType as importType, output_ast_d_isNull as isNull, output_ast_d_jsDocComment as jsDocComment, output_ast_d_leadingComment as leadingComment, output_ast_d_literal as literal, output_ast_d_literalArr as literalArr, output_ast_d_literalMap as literalMap, output_ast_d_localizedString as localizedString, output_ast_d_not as not, output_ast_d_nullSafeIsEquivalent as nullSafeIsEquivalent, output_ast_d_taggedTemplate as taggedTemplate, output_ast_d_transplantedType as transplantedType, output_ast_d_typeofExpr as typeofExpr, output_ast_d_unary as unary, output_ast_d_variable as variable };
1620
1619
  export type { output_ast_d_CookedRawString as CookedRawString, output_ast_d_ExpressionVisitor as ExpressionVisitor, output_ast_d_JSDocTag as JSDocTag, output_ast_d_MessagePiece as MessagePiece, output_ast_d_StatementVisitor as StatementVisitor, output_ast_d_TypeVisitor as TypeVisitor };
1621
1620
  }
1622
1621
 
@@ -2139,12 +2138,12 @@ declare class ParsedProperty {
2139
2138
  name: string;
2140
2139
  expression: ASTWithSource;
2141
2140
  type: ParsedPropertyType;
2142
- sourceSpan: ParseSourceSpan;
2143
- readonly keySpan: ParseSourceSpan;
2144
- valueSpan: ParseSourceSpan | undefined;
2141
+ sourceSpan: ParseSourceSpan$1;
2142
+ readonly keySpan: ParseSourceSpan$1;
2143
+ valueSpan: ParseSourceSpan$1 | undefined;
2145
2144
  readonly isLiteral: boolean;
2146
2145
  readonly isAnimation: boolean;
2147
- constructor(name: string, expression: ASTWithSource, type: ParsedPropertyType, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan: ParseSourceSpan | undefined);
2146
+ constructor(name: string, expression: ASTWithSource, type: ParsedPropertyType, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined);
2148
2147
  }
2149
2148
  declare enum ParsedPropertyType {
2150
2149
  DEFAULT = 0,
@@ -2162,11 +2161,11 @@ declare class ParsedEvent {
2162
2161
  targetOrPhase: string;
2163
2162
  type: ParsedEventType;
2164
2163
  handler: ASTWithSource;
2165
- sourceSpan: ParseSourceSpan;
2166
- handlerSpan: ParseSourceSpan;
2167
- readonly keySpan: ParseSourceSpan;
2168
- constructor(name: string, targetOrPhase: string, type: ParsedEventType.TwoWay, handler: ASTWithSource<NonNullAssert | PropertyRead | KeyedRead>, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, keySpan: ParseSourceSpan);
2169
- constructor(name: string, targetOrPhase: string, type: ParsedEventType, handler: ASTWithSource, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, keySpan: ParseSourceSpan);
2164
+ sourceSpan: ParseSourceSpan$1;
2165
+ handlerSpan: ParseSourceSpan$1;
2166
+ readonly keySpan: ParseSourceSpan$1;
2167
+ constructor(name: string, targetOrPhase: string, type: ParsedEventType.TwoWay, handler: ASTWithSource<NonNullAssert | PropertyRead | KeyedRead>, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1);
2168
+ constructor(name: string, targetOrPhase: string, type: ParsedEventType, handler: ASTWithSource, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1);
2170
2169
  }
2171
2170
  /**
2172
2171
  * ParsedVariable represents a variable declaration in a microsyntax expression.
@@ -2174,10 +2173,10 @@ declare class ParsedEvent {
2174
2173
  declare class ParsedVariable {
2175
2174
  readonly name: string;
2176
2175
  readonly value: string;
2177
- readonly sourceSpan: ParseSourceSpan;
2178
- readonly keySpan: ParseSourceSpan;
2179
- readonly valueSpan?: ParseSourceSpan | undefined;
2180
- constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan?: ParseSourceSpan | undefined);
2176
+ readonly sourceSpan: ParseSourceSpan$1;
2177
+ readonly keySpan: ParseSourceSpan$1;
2178
+ readonly valueSpan?: ParseSourceSpan$1 | undefined;
2179
+ constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan?: ParseSourceSpan$1 | undefined);
2181
2180
  }
2182
2181
  declare enum BindingType {
2183
2182
  Property = 0,
@@ -2193,10 +2192,10 @@ declare class BoundElementProperty {
2193
2192
  securityContext: SecurityContext;
2194
2193
  value: ASTWithSource;
2195
2194
  unit: string | null;
2196
- sourceSpan: ParseSourceSpan;
2197
- readonly keySpan: ParseSourceSpan | undefined;
2198
- valueSpan: ParseSourceSpan | undefined;
2199
- constructor(name: string, type: BindingType, securityContext: SecurityContext, value: ASTWithSource, unit: string | null, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan | undefined, valueSpan: ParseSourceSpan | undefined);
2195
+ sourceSpan: ParseSourceSpan$1;
2196
+ readonly keySpan: ParseSourceSpan$1 | undefined;
2197
+ valueSpan: ParseSourceSpan$1 | undefined;
2198
+ constructor(name: string, type: BindingType, securityContext: SecurityContext, value: ASTWithSource, unit: string | null, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1 | undefined, valueSpan: ParseSourceSpan$1 | undefined);
2200
2199
  }
2201
2200
 
2202
2201
  declare enum TokenType {
@@ -2410,19 +2409,19 @@ declare class EmitterVisitorContext {
2410
2409
  private _lines;
2411
2410
  constructor(_indent: number);
2412
2411
  println(from?: {
2413
- sourceSpan: ParseSourceSpan | null;
2412
+ sourceSpan: ParseSourceSpan$1 | null;
2414
2413
  } | null, lastPart?: string): void;
2415
2414
  lineIsEmpty(): boolean;
2416
2415
  lineLength(): number;
2417
2416
  print(from: {
2418
- sourceSpan: ParseSourceSpan | null;
2417
+ sourceSpan: ParseSourceSpan$1 | null;
2419
2418
  } | null, part: string, newLine?: boolean): void;
2420
2419
  removeEmptyLastLine(): void;
2421
2420
  incIndent(): void;
2422
2421
  decIndent(): void;
2423
2422
  toSource(): string;
2424
2423
  toSourceMapGenerator(genFilePath: string, startsAtLine?: number): SourceMapGenerator;
2425
- spanOf(line: number, column: number): ParseSourceSpan | null;
2424
+ spanOf(line: number, column: number): ParseSourceSpan$1 | null;
2426
2425
  }
2427
2426
 
2428
2427
  interface ExternalReferenceResolver {
@@ -2604,6 +2603,301 @@ declare class SelectorContext<T = any> {
2604
2603
  finalize(cssSelector: CssSelector, callback: ((c: CssSelector, a: T) => void) | null): boolean;
2605
2604
  }
2606
2605
 
2606
+ interface CompilerFacade {
2607
+ compilePipe(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3PipeMetadataFacade): any;
2608
+ compilePipeDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclarePipeFacade): any;
2609
+ compileInjectable(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3InjectableMetadataFacade): any;
2610
+ compileInjectableDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareInjectableFacade): any;
2611
+ compileInjector(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3InjectorMetadataFacade): any;
2612
+ compileInjectorDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareInjectorFacade): any;
2613
+ compileNgModule(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3NgModuleMetadataFacade): any;
2614
+ compileNgModuleDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareNgModuleFacade): any;
2615
+ compileDirective(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DirectiveMetadataFacade): any;
2616
+ compileDirectiveDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareDirectiveFacade): any;
2617
+ compileComponent(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3ComponentMetadataFacade): any;
2618
+ compileComponentDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareComponentFacade): any;
2619
+ compileFactory(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3FactoryDefMetadataFacade): any;
2620
+ compileFactoryDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareFactoryFacade): any;
2621
+ createParseSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan;
2622
+ FactoryTarget: typeof FactoryTarget;
2623
+ ResourceLoader: Function & {
2624
+ prototype: ResourceLoader;
2625
+ };
2626
+ }
2627
+ interface CoreEnvironment {
2628
+ [name: string]: unknown;
2629
+ }
2630
+ type ResourceLoader = {
2631
+ get(url: string): Promise<string> | string;
2632
+ };
2633
+ type Provider = unknown;
2634
+ type Type = Function;
2635
+ type OpaqueValue = unknown;
2636
+ declare enum FactoryTarget {
2637
+ Directive = 0,
2638
+ Component = 1,
2639
+ Injectable = 2,
2640
+ Pipe = 3,
2641
+ NgModule = 4
2642
+ }
2643
+ interface R3DependencyMetadataFacade {
2644
+ token: OpaqueValue;
2645
+ attribute: string | null;
2646
+ host: boolean;
2647
+ optional: boolean;
2648
+ self: boolean;
2649
+ skipSelf: boolean;
2650
+ }
2651
+ interface R3DeclareDependencyMetadataFacade {
2652
+ token: OpaqueValue;
2653
+ attribute?: boolean;
2654
+ host?: boolean;
2655
+ optional?: boolean;
2656
+ self?: boolean;
2657
+ skipSelf?: boolean;
2658
+ }
2659
+ interface R3PipeMetadataFacade {
2660
+ name: string;
2661
+ type: Type;
2662
+ pipeName: string;
2663
+ pure: boolean;
2664
+ isStandalone: boolean;
2665
+ }
2666
+ interface R3InjectableMetadataFacade {
2667
+ name: string;
2668
+ type: Type;
2669
+ typeArgumentCount: number;
2670
+ providedIn?: Type | 'root' | 'platform' | 'any' | null;
2671
+ useClass?: OpaqueValue;
2672
+ useFactory?: OpaqueValue;
2673
+ useExisting?: OpaqueValue;
2674
+ useValue?: OpaqueValue;
2675
+ deps?: R3DependencyMetadataFacade[];
2676
+ }
2677
+ interface R3NgModuleMetadataFacade {
2678
+ type: Type;
2679
+ bootstrap: Function[];
2680
+ declarations: Function[];
2681
+ imports: Function[];
2682
+ exports: Function[];
2683
+ schemas: {
2684
+ name: string;
2685
+ }[] | null;
2686
+ id: string | null;
2687
+ }
2688
+ interface R3InjectorMetadataFacade {
2689
+ name: string;
2690
+ type: Type;
2691
+ providers: Provider[];
2692
+ imports: OpaqueValue[];
2693
+ }
2694
+ interface R3HostDirectiveMetadataFacade {
2695
+ directive: Type;
2696
+ inputs?: string[];
2697
+ outputs?: string[];
2698
+ }
2699
+ interface R3DirectiveMetadataFacade {
2700
+ name: string;
2701
+ type: Type;
2702
+ typeSourceSpan: ParseSourceSpan;
2703
+ selector: string | null;
2704
+ queries: R3QueryMetadataFacade[];
2705
+ host: {
2706
+ [key: string]: string;
2707
+ };
2708
+ propMetadata: {
2709
+ [key: string]: OpaqueValue[];
2710
+ };
2711
+ lifecycle: {
2712
+ usesOnChanges: boolean;
2713
+ };
2714
+ inputs: (string | {
2715
+ name: string;
2716
+ alias?: string;
2717
+ required?: boolean;
2718
+ })[];
2719
+ outputs: string[];
2720
+ usesInheritance: boolean;
2721
+ exportAs: string[] | null;
2722
+ providers: Provider[] | null;
2723
+ viewQueries: R3QueryMetadataFacade[];
2724
+ isStandalone: boolean;
2725
+ hostDirectives: R3HostDirectiveMetadataFacade[] | null;
2726
+ isSignal: boolean;
2727
+ }
2728
+ interface R3ComponentMetadataFacade extends R3DirectiveMetadataFacade {
2729
+ template: string;
2730
+ preserveWhitespaces: boolean;
2731
+ animations: OpaqueValue[] | undefined;
2732
+ declarations: R3TemplateDependencyFacade[];
2733
+ styles: string[];
2734
+ encapsulation: ViewEncapsulation;
2735
+ viewProviders: Provider[] | null;
2736
+ interpolation?: [string, string];
2737
+ changeDetection?: ChangeDetectionStrategy;
2738
+ }
2739
+ type LegacyInputPartialMapping$1 = string | [bindingPropertyName: string, classPropertyName: string, transformFunction?: Function];
2740
+ interface R3DeclareDirectiveFacade {
2741
+ selector?: string;
2742
+ type: Type;
2743
+ version: string;
2744
+ inputs?: {
2745
+ [fieldName: string]: {
2746
+ classPropertyName: string;
2747
+ publicName: string;
2748
+ isSignal: boolean;
2749
+ isRequired: boolean;
2750
+ transformFunction: Function | null;
2751
+ } | LegacyInputPartialMapping$1;
2752
+ };
2753
+ outputs?: {
2754
+ [classPropertyName: string]: string;
2755
+ };
2756
+ host?: {
2757
+ attributes?: {
2758
+ [key: string]: OpaqueValue;
2759
+ };
2760
+ listeners?: {
2761
+ [key: string]: string;
2762
+ };
2763
+ properties?: {
2764
+ [key: string]: string;
2765
+ };
2766
+ classAttribute?: string;
2767
+ styleAttribute?: string;
2768
+ };
2769
+ queries?: R3DeclareQueryMetadataFacade[];
2770
+ viewQueries?: R3DeclareQueryMetadataFacade[];
2771
+ providers?: OpaqueValue;
2772
+ exportAs?: string[];
2773
+ usesInheritance?: boolean;
2774
+ usesOnChanges?: boolean;
2775
+ isStandalone?: boolean;
2776
+ isSignal?: boolean;
2777
+ hostDirectives?: R3HostDirectiveMetadataFacade[] | null;
2778
+ }
2779
+ interface R3DeclareComponentFacade extends R3DeclareDirectiveFacade {
2780
+ template: string;
2781
+ isInline?: boolean;
2782
+ styles?: string[];
2783
+ dependencies?: R3DeclareTemplateDependencyFacade[];
2784
+ components?: R3DeclareDirectiveDependencyFacade[];
2785
+ directives?: R3DeclareDirectiveDependencyFacade[];
2786
+ pipes?: {
2787
+ [pipeName: string]: OpaqueValue | (() => OpaqueValue);
2788
+ };
2789
+ deferBlockDependencies?: (() => Promise<Type> | null)[];
2790
+ viewProviders?: OpaqueValue;
2791
+ animations?: OpaqueValue;
2792
+ changeDetection?: ChangeDetectionStrategy;
2793
+ encapsulation?: ViewEncapsulation;
2794
+ interpolation?: [string, string];
2795
+ preserveWhitespaces?: boolean;
2796
+ }
2797
+ type R3DeclareTemplateDependencyFacade = {
2798
+ kind: string;
2799
+ } & (R3DeclareDirectiveDependencyFacade | R3DeclarePipeDependencyFacade | R3DeclareNgModuleDependencyFacade);
2800
+ interface R3DeclareDirectiveDependencyFacade {
2801
+ kind?: 'directive' | 'component';
2802
+ selector: string;
2803
+ type: OpaqueValue | (() => OpaqueValue);
2804
+ inputs?: string[];
2805
+ outputs?: string[];
2806
+ exportAs?: string[];
2807
+ }
2808
+ interface R3DeclarePipeDependencyFacade {
2809
+ kind?: 'pipe';
2810
+ name: string;
2811
+ type: OpaqueValue | (() => OpaqueValue);
2812
+ }
2813
+ interface R3DeclareNgModuleDependencyFacade {
2814
+ kind: 'ngmodule';
2815
+ type: OpaqueValue | (() => OpaqueValue);
2816
+ }
2817
+ declare enum R3TemplateDependencyKind$1 {
2818
+ Directive = 0,
2819
+ Pipe = 1,
2820
+ NgModule = 2
2821
+ }
2822
+ interface R3TemplateDependencyFacade {
2823
+ kind: R3TemplateDependencyKind$1;
2824
+ type: OpaqueValue | (() => OpaqueValue);
2825
+ }
2826
+ interface R3FactoryDefMetadataFacade {
2827
+ name: string;
2828
+ type: Type;
2829
+ typeArgumentCount: number;
2830
+ deps: R3DependencyMetadataFacade[] | null;
2831
+ target: FactoryTarget;
2832
+ }
2833
+ interface R3DeclareFactoryFacade {
2834
+ type: Type;
2835
+ deps: R3DeclareDependencyMetadataFacade[] | 'invalid' | null;
2836
+ target: FactoryTarget;
2837
+ }
2838
+ interface R3DeclareInjectableFacade {
2839
+ type: Type;
2840
+ providedIn?: Type | 'root' | 'platform' | 'any' | null;
2841
+ useClass?: OpaqueValue;
2842
+ useFactory?: OpaqueValue;
2843
+ useExisting?: OpaqueValue;
2844
+ useValue?: OpaqueValue;
2845
+ deps?: R3DeclareDependencyMetadataFacade[];
2846
+ }
2847
+ declare enum ViewEncapsulation {
2848
+ Emulated = 0,
2849
+ None = 2,
2850
+ ShadowDom = 3
2851
+ }
2852
+ type ChangeDetectionStrategy = number;
2853
+ interface R3QueryMetadataFacade {
2854
+ propertyName: string;
2855
+ first: boolean;
2856
+ predicate: OpaqueValue | string[];
2857
+ descendants: boolean;
2858
+ emitDistinctChangesOnly: boolean;
2859
+ read: OpaqueValue | null;
2860
+ static: boolean;
2861
+ isSignal: boolean;
2862
+ }
2863
+ interface R3DeclareQueryMetadataFacade {
2864
+ propertyName: string;
2865
+ first?: boolean;
2866
+ predicate: OpaqueValue | string[];
2867
+ descendants?: boolean;
2868
+ read?: OpaqueValue;
2869
+ static?: boolean;
2870
+ emitDistinctChangesOnly?: boolean;
2871
+ isSignal?: boolean;
2872
+ }
2873
+ interface R3DeclareInjectorFacade {
2874
+ type: Type;
2875
+ imports?: OpaqueValue[];
2876
+ providers?: OpaqueValue[];
2877
+ }
2878
+ interface R3DeclareNgModuleFacade {
2879
+ type: Type;
2880
+ bootstrap?: OpaqueValue[] | (() => OpaqueValue[]);
2881
+ declarations?: OpaqueValue[] | (() => OpaqueValue[]);
2882
+ imports?: OpaqueValue[] | (() => OpaqueValue[]);
2883
+ exports?: OpaqueValue[] | (() => OpaqueValue[]);
2884
+ schemas?: OpaqueValue[];
2885
+ id?: OpaqueValue;
2886
+ }
2887
+ interface R3DeclarePipeFacade {
2888
+ type: Type;
2889
+ version: string;
2890
+ name: string;
2891
+ pure?: boolean;
2892
+ isStandalone?: boolean;
2893
+ }
2894
+ interface ParseSourceSpan {
2895
+ start: any;
2896
+ end: any;
2897
+ details: any;
2898
+ fullStart: any;
2899
+ }
2900
+
2607
2901
  interface R3Reference {
2608
2902
  value: Expression;
2609
2903
  type: Expression;
@@ -2613,7 +2907,7 @@ interface R3Reference {
2613
2907
  */
2614
2908
  interface R3CompiledExpression {
2615
2909
  expression: Expression;
2616
- type: Type;
2910
+ type: Type$1;
2617
2911
  statements: Statement[];
2618
2912
  }
2619
2913
  declare function getSafePropertyAccessString(accessor: string, name: string): string;
@@ -2689,7 +2983,7 @@ interface R3ConstructorFactoryMetadata {
2689
2983
  /**
2690
2984
  * Type of the target being created by the factory.
2691
2985
  */
2692
- target: FactoryTarget$1;
2986
+ target: FactoryTarget;
2693
2987
  }
2694
2988
  declare enum R3FactoryDelegateType {
2695
2989
  Class = 0,
@@ -2704,13 +2998,6 @@ interface R3ExpressionFactoryMetadata extends R3ConstructorFactoryMetadata {
2704
2998
  expression: Expression;
2705
2999
  }
2706
3000
  type R3FactoryMetadata = R3ConstructorFactoryMetadata | R3DelegatedFnOrClassMetadata | R3ExpressionFactoryMetadata;
2707
- declare enum FactoryTarget$1 {
2708
- Directive = 0,
2709
- Component = 1,
2710
- Injectable = 2,
2711
- Pipe = 3,
2712
- NgModule = 4
2713
- }
2714
3001
  interface R3DependencyMetadata {
2715
3002
  /**
2716
3003
  * An expression representing the token or value to be injected.
@@ -2942,12 +3229,12 @@ interface R3DeclareComponentMetadata extends R3DeclareDirectiveMetadata {
2942
3229
  * Strategy used for detecting changes in the component.
2943
3230
  * Defaults to `ChangeDetectionStrategy.Default`.
2944
3231
  */
2945
- changeDetection?: ChangeDetectionStrategy;
3232
+ changeDetection?: ChangeDetectionStrategy$1;
2946
3233
  /**
2947
3234
  * An encapsulation policy for the component's styling.
2948
3235
  * Defaults to `ViewEncapsulation.Emulated`.
2949
3236
  */
2950
- encapsulation?: ViewEncapsulation;
3237
+ encapsulation?: ViewEncapsulation$1;
2951
3238
  /**
2952
3239
  * Overrides the default interpolation start and end delimiters. Defaults to {{ and }}.
2953
3240
  */
@@ -3127,13 +3414,6 @@ interface R3DeclareFactoryMetadata extends R3PartialDeclaration {
3127
3414
  */
3128
3415
  target: FactoryTarget;
3129
3416
  }
3130
- declare enum FactoryTarget {
3131
- Directive = 0,
3132
- Component = 1,
3133
- Injectable = 2,
3134
- Pipe = 3,
3135
- NgModule = 4
3136
- }
3137
3417
  /**
3138
3418
  * Describes the shape of the object that the `ɵɵngDeclareInjectable()` function accepts.
3139
3419
  *
@@ -3261,7 +3541,7 @@ interface R3DeclareHostDirectiveMetadata {
3261
3541
  }
3262
3542
 
3263
3543
  interface Node {
3264
- sourceSpan: ParseSourceSpan;
3544
+ sourceSpan: ParseSourceSpan$1;
3265
3545
  visit<Result>(visitor: Visitor<Result>): Result;
3266
3546
  }
3267
3547
  /**
@@ -3272,21 +3552,21 @@ interface Node {
3272
3552
  */
3273
3553
  declare class Comment implements Node {
3274
3554
  value: string;
3275
- sourceSpan: ParseSourceSpan;
3276
- constructor(value: string, sourceSpan: ParseSourceSpan);
3555
+ sourceSpan: ParseSourceSpan$1;
3556
+ constructor(value: string, sourceSpan: ParseSourceSpan$1);
3277
3557
  visit<Result>(_visitor: Visitor<Result>): Result;
3278
3558
  }
3279
3559
  declare class Text implements Node {
3280
3560
  value: string;
3281
- sourceSpan: ParseSourceSpan;
3282
- constructor(value: string, sourceSpan: ParseSourceSpan);
3561
+ sourceSpan: ParseSourceSpan$1;
3562
+ constructor(value: string, sourceSpan: ParseSourceSpan$1);
3283
3563
  visit<Result>(visitor: Visitor<Result>): Result;
3284
3564
  }
3285
3565
  declare class BoundText implements Node {
3286
3566
  value: AST;
3287
- sourceSpan: ParseSourceSpan;
3567
+ sourceSpan: ParseSourceSpan$1;
3288
3568
  i18n?: I18nMeta$1 | undefined;
3289
- constructor(value: AST, sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
3569
+ constructor(value: AST, sourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
3290
3570
  visit<Result>(visitor: Visitor<Result>): Result;
3291
3571
  }
3292
3572
  /**
@@ -3298,11 +3578,11 @@ declare class BoundText implements Node {
3298
3578
  declare class TextAttribute implements Node {
3299
3579
  name: string;
3300
3580
  value: string;
3301
- sourceSpan: ParseSourceSpan;
3302
- readonly keySpan: ParseSourceSpan | undefined;
3303
- valueSpan?: ParseSourceSpan | undefined;
3581
+ sourceSpan: ParseSourceSpan$1;
3582
+ readonly keySpan: ParseSourceSpan$1 | undefined;
3583
+ valueSpan?: ParseSourceSpan$1 | undefined;
3304
3584
  i18n?: I18nMeta$1 | undefined;
3305
- constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan | undefined, valueSpan?: ParseSourceSpan | undefined, i18n?: I18nMeta$1 | undefined);
3585
+ constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1 | undefined, valueSpan?: ParseSourceSpan$1 | undefined, i18n?: I18nMeta$1 | undefined);
3306
3586
  visit<Result>(visitor: Visitor<Result>): Result;
3307
3587
  }
3308
3588
  declare class BoundAttribute implements Node {
@@ -3311,11 +3591,11 @@ declare class BoundAttribute implements Node {
3311
3591
  securityContext: SecurityContext;
3312
3592
  value: AST;
3313
3593
  unit: string | null;
3314
- sourceSpan: ParseSourceSpan;
3315
- readonly keySpan: ParseSourceSpan;
3316
- valueSpan: ParseSourceSpan | undefined;
3594
+ sourceSpan: ParseSourceSpan$1;
3595
+ readonly keySpan: ParseSourceSpan$1;
3596
+ valueSpan: ParseSourceSpan$1 | undefined;
3317
3597
  i18n: I18nMeta$1 | undefined;
3318
- constructor(name: string, type: BindingType, securityContext: SecurityContext, value: AST, unit: string | null, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan: ParseSourceSpan | undefined, i18n: I18nMeta$1 | undefined);
3598
+ constructor(name: string, type: BindingType, securityContext: SecurityContext, value: AST, unit: string | null, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined, i18n: I18nMeta$1 | undefined);
3319
3599
  static fromBoundElementProperty(prop: BoundElementProperty, i18n?: I18nMeta$1): BoundAttribute;
3320
3600
  visit<Result>(visitor: Visitor<Result>): Result;
3321
3601
  }
@@ -3325,10 +3605,10 @@ declare class BoundEvent implements Node {
3325
3605
  handler: AST;
3326
3606
  target: string | null;
3327
3607
  phase: string | null;
3328
- sourceSpan: ParseSourceSpan;
3329
- handlerSpan: ParseSourceSpan;
3330
- readonly keySpan: ParseSourceSpan;
3331
- constructor(name: string, type: ParsedEventType, handler: AST, target: string | null, phase: string | null, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, keySpan: ParseSourceSpan);
3608
+ sourceSpan: ParseSourceSpan$1;
3609
+ handlerSpan: ParseSourceSpan$1;
3610
+ readonly keySpan: ParseSourceSpan$1;
3611
+ constructor(name: string, type: ParsedEventType, handler: AST, target: string | null, phase: string | null, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1);
3332
3612
  static fromParsedEvent(event: ParsedEvent): BoundEvent;
3333
3613
  visit<Result>(visitor: Visitor<Result>): Result;
3334
3614
  }
@@ -3339,25 +3619,25 @@ declare class Element implements Node {
3339
3619
  outputs: BoundEvent[];
3340
3620
  children: Node[];
3341
3621
  references: Reference[];
3342
- sourceSpan: ParseSourceSpan;
3343
- startSourceSpan: ParseSourceSpan;
3344
- endSourceSpan: ParseSourceSpan | null;
3622
+ sourceSpan: ParseSourceSpan$1;
3623
+ startSourceSpan: ParseSourceSpan$1;
3624
+ endSourceSpan: ParseSourceSpan$1 | null;
3345
3625
  i18n?: I18nMeta$1 | undefined;
3346
- constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], children: Node[], references: Reference[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
3626
+ constructor(name: string, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], children: Node[], references: Reference[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
3347
3627
  visit<Result>(visitor: Visitor<Result>): Result;
3348
3628
  }
3349
3629
  declare abstract class DeferredTrigger implements Node {
3350
- nameSpan: ParseSourceSpan | null;
3351
- sourceSpan: ParseSourceSpan;
3352
- prefetchSpan: ParseSourceSpan | null;
3353
- whenOrOnSourceSpan: ParseSourceSpan | null;
3354
- hydrateSpan: ParseSourceSpan | null;
3355
- constructor(nameSpan: ParseSourceSpan | null, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, whenOrOnSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
3630
+ nameSpan: ParseSourceSpan$1 | null;
3631
+ sourceSpan: ParseSourceSpan$1;
3632
+ prefetchSpan: ParseSourceSpan$1 | null;
3633
+ whenOrOnSourceSpan: ParseSourceSpan$1 | null;
3634
+ hydrateSpan: ParseSourceSpan$1 | null;
3635
+ constructor(nameSpan: ParseSourceSpan$1 | null, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, whenOrOnSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
3356
3636
  visit<Result>(visitor: Visitor<Result>): Result;
3357
3637
  }
3358
3638
  declare class BoundDeferredTrigger extends DeferredTrigger {
3359
3639
  value: AST;
3360
- constructor(value: AST, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, whenSourceSpan: ParseSourceSpan, hydrateSpan: ParseSourceSpan | null);
3640
+ constructor(value: AST, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, whenSourceSpan: ParseSourceSpan$1, hydrateSpan: ParseSourceSpan$1 | null);
3361
3641
  }
3362
3642
  declare class NeverDeferredTrigger extends DeferredTrigger {
3363
3643
  }
@@ -3367,32 +3647,32 @@ declare class ImmediateDeferredTrigger extends DeferredTrigger {
3367
3647
  }
3368
3648
  declare class HoverDeferredTrigger extends DeferredTrigger {
3369
3649
  reference: string | null;
3370
- constructor(reference: string | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
3650
+ constructor(reference: string | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
3371
3651
  }
3372
3652
  declare class TimerDeferredTrigger extends DeferredTrigger {
3373
3653
  delay: number;
3374
- constructor(delay: number, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
3654
+ constructor(delay: number, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
3375
3655
  }
3376
3656
  declare class InteractionDeferredTrigger extends DeferredTrigger {
3377
3657
  reference: string | null;
3378
- constructor(reference: string | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
3658
+ constructor(reference: string | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
3379
3659
  }
3380
3660
  declare class ViewportDeferredTrigger extends DeferredTrigger {
3381
3661
  reference: string | null;
3382
- constructor(reference: string | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, prefetchSpan: ParseSourceSpan | null, onSourceSpan: ParseSourceSpan | null, hydrateSpan: ParseSourceSpan | null);
3662
+ constructor(reference: string | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, prefetchSpan: ParseSourceSpan$1 | null, onSourceSpan: ParseSourceSpan$1 | null, hydrateSpan: ParseSourceSpan$1 | null);
3383
3663
  }
3384
3664
  declare class BlockNode {
3385
- nameSpan: ParseSourceSpan;
3386
- sourceSpan: ParseSourceSpan;
3387
- startSourceSpan: ParseSourceSpan;
3388
- endSourceSpan: ParseSourceSpan | null;
3389
- constructor(nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null);
3665
+ nameSpan: ParseSourceSpan$1;
3666
+ sourceSpan: ParseSourceSpan$1;
3667
+ startSourceSpan: ParseSourceSpan$1;
3668
+ endSourceSpan: ParseSourceSpan$1 | null;
3669
+ constructor(nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null);
3390
3670
  }
3391
3671
  declare class DeferredBlockPlaceholder extends BlockNode implements Node {
3392
3672
  children: Node[];
3393
3673
  minimumTime: number | null;
3394
3674
  i18n?: I18nMeta$1 | undefined;
3395
- constructor(children: Node[], minimumTime: number | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
3675
+ constructor(children: Node[], minimumTime: number | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
3396
3676
  visit<Result>(visitor: Visitor<Result>): Result;
3397
3677
  }
3398
3678
  declare class DeferredBlockLoading extends BlockNode implements Node {
@@ -3400,13 +3680,13 @@ declare class DeferredBlockLoading extends BlockNode implements Node {
3400
3680
  afterTime: number | null;
3401
3681
  minimumTime: number | null;
3402
3682
  i18n?: I18nMeta$1 | undefined;
3403
- constructor(children: Node[], afterTime: number | null, minimumTime: number | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
3683
+ constructor(children: Node[], afterTime: number | null, minimumTime: number | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
3404
3684
  visit<Result>(visitor: Visitor<Result>): Result;
3405
3685
  }
3406
3686
  declare class DeferredBlockError extends BlockNode implements Node {
3407
3687
  children: Node[];
3408
3688
  i18n?: I18nMeta$1 | undefined;
3409
- constructor(children: Node[], nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
3689
+ constructor(children: Node[], nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
3410
3690
  visit<Result>(visitor: Visitor<Result>): Result;
3411
3691
  }
3412
3692
  interface DeferredBlockTriggers {
@@ -3424,7 +3704,7 @@ declare class DeferredBlock extends BlockNode implements Node {
3424
3704
  placeholder: DeferredBlockPlaceholder | null;
3425
3705
  loading: DeferredBlockLoading | null;
3426
3706
  error: DeferredBlockError | null;
3427
- mainBlockSpan: ParseSourceSpan;
3707
+ mainBlockSpan: ParseSourceSpan$1;
3428
3708
  i18n?: I18nMeta$1 | undefined;
3429
3709
  readonly triggers: Readonly<DeferredBlockTriggers>;
3430
3710
  readonly prefetchTriggers: Readonly<DeferredBlockTriggers>;
@@ -3432,7 +3712,7 @@ declare class DeferredBlock extends BlockNode implements Node {
3432
3712
  private readonly definedTriggers;
3433
3713
  private readonly definedPrefetchTriggers;
3434
3714
  private readonly definedHydrateTriggers;
3435
- constructor(children: Node[], triggers: DeferredBlockTriggers, prefetchTriggers: DeferredBlockTriggers, hydrateTriggers: DeferredBlockTriggers, placeholder: DeferredBlockPlaceholder | null, loading: DeferredBlockLoading | null, error: DeferredBlockError | null, nameSpan: ParseSourceSpan, sourceSpan: ParseSourceSpan, mainBlockSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
3715
+ constructor(children: Node[], triggers: DeferredBlockTriggers, prefetchTriggers: DeferredBlockTriggers, hydrateTriggers: DeferredBlockTriggers, placeholder: DeferredBlockPlaceholder | null, loading: DeferredBlockLoading | null, error: DeferredBlockError | null, nameSpan: ParseSourceSpan$1, sourceSpan: ParseSourceSpan$1, mainBlockSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
3436
3716
  visit<Result>(visitor: Visitor<Result>): Result;
3437
3717
  visitAll(visitor: Visitor<unknown>): void;
3438
3718
  private visitTriggers;
@@ -3450,38 +3730,38 @@ declare class SwitchBlock extends BlockNode implements Node {
3450
3730
  * These blocks are only captured to allow for autocompletion in the language service. They
3451
3731
  * aren't meant to be processed in any other way.
3452
3732
  */
3453
- unknownBlocks: UnknownBlock[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan);
3733
+ unknownBlocks: UnknownBlock[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1);
3454
3734
  visit<Result>(visitor: Visitor<Result>): Result;
3455
3735
  }
3456
3736
  declare class SwitchBlockCase extends BlockNode implements Node {
3457
3737
  expression: AST | null;
3458
3738
  children: Node[];
3459
3739
  i18n?: I18nMeta$1 | undefined;
3460
- constructor(expression: AST | null, children: Node[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
3740
+ constructor(expression: AST | null, children: Node[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
3461
3741
  visit<Result>(visitor: Visitor<Result>): Result;
3462
3742
  }
3463
3743
  declare class ForLoopBlock extends BlockNode implements Node {
3464
3744
  item: Variable;
3465
3745
  expression: ASTWithSource;
3466
3746
  trackBy: ASTWithSource;
3467
- trackKeywordSpan: ParseSourceSpan;
3747
+ trackKeywordSpan: ParseSourceSpan$1;
3468
3748
  contextVariables: Variable[];
3469
3749
  children: Node[];
3470
3750
  empty: ForLoopBlockEmpty | null;
3471
- mainBlockSpan: ParseSourceSpan;
3751
+ mainBlockSpan: ParseSourceSpan$1;
3472
3752
  i18n?: I18nMeta$1 | undefined;
3473
- constructor(item: Variable, expression: ASTWithSource, trackBy: ASTWithSource, trackKeywordSpan: ParseSourceSpan, contextVariables: Variable[], children: Node[], empty: ForLoopBlockEmpty | null, sourceSpan: ParseSourceSpan, mainBlockSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
3753
+ constructor(item: Variable, expression: ASTWithSource, trackBy: ASTWithSource, trackKeywordSpan: ParseSourceSpan$1, contextVariables: Variable[], children: Node[], empty: ForLoopBlockEmpty | null, sourceSpan: ParseSourceSpan$1, mainBlockSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
3474
3754
  visit<Result>(visitor: Visitor<Result>): Result;
3475
3755
  }
3476
3756
  declare class ForLoopBlockEmpty extends BlockNode implements Node {
3477
3757
  children: Node[];
3478
3758
  i18n?: I18nMeta$1 | undefined;
3479
- constructor(children: Node[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
3759
+ constructor(children: Node[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
3480
3760
  visit<Result>(visitor: Visitor<Result>): Result;
3481
3761
  }
3482
3762
  declare class IfBlock extends BlockNode implements Node {
3483
3763
  branches: IfBlockBranch[];
3484
- constructor(branches: IfBlockBranch[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan);
3764
+ constructor(branches: IfBlockBranch[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1);
3485
3765
  visit<Result>(visitor: Visitor<Result>): Result;
3486
3766
  }
3487
3767
  declare class IfBlockBranch extends BlockNode implements Node {
@@ -3489,23 +3769,23 @@ declare class IfBlockBranch extends BlockNode implements Node {
3489
3769
  children: Node[];
3490
3770
  expressionAlias: Variable | null;
3491
3771
  i18n?: I18nMeta$1 | undefined;
3492
- constructor(expression: AST | null, children: Node[], expressionAlias: Variable | null, sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, nameSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
3772
+ constructor(expression: AST | null, children: Node[], expressionAlias: Variable | null, sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, nameSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
3493
3773
  visit<Result>(visitor: Visitor<Result>): Result;
3494
3774
  }
3495
3775
  declare class UnknownBlock implements Node {
3496
3776
  name: string;
3497
- sourceSpan: ParseSourceSpan;
3498
- nameSpan: ParseSourceSpan;
3499
- constructor(name: string, sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan);
3777
+ sourceSpan: ParseSourceSpan$1;
3778
+ nameSpan: ParseSourceSpan$1;
3779
+ constructor(name: string, sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1);
3500
3780
  visit<Result>(visitor: Visitor<Result>): Result;
3501
3781
  }
3502
3782
  declare class LetDeclaration implements Node {
3503
3783
  name: string;
3504
3784
  value: AST;
3505
- sourceSpan: ParseSourceSpan;
3506
- nameSpan: ParseSourceSpan;
3507
- valueSpan: ParseSourceSpan;
3508
- constructor(name: string, value: AST, sourceSpan: ParseSourceSpan, nameSpan: ParseSourceSpan, valueSpan: ParseSourceSpan);
3785
+ sourceSpan: ParseSourceSpan$1;
3786
+ nameSpan: ParseSourceSpan$1;
3787
+ valueSpan: ParseSourceSpan$1;
3788
+ constructor(name: string, value: AST, sourceSpan: ParseSourceSpan$1, nameSpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1);
3509
3789
  visit<Result>(visitor: Visitor<Result>): Result;
3510
3790
  }
3511
3791
  declare class Template implements Node {
@@ -3517,39 +3797,39 @@ declare class Template implements Node {
3517
3797
  children: Node[];
3518
3798
  references: Reference[];
3519
3799
  variables: Variable[];
3520
- sourceSpan: ParseSourceSpan;
3521
- startSourceSpan: ParseSourceSpan;
3522
- endSourceSpan: ParseSourceSpan | null;
3800
+ sourceSpan: ParseSourceSpan$1;
3801
+ startSourceSpan: ParseSourceSpan$1;
3802
+ endSourceSpan: ParseSourceSpan$1 | null;
3523
3803
  i18n?: I18nMeta$1 | undefined;
3524
- constructor(tagName: string | null, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], templateAttrs: (BoundAttribute | TextAttribute)[], children: Node[], references: Reference[], variables: Variable[], sourceSpan: ParseSourceSpan, startSourceSpan: ParseSourceSpan, endSourceSpan: ParseSourceSpan | null, i18n?: I18nMeta$1 | undefined);
3804
+ constructor(tagName: string | null, attributes: TextAttribute[], inputs: BoundAttribute[], outputs: BoundEvent[], templateAttrs: (BoundAttribute | TextAttribute)[], children: Node[], references: Reference[], variables: Variable[], sourceSpan: ParseSourceSpan$1, startSourceSpan: ParseSourceSpan$1, endSourceSpan: ParseSourceSpan$1 | null, i18n?: I18nMeta$1 | undefined);
3525
3805
  visit<Result>(visitor: Visitor<Result>): Result;
3526
3806
  }
3527
3807
  declare class Content implements Node {
3528
3808
  selector: string;
3529
3809
  attributes: TextAttribute[];
3530
3810
  children: Node[];
3531
- sourceSpan: ParseSourceSpan;
3811
+ sourceSpan: ParseSourceSpan$1;
3532
3812
  i18n?: I18nMeta$1 | undefined;
3533
3813
  readonly name = "ng-content";
3534
- constructor(selector: string, attributes: TextAttribute[], children: Node[], sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
3814
+ constructor(selector: string, attributes: TextAttribute[], children: Node[], sourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
3535
3815
  visit<Result>(visitor: Visitor<Result>): Result;
3536
3816
  }
3537
3817
  declare class Variable implements Node {
3538
3818
  name: string;
3539
3819
  value: string;
3540
- sourceSpan: ParseSourceSpan;
3541
- readonly keySpan: ParseSourceSpan;
3542
- valueSpan?: ParseSourceSpan | undefined;
3543
- constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan?: ParseSourceSpan | undefined);
3820
+ sourceSpan: ParseSourceSpan$1;
3821
+ readonly keySpan: ParseSourceSpan$1;
3822
+ valueSpan?: ParseSourceSpan$1 | undefined;
3823
+ constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan?: ParseSourceSpan$1 | undefined);
3544
3824
  visit<Result>(visitor: Visitor<Result>): Result;
3545
3825
  }
3546
3826
  declare class Reference implements Node {
3547
3827
  name: string;
3548
3828
  value: string;
3549
- sourceSpan: ParseSourceSpan;
3550
- readonly keySpan: ParseSourceSpan;
3551
- valueSpan?: ParseSourceSpan | undefined;
3552
- constructor(name: string, value: string, sourceSpan: ParseSourceSpan, keySpan: ParseSourceSpan, valueSpan?: ParseSourceSpan | undefined);
3829
+ sourceSpan: ParseSourceSpan$1;
3830
+ readonly keySpan: ParseSourceSpan$1;
3831
+ valueSpan?: ParseSourceSpan$1 | undefined;
3832
+ constructor(name: string, value: string, sourceSpan: ParseSourceSpan$1, keySpan: ParseSourceSpan$1, valueSpan?: ParseSourceSpan$1 | undefined);
3553
3833
  visit<Result>(visitor: Visitor<Result>): Result;
3554
3834
  }
3555
3835
  declare class Icu implements Node {
@@ -3559,13 +3839,13 @@ declare class Icu implements Node {
3559
3839
  placeholders: {
3560
3840
  [name: string]: Text | BoundText;
3561
3841
  };
3562
- sourceSpan: ParseSourceSpan;
3842
+ sourceSpan: ParseSourceSpan$1;
3563
3843
  i18n?: I18nMeta$1 | undefined;
3564
3844
  constructor(vars: {
3565
3845
  [name: string]: BoundText;
3566
3846
  }, placeholders: {
3567
3847
  [name: string]: Text | BoundText;
3568
- }, sourceSpan: ParseSourceSpan, i18n?: I18nMeta$1 | undefined);
3848
+ }, sourceSpan: ParseSourceSpan$1, i18n?: I18nMeta$1 | undefined);
3569
3849
  visit<Result>(visitor: Visitor<Result>): Result;
3570
3850
  }
3571
3851
  interface Visitor<Result = any> {
@@ -3642,7 +3922,7 @@ interface R3DirectiveMetadata {
3642
3922
  /**
3643
3923
  * A source span for the directive type.
3644
3924
  */
3645
- typeSourceSpan: ParseSourceSpan;
3925
+ typeSourceSpan: ParseSourceSpan$1;
3646
3926
  /**
3647
3927
  * Dependencies of the directive's constructor.
3648
3928
  */
@@ -3828,7 +4108,7 @@ interface R3ComponentMetadata<DeclarationT extends R3TemplateDependency> extends
3828
4108
  * - `ViewEncapsulation.None`: Apply component styles globally without any sort of encapsulation.
3829
4109
  * - `ViewEncapsulation.ShadowDom`: Use the browser's native Shadow DOM API to encapsulate styles.
3830
4110
  */
3831
- encapsulation: ViewEncapsulation;
4111
+ encapsulation: ViewEncapsulation$1;
3832
4112
  /**
3833
4113
  * A collection of animation triggers that will be used in the component template.
3834
4114
  */
@@ -3859,7 +4139,7 @@ interface R3ComponentMetadata<DeclarationT extends R3TemplateDependency> extends
3859
4139
  * statically resolved during analysis phase. Whereas in local compilation mode the value is the
3860
4140
  * expression as appears in the decorator.
3861
4141
  */
3862
- changeDetection: ChangeDetectionStrategy | Expression | null;
4142
+ changeDetection: ChangeDetectionStrategy$1 | Expression | null;
3863
4143
  /**
3864
4144
  * Relative path to the component's template from the root of the project.
3865
4145
  * Used to generate debugging information.
@@ -4624,6 +4904,7 @@ declare class Identifiers {
4624
4904
  static forwardRef: ExternalReference;
4625
4905
  static resolveForwardRef: ExternalReference;
4626
4906
  static replaceMetadata: ExternalReference;
4907
+ static getReplaceMetadataURL: ExternalReference;
4627
4908
  static ɵɵdefineInjectable: ExternalReference;
4628
4909
  static declareInjectable: ExternalReference;
4629
4910
  static InjectableDeclaration: ExternalReference;
@@ -5042,15 +5323,15 @@ declare class BindingParser {
5042
5323
  errors: ParseError[];
5043
5324
  constructor(_exprParser: Parser, _interpolationConfig: InterpolationConfig, _schemaRegistry: ElementSchemaRegistry, errors: ParseError[]);
5044
5325
  get interpolationConfig(): InterpolationConfig;
5045
- createBoundHostProperties(properties: HostProperties, sourceSpan: ParseSourceSpan): ParsedProperty[] | null;
5046
- createDirectiveHostEventAsts(hostListeners: HostListeners, sourceSpan: ParseSourceSpan): ParsedEvent[] | null;
5047
- parseInterpolation(value: string, sourceSpan: ParseSourceSpan, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): ASTWithSource;
5326
+ createBoundHostProperties(properties: HostProperties, sourceSpan: ParseSourceSpan$1): ParsedProperty[] | null;
5327
+ createDirectiveHostEventAsts(hostListeners: HostListeners, sourceSpan: ParseSourceSpan$1): ParsedEvent[] | null;
5328
+ parseInterpolation(value: string, sourceSpan: ParseSourceSpan$1, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): ASTWithSource;
5048
5329
  /**
5049
5330
  * Similar to `parseInterpolation`, but treats the provided string as a single expression
5050
5331
  * element that would normally appear within the interpolation prefix and suffix (`{{` and `}}`).
5051
5332
  * This is used for parsing the switch expression in ICUs.
5052
5333
  */
5053
- parseInterpolationExpression(expression: string, sourceSpan: ParseSourceSpan): ASTWithSource;
5334
+ parseInterpolationExpression(expression: string, sourceSpan: ParseSourceSpan$1): ASTWithSource;
5054
5335
  /**
5055
5336
  * Parses the bindings in a microsyntax expression, and converts them to
5056
5337
  * `ParsedProperty` or `ParsedVariable`.
@@ -5063,7 +5344,7 @@ declare class BindingParser {
5063
5344
  * @param targetProps target property bindings in the template
5064
5345
  * @param targetVars target variables in the template
5065
5346
  */
5066
- parseInlineTemplateBinding(tplKey: string, tplValue: string, sourceSpan: ParseSourceSpan, absoluteValueOffset: number, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], targetVars: ParsedVariable[], isIvyAst: boolean): void;
5347
+ parseInlineTemplateBinding(tplKey: string, tplValue: string, sourceSpan: ParseSourceSpan$1, absoluteValueOffset: number, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], targetVars: ParsedVariable[], isIvyAst: boolean): void;
5067
5348
  /**
5068
5349
  * Parses the bindings in a microsyntax expression, e.g.
5069
5350
  * ```html
@@ -5077,14 +5358,14 @@ declare class BindingParser {
5077
5358
  * @param absoluteValueOffset start of the `tplValue`
5078
5359
  */
5079
5360
  private _parseTemplateBindings;
5080
- parseLiteralAttr(name: string, value: string | null, sourceSpan: ParseSourceSpan, absoluteOffset: number, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan): void;
5081
- parsePropertyBinding(name: string, expression: string, isHost: boolean, isPartOfAssignmentBinding: boolean, sourceSpan: ParseSourceSpan, absoluteOffset: number, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan): void;
5082
- parsePropertyInterpolation(name: string, value: string, sourceSpan: ParseSourceSpan, valueSpan: ParseSourceSpan | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): boolean;
5361
+ parseLiteralAttr(name: string, value: string | null, sourceSpan: ParseSourceSpan$1, absoluteOffset: number, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1): void;
5362
+ parsePropertyBinding(name: string, expression: string, isHost: boolean, isPartOfAssignmentBinding: boolean, sourceSpan: ParseSourceSpan$1, absoluteOffset: number, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1): void;
5363
+ parsePropertyInterpolation(name: string, value: string, sourceSpan: ParseSourceSpan$1, valueSpan: ParseSourceSpan$1 | undefined, targetMatchableAttrs: string[][], targetProps: ParsedProperty[], keySpan: ParseSourceSpan$1, interpolatedTokens: InterpolatedAttributeToken[] | InterpolatedTextToken[] | null): boolean;
5083
5364
  private _parsePropertyAst;
5084
5365
  private _parseAnimation;
5085
- parseBinding(value: string, isHostBinding: boolean, sourceSpan: ParseSourceSpan, absoluteOffset: number): ASTWithSource;
5366
+ parseBinding(value: string, isHostBinding: boolean, sourceSpan: ParseSourceSpan$1, absoluteOffset: number): ASTWithSource;
5086
5367
  createBoundElementProperty(elementSelector: string, boundProp: ParsedProperty, skipValidation?: boolean, mapPropertyName?: boolean): BoundElementProperty;
5087
- parseEvent(name: string, expression: string, isAssignmentEvent: boolean, sourceSpan: ParseSourceSpan, handlerSpan: ParseSourceSpan, targetMatchableAttrs: string[][], targetEvents: ParsedEvent[], keySpan: ParseSourceSpan): void;
5368
+ parseEvent(name: string, expression: string, isAssignmentEvent: boolean, sourceSpan: ParseSourceSpan$1, handlerSpan: ParseSourceSpan$1, targetMatchableAttrs: string[][], targetEvents: ParsedEvent[], keySpan: ParseSourceSpan$1): void;
5088
5369
  calcPossibleSecurityContexts(selector: string, propName: string, isAttribute: boolean): SecurityContext[];
5089
5370
  private _parseAnimationEvent;
5090
5371
  private _parseRegularEvent;
@@ -5296,7 +5577,7 @@ declare function parseHostBindings(host: {
5296
5577
  * @param sourceSpan source span where host bindings were defined.
5297
5578
  * @returns array of errors associated with a given set of host bindings.
5298
5579
  */
5299
- declare function verifyHostBindings(bindings: ParsedHostBindings, sourceSpan: ParseSourceSpan): ParseError[];
5580
+ declare function verifyHostBindings(bindings: ParsedHostBindings, sourceSpan: ParseSourceSpan$1): ParseError[];
5300
5581
  /**
5301
5582
  * Encapsulates a CSS stylesheet with emulated view encapsulation.
5302
5583
  * This allows a stylesheet to be used with an Angular component that
@@ -5366,7 +5647,53 @@ declare function compileDeclareNgModuleFromMetadata(meta: R3NgModuleMetadata): R
5366
5647
  */
5367
5648
  declare function compileDeclarePipeFromMetadata(meta: R3PipeMetadata): R3CompiledExpression;
5368
5649
 
5650
+ declare class CompilerFacadeImpl implements CompilerFacade {
5651
+ private jitEvaluator;
5652
+ FactoryTarget: typeof FactoryTarget;
5653
+ ResourceLoader: typeof ResourceLoader$1;
5654
+ private elementSchemaRegistry;
5655
+ constructor(jitEvaluator?: JitEvaluator);
5656
+ compilePipe(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3PipeMetadataFacade): any;
5657
+ compilePipeDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclarePipeFacade): any;
5658
+ compileInjectable(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3InjectableMetadataFacade): any;
5659
+ compileInjectableDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3DeclareInjectableFacade): any;
5660
+ compileInjector(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3InjectorMetadataFacade): any;
5661
+ compileInjectorDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareInjectorFacade): any;
5662
+ compileNgModule(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3NgModuleMetadataFacade): any;
5663
+ compileNgModuleDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareNgModuleFacade): any;
5664
+ compileDirective(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3DirectiveMetadataFacade): any;
5665
+ compileDirectiveDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareDirectiveFacade): any;
5666
+ private compileDirectiveFromMeta;
5667
+ compileComponent(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, facade: R3ComponentMetadataFacade): any;
5668
+ compileComponentDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, declaration: R3DeclareComponentFacade): any;
5669
+ private compileComponentFromMeta;
5670
+ compileFactory(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3FactoryDefMetadataFacade): any;
5671
+ compileFactoryDeclaration(angularCoreEnv: CoreEnvironment, sourceMapUrl: string, meta: R3DeclareFactoryFacade): any;
5672
+ createParseSourceSpan(kind: string, typeName: string, sourceUrl: string): ParseSourceSpan$1;
5673
+ /**
5674
+ * JIT compiles an expression and returns the result of executing that expression.
5675
+ *
5676
+ * @param def the definition which will be compiled and executed to get the value to patch
5677
+ * @param context an object map of @angular/core symbol names to symbols which will be available
5678
+ * in the context of the compiled expression
5679
+ * @param sourceUrl a URL to use for the source map of the compiled expression
5680
+ * @param preStatements a collection of statements that should be evaluated before the expression.
5681
+ */
5682
+ private jitExpression;
5683
+ }
5369
5684
  declare function publishFacade(global: any): void;
5370
5685
 
5371
- export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy, CommaExpr, Comment$1 as Comment, CompilerConfig, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclarationListEmitMode, DeclareFunctionStmt, DeclareVarStmt, DeferBlockDepsEmitMode, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element$1 as Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, FactoryTarget$1 as FactoryTarget, ForwardRefHandling, FunctionExpr, HtmlParser, HtmlTagDefinition, I18NHtmlParser, IfStmt, ImplicitReceiver, InstantiateExpr, Interpolation, InterpolationConfig, InvokeFunctionExpr, JSDocComment, JitEvaluator, KeyedRead, KeyedWrite, LeadingComment, LetDeclaration$1 as LetDeclaration, Lexer, TokenType$1 as LexerTokenType, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, LiteralPrimitive, LocalizedString, MapType, MessageBundle, NONE_TYPE, NO_ERRORS_SCHEMA, NodeWithI18n, NonNullAssert, NotExpr, ParseError, ParseErrorLevel, ParseFlags, ParseLocation, ParseSourceFile, ParseSourceSpan, ParseSpan, ParseTreeResult, ParsedEvent, ParsedEventType, ParsedProperty, ParsedPropertyType, ParsedVariable, Parser, ParserError, PrefixNot, PropertyRead, PropertyWrite, R3BoundTarget, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor$1 as RecursiveVisitor, ResourceLoader, ReturnStatement, STRING_TYPE, SafeCall, SafeKeyedRead, SafePropertyRead, SelectorContext, SelectorListContext, SelectorMatcher, Serializer, SplitInterpolation, Statement, StmtModifier, StringToken, StringTokenKind, TagContentType, TaggedTemplateLiteralExpr, TemplateBindingParseResult, TemplateLiteral, TemplateLiteralElement, TemplateLiteralElementExpr, TemplateLiteralExpr, Text$1 as Text, ThisReceiver, BlockNode as TmplAstBlockNode, BoundAttribute as TmplAstBoundAttribute, BoundDeferredTrigger as TmplAstBoundDeferredTrigger, BoundEvent as TmplAstBoundEvent, BoundText as TmplAstBoundText, Content as TmplAstContent, DeferredBlock as TmplAstDeferredBlock, DeferredBlockError as TmplAstDeferredBlockError, DeferredBlockLoading as TmplAstDeferredBlockLoading, DeferredBlockPlaceholder as TmplAstDeferredBlockPlaceholder, DeferredTrigger as TmplAstDeferredTrigger, Element as TmplAstElement, ForLoopBlock as TmplAstForLoopBlock, ForLoopBlockEmpty as TmplAstForLoopBlockEmpty, HoverDeferredTrigger as TmplAstHoverDeferredTrigger, Icu as TmplAstIcu, IdleDeferredTrigger as TmplAstIdleDeferredTrigger, IfBlock as TmplAstIfBlock, IfBlockBranch as TmplAstIfBlockBranch, ImmediateDeferredTrigger as TmplAstImmediateDeferredTrigger, InteractionDeferredTrigger as TmplAstInteractionDeferredTrigger, LetDeclaration as TmplAstLetDeclaration, NeverDeferredTrigger as TmplAstNeverDeferredTrigger, RecursiveVisitor as TmplAstRecursiveVisitor, Reference as TmplAstReference, SwitchBlock as TmplAstSwitchBlock, SwitchBlockCase as TmplAstSwitchBlockCase, Template as TmplAstTemplate, Text as TmplAstText, TextAttribute as TmplAstTextAttribute, TimerDeferredTrigger as TmplAstTimerDeferredTrigger, UnknownBlock as TmplAstUnknownBlock, Variable as TmplAstVariable, ViewportDeferredTrigger as TmplAstViewportDeferredTrigger, Token, TokenType, TransplantedType, TreeError, Type, TypeModifier, TypeofExpr, TypeofExpression, Unary, UnaryOperator, UnaryOperatorExpr, VERSION, VariableBinding, Version, ViewEncapsulation, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, Xliff, Xliff2, Xmb, XmlParser, Xtb, compileClassDebugInfo, compileClassMetadata, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata, compileDeclareComponentFromMetadata, compileDeclareDirectiveFromMetadata, compileDeclareFactoryFunction, compileDeclareInjectableFromMetadata, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileDeclarePipeFromMetadata, compileDeferResolverFunction, compileDirectiveFromMetadata, compileFactoryFunction, compileHmrInitializer, compileHmrUpdateCallback, compileInjectable, compileInjector, compileNgModule, compileOpaqueAsyncClassMetadata, compilePipeFromMetadata, computeMsgId, core_d as core, createCssSelectorFromNode, createInjectableType, createMayBeForwardRefExpression, devOnlyGuardedExpression, emitDistinctChangesOnlyDefaultValue, encapsulateStyle, findMatchingDirectivesAndPipes, getHtmlTagDefinition, getNsPrefix, getSafePropertyAccessString, identifierName, isNgContainer, isNgContent, isNgTemplate, jsDocComment, leadingComment, literal, literalMap, makeBindingParser, mergeNsAndName, output_ast_d as outputAst, parseHostBindings, parseTemplate, preserveWhitespacesDefault, publishFacade, r3JitTypeSourceSpan, sanitizeIdentifier, splitNsName, visitAll as tmplAstVisitAll, verifyHostBindings, visitAll$1 as visitAll };
5686
+ /*!
5687
+ * @license
5688
+ * Copyright Google LLC All Rights Reserved.
5689
+ *
5690
+ * Use of this source code is governed by an MIT-style license that can be
5691
+ * found in the LICENSE file at https://angular.dev/license
5692
+ */
5693
+ /**
5694
+ * Utility function to enable source locations. Intended to be used **only** inside unit tests.
5695
+ */
5696
+ declare function setEnableTemplateSourceLocations(value: boolean): void;
5697
+
5698
+ export { AST, ASTWithName, ASTWithSource, AbsoluteSourceSpan, ArrayType, ArrowFunctionExpr, Attribute, Binary, BinaryOperator, BinaryOperatorExpr, BindingPipe, BindingType, Block, BlockParameter, BoundElementProperty, BuiltinType, BuiltinTypeName, CUSTOM_ELEMENTS_SCHEMA, Call, Chain, ChangeDetectionStrategy$1 as ChangeDetectionStrategy, CommaExpr, Comment$1 as Comment, CompilerConfig, CompilerFacadeImpl, Conditional, ConditionalExpr, ConstantPool, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DYNAMIC_TYPE, DeclarationListEmitMode, DeclareFunctionStmt, DeclareVarStmt, DeferBlockDepsEmitMode, DomElementSchemaRegistry, DynamicImportExpr, EOF, Element$1 as Element, ElementSchemaRegistry, EmitterVisitorContext, EmptyExpr, Expansion, ExpansionCase, Expression, ExpressionBinding, ExpressionStatement, ExpressionType, ExternalExpr, ExternalReference, FactoryTarget, ForwardRefHandling, FunctionExpr, HtmlParser, HtmlTagDefinition, I18NHtmlParser, IfStmt, ImplicitReceiver, InstantiateExpr, Interpolation, InterpolationConfig, InvokeFunctionExpr, JSDocComment, JitEvaluator, KeyedRead, KeyedWrite, LeadingComment, LetDeclaration$1 as LetDeclaration, Lexer, TokenType$1 as LexerTokenType, LiteralArray, LiteralArrayExpr, LiteralExpr, LiteralMap, LiteralMapExpr, LiteralPrimitive, LocalizedString, MapType, MessageBundle, NONE_TYPE, NO_ERRORS_SCHEMA, NodeWithI18n, NonNullAssert, NotExpr, ParseError, ParseErrorLevel, ParseFlags, ParseLocation, ParseSourceFile, ParseSourceSpan$1 as ParseSourceSpan, ParseSpan, ParseTreeResult, ParsedEvent, ParsedEventType, ParsedProperty, ParsedPropertyType, ParsedVariable, Parser, ParserError, PrefixNot, PropertyRead, PropertyWrite, R3BoundTarget, Identifiers as R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, R3TargetBinder, R3TemplateDependencyKind, ReadKeyExpr, ReadPropExpr, ReadVarExpr, RecursiveAstVisitor, RecursiveVisitor$1 as RecursiveVisitor, ResourceLoader$1 as ResourceLoader, ReturnStatement, SECURITY_SCHEMA, STRING_TYPE, SafeCall, SafeKeyedRead, SafePropertyRead, SelectorContext, SelectorListContext, SelectorMatcher, Serializer, SplitInterpolation, Statement, StmtModifier, StringToken, StringTokenKind, TagContentType, TaggedTemplateLiteralExpr, TemplateBindingParseResult, TemplateLiteral, TemplateLiteralElement, TemplateLiteralElementExpr, TemplateLiteralExpr, Text$1 as Text, ThisReceiver, BlockNode as TmplAstBlockNode, BoundAttribute as TmplAstBoundAttribute, BoundDeferredTrigger as TmplAstBoundDeferredTrigger, BoundEvent as TmplAstBoundEvent, BoundText as TmplAstBoundText, Content as TmplAstContent, DeferredBlock as TmplAstDeferredBlock, DeferredBlockError as TmplAstDeferredBlockError, DeferredBlockLoading as TmplAstDeferredBlockLoading, DeferredBlockPlaceholder as TmplAstDeferredBlockPlaceholder, DeferredTrigger as TmplAstDeferredTrigger, Element as TmplAstElement, ForLoopBlock as TmplAstForLoopBlock, ForLoopBlockEmpty as TmplAstForLoopBlockEmpty, HoverDeferredTrigger as TmplAstHoverDeferredTrigger, Icu as TmplAstIcu, IdleDeferredTrigger as TmplAstIdleDeferredTrigger, IfBlock as TmplAstIfBlock, IfBlockBranch as TmplAstIfBlockBranch, ImmediateDeferredTrigger as TmplAstImmediateDeferredTrigger, InteractionDeferredTrigger as TmplAstInteractionDeferredTrigger, LetDeclaration as TmplAstLetDeclaration, NeverDeferredTrigger as TmplAstNeverDeferredTrigger, RecursiveVisitor as TmplAstRecursiveVisitor, Reference as TmplAstReference, SwitchBlock as TmplAstSwitchBlock, SwitchBlockCase as TmplAstSwitchBlockCase, Template as TmplAstTemplate, Text as TmplAstText, TextAttribute as TmplAstTextAttribute, TimerDeferredTrigger as TmplAstTimerDeferredTrigger, UnknownBlock as TmplAstUnknownBlock, Variable as TmplAstVariable, ViewportDeferredTrigger as TmplAstViewportDeferredTrigger, Token, TokenType, TransplantedType, TreeError, Type$1 as Type, TypeModifier, TypeofExpr, TypeofExpression, Unary, UnaryOperator, UnaryOperatorExpr, VERSION, VariableBinding, Version, ViewEncapsulation$1 as ViewEncapsulation, WrappedNodeExpr, WriteKeyExpr, WritePropExpr, WriteVarExpr, Xliff, Xliff2, Xmb, XmlParser, Xtb, compileClassDebugInfo, compileClassMetadata, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata, compileDeclareComponentFromMetadata, compileDeclareDirectiveFromMetadata, compileDeclareFactoryFunction, compileDeclareInjectableFromMetadata, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileDeclarePipeFromMetadata, compileDeferResolverFunction, compileDirectiveFromMetadata, compileFactoryFunction, compileHmrInitializer, compileHmrUpdateCallback, compileInjectable, compileInjector, compileNgModule, compileOpaqueAsyncClassMetadata, compilePipeFromMetadata, computeMsgId, core_d as core, createCssSelectorFromNode, createInjectableType, createMayBeForwardRefExpression, devOnlyGuardedExpression, emitDistinctChangesOnlyDefaultValue, encapsulateStyle, escapeRegExp, findMatchingDirectivesAndPipes, getHtmlTagDefinition, getNsPrefix, getSafePropertyAccessString, identifierName, isNgContainer, isNgContent, isNgTemplate, jsDocComment, leadingComment, literal, literalMap, makeBindingParser, mergeNsAndName, output_ast_d as outputAst, parseHostBindings, parseTemplate, preserveWhitespacesDefault, publishFacade, r3JitTypeSourceSpan, sanitizeIdentifier, setEnableTemplateSourceLocations, splitNsName, visitAll as tmplAstVisitAll, verifyHostBindings, visitAll$1 as visitAll };
5372
5699
  export type { AnimationTriggerNames, AstVisitor, BoundTarget, CompileClassMetadataFn, CompileIdentifierMetadata, DeclareComponentTemplateInfo, DirectiveMeta, ExpressionVisitor, InputOutputPropertySet, InterpolationPiece, LegacyInputPartialMapping, LexerRange, LiteralMapKey, MaybeForwardRefExpression, Node$1 as Node, ParseTemplateOptions, ParsedHostBindings, ParsedTemplate, R3ClassDebugInfo, R3ClassMetadata, R3CompiledExpression, R3ComponentDeferMetadata, R3ComponentMetadata, R3DeclareClassMetadata, R3DeclareClassMetadataAsync, R3DeclareComponentMetadata, R3DeclareDependencyMetadata, R3DeclareDirectiveDependencyMetadata, R3DeclareDirectiveMetadata, R3DeclareFactoryMetadata, R3DeclareHostDirectiveMetadata, R3DeclareInjectableMetadata, R3DeclareInjectorMetadata, R3DeclareNgModuleDependencyMetadata, R3DeclareNgModuleMetadata, R3DeclarePipeDependencyMetadata, R3DeclarePipeMetadata, R3DeclareQueryMetadata, R3DeclareTemplateDependencyMetadata, R3DeferPerBlockDependency, R3DeferPerComponentDependency, R3DeferResolverFunctionMetadata, R3DependencyMetadata, R3DirectiveDependencyMetadata, R3DirectiveMetadata, R3FactoryMetadata, R3HmrMetadata, R3HmrNamespaceDependency, R3HostDirectiveMetadata, R3HostMetadata, R3InjectableMetadata, R3InjectorMetadata, R3InputMetadata, R3NgModuleDependencyMetadata, R3NgModuleMetadata, R3NgModuleMetadataGlobal, R3PartialDeclaration, R3PipeDependencyMetadata, R3PipeMetadata, R3QueryMetadata, R3Reference, R3TemplateDependency, R3TemplateDependencyMetadata, ReferenceTarget, SchemaMetadata, ScopedNode, SourceMap, StatementVisitor, TagDefinition, Target, TargetBinder, TemplateBinding, TemplateBindingIdentifier, TemplateEntity, DeferredBlockTriggers as TmplAstDeferredBlockTriggers, Node as TmplAstNode, Visitor as TmplAstVisitor, TypeVisitor, Visitor$1 as Visitor };