@hey-api/openapi-ts 0.98.0 → 0.98.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as UserConfig } from "./types-DH7EVLYi.mjs";
2
- import { AnalysisContext, BindingKind, ExportModule, File, FromRef, ImportModule, Language, Logger, Node, NodeName, NodeNameSanitizer, NodeRelationship, NodeScope, Ref, RenderContext, Renderer, Symbol } from "@hey-api/codegen-core";
2
+ import { AnalysisContext, BindingKind, ExportModule, File, FromRef, ImportModule, Language, Logger, Node, NodeName, NodeNameSanitizer, NodeRelationship, NodeScope, ProjectMeta, Ref, RenderContext, Renderer, Symbol } from "@hey-api/codegen-core";
3
3
  import { AnyPluginName, BaseOutput, Casing, Coercer, CoercerMap, ConfigTable, Context, DefinePlugin, DefinePlugin as DefinePlugin$1, FeatureToggle, IR, IR as IR$1, NameTransformer, NamingConfig, NamingOptions, NamingRule, OpenApi, OpenApiMetaObject, OpenApiOperationObject, OpenApiParameterObject, OpenApiRequestBodyObject, OpenApiResponseObject, OpenApiSchemaObject, OperationPath, OperationPathStrategy, OperationStrategy, OperationsStrategy, Plugin, Plugin as Plugin$1, PluginContext, PluginInstance, PluginInstance as PluginInstance$1, RequestSchemaContext, ResolvedRequestValidatorLayer, SchemaVisitorContext, SchemaWithType, TableDirectives, Walker, applyNaming, coerce, defaultPaginationKeywords, defineConfig as defineConfigTable, definePluginConfig, toCase, utils } from "@hey-api/shared";
4
4
  import ts from "typescript";
5
5
  import { AnyString, LazyOrAsync, MaybeArray, MaybeFunc } from "@hey-api/types";
@@ -425,8 +425,8 @@ interface TypeReturnsMethods extends Node {
425
425
  //#endregion
426
426
  //#region src/ts-dsl/type/param.d.ts
427
427
  type TypeParamExpr = NodeName | boolean | MaybeTsDsl<TypeTsDsl>;
428
- declare const Mixed$56: abstract new () => TsDsl<ts.TypeParameterDeclaration>;
429
- declare class TypeParamTsDsl extends Mixed$56 {
428
+ declare const Mixed$57: abstract new () => TsDsl<ts.TypeParameterDeclaration, "typescript">;
429
+ declare class TypeParamTsDsl extends Mixed$57 {
430
430
  readonly '~dsl' = "TypeParamTsDsl";
431
431
  scope: NodeScope;
432
432
  protected constraint?: Ref<TypeParamExpr>;
@@ -593,8 +593,8 @@ interface DecoratorMethods extends Node {
593
593
  type ParamName = NodeName | ParamFn;
594
594
  type ParamFn = (p: ParamTsDsl) => void;
595
595
  type ParamCtor = (name: ParamName, fn?: ParamFn) => ParamTsDsl;
596
- declare const Mixed$55: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ParameterDeclaration>, ValueMethods>, PatternMethods>, OptionalMethods>, DecoratorMethods>;
597
- declare class ParamTsDsl extends Mixed$55 {
596
+ declare const Mixed$56: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ParameterDeclaration, "typescript">, ValueMethods>, PatternMethods>, OptionalMethods>, DecoratorMethods>;
597
+ declare class ParamTsDsl extends Mixed$56 {
598
598
  readonly '~dsl' = "ParamTsDsl";
599
599
  protected _type?: TypeTsDsl;
600
600
  constructor(name: ParamName, fn?: ParamFn);
@@ -650,8 +650,8 @@ interface DoMethods extends Node {
650
650
  //#endregion
651
651
  //#region src/ts-dsl/decl/method.d.ts
652
652
  type MethodCtor = (name: NodeName, fn?: (m: MethodTsDsl) => void) => MethodTsDsl;
653
- declare const Mixed$54: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.MethodDeclaration>, TypeReturnsMethods>, TypeParamsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, OptionalMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
654
- declare class MethodTsDsl extends Mixed$54 {
653
+ declare const Mixed$55: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.MethodDeclaration, "typescript">, TypeReturnsMethods>, TypeParamsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, OptionalMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
654
+ declare class MethodTsDsl extends Mixed$55 {
655
655
  readonly '~dsl' = "MethodTsDsl";
656
656
  readonly nameSanitizer: (name: string) => string;
657
657
  constructor(name: NodeName, fn?: (m: MethodTsDsl) => void);
@@ -681,8 +681,8 @@ interface AsMethods extends Node {
681
681
  type AsExpr = NodeName | MaybeTsDsl<ts.Expression>;
682
682
  type AsType = NodeName | TypeTsDsl;
683
683
  type AsCtor = (expr: AsExpr, type: AsType) => AsTsDsl;
684
- declare const Mixed$53: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.AsExpression>, ExprMethods>, AsMethods>;
685
- declare class AsTsDsl extends Mixed$53 {
684
+ declare const Mixed$54: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.AsExpression, "typescript">, ExprMethods>, AsMethods>;
685
+ declare class AsTsDsl extends Mixed$54 {
686
686
  readonly '~dsl' = "AsTsDsl";
687
687
  protected expr: Ref<AsExpr>;
688
688
  protected type: Ref<AsType>;
@@ -695,8 +695,8 @@ declare class AsTsDsl extends Mixed$53 {
695
695
  type Expr$2 = NodeName | MaybeTsDsl<ts.Expression>;
696
696
  type Op$1 = Operator | ts.BinaryOperator;
697
697
  type Operator = '!=' | '!==' | '&&' | '*' | '+' | '-' | '/' | '<' | '<=' | '=' | '==' | '===' | '>' | '>=' | '??' | '??=' | '||';
698
- declare const Mixed$52: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.BinaryExpression>, ExprMethods>, AsMethods>;
699
- declare class BinaryTsDsl extends Mixed$52 {
698
+ declare const Mixed$53: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.BinaryExpression, "typescript">, ExprMethods>, AsMethods>;
699
+ declare class BinaryTsDsl extends Mixed$53 {
700
700
  readonly '~dsl' = "BinaryTsDsl";
701
701
  protected _base: Ref<Expr$2>;
702
702
  protected _expr?: Ref<Expr$2>;
@@ -792,8 +792,8 @@ interface OperatorMethods extends Node {
792
792
  //#region src/ts-dsl/expr/attr.d.ts
793
793
  type AttrLeft = NodeName | MaybeTsDsl<ts.Expression>;
794
794
  type AttrCtor = (left: AttrLeft, right: NodeName) => AttrTsDsl;
795
- declare const Mixed$51: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyAccessExpression | ts.ElementAccessExpression>, SpreadMethods>, OptionalMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
796
- declare class AttrTsDsl extends Mixed$51 {
795
+ declare const Mixed$52: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyAccessExpression | ts.ElementAccessExpression, "typescript">, SpreadMethods>, OptionalMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
796
+ declare class AttrTsDsl extends Mixed$52 {
797
797
  readonly '~dsl' = "AttrTsDsl";
798
798
  protected _computed: boolean;
799
799
  protected _left: Ref<AttrLeft>;
@@ -807,8 +807,8 @@ declare class AttrTsDsl extends Mixed$51 {
807
807
  //#region src/ts-dsl/expr/await.d.ts
808
808
  type AwaitExpr = NodeName | MaybeTsDsl<ts.Expression>;
809
809
  type AwaitCtor = (expr: AwaitExpr) => AwaitTsDsl;
810
- declare const Mixed$50: MixinCtor<abstract new () => TsDsl<ts.AwaitExpression>, ExprMethods>;
811
- declare class AwaitTsDsl extends Mixed$50 {
810
+ declare const Mixed$51: MixinCtor<abstract new () => TsDsl<ts.AwaitExpression, "typescript">, ExprMethods>;
811
+ declare class AwaitTsDsl extends Mixed$51 {
812
812
  readonly '~dsl' = "AwaitTsDsl";
813
813
  protected _awaitExpr: Ref<AwaitExpr>;
814
814
  constructor(expr: AwaitExpr);
@@ -831,8 +831,8 @@ interface ArgsMethods extends Node {
831
831
  type NewArgs = ReadonlyArray<NewExpr | undefined>;
832
832
  type NewExpr = NodeName | MaybeTsDsl<ts.Expression>;
833
833
  type NewCtor = (expr: NewExpr, ...args: NewArgs) => NewTsDsl;
834
- declare const Mixed$49: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.NewExpression>, TypeArgsMethods>, SpreadMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
835
- declare class NewTsDsl extends Mixed$49 {
834
+ declare const Mixed$50: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.NewExpression, "typescript">, TypeArgsMethods>, SpreadMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
835
+ declare class NewTsDsl extends Mixed$50 {
836
836
  readonly '~dsl' = "NewTsDsl";
837
837
  protected _newExpr: Ref<NewExpr>;
838
838
  constructor(expr: NewExpr, ...args: NewArgs);
@@ -843,8 +843,8 @@ declare class NewTsDsl extends Mixed$49 {
843
843
  //#region src/ts-dsl/expr/spread.d.ts
844
844
  type SpreadExpr = NodeName | MaybeTsDsl<ts.Expression>;
845
845
  type SpreadCtor = (expr: SpreadExpr) => SpreadTsDsl;
846
- declare const Mixed$48: abstract new () => TsDsl<ts.SpreadElement>;
847
- declare class SpreadTsDsl extends Mixed$48 {
846
+ declare const Mixed$49: abstract new () => TsDsl<ts.SpreadElement, "typescript">;
847
+ declare class SpreadTsDsl extends Mixed$49 {
848
848
  readonly '~dsl' = "SpreadTsDsl";
849
849
  protected _expr: Ref<SpreadExpr>;
850
850
  constructor(expr: SpreadExpr);
@@ -855,8 +855,8 @@ declare class SpreadTsDsl extends Mixed$48 {
855
855
  //#region src/ts-dsl/expr/typeof.d.ts
856
856
  type TypeOfExpr = NodeName | MaybeTsDsl<ts.Expression>;
857
857
  type TypeOfExprCtor = (expr: TypeOfExpr) => TypeOfExprTsDsl;
858
- declare const Mixed$47: MixinCtor<abstract new () => TsDsl<ts.TypeOfExpression>, OperatorMethods>;
859
- declare class TypeOfExprTsDsl extends Mixed$47 {
858
+ declare const Mixed$48: MixinCtor<abstract new () => TsDsl<ts.TypeOfExpression, "typescript">, OperatorMethods>;
859
+ declare class TypeOfExprTsDsl extends Mixed$48 {
860
860
  readonly '~dsl' = "TypeOfExprTsDsl";
861
861
  protected _expr: TypeOfExpr;
862
862
  constructor(expr: TypeOfExpr);
@@ -867,8 +867,8 @@ declare class TypeOfExprTsDsl extends Mixed$47 {
867
867
  //#region src/ts-dsl/stmt/return.d.ts
868
868
  type ReturnExpr = NodeName | MaybeTsDsl<ts.Expression>;
869
869
  type ReturnCtor = (expr?: ReturnExpr) => ReturnTsDsl;
870
- declare const Mixed$46: abstract new () => TsDsl<ts.ReturnStatement>;
871
- declare class ReturnTsDsl extends Mixed$46 {
870
+ declare const Mixed$47: abstract new () => TsDsl<ts.ReturnStatement, "typescript">;
871
+ declare class ReturnTsDsl extends Mixed$47 {
872
872
  readonly '~dsl' = "ReturnTsDsl";
873
873
  protected _returnExpr?: Ref<ReturnExpr>;
874
874
  constructor(expr?: ReturnExpr);
@@ -897,8 +897,8 @@ interface TypeExprMethods extends Node {
897
897
  //#region src/ts-dsl/type/attr.d.ts
898
898
  type Base$1 = NodeName | MaybeTsDsl<ts.EntityName>;
899
899
  type Right = NodeName | ts.Identifier;
900
- declare const Mixed$45: MixinCtor<abstract new () => TsDsl<ts.QualifiedName>, TypeExprMethods>;
901
- declare class TypeAttrTsDsl extends Mixed$45 {
900
+ declare const Mixed$46: MixinCtor<abstract new () => TsDsl<ts.QualifiedName, "typescript">, TypeExprMethods>;
901
+ declare class TypeAttrTsDsl extends Mixed$46 {
902
902
  readonly '~dsl' = "TypeAttrTsDsl";
903
903
  scope: NodeScope;
904
904
  protected _base?: Ref<Base$1>;
@@ -922,8 +922,8 @@ declare class TypeAttrTsDsl extends Mixed$45 {
922
922
  type TypeExprExpr = NodeName | TypeAttrTsDsl;
923
923
  type TypeExprFn = (t: TypeExprTsDsl) => void;
924
924
  type TypeExprCtor = (nameOrFn?: NodeName | TypeExprFn, fn?: TypeExprFn) => TypeExprTsDsl;
925
- declare const Mixed$44: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeReferenceNode>, TypeExprMethods>, TypeArgsMethods>;
926
- declare class TypeExprTsDsl extends Mixed$44 {
925
+ declare const Mixed$45: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeReferenceNode, "typescript">, TypeExprMethods>, TypeArgsMethods>;
926
+ declare class TypeExprTsDsl extends Mixed$45 {
927
927
  readonly '~dsl' = "TypeExprTsDsl";
928
928
  scope: NodeScope;
929
929
  protected _exprInput?: Ref<TypeExprExpr>;
@@ -947,8 +947,8 @@ declare class TypeExprTsDsl extends Mixed$44 {
947
947
  type Base = string | MaybeTsDsl<ts.TypeNode>;
948
948
  type Index = string | number | MaybeTsDsl<ts.TypeNode>;
949
949
  type TypeIdxCtor = (base: Base, index: Index) => TypeIdxTsDsl;
950
- declare const Mixed$43: MixinCtor<abstract new () => TsDsl<ts.IndexedAccessTypeNode>, TypeExprMethods>;
951
- declare class TypeIdxTsDsl extends Mixed$43 {
950
+ declare const Mixed$44: MixinCtor<abstract new () => TsDsl<ts.IndexedAccessTypeNode, "typescript">, TypeExprMethods>;
951
+ declare class TypeIdxTsDsl extends Mixed$44 {
952
952
  readonly '~dsl' = "TypeIdxTsDsl";
953
953
  scope: NodeScope;
954
954
  protected _base: Base;
@@ -969,9 +969,9 @@ declare class TypeIdxTsDsl extends Mixed$43 {
969
969
  //#endregion
970
970
  //#region src/ts-dsl/type/operator.d.ts
971
971
  type Op = ts.SyntaxKind.KeyOfKeyword | ts.SyntaxKind.ReadonlyKeyword | ts.SyntaxKind.UniqueKeyword;
972
- type Type$3 = string | MaybeTsDsl<ts.TypeNode>;
972
+ type Type$4 = string | MaybeTsDsl<ts.TypeNode>;
973
973
  type TypeOperatorCtor = () => TypeOperatorTsDsl;
974
- declare const Mixed$42: abstract new () => TsDsl<ts.TypeOperatorNode>;
974
+ declare const Mixed$43: abstract new () => TsDsl<ts.TypeOperatorNode, "typescript">;
975
975
  /**
976
976
  * Builds a TypeScript `TypeOperatorNode`, such as:
977
977
  *
@@ -984,27 +984,27 @@ declare const Mixed$42: abstract new () => TsDsl<ts.TypeOperatorNode>;
984
984
  *
985
985
  * The node will throw during render if required fields are missing.
986
986
  */
987
- declare class TypeOperatorTsDsl extends Mixed$42 {
987
+ declare class TypeOperatorTsDsl extends Mixed$43 {
988
988
  readonly '~dsl' = "TypeOperatorTsDsl";
989
989
  scope: NodeScope;
990
990
  protected _op?: Op;
991
- protected _type?: Type$3;
991
+ protected _type?: Type$4;
992
992
  analyze(ctx: AnalysisContext): void;
993
993
  /** Shorthand: builds `keyof T`. */
994
- keyof(type: Type$3): this;
994
+ keyof(type: Type$4): this;
995
995
  /** Sets the operator explicitly. */
996
996
  operator(op: Op): this;
997
997
  /** Shorthand: builds `readonly T`. */
998
- readonly(type: Type$3): this;
998
+ readonly(type: Type$4): this;
999
999
  /** Sets the target type of the operator. */
1000
- type(type: Type$3): this;
1000
+ type(type: Type$4): this;
1001
1001
  /** Shorthand: builds `unique T`. */
1002
- unique(type: Type$3): this;
1002
+ unique(type: Type$4): this;
1003
1003
  toAst(): ts.TypeOperatorNode;
1004
1004
  /** Throws if required fields are not set. */
1005
1005
  $validate(): asserts this is this & {
1006
1006
  _op: Op;
1007
- _type: Type$3;
1007
+ _type: Type$4;
1008
1008
  };
1009
1009
  private missingRequiredCalls;
1010
1010
  }
@@ -1012,8 +1012,8 @@ declare class TypeOperatorTsDsl extends Mixed$42 {
1012
1012
  //#region src/ts-dsl/type/query.d.ts
1013
1013
  type TypeQueryExpr = NodeName | MaybeTsDsl<TypeTsDsl | ts.Expression>;
1014
1014
  type TypeQueryCtor = (expr: TypeQueryExpr) => TypeQueryTsDsl;
1015
- declare const Mixed$41: MixinCtor<abstract new () => TsDsl<ts.TypeQueryNode>, TypeExprMethods>;
1016
- declare class TypeQueryTsDsl extends Mixed$41 {
1015
+ declare const Mixed$42: MixinCtor<abstract new () => TsDsl<ts.TypeQueryNode, "typescript">, TypeExprMethods>;
1016
+ declare class TypeQueryTsDsl extends Mixed$42 {
1017
1017
  readonly '~dsl' = "TypeQueryTsDsl";
1018
1018
  scope: NodeScope;
1019
1019
  protected _expr: Ref<TypeQueryExpr>;
@@ -1024,8 +1024,8 @@ declare class TypeQueryTsDsl extends Mixed$41 {
1024
1024
  //#endregion
1025
1025
  //#region src/ts-dsl/type/tuple-member.d.ts
1026
1026
  type TypeTupleMemberCtor = (name: NodeName) => TypeTupleMemberTsDsl;
1027
- declare const Mixed$40: MixinCtor<abstract new () => TsDsl<ts.NamedTupleMember>, OptionalMethods>;
1028
- declare class TypeTupleMemberTsDsl extends Mixed$40 {
1027
+ declare const Mixed$41: MixinCtor<abstract new () => TsDsl<ts.NamedTupleMember, "typescript">, OptionalMethods>;
1028
+ declare class TypeTupleMemberTsDsl extends Mixed$41 {
1029
1029
  readonly '~dsl' = "TypeTupleMemberTsDsl";
1030
1030
  scope: NodeScope;
1031
1031
  protected _type?: Ref<NodeName | TypeTsDsl>;
@@ -1074,8 +1074,8 @@ interface SpreadMethods extends Node {
1074
1074
  type CallArgs = ReadonlyArray<CallCallee | undefined>;
1075
1075
  type CallCallee = NodeName | MaybeTsDsl<ts.Expression>;
1076
1076
  type CallCtor = (callee: CallCallee, ...args: CallArgs) => CallTsDsl;
1077
- declare const Mixed$39: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.CallExpression>, TypeArgsMethods>, SpreadMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
1078
- declare class CallTsDsl extends Mixed$39 {
1077
+ declare const Mixed$40: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.CallExpression, "typescript">, TypeArgsMethods>, SpreadMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
1078
+ declare class CallTsDsl extends Mixed$40 {
1079
1079
  readonly '~dsl' = "CallTsDsl";
1080
1080
  protected _callee: Ref<CallCallee>;
1081
1081
  constructor(callee: CallCallee, ...args: CallArgs);
@@ -1141,14 +1141,15 @@ declare class TsDslContext {
1141
1141
  declare const ctx: TsDslContext;
1142
1142
  //#endregion
1143
1143
  //#region src/ts-dsl/base.d.ts
1144
- declare abstract class TsDsl<T extends ts.Node = ts.Node> implements Node<T> {
1144
+ declare abstract class TsDsl<T extends ts.Node = ts.Node, L extends Language = 'typescript'> implements Node<T> {
1145
1145
  analyze(_: AnalysisContext): void;
1146
1146
  clone(): this;
1147
1147
  exported?: boolean;
1148
1148
  file?: File;
1149
1149
  get name(): Node['name'];
1150
1150
  readonly nameSanitizer?: NodeNameSanitizer;
1151
- language: Language;
1151
+ language: L;
1152
+ meta: Required<ProjectMeta>[L];
1152
1153
  parent?: Node;
1153
1154
  root: boolean;
1154
1155
  scope?: NodeScope;
@@ -1189,8 +1190,8 @@ type TypeOf<I> = I extends ReadonlyArray<infer U> ? ReadonlyArray<TypeOf<U>> : I
1189
1190
  //#region src/ts-dsl/expr/postfix.d.ts
1190
1191
  type PostfixExpr = string | MaybeTsDsl<ts.Expression>;
1191
1192
  type PostfixOp = ts.PostfixUnaryOperator;
1192
- declare const Mixed$38: abstract new () => TsDsl<ts.PostfixUnaryExpression>;
1193
- declare class PostfixTsDsl extends Mixed$38 {
1193
+ declare const Mixed$39: abstract new () => TsDsl<ts.PostfixUnaryExpression, "typescript">;
1194
+ declare class PostfixTsDsl extends Mixed$39 {
1194
1195
  readonly '~dsl' = "PostfixTsDsl";
1195
1196
  protected _expr?: PostfixExpr;
1196
1197
  protected _op?: PostfixOp;
@@ -1311,8 +1312,8 @@ declare function createLiteral(value: TsLiteralValue, leadingComments?: Readonly
1311
1312
  //#region src/ts-dsl/expr/prefix.d.ts
1312
1313
  type PrefixExpr = string | MaybeTsDsl<ts.Expression>;
1313
1314
  type PrefixOp = ts.PrefixUnaryOperator;
1314
- declare const Mixed$37: abstract new () => TsDsl<ts.PrefixUnaryExpression>;
1315
- declare class PrefixTsDsl extends Mixed$37 {
1315
+ declare const Mixed$38: abstract new () => TsDsl<ts.PrefixUnaryExpression, "typescript">;
1316
+ declare class PrefixTsDsl extends Mixed$38 {
1316
1317
  readonly '~dsl' = "PrefixTsDsl";
1317
1318
  protected _expr?: PrefixExpr;
1318
1319
  protected _op?: PrefixOp;
@@ -1352,8 +1353,8 @@ declare class NoteTsDsl extends TsDsl<ts.Node> {
1352
1353
  //#endregion
1353
1354
  //#region src/ts-dsl/decl/field.d.ts
1354
1355
  type FieldType = NodeName | TypeTsDsl;
1355
- declare const Mixed$36: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyDeclaration>, ValueMethods>, StaticMethods>, ReadonlyMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, OptionalMethods>, DocMethods>, DecoratorMethods>;
1356
- declare class FieldTsDsl extends Mixed$36 {
1356
+ declare const Mixed$37: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyDeclaration, "typescript">, ValueMethods>, StaticMethods>, ReadonlyMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, OptionalMethods>, DocMethods>, DecoratorMethods>;
1357
+ declare class FieldTsDsl extends Mixed$37 {
1357
1358
  readonly '~dsl' = "FieldTsDsl";
1358
1359
  readonly nameSanitizer: (name: string) => string;
1359
1360
  protected _type?: TypeTsDsl;
@@ -1365,8 +1366,8 @@ declare class FieldTsDsl extends Mixed$36 {
1365
1366
  }
1366
1367
  //#endregion
1367
1368
  //#region src/ts-dsl/decl/init.d.ts
1368
- declare const Mixed$35: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ConstructorDeclaration>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>;
1369
- declare class InitTsDsl extends Mixed$35 {
1369
+ declare const Mixed$36: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ConstructorDeclaration, "typescript">, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>;
1370
+ declare class InitTsDsl extends Mixed$36 {
1370
1371
  readonly '~dsl' = "InitTsDsl";
1371
1372
  constructor(fn?: (i: InitTsDsl) => void);
1372
1373
  analyze(ctx: AnalysisContext): void;
@@ -1375,8 +1376,8 @@ declare class InitTsDsl extends Mixed$35 {
1375
1376
  //#endregion
1376
1377
  //#region src/ts-dsl/decl/class.d.ts
1377
1378
  type Body = Array<MaybeTsDsl<ts.ClassElement | ts.Node>>;
1378
- declare const Mixed$34: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ClassDeclaration>, TypeParamsMethods>, ExportMethods>, DocMethods>, DefaultMethods>, DecoratorMethods>, AbstractMethods>;
1379
- declare class ClassTsDsl extends Mixed$34 {
1379
+ declare const Mixed$35: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ClassDeclaration, "typescript">, TypeParamsMethods>, ExportMethods>, DocMethods>, DefaultMethods>, DecoratorMethods>, AbstractMethods>;
1380
+ declare class ClassTsDsl extends Mixed$35 {
1380
1381
  readonly '~dsl' = "ClassTsDsl";
1381
1382
  readonly nameSanitizer: (name: string) => string;
1382
1383
  protected baseClass?: Ref<NodeName>;
@@ -1403,8 +1404,8 @@ declare class ClassTsDsl extends Mixed$34 {
1403
1404
  }
1404
1405
  //#endregion
1405
1406
  //#region src/ts-dsl/decl/decorator.d.ts
1406
- declare const Mixed$33: MixinCtor<abstract new () => TsDsl<ts.Decorator>, ArgsMethods>;
1407
- declare class DecoratorTsDsl extends Mixed$33 {
1407
+ declare const Mixed$34: MixinCtor<abstract new () => TsDsl<ts.Decorator, "typescript">, ArgsMethods>;
1408
+ declare class DecoratorTsDsl extends Mixed$34 {
1408
1409
  readonly '~dsl' = "DecoratorTsDsl";
1409
1410
  readonly nameSanitizer: (name: string) => string;
1410
1411
  constructor(name: NodeName, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>);
@@ -1415,8 +1416,8 @@ declare class DecoratorTsDsl extends Mixed$33 {
1415
1416
  //#region src/ts-dsl/decl/member.d.ts
1416
1417
  type Value$2 = string | number | MaybeTsDsl<ts.Expression>;
1417
1418
  type ValueFn$1 = Value$2 | ((m: EnumMemberTsDsl) => void);
1418
- declare const Mixed$32: MixinCtor<abstract new () => TsDsl<ts.EnumMember>, DocMethods>;
1419
- declare class EnumMemberTsDsl extends Mixed$32 {
1419
+ declare const Mixed$33: MixinCtor<abstract new () => TsDsl<ts.EnumMember, "typescript">, DocMethods>;
1420
+ declare class EnumMemberTsDsl extends Mixed$33 {
1420
1421
  readonly '~dsl' = "EnumMemberTsDsl";
1421
1422
  private _value?;
1422
1423
  constructor(name: NodeName, value?: ValueFn$1);
@@ -1429,8 +1430,8 @@ declare class EnumMemberTsDsl extends Mixed$32 {
1429
1430
  //#region src/ts-dsl/decl/enum.d.ts
1430
1431
  type Value$1 = string | number | MaybeTsDsl<ts.Expression>;
1431
1432
  type ValueFn = Value$1 | ((m: EnumMemberTsDsl) => void);
1432
- declare const Mixed$31: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.EnumDeclaration>, ExportMethods>, DocMethods>, ConstMethods>;
1433
- declare class EnumTsDsl extends Mixed$31 {
1433
+ declare const Mixed$32: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.EnumDeclaration, "typescript">, ExportMethods>, DocMethods>, ConstMethods>;
1434
+ declare class EnumTsDsl extends Mixed$32 {
1434
1435
  readonly '~dsl' = "EnumTsDsl";
1435
1436
  readonly nameSanitizer: (name: string) => string;
1436
1437
  private _members;
@@ -1445,8 +1446,8 @@ declare class EnumTsDsl extends Mixed$31 {
1445
1446
  //#endregion
1446
1447
  //#region src/ts-dsl/decl/func.d.ts
1447
1448
  type FuncMode = 'arrow' | 'decl' | 'expr';
1448
- declare const Mixed$30: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrowFunction>, TypeReturnsMethods>, TypeParamsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, ExportMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AsMethods>, AbstractMethods>;
1449
- declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$30 {
1449
+ declare const Mixed$31: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrowFunction, "typescript">, TypeReturnsMethods>, TypeParamsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, ExportMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AsMethods>, AbstractMethods>;
1450
+ declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$31 {
1450
1451
  readonly '~dsl' = "FuncTsDsl";
1451
1452
  readonly '~mode': M;
1452
1453
  readonly nameSanitizer: (name: string) => string;
@@ -1477,8 +1478,8 @@ declare const FuncTsDsl: {
1477
1478
  type FuncTsDsl<M extends FuncMode = 'arrow'> = ImplFuncTsDsl<M>;
1478
1479
  //#endregion
1479
1480
  //#region src/ts-dsl/decl/getter.d.ts
1480
- declare const Mixed$29: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.GetAccessorDeclaration>, TypeReturnsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
1481
- declare class GetterTsDsl extends Mixed$29 {
1481
+ declare const Mixed$30: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.GetAccessorDeclaration, "typescript">, TypeReturnsMethods>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
1482
+ declare class GetterTsDsl extends Mixed$30 {
1482
1483
  readonly '~dsl' = "GetterTsDsl";
1483
1484
  readonly nameSanitizer: (name: string) => string;
1484
1485
  constructor(name: NodeName, fn?: (g: GetterTsDsl) => void);
@@ -1487,11 +1488,11 @@ declare class GetterTsDsl extends Mixed$29 {
1487
1488
  }
1488
1489
  //#endregion
1489
1490
  //#region src/ts-dsl/decl/pattern.d.ts
1490
- declare const Mixed$28: abstract new () => TsDsl<ts.BindingName>;
1491
+ declare const Mixed$29: abstract new () => TsDsl<ts.BindingName, "typescript">;
1491
1492
  /**
1492
1493
  * Builds binding patterns (e.g., `{ foo, bar }`, `[a, b, ...rest]`).
1493
1494
  */
1494
- declare class PatternTsDsl extends Mixed$28 {
1495
+ declare class PatternTsDsl extends Mixed$29 {
1495
1496
  readonly '~dsl' = "PatternTsDsl";
1496
1497
  protected pattern?: {
1497
1498
  kind: 'array';
@@ -1525,8 +1526,8 @@ declare class PatternTsDsl extends Mixed$28 {
1525
1526
  }
1526
1527
  //#endregion
1527
1528
  //#region src/ts-dsl/decl/setter.d.ts
1528
- declare const Mixed$27: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.SetAccessorDeclaration>, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
1529
- declare class SetterTsDsl extends Mixed$27 {
1529
+ declare const Mixed$28: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.SetAccessorDeclaration, "typescript">, StaticMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AbstractMethods>;
1530
+ declare class SetterTsDsl extends Mixed$28 {
1530
1531
  readonly '~dsl' = "SetterTsDsl";
1531
1532
  readonly nameSanitizer: (name: string) => string;
1532
1533
  constructor(name: NodeName, fn?: (s: SetterTsDsl) => void);
@@ -1548,8 +1549,8 @@ interface LayoutMethods extends Node {
1548
1549
  //#endregion
1549
1550
  //#region src/ts-dsl/expr/array.d.ts
1550
1551
  type ArrayExpr = string | number | boolean | MaybeTsDsl<ts.Expression>;
1551
- declare const Mixed$26: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrayLiteralExpression>, SpreadMethods>, LayoutMethods>, ExprMethods>, AsMethods>;
1552
- declare class ArrayTsDsl extends Mixed$26 {
1552
+ declare const Mixed$27: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrayLiteralExpression, "typescript">, SpreadMethods>, LayoutMethods>, ExprMethods>, AsMethods>;
1553
+ declare class ArrayTsDsl extends Mixed$27 {
1553
1554
  readonly '~dsl' = "ArrayTsDsl";
1554
1555
  protected _elements: Array<MaybeTsDsl<ts.Expression>>;
1555
1556
  constructor(...exprs: Array<ArrayExpr>);
@@ -1563,8 +1564,8 @@ declare class ArrayTsDsl extends Mixed$26 {
1563
1564
  //#endregion
1564
1565
  //#region src/ts-dsl/expr/expr.d.ts
1565
1566
  type Id = NodeName | MaybeTsDsl<ts.Expression>;
1566
- declare const Mixed$25: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Expression>, TypeExprMethods>, SpreadMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
1567
- declare class ExprTsDsl extends Mixed$25 {
1567
+ declare const Mixed$26: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Expression, "typescript">, TypeExprMethods>, SpreadMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
1568
+ declare class ExprTsDsl extends Mixed$26 {
1568
1569
  readonly '~dsl' = "ExprTsDsl";
1569
1570
  protected _exprInput: Ref<Id>;
1570
1571
  constructor(id: Id);
@@ -1573,8 +1574,8 @@ declare class ExprTsDsl extends Mixed$25 {
1573
1574
  }
1574
1575
  //#endregion
1575
1576
  //#region src/ts-dsl/expr/id.d.ts
1576
- declare const Mixed$24: abstract new () => TsDsl<ts.Identifier>;
1577
- declare class IdTsDsl extends Mixed$24 {
1577
+ declare const Mixed$25: abstract new () => TsDsl<ts.Identifier, "typescript">;
1578
+ declare class IdTsDsl extends Mixed$25 {
1578
1579
  readonly '~dsl' = "IdTsDsl";
1579
1580
  constructor(name: string);
1580
1581
  analyze(ctx: AnalysisContext): void;
@@ -1631,8 +1632,8 @@ declare const ts$1: {
1631
1632
  };
1632
1633
  //#endregion
1633
1634
  //#region src/ts-dsl/expr/literal.d.ts
1634
- declare const Mixed$23: MixinCtor<abstract new () => TsDsl<ts.BigIntLiteral | ts.BooleanLiteral | ts.NullLiteral | ts.NumericLiteral | ts.PrefixUnaryExpression | ts.StringLiteral>, AsMethods>;
1635
- declare class LiteralTsDsl extends Mixed$23 {
1635
+ declare const Mixed$24: MixinCtor<abstract new () => TsDsl<ts.BigIntLiteral | ts.BooleanLiteral | ts.NullLiteral | ts.NumericLiteral | ts.PrefixUnaryExpression | ts.StringLiteral, "typescript">, AsMethods>;
1636
+ declare class LiteralTsDsl extends Mixed$24 {
1636
1637
  readonly '~dsl' = "LiteralTsDsl";
1637
1638
  protected value: ts$1.LiteralValue;
1638
1639
  constructor(value: ts$1.LiteralValue);
@@ -1668,8 +1669,8 @@ type Meta = {
1668
1669
  kind: 'spread';
1669
1670
  name?: undefined;
1670
1671
  };
1671
- declare const Mixed$22: MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralElementLike>, DocMethods>;
1672
- declare class ObjectPropTsDsl extends Mixed$22 {
1672
+ declare const Mixed$23: MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralElementLike, "typescript">, DocMethods>;
1673
+ declare class ObjectPropTsDsl extends Mixed$23 {
1673
1674
  readonly '~dsl' = "ObjectPropTsDsl";
1674
1675
  protected _value?: Ref<ObjectPropValue>;
1675
1676
  protected _meta: Meta;
@@ -1690,8 +1691,8 @@ declare class ObjectPropTsDsl extends Mixed$22 {
1690
1691
  //#region src/ts-dsl/expr/object.d.ts
1691
1692
  type Expr = NodeName | MaybeTsDsl<ts.Expression>;
1692
1693
  type Stmt = NodeName | MaybeTsDsl<ts.Statement>;
1693
- declare const Mixed$21: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralExpression>, LayoutMethods>, HintMethods>, ExprMethods>, AsMethods>;
1694
- declare class ObjectTsDsl extends Mixed$21 {
1694
+ declare const Mixed$22: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralExpression, "typescript">, LayoutMethods>, HintMethods>, ExprMethods>, AsMethods>;
1695
+ declare class ObjectTsDsl extends Mixed$22 {
1695
1696
  readonly '~dsl' = "ObjectTsDsl";
1696
1697
  protected _props: Map<string, ObjectPropTsDsl>;
1697
1698
  protected _spreadCounter: number;
@@ -1723,8 +1724,8 @@ declare class ObjectTsDsl extends Mixed$21 {
1723
1724
  //#region src/ts-dsl/expr/regexp.d.ts
1724
1725
  type RegexFlag = 'g' | 'i' | 'm' | 's' | 'u' | 'y';
1725
1726
  type RegexFlags<Avail extends string = RegexFlag> = '' | { [K in Avail]: `${K}${RegexFlags<Exclude<Avail, K>>}` }[Avail];
1726
- declare const Mixed$20: abstract new () => TsDsl<ts.RegularExpressionLiteral>;
1727
- declare class RegExpTsDsl extends Mixed$20 {
1727
+ declare const Mixed$21: abstract new () => TsDsl<ts.RegularExpressionLiteral, "typescript">;
1728
+ declare class RegExpTsDsl extends Mixed$21 {
1728
1729
  readonly '~dsl' = "RegExpTsDsl";
1729
1730
  protected pattern: string;
1730
1731
  protected flags?: RegexFlags;
@@ -1735,8 +1736,8 @@ declare class RegExpTsDsl extends Mixed$20 {
1735
1736
  //#endregion
1736
1737
  //#region src/ts-dsl/expr/template.d.ts
1737
1738
  type TemplatePart = NodeName | MaybeTsDsl<ts.Expression>;
1738
- declare const Mixed$19: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral>;
1739
- declare class TemplateTsDsl extends Mixed$19 {
1739
+ declare const Mixed$20: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral, "typescript">;
1740
+ declare class TemplateTsDsl extends Mixed$20 {
1740
1741
  readonly '~dsl' = "TemplateTsDsl";
1741
1742
  protected parts: Array<Ref<TemplatePart>>;
1742
1743
  constructor(value?: TemplatePart);
@@ -1746,8 +1747,8 @@ declare class TemplateTsDsl extends Mixed$19 {
1746
1747
  }
1747
1748
  //#endregion
1748
1749
  //#region src/ts-dsl/expr/ternary.d.ts
1749
- declare const Mixed$18: abstract new () => TsDsl<ts.ConditionalExpression>;
1750
- declare class TernaryTsDsl extends Mixed$18 {
1750
+ declare const Mixed$19: abstract new () => TsDsl<ts.ConditionalExpression, "typescript">;
1751
+ declare class TernaryTsDsl extends Mixed$19 {
1751
1752
  readonly '~dsl' = "TernaryTsDsl";
1752
1753
  protected _condition?: string | MaybeTsDsl<ts.Expression>;
1753
1754
  protected _then?: string | MaybeTsDsl<ts.Expression>;
@@ -1776,8 +1777,8 @@ declare class NewlineTsDsl extends TsDsl<ts.Identifier> {
1776
1777
  }
1777
1778
  //#endregion
1778
1779
  //#region src/ts-dsl/stmt/block.d.ts
1779
- declare const Mixed$17: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Block>, LayoutMethods>, DoMethods>;
1780
- declare class BlockTsDsl extends Mixed$17 {
1780
+ declare const Mixed$18: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Block, "typescript">, LayoutMethods>, DoMethods>;
1781
+ declare class BlockTsDsl extends Mixed$18 {
1781
1782
  readonly '~dsl' = "BlockTsDsl";
1782
1783
  constructor(...items: Array<DoExpr>);
1783
1784
  analyze(ctx: AnalysisContext): void;
@@ -1785,8 +1786,8 @@ declare class BlockTsDsl extends Mixed$17 {
1785
1786
  }
1786
1787
  //#endregion
1787
1788
  //#region src/ts-dsl/stmt/var.d.ts
1788
- declare const Mixed$16: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.VariableStatement>, ValueMethods>, PatternMethods>, HintMethods>, ExportMethods>, DocMethods>, DefaultMethods>;
1789
- declare class VarTsDsl extends Mixed$16 {
1789
+ declare const Mixed$17: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.VariableStatement, "typescript">, ValueMethods>, PatternMethods>, HintMethods>, ExportMethods>, DocMethods>, DefaultMethods>;
1790
+ declare class VarTsDsl extends Mixed$17 {
1790
1791
  readonly '~dsl' = "VarTsDsl";
1791
1792
  readonly nameSanitizer: (name: string) => string;
1792
1793
  protected kind: ts.NodeFlags;
@@ -1809,8 +1810,8 @@ declare class VarTsDsl extends Mixed$16 {
1809
1810
  type ForMode = 'for' | 'in' | 'of';
1810
1811
  type ForCondition = MaybeTsDsl<ts.Expression>;
1811
1812
  type ForIterable = MaybeTsDsl<ts.Expression>;
1812
- declare const Mixed$15: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ForStatement>, LayoutMethods>, DoMethods>;
1813
- declare class ImplForTsDsl<M extends ForMode = 'for'> extends Mixed$15 {
1813
+ declare const Mixed$16: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ForStatement, "typescript">, LayoutMethods>, DoMethods>;
1814
+ declare class ImplForTsDsl<M extends ForMode = 'for'> extends Mixed$16 {
1814
1815
  readonly '~dsl' = "ForTsDsl";
1815
1816
  protected _await?: boolean;
1816
1817
  protected _condition?: ForCondition;
@@ -1853,8 +1854,8 @@ type ForTsDsl<M extends ForMode = 'for'> = ImplForTsDsl<M>;
1853
1854
  //#endregion
1854
1855
  //#region src/ts-dsl/stmt/if.d.ts
1855
1856
  type IfCondition = NodeName | MaybeTsDsl<ts.Expression>;
1856
- declare const Mixed$14: MixinCtor<abstract new () => TsDsl<ts.IfStatement>, DoMethods>;
1857
- declare class IfTsDsl extends Mixed$14 {
1857
+ declare const Mixed$15: MixinCtor<abstract new () => TsDsl<ts.IfStatement, "typescript">, DoMethods>;
1858
+ declare class IfTsDsl extends Mixed$15 {
1858
1859
  readonly '~dsl' = "IfTsDsl";
1859
1860
  protected _condition?: IfCondition;
1860
1861
  protected _else?: Array<DoExpr>;
@@ -1872,8 +1873,8 @@ declare class IfTsDsl extends Mixed$14 {
1872
1873
  }
1873
1874
  //#endregion
1874
1875
  //#region src/ts-dsl/stmt/stmt.d.ts
1875
- declare const Mixed$13: abstract new () => TsDsl<ts.Statement>;
1876
- declare class StmtTsDsl extends Mixed$13 {
1876
+ declare const Mixed$14: abstract new () => TsDsl<ts.Statement, "typescript">;
1877
+ declare class StmtTsDsl extends Mixed$14 {
1877
1878
  readonly '~dsl' = "StmtTsDsl";
1878
1879
  protected _inner: ts.Expression | ts.Statement | TsDsl<any>;
1879
1880
  constructor(inner: ts.Expression | ts.Statement | TsDsl<any>);
@@ -1882,8 +1883,8 @@ declare class StmtTsDsl extends Mixed$13 {
1882
1883
  }
1883
1884
  //#endregion
1884
1885
  //#region src/ts-dsl/stmt/throw.d.ts
1885
- declare const Mixed$12: abstract new () => TsDsl<ts.ThrowStatement>;
1886
- declare class ThrowTsDsl extends Mixed$12 {
1886
+ declare const Mixed$13: abstract new () => TsDsl<ts.ThrowStatement, "typescript">;
1887
+ declare class ThrowTsDsl extends Mixed$13 {
1887
1888
  readonly '~dsl' = "ThrowTsDsl";
1888
1889
  protected error: string | MaybeTsDsl<ts.Expression>;
1889
1890
  protected msg?: string | MaybeTsDsl<ts.Expression>;
@@ -1895,8 +1896,8 @@ declare class ThrowTsDsl extends Mixed$12 {
1895
1896
  }
1896
1897
  //#endregion
1897
1898
  //#region src/ts-dsl/stmt/try.d.ts
1898
- declare const Mixed$11: abstract new () => TsDsl<ts.TryStatement>;
1899
- declare class TryTsDsl extends Mixed$11 {
1899
+ declare const Mixed$12: abstract new () => TsDsl<ts.TryStatement, "typescript">;
1900
+ declare class TryTsDsl extends Mixed$12 {
1900
1901
  readonly '~dsl' = "TryTsDsl";
1901
1902
  protected _catch?: Array<DoExpr>;
1902
1903
  protected _catchArg?: NodeName;
@@ -1946,8 +1947,8 @@ declare class TokenTsDsl<K extends ts.SyntaxKind = never> extends TsDsl<ts.Token
1946
1947
  //#endregion
1947
1948
  //#region src/ts-dsl/type/alias.d.ts
1948
1949
  type Value = MaybeTsDsl<ts.TypeNode>;
1949
- declare const Mixed$10: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeAliasDeclaration>, TypeParamsMethods>, ExportMethods>, DocMethods>;
1950
- declare class TypeAliasTsDsl extends Mixed$10 {
1950
+ declare const Mixed$11: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeAliasDeclaration, "typescript">, TypeParamsMethods>, ExportMethods>, DocMethods>;
1951
+ declare class TypeAliasTsDsl extends Mixed$11 {
1951
1952
  readonly '~dsl' = "TypeAliasTsDsl";
1952
1953
  readonly nameSanitizer: (name: string) => string;
1953
1954
  scope: NodeScope;
@@ -1966,21 +1967,21 @@ declare class TypeAliasTsDsl extends Mixed$10 {
1966
1967
  }
1967
1968
  //#endregion
1968
1969
  //#region src/ts-dsl/type/and.d.ts
1969
- type Type$2 = NodeName | ts.TypeNode | TypeTsDsl;
1970
- declare const Mixed$9: abstract new () => TsDsl<ts.IntersectionTypeNode>;
1971
- declare class TypeAndTsDsl extends Mixed$9 {
1970
+ type Type$3 = NodeName | ts.TypeNode | TypeTsDsl;
1971
+ declare const Mixed$10: abstract new () => TsDsl<ts.IntersectionTypeNode, "typescript">;
1972
+ declare class TypeAndTsDsl extends Mixed$10 {
1972
1973
  readonly '~dsl' = "TypeAndTsDsl";
1973
1974
  scope: NodeScope;
1974
- protected _types: Array<Ref<Type$2>>;
1975
- constructor(...nodes: Array<Type$2>);
1975
+ protected _types: Array<Ref<Type$3>>;
1976
+ constructor(...nodes: Array<Type$3>);
1976
1977
  analyze(ctx: AnalysisContext): void;
1977
- types(...nodes: Array<Type$2>): this;
1978
+ types(...nodes: Array<Type$3>): this;
1978
1979
  toAst(): ts.IntersectionTypeNode;
1979
1980
  }
1980
1981
  //#endregion
1981
1982
  //#region src/ts-dsl/type/func.d.ts
1982
- declare const Mixed$8: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.FunctionTypeNode>, TypeReturnsMethods>, TypeParamsMethods>, ParamMethods>, DocMethods>;
1983
- declare class TypeFuncTsDsl extends Mixed$8 {
1983
+ declare const Mixed$9: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.FunctionTypeNode, "typescript">, TypeReturnsMethods>, TypeParamsMethods>, ParamMethods>, DocMethods>;
1984
+ declare class TypeFuncTsDsl extends Mixed$9 {
1984
1985
  readonly '~dsl' = "TypeFuncTsDsl";
1985
1986
  scope: NodeScope;
1986
1987
  analyze(ctx: AnalysisContext): void;
@@ -1992,8 +1993,8 @@ declare class TypeFuncTsDsl extends Mixed$8 {
1992
1993
  }
1993
1994
  //#endregion
1994
1995
  //#region src/ts-dsl/type/literal.d.ts
1995
- declare const Mixed$7: abstract new () => TsDsl<ts.LiteralTypeNode>;
1996
- declare class TypeLiteralTsDsl extends Mixed$7 {
1996
+ declare const Mixed$8: abstract new () => TsDsl<ts.LiteralTypeNode, "typescript">;
1997
+ declare class TypeLiteralTsDsl extends Mixed$8 {
1997
1998
  readonly '~dsl' = "TypeLiteralTsDsl";
1998
1999
  scope: NodeScope;
1999
2000
  protected value: ts$1.LiteralValue;
@@ -2003,8 +2004,8 @@ declare class TypeLiteralTsDsl extends Mixed$7 {
2003
2004
  }
2004
2005
  //#endregion
2005
2006
  //#region src/ts-dsl/type/mapped.d.ts
2006
- declare const Mixed$6: abstract new () => TsDsl<ts.MappedTypeNode>;
2007
- declare class TypeMappedTsDsl extends Mixed$6 {
2007
+ declare const Mixed$7: abstract new () => TsDsl<ts.MappedTypeNode, "typescript">;
2008
+ declare class TypeMappedTsDsl extends Mixed$7 {
2008
2009
  readonly '~dsl' = "TypeMappedTsDsl";
2009
2010
  scope: NodeScope;
2010
2011
  protected questionToken?: TokenTsDsl<ts.SyntaxKind.QuestionToken | ts.SyntaxKind.PlusToken | ts.SyntaxKind.MinusToken>;
@@ -2038,8 +2039,8 @@ declare class TypeMappedTsDsl extends Mixed$6 {
2038
2039
  //#region src/ts-dsl/type/idx-sig.d.ts
2039
2040
  type TypeIdxSigType = string | MaybeTsDsl<ts.TypeNode>;
2040
2041
  type TypeIdxSigKind = 'idxSig';
2041
- declare const Mixed$5: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.IndexSignatureDeclaration>, ReadonlyMethods>, DocMethods>;
2042
- declare class TypeIdxSigTsDsl extends Mixed$5 {
2042
+ declare const Mixed$6: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.IndexSignatureDeclaration, "typescript">, ReadonlyMethods>, DocMethods>;
2043
+ declare class TypeIdxSigTsDsl extends Mixed$6 {
2043
2044
  readonly '~dsl' = "TypeIdxSigTsDsl";
2044
2045
  scope: NodeScope;
2045
2046
  protected _key?: TypeIdxSigType;
@@ -2067,8 +2068,8 @@ declare class TypeIdxSigTsDsl extends Mixed$5 {
2067
2068
  //#region src/ts-dsl/type/prop.d.ts
2068
2069
  type TypePropType = NodeName | MaybeTsDsl<ts.TypeNode>;
2069
2070
  type TypePropKind = 'prop';
2070
- declare const Mixed$4: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeElement>, ReadonlyMethods>, OptionalMethods>, DocMethods>;
2071
- declare class TypePropTsDsl extends Mixed$4 {
2071
+ declare const Mixed$5: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeElement, "typescript">, ReadonlyMethods>, OptionalMethods>, DocMethods>;
2072
+ declare class TypePropTsDsl extends Mixed$5 {
2072
2073
  readonly '~dsl' = "TypePropTsDsl";
2073
2074
  scope: NodeScope;
2074
2075
  protected _type?: Ref<TypePropType>;
@@ -2090,8 +2091,8 @@ declare class TypePropTsDsl extends Mixed$4 {
2090
2091
  }
2091
2092
  //#endregion
2092
2093
  //#region src/ts-dsl/type/object.d.ts
2093
- declare const Mixed$3: abstract new () => TsDsl<ts.TypeNode>;
2094
- declare class TypeObjectTsDsl extends Mixed$3 {
2094
+ declare const Mixed$4: abstract new () => TsDsl<ts.TypeNode, "typescript">;
2095
+ declare class TypeObjectTsDsl extends Mixed$4 {
2095
2096
  readonly '~dsl' = "TypeObjectTsDsl";
2096
2097
  scope: NodeScope;
2097
2098
  protected _props: Map<string, TypePropTsDsl | TypeIdxSigTsDsl>;
@@ -2110,21 +2111,21 @@ declare class TypeObjectTsDsl extends Mixed$3 {
2110
2111
  }
2111
2112
  //#endregion
2112
2113
  //#region src/ts-dsl/type/or.d.ts
2113
- type Type$1 = NodeName | ts.TypeNode | TypeTsDsl;
2114
- declare const Mixed$2: abstract new () => TsDsl<ts.UnionTypeNode>;
2115
- declare class TypeOrTsDsl extends Mixed$2 {
2114
+ type Type$2 = NodeName | ts.TypeNode | TypeTsDsl;
2115
+ declare const Mixed$3: abstract new () => TsDsl<ts.UnionTypeNode, "typescript">;
2116
+ declare class TypeOrTsDsl extends Mixed$3 {
2116
2117
  readonly '~dsl' = "TypeOrTsDsl";
2117
2118
  scope: NodeScope;
2118
- protected _types: Array<Ref<Type$1>>;
2119
- constructor(...nodes: Array<Type$1>);
2119
+ protected _types: Array<Ref<Type$2>>;
2120
+ constructor(...nodes: Array<Type$2>);
2120
2121
  analyze(ctx: AnalysisContext): void;
2121
- types(...nodes: Array<Type$1>): this;
2122
+ types(...nodes: Array<Type$2>): this;
2122
2123
  toAst(): ts.UnionTypeNode;
2123
2124
  }
2124
2125
  //#endregion
2125
2126
  //#region src/ts-dsl/type/template.d.ts
2126
- declare const Mixed$1: abstract new () => TsDsl<ts.TemplateLiteralTypeNode>;
2127
- declare class TypeTemplateTsDsl extends Mixed$1 {
2127
+ declare const Mixed$2: abstract new () => TsDsl<ts.TemplateLiteralTypeNode, "typescript">;
2128
+ declare class TypeTemplateTsDsl extends Mixed$2 {
2128
2129
  readonly '~dsl' = "TypeTemplateTsDsl";
2129
2130
  scope: NodeScope;
2130
2131
  protected parts: Array<string | MaybeTsDsl<ts.TypeNode>>;
@@ -2135,9 +2136,42 @@ declare class TypeTemplateTsDsl extends Mixed$1 {
2135
2136
  toAst(): ts.TemplateLiteralTypeNode;
2136
2137
  }
2137
2138
  //#endregion
2139
+ //#region src/ts-dsl/type/ternary.d.ts
2140
+ type Type$1 = NodeName | ts.TypeNode | TypeTsDsl;
2141
+ declare const Mixed$1: abstract new () => TsDsl<ts.ConditionalTypeNode, "typescript">;
2142
+ declare class TypeTernaryTsDsl extends Mixed$1 {
2143
+ readonly '~dsl' = "TypeTernaryTsDsl";
2144
+ scope: NodeScope;
2145
+ protected _check?: Type$1;
2146
+ protected _extends?: Type$1;
2147
+ protected _true?: Type$1;
2148
+ protected _false?: Type$1;
2149
+ constructor(check?: Type$1);
2150
+ analyze(ctx: AnalysisContext): void;
2151
+ /** Returns true when all required builder calls are present. */
2152
+ get isValid(): boolean;
2153
+ /** Sets the checked type: `Check extends ...` */
2154
+ check(type: Type$1): this;
2155
+ /** Sets the constraint: `Check extends Extends ? ...` */
2156
+ extends(type: Type$1): this;
2157
+ /** Sets the true branch: `... ? Do : ...` */
2158
+ do(type: Type$1): this;
2159
+ /** Sets the false branch: `... : Otherwise` */
2160
+ otherwise(type: Type$1): this;
2161
+ toAst(): ts.ConditionalTypeNode;
2162
+ $validate(): asserts this is this & {
2163
+ _check: Type$1;
2164
+ _extends: Type$1;
2165
+ _false: Type$1;
2166
+ _true: Type$1;
2167
+ };
2168
+ private missingRequiredCalls;
2169
+ private resolveType;
2170
+ }
2171
+ //#endregion
2138
2172
  //#region src/ts-dsl/type/tuple.d.ts
2139
2173
  type TupleElement = string | ts.TypeNode | TypeTsDsl;
2140
- declare const Mixed: abstract new () => TsDsl<ts.TupleTypeNode>;
2174
+ declare const Mixed: abstract new () => TsDsl<ts.TupleTypeNode, "typescript">;
2141
2175
  declare class TypeTupleTsDsl extends Mixed {
2142
2176
  readonly '~dsl' = "TypeTupleTsDsl";
2143
2177
  scope: NodeScope;
@@ -2280,7 +2314,7 @@ declare const $: ((id: any) => ExprTsDsl) & {
2280
2314
  class: (name: NodeName) => ClassTsDsl; /** Creates a constant variable declaration (`const`). */
2281
2315
  const: (name?: any) => VarTsDsl; /** Creates a postfix decrement expression (`i--`). */
2282
2316
  dec: (expr?: PostfixExpr | undefined, op?: ts.PostfixUnaryOperator | undefined) => PostfixTsDsl; /** Creates a decorator expression (e.g., `@decorator`). */
2283
- decorator: (name: NodeName, ...args: (string | ts.Expression | TsDsl<ts.Expression>)[]) => DecoratorTsDsl; /** Creates a JSDoc documentation block. */
2317
+ decorator: (name: NodeName, ...args: (string | ts.Expression | TsDsl<ts.Expression, "typescript">)[]) => DecoratorTsDsl; /** Creates a JSDoc documentation block. */
2284
2318
  doc: (lines?: DocLines | undefined, fn?: DocFn | undefined) => DocTsDsl; /** Creates an enum declaration. */
2285
2319
  enum: (name: NodeName, fn?: ((e: EnumTsDsl) => void) | undefined) => EnumTsDsl; /** Creates a general expression node. */
2286
2320
  expr: (id: any) => ExprTsDsl; /** Creates a field declaration in a class or object. */
@@ -2292,7 +2326,7 @@ declare const $: ((id: any) => ExprTsDsl) & {
2292
2326
  }; /** Converts a runtime value into a corresponding expression node. */
2293
2327
  fromValue: (input: unknown, options?: {
2294
2328
  layout?: "pretty";
2295
- } | undefined) => TsDsl<ts.Expression>; /** Creates a function expression or declaration. */
2329
+ } | undefined) => TsDsl<ts.Expression, "typescript">; /** Creates a function expression or declaration. */
2296
2330
  func: {
2297
2331
  (): FuncTsDsl<"arrow">;
2298
2332
  (fn: (f: FuncTsDsl<"arrow">) => void): FuncTsDsl<"arrow">;
@@ -2309,7 +2343,7 @@ declare const $: ((id: any) => ExprTsDsl) & {
2309
2343
  lazy: <T extends ts.Node>(thunk: LazyThunk<T>) => LazyTsDsl<T>; /** Creates a let variable declaration (`let`). */
2310
2344
  let: (name?: any) => VarTsDsl; /** Creates a literal value (e.g., string, number, boolean). */
2311
2345
  literal: (value: TsLiteralValue) => LiteralTsDsl; /** Creates an enum member declaration. */
2312
- member: (name: NodeName, value?: ((string | number | ts.Expression | TsDsl<ts.Expression>) | ((m: EnumMemberTsDsl) => void)) | undefined) => EnumMemberTsDsl; /** Creates a method declaration inside a class or object. */
2346
+ member: (name: NodeName, value?: ((string | number | ts.Expression | TsDsl<ts.Expression, "typescript">) | ((m: EnumMemberTsDsl) => void)) | undefined) => EnumMemberTsDsl; /** Creates a method declaration inside a class or object. */
2313
2347
  method: (name: NodeName, fn?: ((m: MethodTsDsl) => void) | undefined) => MethodTsDsl; /** Creates a negation expression (`-x`). */
2314
2348
  neg: (expr?: PrefixExpr | undefined, op?: ts.PrefixUnaryOperator | undefined) => PrefixTsDsl; /** Creates a new expression (e.g., `new ClassName()`). */
2315
2349
  new: (expr: any, ...args: any[]) => NewTsDsl; /** Creates a newline (for formatting purposes). */
@@ -2343,10 +2377,10 @@ declare const $: ((id: any) => ExprTsDsl) & {
2343
2377
  return: (expr?: any) => ReturnTsDsl; /** Creates a setter method declaration. */
2344
2378
  setter: (name: NodeName, fn?: ((s: SetterTsDsl) => void) | undefined) => SetterTsDsl; /** Creates a spread element from an expression (e.g., `...expr`). */
2345
2379
  spread: (expr: any) => SpreadTsDsl; /** Wraps an expression or statement-like value into a `StmtTsDsl`. */
2346
- stmt: (inner: ts.Expression | ts.Statement | TsDsl<any>) => StmtTsDsl; /** Creates a template literal expression. */
2380
+ stmt: (inner: ts.Expression | ts.Statement | TsDsl<any, "typescript">) => StmtTsDsl; /** Creates a template literal expression. */
2347
2381
  template: (value?: any) => TemplateTsDsl; /** Creates a ternary conditional expression (if ? then : else). */
2348
- ternary: (condition?: string | ts.Expression | TsDsl<ts.Expression> | undefined) => TernaryTsDsl; /** Creates a throw statement. */
2349
- throw: (error: string | ts.Expression | TsDsl<ts.Expression>, useNew?: boolean | undefined) => ThrowTsDsl; /** Creates a syntax token (e.g., `?`, `readonly`, `+`, `-`). */
2382
+ ternary: (condition?: string | ts.Expression | TsDsl<ts.Expression, "typescript"> | undefined) => TernaryTsDsl; /** Creates a throw statement. */
2383
+ throw: (error: string | ts.Expression | TsDsl<ts.Expression, "typescript">, useNew?: boolean | undefined) => ThrowTsDsl; /** Creates a syntax token (e.g., `?`, `readonly`, `+`, `-`). */
2350
2384
  token: () => TokenTsDsl<never>; /** Creates a try/catch/finally statement. */
2351
2385
  try: (...args: ConstructorParameters<typeof TryTsDsl>) => TryTsDsl; /** Creates a basic type reference or type expression (e.g., Foo or Foo<T>). */
2352
2386
  type: ((name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl) & {
@@ -2354,9 +2388,9 @@ declare const $: ((id: any) => ExprTsDsl) & {
2354
2388
  and: (...args: ConstructorParameters<typeof TypeAndTsDsl>) => TypeAndTsDsl; /** Creates a qualified type reference (e.g., Foo.Bar). */
2355
2389
  attr: (right: any) => TypeAttrTsDsl; /** Creates a basic type reference or type expression (e.g., Foo or Foo<T>). */
2356
2390
  expr: (name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl; /** Converts a runtime value into a corresponding type expression node. */
2357
- fromValue: (input: unknown) => TsDsl<ts.TypeNode>; /** Creates a function type node (e.g., `(a: string) => number`). */
2391
+ fromValue: (input: unknown) => TsDsl<ts.TypeNode, "typescript">; /** Creates a function type node (e.g., `(a: string) => number`). */
2358
2392
  func: (...args: ConstructorParameters<typeof TypeFuncTsDsl>) => TypeFuncTsDsl; /** Creates an indexed-access type (e.g., `Foo<T>[K]`). */
2359
- idx: (base: string | ts.TypeNode | TsDsl<ts.TypeNode>, index: string | number | ts.TypeNode | TsDsl<ts.TypeNode>) => TypeIdxTsDsl; /** Creates a literal type node (e.g., 'foo', 42, or true). */
2393
+ idx: (base: string | ts.TypeNode | TsDsl<ts.TypeNode, "typescript">, index: string | number | ts.TypeNode | TsDsl<ts.TypeNode, "typescript">) => TypeIdxTsDsl; /** Creates a literal type node (e.g., 'foo', 42, or true). */
2360
2394
  literal: (value: TsLiteralValue) => TypeLiteralTsDsl; /** Creates a mapped type (e.g., `{ [K in keyof T]: U }`). */
2361
2395
  mapped: (name?: any) => TypeMappedTsDsl; /** Creates a type literal node (e.g., { foo: string }). */
2362
2396
  object: () => TypeObjectTsDsl; /** Creates a type operator node (e.g., `readonly T`, `keyof T`, `unique T`). */
@@ -2364,7 +2398,8 @@ declare const $: ((id: any) => ExprTsDsl) & {
2364
2398
  or: (...args: ConstructorParameters<typeof TypeOrTsDsl>) => TypeOrTsDsl; /** Creates a type parameter (e.g., `<T>`). */
2365
2399
  param: (name?: any, fn?: ((name: TypeParamTsDsl) => void) | undefined) => TypeParamTsDsl; /** Creates a type query node (e.g., `typeof Foo`). */
2366
2400
  query: (expr: any) => TypeQueryTsDsl; /** Builds a TypeScript template literal *type* (e.g., `${Foo}-${Bar}` as a type). */
2367
- template: (value?: string | ts.TypeNode | TsDsl<ts.TypeNode> | undefined) => TypeTemplateTsDsl; /** Creates a tuple type (e.g., [A, B, C]). */
2401
+ template: (value?: string | ts.TypeNode | TsDsl<ts.TypeNode, "typescript"> | undefined) => TypeTemplateTsDsl; /** Creates a ternary conditional type (e.g., `T extends U ? X : Y`). */
2402
+ ternary: (check?: any) => TypeTernaryTsDsl; /** Creates a tuple type (e.g., [A, B, C]). */
2368
2403
  tuple: (...args: ConstructorParameters<typeof TypeTupleTsDsl>) => TypeTupleTsDsl; /** Creates a named tuple element (e.g., `[resolver?: R]`). */
2369
2404
  tupleMember: (name: NodeName) => TypeTupleMemberTsDsl;
2370
2405
  }; /** Creates a `typeof` expression (e.g., `typeof value`). */
@@ -3852,6 +3887,7 @@ interface OperationsConfig {
3852
3887
  //#region src/plugins/@hey-api/sdk/symbols.d.ts
3853
3888
  declare function sdkSymbols(plugin: PluginInstance$1): {
3854
3889
  Client: any;
3890
+ ClientMeta: any;
3855
3891
  Composable: any;
3856
3892
  Options: any;
3857
3893
  RequestResult: any;
@@ -11324,7 +11360,7 @@ declare function clientPluginHandler({
11324
11360
  //#endregion
11325
11361
  //#region src/index.d.ts
11326
11362
  declare module '@hey-api/codegen-core' {
11327
- interface ProjectRenderMeta {
11363
+ interface ProjectMeta {
11328
11364
  /**
11329
11365
  * If specified, this will be the file extension used when importing
11330
11366
  * other modules. By default, we don't add a file extension and let the