@hey-api/openapi-ts 0.91.1 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { n as UserConfig } from "./types-Ba27ofyy.mjs";
2
- import * as _hey_api_codegen_core0 from "@hey-api/codegen-core";
3
- import { AnalysisContext, BindingKind, ExportModule, File, FromRef, ImportModule, Language, Logger, Logger as Logger$1, Node, NodeName, NodeNameSanitizer, NodeRelationship, NodeScope, Ref, Refs, RenderContext, Renderer, Symbol, SymbolMeta } from "@hey-api/codegen-core";
4
- import { Casing, Context, DefinePlugin, DefinePlugin as DefinePlugin$1, FeatureToggle, IR, IR as IR$1, IndexExportOption, LinguistLanguages, NameTransformer, NamingConfig, NamingOptions, NamingRule, OpenApi, OpenApiMetaObject, OpenApiOperationObject, OpenApiParameterObject, OpenApiRequestBodyObject, OpenApiResponseObject, OpenApiSchemaObject, OpenApiV2_0_XTypes, OpenApiV3_0_XTypes, OpenApiV3_1_XTypes, OperationPath, OperationPathStrategy, OperationStrategy, OperationsStrategy, Plugin, Plugin as Plugin$1, Plugin as Plugin$2, SchemaWithType, defaultPaginationKeywords, definePluginConfig, utils } from "@hey-api/shared";
2
+ import { AnalysisContext, BindingKind, ExportModule, File, FromRef, ImportModule, Language, Logger, Node, NodeName as NodeName$1, NodeNameSanitizer, NodeRelationship, NodeScope, Ref, Refs, RenderContext, Renderer, Symbol, SymbolMeta } from "@hey-api/codegen-core";
3
+ import { Casing, Context, DefinePlugin, DefinePlugin as DefinePlugin$1, FeatureToggle, IR, IR as IR$1, LinguistLanguages, NameTransformer, NamingConfig, NamingOptions, NamingRule, OpenApi, OpenApiMetaObject, OpenApiOperationObject, OpenApiParameterObject, OpenApiRequestBodyObject, OpenApiResponseObject, OpenApiSchemaObject, OpenApiV2_0_XTypes, OpenApiV3_0_XTypes, OpenApiV3_1_XTypes, OperationPath, OperationPathStrategy, OperationStrategy, OperationsStrategy, Plugin, Plugin as Plugin$1, SchemaWithType, defaultPaginationKeywords, definePluginConfig, utils } from "@hey-api/shared";
5
4
  import ts from "typescript";
6
5
  import { AnyString, LazyOrAsync, MaybeArray, MaybeFunc } from "@hey-api/types";
7
6
  import { HttpClient, HttpErrorResponse, HttpHeaders, HttpRequest, HttpResponse } from "@angular/common/http";
@@ -372,13 +371,7 @@ type HttpResourcesConfig = FeatureToggle & {
372
371
  };
373
372
  //#endregion
374
373
  //#region src/plugins/@angular/common/types.d.ts
375
- type UserConfig$24 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & {
376
- /**
377
- * Whether exports should be re-exported in the index file.
378
- *
379
- * @default false
380
- */
381
- exportFromIndex?: boolean;
374
+ type UserConfig$24 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
382
375
  /**
383
376
  * Options for generating HTTP Request instances.
384
377
  *
@@ -392,7 +385,7 @@ type UserConfig$24 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & {
392
385
  */
393
386
  httpResources?: boolean | OperationsStrategy | UserHttpResourcesConfig;
394
387
  };
395
- type Config$21 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & IndexExportOption & {
388
+ type Config$21 = Plugin$1.Name<'@angular/common'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
396
389
  /**
397
390
  * Options for generating HTTP Request instances.
398
391
  */
@@ -410,7 +403,7 @@ type DropFirst<T extends Array<any>> = T extends [any, ...infer Rest] ? Rest : n
410
403
  type MixinCtor<T extends BaseCtor<any>, K$1> = abstract new (...args: Array<any>) => InstanceType<T> & K$1;
411
404
  //#endregion
412
405
  //#region src/ts-dsl/mixins/type-args.d.ts
413
- type Arg$1 = NodeName | MaybeTsDsl<TypeTsDsl>;
406
+ type Arg$1 = NodeName$1 | MaybeTsDsl<TypeTsDsl>;
414
407
  interface TypeArgsMethods extends Node {
415
408
  /** Returns the type arguments as an array of ts.TypeNode nodes. */
416
409
  $generics(): ReadonlyArray<ts.TypeNode> | undefined;
@@ -427,8 +420,8 @@ interface AsMethods extends Node {
427
420
  }
428
421
  //#endregion
429
422
  //#region src/ts-dsl/expr/as.d.ts
430
- type AsExpr = NodeName | MaybeTsDsl<ts.Expression>;
431
- type AsType = NodeName | TypeTsDsl;
423
+ type AsExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
424
+ type AsType = NodeName$1 | TypeTsDsl;
432
425
  type AsCtor = (expr: AsExpr, type: AsType) => AsTsDsl;
433
426
  declare const Mixed$52: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.AsExpression>, ExprMethods>, AsMethods>;
434
427
  declare class AsTsDsl extends Mixed$52 {
@@ -450,7 +443,7 @@ interface OptionalMethods extends Node {
450
443
  }
451
444
  //#endregion
452
445
  //#region src/ts-dsl/expr/binary.d.ts
453
- type Expr$3 = NodeName | MaybeTsDsl<ts.Expression>;
446
+ type Expr$3 = NodeName$1 | MaybeTsDsl<ts.Expression>;
454
447
  type Op$1 = Operator | ts.BinaryOperator;
455
448
  type Operator = '!=' | '!==' | '&&' | '*' | '+' | '-' | '/' | '<' | '<=' | '=' | '==' | '===' | '>' | '>=' | '??' | '??=' | '||';
456
449
  declare const Mixed$51: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.BinaryExpression>, ExprMethods>, AsMethods>;
@@ -461,6 +454,8 @@ declare class BinaryTsDsl extends Mixed$51 {
461
454
  protected _op?: Op$1;
462
455
  constructor(base: Expr$3, op?: Op$1, expr?: Expr$3);
463
456
  analyze(ctx: AnalysisContext): void;
457
+ /** Returns true when all required builder calls are present. */
458
+ get isValid(): boolean;
464
459
  /** Logical AND — `this && expr` */
465
460
  and(expr: Expr$3): this;
466
461
  /** Creates an assignment expression (e.g. `this = expr`). */
@@ -496,13 +491,18 @@ declare class BinaryTsDsl extends Mixed$51 {
496
491
  /** Multiplication — `this * expr` */
497
492
  times(expr: Expr$3): this;
498
493
  toAst(): ts.BinaryExpression;
494
+ $validate(): asserts this is this & {
495
+ _expr: Ref<Expr$3>;
496
+ _op: Op$1;
497
+ };
498
+ private missingRequiredCalls;
499
499
  /** Sets the binary operator and right-hand operand for this expression. */
500
500
  private opAndExpr;
501
501
  private opToToken;
502
502
  }
503
503
  //#endregion
504
504
  //#region src/ts-dsl/mixins/operator.d.ts
505
- type Expr$2 = NodeName | MaybeTsDsl<ts.Expression>;
505
+ type Expr$2 = NodeName$1 | MaybeTsDsl<ts.Expression>;
506
506
  interface OperatorMethods extends Node {
507
507
  /** Logical AND — `this && expr` */
508
508
  and(expr: Expr$2): BinaryTsDsl;
@@ -541,19 +541,19 @@ interface OperatorMethods extends Node {
541
541
  }
542
542
  //#endregion
543
543
  //#region src/ts-dsl/expr/attr.d.ts
544
- type AttrLeft = NodeName | MaybeTsDsl<ts.Expression>;
545
- type AttrCtor = (left: AttrLeft, right: NodeName) => AttrTsDsl;
544
+ type AttrLeft = NodeName$1 | MaybeTsDsl<ts.Expression>;
545
+ type AttrCtor = (left: AttrLeft, right: NodeName$1) => AttrTsDsl;
546
546
  declare const Mixed$50: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyAccessExpression | ts.ElementAccessExpression>, OptionalMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
547
547
  declare class AttrTsDsl extends Mixed$50 {
548
548
  readonly '~dsl' = "AttrTsDsl";
549
549
  protected left: Ref<AttrLeft>;
550
- constructor(left: AttrLeft, right: NodeName);
550
+ constructor(left: AttrLeft, right: NodeName$1);
551
551
  analyze(ctx: AnalysisContext): void;
552
552
  toAst(): ts.PropertyAccessExpression | ts.ElementAccessExpression;
553
553
  }
554
554
  //#endregion
555
555
  //#region src/ts-dsl/expr/await.d.ts
556
- type AwaitExpr = NodeName | MaybeTsDsl<ts.Expression>;
556
+ type AwaitExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
557
557
  type AwaitCtor = (expr: AwaitExpr) => AwaitTsDsl;
558
558
  declare const Mixed$49: MixinCtor<abstract new () => TsDsl<ts.AwaitExpression>, ExprMethods>;
559
559
  declare class AwaitTsDsl extends Mixed$49 {
@@ -565,7 +565,7 @@ declare class AwaitTsDsl extends Mixed$49 {
565
565
  }
566
566
  //#endregion
567
567
  //#region src/ts-dsl/mixins/args.d.ts
568
- type Arg = NodeName | MaybeTsDsl<ts.Expression>;
568
+ type Arg = NodeName$1 | MaybeTsDsl<ts.Expression>;
569
569
  interface ArgsMethods extends Node {
570
570
  /** Renders the arguments into an array of `Expression`s. */
571
571
  $args(): ReadonlyArray<ts.Expression>;
@@ -577,7 +577,7 @@ interface ArgsMethods extends Node {
577
577
  //#endregion
578
578
  //#region src/ts-dsl/expr/new.d.ts
579
579
  type NewArgs = ReadonlyArray<NewExpr | undefined>;
580
- type NewExpr = NodeName | MaybeTsDsl<ts.Expression>;
580
+ type NewExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
581
581
  type NewCtor = (expr: NewExpr, ...args: NewArgs) => NewTsDsl;
582
582
  declare const Mixed$48: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.NewExpression>, TypeArgsMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
583
583
  declare class NewTsDsl extends Mixed$48 {
@@ -601,7 +601,7 @@ declare class TypeOfExprTsDsl extends Mixed$47 {
601
601
  }
602
602
  //#endregion
603
603
  //#region src/ts-dsl/stmt/return.d.ts
604
- type ReturnExpr = NodeName | MaybeTsDsl<ts.Expression>;
604
+ type ReturnExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
605
605
  type ReturnCtor = (expr?: ReturnExpr) => ReturnTsDsl;
606
606
  declare const Mixed$46: abstract new () => TsDsl<ts.ReturnStatement>;
607
607
  declare class ReturnTsDsl extends Mixed$46 {
@@ -631,8 +631,8 @@ interface TypeExprMethods extends Node {
631
631
  }
632
632
  //#endregion
633
633
  //#region src/ts-dsl/type/attr.d.ts
634
- type Base$1 = NodeName | MaybeTsDsl<ts.EntityName>;
635
- type Right = NodeName | ts.Identifier;
634
+ type Base$1 = NodeName$1 | MaybeTsDsl<ts.EntityName>;
635
+ type Right = NodeName$1 | ts.Identifier;
636
636
  declare const Mixed$45: MixinCtor<abstract new () => TsDsl<ts.QualifiedName>, TypeExprMethods>;
637
637
  declare class TypeAttrTsDsl extends Mixed$45 {
638
638
  readonly '~dsl' = "TypeAttrTsDsl";
@@ -642,15 +642,22 @@ declare class TypeAttrTsDsl extends Mixed$45 {
642
642
  constructor(base: Base$1 | Ref<Base$1>, right: string | ts.Identifier);
643
643
  constructor(right: Right);
644
644
  analyze(ctx: AnalysisContext): void;
645
+ /** Returns true when all required builder calls are present. */
646
+ get isValid(): boolean;
645
647
  base(base?: Base$1 | Ref<Base$1>): this;
646
648
  right(right: Right): this;
647
649
  toAst(): ts.QualifiedName;
650
+ $validate(): asserts this is this & {
651
+ _base: Ref<Base$1>;
652
+ _right: Ref<Right>;
653
+ };
654
+ private missingRequiredCalls;
648
655
  }
649
656
  //#endregion
650
657
  //#region src/ts-dsl/type/expr.d.ts
651
- type TypeExprExpr = NodeName | TypeAttrTsDsl;
658
+ type TypeExprExpr = NodeName$1 | TypeAttrTsDsl;
652
659
  type TypeExprFn = (t: TypeExprTsDsl) => void;
653
- type TypeExprCtor = (nameOrFn?: NodeName | TypeExprFn, fn?: TypeExprFn) => TypeExprTsDsl;
660
+ type TypeExprCtor = (nameOrFn?: NodeName$1 | TypeExprFn, fn?: TypeExprFn) => TypeExprTsDsl;
654
661
  declare const Mixed$44: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeReferenceNode>, TypeExprMethods>, TypeArgsMethods>;
655
662
  declare class TypeExprTsDsl extends Mixed$44 {
656
663
  readonly '~dsl' = "TypeExprTsDsl";
@@ -658,12 +665,18 @@ declare class TypeExprTsDsl extends Mixed$44 {
658
665
  protected _exprInput?: Ref<TypeExprExpr>;
659
666
  constructor();
660
667
  constructor(fn: TypeExprFn);
661
- constructor(name: NodeName);
662
- constructor(name: NodeName, fn?: TypeExprFn);
668
+ constructor(name: NodeName$1);
669
+ constructor(name: NodeName$1, fn?: TypeExprFn);
663
670
  analyze(ctx: AnalysisContext): void;
671
+ /** Returns true when all required builder calls are present. */
672
+ get isValid(): boolean;
664
673
  /** Accesses a nested type (e.g. `Foo.Bar`). */
665
674
  attr(right: string | ts.Identifier | TypeAttrTsDsl): this;
666
675
  toAst(): ts.TypeReferenceNode;
676
+ $validate(): asserts this is this & {
677
+ _exprInput: Ref<TypeExprExpr>;
678
+ };
679
+ private missingRequiredCalls;
667
680
  }
668
681
  //#endregion
669
682
  //#region src/ts-dsl/type/idx.d.ts
@@ -678,9 +691,16 @@ declare class TypeIdxTsDsl extends Mixed$43 {
678
691
  protected _index: Index;
679
692
  constructor(base: Base, index: Index);
680
693
  analyze(ctx: AnalysisContext): void;
694
+ /** Returns true when all required builder calls are present. */
695
+ get isValid(): boolean;
681
696
  base(base: Base): this;
682
697
  index(index: Index): this;
683
698
  toAst(): ts.IndexedAccessTypeNode;
699
+ $validate(): asserts this is this & {
700
+ _base: Base;
701
+ _index: Index;
702
+ };
703
+ private missingRequiredCalls;
684
704
  }
685
705
  //#endregion
686
706
  //#region src/ts-dsl/type/operator.d.ts
@@ -787,7 +807,7 @@ interface ExprMethods extends Node {
787
807
  //#endregion
788
808
  //#region src/ts-dsl/expr/call.d.ts
789
809
  type CallArgs = ReadonlyArray<CallExpr | undefined>;
790
- type CallExpr = NodeName | MaybeTsDsl<ts.Expression>;
810
+ type CallExpr = NodeName$1 | MaybeTsDsl<ts.Expression>;
791
811
  type CallCtor = (expr: CallExpr, ...args: CallArgs) => CallTsDsl;
792
812
  declare const Mixed$40: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.CallExpression>, TypeArgsMethods>, ExprMethods>, AsMethods>, ArgsMethods>;
793
813
  declare class CallTsDsl extends Mixed$40 {
@@ -872,7 +892,7 @@ declare abstract class TsDsl<T extends ts.Node = ts.Node> implements Node<T> {
872
892
  structuralParents?: Map<TsDsl, NodeRelationship>;
873
893
  symbol?: Symbol;
874
894
  toAst(): T;
875
- readonly '~brand' = "heyapi.node";
895
+ readonly '~brand': any;
876
896
  /** Branding property to identify the DSL class at runtime. */
877
897
  abstract readonly '~dsl': AnyString;
878
898
  /** Conditionally applies a callback to this builder. */
@@ -893,7 +913,7 @@ declare abstract class TsDsl<T extends ts.Node = ts.Node> implements Node<T> {
893
913
  length: number;
894
914
  }): TsDsl | undefined;
895
915
  protected $maybeId<T extends string | ts.Expression>(expr: T): T extends string ? ts.Identifier : T;
896
- protected $name(name: Ref<NodeName>): string;
916
+ protected $name(name: Ref<NodeName$1>): string;
897
917
  protected $node<I>(value: I): NodeOfMaybe<I>;
898
918
  protected $type<I>(value: I, args?: ReadonlyArray<ts.TypeNode>): TypeOfMaybe<I>;
899
919
  private _name?;
@@ -954,9 +974,15 @@ declare class IfTsDsl extends Mixed$39 {
954
974
  protected _else?: Array<DoExpr>;
955
975
  constructor(condition?: IfCondition);
956
976
  analyze(ctx: AnalysisContext): void;
977
+ /** Returns true when all required builder calls are present. */
978
+ get isValid(): boolean;
957
979
  condition(condition: IfCondition): this;
958
980
  otherwise(...items: Array<DoExpr>): this;
959
981
  toAst(): ts.IfStatement;
982
+ $validate(): asserts this is this & {
983
+ _condition: IfCondition;
984
+ };
985
+ private missingRequiredCalls;
960
986
  }
961
987
  //#endregion
962
988
  //#region src/ts-dsl/utils/lazy.d.ts
@@ -972,13 +998,13 @@ declare class LazyTsDsl<T extends ts.Node = ts.Node> extends TsDsl<T> {
972
998
  //#endregion
973
999
  //#region src/ts-dsl/expr/literal.d.ts
974
1000
  type LiteralValue = string | number | boolean | bigint | null;
975
- declare const Mixed$38: MixinCtor<abstract new () => TsDsl<ts.PrefixUnaryExpression | ts.BigIntLiteral | ts.BooleanLiteral | ts.NullLiteral | ts.NumericLiteral | ts.StringLiteral>, AsMethods>;
1001
+ declare const Mixed$38: MixinCtor<abstract new () => TsDsl<ts.BigIntLiteral | ts.BooleanLiteral | ts.NullLiteral | ts.NumericLiteral | ts.PrefixUnaryExpression | ts.StringLiteral>, AsMethods>;
976
1002
  declare class LiteralTsDsl extends Mixed$38 {
977
1003
  readonly '~dsl' = "LiteralTsDsl";
978
1004
  protected value: LiteralValue;
979
1005
  constructor(value: LiteralValue);
980
1006
  analyze(ctx: AnalysisContext): void;
981
- toAst(): ts.PrefixUnaryExpression | ts.BigIntLiteral | ts.TrueLiteral | ts.FalseLiteral | ts.NullLiteral | ts.NumericLiteral | ts.StringLiteral;
1007
+ toAst(): any;
982
1008
  }
983
1009
  //#endregion
984
1010
  //#region src/ts-dsl/layout/note.d.ts
@@ -995,27 +1021,15 @@ declare class NoteTsDsl extends TsDsl<ts.Node> {
995
1021
  toAst(): ts.Node;
996
1022
  }
997
1023
  //#endregion
998
- //#region src/ts-dsl/expr/template.d.ts
999
- type TemplatePart = NodeName | MaybeTsDsl<ts.Expression>;
1000
- declare const Mixed$37: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral>;
1001
- declare class TemplateTsDsl extends Mixed$37 {
1002
- readonly '~dsl' = "TemplateTsDsl";
1003
- protected parts: Array<Ref<TemplatePart>>;
1004
- constructor(value?: TemplatePart);
1005
- analyze(ctx: AnalysisContext): void;
1006
- add(value: TemplatePart): this;
1007
- toAst(): ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral;
1008
- }
1009
- //#endregion
1010
1024
  //#region src/ts-dsl/type/param.d.ts
1011
- type TypeParamExpr = NodeName | boolean | MaybeTsDsl<TypeTsDsl>;
1012
- declare const Mixed$36: abstract new () => TsDsl<ts.TypeParameterDeclaration>;
1013
- declare class TypeParamTsDsl extends Mixed$36 {
1025
+ type TypeParamExpr = NodeName$1 | boolean | MaybeTsDsl<TypeTsDsl>;
1026
+ declare const Mixed$37: abstract new () => TsDsl<ts.TypeParameterDeclaration>;
1027
+ declare class TypeParamTsDsl extends Mixed$37 {
1014
1028
  readonly '~dsl' = "TypeParamTsDsl";
1015
1029
  scope: NodeScope;
1016
1030
  protected constraint?: Ref<TypeParamExpr>;
1017
1031
  protected defaultValue?: Ref<TypeParamExpr>;
1018
- constructor(name?: NodeName, fn?: (name: TypeParamTsDsl) => void);
1032
+ constructor(name?: NodeName$1, fn?: (name: TypeParamTsDsl) => void);
1019
1033
  analyze(ctx: AnalysisContext): void;
1020
1034
  default(value: TypeParamExpr): this;
1021
1035
  extends(constraint: TypeParamExpr): this;
@@ -1029,7 +1043,7 @@ interface TypeParamsMethods extends Node {
1029
1043
  /** Adds a single type parameter (e.g. `T` in `Array<T>`). */
1030
1044
  generic(...args: ConstructorParameters<typeof TypeParamTsDsl>): this;
1031
1045
  /** Adds type parameters (e.g. `Map<string, T>`). */
1032
- generics(...args: ReadonlyArray<NodeName | MaybeTsDsl<TypeParamTsDsl>>): this;
1046
+ generics(...args: ReadonlyArray<NodeName$1 | MaybeTsDsl<TypeParamTsDsl>>): this;
1033
1047
  }
1034
1048
  //#endregion
1035
1049
  //#region src/ts-dsl/mixins/modifiers.d.ts
@@ -1146,7 +1160,7 @@ interface DecoratorMethods extends Node {
1146
1160
  /** Renders the decorators into an array of `ts.Decorator`s. */
1147
1161
  $decorators(): ReadonlyArray<ts.Decorator>;
1148
1162
  /** Adds a decorator (e.g. `@sealed({ in: 'root' })`). */
1149
- decorator(name: NodeName | MaybeTsDsl<ts.Expression>, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>): this;
1163
+ decorator(name: NodeName$1 | MaybeTsDsl<ts.Expression>, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>): this;
1150
1164
  }
1151
1165
  //#endregion
1152
1166
  //#region src/ts-dsl/mixins/value.d.ts
@@ -1158,13 +1172,13 @@ interface ValueMethods extends Node {
1158
1172
  }
1159
1173
  //#endregion
1160
1174
  //#region src/ts-dsl/decl/field.d.ts
1161
- type FieldType = NodeName | TypeTsDsl;
1162
- declare const Mixed$35: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.PropertyDeclaration>, ValueMethods>, StaticMethods>, ReadonlyMethods>, PublicMethods>, ProtectedMethods>, PrivateMethods>, OptionalMethods>, DocMethods>, DecoratorMethods>;
1163
- declare class FieldTsDsl extends Mixed$35 {
1175
+ type FieldType = NodeName$1 | TypeTsDsl;
1176
+ 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>;
1177
+ declare class FieldTsDsl extends Mixed$36 {
1164
1178
  readonly '~dsl' = "FieldTsDsl";
1165
1179
  readonly nameSanitizer: (name: string) => string;
1166
1180
  protected _type?: TypeTsDsl;
1167
- constructor(name: NodeName, fn?: (f: FieldTsDsl) => void);
1181
+ constructor(name: NodeName$1, fn?: (f: FieldTsDsl) => void);
1168
1182
  analyze(ctx: AnalysisContext): void;
1169
1183
  /** Sets the field type. */
1170
1184
  type(type: FieldType): this;
@@ -1184,16 +1198,20 @@ interface PatternMethods extends Node {
1184
1198
  }
1185
1199
  //#endregion
1186
1200
  //#region src/ts-dsl/decl/param.d.ts
1187
- type ParamCtor = (name: NodeName | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void) => ParamTsDsl;
1188
- declare const Mixed$34: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ParameterDeclaration>, ValueMethods>, PatternMethods>, OptionalMethods>, DecoratorMethods>;
1189
- declare class ParamTsDsl extends Mixed$34 {
1201
+ type ParamCtor = (name: NodeName$1 | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void) => ParamTsDsl;
1202
+ declare const Mixed$35: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ParameterDeclaration>, ValueMethods>, PatternMethods>, OptionalMethods>, DecoratorMethods>;
1203
+ declare class ParamTsDsl extends Mixed$35 {
1190
1204
  readonly '~dsl' = "ParamTsDsl";
1191
1205
  protected _type?: TypeTsDsl;
1192
- constructor(name: NodeName | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void);
1206
+ constructor(name: NodeName$1 | ((p: ParamTsDsl) => void), fn?: (p: ParamTsDsl) => void);
1193
1207
  analyze(ctx: AnalysisContext): void;
1208
+ /** Returns true when all required builder calls are present. */
1209
+ get isValid(): boolean;
1194
1210
  /** Sets the parameter type. */
1195
1211
  type(type: string | TypeTsDsl): this;
1196
1212
  toAst(): ts.ParameterDeclaration;
1213
+ $validate(): asserts this;
1214
+ private missingRequiredCalls;
1197
1215
  }
1198
1216
  //#endregion
1199
1217
  //#region src/ts-dsl/mixins/param.d.ts
@@ -1207,8 +1225,8 @@ interface ParamMethods extends Node {
1207
1225
  }
1208
1226
  //#endregion
1209
1227
  //#region src/ts-dsl/decl/init.d.ts
1210
- declare const Mixed$33: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ConstructorDeclaration>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>;
1211
- declare class InitTsDsl extends Mixed$33 {
1228
+ declare const Mixed$34: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ConstructorDeclaration>, PublicMethods>, ProtectedMethods>, PrivateMethods>, ParamMethods>, DocMethods>, DoMethods>, DecoratorMethods>;
1229
+ declare class InitTsDsl extends Mixed$34 {
1212
1230
  readonly '~dsl' = "InitTsDsl";
1213
1231
  constructor(fn?: (i: InitTsDsl) => void);
1214
1232
  analyze(ctx: AnalysisContext): void;
@@ -1220,41 +1238,41 @@ interface TypeReturnsMethods extends Node {
1220
1238
  /** Returns the return type node. */
1221
1239
  $returns(): ts.TypeNode | undefined;
1222
1240
  /** Sets the return type. */
1223
- returns(type: NodeName | TypeTsDsl): this;
1241
+ returns(type: NodeName$1 | TypeTsDsl): this;
1224
1242
  }
1225
1243
  //#endregion
1226
1244
  //#region src/ts-dsl/decl/method.d.ts
1227
- declare const Mixed$32: 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>;
1228
- declare class MethodTsDsl extends Mixed$32 {
1245
+ declare const Mixed$33: 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>;
1246
+ declare class MethodTsDsl extends Mixed$33 {
1229
1247
  readonly '~dsl' = "MethodTsDsl";
1230
1248
  readonly nameSanitizer: (name: string) => string;
1231
- constructor(name: NodeName, fn?: (m: MethodTsDsl) => void);
1249
+ constructor(name: NodeName$1, fn?: (m: MethodTsDsl) => void);
1232
1250
  analyze(ctx: AnalysisContext): void;
1233
1251
  toAst(): ts.MethodDeclaration;
1234
1252
  }
1235
1253
  //#endregion
1236
1254
  //#region src/ts-dsl/decl/class.d.ts
1237
1255
  type Body = Array<MaybeTsDsl<ts.ClassElement | ts.Node>>;
1238
- declare const Mixed$31: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ClassDeclaration>, TypeParamsMethods>, ExportMethods>, DocMethods>, DefaultMethods>, DecoratorMethods>, AbstractMethods>;
1239
- declare class ClassTsDsl extends Mixed$31 {
1256
+ declare const Mixed$32: MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ClassDeclaration>, TypeParamsMethods>, ExportMethods>, DocMethods>, DefaultMethods>, DecoratorMethods>, AbstractMethods>;
1257
+ declare class ClassTsDsl extends Mixed$32 {
1240
1258
  readonly '~dsl' = "ClassTsDsl";
1241
1259
  readonly nameSanitizer: (name: string) => string;
1242
- protected baseClass?: Ref<NodeName>;
1260
+ protected baseClass?: Ref<NodeName$1>;
1243
1261
  protected body: Body;
1244
- constructor(name: NodeName);
1262
+ constructor(name: NodeName$1);
1245
1263
  analyze(ctx: AnalysisContext): void;
1246
1264
  /** Returns true if the class has any members. */
1247
1265
  get hasBody(): boolean;
1248
1266
  /** Adds one or more class members (fields, methods, etc.). */
1249
1267
  do(...items: Body): this;
1250
1268
  /** Records a base class to extend from. */
1251
- extends(base?: NodeName): this;
1269
+ extends(base?: NodeName$1): this;
1252
1270
  /** Adds a class field. */
1253
- field(name: NodeName, fn?: (f: FieldTsDsl) => void): this;
1271
+ field(name: NodeName$1, fn?: (f: FieldTsDsl) => void): this;
1254
1272
  /** Adds a class constructor. */
1255
1273
  init(fn?: InitTsDsl | ((i: InitTsDsl) => void)): this;
1256
1274
  /** Adds a class method. */
1257
- method(name: NodeName, fn?: (m: MethodTsDsl) => void): this;
1275
+ method(name: NodeName$1, fn?: (m: MethodTsDsl) => void): this;
1258
1276
  /** Inserts an empty line between members for formatting. */
1259
1277
  newline(): this;
1260
1278
  toAst(): ts.ClassDeclaration;
@@ -1263,11 +1281,11 @@ declare class ClassTsDsl extends Mixed$31 {
1263
1281
  }
1264
1282
  //#endregion
1265
1283
  //#region src/ts-dsl/decl/decorator.d.ts
1266
- declare const Mixed$30: MixinCtor<abstract new () => TsDsl<ts.Decorator>, ArgsMethods>;
1267
- declare class DecoratorTsDsl extends Mixed$30 {
1284
+ declare const Mixed$31: MixinCtor<abstract new () => TsDsl<ts.Decorator>, ArgsMethods>;
1285
+ declare class DecoratorTsDsl extends Mixed$31 {
1268
1286
  readonly '~dsl' = "DecoratorTsDsl";
1269
1287
  readonly nameSanitizer: (name: string) => string;
1270
- constructor(name: NodeName, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>);
1288
+ constructor(name: NodeName$1, ...args: ReadonlyArray<string | MaybeTsDsl<ts.Expression>>);
1271
1289
  analyze(ctx: AnalysisContext): void;
1272
1290
  toAst(): ts.Decorator;
1273
1291
  }
@@ -1275,11 +1293,11 @@ declare class DecoratorTsDsl extends Mixed$30 {
1275
1293
  //#region src/ts-dsl/decl/member.d.ts
1276
1294
  type Value$2 = string | number | MaybeTsDsl<ts.Expression>;
1277
1295
  type ValueFn$1 = Value$2 | ((m: EnumMemberTsDsl) => void);
1278
- declare const Mixed$29: MixinCtor<abstract new () => TsDsl<ts.EnumMember>, DocMethods>;
1279
- declare class EnumMemberTsDsl extends Mixed$29 {
1296
+ declare const Mixed$30: MixinCtor<abstract new () => TsDsl<ts.EnumMember>, DocMethods>;
1297
+ declare class EnumMemberTsDsl extends Mixed$30 {
1280
1298
  readonly '~dsl' = "EnumMemberTsDsl";
1281
1299
  private _value?;
1282
- constructor(name: NodeName, value?: ValueFn$1);
1300
+ constructor(name: NodeName$1, value?: ValueFn$1);
1283
1301
  analyze(ctx: AnalysisContext): void;
1284
1302
  /** Sets the enum member value. */
1285
1303
  value(value?: Value$2): this;
@@ -1289,12 +1307,12 @@ declare class EnumMemberTsDsl extends Mixed$29 {
1289
1307
  //#region src/ts-dsl/decl/enum.d.ts
1290
1308
  type Value$1 = string | number | MaybeTsDsl<ts.Expression>;
1291
1309
  type ValueFn = Value$1 | ((m: EnumMemberTsDsl) => void);
1292
- declare const Mixed$28: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.EnumDeclaration>, ExportMethods>, DocMethods>, ConstMethods>;
1293
- declare class EnumTsDsl extends Mixed$28 {
1310
+ declare const Mixed$29: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.EnumDeclaration>, ExportMethods>, DocMethods>, ConstMethods>;
1311
+ declare class EnumTsDsl extends Mixed$29 {
1294
1312
  readonly '~dsl' = "EnumTsDsl";
1295
1313
  readonly nameSanitizer: (name: string) => string;
1296
1314
  private _members;
1297
- constructor(name: NodeName, fn?: (e: EnumTsDsl) => void);
1315
+ constructor(name: NodeName$1, fn?: (e: EnumTsDsl) => void);
1298
1316
  analyze(ctx: AnalysisContext): void;
1299
1317
  /** Adds an enum member. */
1300
1318
  member(name: string, value?: ValueFn): this;
@@ -1305,16 +1323,18 @@ declare class EnumTsDsl extends Mixed$28 {
1305
1323
  //#endregion
1306
1324
  //#region src/ts-dsl/decl/func.d.ts
1307
1325
  type FuncMode = 'arrow' | 'decl' | 'expr';
1308
- declare const Mixed$27: 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>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AsMethods>, AbstractMethods>;
1309
- declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$27 {
1326
+ declare const Mixed$28: 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>, DocMethods>, DoMethods>, DecoratorMethods>, AsyncMethods>, AsMethods>, AbstractMethods>;
1327
+ declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$28 {
1310
1328
  readonly '~dsl' = "FuncTsDsl";
1311
1329
  readonly nameSanitizer: (name: string) => string;
1312
1330
  protected mode?: FuncMode;
1313
1331
  constructor();
1314
1332
  constructor(fn: (f: ImplFuncTsDsl<'arrow'>) => void);
1315
- constructor(name: NodeName);
1316
- constructor(name: NodeName, fn: (f: ImplFuncTsDsl<'decl'>) => void);
1333
+ constructor(name: NodeName$1);
1334
+ constructor(name: NodeName$1, fn: (f: ImplFuncTsDsl<'decl'>) => void);
1317
1335
  analyze(ctx: AnalysisContext): void;
1336
+ /** Returns true when all required builder calls are present. */
1337
+ get isValid(): boolean;
1318
1338
  /** Switches the function to an arrow function form. */
1319
1339
  arrow(): FuncTsDsl<'arrow'>;
1320
1340
  /** Switches the function to a function declaration form. */
@@ -1322,31 +1342,33 @@ declare class ImplFuncTsDsl<M extends FuncMode = 'arrow'> extends Mixed$27 {
1322
1342
  /** Switches the function to a function expression form. */
1323
1343
  expr(): FuncTsDsl<'expr'>;
1324
1344
  toAst(): M extends 'decl' ? ts.FunctionDeclaration : M extends 'expr' ? ts.FunctionExpression : ts.ArrowFunction;
1345
+ $validate(): asserts this;
1346
+ private missingRequiredCalls;
1325
1347
  }
1326
1348
  declare const FuncTsDsl: {
1327
1349
  new (): FuncTsDsl<"arrow">;
1328
1350
  new (fn: (f: FuncTsDsl<"arrow">) => void): FuncTsDsl<"arrow">;
1329
- new (name: NodeName): FuncTsDsl<"decl">;
1330
- new (name: NodeName, fn: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"decl">;
1351
+ new (name: NodeName$1): FuncTsDsl<"decl">;
1352
+ new (name: NodeName$1, fn: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"decl">;
1331
1353
  } & typeof ImplFuncTsDsl;
1332
1354
  type FuncTsDsl<M extends FuncMode = 'arrow'> = ImplFuncTsDsl<M>;
1333
1355
  //#endregion
1334
1356
  //#region src/ts-dsl/decl/getter.d.ts
1335
- declare const Mixed$26: 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>;
1336
- declare class GetterTsDsl extends Mixed$26 {
1357
+ declare const Mixed$27: 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>;
1358
+ declare class GetterTsDsl extends Mixed$27 {
1337
1359
  readonly '~dsl' = "GetterTsDsl";
1338
1360
  readonly nameSanitizer: (name: string) => string;
1339
- constructor(name: NodeName, fn?: (g: GetterTsDsl) => void);
1361
+ constructor(name: NodeName$1, fn?: (g: GetterTsDsl) => void);
1340
1362
  analyze(ctx: AnalysisContext): void;
1341
1363
  toAst(): ts.GetAccessorDeclaration;
1342
1364
  }
1343
1365
  //#endregion
1344
1366
  //#region src/ts-dsl/decl/pattern.d.ts
1345
- declare const Mixed$25: abstract new () => TsDsl<ts.BindingName>;
1367
+ declare const Mixed$26: abstract new () => TsDsl<ts.BindingName>;
1346
1368
  /**
1347
1369
  * Builds binding patterns (e.g. `{ foo, bar }`, `[a, b, ...rest]`).
1348
1370
  */
1349
- declare class PatternTsDsl extends Mixed$25 {
1371
+ declare class PatternTsDsl extends Mixed$26 {
1350
1372
  readonly '~dsl' = "PatternTsDsl";
1351
1373
  protected pattern?: {
1352
1374
  kind: 'array';
@@ -1357,6 +1379,8 @@ declare class PatternTsDsl extends Mixed$25 {
1357
1379
  };
1358
1380
  protected _spread?: string;
1359
1381
  analyze(ctx: AnalysisContext): void;
1382
+ /** Returns true when all required builder calls are present. */
1383
+ get isValid(): boolean;
1360
1384
  /** Defines an array pattern (e.g. `[a, b, c]`). */
1361
1385
  array(...props: ReadonlyArray<string> | [ReadonlyArray<string>]): this;
1362
1386
  /** Defines an object pattern (e.g. `{ a, b: alias }`). */
@@ -1364,15 +1388,25 @@ declare class PatternTsDsl extends Mixed$25 {
1364
1388
  /** Adds a spread element (e.g. `...rest`, `...options`, `...args`). */
1365
1389
  spread(name: string): this;
1366
1390
  toAst(): ts.ObjectBindingPattern | ts.ArrayBindingPattern;
1391
+ $validate(): asserts this is this & {
1392
+ pattern: {
1393
+ kind: 'array';
1394
+ values: ReadonlyArray<string>;
1395
+ } | {
1396
+ kind: 'object';
1397
+ values: Record<string, string>;
1398
+ };
1399
+ };
1400
+ private missingRequiredCalls;
1367
1401
  private createSpread;
1368
1402
  }
1369
1403
  //#endregion
1370
1404
  //#region src/ts-dsl/decl/setter.d.ts
1371
- declare const Mixed$24: 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>;
1372
- declare class SetterTsDsl extends Mixed$24 {
1405
+ declare const Mixed$25: 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>;
1406
+ declare class SetterTsDsl extends Mixed$25 {
1373
1407
  readonly '~dsl' = "SetterTsDsl";
1374
1408
  readonly nameSanitizer: (name: string) => string;
1375
- constructor(name: NodeName, fn?: (s: SetterTsDsl) => void);
1409
+ constructor(name: NodeName$1, fn?: (s: SetterTsDsl) => void);
1376
1410
  analyze(ctx: AnalysisContext): void;
1377
1411
  toAst(): ts.SetAccessorDeclaration;
1378
1412
  }
@@ -1390,8 +1424,8 @@ interface LayoutMethods extends Node {
1390
1424
  }
1391
1425
  //#endregion
1392
1426
  //#region src/ts-dsl/expr/array.d.ts
1393
- declare const Mixed$23: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrayLiteralExpression>, LayoutMethods>, AsMethods>;
1394
- declare class ArrayTsDsl extends Mixed$23 {
1427
+ declare const Mixed$24: MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ArrayLiteralExpression>, LayoutMethods>, AsMethods>;
1428
+ declare class ArrayTsDsl extends Mixed$24 {
1395
1429
  readonly '~dsl' = "ArrayTsDsl";
1396
1430
  protected _elements: Array<{
1397
1431
  expr: MaybeTsDsl<ts.Expression>;
@@ -1412,19 +1446,19 @@ declare class ArrayTsDsl extends Mixed$23 {
1412
1446
  }
1413
1447
  //#endregion
1414
1448
  //#region src/ts-dsl/expr/expr.d.ts
1415
- type Id = NodeName | MaybeTsDsl<ts.Expression>;
1416
- declare const Mixed$22: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Expression>, TypeExprMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
1417
- declare class ExprTsDsl extends Mixed$22 {
1449
+ type Id = NodeName$1 | MaybeTsDsl<ts.Expression>;
1450
+ declare const Mixed$23: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.Expression>, TypeExprMethods>, OperatorMethods>, ExprMethods>, AsMethods>;
1451
+ declare class ExprTsDsl extends Mixed$23 {
1418
1452
  readonly '~dsl' = "ExprTsDsl";
1419
1453
  protected _exprInput: Ref<Id>;
1420
1454
  constructor(id: Id);
1421
1455
  analyze(ctx: AnalysisContext): void;
1422
- toAst(): ts.Expression;
1456
+ toAst(): any;
1423
1457
  }
1424
1458
  //#endregion
1425
1459
  //#region src/ts-dsl/expr/id.d.ts
1426
- declare const Mixed$21: abstract new () => TsDsl<ts.Identifier>;
1427
- declare class IdTsDsl extends Mixed$21 {
1460
+ declare const Mixed$22: abstract new () => TsDsl<ts.Identifier>;
1461
+ declare class IdTsDsl extends Mixed$22 {
1428
1462
  readonly '~dsl' = "IdTsDsl";
1429
1463
  constructor(name: string);
1430
1464
  analyze(ctx: AnalysisContext): void;
@@ -1438,8 +1472,8 @@ interface HintMethods extends Node {
1438
1472
  }
1439
1473
  //#endregion
1440
1474
  //#region src/ts-dsl/expr/prop.d.ts
1441
- type Expr$1 = NodeName | MaybeTsDsl<ts.Expression>;
1442
- type Stmt$1 = NodeName | MaybeTsDsl<ts.Statement>;
1475
+ type Expr$1 = NodeName$1 | MaybeTsDsl<ts.Expression>;
1476
+ type Stmt$1 = NodeName$1 | MaybeTsDsl<ts.Statement>;
1443
1477
  type ObjectPropKind = 'computed' | 'getter' | 'prop' | 'setter' | 'spread';
1444
1478
  type Meta = {
1445
1479
  kind: 'computed';
@@ -1457,8 +1491,8 @@ type Meta = {
1457
1491
  kind: 'spread';
1458
1492
  name?: undefined;
1459
1493
  };
1460
- declare const Mixed$20: MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralElementLike>, DocMethods>;
1461
- declare class ObjectPropTsDsl extends Mixed$20 {
1494
+ declare const Mixed$21: MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralElementLike>, DocMethods>;
1495
+ declare class ObjectPropTsDsl extends Mixed$21 {
1462
1496
  readonly '~dsl' = "ObjectPropTsDsl";
1463
1497
  protected _value?: Ref<Expr$1 | Stmt$1>;
1464
1498
  protected _meta: Meta;
@@ -1468,7 +1502,7 @@ declare class ObjectPropTsDsl extends Mixed$20 {
1468
1502
  analyze(ctx: AnalysisContext): void;
1469
1503
  get isValid(): boolean;
1470
1504
  value(value: Expr$1 | Stmt$1 | ((p: ObjectPropTsDsl) => void)): this;
1471
- toAst(): ts.GetAccessorDeclaration | ts.SetAccessorDeclaration | ts.PropertyAssignment | ts.ShorthandPropertyAssignment | ts.SpreadAssignment;
1505
+ toAst(): any;
1472
1506
  $validate(): asserts this is this & {
1473
1507
  _value: Expr$1 | Stmt$1;
1474
1508
  kind: ObjectPropKind;
@@ -1477,12 +1511,12 @@ declare class ObjectPropTsDsl extends Mixed$20 {
1477
1511
  }
1478
1512
  //#endregion
1479
1513
  //#region src/ts-dsl/expr/object.d.ts
1480
- type Expr = NodeName | MaybeTsDsl<ts.Expression>;
1481
- type Stmt = NodeName | MaybeTsDsl<ts.Statement>;
1514
+ type Expr = NodeName$1 | MaybeTsDsl<ts.Expression>;
1515
+ type Stmt = NodeName$1 | MaybeTsDsl<ts.Statement>;
1482
1516
  type ExprFn = Expr | ((p: ObjectPropTsDsl) => void);
1483
1517
  type StmtFn = Stmt | ((p: ObjectPropTsDsl) => void);
1484
- declare const Mixed$19: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralExpression>, LayoutMethods>, HintMethods>, ExprMethods>, AsMethods>;
1485
- declare class ObjectTsDsl extends Mixed$19 {
1518
+ declare const Mixed$20: MixinCtor<MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.ObjectLiteralExpression>, LayoutMethods>, HintMethods>, ExprMethods>, AsMethods>;
1519
+ declare class ObjectTsDsl extends Mixed$20 {
1486
1520
  readonly '~dsl' = "ObjectTsDsl";
1487
1521
  protected _props: Map<string, ObjectPropTsDsl>;
1488
1522
  protected _spreadCounter: number;
@@ -1510,13 +1544,15 @@ declare class ObjectTsDsl extends Mixed$19 {
1510
1544
  }
1511
1545
  //#endregion
1512
1546
  //#region src/ts-dsl/expr/prefix.d.ts
1513
- declare const Mixed$18: abstract new () => TsDsl<ts.PrefixUnaryExpression>;
1514
- declare class PrefixTsDsl extends Mixed$18 {
1547
+ declare const Mixed$19: abstract new () => TsDsl<ts.PrefixUnaryExpression>;
1548
+ declare class PrefixTsDsl extends Mixed$19 {
1515
1549
  readonly '~dsl' = "PrefixTsDsl";
1516
1550
  protected _expr?: string | MaybeTsDsl<ts.Expression>;
1517
1551
  protected _op?: ts.PrefixUnaryOperator;
1518
1552
  constructor(expr?: string | MaybeTsDsl<ts.Expression>, op?: ts.PrefixUnaryOperator);
1519
1553
  analyze(ctx: AnalysisContext): void;
1554
+ /** Returns true when all required builder calls are present. */
1555
+ get isValid(): boolean;
1520
1556
  /** Sets the operand (the expression being prefixed). */
1521
1557
  expr(expr: string | MaybeTsDsl<ts.Expression>): this;
1522
1558
  /** Sets the operator to MinusToken for negation (`-`). */
@@ -1526,13 +1562,18 @@ declare class PrefixTsDsl extends Mixed$18 {
1526
1562
  /** Sets the operator (e.g. `ts.SyntaxKind.ExclamationToken` for `!`). */
1527
1563
  op(op: ts.PrefixUnaryOperator): this;
1528
1564
  toAst(): ts.PrefixUnaryExpression;
1565
+ $validate(): asserts this is this & {
1566
+ _expr: string | MaybeTsDsl<ts.Expression>;
1567
+ _op: ts.PrefixUnaryOperator;
1568
+ };
1569
+ private missingRequiredCalls;
1529
1570
  }
1530
1571
  //#endregion
1531
1572
  //#region src/ts-dsl/expr/regexp.d.ts
1532
1573
  type RegexFlag = 'g' | 'i' | 'm' | 's' | 'u' | 'y';
1533
1574
  type RegexFlags<Avail extends string = RegexFlag> = '' | { [K in Avail]: `${K}${RegexFlags<Exclude<Avail, K>>}` }[Avail];
1534
- declare const Mixed$17: abstract new () => TsDsl<ts.RegularExpressionLiteral>;
1535
- declare class RegExpTsDsl extends Mixed$17 {
1575
+ declare const Mixed$18: abstract new () => TsDsl<ts.RegularExpressionLiteral>;
1576
+ declare class RegExpTsDsl extends Mixed$18 {
1536
1577
  readonly '~dsl' = "RegExpTsDsl";
1537
1578
  protected pattern: string;
1538
1579
  protected flags?: RegexFlags;
@@ -1541,6 +1582,18 @@ declare class RegExpTsDsl extends Mixed$17 {
1541
1582
  toAst(): ts.RegularExpressionLiteral;
1542
1583
  }
1543
1584
  //#endregion
1585
+ //#region src/ts-dsl/expr/template.d.ts
1586
+ type TemplatePart = NodeName$1 | MaybeTsDsl<ts.Expression>;
1587
+ declare const Mixed$17: abstract new () => TsDsl<ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral>;
1588
+ declare class TemplateTsDsl extends Mixed$17 {
1589
+ readonly '~dsl' = "TemplateTsDsl";
1590
+ protected parts: Array<Ref<TemplatePart>>;
1591
+ constructor(value?: TemplatePart);
1592
+ analyze(ctx: AnalysisContext): void;
1593
+ add(value: TemplatePart): this;
1594
+ toAst(): ts.TemplateExpression | ts.NoSubstitutionTemplateLiteral;
1595
+ }
1596
+ //#endregion
1544
1597
  //#region src/ts-dsl/expr/ternary.d.ts
1545
1598
  declare const Mixed$16: abstract new () => TsDsl<ts.ConditionalExpression>;
1546
1599
  declare class TernaryTsDsl extends Mixed$16 {
@@ -1550,10 +1603,18 @@ declare class TernaryTsDsl extends Mixed$16 {
1550
1603
  protected _else?: string | MaybeTsDsl<ts.Expression>;
1551
1604
  constructor(condition?: string | MaybeTsDsl<ts.Expression>);
1552
1605
  analyze(ctx: AnalysisContext): void;
1606
+ /** Returns true when all required builder calls are present. */
1607
+ get isValid(): boolean;
1553
1608
  condition(condition: string | MaybeTsDsl<ts.Expression>): this;
1554
1609
  do(expr: string | MaybeTsDsl<ts.Expression>): this;
1555
1610
  otherwise(expr: string | MaybeTsDsl<ts.Expression>): this;
1556
1611
  toAst(): ts.ConditionalExpression;
1612
+ $validate(): asserts this is this & {
1613
+ _condition: string | MaybeTsDsl<ts.Expression>;
1614
+ _else: string | MaybeTsDsl<ts.Expression>;
1615
+ _then: string | MaybeTsDsl<ts.Expression>;
1616
+ };
1617
+ private missingRequiredCalls;
1557
1618
  }
1558
1619
  //#endregion
1559
1620
  //#region src/ts-dsl/layout/newline.d.ts
@@ -1600,16 +1661,22 @@ declare const Mixed$12: abstract new () => TsDsl<ts.TryStatement>;
1600
1661
  declare class TryTsDsl extends Mixed$12 {
1601
1662
  readonly '~dsl' = "TryTsDsl";
1602
1663
  protected _catch?: Array<DoExpr>;
1603
- protected _catchArg?: NodeName;
1664
+ protected _catchArg?: NodeName$1;
1604
1665
  protected _finally?: Array<DoExpr>;
1605
1666
  protected _try?: Array<DoExpr>;
1606
1667
  constructor(...tryBlock: Array<DoExpr>);
1607
1668
  analyze(ctx: AnalysisContext): void;
1669
+ /** Returns true when all required builder calls are present. */
1670
+ get isValid(): boolean;
1608
1671
  catch(...items: Array<DoExpr>): this;
1609
- catchArg(arg: NodeName): this;
1672
+ catchArg(arg: NodeName$1): this;
1610
1673
  finally(...items: Array<DoExpr>): this;
1611
1674
  try(...items: Array<DoExpr>): this;
1612
1675
  toAst(): ts.TryStatement;
1676
+ $validate(): asserts this is this & {
1677
+ _try: Array<DoExpr>;
1678
+ };
1679
+ private missingRequiredCalls;
1613
1680
  }
1614
1681
  //#endregion
1615
1682
  //#region src/ts-dsl/stmt/var.d.ts
@@ -1619,14 +1686,18 @@ declare class VarTsDsl extends Mixed$11 {
1619
1686
  readonly nameSanitizer: (name: string) => string;
1620
1687
  protected kind: ts.NodeFlags;
1621
1688
  protected _type?: TypeTsDsl;
1622
- constructor(name?: NodeName);
1689
+ constructor(name?: NodeName$1);
1623
1690
  analyze(ctx: AnalysisContext): void;
1691
+ /** Returns true when all required builder calls are present. */
1692
+ get isValid(): boolean;
1624
1693
  const(): this;
1625
1694
  let(): this;
1626
1695
  /** Sets the variable type. */
1627
1696
  type(type: string | TypeTsDsl): this;
1628
1697
  var(): this;
1629
1698
  toAst(): ts.VariableStatement;
1699
+ $validate(): asserts this;
1700
+ private missingRequiredCalls;
1630
1701
  }
1631
1702
  //#endregion
1632
1703
  //#region src/ts-dsl/token.d.ts
@@ -1648,6 +1719,12 @@ declare class TokenTsDsl<K$1 extends ts.SyntaxKind = never> extends TsDsl<ts.Tok
1648
1719
  /** Creates `...` (spread / rest) */
1649
1720
  spread(): TokenTsDsl<ts.SyntaxKind.DotDotDotToken>;
1650
1721
  toAst(): ts.Token<K$1>;
1722
+ $validate(): asserts this is this & {
1723
+ _kind: K$1;
1724
+ };
1725
+ private missingRequiredCalls;
1726
+ /** Returns true when all required builder calls are present. */
1727
+ get isValid(): boolean;
1651
1728
  }
1652
1729
  //#endregion
1653
1730
  //#region src/ts-dsl/type/alias.d.ts
@@ -1658,15 +1735,21 @@ declare class TypeAliasTsDsl extends Mixed$10 {
1658
1735
  readonly nameSanitizer: (name: string) => string;
1659
1736
  scope: NodeScope;
1660
1737
  protected value?: Value;
1661
- constructor(name: NodeName, fn?: (t: TypeAliasTsDsl) => void);
1738
+ constructor(name: NodeName$1, fn?: (t: TypeAliasTsDsl) => void);
1662
1739
  analyze(ctx: AnalysisContext): void;
1740
+ /** Returns true when all required builder calls are present. */
1741
+ get isValid(): boolean;
1663
1742
  /** Sets the type expression on the right-hand side of `= ...`. */
1664
1743
  type(node: Value): this;
1665
1744
  toAst(): ts.TypeAliasDeclaration;
1745
+ $validate(): asserts this is this & {
1746
+ value: Value;
1747
+ };
1748
+ private missingRequiredCalls;
1666
1749
  }
1667
1750
  //#endregion
1668
1751
  //#region src/ts-dsl/type/and.d.ts
1669
- type Type$1 = NodeName | ts.TypeNode | TypeTsDsl;
1752
+ type Type$1 = NodeName$1 | ts.TypeNode | TypeTsDsl;
1670
1753
  declare const Mixed$9: abstract new () => TsDsl<ts.IntersectionTypeNode>;
1671
1754
  declare class TypeAndTsDsl extends Mixed$9 {
1672
1755
  readonly '~dsl' = "TypeAndTsDsl";
@@ -1684,7 +1767,11 @@ declare class TypeFuncTsDsl extends Mixed$8 {
1684
1767
  readonly '~dsl' = "TypeFuncTsDsl";
1685
1768
  scope: NodeScope;
1686
1769
  analyze(ctx: AnalysisContext): void;
1770
+ /** Returns true when all required builder calls are present. */
1771
+ get isValid(): boolean;
1687
1772
  toAst(): ts.FunctionTypeNode;
1773
+ $validate(): asserts this;
1774
+ private missingRequiredCalls;
1688
1775
  }
1689
1776
  //#endregion
1690
1777
  //#region src/ts-dsl/type/literal.d.ts
@@ -1707,7 +1794,7 @@ declare class TypeMappedTsDsl extends Mixed$6 {
1707
1794
  protected readonlyToken?: TokenTsDsl<ts.SyntaxKind.ReadonlyKeyword | ts.SyntaxKind.MinusToken | ts.SyntaxKind.PlusToken>;
1708
1795
  protected _key?: string | MaybeTsDsl<ts.TypeNode>;
1709
1796
  protected _type?: string | MaybeTsDsl<ts.TypeNode>;
1710
- constructor(name?: NodeName);
1797
+ constructor(name?: NodeName$1);
1711
1798
  analyze(ctx: AnalysisContext): void;
1712
1799
  /** Returns true when all required builder calls are present. */
1713
1800
  get isValid(): boolean;
@@ -1740,7 +1827,7 @@ declare class TypeIdxSigTsDsl extends Mixed$5 {
1740
1827
  scope: NodeScope;
1741
1828
  protected _key?: TypeIdxSigType;
1742
1829
  protected _type?: TypeIdxSigType;
1743
- constructor(name: NodeName, fn?: (i: TypeIdxSigTsDsl) => void);
1830
+ constructor(name: NodeName$1, fn?: (i: TypeIdxSigTsDsl) => void);
1744
1831
  /** Element kind. */
1745
1832
  get kind(): TypeIdxSigKind;
1746
1833
  /** Index signature parameter name. */
@@ -1761,22 +1848,28 @@ declare class TypeIdxSigTsDsl extends Mixed$5 {
1761
1848
  }
1762
1849
  //#endregion
1763
1850
  //#region src/ts-dsl/type/prop.d.ts
1764
- type TypePropType = NodeName | MaybeTsDsl<ts.TypeNode>;
1851
+ type TypePropType = NodeName$1 | MaybeTsDsl<ts.TypeNode>;
1765
1852
  type TypePropKind = 'prop';
1766
1853
  declare const Mixed$4: MixinCtor<MixinCtor<MixinCtor<abstract new () => TsDsl<ts.TypeElement>, ReadonlyMethods>, OptionalMethods>, DocMethods>;
1767
1854
  declare class TypePropTsDsl extends Mixed$4 {
1768
1855
  readonly '~dsl' = "TypePropTsDsl";
1769
1856
  scope: NodeScope;
1770
1857
  protected _type?: Ref<TypePropType>;
1771
- constructor(name: NodeName, fn: (p: TypePropTsDsl) => void);
1858
+ constructor(name: NodeName$1, fn: (p: TypePropTsDsl) => void);
1772
1859
  /** Element kind. */
1773
1860
  get kind(): TypePropKind;
1774
1861
  /** Property name. */
1775
1862
  get propName(): string;
1776
1863
  analyze(ctx: AnalysisContext): void;
1864
+ /** Returns true when all required builder calls are present. */
1865
+ get isValid(): boolean;
1777
1866
  /** Sets the property type. */
1778
1867
  type(type: TypePropType): this;
1779
1868
  toAst(): ts.PropertySignature;
1869
+ $validate(): asserts this is this & {
1870
+ _type: Ref<TypePropType>;
1871
+ };
1872
+ private missingRequiredCalls;
1780
1873
  }
1781
1874
  //#endregion
1782
1875
  //#region src/ts-dsl/type/object.d.ts
@@ -1784,7 +1877,7 @@ declare const Mixed$3: abstract new () => TsDsl<ts.TypeNode>;
1784
1877
  declare class TypeObjectTsDsl extends Mixed$3 {
1785
1878
  readonly '~dsl' = "TypeObjectTsDsl";
1786
1879
  scope: NodeScope;
1787
- protected _props: Map<string, TypeIdxSigTsDsl | TypePropTsDsl>;
1880
+ protected _props: Map<string, TypePropTsDsl | TypeIdxSigTsDsl>;
1788
1881
  analyze(ctx: AnalysisContext): void;
1789
1882
  /** Returns true if object has at least one property or index signature. */
1790
1883
  hasProps(): boolean;
@@ -1800,7 +1893,7 @@ declare class TypeObjectTsDsl extends Mixed$3 {
1800
1893
  }
1801
1894
  //#endregion
1802
1895
  //#region src/ts-dsl/type/or.d.ts
1803
- type Type = NodeName | ts.TypeNode | TypeTsDsl;
1896
+ type Type = NodeName$1 | ts.TypeNode | TypeTsDsl;
1804
1897
  declare const Mixed$2: abstract new () => TsDsl<ts.UnionTypeNode>;
1805
1898
  declare class TypeOrTsDsl extends Mixed$2 {
1806
1899
  readonly '~dsl' = "TypeOrTsDsl";
@@ -1967,35 +2060,35 @@ declare const reserved: {
1967
2060
  };
1968
2061
  //#endregion
1969
2062
  //#region src/ts-dsl/index.d.ts
1970
- declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<ts.Expression>) => ExprTsDsl) & {
2063
+ declare const $: ((id: any) => ExprTsDsl) & {
1971
2064
  /** Creates an array literal expression (e.g. `[1, 2, 3]`). */
1972
2065
  array: (...args: ConstructorParameters<typeof ArrayTsDsl>) => ArrayTsDsl;
1973
2066
  /** Creates an `as` type assertion expression (e.g. `value as Type`). */
1974
- as: (expr: AsExpr, type: AsType) => AsTsDsl;
2067
+ as: (expr: any, type: any) => AsTsDsl;
1975
2068
  /** Creates a property access expression (e.g. `obj.foo`). */
1976
- attr: (left: AttrLeft, right: _hey_api_codegen_core0.NodeName) => AttrTsDsl;
2069
+ attr: (left: any, right: NodeName) => AttrTsDsl;
1977
2070
  /** Creates an await expression (e.g. `await promise`). */
1978
- await: (expr: AwaitExpr) => AwaitTsDsl;
2071
+ await: (expr: any) => AwaitTsDsl;
1979
2072
  /** Creates a binary expression (e.g. `a + b`). */
1980
- binary: (base: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<ts.Expression>, op?: (("/" | "*" | "!=" | "!==" | "&&" | "+" | "-" | "<" | "<=" | "=" | "==" | "===" | ">" | ">=" | "??" | "??=" | "||") | ts.BinaryOperator) | undefined, expr?: (_hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<ts.Expression>) | undefined) => BinaryTsDsl;
2073
+ binary: (base: any, op?: (("!=" | "!==" | "&&" | "*" | "+" | "-" | "/" | "<" | "<=" | "=" | "==" | "===" | ">" | ">=" | "??" | "??=" | "||") | ts.BinaryOperator) | undefined, expr?: any) => BinaryTsDsl;
1981
2074
  /** Creates a statement block (`{ ... }`). */
1982
2075
  block: (...args: ConstructorParameters<typeof BlockTsDsl>) => BlockTsDsl;
1983
2076
  /** Creates a function or method call expression (e.g. `fn(arg)`). */
1984
- call: (expr: CallExpr, ...args: (CallExpr | undefined)[]) => CallTsDsl;
2077
+ call: (expr: any, ...args: any[]) => CallTsDsl;
1985
2078
  /** Creates a class declaration or expression. */
1986
- class: (name: _hey_api_codegen_core0.NodeName) => ClassTsDsl;
2079
+ class: (name: NodeName) => ClassTsDsl;
1987
2080
  /** Creates a constant variable declaration (`const`). */
1988
- const: (name?: _hey_api_codegen_core0.NodeName | undefined) => VarTsDsl;
2081
+ const: (name?: any) => VarTsDsl;
1989
2082
  /** Creates a decorator expression (e.g. `@decorator`). */
1990
- decorator: (name: _hey_api_codegen_core0.NodeName, ...args: (string | ts.Expression | TsDsl<ts.Expression>)[]) => DecoratorTsDsl;
2083
+ decorator: (name: NodeName, ...args: (string | ts.Expression | TsDsl<ts.Expression>)[]) => DecoratorTsDsl;
1991
2084
  /** Creates a JSDoc documentation block. */
1992
2085
  doc: (lines?: DocLines | undefined, fn?: DocFn | undefined) => DocTsDsl;
1993
2086
  /** Creates an enum declaration. */
1994
- enum: (name: _hey_api_codegen_core0.NodeName, fn?: ((e: EnumTsDsl) => void) | undefined) => EnumTsDsl;
2087
+ enum: (name: NodeName, fn?: ((e: EnumTsDsl) => void) | undefined) => EnumTsDsl;
1995
2088
  /** Creates a general expression node. */
1996
- expr: (id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<ts.Expression>) => ExprTsDsl;
2089
+ expr: (id: any) => ExprTsDsl;
1997
2090
  /** Creates a field declaration in a class or object. */
1998
- field: (name: _hey_api_codegen_core0.NodeName, fn?: ((f: FieldTsDsl) => void) | undefined) => FieldTsDsl;
2091
+ field: (name: NodeName, fn?: ((f: FieldTsDsl) => void) | undefined) => FieldTsDsl;
1999
2092
  /** Converts a runtime value into a corresponding expression node. */
2000
2093
  fromValue: (input: unknown, options?: {
2001
2094
  layout?: "pretty";
@@ -2009,7 +2102,7 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2009
2102
  (name?: string, fn?: (f: FuncTsDsl<"decl">) => void): FuncTsDsl<"arrow"> | FuncTsDsl<"decl">;
2010
2103
  };
2011
2104
  /** Creates a getter method declaration. */
2012
- getter: (name: _hey_api_codegen_core0.NodeName, fn?: ((g: GetterTsDsl) => void) | undefined) => GetterTsDsl;
2105
+ getter: (name: NodeName, fn?: ((g: GetterTsDsl) => void) | undefined) => GetterTsDsl;
2013
2106
  /** Creates a single-line comment (//). */
2014
2107
  hint: (lines?: HintLines | undefined, fn?: HintFn | undefined) => HintTsDsl;
2015
2108
  /** Creates an identifier (e.g. `foo`). */
@@ -2021,17 +2114,17 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2021
2114
  /** Creates a lazy, context-aware node with deferred evaluation. */
2022
2115
  lazy: <T extends ts.Node>(thunk: LazyThunk<T>) => LazyTsDsl<T>;
2023
2116
  /** Creates a let variable declaration (`let`). */
2024
- let: (name?: _hey_api_codegen_core0.NodeName | undefined) => VarTsDsl;
2117
+ let: (name?: any) => VarTsDsl;
2025
2118
  /** Creates a literal value (e.g. string, number, boolean). */
2026
2119
  literal: (value: LiteralValue) => LiteralTsDsl;
2027
2120
  /** Creates an enum member declaration. */
2028
- member: (name: _hey_api_codegen_core0.NodeName, value?: ((string | number | ts.Expression | TsDsl<ts.Expression>) | ((m: EnumMemberTsDsl) => void)) | undefined) => EnumMemberTsDsl;
2121
+ member: (name: NodeName, value?: ((string | number | ts.Expression | TsDsl<ts.Expression>) | ((m: EnumMemberTsDsl) => void)) | undefined) => EnumMemberTsDsl;
2029
2122
  /** Creates a method declaration inside a class or object. */
2030
- method: (name: _hey_api_codegen_core0.NodeName, fn?: ((m: MethodTsDsl) => void) | undefined) => MethodTsDsl;
2123
+ method: (name: NodeName, fn?: ((m: MethodTsDsl) => void) | undefined) => MethodTsDsl;
2031
2124
  /** Creates a negation expression (`-x`). */
2032
2125
  neg: (expr?: string | ts.Expression | TsDsl<ts.Expression> | undefined, op?: ts.PrefixUnaryOperator | undefined) => PrefixTsDsl;
2033
2126
  /** Creates a new expression (e.g. `new ClassName()`). */
2034
- new: (expr: NewExpr, ...args: (NewExpr | undefined)[]) => NewTsDsl;
2127
+ new: (expr: any, ...args: any[]) => NewTsDsl;
2035
2128
  /** Creates a newline (for formatting purposes). */
2036
2129
  newline: () => NewlineTsDsl;
2037
2130
  /** Creates a logical NOT expression (`!x`). */
@@ -2041,7 +2134,7 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2041
2134
  /** Creates an object literal expression. */
2042
2135
  object: (...args: ConstructorParameters<typeof ObjectTsDsl>) => ObjectTsDsl;
2043
2136
  /** Creates a parameter declaration for functions or methods. */
2044
- param: (name: _hey_api_codegen_core0.NodeName | ((p: ParamTsDsl) => void), fn?: ((p: ParamTsDsl) => void) | undefined) => ParamTsDsl;
2137
+ param: (name: any, fn?: ((p: ParamTsDsl) => void) | undefined) => ParamTsDsl;
2045
2138
  /** Creates a pattern for destructuring or matching. */
2046
2139
  pattern: () => PatternTsDsl;
2047
2140
  /** Creates a prefix unary expression (e.g. `-x`, `!x`, `~x`). */
@@ -2066,13 +2159,13 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2066
2159
  /** Creates a regular expression literal (e.g. `/foo/gi`). */
2067
2160
  regexp: (pattern: string, flags?: ("" | "g" | "i" | "m" | "s" | "u" | "y" | "uy" | "yu" | "su" | "sy" | "suy" | "syu" | "ys" | "us" | "usy" | "uys" | "ysu" | "yus" | "ms" | "mu" | "my" | "muy" | "myu" | "msu" | "msy" | "msuy" | "msyu" | "mys" | "mus" | "musy" | "muys" | "mysu" | "myus" | "ym" | "um" | "umy" | "uym" | "ymu" | "yum" | "sm" | "smu" | "smy" | "smuy" | "smyu" | "sym" | "sum" | "sumy" | "suym" | "symu" | "syum" | "yms" | "ysm" | "ums" | "umsy" | "umys" | "usm" | "usmy" | "usym" | "uyms" | "uysm" | "ymsu" | "ymus" | "ysmu" | "ysum" | "yums" | "yusm" | "im" | "is" | "iu" | "iy" | "iuy" | "iyu" | "isu" | "isy" | "isuy" | "isyu" | "iys" | "ius" | "iusy" | "iuys" | "iysu" | "iyus" | "ims" | "imu" | "imy" | "imuy" | "imyu" | "imsu" | "imsy" | "imsuy" | "imsyu" | "imys" | "imus" | "imusy" | "imuys" | "imysu" | "imyus" | "iym" | "ium" | "iumy" | "iuym" | "iymu" | "iyum" | "ism" | "ismu" | "ismy" | "ismuy" | "ismyu" | "isym" | "isum" | "isumy" | "isuym" | "isymu" | "isyum" | "iyms" | "iysm" | "iums" | "iumsy" | "iumys" | "iusm" | "iusmy" | "iusym" | "iuyms" | "iuysm" | "iymsu" | "iymus" | "iysmu" | "iysum" | "iyums" | "iyusm" | "yi" | "ui" | "uiy" | "uyi" | "yiu" | "yui" | "si" | "siu" | "siy" | "siuy" | "siyu" | "syi" | "sui" | "suiy" | "suyi" | "syiu" | "syui" | "yis" | "ysi" | "uis" | "uisy" | "uiys" | "usi" | "usiy" | "usyi" | "uyis" | "uysi" | "yisu" | "yius" | "ysiu" | "ysui" | "yuis" | "yusi" | "mi" | "mis" | "miu" | "miy" | "miuy" | "miyu" | "misu" | "misy" | "misuy" | "misyu" | "miys" | "mius" | "miusy" | "miuys" | "miysu" | "miyus" | "myi" | "mui" | "muiy" | "muyi" | "myiu" | "myui" | "msi" | "msiu" | "msiy" | "msiuy" | "msiyu" | "msyi" | "msui" | "msuiy" | "msuyi" | "msyiu" | "msyui" | "myis" | "mysi" | "muis" | "muisy" | "muiys" | "musi" | "musiy" | "musyi" | "muyis" | "muysi" | "myisu" | "myius" | "mysiu" | "mysui" | "myuis" | "myusi" | "yim" | "ymi" | "uim" | "uimy" | "uiym" | "umi" | "umiy" | "umyi" | "uyim" | "uymi" | "yimu" | "yium" | "ymiu" | "ymui" | "yuim" | "yumi" | "sim" | "simu" | "simy" | "simuy" | "simyu" | "siym" | "sium" | "siumy" | "siuym" | "siymu" | "siyum" | "smi" | "smiu" | "smiy" | "smiuy" | "smiyu" | "smyi" | "smui" | "smuiy" | "smuyi" | "smyiu" | "smyui" | "syim" | "symi" | "suim" | "suimy" | "suiym" | "sumi" | "sumiy" | "sumyi" | "suyim" | "suymi" | "syimu" | "syium" | "symiu" | "symui" | "syuim" | "syumi" | "yims" | "yism" | "ymis" | "ymsi" | "ysim" | "ysmi" | "uims" | "uimsy" | "uimys" | "uism" | "uismy" | "uisym" | "uiyms" | "uiysm" | "umis" | "umisy" | "umiys" | "umsi" | "umsiy" | "umsyi" | "umyis" | "umysi" | "usim" | "usimy" | "usiym" | "usmi" | "usmiy" | "usmyi" | "usyim" | "usymi" | "uyims" | "uyism" | "uymis" | "uymsi" | "uysim" | "uysmi" | "yimsu" | "yimus" | "yismu" | "yisum" | "yiums" | "yiusm" | "ymisu" | "ymius" | "ymsiu" | "ymsui" | "ymuis" | "ymusi" | "ysimu" | "ysium" | "ysmiu" | "ysmui" | "ysuim" | "ysumi" | "yuims" | "yuism" | "yumis" | "yumsi" | "yusim" | "yusmi" | "gi" | "gm" | "gs" | "gu" | "gy" | "guy" | "gyu" | "gsu" | "gsy" | "gsuy" | "gsyu" | "gys" | "gus" | "gusy" | "guys" | "gysu" | "gyus" | "gms" | "gmu" | "gmy" | "gmuy" | "gmyu" | "gmsu" | "gmsy" | "gmsuy" | "gmsyu" | "gmys" | "gmus" | "gmusy" | "gmuys" | "gmysu" | "gmyus" | "gym" | "gum" | "gumy" | "guym" | "gymu" | "gyum" | "gsm" | "gsmu" | "gsmy" | "gsmuy" | "gsmyu" | "gsym" | "gsum" | "gsumy" | "gsuym" | "gsymu" | "gsyum" | "gyms" | "gysm" | "gums" | "gumsy" | "gumys" | "gusm" | "gusmy" | "gusym" | "guyms" | "guysm" | "gymsu" | "gymus" | "gysmu" | "gysum" | "gyums" | "gyusm" | "gim" | "gis" | "giu" | "giy" | "giuy" | "giyu" | "gisu" | "gisy" | "gisuy" | "gisyu" | "giys" | "gius" | "giusy" | "giuys" | "giysu" | "giyus" | "gims" | "gimu" | "gimy" | "gimuy" | "gimyu" | "gimsu" | "gimsy" | "gimsuy" | "gimsyu" | "gimys" | "gimus" | "gimusy" | "gimuys" | "gimysu" | "gimyus" | "giym" | "gium" | "giumy" | "giuym" | "giymu" | "giyum" | "gism" | "gismu" | "gismy" | "gismuy" | "gismyu" | "gisym" | "gisum" | "gisumy" | "gisuym" | "gisymu" | "gisyum" | "giyms" | "giysm" | "giums" | "giumsy" | "giumys" | "giusm" | "giusmy" | "giusym" | "giuyms" | "giuysm" | "giymsu" | "giymus" | "giysmu" | "giysum" | "giyums" | "giyusm" | "gyi" | "gui" | "guiy" | "guyi" | "gyiu" | "gyui" | "gsi" | "gsiu" | "gsiy" | "gsiuy" | "gsiyu" | "gsyi" | "gsui" | "gsuiy" | "gsuyi" | "gsyiu" | "gsyui" | "gyis" | "gysi" | "guis" | "guisy" | "guiys" | "gusi" | "gusiy" | "gusyi" | "guyis" | "guysi" | "gyisu" | "gyius" | "gysiu" | "gysui" | "gyuis" | "gyusi" | "gmi" | "gmis" | "gmiu" | "gmiy" | "gmiuy" | "gmiyu" | "gmisu" | "gmisy" | "gmisuy" | "gmisyu" | "gmiys" | "gmius" | "gmiusy" | "gmiuys" | "gmiysu" | "gmiyus" | "gmyi" | "gmui" | "gmuiy" | "gmuyi" | "gmyiu" | "gmyui" | "gmsi" | "gmsiu" | "gmsiy" | "gmsiuy" | "gmsiyu" | "gmsyi" | "gmsui" | "gmsuiy" | "gmsuyi" | "gmsyiu" | "gmsyui" | "gmyis" | "gmysi" | "gmuis" | "gmuisy" | "gmuiys" | "gmusi" | "gmusiy" | "gmusyi" | "gmuyis" | "gmuysi" | "gmyisu" | "gmyius" | "gmysiu" | "gmysui" | "gmyuis" | "gmyusi" | "gyim" | "gymi" | "guim" | "guimy" | "guiym" | "gumi" | "gumiy" | "gumyi" | "guyim" | "guymi" | "gyimu" | "gyium" | "gymiu" | "gymui" | "gyuim" | "gyumi" | "gsim" | "gsimu" | "gsimy" | "gsimuy" | "gsimyu" | "gsiym" | "gsium" | "gsiumy" | "gsiuym" | "gsiymu" | "gsiyum" | "gsmi" | "gsmiu" | "gsmiy" | "gsmiuy" | "gsmiyu" | "gsmyi" | "gsmui" | "gsmuiy" | "gsmuyi" | "gsmyiu" | "gsmyui" | "gsyim" | "gsymi" | "gsuim" | "gsuimy" | "gsuiym" | "gsumi" | "gsumiy" | "gsumyi" | "gsuyim" | "gsuymi" | "gsyimu" | "gsyium" | "gsymiu" | "gsymui" | "gsyuim" | "gsyumi" | "gyims" | "gyism" | "gymis" | "gymsi" | "gysim" | "gysmi" | "guims" | "guimsy" | "guimys" | "guism" | "guismy" | "guisym" | "guiyms" | "guiysm" | "gumis" | "gumisy" | "gumiys" | "gumsi" | "gumsiy" | "gumsyi" | "gumyis" | "gumysi" | "gusim" | "gusimy" | "gusiym" | "gusmi" | "gusmiy" | "gusmyi" | "gusyim" | "gusymi" | "guyims" | "guyism" | "guymis" | "guymsi" | "guysim" | "guysmi" | "gyimsu" | "gyimus" | "gyismu" | "gyisum" | "gyiums" | "gyiusm" | "gymisu" | "gymius" | "gymsiu" | "gymsui" | "gymuis" | "gymusi" | "gysimu" | "gysium" | "gysmiu" | "gysmui" | "gysuim" | "gysumi" | "gyuims" | "gyuism" | "gyumis" | "gyumsi" | "gyusim" | "gyusmi" | "yg" | "ug" | "ugy" | "uyg" | "ygu" | "yug" | "sg" | "sgu" | "sgy" | "sguy" | "sgyu" | "syg" | "sug" | "sugy" | "suyg" | "sygu" | "syug" | "ygs" | "ysg" | "ugs" | "ugsy" | "ugys" | "usg" | "usgy" | "usyg" | "uygs" | "uysg" | "ygsu" | "ygus" | "ysgu" | "ysug" | "yugs" | "yusg" | "mg" | "mgs" | "mgu" | "mgy" | "mguy" | "mgyu" | "mgsu" | "mgsy" | "mgsuy" | "mgsyu" | "mgys" | "mgus" | "mgusy" | "mguys" | "mgysu" | "mgyus" | "myg" | "mug" | "mugy" | "muyg" | "mygu" | "myug" | "msg" | "msgu" | "msgy" | "msguy" | "msgyu" | "msyg" | "msug" | "msugy" | "msuyg" | "msygu" | "msyug" | "mygs" | "mysg" | "mugs" | "mugsy" | "mugys" | "musg" | "musgy" | "musyg" | "muygs" | "muysg" | "mygsu" | "mygus" | "mysgu" | "mysug" | "myugs" | "myusg" | "ygm" | "ymg" | "ugm" | "ugmy" | "ugym" | "umg" | "umgy" | "umyg" | "uygm" | "uymg" | "ygmu" | "ygum" | "ymgu" | "ymug" | "yugm" | "yumg" | "sgm" | "sgmu" | "sgmy" | "sgmuy" | "sgmyu" | "sgym" | "sgum" | "sgumy" | "sguym" | "sgymu" | "sgyum" | "smg" | "smgu" | "smgy" | "smguy" | "smgyu" | "smyg" | "smug" | "smugy" | "smuyg" | "smygu" | "smyug" | "sygm" | "symg" | "sugm" | "sugmy" | "sugym" | "sumg" | "sumgy" | "sumyg" | "suygm" | "suymg" | "sygmu" | "sygum" | "symgu" | "symug" | "syugm" | "syumg" | "ygms" | "ygsm" | "ymgs" | "ymsg" | "ysgm" | "ysmg" | "ugms" | "ugmsy" | "ugmys" | "ugsm" | "ugsmy" | "ugsym" | "ugyms" | "ugysm" | "umgs" | "umgsy" | "umgys" | "umsg" | "umsgy" | "umsyg" | "umygs" | "umysg" | "usgm" | "usgmy" | "usgym" | "usmg" | "usmgy" | "usmyg" | "usygm" | "usymg" | "uygms" | "uygsm" | "uymgs" | "uymsg" | "uysgm" | "uysmg" | "ygmsu" | "ygmus" | "ygsmu" | "ygsum" | "ygums" | "ygusm" | "ymgsu" | "ymgus" | "ymsgu" | "ymsug" | "ymugs" | "ymusg" | "ysgmu" | "ysgum" | "ysmgu" | "ysmug" | "ysugm" | "ysumg" | "yugms" | "yugsm" | "yumgs" | "yumsg" | "yusgm" | "yusmg" | "ig" | "igm" | "igs" | "igu" | "igy" | "iguy" | "igyu" | "igsu" | "igsy" | "igsuy" | "igsyu" | "igys" | "igus" | "igusy" | "iguys" | "igysu" | "igyus" | "igms" | "igmu" | "igmy" | "igmuy" | "igmyu" | "igmsu" | "igmsy" | "igmsuy" | "igmsyu" | "igmys" | "igmus" | "igmusy" | "igmuys" | "igmysu" | "igmyus" | "igym" | "igum" | "igumy" | "iguym" | "igymu" | "igyum" | "igsm" | "igsmu" | "igsmy" | "igsmuy" | "igsmyu" | "igsym" | "igsum" | "igsumy" | "igsuym" | "igsymu" | "igsyum" | "igyms" | "igysm" | "igums" | "igumsy" | "igumys" | "igusm" | "igusmy" | "igusym" | "iguyms" | "iguysm" | "igymsu" | "igymus" | "igysmu" | "igysum" | "igyums" | "igyusm" | "iyg" | "iug" | "iugy" | "iuyg" | "iygu" | "iyug" | "isg" | "isgu" | "isgy" | "isguy" | "isgyu" | "isyg" | "isug" | "isugy" | "isuyg" | "isygu" | "isyug" | "iygs" | "iysg" | "iugs" | "iugsy" | "iugys" | "iusg" | "iusgy" | "iusyg" | "iuygs" | "iuysg" | "iygsu" | "iygus" | "iysgu" | "iysug" | "iyugs" | "iyusg" | "img" | "imgs" | "imgu" | "imgy" | "imguy" | "imgyu" | "imgsu" | "imgsy" | "imgsuy" | "imgsyu" | "imgys" | "imgus" | "imgusy" | "imguys" | "imgysu" | "imgyus" | "imyg" | "imug" | "imugy" | "imuyg" | "imygu" | "imyug" | "imsg" | "imsgu" | "imsgy" | "imsguy" | "imsgyu" | "imsyg" | "imsug" | "imsugy" | "imsuyg" | "imsygu" | "imsyug" | "imygs" | "imysg" | "imugs" | "imugsy" | "imugys" | "imusg" | "imusgy" | "imusyg" | "imuygs" | "imuysg" | "imygsu" | "imygus" | "imysgu" | "imysug" | "imyugs" | "imyusg" | "iygm" | "iymg" | "iugm" | "iugmy" | "iugym" | "iumg" | "iumgy" | "iumyg" | "iuygm" | "iuymg" | "iygmu" | "iygum" | "iymgu" | "iymug" | "iyugm" | "iyumg" | "isgm" | "isgmu" | "isgmy" | "isgmuy" | "isgmyu" | "isgym" | "isgum" | "isgumy" | "isguym" | "isgymu" | "isgyum" | "ismg" | "ismgu" | "ismgy" | "ismguy" | "ismgyu" | "ismyg" | "ismug" | "ismugy" | "ismuyg" | "ismygu" | "ismyug" | "isygm" | "isymg" | "isugm" | "isugmy" | "isugym" | "isumg" | "isumgy" | "isumyg" | "isuygm" | "isuymg" | "isygmu" | "isygum" | "isymgu" | "isymug" | "isyugm" | "isyumg" | "iygms" | "iygsm" | "iymgs" | "iymsg" | "iysgm" | "iysmg" | "iugms" | "iugmsy" | "iugmys" | "iugsm" | "iugsmy" | "iugsym" | "iugyms" | "iugysm" | "iumgs" | "iumgsy" | "iumgys" | "iumsg" | "iumsgy" | "iumsyg" | "iumygs" | "iumysg" | "iusgm" | "iusgmy" | "iusgym" | "iusmg" | "iusmgy" | "iusmyg" | "iusygm" | "iusymg" | "iuygms" | "iuygsm" | "iuymgs" | "iuymsg" | "iuysgm" | "iuysmg" | "iygmsu" | "iygmus" | "iygsmu" | "iygsum" | "iygums" | "iygusm" | "iymgsu" | "iymgus" | "iymsgu" | "iymsug" | "iymugs" | "iymusg" | "iysgmu" | "iysgum" | "iysmgu" | "iysmug" | "iysugm" | "iysumg" | "iyugms" | "iyugsm" | "iyumgs" | "iyumsg" | "iyusgm" | "iyusmg" | "ygi" | "yig" | "ugi" | "ugiy" | "ugyi" | "uig" | "uigy" | "uiyg" | "uygi" | "uyig" | "ygiu" | "ygui" | "yigu" | "yiug" | "yugi" | "yuig" | "sgi" | "sgiu" | "sgiy" | "sgiuy" | "sgiyu" | "sgyi" | "sgui" | "sguiy" | "sguyi" | "sgyiu" | "sgyui" | "sig" | "sigu" | "sigy" | "siguy" | "sigyu" | "siyg" | "siug" | "siugy" | "siuyg" | "siygu" | "siyug" | "sygi" | "syig" | "sugi" | "sugiy" | "sugyi" | "suig" | "suigy" | "suiyg" | "suygi" | "suyig" | "sygiu" | "sygui" | "syigu" | "syiug" | "syugi" | "syuig" | "ygis" | "ygsi" | "yigs" | "yisg" | "ysgi" | "ysig" | "ugis" | "ugisy" | "ugiys" | "ugsi" | "ugsiy" | "ugsyi" | "ugyis" | "ugysi" | "uigs" | "uigsy" | "uigys" | "uisg" | "uisgy" | "uisyg" | "uiygs" | "uiysg" | "usgi" | "usgiy" | "usgyi" | "usig" | "usigy" | "usiyg" | "usygi" | "usyig" | "uygis" | "uygsi" | "uyigs" | "uyisg" | "uysgi" | "uysig" | "ygisu" | "ygius" | "ygsiu" | "ygsui" | "yguis" | "ygusi" | "yigsu" | "yigus" | "yisgu" | "yisug" | "yiugs" | "yiusg" | "ysgiu" | "ysgui" | "ysigu" | "ysiug" | "ysugi" | "ysuig" | "yugis" | "yugsi" | "yuigs" | "yuisg" | "yusgi" | "yusig" | "mgi" | "mgis" | "mgiu" | "mgiy" | "mgiuy" | "mgiyu" | "mgisu" | "mgisy" | "mgisuy" | "mgisyu" | "mgiys" | "mgius" | "mgiusy" | "mgiuys" | "mgiysu" | "mgiyus" | "mgyi" | "mgui" | "mguiy" | "mguyi" | "mgyiu" | "mgyui" | "mgsi" | "mgsiu" | "mgsiy" | "mgsiuy" | "mgsiyu" | "mgsyi" | "mgsui" | "mgsuiy" | "mgsuyi" | "mgsyiu" | "mgsyui" | "mgyis" | "mgysi" | "mguis" | "mguisy" | "mguiys" | "mgusi" | "mgusiy" | "mgusyi" | "mguyis" | "mguysi" | "mgyisu" | "mgyius" | "mgysiu" | "mgysui" | "mgyuis" | "mgyusi" | "mig" | "migs" | "migu" | "migy" | "miguy" | "migyu" | "migsu" | "migsy" | "migsuy" | "migsyu" | "migys" | "migus" | "migusy" | "miguys" | "migysu" | "migyus" | "miyg" | "miug" | "miugy" | "miuyg" | "miygu" | "miyug" | "misg" | "misgu" | "misgy" | "misguy" | "misgyu" | "misyg" | "misug" | "misugy" | "misuyg" | "misygu" | "misyug" | "miygs" | "miysg" | "miugs" | "miugsy" | "miugys" | "miusg" | "miusgy" | "miusyg" | "miuygs" | "miuysg" | "miygsu" | "miygus" | "miysgu" | "miysug" | "miyugs" | "miyusg" | "mygi" | "myig" | "mugi" | "mugiy" | "mugyi" | "muig" | "muigy" | "muiyg" | "muygi" | "muyig" | "mygiu" | "mygui" | "myigu" | "myiug" | "myugi" | "myuig" | "msgi" | "msgiu" | "msgiy" | "msgiuy" | "msgiyu" | "msgyi" | "msgui" | "msguiy" | "msguyi" | "msgyiu" | "msgyui" | "msig" | "msigu" | "msigy" | "msiguy" | "msigyu" | "msiyg" | "msiug" | "msiugy" | "msiuyg" | "msiygu" | "msiyug" | "msygi" | "msyig" | "msugi" | "msugiy" | "msugyi" | "msuig" | "msuigy" | "msuiyg" | "msuygi" | "msuyig" | "msygiu" | "msygui" | "msyigu" | "msyiug" | "msyugi" | "msyuig" | "mygis" | "mygsi" | "myigs" | "myisg" | "mysgi" | "mysig" | "mugis" | "mugisy" | "mugiys" | "mugsi" | "mugsiy" | "mugsyi" | "mugyis" | "mugysi" | "muigs" | "muigsy" | "muigys" | "muisg" | "muisgy" | "muisyg" | "muiygs" | "muiysg" | "musgi" | "musgiy" | "musgyi" | "musig" | "musigy" | "musiyg" | "musygi" | "musyig" | "muygis" | "muygsi" | "muyigs" | "muyisg" | "muysgi" | "muysig" | "mygisu" | "mygius" | "mygsiu" | "mygsui" | "myguis" | "mygusi" | "myigsu" | "myigus" | "myisgu" | "myisug" | "myiugs" | "myiusg" | "mysgiu" | "mysgui" | "mysigu" | "mysiug" | "mysugi" | "mysuig" | "myugis" | "myugsi" | "myuigs" | "myuisg" | "myusgi" | "myusig" | "ygim" | "ygmi" | "yigm" | "yimg" | "ymgi" | "ymig" | "ugim" | "ugimy" | "ugiym" | "ugmi" | "ugmiy" | "ugmyi" | "ugyim" | "ugymi" | "uigm" | "uigmy" | "uigym" | "uimg" | "uimgy" | "uimyg" | "uiygm" | "uiymg" | "umgi" | "umgiy" | "umgyi" | "umig" | "umigy" | "umiyg" | "umygi" | "umyig" | "uygim" | "uygmi" | "uyigm" | "uyimg" | "uymgi" | "uymig" | "ygimu" | "ygium" | "ygmiu" | "ygmui" | "yguim" | "ygumi" | "yigmu" | "yigum" | "yimgu" | "yimug" | "yiugm" | "yiumg" | "ymgiu" | "ymgui" | "ymigu" | "ymiug" | "ymugi" | "ymuig" | "yugim" | "yugmi" | "yuigm" | "yuimg" | "yumgi" | "yumig" | "sgim" | "sgimu" | "sgimy" | "sgimuy" | "sgimyu" | "sgiym" | "sgium" | "sgiumy" | "sgiuym" | "sgiymu" | "sgiyum" | "sgmi" | "sgmiu" | "sgmiy" | "sgmiuy" | "sgmiyu" | "sgmyi" | "sgmui" | "sgmuiy" | "sgmuyi" | "sgmyiu" | "sgmyui" | "sgyim" | "sgymi" | "sguim" | "sguimy" | "sguiym" | "sgumi" | "sgumiy" | "sgumyi" | "sguyim" | "sguymi" | "sgyimu" | "sgyium" | "sgymiu" | "sgymui" | "sgyuim" | "sgyumi" | "sigm" | "sigmu" | "sigmy" | "sigmuy" | "sigmyu" | "sigym" | "sigum" | "sigumy" | "siguym" | "sigymu" | "sigyum" | "simg" | "simgu" | "simgy" | "simguy" | "simgyu" | "simyg" | "simug" | "simugy" | "simuyg" | "simygu" | "simyug" | "siygm" | "siymg" | "siugm" | "siugmy" | "siugym" | "siumg" | "siumgy" | "siumyg" | "siuygm" | "siuymg" | "siygmu" | "siygum" | "siymgu" | "siymug" | "siyugm" | "siyumg" | "smgi" | "smgiu" | "smgiy" | "smgiuy" | "smgiyu" | "smgyi" | "smgui" | "smguiy" | "smguyi" | "smgyiu" | "smgyui" | "smig" | "smigu" | "smigy" | "smiguy" | "smigyu" | "smiyg" | "smiug" | "smiugy" | "smiuyg" | "smiygu" | "smiyug" | "smygi" | "smyig" | "smugi" | "smugiy" | "smugyi" | "smuig" | "smuigy" | "smuiyg" | "smuygi" | "smuyig" | "smygiu" | "smygui" | "smyigu" | "smyiug" | "smyugi" | "smyuig" | "sygim" | "sygmi" | "syigm" | "syimg" | "symgi" | "symig" | "sugim" | "sugimy" | "sugiym" | "sugmi" | "sugmiy" | "sugmyi" | "sugyim" | "sugymi" | "suigm" | "suigmy" | "suigym" | "suimg" | "suimgy" | "suimyg" | "suiygm" | "suiymg" | "sumgi" | "sumgiy" | "sumgyi" | "sumig" | "sumigy" | "sumiyg" | "sumygi" | "sumyig" | "suygim" | "suygmi" | "suyigm" | "suyimg" | "suymgi" | "suymig" | "sygimu" | "sygium" | "sygmiu" | "sygmui" | "syguim" | "sygumi" | "syigmu" | "syigum" | "syimgu" | "syimug" | "syiugm" | "syiumg" | "symgiu" | "symgui" | "symigu" | "symiug" | "symugi" | "symuig" | "syugim" | "syugmi" | "syuigm" | "syuimg" | "syumgi" | "syumig" | "ygims" | "ygism" | "ygmis" | "ygmsi" | "ygsim" | "ygsmi" | "yigms" | "yigsm" | "yimgs" | "yimsg" | "yisgm" | "yismg" | "ymgis" | "ymgsi" | "ymigs" | "ymisg" | "ymsgi" | "ymsig" | "ysgim" | "ysgmi" | "ysigm" | "ysimg" | "ysmgi" | "ysmig" | "ugims" | "ugimsy" | "ugimys" | "ugism" | "ugismy" | "ugisym" | "ugiyms" | "ugiysm" | "ugmis" | "ugmisy" | "ugmiys" | "ugmsi" | "ugmsiy" | "ugmsyi" | "ugmyis" | "ugmysi" | "ugsim" | "ugsimy" | "ugsiym" | "ugsmi" | "ugsmiy" | "ugsmyi" | "ugsyim" | "ugsymi" | "ugyims" | "ugyism" | "ugymis" | "ugymsi" | "ugysim" | "ugysmi" | "uigms" | "uigmsy" | "uigmys" | "uigsm" | "uigsmy" | "uigsym" | "uigyms" | "uigysm" | "uimgs" | "uimgsy" | "uimgys" | "uimsg" | "uimsgy" | "uimsyg" | "uimygs" | "uimysg" | "uisgm" | "uisgmy" | "uisgym" | "uismg" | "uismgy" | "uismyg" | "uisygm" | "uisymg" | "uiygms" | "uiygsm" | "uiymgs" | "uiymsg" | "uiysgm" | "uiysmg" | "umgis" | "umgisy" | "umgiys" | "umgsi" | "umgsiy" | "umgsyi" | "umgyis" | "umgysi" | "umigs" | "umigsy" | "umigys" | "umisg" | "umisgy" | "umisyg" | "umiygs" | "umiysg" | "umsgi" | "umsgiy" | "umsgyi" | "umsig" | "umsigy" | "umsiyg" | "umsygi" | "umsyig" | "umygis" | "umygsi" | "umyigs" | "umyisg" | "umysgi" | "umysig" | "usgim" | "usgimy" | "usgiym" | "usgmi" | "usgmiy" | "usgmyi" | "usgyim" | "usgymi" | "usigm" | "usigmy" | "usigym" | "usimg" | "usimgy" | "usimyg" | "usiygm" | "usiymg" | "usmgi" | "usmgiy" | "usmgyi" | "usmig" | "usmigy" | "usmiyg" | "usmygi" | "usmyig" | "usygim" | "usygmi" | "usyigm" | "usyimg" | "usymgi" | "usymig" | "uygims" | "uygism" | "uygmis" | "uygmsi" | "uygsim" | "uygsmi" | "uyigms" | "uyigsm" | "uyimgs" | "uyimsg" | "uyisgm" | "uyismg" | "uymgis" | "uymgsi" | "uymigs" | "uymisg" | "uymsgi" | "uymsig" | "uysgim" | "uysgmi" | "uysigm" | "uysimg" | "uysmgi" | "uysmig" | "ygimsu" | "ygimus" | "ygismu" | "ygisum" | "ygiums" | "ygiusm" | "ygmisu" | "ygmius" | "ygmsiu" | "ygmsui" | "ygmuis" | "ygmusi" | "ygsimu" | "ygsium" | "ygsmiu" | "ygsmui" | "ygsuim" | "ygsumi" | "yguims" | "yguism" | "ygumis" | "ygumsi" | "ygusim" | "ygusmi" | "yigmsu" | "yigmus" | "yigsmu" | "yigsum" | "yigums" | "yigusm" | "yimgsu" | "yimgus" | "yimsgu" | "yimsug" | "yimugs" | "yimusg" | "yisgmu" | "yisgum" | "yismgu" | "yismug" | "yisugm" | "yisumg" | "yiugms" | "yiugsm" | "yiumgs" | "yiumsg" | "yiusgm" | "yiusmg" | "ymgisu" | "ymgius" | "ymgsiu" | "ymgsui" | "ymguis" | "ymgusi" | "ymigsu" | "ymigus" | "ymisgu" | "ymisug" | "ymiugs" | "ymiusg" | "ymsgiu" | "ymsgui" | "ymsigu" | "ymsiug" | "ymsugi" | "ymsuig" | "ymugis" | "ymugsi" | "ymuigs" | "ymuisg" | "ymusgi" | "ymusig" | "ysgimu" | "ysgium" | "ysgmiu" | "ysgmui" | "ysguim" | "ysgumi" | "ysigmu" | "ysigum" | "ysimgu" | "ysimug" | "ysiugm" | "ysiumg" | "ysmgiu" | "ysmgui" | "ysmigu" | "ysmiug" | "ysmugi" | "ysmuig" | "ysugim" | "ysugmi" | "ysuigm" | "ysuimg" | "ysumgi" | "ysumig" | "yugims" | "yugism" | "yugmis" | "yugmsi" | "yugsim" | "yugsmi" | "yuigms" | "yuigsm" | "yuimgs" | "yuimsg" | "yuisgm" | "yuismg" | "yumgis" | "yumgsi" | "yumigs" | "yumisg" | "yumsgi" | "yumsig" | "yusgim" | "yusgmi" | "yusigm" | "yusimg" | "yusmgi" | "yusmig") | undefined) => RegExpTsDsl;
2068
2161
  /** Creates a return statement. */
2069
- return: (expr?: ReturnExpr | undefined) => ReturnTsDsl;
2162
+ return: (expr?: any) => ReturnTsDsl;
2070
2163
  /** Creates a setter method declaration. */
2071
- setter: (name: _hey_api_codegen_core0.NodeName, fn?: ((s: SetterTsDsl) => void) | undefined) => SetterTsDsl;
2164
+ setter: (name: NodeName, fn?: ((s: SetterTsDsl) => void) | undefined) => SetterTsDsl;
2072
2165
  /** Wraps an expression or statement-like value into a `StmtTsDsl`. */
2073
2166
  stmt: (inner: ts.Expression | ts.Statement | TsDsl<any>) => StmtTsDsl;
2074
2167
  /** Creates a template literal expression. */
2075
- template: (value?: TemplatePart | undefined) => TemplateTsDsl;
2168
+ template: (value?: any) => TemplateTsDsl;
2076
2169
  /** Creates a ternary conditional expression (if ? then : else). */
2077
2170
  ternary: (condition?: string | ts.Expression | TsDsl<ts.Expression> | undefined) => TernaryTsDsl;
2078
2171
  /** Creates a throw statement. */
@@ -2082,15 +2175,15 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2082
2175
  /** Creates a try/catch/finally statement. */
2083
2176
  try: (...args: ConstructorParameters<typeof TryTsDsl>) => TryTsDsl;
2084
2177
  /** Creates a basic type reference or type expression (e.g. Foo or Foo<T>). */
2085
- type: ((name: _hey_api_codegen_core0.NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl) & {
2178
+ type: ((name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl) & {
2086
2179
  /** Creates a type alias declaration (e.g. `type Foo = Bar`). */
2087
- alias: (name: _hey_api_codegen_core0.NodeName, fn?: ((t: TypeAliasTsDsl) => void) | undefined) => TypeAliasTsDsl;
2180
+ alias: (name: NodeName, fn?: ((t: TypeAliasTsDsl) => void) | undefined) => TypeAliasTsDsl;
2088
2181
  /** Creates an intersection type (e.g. `A & B`). */
2089
2182
  and: (...args: ConstructorParameters<typeof TypeAndTsDsl>) => TypeAndTsDsl;
2090
2183
  /** Creates a qualified type reference (e.g. Foo.Bar). */
2091
- attr: (right: _hey_api_codegen_core0.NodeName | ts.Identifier) => TypeAttrTsDsl;
2184
+ attr: (right: any) => TypeAttrTsDsl;
2092
2185
  /** Creates a basic type reference or type expression (e.g. Foo or Foo<T>). */
2093
- expr: (name: _hey_api_codegen_core0.NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl;
2186
+ expr: (name: NodeName, fn?: TypeExprFn | undefined) => TypeExprTsDsl;
2094
2187
  /** Converts a runtime value into a corresponding type expression node. */
2095
2188
  fromValue: (input: unknown) => TsDsl<ts.TypeNode>;
2096
2189
  /** Creates a function type node (e.g. `(a: string) => number`). */
@@ -2100,7 +2193,7 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2100
2193
  /** Creates a literal type node (e.g. 'foo', 42, or true). */
2101
2194
  literal: (value: string | number | boolean | null) => TypeLiteralTsDsl;
2102
2195
  /** Creates a mapped type (e.g. `{ [K in keyof T]: U }`). */
2103
- mapped: (name?: _hey_api_codegen_core0.NodeName | undefined) => TypeMappedTsDsl;
2196
+ mapped: (name?: any) => TypeMappedTsDsl;
2104
2197
  /** Creates a type literal node (e.g. { foo: string }). */
2105
2198
  object: () => TypeObjectTsDsl;
2106
2199
  /** Creates a type operator node (e.g. `readonly T`, `keyof T`, `unique T`). */
@@ -2108,7 +2201,7 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2108
2201
  /** Represents a union type (e.g. `A | B | C`). */
2109
2202
  or: (...args: ConstructorParameters<typeof TypeOrTsDsl>) => TypeOrTsDsl;
2110
2203
  /** Creates a type parameter (e.g. `<T>`). */
2111
- param: (name?: _hey_api_codegen_core0.NodeName | undefined, fn?: ((name: TypeParamTsDsl) => void) | undefined) => TypeParamTsDsl;
2204
+ param: (name?: any, fn?: ((name: TypeParamTsDsl) => void) | undefined) => TypeParamTsDsl;
2112
2205
  /** Creates a type query node (e.g. `typeof Foo`). */
2113
2206
  query: (expr: TypeQueryExpr) => TypeQueryTsDsl;
2114
2207
  /** Builds a TypeScript template literal *type* (e.g. `${Foo}-${Bar}` as a type). */
@@ -2119,7 +2212,7 @@ declare const $: ((id: _hey_api_codegen_core0.NodeName | ts.Expression | TsDsl<t
2119
2212
  /** Creates a `typeof` expression (e.g. `typeof value`). */
2120
2213
  typeofExpr: (expr: TypeOfExpr) => TypeOfExprTsDsl;
2121
2214
  /** Creates a variable declaration (`var`). */
2122
- var: (name?: _hey_api_codegen_core0.NodeName | undefined) => VarTsDsl;
2215
+ var: (name?: any) => VarTsDsl;
2123
2216
  };
2124
2217
  type DollarTsDsl = {
2125
2218
  /**
@@ -2172,7 +2265,7 @@ type IApi$4 = {
2172
2265
  };
2173
2266
  //#endregion
2174
2267
  //#region src/plugins/@faker-js/faker/types.d.ts
2175
- type UserConfig$23 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & {
2268
+ type UserConfig$23 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.UserExports & {
2176
2269
  /**
2177
2270
  * Casing convention for generated names.
2178
2271
  *
@@ -2207,12 +2300,6 @@ type UserConfig$23 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & {
2207
2300
  */
2208
2301
  name?: NameTransformer;
2209
2302
  };
2210
- /**
2211
- * Whether exports should be re-exported in the index file.
2212
- *
2213
- * @default false
2214
- */
2215
- exportFromIndex?: boolean;
2216
2303
  /**
2217
2304
  * Faker locale for generated data.
2218
2305
  *
@@ -2225,7 +2312,7 @@ type UserConfig$23 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & {
2225
2312
  */
2226
2313
  seed?: number;
2227
2314
  };
2228
- type Config$20 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & IndexExportOption & {
2315
+ type Config$20 = Plugin$1.Name<'@faker-js/faker'> & Plugin$1.Hooks & Plugin$1.Exports & {
2229
2316
  /**
2230
2317
  * Casing convention for generated names.
2231
2318
  */
@@ -3173,7 +3260,7 @@ interface PluginHandler {
3173
3260
  * Public Client API.
3174
3261
  */
3175
3262
  declare namespace Client$2 {
3176
- type Config = Plugin$2.Hooks & {
3263
+ type Config = Plugin$1.Hooks & Plugin$1.UserExports & {
3177
3264
  /**
3178
3265
  * Set a default base URL when creating the client? You can set `baseUrl`
3179
3266
  * to a string which will be used as the base URL. If your input defines
@@ -3195,12 +3282,6 @@ declare namespace Client$2 {
3195
3282
  * @default true
3196
3283
  */
3197
3284
  bundle?: boolean;
3198
- /**
3199
- * Whether exports should be re-exported in the index file.
3200
- *
3201
- * @default false
3202
- */
3203
- exportFromIndex?: boolean;
3204
3285
  /**
3205
3286
  * Relative path to the runtime configuration file. This file must export
3206
3287
  * a `createClientConfig()` function. The `createClientConfig()` function
@@ -3249,13 +3330,7 @@ type UserConfig$16 = Plugin$1.Name<'@hey-api/client-ky'> & Client$2.Config & {
3249
3330
  type HeyApiClientKyPlugin = DefinePlugin$1<UserConfig$16, UserConfig$16>;
3250
3331
  //#endregion
3251
3332
  //#region src/plugins/@hey-api/schemas/types.d.ts
3252
- type UserConfig$15 = Plugin$1.Name<'@hey-api/schemas'> & Plugin$1.Hooks & {
3253
- /**
3254
- * Whether exports should be re-exported in the index file.
3255
- *
3256
- * @default false
3257
- */
3258
- exportFromIndex?: boolean;
3333
+ type UserConfig$15 = Plugin$1.Name<'@hey-api/schemas'> & Plugin$1.Hooks & Plugin$1.UserExports & {
3259
3334
  /**
3260
3335
  * Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
3261
3336
  * valid JavaScript/TypeScript identifier, e.g. if your schema name is
@@ -3277,6 +3352,7 @@ type HeyApiSchemasPlugin = DefinePlugin$1<UserConfig$15, UserConfig$15>;
3277
3352
  //#endregion
3278
3353
  //#region src/plugins/types.d.ts
3279
3354
  type PluginClientNames = '@hey-api/client-angular' | '@hey-api/client-axios' | '@hey-api/client-fetch' | '@hey-api/client-ky' | '@hey-api/client-next' | '@hey-api/client-nuxt' | '@hey-api/client-ofetch';
3355
+ type PluginTransformerNames = '@hey-api/transformers';
3280
3356
  type PluginValidatorNames = 'arktype' | 'valibot' | 'zod';
3281
3357
  //#endregion
3282
3358
  //#region src/plugins/@hey-api/sdk/examples/types.d.ts
@@ -3508,7 +3584,7 @@ interface OperationsConfig {
3508
3584
  }
3509
3585
  //#endregion
3510
3586
  //#region src/plugins/@hey-api/sdk/types.d.ts
3511
- type UserConfig$14 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & {
3587
+ type UserConfig$14 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
3512
3588
  /**
3513
3589
  * Should the generated functions contain auth mechanisms? You may want to
3514
3590
  * disable this option if you're handling auth yourself or defining it
@@ -3539,12 +3615,6 @@ type UserConfig$14 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & {
3539
3615
  * @default false
3540
3616
  */
3541
3617
  examples?: boolean | UserExamplesConfig;
3542
- /**
3543
- * Whether exports should be re-exported in the index file.
3544
- *
3545
- * @default true
3546
- */
3547
- exportFromIndex?: boolean;
3548
3618
  /**
3549
3619
  * Define the structure of generated SDK operations.
3550
3620
  *
@@ -3589,7 +3659,7 @@ type UserConfig$14 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & {
3589
3659
  *
3590
3660
  * @default false
3591
3661
  */
3592
- transformer?: '@hey-api/transformers' | boolean;
3662
+ transformer?: PluginTransformerNames | boolean;
3593
3663
  /**
3594
3664
  * Validate request and/or response data against schema before returning.
3595
3665
  * This is useful if you want to ensure the request and/or response conforms
@@ -3690,7 +3760,7 @@ type UserConfig$14 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & {
3690
3760
  */
3691
3761
  response?: 'body' | 'response';
3692
3762
  };
3693
- type Config$12 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & IndexExportOption & {
3763
+ type Config$12 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
3694
3764
  /**
3695
3765
  * Should the generated functions contain auth mechanisms? You may want to
3696
3766
  * disable this option if you're handling auth yourself or defining it
@@ -3749,7 +3819,7 @@ type Config$12 = Plugin$1.Name<'@hey-api/sdk'> & Plugin$1.Hooks & IndexExportOpt
3749
3819
  *
3750
3820
  * @default false
3751
3821
  */
3752
- transformer: '@hey-api/transformers' | false;
3822
+ transformer: PluginTransformerNames | false;
3753
3823
  /**
3754
3824
  * Validate request and/or response data against schema before returning.
3755
3825
  * This is useful if you want to ensure the request and/or response conforms
@@ -3801,7 +3871,7 @@ type TypeTransformer = ({
3801
3871
  }: {
3802
3872
  schema: IR$1.SchemaObject;
3803
3873
  }) => ts.TypeNode | undefined;
3804
- type UserConfig$13 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & {
3874
+ type UserConfig$13 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugin$1.UserExports & {
3805
3875
  /**
3806
3876
  * Convert long integers into BigInt values?
3807
3877
  *
@@ -3814,12 +3884,6 @@ type UserConfig$13 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & {
3814
3884
  * @default true
3815
3885
  */
3816
3886
  dates?: boolean;
3817
- /**
3818
- * Whether exports should be re-exported in the index file.
3819
- *
3820
- * @default false
3821
- */
3822
- exportFromIndex?: boolean;
3823
3887
  /**
3824
3888
  * Custom transforms to apply to the generated code.
3825
3889
  */
@@ -3829,7 +3893,7 @@ type UserConfig$13 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & {
3829
3893
  */
3830
3894
  typeTransformers?: ReadonlyArray<TypeTransformer>;
3831
3895
  };
3832
- type Config$11 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & IndexExportOption & {
3896
+ type Config$11 = Plugin$1.Name<'@hey-api/transformers'> & Plugin$1.Hooks & Plugin$1.Exports & {
3833
3897
  /**
3834
3898
  * Convert long integers into BigInt values?
3835
3899
  *
@@ -3876,7 +3940,7 @@ type IApi$3 = {
3876
3940
  //#endregion
3877
3941
  //#region src/plugins/@hey-api/typescript/types.d.ts
3878
3942
  type EnumsType = 'javascript' | 'typescript' | 'typescript-const';
3879
- type UserConfig$12 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & {
3943
+ type UserConfig$12 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
3880
3944
  /**
3881
3945
  * Casing convention for generated names.
3882
3946
  *
@@ -3984,12 +4048,6 @@ type UserConfig$12 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & {
3984
4048
  */
3985
4049
  name?: NameTransformer;
3986
4050
  };
3987
- /**
3988
- * Whether exports should be re-exported in the index file.
3989
- *
3990
- * @default true
3991
- */
3992
- exportFromIndex?: boolean;
3993
4051
  /**
3994
4052
  * Configuration for request-specific types.
3995
4053
  *
@@ -4089,7 +4147,7 @@ type UserConfig$12 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & {
4089
4147
  payload?: NameTransformer;
4090
4148
  };
4091
4149
  };
4092
- type Config$10 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & IndexExportOption & {
4150
+ type Config$10 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
4093
4151
  /**
4094
4152
  * Casing convention for generated names.
4095
4153
  */
@@ -4189,30 +4247,13 @@ type Config$10 = Plugin$1.Name<'@hey-api/typescript'> & Plugin$1.Hooks & IndexEx
4189
4247
  type HeyApiTypeScriptPlugin = DefinePlugin$1<UserConfig$12, Config$10, IApi$3>;
4190
4248
  //#endregion
4191
4249
  //#region src/plugins/@pinia/colada/types.d.ts
4192
- type UserConfig$11 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & {
4250
+ type UserConfig$11 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
4193
4251
  /**
4194
4252
  * Casing convention for generated names.
4195
4253
  *
4196
4254
  * @default 'camelCase'
4197
4255
  */
4198
4256
  case?: Casing;
4199
- /**
4200
- * Add comments from SDK functions to the generated Pinia Colada code?
4201
- *
4202
- * Duplicating comments this way is useful so you don't need to drill into
4203
- * the underlying SDK function to learn what it does or whether it's
4204
- * deprecated. You can set this option to `false` if you prefer less
4205
- * comment duplication.
4206
- *
4207
- * @default true
4208
- */
4209
- comments?: boolean;
4210
- /**
4211
- * Whether exports should be re-exported in the index file.
4212
- *
4213
- * @default false
4214
- */
4215
- exportFromIndex?: boolean;
4216
4257
  /**
4217
4258
  * Configuration for generated mutation options helpers.
4218
4259
  *
@@ -4363,17 +4404,11 @@ type UserConfig$11 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & {
4363
4404
  name?: NameTransformer;
4364
4405
  };
4365
4406
  };
4366
- type Config$9 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & IndexExportOption & {
4407
+ type Config$9 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
4367
4408
  /**
4368
4409
  * Casing convention for generated names.
4369
4410
  */
4370
4411
  case: Casing;
4371
- /**
4372
- * Add comments from SDK functions to the generated Pinia Colada code?
4373
- *
4374
- * @default true
4375
- */
4376
- comments: boolean;
4377
4412
  /**
4378
4413
  * Resolved configuration for generated mutation options helpers.
4379
4414
  */
@@ -4450,30 +4485,13 @@ type Config$9 = Plugin$1.Name<'@pinia/colada'> & Plugin$1.Hooks & IndexExportOpt
4450
4485
  type PiniaColadaPlugin = DefinePlugin$1<UserConfig$11, Config$9>;
4451
4486
  //#endregion
4452
4487
  //#region src/plugins/@tanstack/angular-query-experimental/types.d.ts
4453
- type UserConfig$10 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & {
4488
+ type UserConfig$10 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
4454
4489
  /**
4455
4490
  * Casing convention for generated names.
4456
4491
  *
4457
4492
  * @default 'camelCase'
4458
4493
  */
4459
4494
  case?: Casing;
4460
- /**
4461
- * Add comments from SDK functions to the generated TanStack Query code?
4462
- *
4463
- * Duplicating comments this way is useful so you don't need to drill into
4464
- * the underlying SDK function to learn what it does or whether it's
4465
- * deprecated. You can set this option to `false` if you prefer less
4466
- * comment duplication.
4467
- *
4468
- * @default true
4469
- */
4470
- comments?: boolean;
4471
- /**
4472
- * Whether exports should be re-exported in the index file.
4473
- *
4474
- * @default false
4475
- */
4476
- exportFromIndex?: boolean;
4477
4495
  /**
4478
4496
  * Configuration for generated infinite query key helpers.
4479
4497
  *
@@ -4726,17 +4744,11 @@ type UserConfig$10 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plu
4726
4744
  name?: NameTransformer;
4727
4745
  };
4728
4746
  };
4729
- type Config$8 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & IndexExportOption & {
4747
+ type Config$8 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
4730
4748
  /**
4731
4749
  * Casing convention for generated names.
4732
4750
  */
4733
4751
  case: Casing;
4734
- /**
4735
- * Add comments from SDK functions to the generated TanStack Query code?
4736
- *
4737
- * @default true
4738
- */
4739
- comments: boolean;
4740
4752
  /**
4741
4753
  * Resolved configuration for generated infinite query key helpers.
4742
4754
  *
@@ -4862,30 +4874,13 @@ type Config$8 = Plugin$1.Name<'@tanstack/angular-query-experimental'> & Plugin$1
4862
4874
  type TanStackAngularQueryPlugin = DefinePlugin$1<UserConfig$10, Config$8>;
4863
4875
  //#endregion
4864
4876
  //#region src/plugins/@tanstack/react-query/types.d.ts
4865
- type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & {
4877
+ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
4866
4878
  /**
4867
4879
  * Casing convention for generated names.
4868
4880
  *
4869
4881
  * @default 'camelCase'
4870
4882
  */
4871
4883
  case?: Casing;
4872
- /**
4873
- * Add comments from SDK functions to the generated TanStack Query code?
4874
- *
4875
- * Duplicating comments this way is useful so you don't need to drill into
4876
- * the underlying SDK function to learn what it does or whether it's
4877
- * deprecated. You can set this option to `false` if you prefer less
4878
- * comment duplication.
4879
- *
4880
- * @default true
4881
- */
4882
- comments?: boolean;
4883
- /**
4884
- * Whether exports should be re-exported in the index file.
4885
- *
4886
- * @default false
4887
- */
4888
- exportFromIndex?: boolean;
4889
4884
  /**
4890
4885
  * Configuration for generated infinite query key helpers.
4891
4886
  *
@@ -5180,17 +5175,11 @@ type UserConfig$9 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & {
5180
5175
  name?: NameTransformer;
5181
5176
  };
5182
5177
  };
5183
- type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & IndexExportOption & {
5178
+ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
5184
5179
  /**
5185
5180
  * Casing convention for generated names.
5186
5181
  */
5187
5182
  case: Casing;
5188
- /**
5189
- * Add comments from SDK functions to the generated TanStack Query code?
5190
- *
5191
- * @default true
5192
- */
5193
- comments: boolean;
5194
5183
  /**
5195
5184
  * Resolved configuration for generated infinite query key helpers.
5196
5185
  *
@@ -5325,30 +5314,13 @@ type Config$7 = Plugin$1.Name<'@tanstack/react-query'> & Plugin$1.Hooks & IndexE
5325
5314
  type TanStackReactQueryPlugin = DefinePlugin$1<UserConfig$9, Config$7>;
5326
5315
  //#endregion
5327
5316
  //#region src/plugins/@tanstack/solid-query/types.d.ts
5328
- type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & {
5317
+ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
5329
5318
  /**
5330
5319
  * Casing convention for generated names.
5331
5320
  *
5332
5321
  * @default 'camelCase'
5333
5322
  */
5334
5323
  case?: Casing;
5335
- /**
5336
- * Add comments from SDK functions to the generated TanStack Query code?
5337
- *
5338
- * Duplicating comments this way is useful so you don't need to drill into
5339
- * the underlying SDK function to learn what it does or whether it's
5340
- * deprecated. You can set this option to `false` if you prefer less
5341
- * comment duplication.
5342
- *
5343
- * @default true
5344
- */
5345
- comments?: boolean;
5346
- /**
5347
- * Whether exports should be re-exported in the index file.
5348
- *
5349
- * @default false
5350
- */
5351
- exportFromIndex?: boolean;
5352
5324
  /**
5353
5325
  * Configuration for generated infinite query key helpers.
5354
5326
  *
@@ -5602,17 +5574,11 @@ type UserConfig$8 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & {
5602
5574
  name?: NameTransformer;
5603
5575
  };
5604
5576
  };
5605
- type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & IndexExportOption & {
5577
+ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
5606
5578
  /**
5607
5579
  * Casing convention for generated names.
5608
5580
  */
5609
5581
  case: Casing;
5610
- /**
5611
- * Add comments from SDK functions to the generated TanStack Query code?
5612
- *
5613
- * @default true
5614
- */
5615
- comments: boolean;
5616
5582
  /**
5617
5583
  * Resolved configuration for generated infinite query key helpers.
5618
5584
  *
@@ -5738,30 +5704,13 @@ type Config$6 = Plugin$1.Name<'@tanstack/solid-query'> & Plugin$1.Hooks & IndexE
5738
5704
  type TanStackSolidQueryPlugin = DefinePlugin$1<UserConfig$8, Config$6>;
5739
5705
  //#endregion
5740
5706
  //#region src/plugins/@tanstack/svelte-query/types.d.ts
5741
- type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & {
5707
+ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
5742
5708
  /**
5743
5709
  * Casing convention for generated names.
5744
5710
  *
5745
5711
  * @default 'camelCase'
5746
5712
  */
5747
5713
  case?: Casing;
5748
- /**
5749
- * Add comments from SDK functions to the generated TanStack Query code?
5750
- *
5751
- * Duplicating comments this way is useful so you don't need to drill into
5752
- * the underlying SDK function to learn what it does or whether it's
5753
- * deprecated. You can set this option to `false` if you prefer less
5754
- * comment duplication.
5755
- *
5756
- * @default true
5757
- */
5758
- comments?: boolean;
5759
- /**
5760
- * Whether exports should be re-exported in the index file.
5761
- *
5762
- * @default false
5763
- */
5764
- exportFromIndex?: boolean;
5765
5714
  /**
5766
5715
  * Configuration for generated infinite query key helpers.
5767
5716
  *
@@ -6014,17 +5963,11 @@ type UserConfig$7 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & {
6014
5963
  name?: NameTransformer;
6015
5964
  };
6016
5965
  };
6017
- type Config$5 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & IndexExportOption & {
5966
+ type Config$5 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
6018
5967
  /**
6019
5968
  * Casing convention for generated names.
6020
5969
  */
6021
5970
  case: Casing;
6022
- /**
6023
- * Add comments from SDK functions to the generated TanStack Query code?
6024
- *
6025
- * @default true
6026
- */
6027
- comments: boolean;
6028
5971
  /**
6029
5972
  * Resolved configuration for generated infinite query key helpers.
6030
5973
  *
@@ -6150,30 +6093,13 @@ type Config$5 = Plugin$1.Name<'@tanstack/svelte-query'> & Plugin$1.Hooks & Index
6150
6093
  type TanStackSvelteQueryPlugin = DefinePlugin$1<UserConfig$7, Config$5>;
6151
6094
  //#endregion
6152
6095
  //#region src/plugins/@tanstack/vue-query/types.d.ts
6153
- type UserConfig$6 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & {
6096
+ type UserConfig$6 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
6154
6097
  /**
6155
6098
  * Casing convention for generated names.
6156
6099
  *
6157
6100
  * @default 'camelCase'
6158
6101
  */
6159
6102
  case?: Casing;
6160
- /**
6161
- * Add comments from SDK functions to the generated TanStack Query code?
6162
- *
6163
- * Duplicating comments this way is useful so you don't need to drill into
6164
- * the underlying SDK function to learn what it does or whether it's
6165
- * deprecated. You can set this option to `false` if you prefer less
6166
- * comment duplication.
6167
- *
6168
- * @default true
6169
- */
6170
- comments?: boolean;
6171
- /**
6172
- * Whether exports should be re-exported in the index file.
6173
- *
6174
- * @default false
6175
- */
6176
- exportFromIndex?: boolean;
6177
6103
  /**
6178
6104
  * Configuration for generated infinite query key helpers.
6179
6105
  *
@@ -6429,17 +6355,11 @@ type UserConfig$6 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & {
6429
6355
  name?: NameTransformer;
6430
6356
  };
6431
6357
  };
6432
- type Config$4 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & IndexExportOption & {
6358
+ type Config$4 = Plugin$1.Name<'@tanstack/vue-query'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
6433
6359
  /**
6434
6360
  * Casing convention for generated names.
6435
6361
  */
6436
6362
  case: Casing;
6437
- /**
6438
- * Add comments from SDK functions to the generated TanStack Query code?
6439
- *
6440
- * @default true
6441
- */
6442
- comments: boolean;
6443
6363
  /**
6444
6364
  * Resolved configuration for generated infinite query key helpers.
6445
6365
  *
@@ -6580,19 +6500,13 @@ type IApi$2 = {
6580
6500
  };
6581
6501
  //#endregion
6582
6502
  //#region src/plugins/arktype/types.d.ts
6583
- type UserConfig$5 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & {
6503
+ type UserConfig$5 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
6584
6504
  /**
6585
6505
  * Casing convention for generated names.
6586
6506
  *
6587
6507
  * @default 'PascalCase'
6588
6508
  */
6589
6509
  case?: Casing;
6590
- /**
6591
- * Add comments from input to the generated Arktype schemas?
6592
- *
6593
- * @default true
6594
- */
6595
- comments?: boolean;
6596
6510
  /**
6597
6511
  * Configuration for reusable schema definitions.
6598
6512
  *
@@ -6661,12 +6575,6 @@ type UserConfig$5 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & {
6661
6575
  };
6662
6576
  };
6663
6577
  };
6664
- /**
6665
- * Whether exports should be re-exported in the index file.
6666
- *
6667
- * @default false
6668
- */
6669
- exportFromIndex?: boolean;
6670
6578
  /**
6671
6579
  * Enable Arktype metadata support? It's often useful to associate a schema
6672
6580
  * with some additional metadata for documentation, code generation, AI
@@ -6916,17 +6824,11 @@ type UserConfig$5 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & {
6916
6824
  };
6917
6825
  };
6918
6826
  };
6919
- type Config$3 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & IndexExportOption & {
6827
+ type Config$3 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
6920
6828
  /**
6921
6829
  * Casing convention for generated names.
6922
6830
  */
6923
6831
  case: Casing;
6924
- /**
6925
- * Add comments from input to the generated Arktype schemas?
6926
- *
6927
- * @default true
6928
- */
6929
- comments: boolean;
6930
6832
  /**
6931
6833
  * Configuration for reusable schema definitions.
6932
6834
  *
@@ -7030,41 +6932,17 @@ type Config$3 = Plugin$1.Name<'arktype'> & Plugin$1.Hooks & IndexExportOption &
7030
6932
  type ArktypePlugin = DefinePlugin$1<UserConfig$5, Config$3, IApi$2>;
7031
6933
  //#endregion
7032
6934
  //#region src/plugins/fastify/types.d.ts
7033
- type UserConfig$4 = Plugin$1.Name<'fastify'> & Plugin$1.Hooks & {
7034
- /**
7035
- * Whether exports should be re-exported in the index file.
7036
- *
7037
- * @default false
7038
- */
7039
- exportFromIndex?: boolean;
7040
- };
6935
+ type UserConfig$4 = Plugin$1.Name<'fastify'> & Plugin$1.Hooks & Plugin$1.UserExports;
7041
6936
  type FastifyPlugin = DefinePlugin$1<UserConfig$4, UserConfig$4>;
7042
6937
  //#endregion
7043
6938
  //#region src/plugins/swr/types.d.ts
7044
- type UserConfig$3 = Plugin$1.Name<'swr'> & Plugin$1.Hooks & {
6939
+ type UserConfig$3 = Plugin$1.Name<'swr'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & {
7045
6940
  /**
7046
6941
  * Casing convention for generated names.
7047
6942
  *
7048
6943
  * @default 'camelCase'
7049
6944
  */
7050
6945
  case?: Casing;
7051
- /**
7052
- * Add comments from SDK functions to the generated SWR code?
7053
- *
7054
- * Duplicating comments this way is useful so you don't need to drill into
7055
- * the underlying SDK function to learn what it does or whether it's
7056
- * deprecated. You can set this option to `false` if you prefer less
7057
- * comment duplication.
7058
- *
7059
- * @default true
7060
- */
7061
- comments?: boolean;
7062
- /**
7063
- * Whether exports should be re-exported in the index file.
7064
- *
7065
- * @default false
7066
- */
7067
- exportFromIndex?: boolean;
7068
6946
  /**
7069
6947
  * Configuration for generated infinite query key helpers.
7070
6948
  *
@@ -7359,17 +7237,11 @@ type UserConfig$3 = Plugin$1.Name<'swr'> & Plugin$1.Hooks & {
7359
7237
  name?: NameTransformer;
7360
7238
  };
7361
7239
  };
7362
- type Config$2 = Plugin$1.Name<'swr'> & Plugin$1.Hooks & IndexExportOption & {
7240
+ type Config$2 = Plugin$1.Name<'swr'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & {
7363
7241
  /**
7364
7242
  * Casing convention for generated names.
7365
7243
  */
7366
7244
  case: Casing;
7367
- /**
7368
- * Add comments from SDK functions to the generated SWR code?
7369
- *
7370
- * @default true
7371
- */
7372
- comments: boolean;
7373
7245
  /**
7374
7246
  * Resolved configuration for generated infinite query key helpers.
7375
7247
  *
@@ -7555,7 +7427,7 @@ interface IntegerLimit {
7555
7427
  type GetIntegerLimit = (format: string | undefined) => IntegerLimit | undefined;
7556
7428
  //#endregion
7557
7429
  //#region src/plugins/valibot/resolvers/types.d.ts
7558
- type Resolvers$1 = Plugin$2.Resolvers<{
7430
+ type Resolvers$1 = Plugin$1.Resolvers<{
7559
7431
  /**
7560
7432
  * Resolver for enum schemas.
7561
7433
  *
@@ -7743,19 +7615,13 @@ interface ValidatorResolverContext$1 extends BaseContext$1 {
7743
7615
  }
7744
7616
  //#endregion
7745
7617
  //#region src/plugins/valibot/types.d.ts
7746
- type UserConfig$2 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Resolvers$1 & {
7618
+ type UserConfig$2 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & Resolvers$1 & {
7747
7619
  /**
7748
7620
  * Casing convention for generated names.
7749
7621
  *
7750
7622
  * @default 'camelCase'
7751
7623
  */
7752
7624
  case?: Casing;
7753
- /**
7754
- * Add comments from input to the generated Valibot schemas?
7755
- *
7756
- * @default true
7757
- */
7758
- comments?: boolean;
7759
7625
  /**
7760
7626
  * Configuration for reusable schema definitions.
7761
7627
  *
@@ -7787,12 +7653,6 @@ type UserConfig$2 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Resolvers$1 & {
7787
7653
  */
7788
7654
  name?: NameTransformer;
7789
7655
  };
7790
- /**
7791
- * Whether exports should be re-exported in the index file.
7792
- *
7793
- * @default false
7794
- */
7795
- exportFromIndex?: boolean;
7796
7656
  /**
7797
7657
  * Enable Valibot metadata support? It's often useful to associate a schema
7798
7658
  * with some additional metadata for documentation, code generation, AI
@@ -7896,17 +7756,11 @@ type UserConfig$2 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Resolvers$1 & {
7896
7756
  name?: NameTransformer;
7897
7757
  };
7898
7758
  };
7899
- type Config$1 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Resolvers$1 & IndexExportOption & {
7759
+ type Config$1 = Plugin$1.Name<'valibot'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & Resolvers$1 & {
7900
7760
  /**
7901
7761
  * Casing convention for generated names.
7902
7762
  */
7903
7763
  case: Casing;
7904
- /**
7905
- * Add comments from input to the generated Valibot schemas?
7906
- *
7907
- * @default true
7908
- */
7909
- comments: boolean;
7910
7764
  /**
7911
7765
  * Configuration for reusable schema definitions.
7912
7766
  *
@@ -7969,7 +7823,7 @@ type IApi = {
7969
7823
  type Chain = ReturnType<typeof $.call | typeof $.expr>;
7970
7824
  //#endregion
7971
7825
  //#region src/plugins/zod/resolvers/types.d.ts
7972
- type Resolvers = Plugin$2.Resolvers<{
7826
+ type Resolvers = Plugin$1.Resolvers<{
7973
7827
  /**
7974
7828
  * Resolver for enum schemas.
7975
7829
  *
@@ -8168,19 +8022,13 @@ interface ValidatorResolverContext extends BaseContext {
8168
8022
  }
8169
8023
  //#endregion
8170
8024
  //#region src/plugins/zod/types.d.ts
8171
- type UserConfig$1 = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Resolvers & {
8025
+ type UserConfig$1 = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Plugin$1.UserComments & Plugin$1.UserExports & Resolvers & {
8172
8026
  /**
8173
8027
  * Casing convention for generated names.
8174
8028
  *
8175
8029
  * @default 'camelCase'
8176
8030
  */
8177
8031
  case?: Casing;
8178
- /**
8179
- * Add comments from input to the generated Zod schemas?
8180
- *
8181
- * @default true
8182
- */
8183
- comments?: boolean;
8184
8032
  /**
8185
8033
  * The compatibility version to target for generated output.
8186
8034
  *
@@ -8288,12 +8136,6 @@ type UserConfig$1 = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Resolvers & {
8288
8136
  };
8289
8137
  };
8290
8138
  };
8291
- /**
8292
- * Whether exports should be re-exported in the index file.
8293
- *
8294
- * @default false
8295
- */
8296
- exportFromIndex?: boolean;
8297
8139
  /**
8298
8140
  * Enable Zod metadata support? It's often useful to associate a schema with
8299
8141
  * some additional metadata for documentation, code generation, AI
@@ -8543,17 +8385,11 @@ type UserConfig$1 = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Resolvers & {
8543
8385
  };
8544
8386
  };
8545
8387
  };
8546
- type Config = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Resolvers & IndexExportOption & {
8388
+ type Config = Plugin$1.Name<'zod'> & Plugin$1.Hooks & Plugin$1.Comments & Plugin$1.Exports & Resolvers & {
8547
8389
  /**
8548
8390
  * Casing convention for generated names.
8549
8391
  */
8550
8392
  case: Casing;
8551
- /**
8552
- * Add comments from input to the generated Zod schemas?
8553
- *
8554
- * @default true
8555
- */
8556
- comments: boolean;
8557
8393
  /**
8558
8394
  * The compatibility version to target for generated output.
8559
8395
  *
@@ -8699,7 +8535,7 @@ type ZodPlugin = DefinePlugin$1<UserConfig$1, Config, IApi>;
8699
8535
  *
8700
8536
  * @param userConfig User provided {@link UserConfig} configuration(s).
8701
8537
  */
8702
- declare function createClient(userConfig?: LazyOrAsync<MaybeArray<UserConfig>>, logger?: Logger$1): Promise<ReadonlyArray<Context>>;
8538
+ declare function createClient(userConfig?: LazyOrAsync<MaybeArray<UserConfig>>, logger?: any): Promise<ReadonlyArray<Context>>;
8703
8539
  //#endregion
8704
8540
  //#region src/config/plugins.d.ts
8705
8541
  /**
@@ -8711,7 +8547,7 @@ declare const defaultPlugins: readonly ["@hey-api/typescript", "@hey-api/sdk"];
8711
8547
  declare const clientDefaultConfig: {
8712
8548
  readonly baseUrl: true;
8713
8549
  readonly bundle: true;
8714
- readonly exportFromIndex: false;
8550
+ readonly includeInEntry: false;
8715
8551
  };
8716
8552
  declare const clientDefaultMeta: {
8717
8553
  readonly dependencies: readonly ["@hey-api/typescript"];
@@ -8790,7 +8626,8 @@ declare module '@hey-api/shared' {
8790
8626
  /**
8791
8627
  * Type helper for configuration object, returns {@link MaybeArray<UserConfig>} object(s)
8792
8628
  */
8793
- declare function defineConfig<T extends MaybeArray<UserConfig>>(config: LazyOrAsync<T>): Promise<T>;
8629
+ declare function defineConfig(config: LazyOrAsync<ReadonlyArray<UserConfig>>): Promise<ReadonlyArray<UserConfig>>;
8630
+ declare function defineConfig(config: LazyOrAsync<UserConfig>): Promise<UserConfig>;
8794
8631
  //#endregion
8795
8632
  export { $, type Client as AngularClient, type Client$1 as AxiosClient, type CallArgs, type Client$2 as Client, type DefinePlugin, DollarTsDsl, type ExampleOptions, type ExpressionTransformer, type Client$3 as FetchClient, type IR, Logger, type MaybeTsDsl, type Client$4 as NextClient, type Client$5 as NuxtClient, type Client$6 as OfetchClient, type OpenApi, type OpenApiMetaObject, type OpenApiOperationObject, type OpenApiParameterObject, type OpenApiRequestBodyObject, type OpenApiResponseObject, type OpenApiSchemaObject, OperationPath, OperationStrategy, type Plugin, TsDsl, TsDslContext, TypeScriptRenderer, type TypeTransformer, type TypeTsDsl, type UserConfig, clientDefaultConfig, clientDefaultMeta, clientPluginHandler, createClient, ctx, defaultPaginationKeywords, defaultPlugins, defineConfig, definePluginConfig, keywords, regexp, reserved, utils };
8796
8633
  //# sourceMappingURL=index.d.mts.map